@tanstack/react-hotkeys-devtools 0.4.0 → 0.4.2
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 +3 -3
- package/dist/ReactHotkeysDevtools.d.ts +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/plugin.d.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Type-safe keyboard shortcuts for the web. Template-string bindings, parsed objec
|
|
|
44
44
|
- Type-safe bindings — template strings (`Mod+Shift+S`, `Escape`) or parsed objects for full control
|
|
45
45
|
- Flexible options — `keydown`/`keyup`, `preventDefault`, `stopPropagation`, conditional enabled, `requireReset`
|
|
46
46
|
- Cross-platform Mod — maps to Cmd on macOS and Ctrl on Windows/Linux
|
|
47
|
-
- Batteries included — validation + matching, sequences (Vim-style), key-state tracking, recorder UI helpers,
|
|
47
|
+
- Batteries included — validation + matching, sequences (Vim-style), key-state tracking, recorder UI helpers, framework adapters, and devtools
|
|
48
48
|
|
|
49
49
|
### <a href="https://tanstack.com/hotkeys">Read the docs →</a>
|
|
50
50
|
|
|
@@ -57,8 +57,8 @@ Type-safe keyboard shortcuts for the web. Template-string bindings, parsed objec
|
|
|
57
57
|
> - [**Preact Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/preact/preact-hotkeys)
|
|
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
|
-
> -
|
|
61
|
-
> -
|
|
60
|
+
> - [**Vue Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/vue/reference)
|
|
61
|
+
> - [**Svelte Hotkeys**](https://tanstack.com/hotkeys/latest/docs/framework/svelte/reference)
|
|
62
62
|
|
|
63
63
|
## Get Involved
|
|
64
64
|
|
|
@@ -3,7 +3,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
//#region src/ReactHotkeysDevtools.d.ts
|
|
5
5
|
interface HotkeysDevtoolsReactInit extends DevtoolsPanelProps {}
|
|
6
|
-
declare const HotkeysDevtoolsPanel: (props:
|
|
6
|
+
declare const HotkeysDevtoolsPanel: (props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element, HotkeysDevtoolsPanelNoOp: (_props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { HotkeysDevtoolsPanel, HotkeysDevtoolsReactInit };
|
|
9
9
|
//# sourceMappingURL=ReactHotkeysDevtools.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { HotkeysDevtoolsReactInit } from "./ReactHotkeysDevtools.js";
|
|
2
|
-
import * as _tanstack_devtools_utils_react0 from "@tanstack/devtools-utils/react";
|
|
3
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
|
6
|
-
declare const HotkeysDevtoolsPanel: (props:
|
|
5
|
+
declare const HotkeysDevtoolsPanel: (props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
|
|
7
6
|
declare const hotkeysDevtoolsPlugin: () => {
|
|
8
|
-
render: (_el: HTMLElement,
|
|
7
|
+
render: (_el: HTMLElement, props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
|
|
9
8
|
name: string;
|
|
10
9
|
id?: string;
|
|
11
10
|
defaultOpen?: boolean;
|
package/dist/plugin.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const hotkeysDevtoolsPlugin: () => {
|
|
5
|
-
render: (_el: HTMLElement,
|
|
5
|
+
render: (_el: HTMLElement, props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
|
|
6
6
|
name: string;
|
|
7
7
|
id?: string;
|
|
8
8
|
defaultOpen?: boolean;
|
|
9
9
|
}, hotkeysDevtoolsNoOpPlugin: () => {
|
|
10
|
-
render: (_el: HTMLElement,
|
|
10
|
+
render: (_el: HTMLElement, _props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
|
|
11
11
|
name: string;
|
|
12
12
|
id?: string;
|
|
13
13
|
defaultOpen?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-hotkeys-devtools",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "React devtools for TanStack Hotkeys",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"react-dom": ">=16.8"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tanstack/devtools-utils": "^0.
|
|
48
|
-
"@tanstack/hotkeys-devtools": "0.4.
|
|
47
|
+
"@tanstack/devtools-utils": "^0.4.0",
|
|
48
|
+
"@tanstack/hotkeys-devtools": "0.4.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@eslint-react/eslint-plugin": "^2.13.0",
|