This repository was archived by the owner on Oct 14, 2025. It is now read-only.
Commit 9542fe3
Feature:
* Ported usefocus
* Unified testing components, started writing tests for `useFocus`
* Added test and docs
* Return {} instead of undefined when disabled
* Moved to smaller utilities
* Fixed test warnings
* Attempted fix with waitFor
* Revert "Attempted fix with waitFor"
This reverts commit 1d58fac.
* Doc refinement
* fix
* test
* Potential fix?
* Better auto cleanup
* Testing without screen
* test
* test
* fixed?
* Testing singular tests
* test
* test
* test
* Revert "test"
This reverts commit b62e363.
* revert
* try
* test
* test
* test
* test
* revert
* Final test
* test
* Skipped tests
* fixed lint
* revert some stuff
* removed some more stuff
* Resolve package lock conflict
* ...
* Format
* Fix CodeBlock prop name
* Installed Test Library user event package
---------
Co-authored-by: endigo9740 <[email protected]>useFocus hook (#99)1 parent 0720e4a commit 9542fe3
File tree
35 files changed
+3846
-3973
lines changed- src
- lib
- components/FloatingArrow
- hooks
- useClick
- useDismiss
- useFocus
- useHover
- useRole
- utils
- routes/(inner)/api
- use-click
- use-dismiss
- use-focus
35 files changed
+3846
-3973
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments