Skip to content

Commit

Permalink
Merge pull request #53 from bestguy/fixSSR
Browse files Browse the repository at this point in the history
Fix SSR
  • Loading branch information
bestguy authored Sep 22, 2019
2 parents 4f5e64b + dfb25bc commit f3ce47d
Show file tree
Hide file tree
Showing 26 changed files with 1,991 additions and 3,846 deletions.
1 change: 0 additions & 1 deletion docs/3.c983bf168fdd757e651d.bundle.js

This file was deleted.

Binary file modified docs/favicon.ico
Binary file not shown.
30 changes: 21 additions & 9 deletions docs/iframe.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><base target="_parent"><style>:not(.sb-show-main) > .sb-main,
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=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;
Expand All @@ -11,15 +11,17 @@
left: 0;
right: 0;
padding: 20px;
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
overflow: auto;
}

.sb-heading {
font-size: 20px;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.2px;
margin: 10px 0;
padding-right: 25px;
}

.sb-nopreview {
Expand All @@ -40,14 +42,21 @@
}

.sb-errordisplay {
background-color: rgb(187, 49, 49);
color: #FFF;
border: 20px solid rgb(187, 49, 49);
background: #222;
color: #fff;
z-index: 999999;
}

.sb-errordisplay_code {
font-size: 14px;
width: 100vw;
overflow: auto;
padding: 10px;
background: #000;
color: #eee;
font-family: "Operator Mono", "Fira Code Retina", "Fira Code", "FiraCode-Retina", "Andale Mono", "Lucida Console", Consolas, Monaco, monospace;
}

.sb-errordisplay pre {
white-space: pre-wrap;
}</style><script>/* globals window */
/* eslint-disable no-underscore-dangle */
try {
Expand All @@ -68,4 +77,7 @@
linear-gradient(-45deg, transparent 75%, #808080 75%);
background-size: 20px 20px;
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}</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"><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="runtime~main.40c0a7beca027e3b3606.bundle.js"></script><script src="vendors~main.40c0a7beca027e3b3606.bundle.js"></script><script src="main.40c0a7beca027e3b3606.bundle.js"></script></body></html>
}</style><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</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.10cd5f8c45a7003c159f.bundle.js"></script><script src="vendors~main.10cd5f8c45a7003c159f.bundle.js"></script><script src="main.10cd5f8c45a7003c159f.bundle.js"></script></body></html>
7 changes: 5 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>html, body {
<!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 {
overflow: hidden;
height: 100%;
width: 100%;
Expand All @@ -14,4 +14,7 @@
} catch (e) {
// eslint-disable-next-line no-console
console.warn('unable to connect to parent frame for connecting dev tools');
}</script></head><body><div id="root"></div><script src="runtime~main.4818382c9ec08fbbf60f.bundle.js"></script><script src="vendors~main.9b8ad101f3819a26aca5.bundle.js"></script><script src="main.844e2c25f81a0cf28520.bundle.js"></script></body></html>
}</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.3e80324d580cf3681712.bundle.js"></script><script src="vendors~main.99ee7b655f273d3f1630.bundle.js"></script><script src="main.4ac6a43be0803a4a4cf1.bundle.js"></script></body></html>
2 changes: 2 additions & 0 deletions docs/main.10cd5f8c45a7003c159f.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.10cd5f8c45a7003c159f.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docs/main.40c0a7beca027e3b3606.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.40c0a7beca027e3b3606.bundle.js.map

This file was deleted.

1 change: 1 addition & 0 deletions docs/main.4ac6a43be0803a4a4cf1.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/main.844e2c25f81a0cf28520.bundle.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/runtime~main.10cd5f8c45a7003c159f.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/runtime~main.3e80324d580cf3681712.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/runtime~main.40c0a7beca027e3b3606.bundle.js.map

This file was deleted.

Loading

0 comments on commit f3ce47d

Please sign in to comment.