@tanstack/vue-hotkeys-devtools 0.13.1 → 0.13.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.
@@ -1,8 +1,5 @@
1
- import { DefineComponent } from "vue";
2
1
  import { HotkeysDevtoolsPanelProps, HotkeysDevtoolsTheme } from "@tanstack/hotkeys-devtools";
3
- declare namespace VueHotkeysDevtools_d_exports {
4
- export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp, HotkeysDevtoolsVueInit, HotkeysDevtoolsVuePanelProps };
5
- }
2
+ import { DefineComponent } from "vue";
6
3
  export interface HotkeysDevtoolsVueInit extends Partial<HotkeysDevtoolsPanelProps> {}
7
4
  type ThemeProp = HotkeysDevtoolsTheme | Partial<HotkeysDevtoolsPanelProps>;
8
5
  /** Props of `HotkeysDevtoolsPanel`. */
@@ -11,6 +8,4 @@ export interface HotkeysDevtoolsVuePanelProps {
11
8
  devtoolsOpen?: boolean;
12
9
  }
13
10
  export declare const HotkeysDevtoolsPanel: DefineComponent<HotkeysDevtoolsVuePanelProps>;
14
- export declare const HotkeysDevtoolsPanelNoOp: DefineComponent<HotkeysDevtoolsVuePanelProps>;
15
- //#endregion
16
- export { VueHotkeysDevtools_d_exports };
11
+ export {};
@@ -1,7 +1,7 @@
1
- import { defineComponent, h, onMounted, onUnmounted, ref, watch } from "vue";
2
1
  import { HotkeysDevtoolsCore } from "@tanstack/hotkeys-devtools";
2
+ import { defineComponent, h, onMounted, onUnmounted, ref, watch } from "vue";
3
3
 
4
- //#region src/VueHotkeysDevtools.ts
4
+ // src/VueHotkeysDevtools.ts
5
5
  function resolveProps(props) {
6
6
  const dock = typeof props.theme === "object" ? props.theme : void 0;
7
7
  return {
@@ -55,5 +55,4 @@ function createPanel(Core) {
55
55
  const HotkeysDevtoolsPanel = createPanel(HotkeysDevtoolsCore);
56
56
  const HotkeysDevtoolsPanelNoOp = createPanel(null);
57
57
 
58
- //#endregion
59
58
  export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
- import { HotkeysDevtoolsPanel as HotkeysDevtoolsPanel$1, HotkeysDevtoolsVueInit, VueHotkeysDevtools_d_exports } from "./VueHotkeysDevtools.js";
2
- import { HotkeysDevtoolsVuePlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1, plugin_d_exports } from "./plugin.js";
3
- //#region src/index.d.ts
1
+ import { HotkeysDevtoolsPanel as HotkeysDevtoolsPanel$1, HotkeysDevtoolsVueInit } from "./VueHotkeysDevtools.js";
2
+ import { HotkeysDevtoolsVuePlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1 } from "./plugin.js";
4
3
  export declare const HotkeysDevtoolsPanel: typeof HotkeysDevtoolsPanel$1;
5
4
  export declare const hotkeysDevtoolsPlugin: typeof hotkeysDevtoolsPlugin$1;
6
- //#endregion
7
5
  export type { HotkeysDevtoolsVueInit, HotkeysDevtoolsVuePlugin };
package/dist/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import { HotkeysDevtoolsPanel as HotkeysDevtoolsPanel$1, HotkeysDevtoolsPanelNoOp } from "./VueHotkeysDevtools.js";
2
2
  import { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1 } from "./plugin.js";
3
3
 
4
- //#region src/index.ts
4
+ // src/index.ts
5
5
  const HotkeysDevtoolsPanel = process.env.NODE_ENV !== "development" ? HotkeysDevtoolsPanelNoOp : HotkeysDevtoolsPanel$1;
6
6
  const hotkeysDevtoolsPlugin = process.env.NODE_ENV !== "development" ? hotkeysDevtoolsNoOpPlugin : hotkeysDevtoolsPlugin$1;
7
7
 
8
- //#endregion
9
8
  export { HotkeysDevtoolsPanel, hotkeysDevtoolsPlugin };
package/dist/plugin.d.ts CHANGED
@@ -1,14 +1,8 @@
1
1
  import { HotkeysDevtoolsPanel, HotkeysDevtoolsVueInit } from "./VueHotkeysDevtools.js";
2
- declare namespace plugin_d_exports {
3
- export { HotkeysDevtoolsVuePlugin, hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
4
- }
5
2
  /** A plugin for `TanStackDevtools` from `@tanstack/vue-devtools`. */
6
3
  export interface HotkeysDevtoolsVuePlugin {
7
4
  name: string;
8
5
  component: typeof HotkeysDevtoolsPanel;
9
6
  props?: HotkeysDevtoolsVueInit;
10
7
  }
11
- export declare function hotkeysDevtoolsPlugin(props?: HotkeysDevtoolsVueInit): HotkeysDevtoolsVuePlugin;
12
- export declare function hotkeysDevtoolsNoOpPlugin(props?: HotkeysDevtoolsVueInit): HotkeysDevtoolsVuePlugin;
13
- //#endregion
14
- export { plugin_d_exports };
8
+ export declare function hotkeysDevtoolsPlugin(props?: HotkeysDevtoolsVueInit): HotkeysDevtoolsVuePlugin;
package/dist/plugin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp } from "./VueHotkeysDevtools.js";
2
2
 
3
- //#region src/plugin.ts
3
+ // src/plugin.ts
4
4
  const name = "TanStack Hotkeys";
5
5
  function hotkeysDevtoolsPlugin(props) {
6
6
  return {
@@ -17,5 +17,4 @@ function hotkeysDevtoolsNoOpPlugin(props) {
17
17
  };
18
18
  }
19
19
 
20
- //#endregion
21
20
  export { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-hotkeys-devtools",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Vue devtools for TanStack Hotkeys",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -47,17 +47,17 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@tanstack/hotkeys-devtools": "1.8.1"
50
+ "@tanstack/hotkeys-devtools": "1.9.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@vitejs/plugin-vue": "^6.0.9",
54
- "vue": "^3.5.43"
53
+ "@vitejs/plugin-vue": "^6.0.10",
54
+ "vue": "^3.5.45"
55
55
  },
56
56
  "scripts": {
57
57
  "clean": "premove ./build ./dist",
58
- "lint": "eslint ./src",
59
- "lint:fix": "eslint ./src --fix",
60
- "test:eslint": "eslint ./src",
58
+ "lint": "oxlint ./src",
59
+ "lint:fix": "oxlint ./src --fix",
60
+ "test:oxlint": "oxlint ./src",
61
61
  "test:lib": "vitest --passWithNoTests",
62
62
  "test:lib:dev": "pnpm test:lib --watch",
63
63
  "test:types": "tsc",
@@ -1,18 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __exportAll = (all, no_symbols) => {
4
- let target = {};
5
- for (var name in all) {
6
- __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- }
11
- if (!no_symbols) {
12
- __defProp(target, Symbol.toStringTag, { value: "Module" });
13
- }
14
- return target;
15
- };
16
-
17
- //#endregion
18
- export { __exportAll };