Skip to content

Releases: timc1/kbar

v0.1.0-beta.25: Added defaultPlaceholder (#152)

11 Jan 19:45
3ecde94
Compare
Choose a tag to compare

Lil' release to get up to date on recent additions.

Enhancements

  • Add section name by default to command keywords (#144)
  • Add customizable search placeholder (#152)

Bug fixes

  • Add event callbacks for shortcuts (#150)

v0.1.0-beta.24

13 Dec 05:51
Compare
Choose a tag to compare

Bug fixes

  • Fixed styles prop type for KBarPositioner #138
  • Fixes an issue where toggling the command bar when focused within contenteditable caused event.defaultPrevented to not work as expected ESC #139

v0.1.0-beta.23

26 Nov 23:22
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue where the default useKBar export did not work in Vite builds. #131 (@kevinhu)

v0.1.0-beta.22

25 Nov 19:26
e9bd63f
Compare
Choose a tag to compare

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 using action.command.redo

demo

Fixes

  • Deprecated the usage of useDeepMatches in favor of just useMatches. #124
  • Reworked a few internal types; e.g. BaseAction renamed to Action

v0.1.0-beta.21

14 Nov 16:24
6509dcf
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue where mobile Safari/Firefox outer clicks were not firing. #123

v0.1.0-beta.20

10 Nov 20:11
Compare
Choose a tag to compare

Enhancements

  • Support for screen readers added ✨ #111
  • Support for external analytics added; onOpen, onClose, onQueryChange, onSelectAction #110

Bug fixes

  • Enable users to opt out of implicit scrollbar management. #115

Misc

  • All exports from /example now import from the global entry point. #116

v0.1.0-beta.19

06 Nov 23:00
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue where spreading large lists of ActionImpls crashed kbar; rather, we should be looping through and pushing these objects to a new array instead of spreading.

v0.1.0-beta.18

06 Nov 19:12
Compare
Choose a tag to compare

Missing export, need to somehow test/enforce this when adding new modules.

v0.1.0-beta.17

05 Nov 21:03
Compare
Choose a tag to compare

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

27 Oct 00:17
bbd7af2
Compare
Choose a tag to compare

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