Releases: timc1/kbar
Releases · timc1/kbar
v0.1.0-beta.25: Added defaultPlaceholder (#152)
v0.1.0-beta.24
v0.1.0-beta.23
v0.1.0-beta.22
Undo/Redo
Introducing the ability to easily add undo & redo functionality to actions!
- Create the undo (negate) action by returning a function from
perform
:createAction({ perform: () => { // logic to perform return () => { // logic to undo } } })
- Perform actions using
action.command.perform
- Explicitly undo actions using
action.command.undo
, redo usingaction.command.redo
Fixes
- Deprecated the usage of
useDeepMatches
in favor of justuseMatches
. #124 - Reworked a few internal types; e.g.
BaseAction
renamed toAction
v0.1.0-beta.21
Bug fixes
- Fixes an issue where mobile Safari/Firefox outer clicks were not firing. #123
v0.1.0-beta.20
v0.1.0-beta.19
Bug fixes
- Fixed an issue where spreading large lists of
ActionImpl
s crashed kbar; rather, we should be looping through and pushing these objects to a new array instead of spreading.
v0.1.0-beta.18
Missing export, need to somehow test/enforce this when adding new modules.
v0.1.0-beta.17
New features
search.mp4
- Nested searching is here! Search
n
levels 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