fast, portable, and extensible cmd+k interface for your site
useMatches
useRegisterActions
now accepts an optional dependencies array enabling users to invert control on the actions cache. https://github.com/timc1/kbar/commit/b10bd501c16fef2dc3eb94f0c635741ac9a40f6a
useMatches
, which returns grouped actions based on the current search query. https://github.com/timc1/kbar/commit/6dc7b1227599e302aafa5fcf1ab2fb828329c146
currentRootActionId
. https://github.com/timc1/kbar/commit/c53f585646ebfae68af6ac6e74e593b27068f62d
contenteditable
elements https://github.com/timc1/kbar/commit/2f1de2bdd0564ee89268c7964f82ebadbd885936
event.preventDefault
is called. https://github.com/timc1/kbar/commit/828bad6ac13a0bae69981c5296ddddcf8e5348c3
Thanks @tommoor for the contributions 💯
icon
and subtitle
are now part of the Action
type – please see the example for usage.perform
on a nonexistent actionWe'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.
docs
📚