@storybook/html 7.3.2 → 7.4.0-alpha.1
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.
|
|
3
|
+
"version": "7.4.0-alpha.1",
|
|
4
4
|
"description": "Storybook HTML renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -38,21 +38,22 @@
|
|
|
38
38
|
"types": "dist/index.d.ts",
|
|
39
39
|
"files": [
|
|
40
40
|
"dist/**/*",
|
|
41
|
-
"template/**/*",
|
|
41
|
+
"template/cli/**/*",
|
|
42
42
|
"README.md",
|
|
43
43
|
"*.js",
|
|
44
|
-
"*.d.ts"
|
|
44
|
+
"*.d.ts",
|
|
45
|
+
"!src/**/*"
|
|
45
46
|
],
|
|
46
47
|
"scripts": {
|
|
47
48
|
"check": "../../../scripts/prepare/check.ts",
|
|
48
49
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
51
|
-
"@storybook/core-client": "7.
|
|
52
|
-
"@storybook/docs-tools": "7.
|
|
52
|
+
"@storybook/core-client": "7.4.0-alpha.1",
|
|
53
|
+
"@storybook/docs-tools": "7.4.0-alpha.1",
|
|
53
54
|
"@storybook/global": "^5.0.0",
|
|
54
|
-
"@storybook/preview-api": "7.
|
|
55
|
-
"@storybook/types": "7.
|
|
55
|
+
"@storybook/preview-api": "7.4.0-alpha.1",
|
|
56
|
+
"@storybook/types": "7.4.0-alpha.1",
|
|
56
57
|
"ts-dedent": "^2.0.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
package/src/typings.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare var STORYBOOK_ENV: 'HTML';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas } from '@storybook/addon-docs';
|
|
2
|
-
|
|
3
|
-
<Meta title="html/html-mdx" />
|
|
4
|
-
|
|
5
|
-
## HTML-specific MDX Stories
|
|
6
|
-
|
|
7
|
-
<Canvas>
|
|
8
|
-
<Story name="Basic" height="100px">
|
|
9
|
-
{'<h1>Hello World</h1>'}
|
|
10
|
-
</Story>
|
|
11
|
-
</Canvas>
|
|
12
|
-
|
|
13
|
-
<Canvas>
|
|
14
|
-
<Story name="Function" height="100px">
|
|
15
|
-
{() => {
|
|
16
|
-
const btn = document.createElement('button');
|
|
17
|
-
btn.innerHTML = 'Hello Button';
|
|
18
|
-
return btn;
|
|
19
|
-
}}
|
|
20
|
-
</Story>
|
|
21
|
-
</Canvas>
|