@storybook/core-common 6.4.0-beta.29 → 6.4.0-beta.32
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.
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<title><%= options.title || 'Storybook'%></title>
|
|
5
|
+
<title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
|
|
6
6
|
|
|
7
|
-
<% if (files.favicon) { %>
|
|
8
|
-
<link rel="shortcut icon" href="<%= files.favicon%>" />
|
|
7
|
+
<% if (htmlWebpackPlugin.files.favicon) { %>
|
|
8
|
+
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
|
|
9
9
|
<% } %>
|
|
10
10
|
|
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
|
|
13
13
|
<% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
|
|
14
|
-
files.css.forEach(file => { %>
|
|
14
|
+
htmlWebpackPlugin.files.css.forEach(file => { %>
|
|
15
15
|
<link href="<%= file %>" rel="stylesheet" />
|
|
16
16
|
<% }); %>
|
|
17
17
|
|
|
@@ -23,25 +23,21 @@
|
|
|
23
23
|
</style>
|
|
24
24
|
</head>
|
|
25
25
|
<body>
|
|
26
|
-
<% if (typeof bodyHtmlSnippet !== 'undefined') { %>
|
|
27
|
-
<%= bodyHtmlSnippet %>
|
|
28
|
-
<% } %>
|
|
26
|
+
<% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
|
|
29
27
|
|
|
30
28
|
<div id="root"></div>
|
|
31
29
|
<div id="docs-root"></div>
|
|
32
30
|
|
|
33
31
|
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<% } %>
|
|
42
|
-
|
|
43
|
-
<% files.js.forEach(file => { %>
|
|
44
|
-
<script src="<%= file %>"></script>
|
|
32
|
+
<script>
|
|
33
|
+
<% for (var varName in globals) { %>
|
|
34
|
+
<% if (globals[varName] != undefined) { %>
|
|
35
|
+
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
|
|
36
|
+
<% } %>
|
|
37
|
+
<% } %>
|
|
38
|
+
</script>
|
|
39
|
+
<% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
|
|
40
|
+
<script src="<%= file %>"></script>
|
|
45
41
|
<% }); %>
|
|
46
42
|
</body>
|
|
47
43
|
</html>
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<title><%= options.title || 'Storybook'%></title>
|
|
5
|
+
<title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
|
|
6
6
|
|
|
7
|
-
<% if (files.favicon) { %>
|
|
8
|
-
<link rel="shortcut icon" href="<%= files.favicon%>" />
|
|
7
|
+
<% if (htmlWebpackPlugin.files.favicon) { %>
|
|
8
|
+
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
|
|
9
9
|
<% } %>
|
|
10
10
|
|
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
|
|
13
13
|
<% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
|
|
14
|
-
files.css.forEach(file => { %>
|
|
14
|
+
htmlWebpackPlugin.files.css.forEach(file => { %>
|
|
15
15
|
<link href="<%= file %>" rel="stylesheet" />
|
|
16
16
|
<% }); %>
|
|
17
17
|
|
|
@@ -23,25 +23,21 @@
|
|
|
23
23
|
</style>
|
|
24
24
|
</head>
|
|
25
25
|
<body>
|
|
26
|
-
<% if (typeof bodyHtmlSnippet !== 'undefined') { %>
|
|
27
|
-
<%= bodyHtmlSnippet %>
|
|
28
|
-
<% } %>
|
|
26
|
+
<% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
|
|
29
27
|
|
|
30
28
|
<div id="root"></div>
|
|
31
29
|
<div id="docs-root"></div>
|
|
32
30
|
|
|
33
31
|
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<% } %>
|
|
42
|
-
|
|
43
|
-
<% files.js.forEach(file => { %>
|
|
44
|
-
<script src="<%= file %>"></script>
|
|
32
|
+
<script>
|
|
33
|
+
<% for (var varName in globals) { %>
|
|
34
|
+
<% if (globals[varName] != undefined) { %>
|
|
35
|
+
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
|
|
36
|
+
<% } %>
|
|
37
|
+
<% } %>
|
|
38
|
+
</script>
|
|
39
|
+
<% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
|
|
40
|
+
<script src="<%= file %>"></script>
|
|
45
41
|
<% }); %>
|
|
46
42
|
</body>
|
|
47
43
|
</html>
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<title><%= options.title || 'Storybook'%></title>
|
|
5
|
+
<title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
|
|
6
6
|
|
|
7
|
-
<% if (files.favicon) { %>
|
|
8
|
-
<link rel="shortcut icon" href="<%= files.favicon%>" />
|
|
7
|
+
<% if (htmlWebpackPlugin.files.favicon) { %>
|
|
8
|
+
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
|
|
9
9
|
<% } %>
|
|
10
10
|
|
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
|
|
13
13
|
<% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
|
|
14
|
-
files.css.forEach(file => { %>
|
|
14
|
+
htmlWebpackPlugin.files.css.forEach(file => { %>
|
|
15
15
|
<link href="<%= file %>" rel="stylesheet" />
|
|
16
16
|
<% }); %>
|
|
17
17
|
|
|
@@ -23,25 +23,21 @@
|
|
|
23
23
|
</style>
|
|
24
24
|
</head>
|
|
25
25
|
<body>
|
|
26
|
-
<% if (typeof bodyHtmlSnippet !== 'undefined') { %>
|
|
27
|
-
<%= bodyHtmlSnippet %>
|
|
28
|
-
<% } %>
|
|
26
|
+
<% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
|
|
29
27
|
|
|
30
28
|
<div id="root"></div>
|
|
31
29
|
<div id="docs-root"></div>
|
|
32
30
|
|
|
33
31
|
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<% } %>
|
|
42
|
-
|
|
43
|
-
<% files.js.forEach(file => { %>
|
|
44
|
-
<script src="<%= file %>"></script>
|
|
32
|
+
<script>
|
|
33
|
+
<% for (var varName in globals) { %>
|
|
34
|
+
<% if (globals[varName] != undefined) { %>
|
|
35
|
+
window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
|
|
36
|
+
<% } %>
|
|
37
|
+
<% } %>
|
|
38
|
+
</script>
|
|
39
|
+
<% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
|
|
40
|
+
<script src="<%= file %>"></script>
|
|
45
41
|
<% }); %>
|
|
46
42
|
</body>
|
|
47
43
|
</html>
|
package/dist/ts3.4/types.d.ts
CHANGED
|
@@ -258,6 +258,10 @@ export interface StorybookConfig {
|
|
|
258
258
|
* Allows to disable deprecated implicit PostCSS loader.
|
|
259
259
|
*/
|
|
260
260
|
postcss?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Allows to disable deprecated implicit PostCSS loader.
|
|
263
|
+
*/
|
|
264
|
+
emotionAlias?: boolean;
|
|
261
265
|
/**
|
|
262
266
|
* Build stories.json automatically on start/build
|
|
263
267
|
*/
|
|
@@ -288,6 +292,10 @@ export interface StorybookConfig {
|
|
|
288
292
|
* Use Storybook 7.0 babel config scheme
|
|
289
293
|
*/
|
|
290
294
|
babelModeV7?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* Filter args with a "target" on the type from the render function (EXPERIMENTAL)
|
|
297
|
+
*/
|
|
298
|
+
argTypeTargetsV7?: boolean;
|
|
291
299
|
};
|
|
292
300
|
/**
|
|
293
301
|
* Tells Storybook where to find stories.
|
package/dist/ts3.9/types.d.ts
CHANGED
|
@@ -254,6 +254,10 @@ export interface StorybookConfig {
|
|
|
254
254
|
* Allows to disable deprecated implicit PostCSS loader.
|
|
255
255
|
*/
|
|
256
256
|
postcss?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Allows to disable deprecated implicit PostCSS loader.
|
|
259
|
+
*/
|
|
260
|
+
emotionAlias?: boolean;
|
|
257
261
|
/**
|
|
258
262
|
* Build stories.json automatically on start/build
|
|
259
263
|
*/
|
|
@@ -284,6 +288,10 @@ export interface StorybookConfig {
|
|
|
284
288
|
* Use Storybook 7.0 babel config scheme
|
|
285
289
|
*/
|
|
286
290
|
babelModeV7?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Filter args with a "target" on the type from the render function (EXPERIMENTAL)
|
|
293
|
+
*/
|
|
294
|
+
argTypeTargetsV7?: boolean;
|
|
287
295
|
};
|
|
288
296
|
/**
|
|
289
297
|
* Tells Storybook where to find stories.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/core-common",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.32",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@babel/preset-react": "^7.12.10",
|
|
62
62
|
"@babel/preset-typescript": "^7.12.7",
|
|
63
63
|
"@babel/register": "^7.12.1",
|
|
64
|
-
"@storybook/node-logger": "6.4.0-beta.
|
|
64
|
+
"@storybook/node-logger": "6.4.0-beta.32",
|
|
65
65
|
"@storybook/semver": "^7.3.2",
|
|
66
66
|
"@types/node": "^14.0.10",
|
|
67
67
|
"@types/pretty-hrtime": "^1.0.0",
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "0f99f609b55928e48cca7c57f6e343d079bb94dd",
|
|
114
114
|
"sbmodern": "dist/modern/index.js"
|
|
115
115
|
}
|