Browse Source

Updates

gh-pages
Tom Kirkpatrick 6 years ago
parent
commit
47a208c576
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 94
      iframe.html
  2. 58
      index.html
  3. 25
      static/iframe.34f6f2db343f25dfe19f.bundle.js
  4. 1
      static/iframe.34f6f2db343f25dfe19f.bundle.js.map
  5. 115
      static/iframe.e9c8ea8aa8359f835edf.bundle.js
  6. 1
      static/iframe.e9c8ea8aa8359f835edf.bundle.js.map
  7. 26
      static/manager.199b9cb1019d2fb10e21.bundle.js
  8. 1
      static/manager.199b9cb1019d2fb10e21.bundle.js.map
  9. 1
      static/manager.95fafa5746254ad9f35c.bundle.js.map
  10. 92
      static/vendors~iframe.6eb426f031e018e3abff.bundle.js
  11. 1
      static/vendors~iframe.6eb426f031e018e3abff.bundle.js.map
  12. 107
      static/vendors~iframe.ba71816a69f0c1c9e74a.bundle.js
  13. 1
      static/vendors~iframe.ba71816a69f0c1c9e74a.bundle.js.map

94
iframe.html

@ -1,17 +1,4 @@
<!DOCTYPE html> <!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><base target="_parent"><style>:not(.sb-show-main) > .sb-main,
<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-nopreview) > .sb-nopreview,
:not(.sb-show-errordisplay) > .sb-errordisplay { :not(.sb-show-errordisplay) > .sb-errordisplay {
display: none; display: none;
@ -61,88 +48,21 @@
font-size: 14px; font-size: 14px;
width: 100vw; width: 100vw;
overflow: auto; overflow: auto;
} }</style><script>try {
</style>
<script>
try {
if (window.parent !== window) { if (window.parent !== window) {
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__; window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__;
} }
} catch (e) { } catch (e) {
console.warn('unable to connect to parent frame for connecting dev tools'); console.warn('unable to connect to parent frame for connecting dev tools');
} }</script><style>body {
</script>
<style>
body {
padding: 20px 20px;
color: white; color: white;
background-color: #000; background-color: #000;
background-position: left top; background-position: left top;
background-image: linear-gradient(0deg, transparent, transparent 7px, rgba(253,152,0,0.25) 7px), linear-gradient(90deg, transparent, transparent 7px, rgba(253,152,0,0.25) 7px); background-image: linear-gradient(0deg, transparent, transparent 7px, rgba(253,152,0,0.25) 7px), linear-gradient(90deg, transparent, transparent 7px, rgba(253,152,0,0.25) 7px);
background-size: 8px 8px; background-size: 8px 8px;
} padding: 20px 20px !important;
</style> overflow-y: scroll !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></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code">
</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> <code id="error-stack"></code>
</pre> </pre></div><div id="root"></div><script src="static/runtime~iframe.7789ccd1257cae547516.bundle.js"></script><script src="static/vendors~iframe.6eb426f031e018e3abff.bundle.js"></script><script src="static/iframe.34f6f2db343f25dfe19f.bundle.js"></script></body></html>
</div>
<div id="root"></div>
<script src="static/runtime~iframe.7789ccd1257cae547516.bundle.js" defer></script>
<script src="static/vendors~iframe.ba71816a69f0c1c9e74a.bundle.js" defer></script>
<script src="static/iframe.e9c8ea8aa8359f835edf.bundle.js" defer></script>
</body>
</html>

58
index.html

@ -1,66 +1,14 @@
<!DOCTYPE html> <!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><style>html, body {
<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" />
<style>
html, body {
overflow: hidden; overflow: hidden;
height: 100%; height: 100%;
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }</style><script>try {
</style>
<script>
try {
if (window.parent !== window) { if (window.parent !== window) {
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__; window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__; window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__;
} }
} catch (e) { } catch (e) {
console.warn('unable to connect to parent frame for connecting dev tools'); console.warn('unable to connect to parent frame for connecting dev tools');
} }</script></head><body><div id="root"></div><script src="static/runtime~manager.1e37d0d1017cb5f1305c.bundle.js"></script><script src="static/manager.199b9cb1019d2fb10e21.bundle.js"></script></body></html>
</script>
</head>
<body>
<div id="root"></div>
<script src="static/runtime~manager.1e37d0d1017cb5f1305c.bundle.js" defer></script>
<script src="static/manager.95fafa5746254ad9f35c.bundle.js" defer></script>
</body>
</html>

25
static/iframe.34f6f2db343f25dfe19f.bundle.js

File diff suppressed because one or more lines are too long

1
static/iframe.34f6f2db343f25dfe19f.bundle.js.map

@ -0,0 +1 @@
{"version":3,"file":"static/iframe.34f6f2db343f25dfe19f.bundle.js","sources":["webpack:///./.storybook/config.js","webpack:///./app/components/UI/Heading.js"],"sourcesContent":["import React from 'react'\nimport { addDecorator, configure, setAddon } from '@storybook/react'\nimport { withThemesProvider } from 'storybook-addon-styled-component-theme'\nimport { themes } from '@storybook/components'\nimport { withOptions } from '@storybook/addon-options'\nimport { setDefaults, withInfo } from '@storybook/addon-info'\nimport { withConsole } from '@storybook/addon-console'\nimport { linkTo } from '@storybook/addon-links'\nimport chaptersAddon from 'react-storybook-addon-chapters'\nimport StoryRouter from 'storybook-react-router'\nimport { dark, light } from 'themes'\nimport { GlobalStyle } from 'components/UI'\nimport { setIntlConfig, withIntl } from 'storybook-addon-intl'\n\n// Register supported locales.\nimport '../app/lib/i18n/locale'\n\n// Get translations.\nimport translations from '../app/lib/i18n/translation'\n\n// Default the locale to English.\nconst defaultLocale = 'en'\n\nconst getMessages = locale => translations[locale]\n\n// Set intl configuration\nsetIntlConfig({\n locales: ['en', 'de'],\n defaultLocale: 'en',\n getMessages\n})\n\n// Info\naddDecorator(\n withInfo({\n styles: {\n button: {\n base: {\n background: dark.colors.lightningOrange\n }\n }\n }\n })\n)\n\n// Intl\naddDecorator(withIntl)\n\n// Router\naddDecorator(StoryRouter({}))\n\n// Chapters\nsetAddon(chaptersAddon)\n\n// Console.\naddDecorator((storyFn, context) => withConsole()(storyFn)(context))\n\n// Options\naddDecorator(\n withOptions({\n name: 'Zap Desktop',\n url: 'https://ln-zap.github.io/zap-desktop',\n theme: themes.dark,\n hierarchySeparator: /\\./\n })\n)\n\n// Zap Global style.\naddDecorator(story => (\n <React.Fragment>\n <GlobalStyle />\n {story()}\n </React.Fragment>\n))\n\n// Zap Themes.\nconst zapThemes = [dark, light]\naddDecorator(withThemesProvider(zapThemes))\n\n// automatically import all files ending in *.stories.js\nconst req = require.context('../stories', true, /.stories.js$/)\nfunction loadStories() {\n req.keys().forEach(filename => req(filename))\n}\n\nconfigure(loadStories, module)\n","import React from 'react'\nimport { Heading as BaseHeading } from 'rebass'\n\n/**\n * @render react\n * @name Heading\n * @example\n * <Heading />\n */\nclass Heading extends React.PureComponent {\n static displayName = 'Heading'\n\n render() {\n return <BaseHeading lineHeight=\"1.4\" fontWeight=\"normal\" fontSize={5} as=\"h2\" {...this.props} />\n }\n}\n\nHeading.h1 = props => <Heading fontSize={6} {...props} as=\"h1\" />\nHeading.h2 = props => <Heading fontSize={5} {...props} as=\"h2\" />\nHeading.h3 = props => <Heading fontSize={4} {...props} as=\"h3\" />\nHeading.h4 = props => <Heading fontSize={3} {...props} as=\"h4\" />\nHeading.h5 = props => <Heading fontSize={3} {...props} as=\"h5\" />\nHeading.h6 = props => <Heading fontSize={3} {...props} as=\"h6\" />\n\nHeading.h1.displayName = 'Heading1'\nHeading.h2.displayName = 'Heading2'\nHeading.h3.displayName = 'Heading3'\nHeading.h4.displayName = 'Heading4'\nHeading.h5.displayName = 'Heading5'\nHeading.h6.displayName = 'Heading6'\n\nexport default Heading\n"],"mappings":"AA0BA;;;;;;;;;;;;;;;;;;;;;;;ACjBA","sourceRoot":""}

115
static/iframe.e9c8ea8aa8359f835edf.bundle.js

File diff suppressed because one or more lines are too long

1
static/iframe.e9c8ea8aa8359f835edf.bundle.js.map

File diff suppressed because one or more lines are too long

26
static/manager.95fafa5746254ad9f35c.bundle.js → static/manager.199b9cb1019d2fb10e21.bundle.js

File diff suppressed because one or more lines are too long

1
static/manager.199b9cb1019d2fb10e21.bundle.js.map

File diff suppressed because one or more lines are too long

1
static/manager.95fafa5746254ad9f35c.bundle.js.map

File diff suppressed because one or more lines are too long

92
static/vendors~iframe.6eb426f031e018e3abff.bundle.js

File diff suppressed because one or more lines are too long

1
static/vendors~iframe.6eb426f031e018e3abff.bundle.js.map

File diff suppressed because one or more lines are too long

107
static/vendors~iframe.ba71816a69f0c1c9e74a.bundle.js

File diff suppressed because one or more lines are too long

1
static/vendors~iframe.ba71816a69f0c1c9e74a.bundle.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save