@storybook/vue3 8.2.0 → 8.2.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/entry-preview-docs.d.ts +3 -4
- package/dist/index.d.ts +2 -3
- package/package.json +2 -2
@@ -1,6 +1,5 @@
|
|
1
|
-
import * as core_dist_docs_tools from 'core/dist/docs-tools';
|
2
1
|
import { DecoratorFunction, ArgTypesEnhancer } from 'storybook/internal/types';
|
3
|
-
import {
|
2
|
+
import { ArgTypesExtractor } from 'storybook/internal/docs-tools';
|
4
3
|
import { V as VueRenderer } from './types-1ede6954.js';
|
5
4
|
import 'vue';
|
6
5
|
|
@@ -9,8 +8,8 @@ declare const parameters: {
|
|
9
8
|
story: {
|
10
9
|
inline: boolean;
|
11
10
|
};
|
12
|
-
extractArgTypes:
|
13
|
-
extractComponentDescription:
|
11
|
+
extractArgTypes: ArgTypesExtractor;
|
12
|
+
extractComponentDescription: (component?: any) => string;
|
14
13
|
};
|
15
14
|
};
|
16
15
|
declare const decorators: DecoratorFunction<VueRenderer>[];
|
package/dist/index.d.ts
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
export { s as setup } from './render-866998d8.js';
|
2
|
-
import { Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, NamedOrDefaultProjectAnnotations, StoryAnnotationsOrFn, Store_CSFExports, StoriesWithPartialProps } from 'storybook/internal/types';
|
2
|
+
import { Args, ComponentAnnotations, AnnotatedStoryFn, ArgsStoryFn, ArgsFromMeta, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, ProjectAnnotations, NamedOrDefaultProjectAnnotations, StoryAnnotationsOrFn, ComposedStoryFn, Store_CSFExports, StoriesWithPartialProps } from 'storybook/internal/types';
|
3
3
|
export { ArgTypes, Args, Parameters, StrictArgs } from 'storybook/internal/types';
|
4
4
|
import { Simplify, SetOptional, Constructor, RemoveIndexSignature } from 'type-fest';
|
5
5
|
import { FunctionalComponent, VNodeChild } from 'vue';
|
6
6
|
import { ComponentProps, ComponentSlots } from 'vue-component-type-helpers';
|
7
7
|
import { V as VueRenderer } from './types-1ede6954.js';
|
8
|
-
import * as core_dist_types from 'core/dist/types';
|
9
8
|
|
10
9
|
/**
|
11
10
|
* Metadata to configure the stories for a component.
|
@@ -91,7 +90,7 @@ declare const vueProjectAnnotations: ProjectAnnotations<VueRenderer>;
|
|
91
90
|
* @param [projectAnnotations] - e.g. (import * as projectAnnotations from '../.storybook/preview') this can be applied automatically if you use `setProjectAnnotations` in your setup files.
|
92
91
|
* @param [exportsName] - in case your story does not contain a name and you want it to have a name.
|
93
92
|
*/
|
94
|
-
declare function composeStory<TArgs extends Args = Args>(story: StoryAnnotationsOrFn<VueRenderer, TArgs>, componentAnnotations: Meta<TArgs | any>, projectAnnotations?: ProjectAnnotations<VueRenderer>, exportsName?: string): JSXAble<
|
93
|
+
declare function composeStory<TArgs extends Args = Args>(story: StoryAnnotationsOrFn<VueRenderer, TArgs>, componentAnnotations: Meta<TArgs | any>, projectAnnotations?: ProjectAnnotations<VueRenderer>, exportsName?: string): JSXAble<ComposedStoryFn<VueRenderer, Partial<TArgs>>>;
|
95
94
|
/**
|
96
95
|
* Function that will receive a stories import (e.g. `import * as stories from './Button.stories'`)
|
97
96
|
* 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.2.
|
3
|
+
"version": "8.2.2",
|
4
4
|
"description": "Storybook Vue 3 renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -80,7 +80,7 @@
|
|
80
80
|
"vue-tsc": "latest"
|
81
81
|
},
|
82
82
|
"peerDependencies": {
|
83
|
-
"storybook": "^8.2.
|
83
|
+
"storybook": "^8.2.2",
|
84
84
|
"vue": "^3.0.0"
|
85
85
|
},
|
86
86
|
"engines": {
|