-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
235 additions
and
40,283 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Prism: Lightweight, robust, elegant syntax highlighting | ||
* | ||
* @license MIT <https://opensource.org/licenses/MIT> | ||
* @author Lea Verou <https://lea.verou.me> | ||
* @namespace | ||
* @public | ||
*/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/*! | ||
* OverlayScrollbars | ||
* https://github.com/KingSora/OverlayScrollbars | ||
* | ||
* Version: 1.13.0 | ||
* | ||
* Copyright KingSora | Rene Haas. | ||
* https://github.com/KingSora | ||
* | ||
* Released under the MIT license. | ||
* Date: 02.08.2020 | ||
*/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,41 @@ | |
display: none; | ||
} | ||
|
||
.sb-show-main.sb-main-centered { | ||
margin: 0; | ||
display: flex; | ||
align-items: center; | ||
min-height: 100vh; | ||
} | ||
|
||
.sb-show-main.sb-main-centered #root { | ||
box-sizing: border-box; | ||
margin: auto; | ||
padding: 1rem; | ||
max-height: 100%; /* Hack for centering correctly in IE11 */ | ||
} | ||
|
||
/* Vertical centering fix for IE11 */ | ||
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) { | ||
.sb-show-main.sb-main-centered:after { | ||
content: ''; | ||
min-height: inherit; | ||
font-size: 0; | ||
} | ||
} | ||
|
||
.sb-show-main.sb-main-fullscreen { | ||
margin: 0; | ||
padding: 0; | ||
display: block; | ||
} | ||
|
||
.sb-show-main.sb-main-padded { | ||
margin: 0; | ||
padding: 1rem; | ||
display: block; | ||
} | ||
|
||
.sb-wrapper { | ||
position: fixed; | ||
top: 0; | ||
|
@@ -68,9 +103,33 @@ | |
} catch (e) { | ||
// eslint-disable-next-line no-console | ||
console.warn('unable to connect to top frame for connecting dev tools'); | ||
}</script><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"><style>#root { | ||
} | ||
|
||
window.onerror = function onerror(message, source, line, column, err) { | ||
if (window.CONFIG_TYPE !== 'DEVELOPMENT') return; | ||
// eslint-disable-next-line no-var, vars-on-top | ||
var xhr = new window.XMLHttpRequest(); | ||
xhr.open('POST', '/runtime-error'); | ||
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8'); | ||
xhr.send( | ||
JSON.stringify({ | ||
/* eslint-disable object-shorthand */ | ||
message: message, | ||
source: source, | ||
line: line, | ||
column: column, | ||
error: err && { message: err.message, name: err.name, stack: err.stack }, | ||
origin: 'preview', | ||
/* eslint-enable object-shorthand */ | ||
}) | ||
); | ||
};</script><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"><style>#root { | ||
padding: 3rem; | ||
}</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>window['LOGLEVEL'] = "info";</script><script src="runtime~main.d9e4b74bfb5cfe4a37f8.bundle.js"></script><script src="vendors~main.d9e4b74bfb5cfe4a37f8.bundle.js"></script><script src="main.d9e4b74bfb5cfe4a37f8.bundle.js"></script></body></html> | ||
}</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"; | ||
|
||
|
||
|
||
window['FRAMEWORK_OPTIONS'] = {};</script><script src="runtime~main.b0af52cf.iframe.bundle.js"></script><script src="vendors~main.866b7682.iframe.bundle.js"></script><script src="main.af334727.iframe.bundle.js"></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.