2.1.1 (2023-02-06)
- allow to call
useKbsDisableGlobal
outside of context (5ff073a)
2.1.0 (2022-10-29)
- add
maxFrequency
option (#18) (f9b5d2f) - add support for defining shortcuts with
code
instead ofkey
(4206b9d)
2.0.0 (2022-05-04)
- Shortcuts will now be executed when buttons, links, or otherwise non-interactive elements are focused.
- allow to execute shortcuts when buttons and other elements are focused (fc1e182)
1.0.0 (2021-07-12)
- add useKbsGlobalList and refactor metadata (9ec9244)
- prepare next release (bc076dc)
0.1.3 (2021-05-06)
- do not wrap global handler in a div (b8afafc)
0.1.2 (2021-05-06)
- include typings in distribution (b79ad3d)
0.1.1 (2021-05-06)
- correctly check for event target (bfe61a7)
- specify prepack script (c7b841b), closes #4
- support SSR builds (940d18e)
- add hook for local shortcuts and do not restrict shift key by default (aae3f57)
- add useKbsDisableGlobal hook (7fd7e11)
- allow shortcuts to have a description (d51c168)
- implement global shortcuts (e791933)
- warn if a global shortcut is defined twice (be173c3)
- only handle event if target is focusable div (67e101f)