@storybook/vue3 7.2.0-canary-22285-1690280355-e7cab9e3.0 → 7.2.0-canary-22285-1690306636-035010c9.0
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/index.d.ts +1 -10
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
@@ -5,6 +5,7 @@ import { App, FunctionalComponent, VNodeChild } from 'vue';
|
|
5
5
|
import { V as VueRenderer } from './render-210e2c92.js';
|
6
6
|
export { s as setup } from './render-210e2c92.js';
|
7
7
|
import { Simplify, SetOptional, Constructor, RemoveIndexSignature } from 'type-fest';
|
8
|
+
import { ComponentProps, ComponentSlots } from 'vue-component-type-helpers';
|
8
9
|
|
9
10
|
interface ClientApi extends Addon_ClientStoryApi<VueRenderer['storyResult']> {
|
10
11
|
configure(loader: Addon_Loadable, module: NodeModule): void;
|
@@ -18,16 +19,6 @@ declare const configure: ClientApi['configure'];
|
|
18
19
|
declare const forceReRender: () => void;
|
19
20
|
declare const raw: ((...args: any[]) => never) | (() => _storybook_types.BoundStory<VueRenderer>[] | undefined);
|
20
21
|
|
21
|
-
type ComponentProps<T> =
|
22
|
-
T extends new () => { $props: infer P } ? NonNullable<P> :
|
23
|
-
T extends (props: infer P, ...args: any) => any ? P :
|
24
|
-
{};
|
25
|
-
|
26
|
-
type ComponentSlots<T> =
|
27
|
-
T extends new () => { $slots: infer S } ? NonNullable<S> :
|
28
|
-
T extends (props: any, ctx: { slots: infer S }, ...args: any) => any ? NonNullable<S> :
|
29
|
-
{};
|
30
|
-
|
31
22
|
/**
|
32
23
|
* Metadata to configure the stories for a component.
|
33
24
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/vue3",
|
3
|
-
"version": "7.2.0-canary-22285-
|
3
|
+
"version": "7.2.0-canary-22285-1690306636-035010c9.0",
|
4
4
|
"description": "Storybook Vue 3 renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -48,22 +48,22 @@
|
|
48
48
|
"prep": "../../../scripts/prepare/bundle.ts"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"@storybook/core-client": "7.2.0-canary-22285-
|
52
|
-
"@storybook/docs-tools": "7.2.0-canary-22285-
|
51
|
+
"@storybook/core-client": "7.2.0-canary-22285-1690306636-035010c9.0",
|
52
|
+
"@storybook/docs-tools": "7.2.0-canary-22285-1690306636-035010c9.0",
|
53
53
|
"@storybook/global": "^5.0.0",
|
54
|
-
"@storybook/preview-api": "7.2.0-canary-22285-
|
55
|
-
"@storybook/types": "7.2.0-canary-22285-
|
54
|
+
"@storybook/preview-api": "7.2.0-canary-22285-1690306636-035010c9.0",
|
55
|
+
"@storybook/types": "7.2.0-canary-22285-1690306636-035010c9.0",
|
56
56
|
"lodash": "^4.17.21",
|
57
57
|
"ts-dedent": "^2.0.0",
|
58
58
|
"type-fest": "~2.19",
|
59
|
-
"vue": "3.3.4"
|
59
|
+
"vue": "3.3.4",
|
60
|
+
"vue-component-type-helpers": "latest"
|
60
61
|
},
|
61
62
|
"devDependencies": {
|
62
63
|
"@digitak/esrun": "^3.2.2",
|
63
64
|
"@types/prettier": "2.7.2",
|
64
65
|
"@vue/vue3-jest": "29",
|
65
66
|
"typescript": "~4.9.3",
|
66
|
-
"vue-component-type-helpers": "latest",
|
67
67
|
"vue-tsc": "latest"
|
68
68
|
},
|
69
69
|
"peerDependencies": {
|