You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
2.7 KiB
143 lines
2.7 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
|
|
<title>Storybook</title>
|
|
<link rel="shortcut icon" href="favicon.ico?v=1" />
|
|
|
|
|
|
<base target="_parent">
|
|
|
|
<style>
|
|
:not(.sb-show-main) > .sb-main,
|
|
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
display: none;
|
|
}
|
|
|
|
.sb-wrapper {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 20px;
|
|
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.sb-heading {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.sb-nopreview {
|
|
display: flex;
|
|
align-content: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sb-nopreview_main {
|
|
margin: auto;
|
|
padding: 30px;
|
|
border-radius: 10px;
|
|
background: rgba(0,0,0,0.03);
|
|
}
|
|
|
|
.sb-nopreview_heading {
|
|
text-align: center;
|
|
}
|
|
|
|
.sb-errordisplay {
|
|
background-color: rgb(187, 49, 49);
|
|
color: #FFF;
|
|
}
|
|
|
|
.sb-errordisplay_code {
|
|
font-size: 14px;
|
|
width: 100vw;
|
|
overflow: auto;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
try {
|
|
if (window.parent !== window) {
|
|
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
}
|
|
} catch (e) {
|
|
console.warn('unable to connect to parent frame for connecting dev tools');
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
padding: 20px 20px;
|
|
color: white;
|
|
}
|
|
</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>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sb-errordisplay sb-wrapper">
|
|
<div id="error-message" class="sb-heading"></div>
|
|
<pre class="sb-errordisplay_code">
|
|
<code id="error-stack"></code>
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="root"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="static/runtime~iframe.7789ccd1257cae547516.bundle.js" defer></script>
|
|
|
|
|
|
|
|
<script src="static/vendors~iframe.6d5444a3693c9faa130a.bundle.js" defer></script>
|
|
|
|
|
|
|
|
<script src="static/iframe.956d63ced1be7e8552c4.bundle.js" defer></script>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|