@storybook/core-common 7.0.0-alpha.23 → 7.0.0-alpha.24
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/core-common",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.24",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@babel/preset-typescript": "^7.12.7",
|
|
70
70
|
"@babel/register": "^7.12.1",
|
|
71
71
|
"@storybook/csf": "0.0.2--canary.0899bb7.0",
|
|
72
|
-
"@storybook/node-logger": "7.0.0-alpha.
|
|
72
|
+
"@storybook/node-logger": "7.0.0-alpha.24",
|
|
73
73
|
"@storybook/semver": "^7.3.2",
|
|
74
74
|
"@types/babel__core": "^7.0.0",
|
|
75
75
|
"@types/express": "^4.7.0",
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
],
|
|
126
126
|
"platform": "node"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "e3232cb426b8381afa48f42e6baa45fd9af9bc3a"
|
|
129
129
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<style>
|
|
4
4
|
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
5
|
-
has rendered, which may or may not be in #root, to be display none */
|
|
5
|
+
has rendered, which may or may not be in #storybook-root, to be display none */
|
|
6
6
|
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
7
7
|
display: none;
|
|
8
8
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
min-height: 100vh;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.sb-show-main.sb-main-centered #root {
|
|
29
|
+
.sb-show-main.sb-main-centered #storybook-root {
|
|
30
30
|
box-sizing: border-box;
|
|
31
31
|
margin: auto;
|
|
32
32
|
padding: 1rem;
|
package/templates/preview.ejs
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<% }); %>
|
|
17
17
|
|
|
18
18
|
<style>
|
|
19
|
-
#root[hidden],
|
|
20
|
-
#docs
|
|
19
|
+
#storybook-root[hidden],
|
|
20
|
+
#storybook-docs[hidden] {
|
|
21
21
|
display: none !important;
|
|
22
22
|
}
|
|
23
23
|
</style>
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
<body>
|
|
26
26
|
<% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
|
|
27
27
|
|
|
28
|
-
<div id="root"></div>
|
|
29
|
-
<div id="docs
|
|
28
|
+
<div id="storybook-root"></div>
|
|
29
|
+
<div id="storybook-docs"></div>
|
|
30
30
|
|
|
31
31
|
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
|
|
32
32
|
<script>
|