@tanstack/alpine-hotkeys 0.11.3 → 0.11.4

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +4 -1
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -4,7 +4,10 @@ import { AdapterAppHotkeyOptions, AdapterCommonOptions, AdapterHotkeyDefinition,
4
4
  export interface AlpineHotkeyState<T> {
5
5
  readonly value: T;
6
6
  }
7
- /** The element to listen on. A `null` target skips registration until it is set. */
7
+ /**
8
+ * The element to listen on. A `null` or `undefined` target skips registration
9
+ * until it is set. Omit `target` for the document.
10
+ */
8
11
  export type AlpineHotkeyTarget = Target | null;
9
12
  /** One hotkey for `createHotkeys`: a chord, a sequence, or an app hotkey. */
10
13
  export type AlpineHotkeyDefinition = AdapterHotkeyDefinition<AlpineHotkeyTarget>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/alpine-hotkeys",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "Alpine adapter for TanStack Hotkeys",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  "skills"
36
36
  ],
37
37
  "dependencies": {
38
- "@tanstack/hotkeys": "0.25.1"
38
+ "@tanstack/hotkeys": "0.26.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/alpinejs": "^3.17.0",