@tb-dev/vue 2.0.9 → 2.0.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.
@@ -5,6 +5,7 @@ export type KeyDownEventHandler = Option<(event: KeyboardEvent) => MaybePromise<
5
5
  export type OnKeyDownOptions = Omit<OnKeyStrokeOptions, 'eventName'> & {
6
6
  altKey?: boolean;
7
7
  ctrlKey?: boolean;
8
+ dedupe?: MaybeNilRef<boolean>;
8
9
  detached?: boolean;
9
10
  enabled?: MaybeNilRef<boolean>;
10
11
  metaKey?: boolean;
package/dist/index.js CHANGED
@@ -149,6 +149,7 @@ function onKeyDown(key, handler, options = {}) {
149
149
  const {
150
150
  altKey = false,
151
151
  ctrlKey = false,
152
+ dedupe = true,
152
153
  detached = false,
153
154
  enabled = true,
154
155
  metaKey = false,
@@ -174,7 +175,7 @@ function onKeyDown(key, handler, options = {}) {
174
175
  return onKeyStroke(key, callback, {
175
176
  ...options,
176
177
  eventName: "keydown",
177
- dedupe: true
178
+ dedupe
178
179
  });
179
180
  };
180
181
  let stop;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "Vue utilities",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,19 +25,19 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@tb-dev/utils": "^7.0.5",
28
- "@vueuse/core": "^13.4.0",
28
+ "@vueuse/core": "^13.5.0",
29
29
  "vue": "^3.5.17"
30
30
  },
31
31
  "devDependencies": {
32
- "@tb-dev/eslint-config": "^7.1.9",
33
- "@types/node": "^24.0.7",
34
- "eslint": "^9.30.0",
32
+ "@tb-dev/eslint-config": "^7.1.10",
33
+ "@types/node": "^24.0.10",
34
+ "eslint": "^9.30.1",
35
35
  "prettier": "^3.6.2",
36
36
  "tslib": "^2.8.1",
37
- "typedoc": "^0.28.6",
38
- "typedoc-plugin-mdn-links": "^5.0.2",
37
+ "typedoc": "^0.28.7",
38
+ "typedoc-plugin-mdn-links": "^5.0.3",
39
39
  "typescript": "~5.8.3",
40
- "vite": "^7.0.0",
40
+ "vite": "^7.0.2",
41
41
  "vite-plugin-dts": "^4.5.4"
42
42
  },
43
43
  "files": [