@storybook/web-components 7.0.0-beta.13 → 7.0.0-beta.15
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
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Args, ComponentAnnotations, AnnotatedStoryFn, StoryAnnotations, StrictArgs, DecoratorFunction, LoaderFunction, StoryContext as StoryContext$1, Addon_ClientStoryApi, Addon_Loadable } from '@storybook/types';
|
|
2
2
|
export { ArgTypes, Args, Parameters, StrictArgs } from '@storybook/types';
|
|
3
3
|
import { W as WebComponentsRenderer } from './types-cbbc479a.js';
|
|
4
|
-
export { W as WebComponentsRenderer } from './types-cbbc479a.js';
|
|
5
4
|
import 'lit-html';
|
|
6
5
|
|
|
7
6
|
/**
|
|
@@ -55,4 +54,4 @@ declare function setCustomElements(customElements: any): void;
|
|
|
55
54
|
declare function setCustomElementsManifest(customElements: any): void;
|
|
56
55
|
declare function getCustomElements(): any;
|
|
57
56
|
|
|
58
|
-
export { Decorator, Loader, Meta, Story, StoryContext, StoryFn, StoryObj, configure, forceReRender, getCustomElements, isValidComponent, isValidMetaData, raw, setCustomElements, setCustomElementsManifest, storiesOf };
|
|
57
|
+
export { Decorator, Loader, Meta, Story, StoryContext, StoryFn, StoryObj, WebComponentsRenderer, configure, forceReRender, getCustomElements, isValidComponent, isValidMetaData, raw, setCustomElements, setCustomElementsManifest, storiesOf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/web-components",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.15",
|
|
4
4
|
"description": "Storybook web-components renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit-html",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
+
"node": "./dist/index.js",
|
|
26
27
|
"require": "./dist/index.js",
|
|
27
28
|
"import": "./dist/index.mjs",
|
|
28
29
|
"types": "./dist/index.d.ts"
|
|
@@ -32,11 +33,7 @@
|
|
|
32
33
|
"import": "./dist/config.mjs",
|
|
33
34
|
"types": "./dist/config.d.ts"
|
|
34
35
|
},
|
|
35
|
-
"./package.json":
|
|
36
|
-
"require": "./package.json",
|
|
37
|
-
"import": "./package.json",
|
|
38
|
-
"types": "./package.json"
|
|
39
|
-
}
|
|
36
|
+
"./package.json": "./package.json"
|
|
40
37
|
},
|
|
41
38
|
"main": "dist/index.js",
|
|
42
39
|
"module": "dist/index.mjs",
|
|
@@ -53,13 +50,13 @@
|
|
|
53
50
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
54
51
|
},
|
|
55
52
|
"dependencies": {
|
|
56
|
-
"@storybook/client-logger": "7.0.0-beta.
|
|
57
|
-
"@storybook/core-client": "7.0.0-beta.
|
|
58
|
-
"@storybook/docs-tools": "7.0.0-beta.
|
|
53
|
+
"@storybook/client-logger": "7.0.0-beta.15",
|
|
54
|
+
"@storybook/core-client": "7.0.0-beta.15",
|
|
55
|
+
"@storybook/docs-tools": "7.0.0-beta.15",
|
|
59
56
|
"@storybook/global": "^5.0.0",
|
|
60
|
-
"@storybook/manager-api": "7.0.0-beta.
|
|
61
|
-
"@storybook/preview-api": "7.0.0-beta.
|
|
62
|
-
"@storybook/types": "7.0.0-beta.
|
|
57
|
+
"@storybook/manager-api": "7.0.0-beta.15",
|
|
58
|
+
"@storybook/preview-api": "7.0.0-beta.15",
|
|
59
|
+
"@storybook/types": "7.0.0-beta.15",
|
|
63
60
|
"ts-dedent": "^2.0.0"
|
|
64
61
|
},
|
|
65
62
|
"devDependencies": {
|
|
@@ -83,5 +80,5 @@
|
|
|
83
80
|
],
|
|
84
81
|
"platform": "browser"
|
|
85
82
|
},
|
|
86
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "ed794f9d13e2bfe696ed2b230a3da04c203519eb"
|
|
87
84
|
}
|
|
@@ -3,7 +3,7 @@ import { Button } from './Button';
|
|
|
3
3
|
// More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction
|
|
4
4
|
export default {
|
|
5
5
|
title: 'Example/Button',
|
|
6
|
-
tags: ['
|
|
6
|
+
tags: ['autodocs'],
|
|
7
7
|
render: (args) => Button(args),
|
|
8
8
|
argTypes: {
|
|
9
9
|
backgroundColor: { control: 'color' },
|
|
@@ -2,8 +2,8 @@ import { Header } from './Header';
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Example/Header',
|
|
5
|
-
// This component will have an automatically generated
|
|
6
|
-
tags: ['
|
|
5
|
+
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/web-components/vue/writing-docs/docs-page
|
|
6
|
+
tags: ['autodocs'],
|
|
7
7
|
render: (args) => Header(args),
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ import { Button } from './Button';
|
|
|
5
5
|
// More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction
|
|
6
6
|
const meta: Meta<ButtonProps> = {
|
|
7
7
|
title: 'Example/Button',
|
|
8
|
-
tags: ['
|
|
8
|
+
tags: ['autodocs'],
|
|
9
9
|
render: (args) => Button(args),
|
|
10
10
|
argTypes: {
|
|
11
11
|
backgroundColor: { control: 'color' },
|
|
@@ -4,8 +4,8 @@ import { Header } from './Header';
|
|
|
4
4
|
|
|
5
5
|
const meta: Meta<HeaderProps> = {
|
|
6
6
|
title: 'Example/Header',
|
|
7
|
-
// This component will have an automatically generated
|
|
8
|
-
tags: ['
|
|
7
|
+
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/web-components/writing-docs/docs-page
|
|
8
|
+
tags: ['autodocs'],
|
|
9
9
|
render: (args: HeaderProps) => Header(args),
|
|
10
10
|
};
|
|
11
11
|
|