Releases: timc1/kbar
Releases · timc1/kbar
v0.1.0-beta.15
Enhancements
- We're back at our original API, with
KBarResults
by 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
useRegisterActions
now 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
contenteditable
elements 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.preventDefault
is 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
icon
andsubtitle
are now part of theAction
type – please see the example for usage.
Bug fixes
- Fixed an issue calling
perform
on a nonexistent action
v0.1.0-beta.5
Improvements
- Some users had issues running
kbar
with our lib targeted atesnext
. Now,kbar
is a little more conservative, targetinges5
.
v0.1.0-beta.4
Improvements
We've reworked and improved the API to support all types of styling; className
s, inline styles, css-in-js. A few components have been moved around – please reference the updated Readme and documentation for usage.
- Initial docs are now available – hit cmd/ctrl+k and search
docs
📚 - Keyboard shortcuts can be use immediately after one another without a delay; e.g. pressing h navigates to the home page, and immediately pressing g+d navigates to the docs.
- A tiny bump animation is added when navigating between nested actions.