@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.
- package/dist/types.d.ts +4 -1
- 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
|
-
/**
|
|
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
|
+
"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.
|
|
38
|
+
"@tanstack/hotkeys": "0.26.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/alpinejs": "^3.17.0",
|