@storybook/vue3 8.1.0-alpha.1 → 8.1.0-alpha.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.
- package/dist/index.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { s as setup } from './render-18d12fa7.js';
|
2
2
|
import * as _storybook_types from '@storybook/types';
|
3
|
-
import { Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, StoryAnnotationsOrFn, Store_CSFExports, StoriesWithPartialProps } from '@storybook/types';
|
3
|
+
import { Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, NamedOrDefaultProjectAnnotations, StoryAnnotationsOrFn, Store_CSFExports, StoriesWithPartialProps } from '@storybook/types';
|
4
4
|
export { ArgTypes, Args, Parameters, StrictArgs } from '@storybook/types';
|
5
5
|
import { Simplify, SetOptional, Constructor, RemoveIndexSignature } from 'type-fest';
|
6
6
|
import { FunctionalComponent, VNodeChild } from 'vue';
|
@@ -55,7 +55,7 @@ type Preview = ProjectAnnotations<VueRenderer>;
|
|
55
55
|
*
|
56
56
|
* @param projectAnnotations - e.g. (import projectAnnotations from '../.storybook/preview')
|
57
57
|
*/
|
58
|
-
declare function setProjectAnnotations(projectAnnotations:
|
58
|
+
declare function setProjectAnnotations(projectAnnotations: NamedOrDefaultProjectAnnotations<VueRenderer> | NamedOrDefaultProjectAnnotations<VueRenderer>[]): void;
|
59
59
|
/**
|
60
60
|
* Function that will receive a story along with meta (e.g. a default export from a .stories file)
|
61
61
|
* and optionally projectAnnotations e.g. (import * from '../.storybook/preview)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/vue3",
|
3
|
-
"version": "8.1.0-alpha.
|
3
|
+
"version": "8.1.0-alpha.2",
|
4
4
|
"description": "Storybook Vue 3 renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,10 +47,10 @@
|
|
47
47
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/docs-tools": "8.1.0-alpha.
|
50
|
+
"@storybook/docs-tools": "8.1.0-alpha.2",
|
51
51
|
"@storybook/global": "^5.0.0",
|
52
|
-
"@storybook/preview-api": "8.1.0-alpha.
|
53
|
-
"@storybook/types": "8.1.0-alpha.
|
52
|
+
"@storybook/preview-api": "8.1.0-alpha.2",
|
53
|
+
"@storybook/types": "8.1.0-alpha.2",
|
54
54
|
"@vue/compiler-core": "^3.0.0",
|
55
55
|
"lodash": "^4.17.21",
|
56
56
|
"ts-dedent": "^2.0.0",
|