@tanstack/react-hotkeys-devtools 0.4.1 → 0.4.3

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 CHANGED
@@ -58,7 +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
- > - Svelte Hotkeys – needs a contributor!
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: DevtoolsPanelProps | undefined) => react_jsx_runtime0.JSX.Element, HotkeysDevtoolsPanelNoOp: (_props: DevtoolsPanelProps | undefined) => react_jsx_runtime0.JSX.Element;
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: _tanstack_devtools_utils_react0.DevtoolsPanelProps | undefined) => react_jsx_runtime0.JSX.Element;
5
+ declare const HotkeysDevtoolsPanel: (props: TanStackDevtoolsPluginProps) => react_jsx_runtime0.JSX.Element;
7
6
  declare const hotkeysDevtoolsPlugin: () => {
8
- render: (_el: HTMLElement, theme: "light" | "dark") => react_jsx_runtime0.JSX.Element;
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, theme: "light" | "dark") => react_jsx_runtime0.JSX.Element;
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, _theme: "light" | "dark") => react_jsx_runtime0.JSX.Element;
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.1",
3
+ "version": "0.4.3",
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.3.2",
48
- "@tanstack/hotkeys-devtools": "0.4.1"
47
+ "@tanstack/devtools-utils": "^0.4.0",
48
+ "@tanstack/hotkeys-devtools": "0.4.3"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@eslint-react/eslint-plugin": "^2.13.0",