@tanstack/preact-hotkeys 0.8.2 → 0.8.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/README.md +1 -0
- package/dist/HotkeysProvider.d.cts +2 -2
- package/dist/HotkeysProvider.d.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ Type-safe keyboard shortcuts for the web. Template-string bindings, parsed objec
|
|
|
58
58
|
> - [**Solid Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/solid/reference)
|
|
59
59
|
> - [**Angular Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/angular/reference)
|
|
60
60
|
> - [**Vue Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/vue/reference)
|
|
61
|
+
> - [**Lit Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/lit/reference)
|
|
61
62
|
> - [**Svelte Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/svelte/reference)
|
|
62
63
|
|
|
63
64
|
## Get Involved
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseHotkeyOptions } from "./useHotkey.cjs";
|
|
2
2
|
import { UseHotkeySequenceOptions } from "./useHotkeySequence.cjs";
|
|
3
3
|
import { HotkeyRecorderOptions, HotkeySequenceRecorderOptions } from "@tanstack/hotkeys";
|
|
4
|
-
import * as preact from "preact";
|
|
4
|
+
import * as _$preact from "preact";
|
|
5
5
|
import { ComponentChildren } from "preact";
|
|
6
6
|
|
|
7
7
|
//#region src/HotkeysProvider.d.ts
|
|
@@ -21,7 +21,7 @@ interface HotkeysProviderProps {
|
|
|
21
21
|
declare function HotkeysProvider({
|
|
22
22
|
children,
|
|
23
23
|
defaultOptions
|
|
24
|
-
}: HotkeysProviderProps): preact.JSX.Element;
|
|
24
|
+
}: HotkeysProviderProps): _$preact.JSX.Element;
|
|
25
25
|
declare function useHotkeysContext(): HotkeysContextValue | null;
|
|
26
26
|
declare function useDefaultHotkeysOptions(): HotkeysProviderOptions;
|
|
27
27
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseHotkeyOptions } from "./useHotkey.js";
|
|
2
2
|
import { UseHotkeySequenceOptions } from "./useHotkeySequence.js";
|
|
3
3
|
import { HotkeyRecorderOptions, HotkeySequenceRecorderOptions } from "@tanstack/hotkeys";
|
|
4
|
-
import * as preact from "preact";
|
|
4
|
+
import * as _$preact from "preact";
|
|
5
5
|
import { ComponentChildren } from "preact";
|
|
6
6
|
|
|
7
7
|
//#region src/HotkeysProvider.d.ts
|
|
@@ -21,7 +21,7 @@ interface HotkeysProviderProps {
|
|
|
21
21
|
declare function HotkeysProvider({
|
|
22
22
|
children,
|
|
23
23
|
defaultOptions
|
|
24
|
-
}: HotkeysProviderProps): preact.JSX.Element;
|
|
24
|
+
}: HotkeysProviderProps): _$preact.JSX.Element;
|
|
25
25
|
declare function useHotkeysContext(): HotkeysContextValue | null;
|
|
26
26
|
declare function useDefaultHotkeysOptions(): HotkeysProviderOptions;
|
|
27
27
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/preact-hotkeys",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Preact adapter for TanStack Hotkeys",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@tanstack/preact-store": "^0.11.3",
|
|
43
|
-
"@tanstack/hotkeys": "0.6.
|
|
43
|
+
"@tanstack/hotkeys": "0.6.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@preact/preset-vite": "^2.10.5",
|