@storybook/html 7.0.0-alpha.47 → 7.0.0-alpha.48
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/html",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.48",
|
|
4
4
|
"description": "Storybook HTML renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@storybook/addons": "7.0.0-alpha.
|
|
55
|
-
"@storybook/core-client": "7.0.0-alpha.
|
|
56
|
-
"@storybook/docs-tools": "7.0.0-alpha.
|
|
57
|
-
"@storybook/preview-web": "7.0.0-alpha.
|
|
58
|
-
"@storybook/store": "7.0.0-alpha.
|
|
59
|
-
"@storybook/types": "7.0.0-alpha.
|
|
54
|
+
"@storybook/addons": "7.0.0-alpha.48",
|
|
55
|
+
"@storybook/core-client": "7.0.0-alpha.48",
|
|
56
|
+
"@storybook/docs-tools": "7.0.0-alpha.48",
|
|
57
|
+
"@storybook/preview-web": "7.0.0-alpha.48",
|
|
58
|
+
"@storybook/store": "7.0.0-alpha.48",
|
|
59
|
+
"@storybook/types": "7.0.0-alpha.48",
|
|
60
60
|
"global": "^4.4.0",
|
|
61
61
|
"react": "16.14.0",
|
|
62
62
|
"react-dom": "16.14.0",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
],
|
|
82
82
|
"platform": "browser"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
|
|
85
85
|
}
|
|
@@ -3,6 +3,8 @@ import { createButton } from './Button';
|
|
|
3
3
|
// More on default export: https://storybook.js.org/docs/html/writing-stories/introduction#default-export
|
|
4
4
|
export default {
|
|
5
5
|
title: 'Example/Button',
|
|
6
|
+
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/html/writing-docs/docs-page
|
|
7
|
+
tags: ['docsPage'],
|
|
6
8
|
// More on component templates: https://storybook.js.org/docs/html/writing-stories/introduction#using-args
|
|
7
9
|
render: ({ label, ...args }) => {
|
|
8
10
|
// You can either use a function to create DOM elements or use a plain html string!
|
|
@@ -2,6 +2,8 @@ import { createHeader } from './Header';
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Example/Header',
|
|
5
|
+
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/html/writing-docs/docs-page
|
|
6
|
+
tags: ['docsPage'],
|
|
5
7
|
render: (args) => createHeader(args),
|
|
6
8
|
parameters: {
|
|
7
9
|
// More on Story layout: https://storybook.js.org/docs/html/configure/story-layout
|
|
@@ -5,6 +5,8 @@ import { createButton } from './Button';
|
|
|
5
5
|
// More on how to set up stories at: https://storybook.js.org/docs/html/writing-stories/introduction#default-export
|
|
6
6
|
const meta: Meta<ButtonProps> = {
|
|
7
7
|
title: 'Example/Button',
|
|
8
|
+
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/html/writing-docs/docs-page
|
|
9
|
+
tags: ['docsPage'],
|
|
8
10
|
render: (args) => {
|
|
9
11
|
// You can either use a function to create DOM elements or use a plain html string!
|
|
10
12
|
// return `<div>${label}</div>`;
|
|
@@ -4,6 +4,8 @@ import { createHeader } from './Header';
|
|
|
4
4
|
|
|
5
5
|
const meta: Meta<HeaderProps> = {
|
|
6
6
|
title: 'Example/Header',
|
|
7
|
+
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/html/writing-docs/docs-page
|
|
8
|
+
tags: ['docsPage'],
|
|
7
9
|
render: (args) => createHeader(args),
|
|
8
10
|
parameters: {
|
|
9
11
|
// More on Story layout: https://storybook.js.org/docs/html/configure/story-layout
|