Releases: timc1/kbar
Releases · timc1/kbar
v0.1.0-beta.17
New features
search.mp4
- Nested searching is here! Search
nlevels of actions deep at ease, and speed. #105 - Actions are internally reworked to support better testing and future extensibility. #96
Bug fixes
- Escape key now properly propagates events only when kbar is open. #108
Miscellaneous
- Tests are now set up 🥳
v0.1.0-beta.16
Bug fixes
- Fixed an issue where multiple key sequence shortcuts causes the trailing keys to appear in the input. #95
- Fixed an issue where the mouse cursor captures the active index when not moved yet. #98
- Fixes an edge case where if the first result item is a group name, hitting arrow up would cause the active index to be -1. #99
v0.1.0-beta.15
Enhancements
- We're back at our original API, with
KBarResultsby default virtualized. 100k results? No problem 💯
v0.1.0-beta.14
Bug fixes
- Fixed an issue with shortcuts registered with shift
- Removed UI jump when scrollbar comes in and out of view
- Removed active state wrapping
v0.1.0-beta.9
Enhancements
useRegisterActionsnow accepts an optional dependencies array enabling users to invert control on the actions cache. b10bd50- Introducing a new API for results, enabling users to build any results UI with index management & keyboard handling covered. 6dc7b12
- Added a new utility hook,
useMatches, which returns grouped actions based on the current search query. 6dc7b12 - Shortcuts can now open kbar at a specific
currentRootActionId. c53f585
v0.1.0-beta.12
- Export
useMatches
v0.1.0-beta.10
Bug fixes
- Clear search query on unmount
v0.1.0-beta.8: fix: Suppress shortcuts in contenteditable elements (#77)
Bug fixes
- Suppress shortcuts in
contenteditableelements 2f1de2b
v0.1.0-beta.7
Improvements
- Animations are added as part of the default kbar package. 775edf8
- Removed usage of JSON.stringify with a simple string comparison. 6ea7472
- Enable suppressing kbar when
event.preventDefaultis called. 828bad6
Bug fixes
- Fixed a bug where the shortcuts aren't bound when actions are registered after initial mount. 9807807
- Fixed a bug where the search query was cleared after the initial animation. 775edf8
Thanks @tommoor for the contributions 💯
v0.1.0-beta-6
Improvements
- External clicking to a nested action will now set focus back on the input
iconandsubtitleare now part of theActiontype – please see the example for usage.
Bug fixes
- Fixed an issue calling
performon a nonexistent action