fix: checkbox validation reset not working (#7268)
* commit validation on checkbox click
* add realtime validation test
* remove options from render
* fix duplicate import
* fix import order
* remove unused var
* remove unused var
* sleep before asserting validation state
* remove sleep
* enhance checkbox test render
* fix grouped scenario in tests
* remove useCheckbox from test scenario
* remove import
* fix: test suite and validation reset on press
* fix: excessive state chain
* fix: remove state piggyback in favor of onPress
* chore: fix import eslint
* chore: fix sort imports
* chore: lint
* Update packages/@react-aria/checkbox/src/useCheckbox.ts
Co-authored-by: Daniel Lu <danilu@adobe.com>
---------
Co-authored-by: Daniel Lu <dl1644@gmail.com>
Co-authored-by: Daniel Lu <danilu@adobe.com>