@tanstack/vue-hotkeys-devtools 0.13.9 → 0.13.11
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/VueHotkeysDevtools.js +3 -3
- package/dist/plugin.js +2 -1
- package/package.json +3 -3
|
@@ -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) ??
|
|
9
|
-
devtoolsOpen: dock?.devtoolsOpen ?? props.devtoolsOpen ??
|
|
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 =
|
|
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.
|
|
3
|
+
"version": "0.13.11",
|
|
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.
|
|
50
|
+
"@tanstack/hotkeys-devtools": "1.11.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@tanstack/hotkeys-test-utils": "0.0.0",
|
|
54
|
-
"@tanstack/vue-hotkeys": "0.
|
|
54
|
+
"@tanstack/vue-hotkeys": "0.25.0",
|
|
55
55
|
"@vitejs/plugin-vue": "^6.0.10",
|
|
56
56
|
"vue": "^3.5.45"
|
|
57
57
|
},
|