@sit-onyx/storybook-utils 1.0.0-beta.104 → 1.0.0-beta.105
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/package.json +6 -6
- package/src/events.ts +7 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/storybook-utils",
|
|
3
3
|
"description": "Storybook utilities for Vue",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.105",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"prettier": ">= 3.0.0",
|
|
32
32
|
"storybook": ">= 9.0.0",
|
|
33
33
|
"vue-component-type-helpers": ">= 2",
|
|
34
|
-
"@sit-onyx/
|
|
35
|
-
"@sit-onyx/
|
|
34
|
+
"@sit-onyx/icons": "^1.0.0-beta.26",
|
|
35
|
+
"@sit-onyx/flags": "^1.0.0-beta.7"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"deepmerge-ts": "^7.1.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"storybook": "^9.1.
|
|
42
|
-
"vue": "3.5.
|
|
41
|
+
"storybook": "^9.1.5",
|
|
42
|
+
"vue": "3.5.21",
|
|
43
43
|
"vue-component-type-helpers": "^3.0.6",
|
|
44
44
|
"@sit-onyx/icons": "^1.0.0-beta.26",
|
|
45
|
-
"@sit-onyx/shared": "^1.0.0-beta.
|
|
45
|
+
"@sit-onyx/shared": "^1.0.0-beta.5"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc --noEmit",
|
package/src/events.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Events } from "vue";
|
|
2
2
|
|
|
3
3
|
// prettier-ignore
|
|
4
|
-
type EventName<T extends Event> =
|
|
4
|
+
type EventName<T extends Event> =
|
|
5
5
|
T extends ClipboardEvent ? "ClipboardEvent"
|
|
6
6
|
: T extends WheelEvent ? "WheelEvent"
|
|
7
7
|
: T extends PointerEvent ? "PointerEvent"
|
|
@@ -311,8 +311,8 @@ export const EVENT_DOC_MAP: EventDocMap = {
|
|
|
311
311
|
},
|
|
312
312
|
onAuxclick: {
|
|
313
313
|
constructor: {
|
|
314
|
-
name: "
|
|
315
|
-
url: "https://developer.mozilla.org/en-US/docs/Web/API/
|
|
314
|
+
name: "PointerEvent",
|
|
315
|
+
url: "https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent",
|
|
316
316
|
},
|
|
317
317
|
event: {
|
|
318
318
|
name: "auxclick",
|
|
@@ -321,8 +321,8 @@ export const EVENT_DOC_MAP: EventDocMap = {
|
|
|
321
321
|
},
|
|
322
322
|
onClick: {
|
|
323
323
|
constructor: {
|
|
324
|
-
name: "
|
|
325
|
-
url: "https://developer.mozilla.org/en-US/docs/Web/API/
|
|
324
|
+
name: "PointerEvent",
|
|
325
|
+
url: "https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent",
|
|
326
326
|
},
|
|
327
327
|
event: {
|
|
328
328
|
name: "click",
|
|
@@ -331,8 +331,8 @@ export const EVENT_DOC_MAP: EventDocMap = {
|
|
|
331
331
|
},
|
|
332
332
|
onContextmenu: {
|
|
333
333
|
constructor: {
|
|
334
|
-
name: "
|
|
335
|
-
url: "https://developer.mozilla.org/en-US/docs/Web/API/
|
|
334
|
+
name: "PointerEvent",
|
|
335
|
+
url: "https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent",
|
|
336
336
|
},
|
|
337
337
|
event: {
|
|
338
338
|
name: "contextmenu",
|