ci: Version Packages #224
main fromrefs/pull/224/head·merged by KevinVandy This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases#
@tanstack/hotkeys@0.24.0#
Minor Changes#
#225
b5e429a- Run element-target hotkeys after the framework's own key handlers in React, Svelte, Solid, and Octane. AnonKeyDownhandler inside the target, such as an autocomplete that closes on Escape, now runs first and can stop the hotkey. Before, the hotkey ran first and its defaultstopPropagationkept the key from those handlers.These adapters set the new
afterDelegatedHandlersoption, so an element target listens on its document, or on its closed shadow root. Framework handlers outside the target also run before the hotkey now. In Solid, a stop by anonKeyDownhandler also skips document hotkeys, even when the hotkey registered before the first component that usesonKeyDownloaded.#228
d3adb24- Add theignoreDefaultPreventedoption. A hotkey with it skips a key press that another listener already handled withpreventDefault(), such as a Radix UI or shadcn/ui dropdown closing on Escape. A hotkey's ownpreventDefaultdoesn't count. Set it in a provider's default options to apply it to every hotkey.#228
d3adb24- Fire a keyup chord when the user releases its key or one of its modifiers, whichever comes first. Before, releasing the modifier first meant the chord never fired, and on macOS a keyupModchord never fired at all, because macOS sends no keyup for a key released while Command is held.A keyup chord now also prevents its keydown's default action, so a keyup
Mod+Sstops the browser's Save dialog. SetpreventDefault: falseto let the browser act on the keydown.#228
d3adb24- Leave Escape to an open modal<dialog>or a popover that closes on Escape, which is any popover exceptpopover="manual". While one is open, hotkeys outside it skip Escape, so the browser closes it instead of a globalEscapehotkey keeping it open. A hotkey targeted at the dialog or popover, or at an element inside it, still receives Escape.
Patch Changes#
#228
d3adb24- Fix hotkeys in a scope that stopped firing when a provider with the same scope mounted inside it. The inner provider replaced the scope's parent with the scope itself, so the scope dropped out of an exclusive ancestor such as a dialog.#223
04c7445- FixformatForDisplaythrowing during server rendering on runtimes withoutprocess, such as Cloudflare Workers.
@tanstack/octane-hotkeys@0.11.0#
Minor Changes#
#225
b5e429a- Run element-target hotkeys after the framework's own key handlers in React, Svelte, Solid, and Octane. AnonKeyDownhandler inside the target, such as an autocomplete that closes on Escape, now runs first and can stop the hotkey. Before, the hotkey ran first and its defaultstopPropagationkept the key from those handlers.These adapters set the new
afterDelegatedHandlersoption, so an element target listens on its document, or on its closed shadow root. Framework handlers outside the target also run before the hotkey now. In Solid, a stop by anonKeyDownhandler also skips document hotkeys, even when the hotkey registered before the first component that usesonKeyDownloaded.
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/react-hotkeys@0.22.0#
Minor Changes#
#225
b5e429a- Run element-target hotkeys after the framework's own key handlers in React, Svelte, Solid, and Octane. AnonKeyDownhandler inside the target, such as an autocomplete that closes on Escape, now runs first and can stop the hotkey. Before, the hotkey ran first and its defaultstopPropagationkept the key from those handlers.These adapters set the new
afterDelegatedHandlersoption, so an element target listens on its document, or on its closed shadow root. Framework handlers outside the target also run before the hotkey now. In Solid, a stop by anonKeyDownhandler also skips document hotkeys, even when the hotkey registered before the first component that usesonKeyDownloaded.
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/solid-hotkeys@0.21.0#
Minor Changes#
#225
b5e429a- Run element-target hotkeys after the framework's own key handlers in React, Svelte, Solid, and Octane. AnonKeyDownhandler inside the target, such as an autocomplete that closes on Escape, now runs first and can stop the hotkey. Before, the hotkey ran first and its defaultstopPropagationkept the key from those handlers.These adapters set the new
afterDelegatedHandlersoption, so an element target listens on its document, or on its closed shadow root. Framework handlers outside the target also run before the hotkey now. In Solid, a stop by anonKeyDownhandler also skips document hotkeys, even when the hotkey registered before the first component that usesonKeyDownloaded.
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/svelte-hotkeys@0.21.0#
Minor Changes#
#225
b5e429a- Run element-target hotkeys after the framework's own key handlers in React, Svelte, Solid, and Octane. AnonKeyDownhandler inside the target, such as an autocomplete that closes on Escape, now runs first and can stop the hotkey. Before, the hotkey ran first and its defaultstopPropagationkept the key from those handlers.These adapters set the new
afterDelegatedHandlersoption, so an element target listens on its document, or on its closed shadow root. Framework handlers outside the target also run before the hotkey now. In Solid, a stop by anonKeyDownhandler also skips document hotkeys, even when the hotkey registered before the first component that usesonKeyDownloaded.
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/alpine-hotkeys@0.11.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/angular-hotkeys@0.21.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/angular-hotkeys-devtools@0.5.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
@tanstack/ember-hotkeys@0.10.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/hotkeys-devtools@1.8.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/lit-hotkeys@0.22.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/preact-hotkeys@0.20.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/preact-hotkeys-devtools@0.13.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
@tanstack/react-hotkeys-devtools@0.14.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
@tanstack/solid-hotkeys-devtools@0.13.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
@tanstack/svelte-hotkeys-devtools@0.5.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
@tanstack/vue-hotkeys@0.21.1#
Patch Changes#
- Updated dependencies [
b5e429a,d3adb24,d3adb24,d3adb24,d3adb24,04c7445]:- @tanstack/hotkeys@0.24.0
@tanstack/vue-hotkeys-devtools@0.13.1#
Patch Changes#
- Updated dependencies []:
- @tanstack/hotkeys-devtools@1.8.1
- 1
KevinVandy merged this24f618f
KevinVandy closed this
Sign in to join this conversation.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.a2c72524-2129-4218-8a1b-752e48b7966eYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share