@tanstack/svelte-hotkeys 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ import { createAppHotkeysSubscriber, resolveMaybeGetter, } from './internal.svel
8
8
  function bindHotkeys(hotkeys, commonOptions, element) {
9
9
  const context = getHotkeysContext();
10
10
  const subscribeAppHotkeys = createAppHotkeysSubscriber(context?.appHotkeysStore ?? null);
11
- const bindings = createHotkeyBindings();
11
+ const bindings = createHotkeyBindings({ afterDelegatedHandlers: true });
12
12
  $effect(() => {
13
13
  if (typeof document === 'undefined') {
14
14
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/svelte-hotkeys",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Svelte adapter for TanStack Hotkeys",
5
5
  "author": "Kunal Rao",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "skills"
42
42
  ],
43
43
  "dependencies": {
44
- "@tanstack/hotkeys": "0.23.0"
44
+ "@tanstack/hotkeys": "0.24.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@sveltejs/package": "^3.0.0",