@tanstack/vue-hotkeys-devtools 0.13.9 → 0.13.10

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.
@@ -1,12 +1,12 @@
1
- import { HotkeysDevtoolsCore } from "@tanstack/hotkeys-devtools/production";
1
+ import { HOTKEYS_DEVTOOLS_DEFAULT_PROPS, HotkeysDevtoolsCore } from "@tanstack/hotkeys-devtools/production";
2
2
  import { defineComponent, h, onMounted, onUnmounted, ref, watch } from "vue";
3
3
 
4
4
  // src/VueHotkeysDevtools.ts
5
5
  function resolveProps(props) {
6
6
  const dock = typeof props.theme === "object" ? props.theme : void 0;
7
7
  return {
8
- theme: (dock ? dock.theme : props.theme) ?? "dark",
9
- devtoolsOpen: dock?.devtoolsOpen ?? props.devtoolsOpen ?? true
8
+ theme: (dock ? dock.theme : props.theme) ?? HOTKEYS_DEVTOOLS_DEFAULT_PROPS.theme,
9
+ devtoolsOpen: dock?.devtoolsOpen ?? props.devtoolsOpen ?? HOTKEYS_DEVTOOLS_DEFAULT_PROPS.devtoolsOpen
10
10
  };
11
11
  }
12
12
  function createPanel(Core) {
package/dist/plugin.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp } from "./VueHotkeysDevtools.js";
2
+ import { HOTKEYS_DEVTOOLS_PLUGIN_NAME } from "@tanstack/hotkeys-devtools/production";
2
3
 
3
4
  // src/plugin.ts
4
- const name = "TanStack Hotkeys";
5
+ const name = HOTKEYS_DEVTOOLS_PLUGIN_NAME;
5
6
  function hotkeysDevtoolsPlugin(props) {
6
7
  return {
7
8
  name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-hotkeys-devtools",
3
- "version": "0.13.9",
3
+ "version": "0.13.10",
4
4
  "description": "Vue devtools for TanStack Hotkeys",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -47,11 +47,11 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@tanstack/hotkeys-devtools": "1.10.0"
50
+ "@tanstack/hotkeys-devtools": "1.11.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@tanstack/hotkeys-test-utils": "0.0.0",
54
- "@tanstack/vue-hotkeys": "0.24.0",
54
+ "@tanstack/vue-hotkeys": "0.24.1",
55
55
  "@vitejs/plugin-vue": "^6.0.10",
56
56
  "vue": "^3.5.45"
57
57
  },