Skip to content

Commit a751f1b

Browse files
committed
chore(storybook): builds storybook static site v28
1 parent 2ae40fd commit a751f1b

29 files changed

+271
-266
lines changed

storybook-dist/0.57393f08e9086f4cd7c2.manager.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-dist/4.42e7ac096c87d6b2bbd6.manager.bundle.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Prism: Lightweight, robust, elegant syntax highlighting
3+
*
4+
* @license MIT <https://opensource.org/licenses/MIT>
5+
* @author Lea Verou <https://lea.verou.me>
6+
* @namespace
7+
* @public
8+
*/

storybook-dist/5.c6e8bbac529fc3a0d111.manager.bundle.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*!
2+
* OverlayScrollbars
3+
* https://github.com/KingSora/OverlayScrollbars
4+
*
5+
* Version: 1.13.0
6+
*
7+
* Copyright KingSora | Rene Haas.
8+
* https://github.com/KingSora
9+
*
10+
* Released under the MIT license.
11+
* Date: 02.08.2020
12+
*/

storybook-dist/6.43ca86d73f8b013c1147.manager.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-dist/7.75cf016246948b3b4900.manager.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-dist/iframe.html

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@
44
display: none;
55
}
66

7+
.sb-show-main.sb-main-centered {
8+
margin: 0;
9+
display: flex;
10+
align-items: center;
11+
min-height: 100vh;
12+
}
13+
14+
.sb-show-main.sb-main-centered #root {
15+
box-sizing: border-box;
16+
margin: auto;
17+
padding: 1rem;
18+
max-height: 100%; /* Hack for centering correctly in IE11 */
19+
}
20+
21+
/* Vertical centering fix for IE11 */
22+
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
23+
.sb-show-main.sb-main-centered:after {
24+
content: '';
25+
min-height: inherit;
26+
font-size: 0;
27+
}
28+
}
29+
30+
.sb-show-main.sb-main-fullscreen {
31+
margin: 0;
32+
padding: 0;
33+
display: block;
34+
}
35+
36+
.sb-show-main.sb-main-padded {
37+
margin: 0;
38+
padding: 1rem;
39+
display: block;
40+
}
41+
742
.sb-wrapper {
843
position: fixed;
944
top: 0;
@@ -68,7 +103,31 @@
68103
} catch (e) {
69104
// eslint-disable-next-line no-console
70105
console.warn('unable to connect to top frame for connecting dev tools');
71-
}</script><style>#root[hidden],
106+
}
107+
108+
window.onerror = function onerror(message, source, line, column, err) {
109+
if (window.CONFIG_TYPE !== 'DEVELOPMENT') return;
110+
// eslint-disable-next-line no-var, vars-on-top
111+
var xhr = new window.XMLHttpRequest();
112+
xhr.open('POST', '/runtime-error');
113+
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
114+
xhr.send(
115+
JSON.stringify({
116+
/* eslint-disable object-shorthand */
117+
message: message,
118+
source: source,
119+
line: line,
120+
column: column,
121+
error: err && { message: err.message, name: err.name, stack: err.stack },
122+
origin: 'preview',
123+
/* eslint-enable object-shorthand */
124+
})
125+
);
126+
};</script><style>#root[hidden],
72127
#docs-root[hidden] {
73128
display: none !important;
74-
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.7fd714c7937ac4d22a4b.bundle.js"></script><script src="vendors~main.7fd714c7937ac4d22a4b.bundle.js"></script><script src="main.7fd714c7937ac4d22a4b.bundle.js"></script></body></html>
129+
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script>window['LOGLEVEL'] = "info";
130+
131+
132+
133+
window['FRAMEWORK_OPTIONS'] = {};</script><script src="runtime~main.b0af52cf.iframe.bundle.js"></script><script src="vendors~main.2fb668d2.iframe.bundle.js"></script><script src="main.d592b7c7.iframe.bundle.js"></script></body></html>

storybook-dist/index.html

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>html, body {
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>html, body {
22
overflow: hidden;
33
height: 100%;
44
width: 100%;
55
margin: 0;
66
padding: 0;
7+
}
8+
9+
* {
10+
box-sizing: border-box;
711
}</style><script>/* globals window */
812
/* eslint-disable no-underscore-dangle */
913
try {
@@ -13,7 +17,39 @@
1317
} catch (e) {
1418
// eslint-disable-next-line no-console
1519
console.warn('unable to connect to top frame for connecting dev tools');
16-
}</script><style>#root[hidden],
20+
}
21+
22+
window.onerror = function onerror(message, source, line, column, err) {
23+
if (window.CONFIG_TYPE !== 'DEVELOPMENT') return;
24+
// eslint-disable-next-line no-var, vars-on-top
25+
var xhr = new window.XMLHttpRequest();
26+
xhr.open('POST', '/runtime-error');
27+
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
28+
xhr.send(
29+
JSON.stringify({
30+
/* eslint-disable object-shorthand */
31+
message: message,
32+
source: source,
33+
line: line,
34+
column: column,
35+
error: err && { message: err.message, name: err.name, stack: err.stack },
36+
origin: 'manager',
37+
/* eslint-enable object-shorthand */
38+
})
39+
);
40+
};</script><style>#root[hidden],
1741
#docs-root[hidden] {
1842
display: none !important;
19-
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.cb88fc986ee6a42eb7f0.bundle.js"></script><script src="vendors~main.7b5c0fd238122b51d8f0.bundle.js"></script><script src="main.c63fea7721337b01344a.bundle.js"></script></body></html>
43+
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
44+
45+
46+
47+
window['LOGLEVEL'] = "info";
48+
49+
50+
51+
52+
53+
54+
55+
window['DOCS_MODE'] = false;</script><script src="runtime~main.956debcf58dc262fef06.manager.bundle.js"></script><script src="vendors~main.34e07ba00e03f05d8a47.manager.bundle.js"></script><script src="main.a9c1ad662e98837e1b49.manager.bundle.js"></script></body></html>

storybook-dist/main.7fd714c7937ac4d22a4b.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

storybook-dist/main.7fd714c7937ac4d22a4b.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

storybook-dist/main.a9c1ad662e98837e1b49.manager.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-dist/main.c63fea7721337b01344a.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

storybook-dist/main.d592b7c7.iframe.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-dist/runtime~main.7fd714c7937ac4d22a4b.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)