Skip to content

Releases: timc1/kbar

v0.1.0-beta.15

24 Oct 13:28
Compare
Choose a tag to compare

Enhancements

  • We're back at our original API, with KBarResults by default virtualized. 100k results? No problem 💯

v0.1.0-beta.14

21 Oct 23:38
656f802
Compare
Choose a tag to compare

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

20 Oct 01:20
Compare
Choose a tag to compare

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

20 Oct 02:01
Compare
Choose a tag to compare
  • Export useMatches

v0.1.0-beta.10

20 Oct 01:34
Compare
Choose a tag to compare

Bug fixes

  • Clear search query on unmount

v0.1.0-beta.8: fix: Suppress shortcuts in contenteditable elements (#77)

18 Oct 02:58
2f1de2b
Compare
Choose a tag to compare

Bug fixes

  • Suppress shortcuts in contenteditable elements 2f1de2b

v0.1.0-beta.7

18 Oct 02:02
828bad6
Compare
Choose a tag to compare

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

30 Sep 16:13
c7ad10e
Compare
Choose a tag to compare

Improvements

  • External clicking to a nested action will now set focus back on the input
  • icon and subtitle are now part of the Action type – please see the example for usage.

Bug fixes

  • Fixed an issue calling perform on a nonexistent action

v0.1.0-beta.5

25 Sep 16:02
Compare
Choose a tag to compare

Improvements

  • Some users had issues running kbar with our lib targeted at esnext. Now, kbar is a little more conservative, targeting es5.

v0.1.0-beta.4

22 Sep 15:34
c1de58a
Compare
Choose a tag to compare

Improvements

We've reworked and improved the API to support all types of styling; classNames, 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.