From b12f342222cbf8e7f5e3651c6a52a2e1c7df18fc Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sun, 10 Feb 2019 00:29:06 +0100 Subject: [PATCH 001/249] Merge pull request #5498 from storybooks/transpile-safe-eval Transpile safe-eval package --- lib/core/src/server/common/babel-loader.js | 22 +++++++++++++++++++ .../server/manager/manager-webpack.config.js | 4 ++-- .../server/preview/iframe-webpack.config.js | 3 ++- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/lib/core/src/server/common/babel-loader.js b/lib/core/src/server/common/babel-loader.js index 3b762f613f0..75b9cf53e10 100644 --- a/lib/core/src/server/common/babel-loader.js +++ b/lib/core/src/server/common/babel-loader.js @@ -11,3 +11,25 @@ export default options => ({ include: includePaths, exclude: excludePaths, }); + +export const nodeModulesBabelLoader = { + test: /\.js$/, + include: /\/node_modules\/safe-eval\//, + use: [ + { + loader: 'babel-loader', + options: { + cacheDirectory: true, + babelrc: false, + presets: [ + [ + 'env', + { + modules: 'commonjs', + }, + ], + ], + }, + }, + ], +}; diff --git a/lib/core/src/server/manager/manager-webpack.config.js b/lib/core/src/server/manager/manager-webpack.config.js index 061cb450c44..6e8a04e992a 100644 --- a/lib/core/src/server/manager/manager-webpack.config.js +++ b/lib/core/src/server/manager/manager-webpack.config.js @@ -10,7 +10,7 @@ import findCacheDir from 'find-cache-dir'; import { version } from '../../../package.json'; import { getManagerHeadHtml } from '../utils/template'; import { loadEnv } from '../config/utils'; -import babelLoader from '../common/babel-loader'; +import babelLoader, { nodeModulesBabelLoader } from '../common/babel-loader'; const coreDirName = path.dirname(require.resolve('@storybook/core/package.json')); const context = path.join(coreDirName, '../../node_modules'); @@ -59,7 +59,7 @@ export default ({ configDir, configType, entries, dll, outputDir, cache, babelOp new Dotenv({ silent: true }), ].filter(Boolean), module: { - rules: [babelLoader(babelOptions)], + rules: [babelLoader(babelOptions), nodeModulesBabelLoader], }, resolve: { extensions: ['.mjs', '.js', '.jsx', '.json'], diff --git a/lib/core/src/server/preview/iframe-webpack.config.js b/lib/core/src/server/preview/iframe-webpack.config.js index 42e1abd7727..5c1c4815e29 100644 --- a/lib/core/src/server/preview/iframe-webpack.config.js +++ b/lib/core/src/server/preview/iframe-webpack.config.js @@ -7,7 +7,7 @@ import WatchMissingNodeModulesPlugin from 'react-dev-utils/WatchMissingNodeModul import TerserWebpackPlugin from 'terser-webpack-plugin'; import resolveFrom from 'resolve-from'; -import babelLoader from '../common/babel-loader'; +import babelLoader, { nodeModulesBabelLoader } from '../common/babel-loader'; import { nodeModulesPaths, loadEnv } from '../config/utils'; import { getPreviewHeadHtml, getPreviewBodyHtml } from '../utils/template'; @@ -68,6 +68,7 @@ export default ({ module: { rules: [ babelLoader(babelOptions), + nodeModulesBabelLoader, { test: /\.md$/, use: [ From 5e96b69f2faedc05939b88fa06aa924ec8ea4172 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 12 Feb 2019 00:34:14 +0100 Subject: [PATCH 002/249] Merge pull request #5548 from pascalduez/hotfix/mangled-function-names Fix: Don't mangle function names for production builds --- lib/core/src/server/preview/iframe-webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/src/server/preview/iframe-webpack.config.js b/lib/core/src/server/preview/iframe-webpack.config.js index 5c1c4815e29..01187bdc548 100644 --- a/lib/core/src/server/preview/iframe-webpack.config.js +++ b/lib/core/src/server/preview/iframe-webpack.config.js @@ -100,6 +100,7 @@ export default ({ sourceMap: true, terserOptions: { mangle: false, + keep_fnames: true, }, }), ], From fc83edf29e0ae2c7d3d32f68f32c50ac26281b2e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 14 Feb 2019 15:48:19 +0100 Subject: [PATCH 003/249] Merge pull request #5550 from storybooks/fix/clear-of-search FIX the input not sending a onChange to the list when form is cleared --- lib/ui/src/components/sidebar/SidebarSearch.js | 10 ++++++---- lib/ui/src/components/sidebar/treeview/treeview.js | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/ui/src/components/sidebar/SidebarSearch.js b/lib/ui/src/components/sidebar/SidebarSearch.js index d55069863b0..e50275d05ee 100644 --- a/lib/ui/src/components/sidebar/SidebarSearch.js +++ b/lib/ui/src/components/sidebar/SidebarSearch.js @@ -98,7 +98,7 @@ const FilterForm = styled.form(({ theme, focussed }) => ({ }, })); -export const PureSidebarSearch = ({ focussed, onSetFocussed, className, ...props }) => ( +export const PureSidebarSearch = ({ focussed, onSetFocussed, className, onChange, ...props }) => ( onSetFocussed(true)} onBlur={() => onSetFocussed(false)} + onChange={e => onChange(e.target.value)} {...props} placeholder={focussed ? 'Type to search...' : 'Press "/" to search...'} /> - + onChange('')}> ); PureSidebarSearch.propTypes = { - focussed: PropTypes.bool.isRequired, - onSetFocussed: PropTypes.func.isRequired, className: PropTypes.string, + focussed: PropTypes.bool.isRequired, + onChange: PropTypes.func.isRequired, + onSetFocussed: PropTypes.func.isRequired, }; PureSidebarSearch.defaultProps = { diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index 2f2ee907f90..670933dbb7e 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -252,8 +252,8 @@ class TreeState extends PureComponent { } }, - onFilter: e => { - const filter = e.target.value.length >= 2 ? e.target.value : ''; + onFilter: value => { + const filter = value.length >= 2 ? value : ''; this.setState({ filter }); }, }; From 65f6dc11b4cf3de96294cd088c1d4c8499ebed00 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 14 Feb 2019 15:58:27 +0100 Subject: [PATCH 004/249] Merge pull request #5585 from storybooks/fix/add-background-official ADD default backgrounds to official example --- examples/official-storybook/config.js | 5 + .../__snapshots__/storyshots.test.js.snap | 15 +++ lib/theming/src/global.ts | 4 +- .../__snapshots__/panel.stories.storyshot | 116 ++++++++---------- lib/ui/src/components/panel/panel.stories.js | 13 -- 5 files changed, 76 insertions(+), 77 deletions(-) diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index 7073bd182b4..be51e97003b 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -52,6 +52,11 @@ addParameters({ ...INITIAL_VIEWPORTS, ...extraViewports, }, + backgrounds: [ + { name: 'storybook app', value: themes.normal.background.app, default: true }, + { name: 'light', value: '#eeeeee' }, + { name: 'dark', value: '#222222' }, + ], }); let previousExports = {}; diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index fec9dca349e..40b864302a7 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -2036,6 +2036,21 @@ exports[`Storyshots Core|Parameters passed to story 1`] = ` "type": "tablet" } }, + "backgrounds": [ + { + "name": "storybook app", + "value": "#F6F9FC", + "default": true + }, + { + "name": "light", + "value": "#eeeeee" + }, + { + "name": "dark", + "value": "#222222" + } + ], "globalParameter": "globalParameter", "chapterParameter": "chapterParameter", "storyParameter": "storyParameter", diff --git a/lib/theming/src/global.ts b/lib/theming/src/global.ts index 2b813362542..bcc4d122ed8 100644 --- a/lib/theming/src/global.ts +++ b/lib/theming/src/global.ts @@ -14,8 +14,6 @@ export const createReset = memoize(1)( fontFamily: typography.fonts.base, fontSize: typography.size.s3, margin: 0, - overflowY: 'auto', - overflowX: 'hidden', WebkitFontSmoothing: 'antialiased', MozOsxFontSmoothing: 'grayscale', @@ -97,6 +95,8 @@ export const createGlobal = memoize(1)( ...resetStyles.body, color: color.defaultText, background: background.app, + overflowY: 'auto', + overflowX: 'hidden', }, hr: { diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index dc251719f88..9c9f84cf70c 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -208,79 +208,75 @@ exports[`Storyshots UI|Panel default 1`] = ` }
-
- - -
-
-
-
- TEST 2 -
+ + + + + +
+
+
+
+ TEST 2
@@ -299,16 +295,12 @@ exports[`Storyshots UI|Panel no panels 1`] = ` }
-
- Nothing found -
+ Nothing found
`; diff --git a/lib/ui/src/components/panel/panel.stories.js b/lib/ui/src/components/panel/panel.stories.js index 85e1635000a..b271c1289b1 100644 --- a/lib/ui/src/components/panel/panel.stories.js +++ b/lib/ui/src/components/panel/panel.stories.js @@ -32,19 +32,6 @@ const toggleVisibility = action('toggleVisibility'); const togglePosition = action('togglePosition'); storiesOf('UI|Panel', module) - .addDecorator(storyFn => ( -
- {storyFn()} -
- )) .add('default', () => ( Date: Fri, 15 Feb 2019 11:56:15 +0800 Subject: [PATCH 005/249] Merge pull request #5599 from storybooks/fix-ie-11 Fix ie 11 --- lib/ui/src/components/layout/layout.stories.js | 2 -- lib/ui/src/components/layout/mobile.js | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ui/src/components/layout/layout.stories.js b/lib/ui/src/components/layout/layout.stories.js index 8cdf3f90754..4d36bf13da7 100644 --- a/lib/ui/src/components/layout/layout.stories.js +++ b/lib/ui/src/components/layout/layout.stories.js @@ -111,7 +111,6 @@ const mockProps = { Panel: MockPanel, pages: [], options: { isFullscreen: false, showNav: true, showPanel: true, panelPosition: 'right' }, - location: new URL('http://localhost:9011/?path=/components/UI-DesktopLayout-noNav'), path: '/story/UI-DesktopLayout-noNav', viewMode: 'story', storyId: 'UI-DesktopLayout-noNav', @@ -129,7 +128,6 @@ const realProps = { ), pages: [], options: { isFullscreen: false, showNav: true, showPanel: true, panelPosition: 'right' }, - location: new URL('http://localhost:9011/?path=/components/UI-DesktopLayout-noNav'), path: '/story/UI-DesktopLayout-noNav', viewMode: 'story', storyId: 'UI-DesktopLayout-noNav', diff --git a/lib/ui/src/components/layout/mobile.js b/lib/ui/src/components/layout/mobile.js index 098bdf2cc22..f5381f2177e 100644 --- a/lib/ui/src/components/layout/mobile.js +++ b/lib/ui/src/components/layout/mobile.js @@ -118,7 +118,7 @@ class Mobile extends Component { } render() { - const { Nav, Preview, Panel, pages, viewMode, location, storyId, options, path } = this.props; + const { Nav, Preview, Panel, pages, viewMode, storyId, options, path } = this.props; const { active } = this.state; return ( @@ -132,7 +132,6 @@ class Mobile extends Component { id="main" path={path} storyId={storyId} - location={location} viewMode={viewMode} debug={options} /> @@ -177,7 +176,6 @@ Mobile.propTypes = { viewMode: PropTypes.oneOf(['story', 'info']), storyId: PropTypes.string.isRequired, path: PropTypes.string.isRequired, - location: PropTypes.shape({}).isRequired, options: PropTypes.shape({ initialActive: PropTypes.number, }).isRequired, From 883365b482f1bbd938c23e8777467c61eef38825 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 15 Feb 2019 12:02:01 +0800 Subject: [PATCH 006/249] Merge pull request #5601 from storybooks/tech/warning-fixes Tech/warning fixes --- lib/components/src/tooltip/TooltipLinkList.js | 2 +- lib/ui/src/app.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/components/src/tooltip/TooltipLinkList.js b/lib/components/src/tooltip/TooltipLinkList.js index e5a4bdc9578..a181b59adc5 100644 --- a/lib/components/src/tooltip/TooltipLinkList.js +++ b/lib/components/src/tooltip/TooltipLinkList.js @@ -33,7 +33,7 @@ TooltipLinkList.propTypes = { active: PropTypes.bool, }).isRequired ).isRequired, - LinkWrapper: PropTypes.shape(), + LinkWrapper: PropTypes.oneOfType([PropTypes.shape({}), PropTypes.func]), }; TooltipLinkList.defaultProps = { diff --git a/lib/ui/src/app.js b/lib/ui/src/app.js index b65b25a770c..05cdfa87b0f 100644 --- a/lib/ui/src/app.js +++ b/lib/ui/src/app.js @@ -53,9 +53,12 @@ const App = React.memo(({ viewMode, layout }) => { ); }); App.propTypes = { - viewMode: PropTypes.string.isRequired, + viewMode: PropTypes.oneOf(['story', 'info']), layout: PropTypes.shape({}).isRequired, }; +App.defaultProps = { + viewMode: undefined, +}; App.displayName = 'App'; From a06fcb5e0fcc7c85a0a2e7d812a76bb5d20b6aab Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 15 Feb 2019 14:11:49 +0800 Subject: [PATCH 007/249] Merge pull request #5603 from storybooks/5544-fix-mobile-layout FIX mobile view --- lib/ui/src/app.js | 2 +- .../__snapshots__/layout.stories.storyshot | 220 ++++++++---------- lib/ui/src/components/layout/mobile.js | 8 +- 3 files changed, 101 insertions(+), 129 deletions(-) diff --git a/lib/ui/src/app.js b/lib/ui/src/app.js index 05cdfa87b0f..65f1201b0dd 100644 --- a/lib/ui/src/app.js +++ b/lib/ui/src/app.js @@ -44,7 +44,7 @@ const App = React.memo(({ viewMode, layout }) => { return
; } if (width < 600) { - return ; + return ; } return ; }} diff --git a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot index f0b2d7b04b9..84434154b8e 100644 --- a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot +++ b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot @@ -355,9 +355,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` -ms-transform: translateX(-80vw); transform: translateX(-80vw); left: 0; - -webkit-transform: translateX(-0px); - -ms-transform: translateX(-0px); - transform: translateX(-0px); } .emotion-0 { @@ -396,9 +393,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` -ms-transform: translateX(0) scale(1); transform: translateX(0) scale(1); left: 0; - -webkit-transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - -ms-transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); } .emotion-2 { @@ -521,9 +515,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
               {
   "id": "main",
-  "path": "/story/UI-DesktopLayout-noNav",
-  "storyId": "UI-DesktopLayout-noNav",
-  "location": "http://localhost:9011/?path=/components/UI-DesktopLayout-noNav",
   "viewMode": "story",
   "debug": {
     "initialActive": 0
@@ -641,6 +632,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
   height: calc(100% - 40px);
 }
 
+.emotion-1 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 80vw;
+  -webkit-transform: translateX(-80vw);
+  -ms-transform: translateX(-80vw);
+  transform: translateX(-80vw);
+  left: 0;
+}
+
 .emotion-0 {
   background: hotpink;
   position: absolute;
@@ -665,6 +670,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
   overflow: hidden;
 }
 
+.emotion-3 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 100%;
+  -webkit-transform: translateX(0) scale(1);
+  -ms-transform: translateX(0) scale(1);
+  transform: translateX(0) scale(1);
+  left: 0;
+}
+
 .emotion-2 {
   background: deepskyblue;
   position: absolute;
@@ -745,34 +764,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
   flex: 1;
 }
 
-.emotion-1 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 80vw;
-  -webkit-transform: translateX(-80vw);
-  -ms-transform: translateX(-80vw);
-  transform: translateX(-80vw);
-  left: 0;
-}
-
-.emotion-3 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 100%;
-  -webkit-transform: translateX(0) scale(1);
-  -ms-transform: translateX(0) scale(1);
-  transform: translateX(0) scale(1);
-  left: 0;
-}
-
 
@@ -813,9 +804,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
               {
   "id": "main",
-  "path": "/story/UI-DesktopLayout-noNav",
-  "storyId": "UI-DesktopLayout-noNav",
-  "location": "http://localhost:9011/?path=/components/UI-DesktopLayout-noNav",
   "viewMode": "story",
   "debug": {
     "initialActive": 1
@@ -933,6 +921,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
   height: calc(100% - 40px);
 }
 
+.emotion-1 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 80vw;
+  -webkit-transform: translateX(-80vw);
+  -ms-transform: translateX(-80vw);
+  transform: translateX(-80vw);
+  left: 0;
+}
+
 .emotion-0 {
   background: hotpink;
   position: absolute;
@@ -957,6 +959,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
   overflow: hidden;
 }
 
+.emotion-3 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 100%;
+  -webkit-transform: translateX(0) scale(1);
+  -ms-transform: translateX(0) scale(1);
+  transform: translateX(0) scale(1);
+  left: 0;
+}
+
 .emotion-2 {
   background: deepskyblue;
   position: absolute;
@@ -981,6 +997,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
   overflow: hidden;
 }
 
+.emotion-5 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 80vw;
+  -webkit-transform: translateX(80vw);
+  -ms-transform: translateX(80vw);
+  transform: translateX(80vw);
+  right: 0;
+}
+
 .emotion-4 {
   background: orangered;
   position: absolute;
@@ -1023,54 +1053,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
   flex: 1;
 }
 
-.emotion-1 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 80vw;
-  -webkit-transform: translateX(-80vw);
-  -ms-transform: translateX(-80vw);
-  transform: translateX(-80vw);
-  left: 0;
-}
-
-.emotion-3 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 100%;
-  -webkit-transform: translateX(0) scale(1);
-  -ms-transform: translateX(0) scale(1);
-  transform: translateX(0) scale(1);
-  left: 0;
-  -webkit-transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2);
-  -ms-transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2);
-  transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2);
-}
-
-.emotion-5 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 80vw;
-  -webkit-transform: translateX(80vw);
-  -ms-transform: translateX(80vw);
-  transform: translateX(80vw);
-  right: 0;
-  -webkit-transform: translateX(0px);
-  -ms-transform: translateX(0px);
-  transform: translateX(0px);
-}
-
 
@@ -1111,9 +1093,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
               {
   "id": "main",
-  "path": "/story/UI-DesktopLayout-noNav",
-  "storyId": "UI-DesktopLayout-noNav",
-  "location": "http://localhost:9011/?path=/components/UI-DesktopLayout-noNav",
   "viewMode": "story",
   "debug": {
     "initialActive": 2
@@ -1231,6 +1210,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
   height: calc(100% - 40px);
 }
 
+.emotion-1 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 80vw;
+  -webkit-transform: translateX(-80vw);
+  -ms-transform: translateX(-80vw);
+  transform: translateX(-80vw);
+  left: 0;
+}
+
 .emotion-0 {
   background: hotpink;
   position: absolute;
@@ -1255,6 +1248,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
   overflow: hidden;
 }
 
+.emotion-4 {
+  -webkit-transition: -webkit-transform .2s ease;
+  -webkit-transition: transform .2s ease;
+  transition: transform .2s ease;
+  position: absolute;
+  top: 0;
+  height: 100%;
+  width: 100%;
+  -webkit-transform: translateX(0) scale(1);
+  -ms-transform: translateX(0) scale(1);
+  transform: translateX(0) scale(1);
+  left: 0;
+}
+
 .emotion-2 {
   background: deepskyblue;
   position: absolute;
@@ -1335,34 +1342,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
   flex: 1;
 }
 
-.emotion-1 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 80vw;
-  -webkit-transform: translateX(-80vw);
-  -ms-transform: translateX(-80vw);
-  transform: translateX(-80vw);
-  left: 0;
-}
-
-.emotion-4 {
-  -webkit-transition: -webkit-transform .2s ease;
-  -webkit-transition: transform .2s ease;
-  transition: transform .2s ease;
-  position: absolute;
-  top: 0;
-  height: 100%;
-  width: 100%;
-  -webkit-transform: translateX(0) scale(1);
-  -ms-transform: translateX(0) scale(1);
-  transform: translateX(0) scale(1);
-  left: 0;
-}
-
 .emotion-3 {
   background: cyan;
   position: absolute;
@@ -1429,9 +1408,6 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
             
               {
   "id": "main",
-  "path": "/story/UI-DesktopLayout-noNav",
-  "storyId": "UI-DesktopLayout-noNav",
-  "location": "http://localhost:9011/?path=/components/UI-DesktopLayout-noNav",
   "debug": {
     "initialActive": 1
   }
diff --git a/lib/ui/src/components/layout/mobile.js b/lib/ui/src/components/layout/mobile.js
index f5381f2177e..597fa9482a9 100644
--- a/lib/ui/src/components/layout/mobile.js
+++ b/lib/ui/src/components/layout/mobile.js
@@ -113,12 +113,12 @@ class Mobile extends Component {
 
     const { options } = props;
     this.state = {
-      active: options.initialActive,
+      active: !!options.initialActive,
     };
   }
 
   render() {
-    const { Nav, Preview, Panel, pages, viewMode, storyId, options, path } = this.props;
+    const { Nav, Preview, Panel, pages, viewMode, options } = this.props;
     const { active } = this.state;
 
     return (
@@ -130,8 +130,6 @@ class Mobile extends Component {
               
@@ -174,8 +172,6 @@ Mobile.propTypes = {
     })
   ).isRequired,
   viewMode: PropTypes.oneOf(['story', 'info']),
-  storyId: PropTypes.string.isRequired,
-  path: PropTypes.string.isRequired,
   options: PropTypes.shape({
     initialActive: PropTypes.number,
   }).isRequired,

From 1525cde9c37f63d4538b4943b324bec9d922e712 Mon Sep 17 00:00:00 2001
From: Norbert de Langen 
Date: Fri, 15 Feb 2019 00:27:13 +0100
Subject: [PATCH 008/249] Merge pull request #5573 from
 petersendidit/FixAbsoluteOutputPath

fix for when outputDir is an absolute path
---
 lib/core/src/server/build-static.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/core/src/server/build-static.js b/lib/core/src/server/build-static.js
index 8847334e171..e9cfbc19066 100644
--- a/lib/core/src/server/build-static.js
+++ b/lib/core/src/server/build-static.js
@@ -166,7 +166,9 @@ export async function buildStaticStandalone(options) {
   const { staticDir, configDir, packageJson } = options;
 
   const configType = 'PRODUCTION';
-  const outputDir = path.join(process.cwd(), options.outputDir);
+  const outputDir = path.isAbsolute(options.outputDir)
+    ? options.outputDir
+    : path.join(process.cwd(), options.outputDir);
   const dllPath = path.join(__dirname, '../../dll/*');
   const defaultFavIcon = require.resolve('./public/favicon.ico');
 

From b939f6e3276997493b82467aa753329345881136 Mon Sep 17 00:00:00 2001
From: Norbert de Langen 
Date: Thu, 14 Feb 2019 23:48:45 +0100
Subject: [PATCH 009/249] Merge pull request #5564 from
 redeyeapps/fix-config-precedence

Fix: Prioritise programatic configuration
---
 lib/core/src/server/build-dev.js    | 2 +-
 lib/core/src/server/build-static.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/core/src/server/build-dev.js b/lib/core/src/server/build-dev.js
index b67ee9ce764..357cb7e4245 100644
--- a/lib/core/src/server/build-dev.js
+++ b/lib/core/src/server/build-dev.js
@@ -342,6 +342,6 @@ export async function buildDev({ packageJson, ...loadOptions }) {
     ...cliOptions,
     ...loadOptions,
     packageJson,
-    configDir: cliOptions.configDir || './.storybook',
+    configDir: loadOptions.configDir || cliOptions.configDir || './.storybook',
   });
 }
diff --git a/lib/core/src/server/build-static.js b/lib/core/src/server/build-static.js
index e9cfbc19066..cf4ecf8a09b 100644
--- a/lib/core/src/server/build-static.js
+++ b/lib/core/src/server/build-static.js
@@ -192,7 +192,7 @@ export function buildStatic({ packageJson, ...loadOptions }) {
     ...cliOptions,
     ...loadOptions,
     packageJson,
-    configDir: cliOptions.configDir || './.storybook',
-    outputDir: cliOptions.outputDir || './storybook-static',
+    configDir: loadOptions.configDir || cliOptions.configDir || './.storybook',
+    outputDir: loadOptions.outputDir || cliOptions.outputDir || './storybook-static',
   });
 }

From a68259bd398f6347207c823aa067c1ad7ebb3d18 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" 
Date: Thu, 14 Feb 2019 16:28:28 +0000
Subject: [PATCH 010/249] Merge pull request #5576 from
 storybooks/dependabot/npm_and_yarn/handlebars-4.1.0

---
 yarn.lock | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/yarn.lock b/yarn.lock
index 675b6de2bca..ed8cf01e448 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10122,8 +10122,9 @@ handle-thing@^2.0.0:
   resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754"
 
 handlebars@^4.0.1, handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.0.4:
-  version "4.0.12"
-  resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5"
+  version "4.1.0"
+  resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a"
+  integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w==
   dependencies:
     async "^2.5.0"
     optimist "^0.6.1"

From 224afb2bf638e363e74f66110a284c1af6f7fe12 Mon Sep 17 00:00:00 2001
From: Norbert de Langen 
Date: Fri, 15 Feb 2019 00:00:22 +0100
Subject: [PATCH 011/249] Merge pull request #5565 from
 redeyeapps/fix-port-suggestion-false-negative

Fix: Avoid false-negative checks for port
---
 lib/core/src/server/cli/dev.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/core/src/server/cli/dev.js b/lib/core/src/server/cli/dev.js
index 04a589e07cd..9dab960414f 100644
--- a/lib/core/src/server/cli/dev.js
+++ b/lib/core/src/server/cli/dev.js
@@ -57,6 +57,10 @@ async function getCLI(packageJson) {
     configDir: 'SBCONFIG_CONFIG_DIR',
   });
 
+  if (typeof program.port === 'string' && program.port.length > 0) {
+    program.port = parseInt(program.port, 10);
+  }
+
   const port = await getFreePort(program.port);
 
   if (!program.ci && !program.smokeTest && program.port != null && port !== program.port) {

From 2d17667d6c411d1b835f956b9511dba709d01c2c Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Fri, 15 Feb 2019 15:06:47 +0800
Subject: [PATCH 012/249] 5.0.0-beta.4 changelog

---
 CHANGELOG.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3bdd43f58f..a4f5834cda9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,17 @@
+## 5.0.0-beta.4 (February 15, 2019)
+
+### Bug Fixes
+
+* UI: Fix mobile view ([#5603](https://github.com/storybooks/storybook/pull/5603))
+* UI: Misc warning fixes ([#5601](https://github.com/storybooks/storybook/pull/5601))
+* UI: Fix ie 11 ([#5599](https://github.com/storybooks/storybook/pull/5599))
+* CLI: Fix for when outputDir is an absolute path ([#5573](https://github.com/storybooks/storybook/pull/5573))
+* CLI: Avoid false-negative checks for port ([#5565](https://github.com/storybooks/storybook/pull/5565))
+* Core: Prioritise programatic configuration ([#5564](https://github.com/storybooks/storybook/pull/5564))
+* UI: FIX clear search ([#5550](https://github.com/storybooks/storybook/pull/5550))
+* Core: Transpile safe-eval package ([#5498](https://github.com/storybooks/storybook/pull/5498))
+* UI: Add default backgrounds to official example ([#5585](https://github.com/storybooks/storybook/pull/5585))
+
 ## 5.0.0-beta.3 (February 13, 2019)
 
 ### Bug Fixes

From 9c28b665825bcda33285ad6627999d55c7527bea Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Fri, 15 Feb 2019 16:21:42 +0800
Subject: [PATCH 013/249] v5.0.0-beta.4

---
 addons/a11y/package.json                      | 12 ++---
 addons/actions/package.json                   | 10 ++--
 addons/backgrounds/package.json               | 12 ++---
 addons/centered/package.json                  |  2 +-
 addons/cssresources/package.json              | 10 ++--
 addons/events/package.json                    |  8 +--
 addons/google-analytics/package.json          |  6 +--
 addons/graphql/package.json                   |  2 +-
 addons/info/package.json                      | 10 ++--
 addons/jest/package.json                      | 10 ++--
 addons/knobs/package.json                     | 10 ++--
 addons/links/package.json                     |  6 +--
 addons/notes/package.json                     | 12 ++---
 addons/ondevice-backgrounds/package.json      |  4 +-
 addons/ondevice-knobs/package.json            |  4 +-
 addons/ondevice-notes/package.json            |  4 +-
 addons/options/package.json                   |  4 +-
 .../storyshots/storyshots-core/package.json   |  4 +-
 .../storyshots-puppeteer/package.json         |  6 +--
 addons/storysource/package.json               |  8 +--
 addons/viewport/package.json                  | 12 ++---
 app/angular/package.json                      |  6 +--
 app/ember/package.json                        |  4 +-
 app/html/package.json                         |  4 +-
 app/marko/package.json                        |  4 +-
 app/mithril/package.json                      |  4 +-
 app/polymer/package.json                      |  4 +-
 app/preact/package.json                       |  4 +-
 app/react-native/package.json                 | 14 ++---
 app/react/package.json                        |  8 +--
 app/riot/package.json                         |  4 +-
 app/svelte/package.json                       |  4 +-
 app/vue/package.json                          |  4 +-
 examples/angular-cli/package.json             | 26 ++++-----
 examples/cra-kitchen-sink/package.json        | 32 +++++------
 examples/cra-ts-kitchen-sink/package.json     | 12 ++---
 examples/ember-cli/package.json               | 26 ++++-----
 examples/html-kitchen-sink/package.json       | 36 ++++++-------
 examples/marko-cli/package.json               | 14 ++---
 examples/mithril-kitchen-sink/package.json    | 26 ++++-----
 examples/official-storybook/package.json      | 48 ++++++++---------
 examples/polymer-cli/package.json             | 20 +++----
 examples/preact-kitchen-sink/package.json     | 26 ++++-----
 examples/riot-kitchen-sink/package.json       | 26 ++++-----
 examples/svelte-kitchen-sink/package.json     | 26 ++++-----
 examples/vue-kitchen-sink/package.json        | 26 ++++-----
 lerna.json                                    |  2 +-
 lib/addons/package.json                       |  6 +--
 lib/channel-postmessage/package.json          |  4 +-
 lib/channel-websocket/package.json            |  4 +-
 lib/channels/package.json                     |  2 +-
 lib/cli/package.json                          | 54 +++++++++----------
 lib/client-api/package.json                   |  8 +--
 lib/client-logger/package.json                |  2 +-
 lib/codemod/package.json                      |  2 +-
 lib/components/package.json                   | 12 ++---
 lib/core-events/package.json                  |  2 +-
 lib/core/package.json                         | 18 +++----
 lib/node-logger/package.json                  |  2 +-
 lib/router/package.json                       |  4 +-
 lib/theming/package.json                      |  2 +-
 lib/ui/package.json                           | 14 ++---
 62 files changed, 351 insertions(+), 351 deletions(-)

diff --git a/addons/a11y/package.json b/addons/a11y/package.json
index 1c4ba3729b5..d55c7332cca 100644
--- a/addons/a11y/package.json
+++ b/addons/a11y/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-a11y",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "a11y addon for storybook",
   "keywords": [
     "a11y",
@@ -25,11 +25,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "axe-core": "^3.1.2",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/addons/actions/package.json b/addons/actions/package.json
index 6b63a947202..b3b7f565665 100644
--- a/addons/actions/package.json
+++ b/addons/actions/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-actions",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Action Logger addon for storybook",
   "keywords": [
     "storybook"
@@ -20,10 +20,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "fast-deep-equal": "^2.0.1",
     "global": "^4.3.2",
diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json
index 331a9f65096..539ea4549a7 100644
--- a/addons/backgrounds/package.json
+++ b/addons/backgrounds/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-backgrounds",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A storybook addon to show different backgrounds for your preview",
   "keywords": [
     "addon",
@@ -24,11 +24,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/addons/centered/package.json b/addons/centered/package.json
index 40b115cb24b..73336a6f20c 100644
--- a/addons/centered/package.json
+++ b/addons/centered/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-centered",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook decorator to center components",
   "keywords": [
     "addon",
diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json
index 1e9875c9b1c..a55c5450d4e 100644
--- a/addons/cssresources/package.json
+++ b/addons/cssresources/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-cssresources",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A storybook addon to switch between css resources at runtime for your story",
   "keywords": [
     "addon",
@@ -25,10 +25,10 @@
   },
   "dependencies": {
     "@emotion/styled": "10.0.6",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/channels": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/events/package.json b/addons/events/package.json
index 42c7201ef3b..e4d28cc4b80 100644
--- a/addons/events/package.json
+++ b/addons/events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-events",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Add events to your Storybook stories.",
   "keywords": [
     "addon",
@@ -23,9 +23,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "format-json": "^1.0.3",
     "prop-types": "^15.6.2",
diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json
index b5e5b91b066..6b2b8967120 100644
--- a/addons/google-analytics/package.json
+++ b/addons/google-analytics/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-google-analytics",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook addon for google analytics",
   "keywords": [
     "addon",
@@ -19,8 +19,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "react-ga": "^2.5.3"
diff --git a/addons/graphql/package.json b/addons/graphql/package.json
index 10514734441..714de703e65 100644
--- a/addons/graphql/package.json
+++ b/addons/graphql/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-graphql",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook addon to display the GraphiQL IDE",
   "keywords": [
     "addon",
diff --git a/addons/info/package.json b/addons/info/package.json
index bb9e7162c8f..2e3fec65952 100644
--- a/addons/info/package.json
+++ b/addons/info/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-info",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A Storybook addon to show additional information for your stories.",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "marksy": "^6.1.0",
diff --git a/addons/jest/package.json b/addons/jest/package.json
index ab3042aeff7..94378639e6e 100644
--- a/addons/jest/package.json
+++ b/addons/jest/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-jest",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "React storybook addon that show component jest report",
   "keywords": [
     "addon",
@@ -27,10 +27,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/knobs/package.json b/addons/knobs/package.json
index 6746d6ef5e3..55d1de85d35 100644
--- a/addons/knobs/package.json
+++ b/addons/knobs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-knobs",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook Addon Prop Editor Component",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "copy-to-clipboard": "^3.0.8",
     "core-js": "^2.6.2",
     "escape-html": "^1.0.3",
diff --git a/addons/links/package.json b/addons/links/package.json
index 715efec4637..0b00bae7d09 100644
--- a/addons/links/package.json
+++ b/addons/links/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-links",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Story Links addon for storybook",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/addons/notes/package.json b/addons/notes/package.json
index c9797f630cb..79efc547434 100644
--- a/addons/notes/package.json
+++ b/addons/notes/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-notes",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Write notes for your Storybook stories.",
   "keywords": [
     "addon",
@@ -22,11 +22,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "markdown-to-jsx": "^6.9.1",
     "prop-types": "^15.6.2",
     "util-deprecate": "^1.0.2"
diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json
index 7033d67118d..a72f069af23 100644
--- a/addons/ondevice-backgrounds/package.json
+++ b/addons/ondevice-backgrounds/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-ondevice-backgrounds",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A storybook addon to show different backgrounds for your preview",
   "keywords": [
     "addon",
@@ -23,7 +23,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "prop-types": "^15.6.2"
   },
diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json
index a28174be130..7d4b7ab124f 100644
--- a/addons/ondevice-knobs/package.json
+++ b/addons/ondevice-knobs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-ondevice-knobs",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Display storybook story knobs on your deviced.",
   "keywords": [
     "addon",
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "deep-equal": "^1.0.1",
     "prop-types": "^15.6.2",
diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json
index 69e10a16218..d053b2906a7 100644
--- a/addons/ondevice-notes/package.json
+++ b/addons/ondevice-notes/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-ondevice-notes",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Write notes for your Storybook stories.",
   "keywords": [
     "addon",
@@ -18,7 +18,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "prop-types": "^15.6.2",
     "react-native-simple-markdown": "^1.1.0"
diff --git a/addons/options/package.json b/addons/options/package.json
index 1d4ed8cdc3a..62ce0769d02 100644
--- a/addons/options/package.json
+++ b/addons/options/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-options",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Options addon for storybook",
   "keywords": [
     "addon",
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json
index d7cec0eed1b..4fac105b7f6 100644
--- a/addons/storyshots/storyshots-core/package.json
+++ b/addons/storyshots/storyshots-core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
   "keywords": [
     "addon",
@@ -24,7 +24,7 @@
     "storybook": "start-storybook -p 6006"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "glob": "^7.1.3",
     "global": "^4.3.2",
diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json
index e6c0c0d624c..8851cb6753c 100644
--- a/addons/storyshots/storyshots-puppeteer/package.json
+++ b/addons/storyshots/storyshots-puppeteer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots-puppeteer",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Image snappshots addition to StoryShots base on puppeteer",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
-    "@storybook/node-logger": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/node-logger": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "jest-image-snapshot": "^2.6.0",
     "puppeteer": "^1.12.0",
diff --git a/addons/storysource/package.json b/addons/storysource/package.json
index c0ab6158977..bbfb4ba12e7 100644
--- a/addons/storysource/package.json
+++ b/addons/storysource/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storysource",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Stories addon for storybook",
   "keywords": [
     "addon",
@@ -21,9 +21,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "estraverse": "^4.2.0",
     "loader-utils": "^1.2.1",
diff --git a/addons/viewport/package.json b/addons/viewport/package.json
index 61ee57d2a08..45d1101a312 100644
--- a/addons/viewport/package.json
+++ b/addons/viewport/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-viewport",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook addon to change the viewport size to mobile",
   "keywords": [
     "addon",
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
diff --git a/app/angular/package.json b/app/angular/package.json
index d2828ff343a..c27e3529e53 100644
--- a/app/angular/package.json
+++ b/app/angular/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/angular",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,8 +25,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
-    "@storybook/node-logger": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/node-logger": "5.0.0-beta.4",
     "angular2-template-loader": "^0.6.2",
     "core-js": "^2.6.2",
     "fork-ts-checker-webpack-plugin": "^0.5.2",
diff --git a/app/ember/package.json b/app/ember/package.json
index 2821195ab5c..6cccd99a7ae 100644
--- a/app/ember/package.json
+++ b/app/ember/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ember",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
   "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
   "bugs": {
@@ -23,7 +23,7 @@
   },
   "dependencies": {
     "@ember/test-helpers": "^1.3.1",
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/html/package.json b/app/html/package.json
index 4913c7957dc..75847ac2e46 100644
--- a/app/html/package.json
+++ b/app/html/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/html",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/marko/package.json b/app/marko/package.json
index aea2a9cea7a..16c680df696 100644
--- a/app/marko/package.json
+++ b/app/marko/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/marko",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/mithril/package.json b/app/mithril/package.json
index e5adf3c39c0..1f6ab7b7570 100644
--- a/app/mithril/package.json
+++ b/app/mithril/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/mithril",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Mithril: Develop Mithril Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/polymer/package.json b/app/polymer/package.json
index 82f533add0d..9e3746aea7c 100644
--- a/app/polymer/package.json
+++ b/app/polymer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/polymer",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/app/preact/package.json b/app/preact/package.json
index 6b678189053..77db5bbc4c3 100644
--- a/app/preact/package.json
+++ b/app/preact/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/preact",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Preact: Develop Preact Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/react-native/package.json b/app/react-native/package.json
index 554f41cf6b1..5da9a7c22ae 100644
--- a/app/react-native/package.json
+++ b/app/react-native/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/react-native",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A better way to develop React Native Components for your app",
   "keywords": [
     "react",
@@ -25,12 +25,12 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/channel-websocket": "5.0.0-beta.3",
-    "@storybook/channels": "5.0.0-beta.3",
-    "@storybook/core": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/ui": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/channel-websocket": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/ui": "5.0.0-beta.4",
     "babel-loader": "^8.0.4",
     "babel-plugin-macros": "^2.4.5",
     "babel-plugin-syntax-async-functions": "^6.13.0",
diff --git a/app/react/package.json b/app/react/package.json
index 51ddfbfc361..c5b6cd9fe7e 100644
--- a/app/react/package.json
+++ b/app/react/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/react",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -28,9 +28,9 @@
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-flow": "^7.0.0",
     "@babel/preset-react": "^7.0.0",
-    "@storybook/core": "5.0.0-beta.3",
-    "@storybook/node-logger": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/node-logger": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "@svgr/webpack": "^4.0.3",
     "babel-plugin-named-asset-import": "^0.3.0",
     "babel-plugin-react-docgen": "^2.0.2",
diff --git a/app/riot/package.json b/app/riot/package.json
index 1af4b86d698..d5d2f41081b 100644
--- a/app/riot/package.json
+++ b/app/riot/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/riot",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/svelte/package.json b/app/svelte/package.json
index e97bc721a2a..0f3ee3a62ae 100644
--- a/app/svelte/package.json
+++ b/app/svelte/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/svelte",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/vue/package.json b/app/vue/package.json
index 9a29f6a8865..d95318bc64b 100644
--- a/app/vue/package.json
+++ b/app/vue/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/vue",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.3",
+    "@storybook/core": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json
index db910e90e72..b26cb3e0e1e 100644
--- a/examples/angular-cli/package.json
+++ b/examples/angular-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "angular-cli",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "license": "MIT",
   "scripts": {
@@ -33,18 +33,18 @@
     "@angular-devkit/build-angular": "^0.11.4",
     "@angular/cli": "^7.3.0",
     "@angular/compiler-cli": "^7.2.1",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-jest": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/angular": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-jest": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/angular": "5.0.0-beta.4",
     "@types/core-js": "^2.5.0",
     "@types/jest": "^23.3.13",
     "@types/node": "~10.12.19",
diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
index aa8cb89bbca..f36f510aa3e 100644
--- a/examples/cra-kitchen-sink/package.json
+++ b/examples/cra-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-kitchen-sink",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build": "react-scripts build",
@@ -18,21 +18,21 @@
     "react-lifecycles-compat": "^3.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.3",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-events": "5.0.0-beta.3",
-    "@storybook/addon-info": "5.0.0-beta.3",
-    "@storybook/addon-jest": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/react": "5.0.0-beta.3",
+    "@storybook/addon-a11y": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-events": "5.0.0-beta.4",
+    "@storybook/addon-info": "5.0.0-beta.4",
+    "@storybook/addon-jest": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/react": "5.0.0-beta.4",
     "enzyme": "^3.7.0",
     "enzyme-adapter-react-16": "^1.9.1",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
index c546c4cd8af..660abfd089a 100644
--- a/examples/cra-ts-kitchen-sink/package.json
+++ b/examples/cra-ts-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-ts-kitchen-sink",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -19,11 +19,11 @@
     "react-dom": "^16.8.1"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-info": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/react": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-info": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/react": "5.0.0-beta.4",
     "@types/enzyme": "^3.1.15",
     "@types/react": "^16.7.22",
     "@types/react-dom": "^16.0.11",
diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
index b90bf541697..db56dab3f9e 100644
--- a/examples/ember-cli/package.json
+++ b/examples/ember-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ember-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build": "ember build",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-a11y": "5.0.0-beta.3",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/ember": "5.0.0-beta.3",
+    "@storybook/addon-a11y": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/ember": "5.0.0-beta.4",
     "babel-loader": "^8",
     "broccoli-asset-rev": "^3.0.0",
     "cross-env": "^5.2.0",
diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
index d7e8a95c4e8..3b821976971 100644
--- a/examples/html-kitchen-sink/package.json
+++ b/examples/html-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "html-kitchen-sink",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "description": "",
   "keywords": [],
@@ -13,23 +13,23 @@
     "storybook": "start-storybook -p 9006"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.3",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-events": "5.0.0-beta.3",
-    "@storybook/addon-jest": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/core": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/html": "5.0.0-beta.3",
+    "@storybook/addon-a11y": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-events": "5.0.0-beta.4",
+    "@storybook/addon-jest": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/html": "5.0.0-beta.4",
     "eventemitter3": "^3.1.0",
     "format-json": "^1.0.3",
     "global": "^4.3.2",
diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json
index b2a52ffa2f5..75e6ea952e9 100644
--- a/examples/marko-cli/package.json
+++ b/examples/marko-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "marko-cli",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "description": "Demo of how to build an app using marko-starter",
   "repository": {
@@ -22,12 +22,12 @@
     "marko-starter": "^2.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/marko": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/marko": "5.0.0-beta.4",
     "prettier": "^1.16.4",
     "webpack": "^4.29.0"
   }
diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json
index cd89efca54a..67868db00a9 100644
--- a/examples/mithril-kitchen-sink/package.json
+++ b/examples/mithril-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mithril-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -10,18 +10,18 @@
     "mithril": "^1.1.6"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/mithril": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/mithril": "5.0.0-beta.4",
     "webpack": "^4.29.0"
   }
 }
diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json
index 330e4c42a5c..143dd3c2c91 100644
--- a/examples/official-storybook/package.json
+++ b/examples/official-storybook/package.json
@@ -1,6 +1,6 @@
 {
   "name": "official-storybook",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -c ./ -s built-storybooks",
@@ -12,29 +12,29 @@
     "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.3",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-cssresources": "5.0.0-beta.3",
-    "@storybook/addon-events": "5.0.0-beta.3",
-    "@storybook/addon-graphql": "5.0.0-beta.3",
-    "@storybook/addon-info": "5.0.0-beta.3",
-    "@storybook/addon-jest": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storyshots-puppeteer": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/node-logger": "5.0.0-beta.3",
-    "@storybook/react": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addon-a11y": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-cssresources": "5.0.0-beta.4",
+    "@storybook/addon-events": "5.0.0-beta.4",
+    "@storybook/addon-graphql": "5.0.0-beta.4",
+    "@storybook/addon-info": "5.0.0-beta.4",
+    "@storybook/addon-jest": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storyshots-puppeteer": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/node-logger": "5.0.0-beta.4",
+    "@storybook/react": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "cors": "^2.8.4",
     "cross-env": "^5.2.0",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json
index b3b12f6b253..5de6577d7da 100644
--- a/examples/polymer-cli/package.json
+++ b/examples/polymer-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "polymer-cli",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -9,15 +9,15 @@
   },
   "dependencies": {
     "@polymer/polymer": "^2.6.0",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/polymer": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/polymer": "5.0.0-beta.4",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "global": "^4.3.2",
     "lit-html": "^1.0.0",
diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
index 42f21cedd18..7d64b696900 100644
--- a/examples/preact-kitchen-sink/package.json
+++ b/examples/preact-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "preact-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   "devDependencies": {
     "@babel/core": "^7.2.2",
     "@babel/plugin-transform-runtime": "^7.2.0",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/preact": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/preact": "5.0.0-beta.4",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json
index 976c4c9e16e..f11b885c1ec 100644
--- a/examples/riot-kitchen-sink/package.json
+++ b/examples/riot-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "riot-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/riot": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/riot": "5.0.0-beta.4",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
index ba862d20d2a..98525a33c62 100644
--- a/examples/svelte-kitchen-sink/package.json
+++ b/examples/svelte-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "svelte-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -10,17 +10,17 @@
     "global": "^4.3.2"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/svelte": "5.0.0-beta.3"
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/svelte": "5.0.0-beta.4"
   }
 }
diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json
index 0a9e50ea077..39eb1a6559c 100644
--- a/examples/vue-kitchen-sink/package.json
+++ b/examples/vue-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vue-example",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-backgrounds": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addon-storysource": "5.0.0-beta.3",
-    "@storybook/addon-viewport": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/vue": "5.0.0-beta.3",
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-backgrounds": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addon-storysource": "5.0.0-beta.4",
+    "@storybook/addon-viewport": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/vue": "5.0.0-beta.4",
     "babel-core": "^7.0.0-bridge.0",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
diff --git a/lerna.json b/lerna.json
index d5ee31eab8f..a0e1e12d619 100644
--- a/lerna.json
+++ b/lerna.json
@@ -11,5 +11,5 @@
   "npmClient": "yarn",
   "useWorkspaces": true,
   "registry": "https://registry.npmjs.org",
-  "version": "5.0.0-beta.3"
+  "version": "5.0.0-beta.4"
 }
diff --git a/lib/addons/package.json b/lib/addons/package.json
index 9bbb4796e3a..2308abf20ba 100644
--- a/lib/addons/package.json
+++ b/lib/addons/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addons",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook addons store",
   "keywords": [
     "storybook"
@@ -20,8 +20,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
+    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
     "global": "^4.3.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json
index 8b8f85a1faa..2fc27892490 100644
--- a/lib/channel-postmessage/package.json
+++ b/lib/channel-postmessage/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-postmessage",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.3",
+    "@storybook/channels": "5.0.0-beta.4",
     "global": "^4.3.2",
     "telejson": "^1.0.1"
   },
diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
index 795daeb6564..e804c6c5e93 100644
--- a/lib/channel-websocket/package.json
+++ b/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-websocket",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.3",
+    "@storybook/channels": "5.0.0-beta.4",
     "global": "^4.3.2",
     "json-fn": "^1.1.1"
   },
diff --git a/lib/channels/package.json b/lib/channels/package.json
index 2546237b6fa..cfcbdedef39 100644
--- a/lib/channels/package.json
+++ b/lib/channels/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channels",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/cli/package.json b/lib/cli/package.json
index e85c361fe73..e3df304ac93 100644
--- a/lib/cli/package.json
+++ b/lib/cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/cli",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook's CLI - easiest method of adding storybook to your projects",
   "keywords": [
     "cli",
@@ -29,7 +29,7 @@
     "@babel/core": "^7.2.2",
     "@babel/preset-env": "^7.3.1",
     "@babel/register": "^7.0.0",
-    "@storybook/codemod": "5.0.0-beta.3",
+    "@storybook/codemod": "5.0.0-beta.4",
     "chalk": "^2.4.1",
     "commander": "^2.19.0",
     "core-js": "^2.6.2",
@@ -43,31 +43,31 @@
     "update-notifier": "^2.5.0"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.3",
-    "@storybook/addon-centered": "5.0.0-beta.3",
-    "@storybook/addon-graphql": "5.0.0-beta.3",
-    "@storybook/addon-info": "5.0.0-beta.3",
-    "@storybook/addon-knobs": "5.0.0-beta.3",
-    "@storybook/addon-links": "5.0.0-beta.3",
-    "@storybook/addon-notes": "5.0.0-beta.3",
-    "@storybook/addon-options": "5.0.0-beta.3",
-    "@storybook/addon-storyshots": "5.0.0-beta.3",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/angular": "5.0.0-beta.3",
-    "@storybook/channel-postmessage": "5.0.0-beta.3",
-    "@storybook/channel-websocket": "5.0.0-beta.3",
-    "@storybook/channels": "5.0.0-beta.3",
-    "@storybook/ember": "5.0.0-beta.3",
-    "@storybook/html": "5.0.0-beta.3",
-    "@storybook/marko": "5.0.0-beta.3",
-    "@storybook/mithril": "5.0.0-beta.3",
-    "@storybook/polymer": "5.0.0-beta.3",
-    "@storybook/preact": "5.0.0-beta.3",
-    "@storybook/react": "5.0.0-beta.3",
-    "@storybook/react-native": "5.0.0-beta.3",
-    "@storybook/riot": "5.0.0-beta.3",
-    "@storybook/ui": "5.0.0-beta.3",
-    "@storybook/vue": "5.0.0-beta.3"
+    "@storybook/addon-actions": "5.0.0-beta.4",
+    "@storybook/addon-centered": "5.0.0-beta.4",
+    "@storybook/addon-graphql": "5.0.0-beta.4",
+    "@storybook/addon-info": "5.0.0-beta.4",
+    "@storybook/addon-knobs": "5.0.0-beta.4",
+    "@storybook/addon-links": "5.0.0-beta.4",
+    "@storybook/addon-notes": "5.0.0-beta.4",
+    "@storybook/addon-options": "5.0.0-beta.4",
+    "@storybook/addon-storyshots": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/angular": "5.0.0-beta.4",
+    "@storybook/channel-postmessage": "5.0.0-beta.4",
+    "@storybook/channel-websocket": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/ember": "5.0.0-beta.4",
+    "@storybook/html": "5.0.0-beta.4",
+    "@storybook/marko": "5.0.0-beta.4",
+    "@storybook/mithril": "5.0.0-beta.4",
+    "@storybook/polymer": "5.0.0-beta.4",
+    "@storybook/preact": "5.0.0-beta.4",
+    "@storybook/react": "5.0.0-beta.4",
+    "@storybook/react-native": "5.0.0-beta.4",
+    "@storybook/riot": "5.0.0-beta.4",
+    "@storybook/ui": "5.0.0-beta.4",
+    "@storybook/vue": "5.0.0-beta.4"
   },
   "publishConfig": {
     "access": "public"
diff --git a/lib/client-api/package.json b/lib/client-api/package.json
index 13b031c5853..a220f9cb7ac 100644
--- a/lib/client-api/package.json
+++ b/lib/client-api/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-api",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook Client API",
   "keywords": [
     "storybook"
@@ -19,9 +19,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
     "common-tags": "^1.8.0",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
index 546d5ca6ffc..60c12dd8be8 100644
--- a/lib/client-logger/package.json
+++ b/lib/client-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-logger",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/codemod/package.json b/lib/codemod/package.json
index f25e2de6dd0..0a3add8b5d0 100644
--- a/lib/codemod/package.json
+++ b/lib/codemod/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/codemod",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "A collection of codemod scripts written with JSCodeshift",
   "keywords": [
     "storybook"
diff --git a/lib/components/package.json b/lib/components/package.json
index d40bf9bb8ad..88a82603dc3 100644
--- a/lib/components/package.json
+++ b/lib/components/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/components",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/router": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/router": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "global": "^4.3.2",
     "immer": "^1.12.0",
     "js-beautify": "^1.8.9",
diff --git a/lib/core-events/package.json b/lib/core-events/package.json
index 00db7b7e6a0..6596b82f511 100644
--- a/lib/core-events/package.json
+++ b/lib/core-events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core-events",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Event names used in storybook core",
   "keywords": [
     "storybook"
diff --git a/lib/core/package.json b/lib/core/package.json
index 5bbc3405095..ca8a888e4af 100644
--- a/lib/core/package.json
+++ b/lib/core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Storybook framework-agnostic API",
   "keywords": [
     "storybook"
@@ -24,14 +24,14 @@
     "@babel/plugin-syntax-dynamic-import": "^7.2.0",
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-env": "^7.3.1",
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/channel-postmessage": "5.0.0-beta.3",
-    "@storybook/client-api": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/node-logger": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
-    "@storybook/ui": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/channel-postmessage": "5.0.0-beta.4",
+    "@storybook/client-api": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/node-logger": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/ui": "5.0.0-beta.4",
     "airbnb-js-shims": "^1 || ^2",
     "autoprefixer": "^9.4.7",
     "babel-plugin-add-react-displayname": "^0.0.5",
diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json
index bc6450b2aa7..9507157b93b 100644
--- a/lib/node-logger/package.json
+++ b/lib/node-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/node-logger",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/router/package.json b/lib/router/package.json
index 744b0c12521..355cee5b2bf 100644
--- a/lib/router/package.json
+++ b/lib/router/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/router",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Core Storybook Router",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
   },
   "dependencies": {
     "@reach/router": "^1.2.1",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/theming": "5.0.0-beta.4",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
     "qs": "^6.5.2"
diff --git a/lib/theming/package.json b/lib/theming/package.json
index 1c831a77c81..756b89617c7 100644
--- a/lib/theming/package.json
+++ b/lib/theming/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/theming",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
diff --git a/lib/ui/package.json b/lib/ui/package.json
index 18e6752b9a3..967f0664f81 100644
--- a/lib/ui/package.json
+++ b/lib/ui/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ui",
-  "version": "5.0.0-beta.3",
+  "version": "5.0.0-beta.4",
   "description": "Core Storybook UI",
   "keywords": [
     "storybook"
@@ -21,12 +21,12 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.3",
-    "@storybook/client-logger": "5.0.0-beta.3",
-    "@storybook/components": "5.0.0-beta.3",
-    "@storybook/core-events": "5.0.0-beta.3",
-    "@storybook/router": "5.0.0-beta.3",
-    "@storybook/theming": "5.0.0-beta.3",
+    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/components": "5.0.0-beta.4",
+    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/router": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-beta.4",
     "eventemitter3": "^3.1.0",
     "fast-deep-equal": "^2.0.1",
     "fuse.js": "^3.3.1",

From c760d659f5bd89ffe92526d8a22c1cf7be33e765 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 11:37:11 +0800
Subject: [PATCH 014/249] Decouple react native release

---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 779ec9c70fb..ce8fafcec97 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
   "workspaces": [
     "addons/*",
     "addons/storyshots/*",
-    "app/*",
+    "app/!(react-native)*",
     "lib/*",
     "examples/*",
     "lib/cli/test/run/*"

From bfcd60a5be4920607b8add080af059368e0cfb41 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 13:10:13 +0800
Subject: [PATCH 015/249] Fix yarn.lock

---
 yarn.lock | 1284 +++++------------------------------------------------
 1 file changed, 112 insertions(+), 1172 deletions(-)

diff --git a/yarn.lock b/yarn.lock
index ed8cf01e448..d5c24a77b71 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1952,6 +1952,51 @@
   resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b"
   integrity sha512-vTCdPp/T/Q3oSqwHmZ5Kpa9oI7iLtGl3RQaA/NyLHikvcrPxACkkKVr/XzkSPJWXHRhKGzVvb0urJsbMlRxi1Q==
 
+"@storybook/react-native@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/react-native/-/react-native-5.0.0-beta.4.tgz#d0b9baea545e156ff4b65590019373eaebbb7a65"
+  integrity sha512-31+FStoAHSEC8G/0Ia9X+PzU3NDWTYbtC7oGXaaGVa+RFso1GOgAIEZR1mz5EAoUfYiqfnAjeyWt5djDxX621w==
+  dependencies:
+    "@storybook/addons" "5.0.0-beta.4"
+    "@storybook/channel-websocket" "5.0.0-beta.4"
+    "@storybook/channels" "5.0.0-beta.4"
+    "@storybook/core" "5.0.0-beta.4"
+    "@storybook/core-events" "5.0.0-beta.4"
+    "@storybook/ui" "5.0.0-beta.4"
+    babel-loader "^8.0.4"
+    babel-plugin-macros "^2.4.5"
+    babel-plugin-syntax-async-functions "^6.13.0"
+    babel-plugin-syntax-trailing-function-commas "^6.22.0"
+    babel-plugin-transform-class-properties "^6.24.1"
+    babel-plugin-transform-object-rest-spread "^6.23.0"
+    babel-plugin-transform-regenerator "^6.26.0"
+    babel-plugin-transform-runtime "^6.23.0"
+    babel-preset-env "^1.7.0"
+    babel-preset-minify "^0.5.0 || 0.6.0-alpha.5"
+    babel-preset-react "^6.24.1"
+    babel-runtime "^6.26.0"
+    case-sensitive-paths-webpack-plugin "^2.2.0"
+    commander "^2.19.0"
+    dotenv-webpack "^1.7.0"
+    ejs "^2.6.1"
+    express "^4.16.3"
+    find-cache-dir "^2.0.0"
+    global "^4.3.2"
+    html-webpack-plugin "^4.0.0-beta.2"
+    json5 "^2.1.0"
+    lazy-universal-dotenv "^2.0.0"
+    prop-types "^15.6.2"
+    raw-loader "^1.0.0"
+    react-dev-utils "^7.0.1"
+    react-native-swipe-gestures "^1.0.2"
+    shelljs "^0.8.2"
+    url-parse "^1.4.3"
+    uuid "^3.3.2"
+    webpack "^4.29.0"
+    webpack-dev-middleware "^3.5.1"
+    webpack-hot-middleware "^2.24.3"
+    ws "^6.1.3"
+
 "@svgr/babel-plugin-add-jsx-attribute@^4.0.0":
   version "4.0.0"
   resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.0.0.tgz#5acf239cd2747b1a36ec7e708de05d914cb9b948"
@@ -2650,24 +2695,13 @@ abbrev@1.0.x:
   version "1.0.9"
   resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
 
-absolute-path@^0.0.0:
-  version "0.0.0"
-  resolved "https://registry.yarnpkg.com/absolute-path/-/absolute-path-0.0.0.tgz#a78762fbdadfb5297be99b15d35a785b2f095bf7"
-
-accepts@^1.3.5, accepts@~1.3.0, accepts@~1.3.4, accepts@~1.3.5:
+accepts@^1.3.5, accepts@~1.3.4, accepts@~1.3.5:
   version "1.3.5"
   resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2"
   dependencies:
     mime-types "~2.1.18"
     negotiator "0.6.1"
 
-accepts@~1.2.12, accepts@~1.2.13:
-  version "1.2.13"
-  resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.2.13.tgz#e5f1f3928c6d95fd96558c36ec3d9d0de4a6ecea"
-  dependencies:
-    mime-types "~2.1.6"
-    negotiator "0.5.3"
-
 acorn-dynamic-import@^3.0.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278"
@@ -2838,22 +2872,10 @@ ansi-align@^3.0.0:
   dependencies:
     string-width "^3.0.0"
 
-ansi-colors@^1.0.1:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-1.1.0.tgz#6374b4dd5d4718ff3ce27a671a3b1cad077132a9"
-  dependencies:
-    ansi-wrap "^0.1.0"
-
 ansi-colors@^3.0.0:
   version "3.2.3"
   resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
 
-ansi-cyan@^0.1.1:
-  version "0.1.1"
-  resolved "https://registry.yarnpkg.com/ansi-cyan/-/ansi-cyan-0.1.1.tgz#538ae528af8982f28ae30d86f2f17456d2609873"
-  dependencies:
-    ansi-wrap "0.1.0"
-
 ansi-escapes@^1.1.0:
   version "1.4.0"
   resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e"
@@ -2862,22 +2884,10 @@ ansi-escapes@^3.0.0:
   version "3.1.0"
   resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30"
 
-ansi-gray@^0.1.1:
-  version "0.1.1"
-  resolved "https://registry.yarnpkg.com/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251"
-  dependencies:
-    ansi-wrap "0.1.0"
-
 ansi-html@0.0.7:
   version "0.0.7"
   resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
 
-ansi-red@^0.1.1:
-  version "0.1.1"
-  resolved "https://registry.yarnpkg.com/ansi-red/-/ansi-red-0.1.1.tgz#8c638f9d1080800a353c9c28c8a81ca4705d946c"
-  dependencies:
-    ansi-wrap "0.1.0"
-
 ansi-regex@^2.0.0:
   version "2.1.1"
   resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
@@ -2900,14 +2910,6 @@ ansi-styles@^3.0.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1:
   dependencies:
     color-convert "^1.9.0"
 
-ansi-wrap@0.1.0, ansi-wrap@^0.1.0:
-  version "0.1.0"
-  resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
-
-ansi@^0.3.0, ansi@~0.3.1:
-  version "0.3.1"
-  resolved "https://registry.yarnpkg.com/ansi/-/ansi-0.3.1.tgz#0c42d4fb17160d5a9af1e484bace1c66922c1b21"
-
 ansicolors@~0.2.1:
   version "0.2.1"
   resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.2.1.tgz#be089599097b74a5c9c4a84a0cdbcdb62bd87aef"
@@ -2962,10 +2964,6 @@ aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"
 
-arch@^2.1.0:
-  version "2.1.1"
-  resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.1.tgz#8f5c2731aa35a30929221bb0640eed65175ec84e"
-
 are-we-there-yet@~1.1.2:
   version "1.1.5"
   resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
@@ -2998,13 +2996,6 @@ aria-query@^3.0.0:
     ast-types-flow "0.0.7"
     commander "^2.11.0"
 
-arr-diff@^1.0.1:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-1.1.0.tgz#687c32758163588fef7de7b36fabe495eb1a399a"
-  dependencies:
-    arr-flatten "^1.0.1"
-    array-slice "^0.2.3"
-
 arr-diff@^2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
@@ -3019,10 +3010,6 @@ arr-flatten@^1.0.1, arr-flatten@^1.1.0:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1"
 
-arr-union@^2.0.1:
-  version "2.1.0"
-  resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-2.1.0.tgz#20f9eab5ec70f5c7d215b1077b1c39161d292c7d"
-
 arr-union@^3.1.0:
   version "3.1.0"
   resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4"
@@ -3070,10 +3057,6 @@ array-reduce@~0.0.0:
   version "0.0.0"
   resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b"
 
-array-slice@^0.2.3:
-  version "0.2.3"
-  resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-0.2.3.tgz#dd3cfb80ed7973a75117cdac69b0b99ec86186f5"
-
 array-to-error@^1.0.0:
   version "1.1.1"
   resolved "https://registry.yarnpkg.com/array-to-error/-/array-to-error-1.1.1.tgz#d68812926d14097a205579a667eeaf1856a44c07"
@@ -3126,10 +3109,6 @@ arrify@^1.0.0, arrify@^1.0.1:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
 
-art@^0.10.0:
-  version "0.10.3"
-  resolved "https://registry.yarnpkg.com/art/-/art-0.10.3.tgz#b01d84a968ccce6208df55a733838c96caeeaea2"
-
 asap@^2.0.0, asap@~2.0.3, asap@~2.0.6:
   version "2.0.6"
   resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
@@ -3232,7 +3211,7 @@ async@^0.9.0, async@^0.9.2:
   version "0.9.2"
   resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
 
-async@^2.1.4, async@^2.4.0, async@^2.4.1, async@^2.5.0, async@^2.6.0:
+async@^2.1.4, async@^2.4.1, async@^2.5.0, async@^2.6.0:
   version "2.6.1"
   resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
   dependencies:
@@ -3309,7 +3288,7 @@ babel-core@7.0.0-bridge.0, babel-core@^7.0.0-bridge.0:
   version "7.0.0-bridge.0"
   resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
 
-babel-core@^6.0.0, babel-core@^6.23.1, babel-core@^6.24.1, babel-core@^6.26.0, babel-core@^6.7.2:
+babel-core@^6.0.0, babel-core@^6.23.1, babel-core@^6.26.0:
   version "6.26.3"
   resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207"
   dependencies:
@@ -3475,7 +3454,7 @@ babel-helper-regex@^6.24.1:
     babel-types "^6.26.0"
     lodash "^4.17.4"
 
-babel-helper-remap-async-to-generator@^6.16.0, babel-helper-remap-async-to-generator@^6.24.1:
+babel-helper-remap-async-to-generator@^6.24.1:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b"
   dependencies:
@@ -3563,7 +3542,7 @@ babel-plugin-add-react-displayname@^0.0.5:
   version "0.0.5"
   resolved "https://registry.yarnpkg.com/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5"
 
-babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0:
+babel-plugin-check-es2015-constants@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a"
   dependencies:
@@ -3626,12 +3605,6 @@ babel-plugin-emotion@^9.2.11:
     source-map "^0.5.7"
     touch "^2.0.1"
 
-babel-plugin-external-helpers@^6.18.0:
-  version "6.22.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz#2285f48b02bd5dede85175caf8c62e86adccefa1"
-  dependencies:
-    babel-runtime "^6.22.0"
-
 babel-plugin-htmlbars-inline-precompile@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-1.0.0.tgz#a9d2f6eaad8a3f3d361602de593a8cbef8179c22"
@@ -3773,37 +3746,27 @@ babel-plugin-react-docgen@^2.0.2:
     react-docgen "^3.0.0"
     recast "^0.14.7"
 
-babel-plugin-react-transform@^3.0.0:
-  version "3.0.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz#402f25137b7bb66e9b54ead75557dfbc7ecaaa74"
-  dependencies:
-    lodash "^4.6.1"
-
 babel-plugin-require-context-hook@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-require-context-hook/-/babel-plugin-require-context-hook-1.0.0.tgz#3f0e7cce87c338f53639b948632fd4e73834632d"
 
-babel-plugin-syntax-async-functions@^6.13.0, babel-plugin-syntax-async-functions@^6.5.0, babel-plugin-syntax-async-functions@^6.8.0:
+babel-plugin-syntax-async-functions@^6.13.0, babel-plugin-syntax-async-functions@^6.8.0:
   version "6.13.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
 
-babel-plugin-syntax-class-properties@^6.5.0, babel-plugin-syntax-class-properties@^6.8.0:
+babel-plugin-syntax-class-properties@^6.8.0:
   version "6.13.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
 
-babel-plugin-syntax-dynamic-import@^6.18.0:
-  version "6.18.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
-
 babel-plugin-syntax-exponentiation-operator@^6.8.0:
   version "6.13.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
 
-babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.5.0, babel-plugin-syntax-flow@^6.8.0:
+babel-plugin-syntax-flow@^6.18.0:
   version "6.18.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
 
-babel-plugin-syntax-jsx@^6.18.0, babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.5.0, babel-plugin-syntax-jsx@^6.8.0:
+babel-plugin-syntax-jsx@^6.18.0, babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0:
   version "6.18.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
 
@@ -3811,18 +3774,10 @@ babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-
   version "6.13.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
 
-babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.22.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0:
+babel-plugin-syntax-trailing-function-commas@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
 
-babel-plugin-transform-async-to-generator@6.16.0:
-  version "6.16.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.16.0.tgz#19ec36cb1486b59f9f468adfa42ce13908ca2999"
-  dependencies:
-    babel-helper-remap-async-to-generator "^6.16.0"
-    babel-plugin-syntax-async-functions "^6.8.0"
-    babel-runtime "^6.0.0"
-
 babel-plugin-transform-async-to-generator@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761"
@@ -3831,7 +3786,7 @@ babel-plugin-transform-async-to-generator@^6.22.0:
     babel-plugin-syntax-async-functions "^6.8.0"
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.8.0:
+babel-plugin-transform-class-properties@^6.24.1:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac"
   dependencies:
@@ -3840,19 +3795,19 @@ babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-pr
     babel-runtime "^6.22.0"
     babel-template "^6.24.1"
 
-babel-plugin-transform-es2015-arrow-functions@^6.22.0, babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0:
+babel-plugin-transform-es2015-arrow-functions@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
   dependencies:
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-block-scoped-functions@^6.22.0, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0:
+babel-plugin-transform-es2015-block-scoped-functions@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141"
   dependencies:
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0:
+babel-plugin-transform-es2015-block-scoping@^6.23.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"
   dependencies:
@@ -3862,7 +3817,7 @@ babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es20
     babel-types "^6.26.0"
     lodash "^4.17.4"
 
-babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0:
+babel-plugin-transform-es2015-classes@^6.23.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"
   dependencies:
@@ -3876,14 +3831,14 @@ babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-cla
     babel-traverse "^6.24.1"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0:
+babel-plugin-transform-es2015-computed-properties@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3"
   dependencies:
     babel-runtime "^6.22.0"
     babel-template "^6.24.1"
 
-babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.23.0, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0:
+babel-plugin-transform-es2015-destructuring@^6.23.0:
   version "6.23.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d"
   dependencies:
@@ -3896,13 +3851,13 @@ babel-plugin-transform-es2015-duplicate-keys@^6.22.0:
     babel-runtime "^6.22.0"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-for-of@^6.23.0, babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0:
+babel-plugin-transform-es2015-for-of@^6.23.0:
   version "6.23.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691"
   dependencies:
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-function-name@6.x, babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.5.0, babel-plugin-transform-es2015-function-name@^6.8.0:
+babel-plugin-transform-es2015-function-name@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b"
   dependencies:
@@ -3910,7 +3865,7 @@ babel-plugin-transform-es2015-function-name@6.x, babel-plugin-transform-es2015-f
     babel-runtime "^6.22.0"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-literals@^6.22.0, babel-plugin-transform-es2015-literals@^6.5.0, babel-plugin-transform-es2015-literals@^6.8.0:
+babel-plugin-transform-es2015-literals@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e"
   dependencies:
@@ -3924,7 +3879,7 @@ babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015
     babel-runtime "^6.22.0"
     babel-template "^6.24.1"
 
-babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0:
+babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1:
   version "6.26.2"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3"
   dependencies:
@@ -3949,14 +3904,14 @@ babel-plugin-transform-es2015-modules-umd@^6.23.0:
     babel-runtime "^6.22.0"
     babel-template "^6.24.1"
 
-babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.8.0:
+babel-plugin-transform-es2015-object-super@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d"
   dependencies:
     babel-helper-replace-supers "^6.24.1"
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0:
+babel-plugin-transform-es2015-parameters@^6.23.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b"
   dependencies:
@@ -3967,20 +3922,20 @@ babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-para
     babel-traverse "^6.24.1"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.5.0, babel-plugin-transform-es2015-shorthand-properties@^6.8.0:
+babel-plugin-transform-es2015-shorthand-properties@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0"
   dependencies:
     babel-runtime "^6.22.0"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.22.0, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0:
+babel-plugin-transform-es2015-spread@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1"
   dependencies:
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-sticky-regex@6.x, babel-plugin-transform-es2015-sticky-regex@^6.22.0:
+babel-plugin-transform-es2015-sticky-regex@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc"
   dependencies:
@@ -3988,7 +3943,7 @@ babel-plugin-transform-es2015-sticky-regex@6.x, babel-plugin-transform-es2015-st
     babel-runtime "^6.22.0"
     babel-types "^6.24.1"
 
-babel-plugin-transform-es2015-template-literals@^6.22.0, babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0:
+babel-plugin-transform-es2015-template-literals@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d"
   dependencies:
@@ -4000,7 +3955,7 @@ babel-plugin-transform-es2015-typeof-symbol@^6.23.0:
   dependencies:
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-es2015-unicode-regex@6.x, babel-plugin-transform-es2015-unicode-regex@^6.22.0:
+babel-plugin-transform-es2015-unicode-regex@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9"
   dependencies:
@@ -4008,19 +3963,7 @@ babel-plugin-transform-es2015-unicode-regex@6.x, babel-plugin-transform-es2015-u
     babel-runtime "^6.22.0"
     regexpu-core "^2.0.0"
 
-babel-plugin-transform-es3-member-expression-literals@^6.8.0:
-  version "6.22.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz#733d3444f3ecc41bef8ed1a6a4e09657b8969ebb"
-  dependencies:
-    babel-runtime "^6.22.0"
-
-babel-plugin-transform-es3-property-literals@^6.8.0:
-  version "6.22.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz#b2078d5842e22abf40f73e8cde9cd3711abd5758"
-  dependencies:
-    babel-runtime "^6.22.0"
-
-babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.5.0:
+babel-plugin-transform-exponentiation-operator@^6.22.0:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
   dependencies:
@@ -4028,7 +3971,7 @@ babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-e
     babel-plugin-syntax-exponentiation-operator "^6.8.0"
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.8.0:
+babel-plugin-transform-flow-strip-types@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
   dependencies:
@@ -4051,13 +3994,7 @@ babel-plugin-transform-minify-booleans@^6.9.4:
   version "6.9.4"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.4.tgz#acbb3e56a3555dd23928e4b582d285162dd2b198"
 
-babel-plugin-transform-object-assign@^6.5.0:
-  version "6.22.0"
-  resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz#f99d2f66f1a0b0d498e346c5359684740caa20ba"
-  dependencies:
-    babel-runtime "^6.22.0"
-
-babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.23.0, babel-plugin-transform-object-rest-spread@^6.26.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0:
+babel-plugin-transform-object-rest-spread@^6.23.0, babel-plugin-transform-object-rest-spread@^6.26.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
   dependencies:
@@ -4070,7 +4007,7 @@ babel-plugin-transform-property-literals@^6.9.4:
   dependencies:
     esutils "^2.0.2"
 
-babel-plugin-transform-react-display-name@^6.23.0, babel-plugin-transform-react-display-name@^6.5.0, babel-plugin-transform-react-display-name@^6.8.0:
+babel-plugin-transform-react-display-name@^6.23.0:
   version "6.25.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz#67e2bf1f1e9c93ab08db96792e05392bf2cc28d1"
   dependencies:
@@ -4083,14 +4020,14 @@ babel-plugin-transform-react-jsx-self@^6.22.0:
     babel-plugin-syntax-jsx "^6.8.0"
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-react-jsx-source@^6.22.0, babel-plugin-transform-react-jsx-source@^6.5.0:
+babel-plugin-transform-react-jsx-source@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz#66ac12153f5cd2d17b3c19268f4bf0197f44ecd6"
   dependencies:
     babel-plugin-syntax-jsx "^6.8.0"
     babel-runtime "^6.22.0"
 
-babel-plugin-transform-react-jsx@^6.24.1, babel-plugin-transform-react-jsx@^6.5.0, babel-plugin-transform-react-jsx@^6.8.0:
+babel-plugin-transform-react-jsx@^6.24.1:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz#840a028e7df460dfc3a2d29f0c0d91f6376e66a3"
   dependencies:
@@ -4102,7 +4039,7 @@ babel-plugin-transform-react-remove-prop-types@0.4.20:
   version "0.4.20"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.20.tgz#688bdea1e27ea0023775dea817fa2d3f8df8802b"
 
-babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.26.0, babel-plugin-transform-regenerator@^6.5.0:
+babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.26.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f"
   dependencies:
@@ -4196,53 +4133,6 @@ babel-preset-env@^1.7.0:
     invariant "^2.2.2"
     semver "^5.3.0"
 
-babel-preset-es2015-node@^6.1.1:
-  version "6.1.1"
-  resolved "https://registry.yarnpkg.com/babel-preset-es2015-node/-/babel-preset-es2015-node-6.1.1.tgz#60b23157024b0cfebf3a63554cb05ee035b4e55f"
-  dependencies:
-    babel-plugin-transform-es2015-destructuring "6.x"
-    babel-plugin-transform-es2015-function-name "6.x"
-    babel-plugin-transform-es2015-modules-commonjs "6.x"
-    babel-plugin-transform-es2015-parameters "6.x"
-    babel-plugin-transform-es2015-shorthand-properties "6.x"
-    babel-plugin-transform-es2015-spread "6.x"
-    babel-plugin-transform-es2015-sticky-regex "6.x"
-    babel-plugin-transform-es2015-unicode-regex "6.x"
-    semver "5.x"
-
-babel-preset-fbjs@^2.1.2, babel-preset-fbjs@^2.1.4:
-  version "2.3.0"
-  resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-2.3.0.tgz#92ff81307c18b926895114f9828ae1674c097f80"
-  dependencies:
-    babel-plugin-check-es2015-constants "^6.8.0"
-    babel-plugin-syntax-class-properties "^6.8.0"
-    babel-plugin-syntax-flow "^6.8.0"
-    babel-plugin-syntax-jsx "^6.8.0"
-    babel-plugin-syntax-object-rest-spread "^6.8.0"
-    babel-plugin-syntax-trailing-function-commas "^6.8.0"
-    babel-plugin-transform-class-properties "^6.8.0"
-    babel-plugin-transform-es2015-arrow-functions "^6.8.0"
-    babel-plugin-transform-es2015-block-scoped-functions "^6.8.0"
-    babel-plugin-transform-es2015-block-scoping "^6.8.0"
-    babel-plugin-transform-es2015-classes "^6.8.0"
-    babel-plugin-transform-es2015-computed-properties "^6.8.0"
-    babel-plugin-transform-es2015-destructuring "^6.8.0"
-    babel-plugin-transform-es2015-for-of "^6.8.0"
-    babel-plugin-transform-es2015-function-name "^6.8.0"
-    babel-plugin-transform-es2015-literals "^6.8.0"
-    babel-plugin-transform-es2015-modules-commonjs "^6.8.0"
-    babel-plugin-transform-es2015-object-super "^6.8.0"
-    babel-plugin-transform-es2015-parameters "^6.8.0"
-    babel-plugin-transform-es2015-shorthand-properties "^6.8.0"
-    babel-plugin-transform-es2015-spread "^6.8.0"
-    babel-plugin-transform-es2015-template-literals "^6.8.0"
-    babel-plugin-transform-es3-member-expression-literals "^6.8.0"
-    babel-plugin-transform-es3-property-literals "^6.8.0"
-    babel-plugin-transform-flow-strip-types "^6.8.0"
-    babel-plugin-transform-object-rest-spread "^6.8.0"
-    babel-plugin-transform-react-display-name "^6.8.0"
-    babel-plugin-transform-react-jsx "^6.8.0"
-
 babel-preset-flow@^6.23.0:
   version "6.23.0"
   resolved "https://registry.yarnpkg.com/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz#e71218887085ae9a24b5be4169affb599816c49d"
@@ -4315,43 +4205,6 @@ babel-preset-react-app@^7.0.0:
     babel-plugin-macros "2.4.2"
     babel-plugin-transform-react-remove-prop-types "0.4.20"
 
-babel-preset-react-native@^4.0.0:
-  version "4.0.1"
-  resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-4.0.1.tgz#14ff07bdb6c8df9408082c0c18b2ce8e3392e76a"
-  dependencies:
-    babel-plugin-check-es2015-constants "^6.5.0"
-    babel-plugin-react-transform "^3.0.0"
-    babel-plugin-syntax-async-functions "^6.5.0"
-    babel-plugin-syntax-class-properties "^6.5.0"
-    babel-plugin-syntax-dynamic-import "^6.18.0"
-    babel-plugin-syntax-flow "^6.5.0"
-    babel-plugin-syntax-jsx "^6.5.0"
-    babel-plugin-syntax-trailing-function-commas "^6.5.0"
-    babel-plugin-transform-class-properties "^6.5.0"
-    babel-plugin-transform-es2015-arrow-functions "^6.5.0"
-    babel-plugin-transform-es2015-block-scoping "^6.5.0"
-    babel-plugin-transform-es2015-classes "^6.5.0"
-    babel-plugin-transform-es2015-computed-properties "^6.5.0"
-    babel-plugin-transform-es2015-destructuring "^6.5.0"
-    babel-plugin-transform-es2015-for-of "^6.5.0"
-    babel-plugin-transform-es2015-function-name "^6.5.0"
-    babel-plugin-transform-es2015-literals "^6.5.0"
-    babel-plugin-transform-es2015-modules-commonjs "^6.5.0"
-    babel-plugin-transform-es2015-parameters "^6.5.0"
-    babel-plugin-transform-es2015-shorthand-properties "^6.5.0"
-    babel-plugin-transform-es2015-spread "^6.5.0"
-    babel-plugin-transform-es2015-template-literals "^6.5.0"
-    babel-plugin-transform-exponentiation-operator "^6.5.0"
-    babel-plugin-transform-flow-strip-types "^6.5.0"
-    babel-plugin-transform-object-assign "^6.5.0"
-    babel-plugin-transform-object-rest-spread "^6.5.0"
-    babel-plugin-transform-react-display-name "^6.5.0"
-    babel-plugin-transform-react-jsx "^6.5.0"
-    babel-plugin-transform-react-jsx-source "^6.5.0"
-    babel-plugin-transform-regenerator "^6.5.0"
-    babel-template "^6.24.1"
-    react-transform-hmr "^1.0.4"
-
 babel-preset-react@^6.24.1:
   version "6.24.1"
   resolved "https://registry.yarnpkg.com/babel-preset-react/-/babel-preset-react-6.24.1.tgz#ba69dfaea45fc3ec639b6a4ecea6e17702c91380"
@@ -4373,7 +4226,7 @@ babel-preset-vue@^2.0.2:
     babel-plugin-syntax-jsx "^6.18.0"
     babel-plugin-transform-vue-jsx "^3.5.0"
 
-babel-register@^6.24.1, babel-register@^6.26.0:
+babel-register@^6.26.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
   dependencies:
@@ -4385,7 +4238,7 @@ babel-register@^6.24.1, babel-register@^6.26.0:
     mkdirp "^0.5.1"
     source-map-support "^0.4.15"
 
-babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
+babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
   dependencies:
@@ -4455,22 +4308,10 @@ base64-arraybuffer@0.1.5:
   version "0.1.5"
   resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8"
 
-base64-js@0.0.8:
-  version "0.0.8"
-  resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-0.0.8.tgz#1101e9544f4a76b1bc3b26d452ca96d7a35e7978"
-
-base64-js@1.1.2:
-  version "1.1.2"
-  resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.1.2.tgz#d6400cac1c4c660976d90d07a04351d89395f5e8"
-
-base64-js@^1.0.2, base64-js@^1.1.2:
+base64-js@^1.0.2:
   version "1.3.0"
   resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3"
 
-base64-url@1.2.1:
-  version "1.2.1"
-  resolved "https://registry.yarnpkg.com/base64-url/-/base64-url-1.2.1.tgz#199fd661702a0e7b7dcae6e0698bb089c52f6d78"
-
 base64id@1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/base64id/-/base64id-1.0.0.tgz#47688cb99bb6804f0e06d3e763b1c32e57d8e6b6"
@@ -4487,28 +4328,16 @@ base@^0.11.1:
     mixin-deep "^1.2.0"
     pascalcase "^0.1.1"
 
-basic-auth-connect@1.0.0:
-  version "1.0.0"
-  resolved "https://registry.yarnpkg.com/basic-auth-connect/-/basic-auth-connect-1.0.0.tgz#fdb0b43962ca7b40456a7c2bb48fe173da2d2122"
-
 basic-auth-parser@0.0.2:
   version "0.0.2"
   resolved "https://registry.yarnpkg.com/basic-auth-parser/-/basic-auth-parser-0.0.2.tgz#ce9e71a77f23c1279eecd2659b2a46244c156e41"
 
-basic-auth@~1.0.3:
-  version "1.0.4"
-  resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-1.0.4.tgz#030935b01de7c9b94a824b29f3fccb750d3a5290"
-
 basic-auth@~2.0.0:
   version "2.0.1"
   resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a"
   dependencies:
     safe-buffer "5.1.2"
 
-batch@0.5.3:
-  version "0.5.3"
-  resolved "https://registry.yarnpkg.com/batch/-/batch-0.5.3.tgz#3f3414f380321743bfc1042f9a83ff1d5824d464"
-
 batch@0.6.1:
   version "0.6.1"
   resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16"
@@ -4538,10 +4367,6 @@ bfj@6.1.1:
     hoopy "^0.1.2"
     tryer "^1.0.0"
 
-big-integer@^1.6.7:
-  version "1.6.40"
-  resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.40.tgz#02e4cd4d6e266c4d9ece2469c05cb6439149fc78"
-
 big.js@^3.1.3:
   version "3.2.0"
   resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
@@ -4618,21 +4443,6 @@ body-parser@1.18.3:
     raw-body "2.3.3"
     type-is "~1.6.16"
 
-body-parser@~1.13.3:
-  version "1.13.3"
-  resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.13.3.tgz#c08cf330c3358e151016a05746f13f029c97fa97"
-  dependencies:
-    bytes "2.1.0"
-    content-type "~1.0.1"
-    debug "~2.2.0"
-    depd "~1.0.1"
-    http-errors "~1.3.1"
-    iconv-lite "0.4.11"
-    on-finished "~2.3.0"
-    qs "4.0.0"
-    raw-body "~2.1.2"
-    type-is "~1.6.6"
-
 body@^5.1.0:
   version "5.1.0"
   resolved "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz#e4ba0ce410a46936323367609ecb4e6553125069"
@@ -4695,18 +4505,6 @@ boxen@^2.1.0:
     term-size "^1.2.0"
     widest-line "^2.0.0"
 
-bplist-creator@0.0.7:
-  version "0.0.7"
-  resolved "https://registry.yarnpkg.com/bplist-creator/-/bplist-creator-0.0.7.tgz#37df1536092824b87c42f957b01344117372ae45"
-  dependencies:
-    stream-buffers "~2.2.0"
-
-bplist-parser@0.1.1:
-  version "0.1.1"
-  resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6"
-  dependencies:
-    big-integer "^1.6.7"
-
 brace-expansion@^1.1.7:
   version "1.1.11"
   resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
@@ -5422,14 +5220,6 @@ bytes@1:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8"
 
-bytes@2.1.0:
-  version "2.1.0"
-  resolved "https://registry.yarnpkg.com/bytes/-/bytes-2.1.0.tgz#ac93c410e2ffc9cc7cf4b464b38289067f5e47b4"
-
-bytes@2.4.0:
-  version "2.4.0"
-  resolved "https://registry.yarnpkg.com/bytes/-/bytes-2.4.0.tgz#7d97196f9d5baf7f6935e25985549edd2a6c2339"
-
 bytes@3.0.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
@@ -5691,10 +5481,6 @@ character-reference-invalid@^1.0.0:
   version "1.1.2"
   resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.2.tgz#21e421ad3d84055952dab4a43a04e73cd425d3ed"
 
-chardet@^0.4.0:
-  version "0.4.2"
-  resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2"
-
 chardet@^0.7.0:
   version "0.7.0"
   resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
@@ -5903,13 +5689,6 @@ clipboard@^2.0.0:
     select "^1.1.2"
     tiny-emitter "^2.0.0"
 
-clipboardy@^1.2.2:
-  version "1.2.3"
-  resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef"
-  dependencies:
-    arch "^2.1.0"
-    execa "^0.8.0"
-
 cliui@^3.2.0:
   version "3.2.0"
   resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
@@ -6048,10 +5827,6 @@ color-string@^1.5.2:
     color-name "^1.0.0"
     simple-swizzle "^0.2.2"
 
-color-support@^1.1.3:
-  version "1.1.3"
-  resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
-
 color@^3.0.0:
   version "3.1.0"
   resolved "https://registry.yarnpkg.com/color/-/color-3.1.0.tgz#d8e9fb096732875774c84bf922815df0308d0ffc"
@@ -6154,7 +5929,7 @@ component-inherit@0.0.3:
   version "0.0.3"
   resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143"
 
-compressible@~2.0.14, compressible@~2.0.5:
+compressible@~2.0.14:
   version "2.0.15"
   resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.15.tgz#857a9ab0a7e5a07d8d837ed43fe2defff64fe212"
   dependencies:
@@ -6172,17 +5947,6 @@ compression@^1.5.2, compression@^1.7.3:
     safe-buffer "5.1.2"
     vary "~1.1.2"
 
-compression@~1.5.2:
-  version "1.5.2"
-  resolved "https://registry.yarnpkg.com/compression/-/compression-1.5.2.tgz#b03b8d86e6f8ad29683cba8df91ddc6ffc77b395"
-  dependencies:
-    accepts "~1.2.12"
-    bytes "2.1.0"
-    compressible "~2.0.5"
-    debug "~2.2.0"
-    on-headers "~1.0.0"
-    vary "~1.0.1"
-
 concat-map@0.0.1:
   version "0.0.1"
   resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -6247,52 +6011,7 @@ connect-history-api-fallback@^1.3.0:
   version "1.6.0"
   resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc"
 
-connect-timeout@~1.6.2:
-  version "1.6.2"
-  resolved "https://registry.yarnpkg.com/connect-timeout/-/connect-timeout-1.6.2.tgz#de9a5ec61e33a12b6edaab7b5f062e98c599b88e"
-  dependencies:
-    debug "~2.2.0"
-    http-errors "~1.3.1"
-    ms "0.7.1"
-    on-headers "~1.0.0"
-
-connect@^2.8.3:
-  version "2.30.2"
-  resolved "https://registry.yarnpkg.com/connect/-/connect-2.30.2.tgz#8da9bcbe8a054d3d318d74dfec903b5c39a1b609"
-  dependencies:
-    basic-auth-connect "1.0.0"
-    body-parser "~1.13.3"
-    bytes "2.1.0"
-    compression "~1.5.2"
-    connect-timeout "~1.6.2"
-    content-type "~1.0.1"
-    cookie "0.1.3"
-    cookie-parser "~1.3.5"
-    cookie-signature "1.0.6"
-    csurf "~1.8.3"
-    debug "~2.2.0"
-    depd "~1.0.1"
-    errorhandler "~1.4.2"
-    express-session "~1.11.3"
-    finalhandler "0.4.0"
-    fresh "0.3.0"
-    http-errors "~1.3.1"
-    method-override "~2.3.5"
-    morgan "~1.6.1"
-    multiparty "3.3.2"
-    on-headers "~1.0.0"
-    parseurl "~1.3.0"
-    pause "0.1.0"
-    qs "4.0.0"
-    response-time "~2.3.1"
-    serve-favicon "~2.3.0"
-    serve-index "~1.7.2"
-    serve-static "~1.10.0"
-    type-is "~1.6.6"
-    utils-merge "1.0.0"
-    vhost "~3.0.1"
-
-connect@^3.6.5, connect@^3.6.6:
+connect@^3.6.6:
   version "3.6.6"
   resolved "https://registry.yarnpkg.com/connect/-/connect-3.6.6.tgz#09eff6c55af7236e137135a72574858b6786f524"
   dependencies:
@@ -6340,7 +6059,7 @@ content-disposition@0.5.2:
   version "0.5.2"
   resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
 
-content-type@^1.0.4, content-type@~1.0.1, content-type@~1.0.4:
+content-type@^1.0.4, content-type@~1.0.4:
   version "1.0.4"
   resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
 
@@ -6434,21 +6153,10 @@ convert-source-map@~1.1.0:
   version "1.1.3"
   resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860"
 
-cookie-parser@~1.3.5:
-  version "1.3.5"
-  resolved "https://registry.yarnpkg.com/cookie-parser/-/cookie-parser-1.3.5.tgz#9d755570fb5d17890771227a02314d9be7cf8356"
-  dependencies:
-    cookie "0.1.3"
-    cookie-signature "1.0.6"
-
 cookie-signature@1.0.6:
   version "1.0.6"
   resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
 
-cookie@0.1.3:
-  version "0.1.3"
-  resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.1.3.tgz#e734a5c1417fce472d5aef82c381cabb64d1a435"
-
 cookie@0.3.1:
   version "0.3.1"
   resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
@@ -6512,7 +6220,7 @@ core-js@^1.0.0:
   version "1.2.7"
   resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
 
-core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.5.7, core-js@^2.6.2:
+core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7, core-js@^2.6.2:
   version "2.6.2"
   resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.2.tgz#267988d7268323b349e20b4588211655f0e83944"
 
@@ -6568,10 +6276,6 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.0.2, cosmiconfig@^5.0.5, cosmiconfig@^5.0.6,
     js-yaml "^3.9.0"
     parse-json "^4.0.0"
 
-crc@3.3.0:
-  version "3.3.0"
-  resolved "https://registry.yarnpkg.com/crc/-/crc-3.3.0.tgz#fa622e1bc388bf257309082d6b65200ce67090ba"
-
 create-ecdh@^4.0.0:
   version "4.0.3"
   resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
@@ -6618,14 +6322,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
     safe-buffer "^5.0.1"
     sha.js "^2.4.8"
 
-create-react-class@^15.5.2:
-  version "15.6.3"
-  resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.3.tgz#2d73237fb3f970ae6ebe011a9e66f46dbca80036"
-  dependencies:
-    fbjs "^0.8.9"
-    loose-envify "^1.3.1"
-    object-assign "^4.1.1"
-
 create-react-context@<=0.2.2:
   version "0.2.2"
   resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.2.tgz#9836542f9aaa22868cd7d4a6f82667df38019dca"
@@ -6678,7 +6374,7 @@ cross-spawn@^4.0.2:
     lru-cache "^4.0.1"
     which "^1.2.9"
 
-cross-spawn@^5.0.1, cross-spawn@^5.1.0:
+cross-spawn@^5.0.1:
   version "5.1.0"
   resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
   dependencies:
@@ -6706,14 +6402,6 @@ crypto-random-string@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
 
-csrf@~3.0.0:
-  version "3.0.6"
-  resolved "https://registry.yarnpkg.com/csrf/-/csrf-3.0.6.tgz#b61120ddceeafc91e76ed5313bb5c0b2667b710a"
-  dependencies:
-    rndm "1.2.0"
-    tsscmp "1.0.5"
-    uid-safe "2.1.4"
-
 css-color-names@0.0.4, css-color-names@^0.0.4:
   version "0.0.4"
   resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
@@ -6926,15 +6614,6 @@ csstype@^2.2.0, csstype@^2.5.2, csstype@^2.5.7:
   version "2.6.0"
   resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.0.tgz#6cf7b2fa7fc32aab3d746802c244d4eda71371a2"
 
-csurf@~1.8.3:
-  version "1.8.3"
-  resolved "https://registry.yarnpkg.com/csurf/-/csurf-1.8.3.tgz#23f2a13bf1d8fce1d0c996588394442cba86a56a"
-  dependencies:
-    cookie "0.1.3"
-    cookie-signature "1.0.6"
-    csrf "~3.0.0"
-    http-errors "~1.3.1"
-
 currently-unhandled@^0.4.1:
   version "0.4.1"
   resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
@@ -7063,12 +6742,6 @@ debug@^3.0.1, debug@^3.1.0, debug@^3.2.5:
   dependencies:
     ms "^2.1.1"
 
-debug@~2.2.0:
-  version "2.2.0"
-  resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
-  dependencies:
-    ms "0.7.1"
-
 debuglog@^1.0.1:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -7217,11 +6890,7 @@ denodeify@^1.2.1:
   version "1.2.1"
   resolved "https://registry.yarnpkg.com/denodeify/-/denodeify-1.2.1.tgz#3a36287f5034e699e7577901052c2e6c94251631"
 
-depd@~1.0.1:
-  version "1.0.1"
-  resolved "https://registry.yarnpkg.com/depd/-/depd-1.0.1.tgz#80aec64c9d6d97e65cc2a9caa93c0aa6abf73aaa"
-
-depd@~1.1.0, depd@~1.1.2:
+depd@~1.1.2:
   version "1.1.2"
   resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
 
@@ -8038,16 +7707,6 @@ env-ci@^2.1.0:
     execa "^1.0.0"
     java-properties "^0.2.9"
 
-envinfo@^3.0.0:
-  version "3.11.1"
-  resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.11.1.tgz#45968faf5079aa797b7dcdc3b123f340d4529e1c"
-  dependencies:
-    clipboardy "^1.2.2"
-    glob "^7.1.2"
-    minimist "^1.2.0"
-    os-name "^2.0.1"
-    which "^1.2.14"
-
 enzyme-adapter-react-16@^1.9.1:
   version "1.9.1"
   resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.9.1.tgz#6d49a3a31c3a0fccf527610f31b837e0f307128a"
@@ -8137,13 +7796,6 @@ error@^7.0.0:
     string-template "~0.2.1"
     xtend "~4.0.0"
 
-errorhandler@~1.4.2:
-  version "1.4.3"
-  resolved "https://registry.yarnpkg.com/errorhandler/-/errorhandler-1.4.3.tgz#b7b70ed8f359e9db88092f2d20c0f831420ad83f"
-  dependencies:
-    accepts "~1.3.0"
-    escape-html "~1.0.3"
-
 es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.4.3, es-abstract@^1.5.0, es-abstract@^1.5.1, es-abstract@^1.7.0, es-abstract@^1.9.0:
   version "1.13.0"
   resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"
@@ -8215,10 +7867,6 @@ es6-templates@^0.2.3:
     recast "~0.11.12"
     through "~2.3.6"
 
-escape-html@1.0.2:
-  version "1.0.2"
-  resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.2.tgz#d77d32fa98e38c2f41ae85e9278e0e0e6ba1022c"
-
 escape-html@^1.0.3, escape-html@~1.0.3:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -8614,18 +8262,10 @@ esutils@^2.0.0, esutils@^2.0.2:
   version "2.0.2"
   resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
 
-etag@~1.7.0:
-  version "1.7.0"
-  resolved "https://registry.yarnpkg.com/etag/-/etag-1.7.0.tgz#03d30b5f67dd6e632d2945d30d6652731a34d5d8"
-
 etag@~1.8.1:
   version "1.8.1"
   resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
 
-event-target-shim@^1.0.5:
-  version "1.1.1"
-  resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-1.1.1.tgz#a86e5ee6bdaa16054475da797ccddf0c55698491"
-
 eventemitter3@^3.0.0, eventemitter3@^3.1.0:
   version "3.1.0"
   resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163"
@@ -8713,18 +8353,6 @@ execa@^0.7.0:
     signal-exit "^3.0.0"
     strip-eof "^1.0.0"
 
-execa@^0.8.0:
-  version "0.8.0"
-  resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da"
-  dependencies:
-    cross-spawn "^5.0.1"
-    get-stream "^3.0.0"
-    is-stream "^1.1.0"
-    npm-run-path "^2.0.0"
-    p-finally "^1.0.0"
-    signal-exit "^3.0.0"
-    strip-eof "^1.0.0"
-
 execa@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
@@ -8817,20 +8445,6 @@ express-graphql@^0.7.1:
     http-errors "^1.7.1"
     raw-body "^2.3.3"
 
-express-session@~1.11.3:
-  version "1.11.3"
-  resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.11.3.tgz#5cc98f3f5ff84ed835f91cbf0aabd0c7107400af"
-  dependencies:
-    cookie "0.1.3"
-    cookie-signature "1.0.6"
-    crc "3.3.0"
-    debug "~2.2.0"
-    depd "~1.0.1"
-    on-headers "~1.0.0"
-    parseurl "~1.3.0"
-    uid-safe "~2.0.0"
-    utils-merge "1.0.0"
-
 express@^4.10.7, express@^4.16.2, express@^4.16.3:
   version "4.16.4"
   resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e"
@@ -8866,12 +8480,6 @@ express@^4.10.7, express@^4.16.2, express@^4.16.3:
     utils-merge "1.0.1"
     vary "~1.1.2"
 
-extend-shallow@^1.1.2:
-  version "1.1.4"
-  resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-1.1.4.tgz#19d6bf94dfc09d76ba711f39b872d21ff4dd9071"
-  dependencies:
-    kind-of "^1.1.0"
-
 extend-shallow@^2.0.1:
   version "2.0.1"
   resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
@@ -8897,14 +8505,6 @@ external-editor@^1.1.0:
     spawn-sync "^1.0.15"
     tmp "^0.0.29"
 
-external-editor@^2.0.4:
-  version "2.2.0"
-  resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5"
-  dependencies:
-    chardet "^0.4.0"
-    iconv-lite "^0.4.17"
-    tmp "^0.0.33"
-
 external-editor@^3.0.0:
   version "3.0.3"
   resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27"
@@ -8949,15 +8549,6 @@ extsprintf@^1.2.0:
   version "1.4.0"
   resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
 
-fancy-log@^1.3.2:
-  version "1.3.3"
-  resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
-  dependencies:
-    ansi-gray "^0.1.1"
-    color-support "^1.1.3"
-    parse-node-version "^1.0.0"
-    time-stamp "^1.0.0"
-
 fashion-model-defaults@^1.0.1:
   version "1.1.1"
   resolved "https://registry.yarnpkg.com/fashion-model-defaults/-/fashion-model-defaults-1.1.1.tgz#ef556cbe1616161a66d83e472794592c65f129a8"
@@ -9047,22 +8638,7 @@ fb-watchman@^2.0.0:
   dependencies:
     bser "^2.0.0"
 
-fbjs-scripts@^0.8.1:
-  version "0.8.3"
-  resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.8.3.tgz#b854de7a11e62a37f72dab9aaf4d9b53c4a03174"
-  dependencies:
-    ansi-colors "^1.0.1"
-    babel-core "^6.7.2"
-    babel-preset-fbjs "^2.1.2"
-    core-js "^2.4.1"
-    cross-spawn "^5.1.0"
-    fancy-log "^1.3.2"
-    object-assign "^4.0.1"
-    plugin-error "^0.1.2"
-    semver "^5.1.0"
-    through2 "^2.0.0"
-
-fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.4, fbjs@^0.8.9:
+fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4:
   version "0.8.17"
   resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
   dependencies:
@@ -9167,15 +8743,6 @@ fill-range@^4.0.0:
     repeat-string "^1.6.1"
     to-regex-range "^2.1.0"
 
-finalhandler@0.4.0:
-  version "0.4.0"
-  resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-0.4.0.tgz#965a52d9e8d05d2b857548541fb89b53a2497d9b"
-  dependencies:
-    debug "~2.2.0"
-    escape-html "1.0.2"
-    on-finished "~2.3.0"
-    unpipe "~1.0.0"
-
 finalhandler@1.1.0:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
@@ -9422,10 +8989,6 @@ fragment-cache@^0.2.1:
   dependencies:
     map-cache "^0.2.2"
 
-fresh@0.3.0:
-  version "0.3.0"
-  resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.3.0.tgz#651f838e22424e7566de161d8358caa199f83d4f"
-
 fresh@0.5.2:
   version "0.5.2"
   resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
@@ -9476,14 +9039,6 @@ fs-extra@^0.30.0:
     path-is-absolute "^1.0.0"
     rimraf "^2.2.8"
 
-fs-extra@^1.0.0:
-  version "1.0.0"
-  resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
-  dependencies:
-    graceful-fs "^4.1.2"
-    jsonfile "^2.1.0"
-    klaw "^1.0.0"
-
 fs-extra@^4.0.2, fs-extra@^4.0.3:
   version "4.0.3"
   resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
@@ -9624,16 +9179,6 @@ g-status@^2.0.2:
     matcher "^1.0.0"
     simple-git "^1.85.0"
 
-gauge@~1.2.5:
-  version "1.2.7"
-  resolved "https://registry.yarnpkg.com/gauge/-/gauge-1.2.7.tgz#e9cec5483d3d4ee0ef44b60a7d99e4935e136d93"
-  dependencies:
-    ansi "^0.3.0"
-    has-unicode "^2.0.0"
-    lodash.pad "^4.1.0"
-    lodash.padend "^4.1.0"
-    lodash.padstart "^4.1.0"
-
 gauge@~2.7.3:
   version "2.7.4"
   resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
@@ -9875,7 +9420,7 @@ global-prefix@^1.0.1:
     is-windows "^1.0.1"
     which "^1.2.14"
 
-global@^4.3.0, global@^4.3.2:
+global@^4.3.2:
   version "4.3.2"
   resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f"
   dependencies:
@@ -10491,13 +10036,6 @@ http-errors@^1.7.1:
     statuses ">= 1.5.0 < 2"
     toidentifier "1.0.0"
 
-http-errors@~1.3.1:
-  version "1.3.1"
-  resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.3.1.tgz#197e22cdebd4198585e8694ef6786197b91ed942"
-  dependencies:
-    inherits "~2.0.1"
-    statuses "1"
-
 http-parser-js@>=0.4.0:
   version "0.5.0"
   resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.0.tgz#d65edbede84349d0dc30320815a15d39cc3cbbd8"
@@ -10583,21 +10121,13 @@ hyperlinker@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/hyperlinker/-/hyperlinker-1.0.0.tgz#23dc9e38a206b208ee49bc2d6c8ef47027df0c0e"
 
-iconv-lite@0.4.11:
-  version "0.4.11"
-  resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.11.tgz#2ecb42fd294744922209a2e7c404dac8793d8ade"
-
-iconv-lite@0.4.13:
-  version "0.4.13"
-  resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2"
-
 iconv-lite@0.4.23:
   version "0.4.23"
   resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
   dependencies:
     safer-buffer ">= 2.1.2 < 3"
 
-iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
+iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
   version "0.4.24"
   resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
   dependencies:
@@ -10654,7 +10184,7 @@ ignoring-watcher@^1.0.5:
     chokidar "^1.4.3"
     raptor-util "^1.0.7"
 
-image-size@^0.6.0, image-size@^0.6.3:
+image-size@^0.6.3:
   version "0.6.3"
   resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.6.3.tgz#e7e5c65bb534bd7cdcedd6cb5166272a85f75fb2"
 
@@ -10869,25 +10399,6 @@ inquirer@^2:
     strip-ansi "^3.0.0"
     through "^2.3.6"
 
-inquirer@^3.0.6:
-  version "3.3.0"
-  resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9"
-  dependencies:
-    ansi-escapes "^3.0.0"
-    chalk "^2.0.0"
-    cli-cursor "^2.1.0"
-    cli-width "^2.0.0"
-    external-editor "^2.0.4"
-    figures "^2.0.0"
-    lodash "^4.3.0"
-    mute-stream "0.0.7"
-    run-async "^2.2.0"
-    rx-lite "^4.0.8"
-    rx-lite-aggregates "^4.0.8"
-    string-width "^2.1.0"
-    strip-ansi "^4.0.0"
-    through "^2.3.6"
-
 insert-module-globals@^7.0.0:
   version "7.2.0"
   resolved "https://registry.yarnpkg.com/insert-module-globals/-/insert-module-globals-7.2.0.tgz#ec87e5b42728479e327bd5c5c71611ddfb4752ba"
@@ -11690,22 +11201,10 @@ jest-diff@^24.0.0:
     jest-get-type "^24.0.0"
     pretty-format "^24.0.0"
 
-jest-docblock@22.1.0:
-  version "22.1.0"
-  resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.1.0.tgz#3fe5986d5444cbcb149746eb4b07c57c5a464dfd"
-  dependencies:
-    detect-newline "^2.1.0"
-
 jest-docblock@^21.0.0:
   version "21.2.0"
   resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414"
 
-jest-docblock@^22.1.0:
-  version "22.4.3"
-  resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.4.3.tgz#50886f132b42b280c903c592373bb6e93bb68b19"
-  dependencies:
-    detect-newline "^2.1.0"
-
 jest-docblock@^23.2.0:
   version "23.2.0"
   resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-23.2.0.tgz#f085e1f18548d99fdd69b20207e6fd55d91383a7"
@@ -11798,17 +11297,6 @@ jest-get-type@^24.0.0:
   version "24.0.0"
   resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.0.0.tgz#36e72930b78e33da59a4f63d44d332188278940b"
 
-jest-haste-map@22.1.0:
-  version "22.1.0"
-  resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.1.0.tgz#1174c6ff393f9818ebf1163710d8868b5370da2a"
-  dependencies:
-    fb-watchman "^2.0.0"
-    graceful-fs "^4.1.11"
-    jest-docblock "^22.1.0"
-    jest-worker "^22.1.0"
-    micromatch "^2.3.11"
-    sane "^2.0.0"
-
 jest-haste-map@^23.6.0:
   version "23.6.0"
   resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.6.0.tgz#2e3eb997814ca696d62afdb3f2529f5bbc935e16"
@@ -12141,18 +11629,6 @@ jest-watcher@^23.4.0:
     chalk "^2.0.1"
     string-length "^2.0.0"
 
-jest-worker@22.1.0:
-  version "22.1.0"
-  resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.1.0.tgz#0987832fe58fbdc205357f4c19b992446368cafb"
-  dependencies:
-    merge-stream "^1.0.1"
-
-jest-worker@^22.1.0:
-  version "22.4.3"
-  resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.4.3.tgz#5c421417cba1c0abf64bf56bd5fb7968d79dd40b"
-  dependencies:
-    merge-stream "^1.0.1"
-
 jest-worker@^23.2.0:
   version "23.2.0"
   resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-23.2.0.tgz#faf706a8da36fae60eb26957257fa7b5d8ea02b9"
@@ -12382,10 +11858,6 @@ json5@2.x, json5@^2.1.0:
   dependencies:
     minimist "^1.2.0"
 
-json5@^0.4.0:
-  version "0.4.0"
-  resolved "https://registry.yarnpkg.com/json5/-/json5-0.4.0.tgz#054352e4c4c80c86c0923877d449de176a732c8d"
-
 json5@^0.5.0, json5@^0.5.1:
   version "0.5.1"
   resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
@@ -12496,10 +11968,6 @@ killable@^1.0.0:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892"
 
-kind-of@^1.1.0:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-1.1.0.tgz#140a3d2d41a36d2efcfa9377b62c24f8495a5c44"
-
 kind-of@^2.0.1:
   version "2.0.1"
   resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5"
@@ -12701,7 +12169,7 @@ leek@0.0.24:
     lodash.assign "^3.2.0"
     rsvp "^3.0.21"
 
-left-pad@^1.1.3, left-pad@^1.3.0:
+left-pad@^1.3.0:
   version "1.3.0"
   resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
 
@@ -13451,18 +12919,6 @@ lodash.once@^4.0.0:
   version "4.1.1"
   resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
 
-lodash.pad@^4.1.0:
-  version "4.5.1"
-  resolved "https://registry.yarnpkg.com/lodash.pad/-/lodash.pad-4.5.1.tgz#4330949a833a7c8da22cc20f6a26c4d59debba70"
-
-lodash.padend@^4.1.0:
-  version "4.6.1"
-  resolved "https://registry.yarnpkg.com/lodash.padend/-/lodash.padend-4.6.1.tgz#53ccba047d06e158d311f45da625f4e49e6f166e"
-
-lodash.padstart@^4.1.0:
-  version "4.6.1"
-  resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b"
-
 lodash.pick@^4.4.0:
   version "4.4.0"
   resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
@@ -13543,11 +12999,11 @@ lodash.values@~2.3.0:
   dependencies:
     lodash.keys "~2.3.0"
 
-lodash@>4.17.4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.16.6, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1, lodash@~4.17.10:
+lodash@>4.17.4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@~4.17.10:
   version "4.17.11"
   resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
 
-lodash@^3.3.1, lodash@^3.5.0:
+lodash@^3.3.1:
   version "3.10.1"
   resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
 
@@ -13627,10 +13083,6 @@ lru-cache@^5.1.1:
   dependencies:
     yallist "^3.0.2"
 
-macos-release@^1.0.0:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-1.1.0.tgz#831945e29365b470aa8724b0ab36c8f8959d10fb"
-
 macos-release@^2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab"
@@ -14032,81 +13484,10 @@ merge@^1.2.0:
   version "1.2.1"
   resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145"
 
-method-override@~2.3.5:
-  version "2.3.10"
-  resolved "https://registry.yarnpkg.com/method-override/-/method-override-2.3.10.tgz#e3daf8d5dee10dd2dce7d4ae88d62bbee77476b4"
-  dependencies:
-    debug "2.6.9"
-    methods "~1.1.2"
-    parseurl "~1.3.2"
-    vary "~1.1.2"
-
 methods@~1.1.2:
   version "1.1.2"
   resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
 
-metro-core@0.24.7, metro-core@^0.24.1:
-  version "0.24.7"
-  resolved "https://registry.yarnpkg.com/metro-core/-/metro-core-0.24.7.tgz#89e4fbea5bad574eb971459ebfa74c028f52d278"
-  dependencies:
-    lodash.throttle "^4.1.1"
-
-metro-source-map@0.24.7:
-  version "0.24.7"
-  resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.24.7.tgz#b13d0ae6417c2a2cd3d521ae6cd898196748ec0b"
-  dependencies:
-    source-map "^0.5.6"
-
-metro@^0.24.1:
-  version "0.24.7"
-  resolved "https://registry.yarnpkg.com/metro/-/metro-0.24.7.tgz#42cecdb236b702d16243812294f7d3b97c43378d"
-  dependencies:
-    absolute-path "^0.0.0"
-    async "^2.4.0"
-    babel-core "^6.24.1"
-    babel-generator "^6.26.0"
-    babel-plugin-external-helpers "^6.18.0"
-    babel-preset-es2015-node "^6.1.1"
-    babel-preset-fbjs "^2.1.4"
-    babel-preset-react-native "^4.0.0"
-    babel-register "^6.24.1"
-    babylon "^6.18.0"
-    chalk "^1.1.1"
-    concat-stream "^1.6.0"
-    connect "^3.6.5"
-    core-js "^2.2.2"
-    debug "^2.2.0"
-    denodeify "^1.2.1"
-    eventemitter3 "^3.0.0"
-    fbjs "^0.8.14"
-    fs-extra "^1.0.0"
-    graceful-fs "^4.1.3"
-    image-size "^0.6.0"
-    jest-docblock "22.1.0"
-    jest-haste-map "22.1.0"
-    jest-worker "22.1.0"
-    json-stable-stringify "^1.0.1"
-    json5 "^0.4.0"
-    left-pad "^1.1.3"
-    lodash.throttle "^4.1.1"
-    merge-stream "^1.0.1"
-    metro-core "0.24.7"
-    metro-source-map "0.24.7"
-    mime-types "2.1.11"
-    mkdirp "^0.5.1"
-    request "^2.79.0"
-    rimraf "^2.5.4"
-    serialize-error "^2.1.0"
-    source-map "^0.5.6"
-    temp "0.8.3"
-    throat "^4.1.0"
-    uglify-es "^3.1.9"
-    wordwrap "^1.0.0"
-    write-file-atomic "^1.2.0"
-    ws "^1.1.0"
-    xpipe "^1.0.5"
-    yargs "^9.0.0"
-
 micromatch@^2.1.5, micromatch@^2.3.11:
   version "2.3.11"
   resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
@@ -14154,31 +13535,17 @@ miller-rabin@^4.0.0:
   version "1.37.0"
   resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8"
 
-mime-db@~1.23.0:
-  version "1.23.0"
-  resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.23.0.tgz#a31b4070adaea27d732ea333740a64d0ec9a6659"
-
-mime-types@2.1.11:
-  version "2.1.11"
-  resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.11.tgz#c259c471bda808a85d6cd193b430a5fae4473b3c"
-  dependencies:
-    mime-db "~1.23.0"
-
-mime-types@^2.1.12, mime-types@^2.1.18, mime-types@^2.1.19, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.19, mime-types@~2.1.6, mime-types@~2.1.9:
+mime-types@^2.1.12, mime-types@^2.1.18, mime-types@^2.1.19, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.19:
   version "2.1.21"
   resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96"
   dependencies:
     mime-db "~1.37.0"
 
-mime@1.3.4:
-  version "1.3.4"
-  resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
-
 mime@1.4.1:
   version "1.4.1"
   resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
 
-mime@^1.2.11, mime@^1.3.4, mime@^1.4.1:
+mime@^1.2.11, mime@^1.4.1:
   version "1.6.0"
   resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
 
@@ -14370,16 +13737,6 @@ morgan@^1.9.0:
     on-finished "~2.3.0"
     on-headers "~1.0.1"
 
-morgan@~1.6.1:
-  version "1.6.1"
-  resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.6.1.tgz#5fd818398c6819cba28a7cd6664f292fe1c0bbf2"
-  dependencies:
-    basic-auth "~1.0.3"
-    debug "~2.2.0"
-    depd "~1.0.1"
-    on-finished "~2.3.0"
-    on-headers "~1.0.0"
-
 mout@^1.0.0:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/mout/-/mout-1.1.0.tgz#0b29d41e6a80fa9e2d4a5be9d602e1d9d02177f6"
@@ -14395,14 +13752,6 @@ move-concurrently@^1.0.1:
     rimraf "^2.5.4"
     run-queue "^1.0.3"
 
-ms@0.7.1:
-  version "0.7.1"
-  resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
-
-ms@0.7.2:
-  version "0.7.2"
-  resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765"
-
 ms@2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
@@ -14431,13 +13780,6 @@ multimatch@^2.1.0:
     arrify "^1.0.0"
     minimatch "^3.0.0"
 
-multiparty@3.3.2:
-  version "3.3.2"
-  resolved "https://registry.yarnpkg.com/multiparty/-/multiparty-3.3.2.tgz#35de6804dc19643e5249f3d3e3bdc6c8ce301d3f"
-  dependencies:
-    readable-stream "~1.1.9"
-    stream-counter "~0.2.0"
-
 mustache@^3.0.0:
   version "3.0.1"
   resolved "https://registry.yarnpkg.com/mustache/-/mustache-3.0.1.tgz#873855f23aa8a95b150fb96d9836edbc5a1d248a"
@@ -14508,10 +13850,6 @@ needle@^2.2.1:
     iconv-lite "^0.4.4"
     sax "^1.2.4"
 
-negotiator@0.5.3:
-  version "0.5.3"
-  resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.5.3.tgz#269d5c476810ec92edbe7b6c2f28316384f9a7e8"
-
 negotiator@0.6.1:
   version "0.6.1"
   resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
@@ -14564,7 +13902,7 @@ node-fetch@2.1.2:
   version "2.1.2"
   resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.1.2.tgz#ab884e8e7e57e38a944753cec706f788d1768bb5"
 
-node-fetch@^1.0.1, node-fetch@^1.3.3:
+node-fetch@^1.0.1:
   version "1.7.3"
   resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
   dependencies:
@@ -14648,7 +13986,7 @@ node-modules-regexp@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
 
-node-notifier@^5.0.1, node-notifier@^5.1.2, node-notifier@^5.2.1:
+node-notifier@^5.0.1, node-notifier@^5.2.1:
   version "5.3.0"
   resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.3.0.tgz#c77a4a7b84038733d5fb351aafd8a268bfe19a01"
   dependencies:
@@ -14849,14 +14187,6 @@ npm-which@^3.0.1:
     gauge "~2.7.3"
     set-blocking "~2.0.0"
 
-npmlog@^2.0.4:
-  version "2.0.4"
-  resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-2.0.4.tgz#98b52530f2514ca90d09ec5b22c8846722375692"
-  dependencies:
-    ansi "~0.3.1"
-    are-we-there-yet "~1.1.2"
-    gauge "~1.2.5"
-
 nth-check@^1.0.2, nth-check@~1.0.1:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
@@ -15002,7 +14332,7 @@ on-finished@~2.3.0:
   dependencies:
     ee-first "1.1.1"
 
-on-headers@~1.0.0, on-headers@~1.0.1:
+on-headers@~1.0.1:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
 
@@ -15042,12 +14372,6 @@ opn@5.4.0, opn@^5.1.0, opn@^5.3.0, opn@^5.4.0:
   dependencies:
     is-wsl "^1.1.0"
 
-opn@^3.0.2:
-  version "3.0.3"
-  resolved "https://registry.yarnpkg.com/opn/-/opn-3.0.3.tgz#b6d99e7399f78d65c3baaffef1fb288e9b85243a"
-  dependencies:
-    object-assign "^4.0.1"
-
 optimist@0.6.x, optimist@^0.6.1, optimist@~0.6.0:
   version "0.6.1"
   resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"
@@ -15073,10 +14397,6 @@ optionator@^0.8.1, optionator@^0.8.2:
     type-check "~0.3.2"
     wordwrap "~1.0.0"
 
-options@>=0.0.5:
-  version "0.0.6"
-  resolved "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f"
-
 ora@^2.0.0:
   version "2.1.0"
   resolved "https://registry.yarnpkg.com/ora/-/ora-2.1.0.tgz#6caf2830eb924941861ec53a173799e008b51e5b"
@@ -15124,13 +14444,6 @@ os-locale@^3.0.0:
     lcid "^2.0.0"
     mem "^4.0.0"
 
-os-name@^2.0.1:
-  version "2.0.1"
-  resolved "https://registry.yarnpkg.com/os-name/-/os-name-2.0.1.tgz#b9a386361c17ae3a21736ef0599405c9a8c5dc5e"
-  dependencies:
-    macos-release "^1.0.0"
-    win-release "^1.0.0"
-
 os-name@^3.0.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.0.0.tgz#e1434dbfddb8e74b44c98b56797d951b7648a5d9"
@@ -15393,10 +14706,6 @@ parse-ms@^1.0.0:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-1.0.1.tgz#56346d4749d78f23430ca0c713850aef91aa361d"
 
-parse-node-version@^1.0.0:
-  version "1.0.0"
-  resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.0.tgz#33d9aa8920dcc3c0d33658ec18ce237009a56d53"
-
 parse-passwd@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
@@ -15437,7 +14746,7 @@ parseuri@0.0.5:
   dependencies:
     better-assert "~1.0.0"
 
-parseurl@~1.3.0, parseurl@~1.3.1, parseurl@~1.3.2:
+parseurl@~1.3.2:
   version "1.3.2"
   resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3"
 
@@ -15545,10 +14854,6 @@ paths.macro@^2.0.2:
     find-root "^1.1.0"
     upath "^1.0.2"
 
-pause@0.1.0:
-  version "0.1.0"
-  resolved "https://registry.yarnpkg.com/pause/-/pause-0.1.0.tgz#ebc8a4a8619ff0b8a81ac1513c3434ff469fdb74"
-
 pbkdf2@^3.0.3:
   version "3.0.17"
   resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6"
@@ -15559,10 +14864,6 @@ pbkdf2@^3.0.3:
     safe-buffer "^5.0.1"
     sha.js "^2.4.8"
 
-pegjs@^0.10.0:
-  version "0.10.0"
-  resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd"
-
 pend@~1.2.0:
   version "1.2.0"
   resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
@@ -15635,33 +14936,6 @@ please-upgrade-node@^3.0.2, please-upgrade-node@^3.1.1:
   dependencies:
     semver-compare "^1.0.0"
 
-plist@2.0.1:
-  version "2.0.1"
-  resolved "https://registry.yarnpkg.com/plist/-/plist-2.0.1.tgz#0a32ca9481b1c364e92e18dc55c876de9d01da8b"
-  dependencies:
-    base64-js "1.1.2"
-    xmlbuilder "8.2.2"
-    xmldom "0.1.x"
-
-plist@^1.2.0:
-  version "1.2.0"
-  resolved "https://registry.yarnpkg.com/plist/-/plist-1.2.0.tgz#084b5093ddc92506e259f874b8d9b1afb8c79593"
-  dependencies:
-    base64-js "0.0.8"
-    util-deprecate "1.0.2"
-    xmlbuilder "4.0.0"
-    xmldom "0.1.x"
-
-plugin-error@^0.1.2:
-  version "0.1.2"
-  resolved "https://registry.yarnpkg.com/plugin-error/-/plugin-error-0.1.2.tgz#3b9bb3335ccf00f425e07437e19276967da47ace"
-  dependencies:
-    ansi-cyan "^0.1.1"
-    ansi-red "^0.1.1"
-    arr-diff "^1.0.1"
-    arr-union "^2.0.1"
-    extend-shallow "^1.1.2"
-
 plur@^3.0.0:
   version "3.0.1"
   resolved "https://registry.yarnpkg.com/plur/-/plur-3.0.1.tgz#268652d605f816699b42b86248de73c9acd06a7c"
@@ -16388,10 +15662,6 @@ pretty-format@^24.0.0:
     ansi-regex "^4.0.0"
     ansi-styles "^3.2.0"
 
-pretty-format@^4.2.1:
-  version "4.3.1"
-  resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-4.3.1.tgz#530be5c42b3c05b36414a7a2a4337aa80acd0e8d"
-
 pretty-hrtime@^1.0.3:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
@@ -16637,10 +15907,6 @@ q@^1.0.1, q@^1.1.2, q@^1.4.1, q@^1.5.1:
   version "1.5.1"
   resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
 
-qs@4.0.0:
-  version "4.0.0"
-  resolved "https://registry.yarnpkg.com/qs/-/qs-4.0.0.tgz#c31d9b74ec27df75e543a86c78728ed8d4623607"
-
 qs@6.5.2, qs@~6.5.2:
   version "6.5.2"
   resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
@@ -16704,10 +15970,6 @@ randexp@0.4.6:
     discontinuous-range "1.0.0"
     ret "~0.1.10"
 
-random-bytes@~1.0.0:
-  version "1.0.0"
-  resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b"
-
 randomatic@^3.0.0:
   version "3.1.1"
   resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed"
@@ -16733,10 +15995,6 @@ range-parser@^1.0.3, range-parser@~1.2.0:
   version "1.2.0"
   resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
 
-range-parser@~1.0.3:
-  version "1.0.3"
-  resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.0.3.tgz#6872823535c692e2c2a0103826afd82c2e0ff175"
-
 raptor-args@^1:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/raptor-args/-/raptor-args-1.0.3.tgz#e096ce5c0f9de5e0848617a78bfface94c54dc86"
@@ -16844,14 +16102,6 @@ raw-body@~1.1.0:
     bytes "1"
     string_decoder "0.10"
 
-raw-body@~2.1.2:
-  version "2.1.7"
-  resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.1.7.tgz#adfeace2e4fb3098058014d08c072dcc59758774"
-  dependencies:
-    bytes "2.4.0"
-    iconv-lite "0.4.13"
-    unpipe "1.0.0"
-
 raw-loader@0.5.1:
   version "0.5.1"
   resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa"
@@ -16897,10 +16147,6 @@ react-clientside-effect@^1.2.0:
     "@babel/runtime" "^7.0.0"
     shallowequal "^1.1.0"
 
-react-clone-referenced-element@^1.0.1:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/react-clone-referenced-element/-/react-clone-referenced-element-1.1.0.tgz#9cdda7f2aeb54fea791f3ab8c6ab96c7a77d0158"
-
 react-color@^2.17.0:
   version "2.17.0"
   resolved "https://registry.yarnpkg.com/react-color/-/react-color-2.17.0.tgz#e14b8a11f4e89163f65a34c8b43faf93f7f02aaa"
@@ -16912,10 +16158,6 @@ react-color@^2.17.0:
     reactcss "^1.2.0"
     tinycolor2 "^1.4.1"
 
-react-deep-force-update@^1.0.0:
-  version "1.1.2"
-  resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz#3d2ae45c2c9040cbb1772be52f8ea1ade6ca2ee1"
-
 react-dev-utils@^7.0.0, react-dev-utils@^7.0.1:
   version "7.0.1"
   resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-7.0.1.tgz#c53e759a22668ee2c0d146c24ce4bdec2b41e3c8"
@@ -16945,13 +16187,6 @@ react-dev-utils@^7.0.0, react-dev-utils@^7.0.1:
     strip-ansi "4.0.0"
     text-table "0.2.0"
 
-react-devtools-core@3.0.0:
-  version "3.0.0"
-  resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-3.0.0.tgz#f683e19f0311108f97dbb5b29d948323a1bf7c03"
-  dependencies:
-    shell-quote "^1.6.1"
-    ws "^2.0.3"
-
 react-docgen-typescript-loader@^3.0.1:
   version "3.0.1"
   resolved "https://registry.yarnpkg.com/react-docgen-typescript-loader/-/react-docgen-typescript-loader-3.0.1.tgz#889aa472450c8db82ea0355656a307806ec74e77"
@@ -17120,65 +16355,6 @@ react-native-switch@^1.5.0:
   dependencies:
     prop-types "^15.6.0"
 
-react-native@^0.52.2:
-  version "0.52.3"
-  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.52.3.tgz#e11698e19bbc8f98135f82d40ac82ccb046641fd"
-  dependencies:
-    absolute-path "^0.0.0"
-    art "^0.10.0"
-    babel-core "^6.24.1"
-    babel-plugin-syntax-trailing-function-commas "^6.20.0"
-    babel-plugin-transform-async-to-generator "6.16.0"
-    babel-plugin-transform-class-properties "^6.18.0"
-    babel-plugin-transform-exponentiation-operator "^6.5.0"
-    babel-plugin-transform-flow-strip-types "^6.21.0"
-    babel-plugin-transform-object-rest-spread "^6.20.2"
-    babel-register "^6.24.1"
-    babel-runtime "^6.23.0"
-    base64-js "^1.1.2"
-    chalk "^1.1.1"
-    commander "^2.9.0"
-    connect "^2.8.3"
-    create-react-class "^15.5.2"
-    debug "^2.2.0"
-    denodeify "^1.2.1"
-    envinfo "^3.0.0"
-    event-target-shim "^1.0.5"
-    fbjs "^0.8.14"
-    fbjs-scripts "^0.8.1"
-    fs-extra "^1.0.0"
-    glob "^7.1.1"
-    graceful-fs "^4.1.3"
-    inquirer "^3.0.6"
-    lodash "^4.16.6"
-    metro "^0.24.1"
-    metro-core "^0.24.1"
-    mime "^1.3.4"
-    minimist "^1.2.0"
-    mkdirp "^0.5.1"
-    node-fetch "^1.3.3"
-    node-notifier "^5.1.2"
-    npmlog "^2.0.4"
-    opn "^3.0.2"
-    optimist "^0.6.1"
-    plist "^1.2.0"
-    pretty-format "^4.2.1"
-    promise "^7.1.1"
-    prop-types "^15.5.8"
-    react-clone-referenced-element "^1.0.1"
-    react-devtools-core "3.0.0"
-    react-timer-mixin "^0.13.2"
-    regenerator-runtime "^0.11.0"
-    rimraf "^2.5.4"
-    semver "^5.0.3"
-    shell-quote "1.6.1"
-    stacktrace-parser "^0.1.3"
-    whatwg-fetch "^1.0.0"
-    ws "^1.1.0"
-    xcode "^0.9.1"
-    xmldoc "^0.4.0"
-    yargs "^9.0.0"
-
 react-popper-tooltip@^2.8.0:
   version "2.8.0"
   resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-2.8.0.tgz#777e710e4696bd1b8e1a1ef24a6e3375e0206609"
@@ -17197,13 +16373,6 @@ react-popper@^1.3.2:
     typed-styles "^0.0.7"
     warning "^4.0.2"
 
-react-proxy@^1.1.7:
-  version "1.1.8"
-  resolved "https://registry.yarnpkg.com/react-proxy/-/react-proxy-1.1.8.tgz#9dbfd9d927528c3aa9f444e4558c37830ab8c26a"
-  dependencies:
-    lodash "^4.6.1"
-    react-deep-force-update "^1.0.0"
-
 react-resize-detector@^3.2.1:
   version "3.4.0"
   resolved "https://registry.yarnpkg.com/react-resize-detector/-/react-resize-detector-3.4.0.tgz#2ccd399958a0efe9b7c52c5db5a13d87e47cd585"
@@ -17322,17 +16491,6 @@ react-textarea-autosize@^7.0.4:
     "@babel/runtime" "^7.1.2"
     prop-types "^15.6.0"
 
-react-timer-mixin@^0.13.2:
-  version "0.13.4"
-  resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.4.tgz#75a00c3c94c13abe29b43d63b4c65a88fc8264d3"
-
-react-transform-hmr@^1.0.4:
-  version "1.0.4"
-  resolved "https://registry.yarnpkg.com/react-transform-hmr/-/react-transform-hmr-1.0.4.tgz#e1a40bd0aaefc72e8dfd7a7cda09af85066397bb"
-  dependencies:
-    global "^4.3.0"
-    react-proxy "^1.1.7"
-
 react-transition-group@^2.2.1:
   version "2.5.3"
   resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-2.5.3.tgz#26de363cab19e5c88ae5dbae105c706cf953bb92"
@@ -17496,15 +16654,6 @@ readable-stream@^3.0.6:
     string_decoder "^1.1.1"
     util-deprecate "^1.0.1"
 
-readable-stream@~1.1.8, readable-stream@~1.1.9:
-  version "1.1.14"
-  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
-  dependencies:
-    core-util-is "~1.0.0"
-    inherits "~2.0.1"
-    isarray "0.0.1"
-    string_decoder "~0.10.x"
-
 readable-stream@~2.0.6:
   version "2.0.6"
   resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
@@ -18056,7 +17205,7 @@ request-promise-native@^1.0.5:
     stealthy-require "^1.1.0"
     tough-cookie ">=2.3.3"
 
-"request@>=2.76.0 <3.0.0", request@^2.79.0, request@^2.83.0, request@^2.87.0, request@^2.88.0:
+"request@>=2.76.0 <3.0.0", request@^2.83.0, request@^2.87.0, request@^2.88.0:
   version "2.88.0"
   resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
   dependencies:
@@ -18182,13 +17331,6 @@ resolve@1.x, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, re
   dependencies:
     path-parse "^1.0.6"
 
-response-time@~2.3.1:
-  version "2.3.2"
-  resolved "https://registry.yarnpkg.com/response-time/-/response-time-2.3.2.tgz#ffa71bab952d62f7c1d49b7434355fbc68dffc5a"
-  dependencies:
-    depd "~1.1.0"
-    on-headers "~1.0.1"
-
 rest-handler@^1.2.16:
   version "1.2.17"
   resolved "https://registry.yarnpkg.com/rest-handler/-/rest-handler-1.2.17.tgz#2369830a5a2b6f5d5635dfd30cb963c43141b1c7"
@@ -18309,10 +17451,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
     hash-base "^3.0.0"
     inherits "^2.0.1"
 
-rndm@1.2.0:
-  version "1.2.0"
-  resolved "https://registry.yarnpkg.com/rndm/-/rndm-1.2.0.tgz#f33fe9cfb52bbfd520aa18323bc65db110a1b76c"
-
 rollup-pluginutils@^2.0.1:
   version "2.3.3"
   resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794"
@@ -18388,16 +17526,6 @@ rusha@^0.8.1:
   version "0.8.13"
   resolved "https://registry.yarnpkg.com/rusha/-/rusha-0.8.13.tgz#9a084e7b860b17bff3015b92c67a6a336191513a"
 
-rx-lite-aggregates@^4.0.8:
-  version "4.0.8"
-  resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be"
-  dependencies:
-    rx-lite "*"
-
-rx-lite@*, rx-lite@^4.0.8:
-  version "4.0.8"
-  resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444"
-
 rx-lite@^3.1.2:
   version "3.1.2"
   resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"
@@ -18424,10 +17552,6 @@ safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, s
   version "5.1.2"
   resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
 
-safe-buffer@~5.0.1:
-  version "5.0.1"
-  resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7"
-
 safe-eval@^0.4.1:
   version "0.4.1"
   resolved "https://registry.yarnpkg.com/safe-eval/-/safe-eval-0.4.1.tgz#e54ba5a1bbdec795d488f6c8765e0c2a78b4cdc0"
@@ -18509,10 +17633,6 @@ sax@>=0.6.0, sax@^1.2.4, sax@~1.2.4:
   version "1.2.4"
   resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
 
-sax@~1.1.1:
-  version "1.1.6"
-  resolved "https://registry.yarnpkg.com/sax/-/sax-1.1.6.tgz#5d616be8a5e607d54e114afae55b7eaf2fcc3240"
-
 saxes@^3.1.4:
   version "3.1.6"
   resolved "https://registry.yarnpkg.com/saxes/-/saxes-3.1.6.tgz#2d948a47b54918516c5a64096f08865deb5bd8cd"
@@ -18607,7 +17727,7 @@ semver-intersect@1.4.0:
   dependencies:
     semver "^5.0.0"
 
-"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@5.6.0, semver@5.x, semver@^5.0.0, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
+"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@5.6.0, semver@^5.0.0, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
   version "5.6.0"
   resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
 
@@ -18619,23 +17739,6 @@ semver@~5.3.0:
   version "5.3.0"
   resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
 
-send@0.13.2:
-  version "0.13.2"
-  resolved "https://registry.yarnpkg.com/send/-/send-0.13.2.tgz#765e7607c8055452bba6f0b052595350986036de"
-  dependencies:
-    debug "~2.2.0"
-    depd "~1.1.0"
-    destroy "~1.0.4"
-    escape-html "~1.0.3"
-    etag "~1.7.0"
-    fresh "0.3.0"
-    http-errors "~1.3.1"
-    mime "1.3.4"
-    ms "0.7.1"
-    on-finished "~2.3.0"
-    range-parser "~1.0.3"
-    statuses "~1.2.1"
-
 send@0.16.2, send@^0.16.2:
   version "0.16.2"
   resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1"
@@ -18654,10 +17757,6 @@ send@0.16.2, send@^0.16.2:
     range-parser "~1.2.0"
     statuses "~1.4.0"
 
-serialize-error@^2.1.0:
-  version "2.1.0"
-  resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-2.1.0.tgz#50b679d5635cdf84667bdc8e59af4e5b81d5f60a"
-
 serialize-javascript@^1.4.0:
   version "1.6.1"
   resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.6.1.tgz#4d1f697ec49429a847ca6f442a2a755126c4d879"
@@ -18672,15 +17771,6 @@ serve-favicon@^2.5.0:
     parseurl "~1.3.2"
     safe-buffer "5.1.1"
 
-serve-favicon@~2.3.0:
-  version "2.3.2"
-  resolved "https://registry.yarnpkg.com/serve-favicon/-/serve-favicon-2.3.2.tgz#dd419e268de012ab72b319d337f2105013f9381f"
-  dependencies:
-    etag "~1.7.0"
-    fresh "0.3.0"
-    ms "0.7.2"
-    parseurl "~1.3.1"
-
 serve-index@^1.7.2:
   version "1.9.1"
   resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239"
@@ -18693,18 +17783,6 @@ serve-index@^1.7.2:
     mime-types "~2.1.17"
     parseurl "~1.3.2"
 
-serve-index@~1.7.2:
-  version "1.7.3"
-  resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.7.3.tgz#7a057fc6ee28dc63f64566e5fa57b111a86aecd2"
-  dependencies:
-    accepts "~1.2.13"
-    batch "0.5.3"
-    debug "~2.2.0"
-    escape-html "~1.0.3"
-    http-errors "~1.3.1"
-    mime-types "~2.1.9"
-    parseurl "~1.3.1"
-
 serve-static@1.13.2:
   version "1.13.2"
   resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1"
@@ -18714,14 +17792,6 @@ serve-static@1.13.2:
     parseurl "~1.3.2"
     send "0.16.2"
 
-serve-static@~1.10.0:
-  version "1.10.3"
-  resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.10.3.tgz#ce5a6ecd3101fed5ec09827dac22a9c29bfb0535"
-  dependencies:
-    escape-html "~1.0.3"
-    parseurl "~1.3.1"
-    send "0.13.2"
-
 set-blocking@^2.0.0, set-blocking@~2.0.0:
   version "2.0.0"
   resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
@@ -18862,14 +17932,6 @@ simple-html-tokenizer@^0.5.7:
   version "0.1.1"
   resolved "git://github.com/CharlesMangwa/simple-markdown.git#33d963c760b8196bee01b1a5ba9974bc7f669af1"
 
-simple-plist@^0.2.1:
-  version "0.2.1"
-  resolved "https://registry.yarnpkg.com/simple-plist/-/simple-plist-0.2.1.tgz#71766db352326928cf3a807242ba762322636723"
-  dependencies:
-    bplist-creator "0.0.7"
-    bplist-parser "0.1.1"
-    plist "2.0.1"
-
 simple-sha1@^2.1.0:
   version "2.1.1"
   resolved "https://registry.yarnpkg.com/simple-sha1/-/simple-sha1-2.1.1.tgz#93f3b7f2e8dfdc056c32793e5d47b58d311b140d"
@@ -18920,7 +17982,7 @@ sliced@^1.0.1:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/sliced/-/sliced-1.0.1.tgz#0b3a662b5d04c3177b1926bea82b03f837a2ef41"
 
-slide@^1.1.5, slide@^1.1.6:
+slide@^1.1.6:
   version "1.1.6"
   resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707"
 
@@ -19331,10 +18393,6 @@ stackframe@^1.0.4:
   version "1.0.4"
   resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.0.4.tgz#357b24a992f9427cba6b545d96a14ed2cbca187b"
 
-stacktrace-parser@^0.1.3:
-  version "0.1.4"
-  resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.4.tgz#01397922e5f62ecf30845522c95c4fe1d25e7d4e"
-
 staged-git-files@1.1.2:
   version "1.1.2"
   resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-1.1.2.tgz#4326d33886dc9ecfa29a6193bf511ba90a46454b"
@@ -19356,14 +18414,10 @@ stats-webpack-plugin@0.7.0:
   dependencies:
     lodash "^4.17.4"
 
-statuses@1, "statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2":
+"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2":
   version "1.5.0"
   resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
 
-statuses@~1.2.1:
-  version "1.2.1"
-  resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.2.1.tgz#dded45cc18256d51ed40aec142489d5c61026d28"
-
 statuses@~1.3.1:
   version "1.3.1"
   resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
@@ -19411,10 +18465,6 @@ stream-browserify@^2.0.0, stream-browserify@^2.0.1:
     inherits "~2.0.1"
     readable-stream "^2.0.2"
 
-stream-buffers@~2.2.0:
-  version "2.2.0"
-  resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
-
 stream-combiner2@^1.1.1:
   version "1.1.1"
   resolved "https://registry.yarnpkg.com/stream-combiner2/-/stream-combiner2-1.1.1.tgz#fb4d8a1420ea362764e21ad4780397bebcb41cbe"
@@ -19422,12 +18472,6 @@ stream-combiner2@^1.1.1:
     duplexer2 "~0.1.0"
     readable-stream "^2.0.2"
 
-stream-counter@~0.2.0:
-  version "0.2.0"
-  resolved "https://registry.yarnpkg.com/stream-counter/-/stream-counter-0.2.0.tgz#ded266556319c8b0e222812b9cf3b26fa7d947de"
-  dependencies:
-    readable-stream "~1.1.8"
-
 stream-each@^1.1.0:
   version "1.2.3"
   resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae"
@@ -20016,7 +19060,7 @@ text-table@0.2.0, text-table@^0.2.0:
   version "2.4.0"
   resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-2.4.0.tgz#6a143a985464384cc2cff11aea448cd5b018e72b"
 
-throat@^4.0.0, throat@^4.1.0:
+throat@^4.0.0:
   version "4.1.0"
   resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
 
@@ -20035,10 +19079,6 @@ thunky@^1.0.2:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.0.3.tgz#f5df732453407b09191dae73e2a8cc73f381a826"
 
-time-stamp@^1.0.0:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3"
-
 time-zone@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/time-zone/-/time-zone-1.0.0.tgz#99c5bf55958966af6d06d83bdf3800dc82faec5d"
@@ -20415,10 +19455,6 @@ tslint@^5.12.1, tslint@~5.12.1:
     tslib "^1.8.0"
     tsutils "^2.27.2"
 
-tsscmp@1.0.5:
-  version "1.0.5"
-  resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.5.tgz#7dc4a33af71581ab4337da91d85ca5427ebd9a97"
-
 tsutils@^2.27.2, tsutils@^2.29.0:
   version "2.29.0"
   resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.29.0.tgz#32b488501467acbedd4b85498673a0812aca0b99"
@@ -20469,7 +19505,7 @@ type-detect@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2"
 
-type-is@~1.6.16, type-is@~1.6.6:
+type-is@~1.6.16:
   version "1.6.16"
   resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
   dependencies:
@@ -20509,7 +19545,7 @@ uc.micro@^1.0.1, uc.micro@^1.0.5:
   version "1.0.5"
   resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376"
 
-uglify-es@^3.1.9, uglify-es@^3.3.4:
+uglify-es@^3.3.4:
   version "3.3.9"
   resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677"
   dependencies:
@@ -20540,26 +19576,6 @@ uid-number@0.0.6:
   version "0.0.6"
   resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
 
-uid-safe@2.1.4:
-  version "2.1.4"
-  resolved "https://registry.yarnpkg.com/uid-safe/-/uid-safe-2.1.4.tgz#3ad6f38368c6d4c8c75ec17623fb79aa1d071d81"
-  dependencies:
-    random-bytes "~1.0.0"
-
-uid-safe@~2.0.0:
-  version "2.0.0"
-  resolved "https://registry.yarnpkg.com/uid-safe/-/uid-safe-2.0.0.tgz#a7f3c6ca64a1f6a5d04ec0ef3e4c3d5367317137"
-  dependencies:
-    base64-url "1.2.1"
-
-ultron@1.0.x:
-  version "1.0.2"
-  resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa"
-
-ultron@~1.1.0:
-  version "1.1.1"
-  resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
-
 umask@^1.1.0:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
@@ -20901,7 +19917,7 @@ username@^1.0.1:
   dependencies:
     meow "^3.4.0"
 
-util-deprecate@1.0.2, util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
+util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
 
@@ -20934,18 +19950,10 @@ utila@^0.4.0, utila@~0.4:
   version "0.4.0"
   resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
 
-utils-merge@1.0.0:
-  version "1.0.0"
-  resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8"
-
 utils-merge@1.0.1:
   version "1.0.1"
   resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
 
-uuid@3.0.1:
-  version "3.0.1"
-  resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
-
 uuid@^3.0.1, uuid@^3.1.0, uuid@^3.2.1, uuid@^3.3.2:
   version "3.3.2"
   resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
@@ -20975,10 +19983,6 @@ vary@^1, vary@~1.1.2:
   version "1.1.2"
   resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
 
-vary@~1.0.1:
-  version "1.0.1"
-  resolved "https://registry.yarnpkg.com/vary/-/vary-1.0.1.tgz#99e4981566a286118dfb2b817357df7993376d10"
-
 vendors@^1.0.0:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.2.tgz#7fcb5eef9f5623b156bcea89ec37d63676f21801"
@@ -21029,10 +20033,6 @@ vfile@^3.0.0, vfile@^3.0.1:
     unist-util-stringify-position "^1.0.0"
     vfile-message "^1.0.0"
 
-vhost@~3.0.1:
-  version "3.0.2"
-  resolved "https://registry.yarnpkg.com/vhost/-/vhost-3.0.2.tgz#2fb1decd4c466aa88b0f9341af33dc1aff2478d5"
-
 vm-browserify@0.0.4:
   version "0.0.4"
   resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73"
@@ -21532,10 +20532,6 @@ whatwg-fetch@3.0.0, whatwg-fetch@>=0.10.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb"
 
-whatwg-fetch@^1.0.0:
-  version "1.1.1"
-  resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-1.1.1.tgz#ac3c9d39f320c6dce5339969d054ef43dd333319"
-
 whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0:
   version "2.3.0"
   resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
@@ -21586,12 +20582,6 @@ widest-line@^2.0.0:
   dependencies:
     string-width "^2.1.1"
 
-win-release@^1.0.0:
-  version "1.1.1"
-  resolved "https://registry.yarnpkg.com/win-release/-/win-release-1.1.1.tgz#5fa55e02be7ca934edfc12665632e849b72e5209"
-  dependencies:
-    semver "^5.0.1"
-
 windows-release@^3.1.0:
   version "3.1.0"
   resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.1.0.tgz#8d4a7e266cbf5a233f6c717dac19ce00af36e12e"
@@ -21755,14 +20745,6 @@ wrappy@1:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
 
-write-file-atomic@^1.2.0:
-  version "1.3.4"
-  resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f"
-  dependencies:
-    graceful-fs "^4.1.11"
-    imurmurhash "^0.1.4"
-    slide "^1.1.5"
-
 write-file-atomic@^2.0.0, write-file-atomic@^2.1.0, write-file-atomic@^2.3.0:
   version "2.3.0"
   resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab"
@@ -21795,20 +20777,6 @@ write@^0.2.1:
   dependencies:
     mkdirp "^0.5.1"
 
-ws@^1.1.0:
-  version "1.1.5"
-  resolved "https://registry.yarnpkg.com/ws/-/ws-1.1.5.tgz#cbd9e6e75e09fc5d2c90015f21f0c40875e0dd51"
-  dependencies:
-    options ">=0.0.5"
-    ultron "1.0.x"
-
-ws@^2.0.3:
-  version "2.3.1"
-  resolved "https://registry.yarnpkg.com/ws/-/ws-2.3.1.tgz#6b94b3e447cb6a363f785eaf94af6359e8e81c80"
-  dependencies:
-    safe-buffer "~5.0.1"
-    ultron "~1.1.0"
-
 ws@^5.2.0:
   version "5.2.2"
   resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f"
@@ -21825,14 +20793,6 @@ x-is-string@^0.1.0:
   version "0.1.0"
   resolved "https://registry.yarnpkg.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82"
 
-xcode@^0.9.1:
-  version "0.9.3"
-  resolved "https://registry.yarnpkg.com/xcode/-/xcode-0.9.3.tgz#910a89c16aee6cc0b42ca805a6d0b4cf87211cf3"
-  dependencies:
-    pegjs "^0.10.0"
-    simple-plist "^0.2.1"
-    uuid "3.0.1"
-
 xdg-basedir@^3.0.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4"
@@ -21848,16 +20808,6 @@ xml2js@^0.4.17:
     sax ">=0.6.0"
     xmlbuilder "~9.0.1"
 
-xmlbuilder@4.0.0:
-  version "4.0.0"
-  resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.0.0.tgz#98b8f651ca30aa624036f127d11cc66dc7b907a3"
-  dependencies:
-    lodash "^3.5.0"
-
-xmlbuilder@8.2.2:
-  version "8.2.2"
-  resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773"
-
 xmlbuilder@~9.0.1:
   version "9.0.7"
   resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
@@ -21866,13 +20816,7 @@ xmlchars@^1.3.1:
   version "1.3.1"
   resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-1.3.1.tgz#1dda035f833dbb4f86a0c28eaa6ca769214793cf"
 
-xmldoc@^0.4.0:
-  version "0.4.0"
-  resolved "https://registry.yarnpkg.com/xmldoc/-/xmldoc-0.4.0.tgz#d257224be8393eaacbf837ef227fd8ec25b36888"
-  dependencies:
-    sax "~1.1.1"
-
-xmldom@0.1.x, xmldom@^0.1.19:
+xmldom@^0.1.19:
   version "0.1.27"
   resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.27.tgz#d501f97b3bdb403af8ef9ecc20573187aadac0e9"
 
@@ -21880,10 +20824,6 @@ xmlhttprequest-ssl@~1.5.4:
   version "1.5.5"
   resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
 
-xpipe@^1.0.5:
-  version "1.0.5"
-  resolved "https://registry.yarnpkg.com/xpipe/-/xpipe-1.0.5.tgz#8dd8bf45fc3f7f55f0e054b878f43a62614dafdf"
-
 xregexp@4.0.0:
   version "4.0.0"
   resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020"
@@ -21993,7 +20933,7 @@ yargs@6.6.0:
     y18n "^3.2.1"
     yargs-parser "^4.2.0"
 
-yargs@9.0.1, yargs@^9.0.0:
+yargs@9.0.1:
   version "9.0.1"
   resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c"
   dependencies:

From ee14568bcf97fa85ccbaee5a9a191b0745d811af Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 17:42:55 +0800
Subject: [PATCH 016/249] Disable ondevice addons

---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index ce8fafcec97..03c022ef49c 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
     "url": "https://github.com/storybooks/storybook.git"
   },
   "workspaces": [
-    "addons/*",
+    "addons/!(ondevice)*",
     "addons/storyshots/*",
     "app/!(react-native)*",
     "lib/*",

From c6cbc86eae8fb0e4dd308b54c5133a8ca480f5d3 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 17:50:33 +0800
Subject: [PATCH 017/249] Disable RN linting

---
 .eslintignore | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.eslintignore b/.eslintignore
index 76cb54f8b1e..909aea6b614 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -18,3 +18,8 @@ lib/cli/test
 !.eslintrc-markdown.js
 !.jest.config.js
 !.storybook
+
+REACT_NATIVE
+examples-native
+react-native
+ondevice-*
\ No newline at end of file

From 4007bb798346bf947aee5e6e5e9b2f9978c0a528 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 17:56:39 +0800
Subject: [PATCH 018/249] Fix yarn.lock

---
 yarn.lock | 50 --------------------------------------------------
 1 file changed, 50 deletions(-)

diff --git a/yarn.lock b/yarn.lock
index d5c24a77b71..676fa950a11 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -16305,56 +16305,10 @@ react-modal@^3.8.1:
     react-lifecycles-compat "^3.0.0"
     warning "^3.0.0"
 
-react-native-animatable@^1.2.4:
-  version "1.3.1"
-  resolved "https://registry.yarnpkg.com/react-native-animatable/-/react-native-animatable-1.3.1.tgz#f004a7e9de6838d0fbf210d642593cff7affd9ef"
-  dependencies:
-    prop-types "^15.5.10"
-
-react-native-color-picker@^0.4.0:
-  version "0.4.0"
-  resolved "https://registry.yarnpkg.com/react-native-color-picker/-/react-native-color-picker-0.4.0.tgz#801a413a20b833ea8aa9b10418c3761dd4d88fb6"
-  dependencies:
-    prop-types "^15.5.10"
-    tinycolor2 "^1.4.1"
-
-react-native-modal-datetime-picker@^5.1.0:
-  version "5.1.0"
-  resolved "https://registry.yarnpkg.com/react-native-modal-datetime-picker/-/react-native-modal-datetime-picker-5.1.0.tgz#6e183531170881c2ff5b0742d132060f828e2b77"
-  dependencies:
-    prop-types "^15.6.1"
-    react-native-modal "^5.4.0"
-
-react-native-modal-selector@^0.0.29:
-  version "0.0.29"
-  resolved "https://registry.yarnpkg.com/react-native-modal-selector/-/react-native-modal-selector-0.0.29.tgz#e33326a9191ce6a6ed07c222366eb13ba5e03e21"
-  dependencies:
-    prop-types "^15.5.10"
-
-react-native-modal@^5.4.0:
-  version "5.4.0"
-  resolved "https://registry.yarnpkg.com/react-native-modal/-/react-native-modal-5.4.0.tgz#95f70b5d68e08824951cd11038b9db2d6fdb9962"
-  dependencies:
-    prop-types "^15.6.1"
-    react-native-animatable "^1.2.4"
-
-react-native-simple-markdown@^1.1.0:
-  version "1.1.0"
-  resolved "https://registry.yarnpkg.com/react-native-simple-markdown/-/react-native-simple-markdown-1.1.0.tgz#4d462f8ced26393c5230467420c61a50cc6a8095"
-  dependencies:
-    lodash "^4.15.0"
-    simple-markdown "git://github.com/CharlesMangwa/simple-markdown.git"
-
 react-native-swipe-gestures@^1.0.2:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.3.tgz#4160f8d459627323f3a3d2770af4bcd82fd054f5"
 
-react-native-switch@^1.5.0:
-  version "1.5.0"
-  resolved "https://registry.yarnpkg.com/react-native-switch/-/react-native-switch-1.5.0.tgz#a5c8e72f87def649d1c9de027c5ae27e2037ea40"
-  dependencies:
-    prop-types "^15.6.0"
-
 react-popper-tooltip@^2.8.0:
   version "2.8.0"
   resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-2.8.0.tgz#777e710e4696bd1b8e1a1ef24a6e3375e0206609"
@@ -17928,10 +17882,6 @@ simple-html-tokenizer@^0.5.7:
   version "0.5.7"
   resolved "https://registry.yarnpkg.com/simple-html-tokenizer/-/simple-html-tokenizer-0.5.7.tgz#8eca336ecfbe2b3c6166cbb31b2682088de79f40"
 
-"simple-markdown@git://github.com/CharlesMangwa/simple-markdown.git":
-  version "0.1.1"
-  resolved "git://github.com/CharlesMangwa/simple-markdown.git#33d963c760b8196bee01b1a5ba9974bc7f669af1"
-
 simple-sha1@^2.1.0:
   version "2.1.1"
   resolved "https://registry.yarnpkg.com/simple-sha1/-/simple-sha1-2.1.1.tgz#93f3b7f2e8dfdc056c32793e5d47b58d311b140d"

From 8597d208042b8d2f395ef7a4fa0e80fc445eb4a0 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 22:36:07 +0800
Subject: [PATCH 019/249] 5.0.0-rc.0 changelog

---
 CHANGELOG.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index a4f5834cda9..bdf466130c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,17 @@
+## 5.0.0-rc.0 (February 16, 2019)
+
+Welcome to Storybook 5 (SB5) with a beautiful new user interface including:
+
+* Navigation sidebar redesign
+* New canvas toolbar 
+* Customizable keyboard shortcuts
+* Improved search
+* Version update notifications
+
+SB5 also includes a new URL structure, expanded addon API, and many more features and architectural improvements.
+
+See [the RC announcement](https://gist.github.com/shilman/0332090b63f1798a58ed8d85db44f4b4) for more details!
+
 ## 5.0.0-beta.4 (February 15, 2019)
 
 ### Bug Fixes

From 93ad5297b92b4dc797961c4377cece1c5b780a61 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 22:48:27 +0800
Subject: [PATCH 020/249] v5.0.0-rc.0

---
 addons/a11y/package.json                      | 12 ++---
 addons/actions/package.json                   | 10 ++--
 addons/backgrounds/package.json               | 12 ++---
 addons/centered/package.json                  |  2 +-
 addons/cssresources/package.json              | 10 ++--
 addons/events/package.json                    |  8 +--
 addons/google-analytics/package.json          |  6 +--
 addons/graphql/package.json                   |  2 +-
 addons/info/package.json                      | 10 ++--
 addons/jest/package.json                      | 10 ++--
 addons/knobs/package.json                     | 10 ++--
 addons/links/package.json                     |  6 +--
 addons/notes/package.json                     | 12 ++---
 addons/options/package.json                   |  4 +-
 .../storyshots/storyshots-core/package.json   |  4 +-
 .../storyshots-puppeteer/package.json         |  6 +--
 addons/storysource/package.json               |  8 +--
 addons/viewport/package.json                  | 12 ++---
 app/angular/package.json                      |  6 +--
 app/ember/package.json                        |  4 +-
 app/html/package.json                         |  4 +-
 app/marko/package.json                        |  4 +-
 app/mithril/package.json                      |  4 +-
 app/polymer/package.json                      |  4 +-
 app/preact/package.json                       |  4 +-
 app/react/package.json                        |  8 +--
 app/riot/package.json                         |  4 +-
 app/svelte/package.json                       |  4 +-
 app/vue/package.json                          |  4 +-
 examples/angular-cli/package.json             | 26 +++++-----
 examples/cra-kitchen-sink/package.json        | 32 ++++++------
 examples/cra-ts-kitchen-sink/package.json     | 12 ++---
 examples/ember-cli/package.json               | 26 +++++-----
 examples/html-kitchen-sink/package.json       | 36 ++++++-------
 examples/marko-cli/package.json               | 14 ++---
 examples/mithril-kitchen-sink/package.json    | 26 +++++-----
 examples/official-storybook/package.json      | 48 ++++++++---------
 examples/polymer-cli/package.json             | 20 +++----
 examples/preact-kitchen-sink/package.json     | 26 +++++-----
 examples/riot-kitchen-sink/package.json       | 26 +++++-----
 examples/svelte-kitchen-sink/package.json     | 26 +++++-----
 examples/vue-kitchen-sink/package.json        | 26 +++++-----
 lerna.json                                    |  2 +-
 lib/addons/package.json                       |  6 +--
 lib/channel-postmessage/package.json          |  4 +-
 lib/channel-websocket/package.json            |  4 +-
 lib/channels/package.json                     |  2 +-
 lib/cli/package.json                          | 52 +++++++++----------
 lib/client-api/package.json                   |  8 +--
 lib/client-logger/package.json                |  2 +-
 lib/codemod/package.json                      |  2 +-
 lib/components/package.json                   | 12 ++---
 lib/core-events/package.json                  |  2 +-
 lib/core/package.json                         | 18 +++----
 lib/node-logger/package.json                  |  2 +-
 lib/router/package.json                       |  4 +-
 lib/theming/package.json                      |  2 +-
 lib/ui/package.json                           | 14 ++---
 58 files changed, 337 insertions(+), 337 deletions(-)

diff --git a/addons/a11y/package.json b/addons/a11y/package.json
index d55c7332cca..fac9e8049cd 100644
--- a/addons/a11y/package.json
+++ b/addons/a11y/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-a11y",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "a11y addon for storybook",
   "keywords": [
     "a11y",
@@ -25,11 +25,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "axe-core": "^3.1.2",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/addons/actions/package.json b/addons/actions/package.json
index b3b7f565665..71c3317721c 100644
--- a/addons/actions/package.json
+++ b/addons/actions/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-actions",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Action Logger addon for storybook",
   "keywords": [
     "storybook"
@@ -20,10 +20,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "fast-deep-equal": "^2.0.1",
     "global": "^4.3.2",
diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json
index 539ea4549a7..5af298c9506 100644
--- a/addons/backgrounds/package.json
+++ b/addons/backgrounds/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-backgrounds",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "A storybook addon to show different backgrounds for your preview",
   "keywords": [
     "addon",
@@ -24,11 +24,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/addons/centered/package.json b/addons/centered/package.json
index 73336a6f20c..94c56176501 100644
--- a/addons/centered/package.json
+++ b/addons/centered/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-centered",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook decorator to center components",
   "keywords": [
     "addon",
diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json
index a55c5450d4e..cac4d23f7bd 100644
--- a/addons/cssresources/package.json
+++ b/addons/cssresources/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-cssresources",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "A storybook addon to switch between css resources at runtime for your story",
   "keywords": [
     "addon",
@@ -25,10 +25,10 @@
   },
   "dependencies": {
     "@emotion/styled": "10.0.6",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/channels": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/channels": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/events/package.json b/addons/events/package.json
index e4d28cc4b80..df295af9a7c 100644
--- a/addons/events/package.json
+++ b/addons/events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-events",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Add events to your Storybook stories.",
   "keywords": [
     "addon",
@@ -23,9 +23,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "format-json": "^1.0.3",
     "prop-types": "^15.6.2",
diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json
index 6b2b8967120..7c5a1e2a542 100644
--- a/addons/google-analytics/package.json
+++ b/addons/google-analytics/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-google-analytics",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook addon for google analytics",
   "keywords": [
     "addon",
@@ -19,8 +19,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "react-ga": "^2.5.3"
diff --git a/addons/graphql/package.json b/addons/graphql/package.json
index 714de703e65..474891b664e 100644
--- a/addons/graphql/package.json
+++ b/addons/graphql/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-graphql",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook addon to display the GraphiQL IDE",
   "keywords": [
     "addon",
diff --git a/addons/info/package.json b/addons/info/package.json
index 2e3fec65952..89123b151e7 100644
--- a/addons/info/package.json
+++ b/addons/info/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-info",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "A Storybook addon to show additional information for your stories.",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "marksy": "^6.1.0",
diff --git a/addons/jest/package.json b/addons/jest/package.json
index 94378639e6e..106c9a7f665 100644
--- a/addons/jest/package.json
+++ b/addons/jest/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-jest",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "React storybook addon that show component jest report",
   "keywords": [
     "addon",
@@ -27,10 +27,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/knobs/package.json b/addons/knobs/package.json
index 55d1de85d35..9d2d2a7c6d4 100644
--- a/addons/knobs/package.json
+++ b/addons/knobs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-knobs",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook Addon Prop Editor Component",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "copy-to-clipboard": "^3.0.8",
     "core-js": "^2.6.2",
     "escape-html": "^1.0.3",
diff --git a/addons/links/package.json b/addons/links/package.json
index 0b00bae7d09..f41d10b46b0 100644
--- a/addons/links/package.json
+++ b/addons/links/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-links",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Story Links addon for storybook",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/addons/notes/package.json b/addons/notes/package.json
index 79efc547434..06581f9191b 100644
--- a/addons/notes/package.json
+++ b/addons/notes/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-notes",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Write notes for your Storybook stories.",
   "keywords": [
     "addon",
@@ -22,11 +22,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "markdown-to-jsx": "^6.9.1",
     "prop-types": "^15.6.2",
     "util-deprecate": "^1.0.2"
diff --git a/addons/options/package.json b/addons/options/package.json
index 62ce0769d02..94ac709d962 100644
--- a/addons/options/package.json
+++ b/addons/options/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-options",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Options addon for storybook",
   "keywords": [
     "addon",
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json
index 4fac105b7f6..c972ab89b64 100644
--- a/addons/storyshots/storyshots-core/package.json
+++ b/addons/storyshots/storyshots-core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
   "keywords": [
     "addon",
@@ -24,7 +24,7 @@
     "storybook": "start-storybook -p 6006"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "glob": "^7.1.3",
     "global": "^4.3.2",
diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json
index 8851cb6753c..c965609c873 100644
--- a/addons/storyshots/storyshots-puppeteer/package.json
+++ b/addons/storyshots/storyshots-puppeteer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots-puppeteer",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Image snappshots addition to StoryShots base on puppeteer",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
-    "@storybook/node-logger": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/node-logger": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "jest-image-snapshot": "^2.6.0",
     "puppeteer": "^1.12.0",
diff --git a/addons/storysource/package.json b/addons/storysource/package.json
index bbfb4ba12e7..1b3518c2475 100644
--- a/addons/storysource/package.json
+++ b/addons/storysource/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storysource",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Stories addon for storybook",
   "keywords": [
     "addon",
@@ -21,9 +21,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "estraverse": "^4.2.0",
     "loader-utils": "^1.2.1",
diff --git a/addons/viewport/package.json b/addons/viewport/package.json
index 45d1101a312..83bbdfab550 100644
--- a/addons/viewport/package.json
+++ b/addons/viewport/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-viewport",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook addon to change the viewport size to mobile",
   "keywords": [
     "addon",
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
diff --git a/app/angular/package.json b/app/angular/package.json
index c27e3529e53..2aba06f40c1 100644
--- a/app/angular/package.json
+++ b/app/angular/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/angular",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,8 +25,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
-    "@storybook/node-logger": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/node-logger": "5.0.0-rc.0",
     "angular2-template-loader": "^0.6.2",
     "core-js": "^2.6.2",
     "fork-ts-checker-webpack-plugin": "^0.5.2",
diff --git a/app/ember/package.json b/app/ember/package.json
index 6cccd99a7ae..e13db176821 100644
--- a/app/ember/package.json
+++ b/app/ember/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ember",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
   "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
   "bugs": {
@@ -23,7 +23,7 @@
   },
   "dependencies": {
     "@ember/test-helpers": "^1.3.1",
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/html/package.json b/app/html/package.json
index 75847ac2e46..5c4c8970dd2 100644
--- a/app/html/package.json
+++ b/app/html/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/html",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/marko/package.json b/app/marko/package.json
index 16c680df696..d52a4e5809c 100644
--- a/app/marko/package.json
+++ b/app/marko/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/marko",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/mithril/package.json b/app/mithril/package.json
index 1f6ab7b7570..59cbe3015bd 100644
--- a/app/mithril/package.json
+++ b/app/mithril/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/mithril",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Mithril: Develop Mithril Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/polymer/package.json b/app/polymer/package.json
index 9e3746aea7c..5a2b13ef941 100644
--- a/app/polymer/package.json
+++ b/app/polymer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/polymer",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/app/preact/package.json b/app/preact/package.json
index 77db5bbc4c3..68321f54d65 100644
--- a/app/preact/package.json
+++ b/app/preact/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/preact",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Preact: Develop Preact Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/react/package.json b/app/react/package.json
index c5b6cd9fe7e..ed11da3511a 100644
--- a/app/react/package.json
+++ b/app/react/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/react",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -28,9 +28,9 @@
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-flow": "^7.0.0",
     "@babel/preset-react": "^7.0.0",
-    "@storybook/core": "5.0.0-beta.4",
-    "@storybook/node-logger": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/node-logger": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "@svgr/webpack": "^4.0.3",
     "babel-plugin-named-asset-import": "^0.3.0",
     "babel-plugin-react-docgen": "^2.0.2",
diff --git a/app/riot/package.json b/app/riot/package.json
index d5d2f41081b..cd417586292 100644
--- a/app/riot/package.json
+++ b/app/riot/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/riot",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/svelte/package.json b/app/svelte/package.json
index 0f3ee3a62ae..528bffd6555 100644
--- a/app/svelte/package.json
+++ b/app/svelte/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/svelte",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/vue/package.json b/app/vue/package.json
index d95318bc64b..f9428fcb187 100644
--- a/app/vue/package.json
+++ b/app/vue/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/vue",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-beta.4",
+    "@storybook/core": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json
index b26cb3e0e1e..c6e3b0028c8 100644
--- a/examples/angular-cli/package.json
+++ b/examples/angular-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "angular-cli",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "license": "MIT",
   "scripts": {
@@ -33,18 +33,18 @@
     "@angular-devkit/build-angular": "^0.11.4",
     "@angular/cli": "^7.3.0",
     "@angular/compiler-cli": "^7.2.1",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-jest": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/angular": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-jest": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/angular": "5.0.0-rc.0",
     "@types/core-js": "^2.5.0",
     "@types/jest": "^23.3.13",
     "@types/node": "~10.12.19",
diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
index f36f510aa3e..cad7b978b59 100644
--- a/examples/cra-kitchen-sink/package.json
+++ b/examples/cra-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-kitchen-sink",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build": "react-scripts build",
@@ -18,21 +18,21 @@
     "react-lifecycles-compat": "^3.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.4",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-events": "5.0.0-beta.4",
-    "@storybook/addon-info": "5.0.0-beta.4",
-    "@storybook/addon-jest": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/react": "5.0.0-beta.4",
+    "@storybook/addon-a11y": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-events": "5.0.0-rc.0",
+    "@storybook/addon-info": "5.0.0-rc.0",
+    "@storybook/addon-jest": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/react": "5.0.0-rc.0",
     "enzyme": "^3.7.0",
     "enzyme-adapter-react-16": "^1.9.1",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
index 660abfd089a..64b19007079 100644
--- a/examples/cra-ts-kitchen-sink/package.json
+++ b/examples/cra-ts-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-ts-kitchen-sink",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -19,11 +19,11 @@
     "react-dom": "^16.8.1"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-info": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/react": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-info": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/react": "5.0.0-rc.0",
     "@types/enzyme": "^3.1.15",
     "@types/react": "^16.7.22",
     "@types/react-dom": "^16.0.11",
diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
index db56dab3f9e..e0dfee166e0 100644
--- a/examples/ember-cli/package.json
+++ b/examples/ember-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ember-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build": "ember build",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-a11y": "5.0.0-beta.4",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/ember": "5.0.0-beta.4",
+    "@storybook/addon-a11y": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/ember": "5.0.0-rc.0",
     "babel-loader": "^8",
     "broccoli-asset-rev": "^3.0.0",
     "cross-env": "^5.2.0",
diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
index 3b821976971..4c86625d181 100644
--- a/examples/html-kitchen-sink/package.json
+++ b/examples/html-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "html-kitchen-sink",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "description": "",
   "keywords": [],
@@ -13,23 +13,23 @@
     "storybook": "start-storybook -p 9006"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.4",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-events": "5.0.0-beta.4",
-    "@storybook/addon-jest": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/core": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/html": "5.0.0-beta.4",
+    "@storybook/addon-a11y": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-events": "5.0.0-rc.0",
+    "@storybook/addon-jest": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/html": "5.0.0-rc.0",
     "eventemitter3": "^3.1.0",
     "format-json": "^1.0.3",
     "global": "^4.3.2",
diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json
index 75e6ea952e9..6f85f4b4b7e 100644
--- a/examples/marko-cli/package.json
+++ b/examples/marko-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "marko-cli",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "description": "Demo of how to build an app using marko-starter",
   "repository": {
@@ -22,12 +22,12 @@
     "marko-starter": "^2.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/marko": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/marko": "5.0.0-rc.0",
     "prettier": "^1.16.4",
     "webpack": "^4.29.0"
   }
diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json
index 67868db00a9..a53a0986df1 100644
--- a/examples/mithril-kitchen-sink/package.json
+++ b/examples/mithril-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mithril-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -10,18 +10,18 @@
     "mithril": "^1.1.6"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/mithril": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/mithril": "5.0.0-rc.0",
     "webpack": "^4.29.0"
   }
 }
diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json
index 143dd3c2c91..787b5681403 100644
--- a/examples/official-storybook/package.json
+++ b/examples/official-storybook/package.json
@@ -1,6 +1,6 @@
 {
   "name": "official-storybook",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -c ./ -s built-storybooks",
@@ -12,29 +12,29 @@
     "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-beta.4",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-cssresources": "5.0.0-beta.4",
-    "@storybook/addon-events": "5.0.0-beta.4",
-    "@storybook/addon-graphql": "5.0.0-beta.4",
-    "@storybook/addon-info": "5.0.0-beta.4",
-    "@storybook/addon-jest": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storyshots-puppeteer": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/node-logger": "5.0.0-beta.4",
-    "@storybook/react": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addon-a11y": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-cssresources": "5.0.0-rc.0",
+    "@storybook/addon-events": "5.0.0-rc.0",
+    "@storybook/addon-graphql": "5.0.0-rc.0",
+    "@storybook/addon-info": "5.0.0-rc.0",
+    "@storybook/addon-jest": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/node-logger": "5.0.0-rc.0",
+    "@storybook/react": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "cors": "^2.8.4",
     "cross-env": "^5.2.0",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json
index 5de6577d7da..93b6f386c10 100644
--- a/examples/polymer-cli/package.json
+++ b/examples/polymer-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "polymer-cli",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -9,15 +9,15 @@
   },
   "dependencies": {
     "@polymer/polymer": "^2.6.0",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/polymer": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/polymer": "5.0.0-rc.0",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "global": "^4.3.2",
     "lit-html": "^1.0.0",
diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
index 7d64b696900..ce3df30411c 100644
--- a/examples/preact-kitchen-sink/package.json
+++ b/examples/preact-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "preact-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   "devDependencies": {
     "@babel/core": "^7.2.2",
     "@babel/plugin-transform-runtime": "^7.2.0",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/preact": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/preact": "5.0.0-rc.0",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json
index f11b885c1ec..5e8aa491187 100644
--- a/examples/riot-kitchen-sink/package.json
+++ b/examples/riot-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "riot-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/riot": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/riot": "5.0.0-rc.0",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
index 98525a33c62..e431457acc9 100644
--- a/examples/svelte-kitchen-sink/package.json
+++ b/examples/svelte-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "svelte-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -10,17 +10,17 @@
     "global": "^4.3.2"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/svelte": "5.0.0-beta.4"
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/svelte": "5.0.0-rc.0"
   }
 }
diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json
index 39eb1a6559c..10aaae91dec 100644
--- a/examples/vue-kitchen-sink/package.json
+++ b/examples/vue-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vue-example",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-backgrounds": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addon-storysource": "5.0.0-beta.4",
-    "@storybook/addon-viewport": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/vue": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-backgrounds": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addon-storysource": "5.0.0-rc.0",
+    "@storybook/addon-viewport": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/vue": "5.0.0-rc.0",
     "babel-core": "^7.0.0-bridge.0",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
diff --git a/lerna.json b/lerna.json
index a0e1e12d619..9d722944541 100644
--- a/lerna.json
+++ b/lerna.json
@@ -11,5 +11,5 @@
   "npmClient": "yarn",
   "useWorkspaces": true,
   "registry": "https://registry.npmjs.org",
-  "version": "5.0.0-beta.4"
+  "version": "5.0.0-rc.0"
 }
diff --git a/lib/addons/package.json b/lib/addons/package.json
index 2308abf20ba..de26f379e4b 100644
--- a/lib/addons/package.json
+++ b/lib/addons/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addons",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook addons store",
   "keywords": [
     "storybook"
@@ -20,8 +20,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
     "global": "^4.3.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json
index 2fc27892490..dd52f81ae0f 100644
--- a/lib/channel-postmessage/package.json
+++ b/lib/channel-postmessage/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-postmessage",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-rc.0",
     "global": "^4.3.2",
     "telejson": "^1.0.1"
   },
diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
index e804c6c5e93..bf0eb040f0d 100644
--- a/lib/channel-websocket/package.json
+++ b/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-websocket",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-beta.4",
+    "@storybook/channels": "5.0.0-rc.0",
     "global": "^4.3.2",
     "json-fn": "^1.1.1"
   },
diff --git a/lib/channels/package.json b/lib/channels/package.json
index cfcbdedef39..1140800e8fa 100644
--- a/lib/channels/package.json
+++ b/lib/channels/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channels",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/cli/package.json b/lib/cli/package.json
index e3df304ac93..0cb2f2b6398 100644
--- a/lib/cli/package.json
+++ b/lib/cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/cli",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook's CLI - easiest method of adding storybook to your projects",
   "keywords": [
     "cli",
@@ -29,7 +29,7 @@
     "@babel/core": "^7.2.2",
     "@babel/preset-env": "^7.3.1",
     "@babel/register": "^7.0.0",
-    "@storybook/codemod": "5.0.0-beta.4",
+    "@storybook/codemod": "5.0.0-rc.0",
     "chalk": "^2.4.1",
     "commander": "^2.19.0",
     "core-js": "^2.6.2",
@@ -43,31 +43,31 @@
     "update-notifier": "^2.5.0"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-beta.4",
-    "@storybook/addon-centered": "5.0.0-beta.4",
-    "@storybook/addon-graphql": "5.0.0-beta.4",
-    "@storybook/addon-info": "5.0.0-beta.4",
-    "@storybook/addon-knobs": "5.0.0-beta.4",
-    "@storybook/addon-links": "5.0.0-beta.4",
-    "@storybook/addon-notes": "5.0.0-beta.4",
-    "@storybook/addon-options": "5.0.0-beta.4",
-    "@storybook/addon-storyshots": "5.0.0-beta.4",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/angular": "5.0.0-beta.4",
-    "@storybook/channel-postmessage": "5.0.0-beta.4",
-    "@storybook/channel-websocket": "5.0.0-beta.4",
-    "@storybook/channels": "5.0.0-beta.4",
-    "@storybook/ember": "5.0.0-beta.4",
-    "@storybook/html": "5.0.0-beta.4",
-    "@storybook/marko": "5.0.0-beta.4",
-    "@storybook/mithril": "5.0.0-beta.4",
-    "@storybook/polymer": "5.0.0-beta.4",
-    "@storybook/preact": "5.0.0-beta.4",
-    "@storybook/react": "5.0.0-beta.4",
+    "@storybook/addon-actions": "5.0.0-rc.0",
+    "@storybook/addon-centered": "5.0.0-rc.0",
+    "@storybook/addon-graphql": "5.0.0-rc.0",
+    "@storybook/addon-info": "5.0.0-rc.0",
+    "@storybook/addon-knobs": "5.0.0-rc.0",
+    "@storybook/addon-links": "5.0.0-rc.0",
+    "@storybook/addon-notes": "5.0.0-rc.0",
+    "@storybook/addon-options": "5.0.0-rc.0",
+    "@storybook/addon-storyshots": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/angular": "5.0.0-rc.0",
+    "@storybook/channel-postmessage": "5.0.0-rc.0",
+    "@storybook/channel-websocket": "5.0.0-rc.0",
+    "@storybook/channels": "5.0.0-rc.0",
+    "@storybook/ember": "5.0.0-rc.0",
+    "@storybook/html": "5.0.0-rc.0",
+    "@storybook/marko": "5.0.0-rc.0",
+    "@storybook/mithril": "5.0.0-rc.0",
+    "@storybook/polymer": "5.0.0-rc.0",
+    "@storybook/preact": "5.0.0-rc.0",
+    "@storybook/react": "5.0.0-rc.0",
     "@storybook/react-native": "5.0.0-beta.4",
-    "@storybook/riot": "5.0.0-beta.4",
-    "@storybook/ui": "5.0.0-beta.4",
-    "@storybook/vue": "5.0.0-beta.4"
+    "@storybook/riot": "5.0.0-rc.0",
+    "@storybook/ui": "5.0.0-rc.0",
+    "@storybook/vue": "5.0.0-rc.0"
   },
   "publishConfig": {
     "access": "public"
diff --git a/lib/client-api/package.json b/lib/client-api/package.json
index a220f9cb7ac..584391d5d90 100644
--- a/lib/client-api/package.json
+++ b/lib/client-api/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-api",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook Client API",
   "keywords": [
     "storybook"
@@ -19,9 +19,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
     "common-tags": "^1.8.0",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
index 60c12dd8be8..5f37d87e86b 100644
--- a/lib/client-logger/package.json
+++ b/lib/client-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-logger",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/codemod/package.json b/lib/codemod/package.json
index 0a3add8b5d0..4cfbb09d7aa 100644
--- a/lib/codemod/package.json
+++ b/lib/codemod/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/codemod",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "A collection of codemod scripts written with JSCodeshift",
   "keywords": [
     "storybook"
diff --git a/lib/components/package.json b/lib/components/package.json
index 88a82603dc3..390f915d594 100644
--- a/lib/components/package.json
+++ b/lib/components/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/components",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/router": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/router": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "global": "^4.3.2",
     "immer": "^1.12.0",
     "js-beautify": "^1.8.9",
diff --git a/lib/core-events/package.json b/lib/core-events/package.json
index 6596b82f511..d64a492c452 100644
--- a/lib/core-events/package.json
+++ b/lib/core-events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core-events",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Event names used in storybook core",
   "keywords": [
     "storybook"
diff --git a/lib/core/package.json b/lib/core/package.json
index ca8a888e4af..30dd89eb18b 100644
--- a/lib/core/package.json
+++ b/lib/core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Storybook framework-agnostic API",
   "keywords": [
     "storybook"
@@ -24,14 +24,14 @@
     "@babel/plugin-syntax-dynamic-import": "^7.2.0",
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-env": "^7.3.1",
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/channel-postmessage": "5.0.0-beta.4",
-    "@storybook/client-api": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/node-logger": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
-    "@storybook/ui": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/channel-postmessage": "5.0.0-rc.0",
+    "@storybook/client-api": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/node-logger": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/ui": "5.0.0-rc.0",
     "airbnb-js-shims": "^1 || ^2",
     "autoprefixer": "^9.4.7",
     "babel-plugin-add-react-displayname": "^0.0.5",
diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json
index 9507157b93b..c133a83235f 100644
--- a/lib/node-logger/package.json
+++ b/lib/node-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/node-logger",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/router/package.json b/lib/router/package.json
index 355cee5b2bf..54055695666 100644
--- a/lib/router/package.json
+++ b/lib/router/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/router",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Core Storybook Router",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
   },
   "dependencies": {
     "@reach/router": "^1.2.1",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/theming": "5.0.0-rc.0",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
     "qs": "^6.5.2"
diff --git a/lib/theming/package.json b/lib/theming/package.json
index 756b89617c7..8b819e72471 100644
--- a/lib/theming/package.json
+++ b/lib/theming/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/theming",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
diff --git a/lib/ui/package.json b/lib/ui/package.json
index 967f0664f81..0b848994bbe 100644
--- a/lib/ui/package.json
+++ b/lib/ui/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ui",
-  "version": "5.0.0-beta.4",
+  "version": "5.0.0-rc.0",
   "description": "Core Storybook UI",
   "keywords": [
     "storybook"
@@ -21,12 +21,12 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-beta.4",
-    "@storybook/client-logger": "5.0.0-beta.4",
-    "@storybook/components": "5.0.0-beta.4",
-    "@storybook/core-events": "5.0.0-beta.4",
-    "@storybook/router": "5.0.0-beta.4",
-    "@storybook/theming": "5.0.0-beta.4",
+    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/components": "5.0.0-rc.0",
+    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/router": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.0",
     "eventemitter3": "^3.1.0",
     "fast-deep-equal": "^2.0.1",
     "fuse.js": "^3.3.1",

From 12847e194ba15e033eb7c81ce30b55679577cdc6 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 23:51:54 +0800
Subject: [PATCH 021/249] Add missing babel-preset-env dependency (#5617)

Add missing babel-preset-env dependency
---
 lib/core/package.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/core/package.json b/lib/core/package.json
index 30dd89eb18b..bae7f8d36ad 100644
--- a/lib/core/package.json
+++ b/lib/core/package.json
@@ -37,6 +37,7 @@
     "babel-plugin-add-react-displayname": "^0.0.5",
     "babel-plugin-emotion": "^10.0.7",
     "babel-plugin-macros": "^2.4.5",
+    "babel-preset-env": "^1.7.0",
     "babel-preset-minify": "^0.5.0 || 0.6.0-alpha.5",
     "boxen": "^2.1.0",
     "case-sensitive-paths-webpack-plugin": "^2.2.0",

From 1cf21b7f6249f808c11ef11ad4aefac72ee84b81 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sat, 16 Feb 2019 23:55:45 +0800
Subject: [PATCH 022/249] 5.0.0-rc.1 changelog

---
 CHANGELOG.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index bdf466130c5..fa4c0acfaf9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 5.0.0-rc.1 (February 16, 2019)
+
+### Bug Fixes
+
+* Core: Add missing babel-preset-env dependency ([#5617](https://github.com/storybooks/storybook/pull/5617))
+
 ## 5.0.0-rc.0 (February 16, 2019)
 
 Welcome to Storybook 5 (SB5) with a beautiful new user interface including:

From 55e36a69a5d953d6951393a5664bda9d3661fe09 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sun, 17 Feb 2019 00:06:26 +0800
Subject: [PATCH 023/249] Fix yarn.lock

---
 yarn.lock | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 240 insertions(+)

diff --git a/yarn.lock b/yarn.lock
index 676fa950a11..c65ca1dc8e7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1952,6 +1952,181 @@
   resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b"
   integrity sha512-vTCdPp/T/Q3oSqwHmZ5Kpa9oI7iLtGl3RQaA/NyLHikvcrPxACkkKVr/XzkSPJWXHRhKGzVvb0urJsbMlRxi1Q==
 
+"@storybook/addons@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.0.0-beta.4.tgz#57e091695a0aa647f02dd9745de1789a5d276b14"
+  integrity sha512-BPa63CvUTTkuAcblFgw+SlNuwpU+coHbzcU4zUZIgIg9auTZG5CZrkYMzwBF1nQsCkiNtGzRW27WrmcP7ufO4g==
+  dependencies:
+    "@storybook/channels" "5.0.0-beta.4"
+    "@storybook/client-logger" "5.0.0-beta.4"
+    global "^4.3.2"
+    util-deprecate "^1.0.2"
+
+"@storybook/channel-postmessage@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.0.0-beta.4.tgz#7a2c004b8ea2a8b90ad586cfa78f0e5dc06d81a1"
+  integrity sha512-zLgDZag8pWgM3LlnBCcDlthQ9CEOHuWXbDjwJ2hYYqHfZSsCphdaZlsi2wzRgBB5GovJYso4du3mwmRQYbMxPw==
+  dependencies:
+    "@storybook/channels" "5.0.0-beta.4"
+    global "^4.3.2"
+    telejson "^1.0.1"
+
+"@storybook/channel-websocket@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-5.0.0-beta.4.tgz#280e3061d1b252f9f58a6b9fb356f5282bd4f186"
+  integrity sha512-mr+9fhEb+BKymG/ubs43ehJxfnKJ3bXNW9SEtiAJ7hDcGi6oxhWobt9hM84hf0sGKyQBHBG/L2dDIryQfiWRqg==
+  dependencies:
+    "@storybook/channels" "5.0.0-beta.4"
+    global "^4.3.2"
+    json-fn "^1.1.1"
+
+"@storybook/channels@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.0.0-beta.4.tgz#e721fdfcd2a9593ff384edbfdae05ac62b2ffabc"
+  integrity sha512-la7VbasB6Dl1C22NrEb10Ilv/2RIeKPHmn1aaf6034OeAhPpCwdOnf0G4H9fNhEvm8qZIa7JhhDimxNchUD37w==
+
+"@storybook/client-api@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.0.0-beta.4.tgz#6336a3703c10b5a9d374aa2ec00d11acb0f46333"
+  integrity sha512-brxGvLV46ebj5UQqOzZBkHrqueONTu7a3O7D42Wn+87zZ24uqy+SKIWItaRGvrkIdry/QlBQweLJsfhpw2OHRQ==
+  dependencies:
+    "@storybook/addons" "5.0.0-beta.4"
+    "@storybook/client-logger" "5.0.0-beta.4"
+    "@storybook/core-events" "5.0.0-beta.4"
+    common-tags "^1.8.0"
+    eventemitter3 "^3.1.0"
+    global "^4.3.2"
+    is-plain-object "^2.0.4"
+    lodash.debounce "^4.0.8"
+    lodash.isequal "^4.5.0"
+    lodash.mergewith "^4.6.1"
+    memoizerific "^1.11.3"
+    qs "^6.5.2"
+
+"@storybook/client-logger@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.0.0-beta.4.tgz#005040cec6bfa2d2060d550f73567dcbdaa3b8a0"
+  integrity sha512-Nw8mCVZqTWAYO/sLOZmBDSUZPauyy07fRg+OISX9fplPOb9eFdv0PQhWPEeU6oE0f0tI9b2aQ1NAJeWpE+kV3Q==
+
+"@storybook/components@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.0.0-beta.4.tgz#195b90be9aa895bc349345b0dab91bda4c05c0fc"
+  integrity sha512-9EfFx0sxcnWz2Q02T9OCLrEHsoy/dALBwWnujcle5LmUQ8AtJK6DMpxNg4JETd6Zk3m1d3h7oakSKR6W54h9VA==
+  dependencies:
+    "@storybook/addons" "5.0.0-beta.4"
+    "@storybook/client-logger" "5.0.0-beta.4"
+    "@storybook/core-events" "5.0.0-beta.4"
+    "@storybook/router" "5.0.0-beta.4"
+    "@storybook/theming" "5.0.0-beta.4"
+    global "^4.3.2"
+    immer "^1.12.0"
+    js-beautify "^1.8.9"
+    lodash.pick "^4.4.0"
+    lodash.throttle "^4.1.1"
+    memoizerific "^1.11.3"
+    polished "^2.3.3"
+    prop-types "^15.6.2"
+    react "^16.8.1"
+    react-dom "^16.8.1"
+    react-focus-lock "^1.17.7"
+    react-helmet-async "^0.2.0"
+    react-inspector "^2.3.0"
+    react-popper-tooltip "^2.8.0"
+    react-syntax-highlighter "^8.0.1"
+    react-textarea-autosize "^7.0.4"
+    reactjs-popup "^1.3.2"
+    recompose "^0.30.0"
+    render-fragment "^0.1.1"
+
+"@storybook/core-events@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.0.0-beta.4.tgz#5964328f7259eafdbe14c976324a3488596c97f9"
+  integrity sha512-odmfS6fEuJQB5mu//ivblevxDCgQFr1Sqn0Ky1STTYbH6FKXhoRRsaMkGkjNZoyBPuKu9dmSW1MYy1MYZB6iiA==
+
+"@storybook/core@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/core/-/core-5.0.0-beta.4.tgz#81062859c2d510364e354b6e475cd45d8d5486ad"
+  integrity sha512-rP2joiWTf8AvPgccEytjsW+Q+kuuhVSJGTNGg9ciBfMkmW2wab8/eZ4rtp/GkUKWjoWWyJZsc+ahkXTj88e1HA==
+  dependencies:
+    "@babel/plugin-proposal-class-properties" "^7.3.0"
+    "@babel/plugin-proposal-object-rest-spread" "^7.3.2"
+    "@babel/plugin-syntax-dynamic-import" "^7.2.0"
+    "@babel/plugin-transform-react-constant-elements" "^7.2.0"
+    "@babel/preset-env" "^7.3.1"
+    "@storybook/addons" "5.0.0-beta.4"
+    "@storybook/channel-postmessage" "5.0.0-beta.4"
+    "@storybook/client-api" "5.0.0-beta.4"
+    "@storybook/client-logger" "5.0.0-beta.4"
+    "@storybook/core-events" "5.0.0-beta.4"
+    "@storybook/node-logger" "5.0.0-beta.4"
+    "@storybook/theming" "5.0.0-beta.4"
+    "@storybook/ui" "5.0.0-beta.4"
+    airbnb-js-shims "^1 || ^2"
+    autoprefixer "^9.4.7"
+    babel-plugin-add-react-displayname "^0.0.5"
+    babel-plugin-emotion "^10.0.7"
+    babel-plugin-macros "^2.4.5"
+    babel-preset-minify "^0.5.0 || 0.6.0-alpha.5"
+    boxen "^2.1.0"
+    case-sensitive-paths-webpack-plugin "^2.2.0"
+    chalk "^2.4.2"
+    child-process-promise "^2.2.1"
+    cli-table3 "0.5.1"
+    commander "^2.19.0"
+    common-tags "^1.8.0"
+    core-js "^2.6.2"
+    css-loader "^2.1.0"
+    detect-port "^1.2.3"
+    dotenv-webpack "^1.7.0"
+    ejs "^2.6.1"
+    express "^4.16.3"
+    file-loader "^3.0.1"
+    file-system-cache "^1.0.5"
+    find-cache-dir "^2.0.0"
+    fs-extra "^7.0.1"
+    global "^4.3.2"
+    html-webpack-plugin "^4.0.0-beta.2"
+    inquirer "^6.2.0"
+    interpret "^1.2.0"
+    ip "^1.1.5"
+    json5 "^2.1.0"
+    lazy-universal-dotenv "^2.0.0"
+    node-fetch "^2.2.0"
+    object.omit "^3.0.0"
+    opn "^5.4.0"
+    postcss-flexbugs-fixes "^4.1.0"
+    postcss-loader "^3.0.0"
+    pretty-hrtime "^1.0.3"
+    prop-types "^15.6.2"
+    raw-loader "^1.0.0"
+    react-dev-utils "^7.0.0"
+    regenerator-runtime "^0.12.1"
+    resolve "^1.10.0"
+    resolve-from "^4.0.0"
+    semver "^5.6.0"
+    serve-favicon "^2.5.0"
+    shelljs "^0.8.2"
+    spawn-promise "^0.1.8"
+    style-loader "^0.23.1"
+    svg-url-loader "^2.3.2"
+    terser-webpack-plugin "^1.2.1"
+    url-loader "^1.1.2"
+    util-deprecate "^1.0.2"
+    webpack "^4.29.0"
+    webpack-dev-middleware "^3.5.1"
+    webpack-hot-middleware "^2.24.3"
+
+"@storybook/node-logger@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-5.0.0-beta.4.tgz#db6e01f78005960d8ee1a5725df2dc85d7f30f7b"
+  integrity sha512-I4zm1jFEc1wMG/4/fLHFTO9GPEmoBjAgWE6pyc4CJnC7B7pU3JP66LGCc5N923oSNgrlY/biyUKnm3iLAJr6Og==
+  dependencies:
+    chalk "^2.4.2"
+    core-js "^2.6.2"
+    npmlog "^4.1.2"
+    pretty-hrtime "^1.0.3"
+    regenerator-runtime "^0.12.1"
+
 "@storybook/react-native@5.0.0-beta.4":
   version "5.0.0-beta.4"
   resolved "https://registry.yarnpkg.com/@storybook/react-native/-/react-native-5.0.0-beta.4.tgz#d0b9baea545e156ff4b65590019373eaebbb7a65"
@@ -1997,6 +2172,71 @@
     webpack-hot-middleware "^2.24.3"
     ws "^6.1.3"
 
+"@storybook/router@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.0.0-beta.4.tgz#7691698cb5ec03f81a32b8eadeb3d8856b7dc659"
+  integrity sha512-0w9MmLrwSanulVjvAewQ9qQNnkn9CSy/+YXkesNuI/FNzS88RbZUZW3N1LkWNc505cMA6Qro41hak41iv7ipXw==
+  dependencies:
+    "@reach/router" "^1.2.1"
+    "@storybook/theming" "5.0.0-beta.4"
+    global "^4.3.2"
+    memoizerific "^1.11.3"
+    qs "^6.5.2"
+
+"@storybook/theming@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.0.0-beta.4.tgz#9b2d47b10e3bae8b0a76b399eccaa495013aeca2"
+  integrity sha512-xDHvV0jM6g21b9anjdk9L6TGK79itiYMoomTr4jkzERX0mgi0ENJCQbCE0q1G1XTQOOKSzvFSk0JSX1DzvZp9w==
+  dependencies:
+    "@emotion/core" "^10.0.5"
+    "@emotion/styled" "^10.0.5"
+    emotion-theming "^10.0.5"
+    global "^4.3.2"
+    memoizerific "^1.11.3"
+    prop-types "^15.6.2"
+    react-inspector "^2.3.1"
+
+"@storybook/ui@5.0.0-beta.4":
+  version "5.0.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-5.0.0-beta.4.tgz#fade4069aa61b391d3237bcfa67b2faf4b5a0d9c"
+  integrity sha512-MpMltR79CUevWNrMvfH601zMP/UJ4mhrA021uYov9KbHI+FptSbyehemPFP83UYJw6oWWlBDwkOwSeFxJNCiQQ==
+  dependencies:
+    "@storybook/addons" "5.0.0-beta.4"
+    "@storybook/client-logger" "5.0.0-beta.4"
+    "@storybook/components" "5.0.0-beta.4"
+    "@storybook/core-events" "5.0.0-beta.4"
+    "@storybook/router" "5.0.0-beta.4"
+    "@storybook/theming" "5.0.0-beta.4"
+    eventemitter3 "^3.1.0"
+    fast-deep-equal "^2.0.1"
+    fuse.js "^3.3.1"
+    fuzzy-search "^3.0.1"
+    global "^4.3.2"
+    history "^4.7.2"
+    keycode "^2.2.0"
+    lodash.debounce "^4.0.8"
+    lodash.isequal "^4.5.0"
+    lodash.mergewith "^4.6.1"
+    lodash.pick "^4.4.0"
+    lodash.sortby "^4.7.0"
+    lodash.throttle "^4.1.1"
+    markdown-to-jsx "^6.9.1"
+    memoizerific "^1.11.3"
+    polished "^2.3.3"
+    prop-types "^15.6.2"
+    qs "^6.5.2"
+    react "^16.8.1"
+    react-dom "^16.8.1"
+    react-draggable "^3.1.1"
+    react-helmet-async "^0.2.0"
+    react-hotkeys "2.0.0-pre4"
+    react-lifecycles-compat "^3.0.4"
+    react-modal "^3.8.1"
+    react-resize-detector "^3.2.1"
+    recompose "^0.30.0"
+    to-camel-case "^1.0.0"
+    util-deprecate "^1.0.2"
+
 "@svgr/babel-plugin-add-jsx-attribute@^4.0.0":
   version "4.0.0"
   resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.0.0.tgz#5acf239cd2747b1a36ec7e708de05d914cb9b948"

From 22d3ee17e6f5931234951b6e7df43b1dc63f03b4 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Sun, 17 Feb 2019 00:07:33 +0800
Subject: [PATCH 024/249] v5.0.0-rc.1

---
 addons/a11y/package.json                      | 12 ++---
 addons/actions/package.json                   | 10 ++--
 addons/backgrounds/package.json               | 12 ++---
 addons/centered/package.json                  |  2 +-
 addons/cssresources/package.json              | 10 ++--
 addons/events/package.json                    |  8 +--
 addons/google-analytics/package.json          |  6 +--
 addons/graphql/package.json                   |  2 +-
 addons/info/package.json                      | 10 ++--
 addons/jest/package.json                      | 10 ++--
 addons/knobs/package.json                     | 10 ++--
 addons/links/package.json                     |  6 +--
 addons/notes/package.json                     | 12 ++---
 addons/options/package.json                   |  4 +-
 .../storyshots/storyshots-core/package.json   |  4 +-
 .../storyshots-puppeteer/package.json         |  6 +--
 addons/storysource/package.json               |  8 +--
 addons/viewport/package.json                  | 12 ++---
 app/angular/package.json                      |  6 +--
 app/ember/package.json                        |  4 +-
 app/html/package.json                         |  4 +-
 app/marko/package.json                        |  4 +-
 app/mithril/package.json                      |  4 +-
 app/polymer/package.json                      |  4 +-
 app/preact/package.json                       |  4 +-
 app/react/package.json                        |  8 +--
 app/riot/package.json                         |  4 +-
 app/svelte/package.json                       |  4 +-
 app/vue/package.json                          |  4 +-
 examples/angular-cli/package.json             | 26 +++++-----
 examples/cra-kitchen-sink/package.json        | 32 ++++++------
 examples/cra-ts-kitchen-sink/package.json     | 12 ++---
 examples/ember-cli/package.json               | 26 +++++-----
 examples/html-kitchen-sink/package.json       | 36 ++++++-------
 examples/marko-cli/package.json               | 14 ++---
 examples/mithril-kitchen-sink/package.json    | 26 +++++-----
 examples/official-storybook/package.json      | 48 ++++++++---------
 examples/polymer-cli/package.json             | 20 +++----
 examples/preact-kitchen-sink/package.json     | 26 +++++-----
 examples/riot-kitchen-sink/package.json       | 26 +++++-----
 examples/svelte-kitchen-sink/package.json     | 26 +++++-----
 examples/vue-kitchen-sink/package.json        | 26 +++++-----
 lerna.json                                    |  2 +-
 lib/addons/package.json                       |  6 +--
 lib/channel-postmessage/package.json          |  4 +-
 lib/channel-websocket/package.json            |  4 +-
 lib/channels/package.json                     |  2 +-
 lib/cli/package.json                          | 52 +++++++++----------
 lib/client-api/package.json                   |  8 +--
 lib/client-logger/package.json                |  2 +-
 lib/codemod/package.json                      |  2 +-
 lib/components/package.json                   | 12 ++---
 lib/core-events/package.json                  |  2 +-
 lib/core/package.json                         | 18 +++----
 lib/node-logger/package.json                  |  2 +-
 lib/router/package.json                       |  4 +-
 lib/theming/package.json                      |  2 +-
 lib/ui/package.json                           | 14 ++---
 58 files changed, 337 insertions(+), 337 deletions(-)

diff --git a/addons/a11y/package.json b/addons/a11y/package.json
index fac9e8049cd..25efb8a4b39 100644
--- a/addons/a11y/package.json
+++ b/addons/a11y/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-a11y",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "a11y addon for storybook",
   "keywords": [
     "a11y",
@@ -25,11 +25,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "axe-core": "^3.1.2",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/addons/actions/package.json b/addons/actions/package.json
index 71c3317721c..1d494963bef 100644
--- a/addons/actions/package.json
+++ b/addons/actions/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-actions",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Action Logger addon for storybook",
   "keywords": [
     "storybook"
@@ -20,10 +20,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "fast-deep-equal": "^2.0.1",
     "global": "^4.3.2",
diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json
index 5af298c9506..0311b33e551 100644
--- a/addons/backgrounds/package.json
+++ b/addons/backgrounds/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-backgrounds",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "A storybook addon to show different backgrounds for your preview",
   "keywords": [
     "addon",
@@ -24,11 +24,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/addons/centered/package.json b/addons/centered/package.json
index 94c56176501..4a8779c3229 100644
--- a/addons/centered/package.json
+++ b/addons/centered/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-centered",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook decorator to center components",
   "keywords": [
     "addon",
diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json
index cac4d23f7bd..e515d526183 100644
--- a/addons/cssresources/package.json
+++ b/addons/cssresources/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-cssresources",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "A storybook addon to switch between css resources at runtime for your story",
   "keywords": [
     "addon",
@@ -25,10 +25,10 @@
   },
   "dependencies": {
     "@emotion/styled": "10.0.6",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/channels": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/channels": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/events/package.json b/addons/events/package.json
index df295af9a7c..629a4dbaa5d 100644
--- a/addons/events/package.json
+++ b/addons/events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-events",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Add events to your Storybook stories.",
   "keywords": [
     "addon",
@@ -23,9 +23,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "format-json": "^1.0.3",
     "prop-types": "^15.6.2",
diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json
index 7c5a1e2a542..1d7b936564f 100644
--- a/addons/google-analytics/package.json
+++ b/addons/google-analytics/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-google-analytics",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook addon for google analytics",
   "keywords": [
     "addon",
@@ -19,8 +19,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "react-ga": "^2.5.3"
diff --git a/addons/graphql/package.json b/addons/graphql/package.json
index 474891b664e..ac3809753c2 100644
--- a/addons/graphql/package.json
+++ b/addons/graphql/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-graphql",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook addon to display the GraphiQL IDE",
   "keywords": [
     "addon",
diff --git a/addons/info/package.json b/addons/info/package.json
index 89123b151e7..59b23494a52 100644
--- a/addons/info/package.json
+++ b/addons/info/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-info",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "A Storybook addon to show additional information for your stories.",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "marksy": "^6.1.0",
diff --git a/addons/jest/package.json b/addons/jest/package.json
index 106c9a7f665..0a5954f7a22 100644
--- a/addons/jest/package.json
+++ b/addons/jest/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-jest",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "React storybook addon that show component jest report",
   "keywords": [
     "addon",
@@ -27,10 +27,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "prop-types": "^15.6.2",
diff --git a/addons/knobs/package.json b/addons/knobs/package.json
index 9d2d2a7c6d4..c77d58957d6 100644
--- a/addons/knobs/package.json
+++ b/addons/knobs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-knobs",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook Addon Prop Editor Component",
   "keywords": [
     "addon",
@@ -21,10 +21,10 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "copy-to-clipboard": "^3.0.8",
     "core-js": "^2.6.2",
     "escape-html": "^1.0.3",
diff --git a/addons/links/package.json b/addons/links/package.json
index f41d10b46b0..275d782ed2f 100644
--- a/addons/links/package.json
+++ b/addons/links/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-links",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Story Links addon for storybook",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/addons/notes/package.json b/addons/notes/package.json
index 06581f9191b..c471d5d0756 100644
--- a/addons/notes/package.json
+++ b/addons/notes/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-notes",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Write notes for your Storybook stories.",
   "keywords": [
     "addon",
@@ -22,11 +22,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "markdown-to-jsx": "^6.9.1",
     "prop-types": "^15.6.2",
     "util-deprecate": "^1.0.2"
diff --git a/addons/options/package.json b/addons/options/package.json
index 94ac709d962..29b5df669da 100644
--- a/addons/options/package.json
+++ b/addons/options/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-options",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Options addon for storybook",
   "keywords": [
     "addon",
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json
index c972ab89b64..900e2ce6b7e 100644
--- a/addons/storyshots/storyshots-core/package.json
+++ b/addons/storyshots/storyshots-core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
   "keywords": [
     "addon",
@@ -24,7 +24,7 @@
     "storybook": "start-storybook -p 6006"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "glob": "^7.1.3",
     "global": "^4.3.2",
diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json
index c965609c873..fec79e00d47 100644
--- a/addons/storyshots/storyshots-puppeteer/package.json
+++ b/addons/storyshots/storyshots-puppeteer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storyshots-puppeteer",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Image snappshots addition to StoryShots base on puppeteer",
   "keywords": [
     "addon",
@@ -21,8 +21,8 @@
     "prepare": "node ../../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
-    "@storybook/node-logger": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
+    "@storybook/node-logger": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "jest-image-snapshot": "^2.6.0",
     "puppeteer": "^1.12.0",
diff --git a/addons/storysource/package.json b/addons/storysource/package.json
index 1b3518c2475..7755343e3f0 100644
--- a/addons/storysource/package.json
+++ b/addons/storysource/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-storysource",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Stories addon for storybook",
   "keywords": [
     "addon",
@@ -21,9 +21,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "estraverse": "^4.2.0",
     "loader-utils": "^1.2.1",
diff --git a/addons/viewport/package.json b/addons/viewport/package.json
index 83bbdfab550..8dc37cce563 100644
--- a/addons/viewport/package.json
+++ b/addons/viewport/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addon-viewport",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook addon to change the viewport size to mobile",
   "keywords": [
     "addon",
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
diff --git a/app/angular/package.json b/app/angular/package.json
index 2aba06f40c1..cb2733fa394 100644
--- a/app/angular/package.json
+++ b/app/angular/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/angular",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,8 +25,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
-    "@storybook/node-logger": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
+    "@storybook/node-logger": "5.0.0-rc.1",
     "angular2-template-loader": "^0.6.2",
     "core-js": "^2.6.2",
     "fork-ts-checker-webpack-plugin": "^0.5.2",
diff --git a/app/ember/package.json b/app/ember/package.json
index e13db176821..68b2072619b 100644
--- a/app/ember/package.json
+++ b/app/ember/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ember",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
   "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
   "bugs": {
@@ -23,7 +23,7 @@
   },
   "dependencies": {
     "@ember/test-helpers": "^1.3.1",
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/html/package.json b/app/html/package.json
index 5c4c8970dd2..f3d9393d7f1 100644
--- a/app/html/package.json
+++ b/app/html/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/html",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/marko/package.json b/app/marko/package.json
index d52a4e5809c..d838d663cd7 100644
--- a/app/marko/package.json
+++ b/app/marko/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/marko",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/mithril/package.json b/app/mithril/package.json
index 59cbe3015bd..f94cf749898 100644
--- a/app/mithril/package.json
+++ b/app/mithril/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/mithril",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Mithril: Develop Mithril Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/polymer/package.json b/app/polymer/package.json
index 5a2b13ef941..dfbbf27ec12 100644
--- a/app/polymer/package.json
+++ b/app/polymer/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/polymer",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
diff --git a/app/preact/package.json b/app/preact/package.json
index 68321f54d65..82271fc297b 100644
--- a/app/preact/package.json
+++ b/app/preact/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/preact",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Preact: Develop Preact Component in isolation.",
   "keywords": [
     "storybook"
@@ -26,7 +26,7 @@
   },
   "dependencies": {
     "@babel/plugin-transform-react-jsx": "^7.3.0",
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/react/package.json b/app/react/package.json
index ed11da3511a..02dca019dcd 100644
--- a/app/react/package.json
+++ b/app/react/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/react",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -28,9 +28,9 @@
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-flow": "^7.0.0",
     "@babel/preset-react": "^7.0.0",
-    "@storybook/core": "5.0.0-rc.0",
-    "@storybook/node-logger": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
+    "@storybook/node-logger": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "@svgr/webpack": "^4.0.3",
     "babel-plugin-named-asset-import": "^0.3.0",
     "babel-plugin-react-docgen": "^2.0.2",
diff --git a/app/riot/package.json b/app/riot/package.json
index cd417586292..ba674a6845b 100644
--- a/app/riot/package.json
+++ b/app/riot/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/riot",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -24,7 +24,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/svelte/package.json b/app/svelte/package.json
index 528bffd6555..38e5d867c7d 100644
--- a/app/svelte/package.json
+++ b/app/svelte/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/svelte",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/app/vue/package.json b/app/vue/package.json
index f9428fcb187..6a23872320c 100644
--- a/app/vue/package.json
+++ b/app/vue/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/vue",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
   "keywords": [
     "storybook"
@@ -25,7 +25,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/core": "5.0.0-rc.0",
+    "@storybook/core": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "core-js": "^2.6.2",
     "global": "^4.3.2",
diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json
index c6e3b0028c8..e3caad48227 100644
--- a/examples/angular-cli/package.json
+++ b/examples/angular-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "angular-cli",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "license": "MIT",
   "scripts": {
@@ -33,18 +33,18 @@
     "@angular-devkit/build-angular": "^0.11.4",
     "@angular/cli": "^7.3.0",
     "@angular/compiler-cli": "^7.2.1",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-jest": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/angular": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-jest": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/angular": "5.0.0-rc.1",
     "@types/core-js": "^2.5.0",
     "@types/jest": "^23.3.13",
     "@types/node": "~10.12.19",
diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
index cad7b978b59..612d354950c 100644
--- a/examples/cra-kitchen-sink/package.json
+++ b/examples/cra-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-kitchen-sink",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build": "react-scripts build",
@@ -18,21 +18,21 @@
     "react-lifecycles-compat": "^3.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-rc.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-events": "5.0.0-rc.0",
-    "@storybook/addon-info": "5.0.0-rc.0",
-    "@storybook/addon-jest": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/react": "5.0.0-rc.0",
+    "@storybook/addon-a11y": "5.0.0-rc.1",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-events": "5.0.0-rc.1",
+    "@storybook/addon-info": "5.0.0-rc.1",
+    "@storybook/addon-jest": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/react": "5.0.0-rc.1",
     "enzyme": "^3.7.0",
     "enzyme-adapter-react-16": "^1.9.1",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
index 64b19007079..1241af5607b 100644
--- a/examples/cra-ts-kitchen-sink/package.json
+++ b/examples/cra-ts-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cra-ts-kitchen-sink",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -19,11 +19,11 @@
     "react-dom": "^16.8.1"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-info": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/react": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-info": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/react": "5.0.0-rc.1",
     "@types/enzyme": "^3.1.15",
     "@types/react": "^16.7.22",
     "@types/react-dom": "^16.0.11",
diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
index e0dfee166e0..c899919d2f6 100644
--- a/examples/ember-cli/package.json
+++ b/examples/ember-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ember-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build": "ember build",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-a11y": "5.0.0-rc.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/ember": "5.0.0-rc.0",
+    "@storybook/addon-a11y": "5.0.0-rc.1",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/ember": "5.0.0-rc.1",
     "babel-loader": "^8",
     "broccoli-asset-rev": "^3.0.0",
     "cross-env": "^5.2.0",
diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
index 4c86625d181..a8afac3a589 100644
--- a/examples/html-kitchen-sink/package.json
+++ b/examples/html-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "html-kitchen-sink",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "description": "",
   "keywords": [],
@@ -13,23 +13,23 @@
     "storybook": "start-storybook -p 9006"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-rc.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-events": "5.0.0-rc.0",
-    "@storybook/addon-jest": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/core": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/html": "5.0.0-rc.0",
+    "@storybook/addon-a11y": "5.0.0-rc.1",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-events": "5.0.0-rc.1",
+    "@storybook/addon-jest": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/core": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/html": "5.0.0-rc.1",
     "eventemitter3": "^3.1.0",
     "format-json": "^1.0.3",
     "global": "^4.3.2",
diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json
index 6f85f4b4b7e..7d6df4a4255 100644
--- a/examples/marko-cli/package.json
+++ b/examples/marko-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "marko-cli",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "description": "Demo of how to build an app using marko-starter",
   "repository": {
@@ -22,12 +22,12 @@
     "marko-starter": "^2.0.4"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/marko": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/marko": "5.0.0-rc.1",
     "prettier": "^1.16.4",
     "webpack": "^4.29.0"
   }
diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json
index a53a0986df1..25127b44841 100644
--- a/examples/mithril-kitchen-sink/package.json
+++ b/examples/mithril-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mithril-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -10,18 +10,18 @@
     "mithril": "^1.1.6"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/mithril": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/mithril": "5.0.0-rc.1",
     "webpack": "^4.29.0"
   }
 }
diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json
index 787b5681403..fe056b631a1 100644
--- a/examples/official-storybook/package.json
+++ b/examples/official-storybook/package.json
@@ -1,6 +1,6 @@
 {
   "name": "official-storybook",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -c ./ -s built-storybooks",
@@ -12,29 +12,29 @@
     "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll"
   },
   "devDependencies": {
-    "@storybook/addon-a11y": "5.0.0-rc.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-cssresources": "5.0.0-rc.0",
-    "@storybook/addon-events": "5.0.0-rc.0",
-    "@storybook/addon-graphql": "5.0.0-rc.0",
-    "@storybook/addon-info": "5.0.0-rc.0",
-    "@storybook/addon-jest": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/node-logger": "5.0.0-rc.0",
-    "@storybook/react": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addon-a11y": "5.0.0-rc.1",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-cssresources": "5.0.0-rc.1",
+    "@storybook/addon-events": "5.0.0-rc.1",
+    "@storybook/addon-graphql": "5.0.0-rc.1",
+    "@storybook/addon-info": "5.0.0-rc.1",
+    "@storybook/addon-jest": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/node-logger": "5.0.0-rc.1",
+    "@storybook/react": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "cors": "^2.8.4",
     "cross-env": "^5.2.0",
     "enzyme-to-json": "^3.3.4",
diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json
index 93b6f386c10..2d80c2d868f 100644
--- a/examples/polymer-cli/package.json
+++ b/examples/polymer-cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "polymer-cli",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook",
@@ -9,15 +9,15 @@
   },
   "dependencies": {
     "@polymer/polymer": "^2.6.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/polymer": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/polymer": "5.0.0-rc.1",
     "@webcomponents/webcomponentsjs": "^1.2.0",
     "global": "^4.3.2",
     "lit-html": "^1.0.0",
diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
index ce3df30411c..1f69010be02 100644
--- a/examples/preact-kitchen-sink/package.json
+++ b/examples/preact-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "preact-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   "devDependencies": {
     "@babel/core": "^7.2.2",
     "@babel/plugin-transform-runtime": "^7.2.0",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/preact": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/preact": "5.0.0-rc.1",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json
index 5e8aa491187..b15b2e3f0b9 100644
--- a/examples/riot-kitchen-sink/package.json
+++ b/examples/riot-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "riot-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,18 +15,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/riot": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/riot": "5.0.0-rc.1",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
     "file-loader": "^3.0.1",
diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
index e431457acc9..02a851c38ca 100644
--- a/examples/svelte-kitchen-sink/package.json
+++ b/examples/svelte-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "svelte-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build-storybook": "build-storybook -s public",
@@ -10,17 +10,17 @@
     "global": "^4.3.2"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/svelte": "5.0.0-rc.0"
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/svelte": "5.0.0-rc.1"
   }
 }
diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json
index 10aaae91dec..c80abc3f524 100644
--- a/examples/vue-kitchen-sink/package.json
+++ b/examples/vue-kitchen-sink/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vue-example",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "private": true,
   "scripts": {
     "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -14,18 +14,18 @@
   },
   "devDependencies": {
     "@babel/core": "^7.2.2",
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-backgrounds": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addon-storysource": "5.0.0-rc.0",
-    "@storybook/addon-viewport": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/vue": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-backgrounds": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addon-storysource": "5.0.0-rc.1",
+    "@storybook/addon-viewport": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/vue": "5.0.0-rc.1",
     "babel-core": "^7.0.0-bridge.0",
     "babel-loader": "^8.0.4",
     "cross-env": "^5.2.0",
diff --git a/lerna.json b/lerna.json
index 9d722944541..69b885cfa42 100644
--- a/lerna.json
+++ b/lerna.json
@@ -11,5 +11,5 @@
   "npmClient": "yarn",
   "useWorkspaces": true,
   "registry": "https://registry.npmjs.org",
-  "version": "5.0.0-rc.0"
+  "version": "5.0.0-rc.1"
 }
diff --git a/lib/addons/package.json b/lib/addons/package.json
index de26f379e4b..314c0ea0067 100644
--- a/lib/addons/package.json
+++ b/lib/addons/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/addons",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook addons store",
   "keywords": [
     "storybook"
@@ -20,8 +20,8 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
+    "@storybook/channels": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
     "global": "^4.3.2",
     "util-deprecate": "^1.0.2"
   },
diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json
index dd52f81ae0f..898c9153eba 100644
--- a/lib/channel-postmessage/package.json
+++ b/lib/channel-postmessage/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-postmessage",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-rc.0",
+    "@storybook/channels": "5.0.0-rc.1",
     "global": "^4.3.2",
     "telejson": "^1.0.1"
   },
diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
index bf0eb040f0d..b7b07b9debd 100644
--- a/lib/channel-websocket/package.json
+++ b/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channel-websocket",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/channels": "5.0.0-rc.0",
+    "@storybook/channels": "5.0.0-rc.1",
     "global": "^4.3.2",
     "json-fn": "^1.1.1"
   },
diff --git a/lib/channels/package.json b/lib/channels/package.json
index 1140800e8fa..07e1cad6154 100644
--- a/lib/channels/package.json
+++ b/lib/channels/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/channels",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/cli/package.json b/lib/cli/package.json
index 0cb2f2b6398..908383fb934 100644
--- a/lib/cli/package.json
+++ b/lib/cli/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/cli",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook's CLI - easiest method of adding storybook to your projects",
   "keywords": [
     "cli",
@@ -29,7 +29,7 @@
     "@babel/core": "^7.2.2",
     "@babel/preset-env": "^7.3.1",
     "@babel/register": "^7.0.0",
-    "@storybook/codemod": "5.0.0-rc.0",
+    "@storybook/codemod": "5.0.0-rc.1",
     "chalk": "^2.4.1",
     "commander": "^2.19.0",
     "core-js": "^2.6.2",
@@ -43,31 +43,31 @@
     "update-notifier": "^2.5.0"
   },
   "devDependencies": {
-    "@storybook/addon-actions": "5.0.0-rc.0",
-    "@storybook/addon-centered": "5.0.0-rc.0",
-    "@storybook/addon-graphql": "5.0.0-rc.0",
-    "@storybook/addon-info": "5.0.0-rc.0",
-    "@storybook/addon-knobs": "5.0.0-rc.0",
-    "@storybook/addon-links": "5.0.0-rc.0",
-    "@storybook/addon-notes": "5.0.0-rc.0",
-    "@storybook/addon-options": "5.0.0-rc.0",
-    "@storybook/addon-storyshots": "5.0.0-rc.0",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/angular": "5.0.0-rc.0",
-    "@storybook/channel-postmessage": "5.0.0-rc.0",
-    "@storybook/channel-websocket": "5.0.0-rc.0",
-    "@storybook/channels": "5.0.0-rc.0",
-    "@storybook/ember": "5.0.0-rc.0",
-    "@storybook/html": "5.0.0-rc.0",
-    "@storybook/marko": "5.0.0-rc.0",
-    "@storybook/mithril": "5.0.0-rc.0",
-    "@storybook/polymer": "5.0.0-rc.0",
-    "@storybook/preact": "5.0.0-rc.0",
-    "@storybook/react": "5.0.0-rc.0",
+    "@storybook/addon-actions": "5.0.0-rc.1",
+    "@storybook/addon-centered": "5.0.0-rc.1",
+    "@storybook/addon-graphql": "5.0.0-rc.1",
+    "@storybook/addon-info": "5.0.0-rc.1",
+    "@storybook/addon-knobs": "5.0.0-rc.1",
+    "@storybook/addon-links": "5.0.0-rc.1",
+    "@storybook/addon-notes": "5.0.0-rc.1",
+    "@storybook/addon-options": "5.0.0-rc.1",
+    "@storybook/addon-storyshots": "5.0.0-rc.1",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/angular": "5.0.0-rc.1",
+    "@storybook/channel-postmessage": "5.0.0-rc.1",
+    "@storybook/channel-websocket": "5.0.0-rc.1",
+    "@storybook/channels": "5.0.0-rc.1",
+    "@storybook/ember": "5.0.0-rc.1",
+    "@storybook/html": "5.0.0-rc.1",
+    "@storybook/marko": "5.0.0-rc.1",
+    "@storybook/mithril": "5.0.0-rc.1",
+    "@storybook/polymer": "5.0.0-rc.1",
+    "@storybook/preact": "5.0.0-rc.1",
+    "@storybook/react": "5.0.0-rc.1",
     "@storybook/react-native": "5.0.0-beta.4",
-    "@storybook/riot": "5.0.0-rc.0",
-    "@storybook/ui": "5.0.0-rc.0",
-    "@storybook/vue": "5.0.0-rc.0"
+    "@storybook/riot": "5.0.0-rc.1",
+    "@storybook/ui": "5.0.0-rc.1",
+    "@storybook/vue": "5.0.0-rc.1"
   },
   "publishConfig": {
     "access": "public"
diff --git a/lib/client-api/package.json b/lib/client-api/package.json
index 584391d5d90..af5a84abe36 100644
--- a/lib/client-api/package.json
+++ b/lib/client-api/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-api",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook Client API",
   "keywords": [
     "storybook"
@@ -19,9 +19,9 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
     "common-tags": "^1.8.0",
     "eventemitter3": "^3.1.0",
     "global": "^4.3.2",
diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
index 5f37d87e86b..26b41433a53 100644
--- a/lib/client-logger/package.json
+++ b/lib/client-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/client-logger",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/codemod/package.json b/lib/codemod/package.json
index 4cfbb09d7aa..0688718b15d 100644
--- a/lib/codemod/package.json
+++ b/lib/codemod/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/codemod",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "A collection of codemod scripts written with JSCodeshift",
   "keywords": [
     "storybook"
diff --git a/lib/components/package.json b/lib/components/package.json
index 390f915d594..7889f209cd2 100644
--- a/lib/components/package.json
+++ b/lib/components/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/components",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
@@ -20,11 +20,11 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/router": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/router": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "global": "^4.3.2",
     "immer": "^1.12.0",
     "js-beautify": "^1.8.9",
diff --git a/lib/core-events/package.json b/lib/core-events/package.json
index d64a492c452..a0b06bdffa9 100644
--- a/lib/core-events/package.json
+++ b/lib/core-events/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core-events",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Event names used in storybook core",
   "keywords": [
     "storybook"
diff --git a/lib/core/package.json b/lib/core/package.json
index bae7f8d36ad..00e83f083dd 100644
--- a/lib/core/package.json
+++ b/lib/core/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/core",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Storybook framework-agnostic API",
   "keywords": [
     "storybook"
@@ -24,14 +24,14 @@
     "@babel/plugin-syntax-dynamic-import": "^7.2.0",
     "@babel/plugin-transform-react-constant-elements": "^7.2.0",
     "@babel/preset-env": "^7.3.1",
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/channel-postmessage": "5.0.0-rc.0",
-    "@storybook/client-api": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/node-logger": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
-    "@storybook/ui": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/channel-postmessage": "5.0.0-rc.1",
+    "@storybook/client-api": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/node-logger": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
+    "@storybook/ui": "5.0.0-rc.1",
     "airbnb-js-shims": "^1 || ^2",
     "autoprefixer": "^9.4.7",
     "babel-plugin-add-react-displayname": "^0.0.5",
diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json
index c133a83235f..5aca4204d75 100644
--- a/lib/node-logger/package.json
+++ b/lib/node-logger/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/node-logger",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "",
   "keywords": [
     "storybook"
diff --git a/lib/router/package.json b/lib/router/package.json
index 54055695666..c9620258419 100644
--- a/lib/router/package.json
+++ b/lib/router/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/router",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Core Storybook Router",
   "keywords": [
     "storybook"
@@ -20,7 +20,7 @@
   },
   "dependencies": {
     "@reach/router": "^1.2.1",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/theming": "5.0.0-rc.1",
     "global": "^4.3.2",
     "memoizerific": "^1.11.3",
     "qs": "^6.5.2"
diff --git a/lib/theming/package.json b/lib/theming/package.json
index 8b819e72471..40515c4c8e5 100644
--- a/lib/theming/package.json
+++ b/lib/theming/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/theming",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Core Storybook Components",
   "keywords": [
     "storybook"
diff --git a/lib/ui/package.json b/lib/ui/package.json
index 0b848994bbe..e50159c5c28 100644
--- a/lib/ui/package.json
+++ b/lib/ui/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@storybook/ui",
-  "version": "5.0.0-rc.0",
+  "version": "5.0.0-rc.1",
   "description": "Core Storybook UI",
   "keywords": [
     "storybook"
@@ -21,12 +21,12 @@
     "prepare": "node ../../scripts/prepare.js"
   },
   "dependencies": {
-    "@storybook/addons": "5.0.0-rc.0",
-    "@storybook/client-logger": "5.0.0-rc.0",
-    "@storybook/components": "5.0.0-rc.0",
-    "@storybook/core-events": "5.0.0-rc.0",
-    "@storybook/router": "5.0.0-rc.0",
-    "@storybook/theming": "5.0.0-rc.0",
+    "@storybook/addons": "5.0.0-rc.1",
+    "@storybook/client-logger": "5.0.0-rc.1",
+    "@storybook/components": "5.0.0-rc.1",
+    "@storybook/core-events": "5.0.0-rc.1",
+    "@storybook/router": "5.0.0-rc.1",
+    "@storybook/theming": "5.0.0-rc.1",
     "eventemitter3": "^3.1.0",
     "fast-deep-equal": "^2.0.1",
     "fuse.js": "^3.3.1",

From 61196fc6bc11243aac9d5d248590290a47814349 Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Mon, 18 Feb 2019 09:04:06 +0800
Subject: [PATCH 025/249] Trigger frontpage deploy in CI

---
 .circleci/config.yml       | 20 ++++++++++++++++++++
 package.json               |  1 +
 scripts/build-frontpage.js | 19 +++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100755 scripts/build-frontpage.js

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 97a1f443f23..33a990d7839 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -200,6 +200,25 @@ jobs:
           command: |
             cd examples-native/crna-kitchen-sink
             yarn storybook --smoke-test
+  frontpage:
+    <<: *defaults
+    steps:
+      - checkout
+      - restore_cache:
+        name: Restore core dependencies cache
+        keys:
+          - core-dependencies-v3-{{ checksum "yarn.lock" }}
+      - run:
+        name: Install dependencies
+        run: yarn install
+      - run:
+        name: Trigger build
+        run: ./scripts/build-frontpage.js
+      - save_cache:
+        name: Cache core dependencies
+        key: core-dependencies-v3-{{ checksum "yarn.lock" }}
+        paths:
+          - ~/.cache/yarn
   docs:
     <<: *defaults
     steps:
@@ -288,6 +307,7 @@ workflows:
     jobs:
       - build
       - docs
+      - frontpage
       - lint:
           requires:
             - docs
diff --git a/package.json b/package.json
index 03c022ef49c..68f47588545 100644
--- a/package.json
+++ b/package.json
@@ -121,6 +121,7 @@
     "lerna": "^3.10.7",
     "lint-staged": "^8.1.3",
     "lodash": "^4.17.11",
+    "node-fetch": "^2.3.0",
     "npmlog": "^4.1.2",
     "prettier": "^1.16.4",
     "raf": "^3.4.0",
diff --git a/scripts/build-frontpage.js b/scripts/build-frontpage.js
new file mode 100755
index 00000000000..77d08b5f994
--- /dev/null
+++ b/scripts/build-frontpage.js
@@ -0,0 +1,19 @@
+#!/usr/bin/env node
+/* eslint-disable no-console */
+
+const fetch = require('node-fetch');
+
+const { CIRCLE_BRANCH, FRONTPAGE_WEBHOOK } = process.env;
+
+console.log('build-frontpage');
+if (CIRCLE_BRANCH === 'release/5.0') {
+  if (FRONTPAGE_WEBHOOK) {
+    console.log('triggering frontpage build');
+    const url = `https://api.netlify.com/build_hooks/${FRONTPAGE_WEBHOOK}`;
+    fetch(url, { method: 'post' }).then(res => console.log('result', res.status));
+  } else {
+    console.log('no webhook defined');
+  }
+} else {
+  console.log('skipping branch', CIRCLE_BRANCH);
+}

From 0783e6d82aefabcaf928494c682608f7a5a01c8d Mon Sep 17 00:00:00 2001
From: Michael Shilman 
Date: Mon, 18 Feb 2019 09:21:08 +0800
Subject: [PATCH 026/249] Merge pull request #5632 from storybooks/docs-subpath

Use a `/docs` pathPrefix for docs
---
 docs/gatsby-config.js | 1 +
 docs/package.json     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js
index 9d92c7ad255..185a343075f 100644
--- a/docs/gatsby-config.js
+++ b/docs/gatsby-config.js
@@ -1,4 +1,5 @@
 module.exports = {
+  pathPrefix: '/docs',
   siteMetadata: {
     siteTitle: 'Storybook',
     baseColor: '#e64074',
diff --git a/docs/package.json b/docs/package.json
index 095ab479d6d..150042edb5d 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -10,7 +10,7 @@
   "license": "MIT",
   "main": "n/a",
   "scripts": {
-    "build": "gatsby build && cp static/**/* ./public",
+    "build": "gatsby build --prefix-paths && cp static/**/* ./public",
     "build-storybook": "build-storybook",
     "dev": "gatsby develop",
     "serve": "gatsby serve",

From bb8b4a84f360b7817dffd82b9bdc93e6c0f0dfd7 Mon Sep 17 00:00:00 2001
From: Tom Coleman 
Date: Mon, 18 Feb 2019 12:15:56 +1100
Subject: [PATCH 027/249] Merge pull request #5610 from
 storybooks/5591-fix-tooltip-stories

Use the correct props to start the tooltip open
---
 .../src/tooltip/TooltipLinkList.stories.js    |  12 +-
 .../src/tooltip/TooltipMessage.stories.js     |   2 +-
 .../src/tooltip/TooltipNote.stories.js        |   8 +-
 .../TooltipLinkList.stories.storyshot         | 287 ++++++++++++++
 .../TooltipMessage.stories.storyshot          | 369 +++++++++++++++++-
 .../TooltipNote.stories.storyshot             |  34 ++
 .../WithTooltip.stories.storyshot             |  23 ++
 7 files changed, 711 insertions(+), 24 deletions(-)

diff --git a/lib/components/src/tooltip/TooltipLinkList.stories.js b/lib/components/src/tooltip/TooltipLinkList.stories.js
index 688ca89ecb4..c9c5c5f0c75 100644
--- a/lib/components/src/tooltip/TooltipLinkList.stories.js
+++ b/lib/components/src/tooltip/TooltipLinkList.stories.js
@@ -1,23 +1,23 @@
 import React from 'react';
 import { storiesOf } from '@storybook/react';
 import { action } from '@storybook/addon-actions';
-import WithTooltip from './WithTooltip';
+import WithToolTip from './WithTooltip';
 
 import TooltipLinkList from './TooltipLinkList';
 import StoryLinkWrapper from '../StoryLinkWrapper';
 
 export const links = [
-  { title: 'Link', href: 'http://google.com' },
-  { title: 'Link', href: 'http://google.com' },
-  { title: 'callback', onClick: action('onClick') },
+  { id: '1', title: 'Link', href: 'http://google.com' },
+  { id: '2', title: 'Link', href: 'http://google.com' },
+  { id: '3', title: 'callback', onClick: action('onClick') },
 ];
 
 storiesOf('basics/Tooltip/TooltipLinkList', module)
   .addDecorator(storyFn => (
     
- +
Tooltip
-
+
)) .add('links', () => ) diff --git a/lib/components/src/tooltip/TooltipMessage.stories.js b/lib/components/src/tooltip/TooltipMessage.stories.js index f06317718bc..975efcb3297 100644 --- a/lib/components/src/tooltip/TooltipMessage.stories.js +++ b/lib/components/src/tooltip/TooltipMessage.stories.js @@ -7,7 +7,7 @@ import TooltipMessage from './TooltipMessage'; storiesOf('basics/Tooltip/TooltipMessage', module) .addDecorator(storyFn => (
- +
Tooltip
diff --git a/lib/components/src/tooltip/TooltipNote.stories.js b/lib/components/src/tooltip/TooltipNote.stories.js index 9c9c1be3a14..0e678e2bb85 100644 --- a/lib/components/src/tooltip/TooltipNote.stories.js +++ b/lib/components/src/tooltip/TooltipNote.stories.js @@ -7,7 +7,13 @@ import TooltipNote from './TooltipNote'; storiesOf('basics/Tooltip/TooltipNote', module) .addDecorator(storyFn => (
- +
Tooltip
diff --git a/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot index 8a7e645e866..145e257ce3f 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot @@ -1,11 +1,108 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` +.emotion-8 { + min-width: 180px; +} + +.emotion-4 { + font-size: 12px; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + color: #999999; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + line-height: 18px; + padding: 7px 15px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.emotion-4 + .emotion-4 { + border-top: 1px solid #EEEEEE; +} + +.emotion-4 > * + * { + padding-left: 10px; +} + +.emotion-4:hover { + background: rgba(0,0,0,.05); +} + +.emotion-4:hover svg { + opacity: 1; +} + +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + +.emotion-2 { + color: #444444; +} + .emotion-0 { display: inline-block; cursor: pointer; } +.emotion-9 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} +
@@ -16,15 +113,152 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` Tooltip
+ `; exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` +.emotion-11 { + min-width: 180px; +} + +.emotion-4 { + font-size: 12px; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + color: #999999; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + line-height: 18px; + padding: 7px 15px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.emotion-4 + .emotion-4 { + border-top: 1px solid #EEEEEE; +} + +.emotion-4 > * + * { + padding-left: 10px; +} + +.emotion-4:hover { + background: rgba(0,0,0,.05); +} + +.emotion-4:hover svg { + opacity: 1; +} + +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + +.emotion-2 { + color: #444444; +} + .emotion-0 { display: inline-block; cursor: pointer; } +.emotion-12 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} +
@@ -35,5 +269,58 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` Tooltip
+ `; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot index 96467feedb6..5eefe02dcba 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot @@ -6,6 +6,55 @@ exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = ` cursor: pointer; } +.emotion-6 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} + +.emotion-5 { + padding: 15px; + width: 280px; + box-sizing: border-box; +} + +.emotion-4 { + color: #444444; + line-height: 18px; +} + +.emotion-2 { + font-weight: 900; +} +
@@ -16,6 +65,32 @@ exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = ` Tooltip
+
+
+
+
+
+ Lorem ipsum dolor sit +
+ + Amet consectatur vestibulum concet durum politu coret weirom + +
+
+
`; @@ -25,6 +100,51 @@ exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = ` cursor: pointer; } +.emotion-5 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} + +.emotion-4 { + padding: 15px; + width: 280px; + box-sizing: border-box; +} + +.emotion-3 { + color: #444444; + line-height: 18px; +} +
@@ -35,6 +155,27 @@ exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = ` Tooltip
+
+
+
+
+ + Amet consectatur vestibulum concet durum politu coret weirom + +
+
+
`; @@ -44,23 +185,63 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` cursor: pointer; } -
-
-
- Tooltip -
-
-
-`; - -exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` -.emotion-0 { +.emotion-8 { display: inline-block; - cursor: pointer; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} + +.emotion-7 { + padding: 15px; + width: 280px; + box-sizing: border-box; +} + +.emotion-4 { + color: #444444; + line-height: 18px; +} + +.emotion-2 { + font-weight: 900; +} + +.emotion-6 { + margin-top: 8px; + text-align: center; +} + +.emotion-6 > * { + margin: 0 8px; + font-weight: 900; }
+
+
+
+
+
+ Lorem ipsum dolor sit +
+ + Amet consectatur vestibulum concet durum politu coret weirom + +
+ +
+
+
+`; + +exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` +.emotion-0 { + display: inline-block; + cursor: pointer; +} + +.emotion-9 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: linear-gradient( -1deg, rgba(248,248,248,0.97) 0%, rgba(255,255,255,0.97) 100% ); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: #FFFFFF; + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} + +.emotion-8 { + padding: 15px; + width: 280px; + box-sizing: border-box; +} + +.emotion-4 { + color: #444444; + line-height: 18px; +} + +.emotion-2 { + font-weight: 900; +} + +.emotion-7 { + margin-top: 8px; + text-align: center; +} + +.emotion-7 > * { + margin: 0 8px; + font-weight: 900; +} + +
+
+
+ Tooltip +
+
+
+
+
+
+
+ Lorem ipsum dolor sit +
+ + Amet consectatur vestibulum concet durum politu coret weirom + +
+ +
+
`; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot index 1e801903f9c..0eea0521232 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot @@ -6,6 +6,30 @@ exports[`Storyshots basics/Tooltip/TooltipNote default 1`] = ` cursor: pointer; } +.emotion-2 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 8px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; +} + +.emotion-1 { + padding: 2px 6px; + line-height: 16px; + font-size: 10px; + font-weight: 700; + color: #FFFFFF; + box-shadow: 0 0 5px 0 rgba(0,0,0,0.3); + border-radius: 4px; + white-space: nowrap; + pointer-events: none; + z-index: -1; + background: rgba(0,0,0,0.4); + margin: 6px; +} +
@@ -16,5 +40,15 @@ exports[`Storyshots basics/Tooltip/TooltipNote default 1`] = ` Tooltip
+
+
+ Lorem ipsum dolor +
+
`; diff --git a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot index 18eefbd3ed1..4e0323d032f 100644 --- a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot @@ -241,6 +241,29 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` font-weight: 900; } +.emotion-12 { + height: 300px; +} + +.emotion-11 { + width: 500px; + height: 500px; + overflow-y: scroll; + background: #eee; + position: relative; +} + +.emotion-0 { + height: 100px; +} + +.emotion-1 { + width: 200px; + height: 100px; + background-color: red; + color: white; +} +
From 834367c4a8abb066b16f21f002fcc81f649338de Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 18 Feb 2019 23:17:40 +0800 Subject: [PATCH 028/249] Merge pull request #5638 from storybooks/shilman/version-check-semver Handle old versions in version check --- lib/ui/package.json | 1 + lib/ui/src/core/versions.js | 7 ++++-- lib/ui/src/core/versions.test.js | 38 ++++++++++++++++++++++---------- 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/lib/ui/package.json b/lib/ui/package.json index e50159c5c28..8f0c2c1f850 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -54,6 +54,7 @@ "react-modal": "^3.8.1", "react-resize-detector": "^3.2.1", "recompose": "^0.30.0", + "semver": "^5.6.0", "to-camel-case": "^1.0.0", "util-deprecate": "^1.0.2" }, diff --git a/lib/ui/src/core/versions.js b/lib/ui/src/core/versions.js index 6f663bb6853..c20a58983e5 100644 --- a/lib/ui/src/core/versions.js +++ b/lib/ui/src/core/versions.js @@ -1,5 +1,6 @@ import { logger } from '@storybook/client-logger'; import { fetch } from 'global'; +import semver from 'semver'; import { version as currentVersion } from '../../package.json'; @@ -48,8 +49,10 @@ export default function({ store }) { return latest; }, versionUpdateAvailable: () => { - const latestVersion = api.getLatestVersion(); - return latestVersion && latestVersion.version !== store.getState().currentVersion; + const latest = api.getLatestVersion(); + const current = api.getCurrentVersion(); + + return latest && semver.gt(latest.version, current.version); }, }; diff --git a/lib/ui/src/core/versions.test.js b/lib/ui/src/core/versions.test.js index 5964043f27f..5434aeef973 100644 --- a/lib/ui/src/core/versions.test.js +++ b/lib/ui/src/core/versions.test.js @@ -19,13 +19,16 @@ function createMockStore() { }; } -const standardResponse = { +const makeResponse = version => ({ json: jest.fn().mockResolvedValue({ latest: { - version: '4.0.0', + version, }, }), -}; +}); + +const newResponse = makeResponse('4.0.0'); +const oldResponse = makeResponse('2.0.0'); jest.mock('@storybook/client-logger'); @@ -60,7 +63,7 @@ describe('versions API', () => { const { state: initialState, init, api } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); store.setState.mockReset(); await init({ api: { addNotification: jest.fn(), ...api } }); expect(store.setState).toHaveBeenCalledWith( @@ -87,7 +90,7 @@ describe('versions API', () => { const { state: initialState, init, api } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); store.setState.mockReset(); await init({ api: { addNotification: jest.fn(), ...api } }); expect(store.setState).toHaveBeenCalledWith( @@ -131,7 +134,7 @@ describe('versions API', () => { const { init, api, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); const addNotification = jest.fn(); await init({ api: { addNotification, ...api } }); expect(addNotification).toHaveBeenCalled(); @@ -143,7 +146,7 @@ describe('versions API', () => { const { init, api, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); const addNotification = jest.fn(); await init({ api: { addNotification, ...api } }); expect(addNotification).not.toHaveBeenCalled(); @@ -154,7 +157,7 @@ describe('versions API', () => { const { init, api, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); let notification; const addNotification = jest.fn().mockImplementation(n => { notification = n; @@ -172,7 +175,7 @@ describe('versions API', () => { const { api, init, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); await init({ api: { ...api, addNotification: jest.fn() } }); expect(api.getCurrentVersion()).toEqual({ @@ -185,7 +188,7 @@ describe('versions API', () => { const { api, init, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); await init({ api: { ...api, addNotification: jest.fn() } }); expect(api.getLatestVersion()).toMatchObject({ @@ -193,14 +196,25 @@ describe('versions API', () => { }); }); - it('versionUpdateAvailable works', async () => { + it('versionUpdateAvailable works for new versions', async () => { const store = createMockStore(); const { api, init, state: initialState } = initVersions({ store }); store.setState(initialState); - fetch.mockResolvedValueOnce(standardResponse); + fetch.mockResolvedValueOnce(newResponse); await init({ api: { ...api, addNotification: jest.fn() } }); expect(api.versionUpdateAvailable()).toEqual(true); }); + + it('versionUpdateAvailable works for old versions', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + store.setState(initialState); + + fetch.mockResolvedValueOnce(oldResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); + + expect(api.versionUpdateAvailable()).toEqual(false); + }); }); From 6d5528e8014aa0ea7c0e959c0dbe836986a1d1ed Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 18 Feb 2019 23:20:28 +0800 Subject: [PATCH 029/249] Merge pull request #5644 from storybooks/shilman/5197-fix-addon-jest Addon-Jest: Fix event subscription --- addons/jest/src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/jest/src/index.js b/addons/jest/src/index.js index 1f4d54df682..26db47c5960 100644 --- a/addons/jest/src/index.js +++ b/addons/jest/src/index.js @@ -1,6 +1,7 @@ import addons from '@storybook/addons'; import deprecate from 'util-deprecate'; import { normalize } from 'upath'; +import { ADD_TESTS } from './shared'; const findTestResults = (testFiles, jestTestResults, jestTestFilesExt) => Object.values(testFiles).map(name => { @@ -22,7 +23,7 @@ const findTestResults = (testFiles, jestTestResults, jestTestFilesExt) => }); const emitAddTests = ({ kind, story, testFiles, options }) => { - addons.getChannel().emit('storybook/tests/add_tests', { + addons.getChannel().emit(ADD_TESTS, { kind, storyName: story, tests: findTestResults(testFiles, options.results, options.filesExt), From cc1b1b6a93946d73db101503502a7cebbf02758b Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 19 Feb 2019 12:22:43 +1100 Subject: [PATCH 030/249] Merge pull request #5646 from storybooks/5595-a11y-selected-tab Fix tab highlighting in addon-a11y --- addons/a11y/src/components/Tabs.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/a11y/src/components/Tabs.js b/addons/a11y/src/components/Tabs.js index 94f74828a47..0834a04e614 100644 --- a/addons/a11y/src/components/Tabs.js +++ b/addons/a11y/src/components/Tabs.js @@ -17,13 +17,6 @@ const List = styled.div(({ theme }) => ({ })); const Item = styled.button( - ({ active, theme }) => - active - ? { - opacity: 1, - borderBottom: `3px solid ${theme.color.secondary}`, - } - : {}, ({ theme }) => ({ textDecoration: 'none', padding: '10px 15px', @@ -41,7 +34,14 @@ const Item = styled.button( outline: '0 none', borderBottom: `3px solid ${theme.color.secondary}`, }, - }) + }), + ({ active, theme }) => + active + ? { + opacity: 1, + borderBottom: `3px solid ${theme.color.secondary}`, + } + : {} ); class Tabs extends Component { From 8c2fb3b2e98c8aa061a8c6f19497781d3c2de465 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 13:43:27 +0800 Subject: [PATCH 031/249] Merge pull request #5625 from storybooks/5594-better-treeview-expansion Allow collapsing active story and use separate expansion for filtered --- .../src/components/sidebar/SidebarSearch.js | 9 +- .../components/sidebar/treeview/treeview.js | 143 ++++++++++++------ 2 files changed, 100 insertions(+), 52 deletions(-) diff --git a/lib/ui/src/components/sidebar/SidebarSearch.js b/lib/ui/src/components/sidebar/SidebarSearch.js index e50275d05ee..7a467e8a6b8 100644 --- a/lib/ui/src/components/sidebar/SidebarSearch.js +++ b/lib/ui/src/components/sidebar/SidebarSearch.js @@ -99,7 +99,12 @@ const FilterForm = styled.form(({ theme, focussed }) => ({ })); export const PureSidebarSearch = ({ focussed, onSetFocussed, className, onChange, ...props }) => ( - + onChange('')} + > - onChange('')}> + diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index 670933dbb7e..2b95312c577 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -138,24 +138,53 @@ const Tree = props => { } }; -const calculateTreeProps = memoize(50)((input, filter, selectedId, extraExpanded) => { - const dataset = filter ? toFiltered(input, filter) : input; +const calculateTreeState = memoize(50)( + ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded }) => { + if (selectedId === lastSelectedId) { + return null; + } + // If a new selection is made, we need to ensure it is part of the expanded set + const selectedAncestorIds = selectedId ? getParents(selectedId, dataset).map(i => i.id) : []; + + const newExpanded = Object.keys(dataset).reduce( + (acc, key) => ({ + ...acc, + [key]: selectedAncestorIds.includes(key) || unfilteredExpanded[key], + }), + {} + ); + + return { + lastSelectedId: selectedId, + unfilteredExpanded: newExpanded, + }; + } +); + +const getExpanded = ({ unfilteredExpanded, filteredExpanded, filter }) => + filter ? filteredExpanded : unfilteredExpanded; + +const getFilteredDataset = memoize(50)(({ dataset, filter }) => + filter ? toFiltered(dataset, filter) : dataset +); + +// Update the set of expansions we are currently working with +const updateExpanded = fn => ({ unfilteredExpanded, filteredExpanded, filter }) => { + if (filter) { + return { + filteredExpanded: fn(filteredExpanded), + }; + } + return { unfilteredExpanded: fn(unfilteredExpanded) }; +}; + +const getPropsForTree = memoize(50)(({ dataset, selectedId }) => { const selected = Object.keys(dataset).reduce( (acc, k) => Object.assign(acc, { [k]: k === selectedId }), {} ); - const selectedAncestorIds = selectedId ? getParents(selectedId, dataset).map(i => i.id) : []; - - const expanded = Object.keys(dataset).reduce( - (acc, key) => ({ - ...acc, - [key]: selectedAncestorIds.includes(key) || extraExpanded[key], - }), - {} - ); - const { roots, others } = getMains(dataset).reduce( (acc, item) => { const { isRoot } = item; @@ -166,25 +195,50 @@ const calculateTreeProps = memoize(50)((input, filter, selectedId, extraExpanded { roots: [], others: [] } ); - return { input, dataset, selected, expanded, roots, others }; + return { selected, roots, others }; }); // eslint-disable-next-line react/no-multi-comp class TreeState extends PureComponent { + state = { + // We maintain two sets of expanded nodes, so we remember which were expanded if we clear the filter + unfilteredExpanded: [], + filteredExpanded: [], + filter: null, + lastSelectedId: null, + }; + + static getDerivedStateFromProps(props, state) { + return calculateTreeState(props, state); + } + events = { onClick: (e, item) => { - const { extraExpanded } = this.state; + this.setState( + updateExpanded(expanded => ({ + ...expanded, + [item.id]: !expanded[item.id], + })) + ); + }, + onFilter: inputFilter => { + const { dataset } = this.props; + const filter = inputFilter.length >= 2 ? inputFilter : ''; + const filteredDataset = getFilteredDataset({ dataset, filter }); + + // Whenever we change the filter, we reset the "filtered" expanded set back to all matching stories this.setState({ - extraExpanded: { - ...extraExpanded, - [item.id]: !extraExpanded[item.id], - }, + filter, + filteredExpanded: + !!filter && + Object.keys(filteredDataset).reduce((acc, k) => Object.assign(acc, { [k]: true }), {}), }); }, onKeyUp: (e, item) => { - const { dataset: input, selectedId, prefix } = this.props; - const { filter, extraExpanded } = this.state; - const { dataset, expanded } = calculateTreeProps(input, filter, selectedId, extraExpanded); + const { prefix, dataset } = this.props; + const { filter } = this.state; + const filteredDataset = getFilteredDataset({ dataset, filter }); + const expanded = getExpanded(this.state); const action = keyEventToAction(e); if (action) { @@ -192,8 +246,8 @@ class TreeState extends PureComponent { } if (action === 'RIGHT') { - const next = getNext({ id: item.id, dataset, expanded }); - if (!dataset[item.id].children || expanded[item.id]) { + const next = getNext({ id: item.id, dataset: filteredDataset, expanded }); + if (!filteredDataset[item.id].children || expanded[item.id]) { if (next) { try { document.getElementById(createId(next.id, prefix)).focus(); @@ -203,13 +257,13 @@ class TreeState extends PureComponent { } } - this.setState({ extraExpanded: { ...extraExpanded, [item.id]: true } }); + this.setState(updateExpanded(currExpanded => ({ ...currExpanded, [item.id]: true }))); } if (action === 'LEFT') { - const prev = getPrevious({ id: item.id, dataset, expanded }); + const prev = getPrevious({ id: item.id, dataset: filteredDataset, expanded }); - if (!dataset[item.id].children || !expanded[item.id]) { - const parent = getParent(item.id, dataset); + if (!filteredDataset[item.id].children || !expanded[item.id]) { + const parent = getParent(item.id, filteredDataset); if (parent && parent.children) { try { document.getElementById(createId(parent.id, prefix)).focus(); @@ -227,10 +281,10 @@ class TreeState extends PureComponent { } } - this.setState({ extraExpanded: { ...extraExpanded, [item.id]: false } }); + this.setState(updateExpanded(currExpanded => ({ ...currExpanded, [item.id]: false }))); } if (action === 'DOWN') { - const next = getNext({ id: item.id, dataset, expanded }); + const next = getNext({ id: item.id, dataset: filteredDataset, expanded }); if (next) { try { document.getElementById(createId(next.id, prefix)).focus(); @@ -240,7 +294,7 @@ class TreeState extends PureComponent { } } if (action === 'UP') { - const prev = getPrevious({ id: item.id, dataset, expanded }); + const prev = getPrevious({ id: item.id, dataset: filteredDataset, expanded }); if (prev) { try { @@ -251,25 +305,15 @@ class TreeState extends PureComponent { } } }, - - onFilter: value => { - const filter = value.length >= 2 ? value : ''; - this.setState({ filter }); - }, - }; - - state = { - filter: null, - extraExpanded: {}, }; render() { const { events, - state: { filter, extraExpanded }, + state: { filter, unfilteredExpanded, filteredExpanded }, props, } = this; - const { prefix, dataset: input, selectedId } = props; + const { prefix, dataset, selectedId } = props; const Filter = getFilter(props.Filter); const List = getFilter(props.List); @@ -281,12 +325,9 @@ class TreeState extends PureComponent { const Section = getContainer(props.Section); const Message = getMessage(props.Message); - const { dataset, selected, expanded, roots, others } = calculateTreeProps( - input, - filter, - selectedId, - extraExpanded - ); + const filteredDataset = getFilteredDataset({ dataset, filter }); + const expanded = filter ? filteredExpanded : unfilteredExpanded; + const { selected, roots, others } = getPropsForTree({ dataset: filteredDataset, selectedId }); return ( @@ -302,7 +343,7 @@ class TreeState extends PureComponent { Date: Tue, 19 Feb 2019 13:44:18 +0800 Subject: [PATCH 032/249] Merge pull request #5635 from storybooks/5600-fix-prop-warnings Fix some prop warnings --- lib/addons/src/index.ts | 1 + lib/components/src/tooltip/WithTooltip.js | 10 ++-------- lib/ui/src/components/sidebar/NotificationList.js | 2 +- .../components/sidebar/NotificationList.stories.js | 2 +- .../src/components/sidebar/SidebarSearch.stories.js | 12 +++++++----- 5 files changed, 12 insertions(+), 15 deletions(-) diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts index 22fc6f4b853..71fabb10a87 100644 --- a/lib/addons/src/index.ts +++ b/lib/addons/src/index.ts @@ -8,6 +8,7 @@ import deprecate from 'util-deprecate'; export interface RenderOptions { active: boolean; + key: string; } export interface RouteOptions { storyId: string; diff --git a/lib/components/src/tooltip/WithTooltip.js b/lib/components/src/tooltip/WithTooltip.js index e1d9e5498b7..4077bbe4473 100644 --- a/lib/components/src/tooltip/WithTooltip.js +++ b/lib/components/src/tooltip/WithTooltip.js @@ -32,19 +32,13 @@ const WithTooltip = ({ }) => { const Container = svg ? TargetSvgContainer : TargetContainer; - if (tooltipShown !== undefined) { - Object.assign(props, { tooltipShown }); - } - if (onVisibilityChange !== undefined) { - Object.assign(props, { onVisibilityChange }); - } - return ( s.storyData) .map(({ storyData: { notification } }, index) => ({ ...notification, - id: index, + id: index.toString(), })); export const all = () => ; all.storyData = { notifications }; diff --git a/lib/ui/src/components/sidebar/SidebarSearch.stories.js b/lib/ui/src/components/sidebar/SidebarSearch.stories.js index e122da7d7ca..debaa77e8b1 100644 --- a/lib/ui/src/components/sidebar/SidebarSearch.stories.js +++ b/lib/ui/src/components/sidebar/SidebarSearch.stories.js @@ -1,5 +1,5 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; +import { actions as makeActions } from '@storybook/addon-actions'; import SidebarSearch, { PureSidebarSearch } from './SidebarSearch'; @@ -15,11 +15,13 @@ export default { ], }; -export const simple = () => ; +const actions = makeActions('onChange'); +const pureActions = { ...actions, ...makeActions('onSetFocussed') }; -const onSetFocussed = action('onSetFocussed'); -export const focussed = () => ; +export const simple = () => ; + +export const focussed = () => ; export const filledIn = () => ( - + ); From 586a9327403c2b414eb172e1430ee11e208a6472 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 15:16:19 +0800 Subject: [PATCH 033/249] 5.0.0-rc.2 changelog --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa4c0acfaf9..345c193176d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## 5.0.0-rc.2 (February 19, 2019) + +### Features + +* UI: Allow collapsing active story and use separate expansion for filtered ([#5625](https://github.com/storybooks/storybook/pull/5625)) +* UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) + +### Bug Fixes + +* Addon-a11y: Fix tab highlighting ([#5646](https://github.com/storybooks/storybook/pull/5646)) +* Addon-jest: Fix event subscription ([#5644](https://github.com/storybooks/storybook/pull/5644)) +* UI: Handle old versions in version check ([#5638](https://github.com/storybooks/storybook/pull/5638)) + +### Maintenance + +* UI: Fix some prop warnings ([#5635](https://github.com/storybooks/storybook/pull/5635)) +* UI: Use the correct props to start the tooltip open ([#5610](https://github.com/storybooks/storybook/pull/5610)) + ## 5.0.0-rc.1 (February 16, 2019) ### Bug Fixes From 71b2c9e5798f3768acbeabecb45559c07138653c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 15:22:59 +0800 Subject: [PATCH 034/249] v5.0.0-rc.2 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 8 +-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 +++++----- examples/cra-kitchen-sink/package.json | 32 ++++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 +++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 +++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 +++++----- examples/riot-kitchen-sink/package.json | 26 +++++----- examples/svelte-kitchen-sink/package.json | 26 +++++----- examples/vue-kitchen-sink/package.json | 26 +++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 4 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 52 +++++++++---------- lib/client-api/package.json | 8 +-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 18 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 2 +- lib/ui/package.json | 14 ++--- 58 files changed, 337 insertions(+), 337 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 25efb8a4b39..670559c0a37 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 1d494963bef..375fbb45890 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 0311b33e551..dc5ea46cf2c 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/addons/centered/package.json b/addons/centered/package.json index 4a8779c3229..63a03f12cd6 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index e515d526183..bfd211d2b9f 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ }, "dependencies": { "@emotion/styled": "10.0.6", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/channels": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/channels": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 629a4dbaa5d..61919a9b239 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 1d7b936564f..14a0d9ebafe 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index ac3809753c2..649244f2485 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index 59b23494a52..e80e33a730e 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 0a5954f7a22..6300c5b61ea 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index c77d58957d6..2a414ec4514 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 275d782ed2f..7e3a530f31f 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index c471d5d0756..daed6ee2baa 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/options/package.json b/addons/options/package.json index 29b5df669da..0e60fd96a05 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 900e2ce6b7e..cdceb395cc3 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index fec79e00d47..bd751182d7c 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", - "@storybook/node-logger": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", + "@storybook/node-logger": "5.0.0-rc.2", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 7755343e3f0..786e3ee2660 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 8dc37cce563..3c3329d2510 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index cb2733fa394..cb98e933bc1 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", - "@storybook/node-logger": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", + "@storybook/node-logger": "5.0.0-rc.2", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 68b2072619b..53151490b2f 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index f3d9393d7f1..520593fe26c 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index d838d663cd7..80f609dfdf9 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index f94cf749898..68ace8a872b 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index dfbbf27ec12..6d93d4c4f1a 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index 82271fc297b..bc56ee82ffa 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react/package.json b/app/react/package.json index 02dca019dcd..414a8a86c77 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.1", - "@storybook/node-logger": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", + "@storybook/node-logger": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index ba674a6845b..f99faa56142 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 38e5d867c7d..7d056cd3094 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 6a23872320c..038971b968a 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.1", + "@storybook/core": "5.0.0-rc.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index e3caad48227..5be22f3ee50 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.11.4", "@angular/cli": "^7.3.0", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-jest": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/angular": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-jest": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/angular": "5.0.0-rc.2", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 612d354950c..06306b41f8a 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.1", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-events": "5.0.0-rc.1", - "@storybook/addon-info": "5.0.0-rc.1", - "@storybook/addon-jest": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/react": "5.0.0-rc.1", + "@storybook/addon-a11y": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-events": "5.0.0-rc.2", + "@storybook/addon-info": "5.0.0-rc.2", + "@storybook/addon-jest": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/react": "5.0.0-rc.2", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 1241af5607b..f6402ca7377 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-info": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/react": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-info": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/react": "5.0.0-rc.2", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index c899919d2f6..5a67d3923bc 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.1", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/ember": "5.0.0-rc.1", + "@storybook/addon-a11y": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/ember": "5.0.0-rc.2", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index a8afac3a589..e44b5bdb252 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.1", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-events": "5.0.0-rc.1", - "@storybook/addon-jest": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/core": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/html": "5.0.0-rc.1", + "@storybook/addon-a11y": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-events": "5.0.0-rc.2", + "@storybook/addon-jest": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/html": "5.0.0-rc.2", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 7d6df4a4255..6d545a7d112 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/marko": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/marko": "5.0.0-rc.2", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 25127b44841..02050914a3e 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/mithril": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/mithril": "5.0.0-rc.2", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index fe056b631a1..1ea39ccc493 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.1", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-cssresources": "5.0.0-rc.1", - "@storybook/addon-events": "5.0.0-rc.1", - "@storybook/addon-graphql": "5.0.0-rc.1", - "@storybook/addon-info": "5.0.0-rc.1", - "@storybook/addon-jest": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/node-logger": "5.0.0-rc.1", - "@storybook/react": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addon-a11y": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-cssresources": "5.0.0-rc.2", + "@storybook/addon-events": "5.0.0-rc.2", + "@storybook/addon-graphql": "5.0.0-rc.2", + "@storybook/addon-info": "5.0.0-rc.2", + "@storybook/addon-jest": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/node-logger": "5.0.0-rc.2", + "@storybook/react": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 2d80c2d868f..4386e8fb28a 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/polymer": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/polymer": "5.0.0-rc.2", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 1f69010be02..11329c4cdf6 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/preact": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/preact": "5.0.0-rc.2", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index b15b2e3f0b9..d3e13672ab6 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/riot": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/riot": "5.0.0-rc.2", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 02a851c38ca..8e72b78aab6 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/svelte": "5.0.0-rc.1" + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/svelte": "5.0.0-rc.2" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index c80abc3f524..1d08648056b 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-backgrounds": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addon-storysource": "5.0.0-rc.1", - "@storybook/addon-viewport": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/vue": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-backgrounds": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addon-storysource": "5.0.0-rc.2", + "@storybook/addon-viewport": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/vue": "5.0.0-rc.2", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 69b885cfa42..3b5748abbac 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.1" + "version": "5.0.0-rc.2" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 314c0ea0067..f3a278e1967 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", + "@storybook/channels": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 898c9153eba..96c1b5cc55e 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.1", + "@storybook/channels": "5.0.0-rc.2", "global": "^4.3.2", "telejson": "^1.0.1" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index b7b07b9debd..f8a934e1548 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.1", + "@storybook/channels": "5.0.0-rc.2", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index 07e1cad6154..2b2f3ae9326 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 908383fb934..56f3b9242ea 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.1", + "@storybook/codemod": "5.0.0-rc.2", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.1", - "@storybook/addon-centered": "5.0.0-rc.1", - "@storybook/addon-graphql": "5.0.0-rc.1", - "@storybook/addon-info": "5.0.0-rc.1", - "@storybook/addon-knobs": "5.0.0-rc.1", - "@storybook/addon-links": "5.0.0-rc.1", - "@storybook/addon-notes": "5.0.0-rc.1", - "@storybook/addon-options": "5.0.0-rc.1", - "@storybook/addon-storyshots": "5.0.0-rc.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/angular": "5.0.0-rc.1", - "@storybook/channel-postmessage": "5.0.0-rc.1", - "@storybook/channel-websocket": "5.0.0-rc.1", - "@storybook/channels": "5.0.0-rc.1", - "@storybook/ember": "5.0.0-rc.1", - "@storybook/html": "5.0.0-rc.1", - "@storybook/marko": "5.0.0-rc.1", - "@storybook/mithril": "5.0.0-rc.1", - "@storybook/polymer": "5.0.0-rc.1", - "@storybook/preact": "5.0.0-rc.1", - "@storybook/react": "5.0.0-rc.1", + "@storybook/addon-actions": "5.0.0-rc.2", + "@storybook/addon-centered": "5.0.0-rc.2", + "@storybook/addon-graphql": "5.0.0-rc.2", + "@storybook/addon-info": "5.0.0-rc.2", + "@storybook/addon-knobs": "5.0.0-rc.2", + "@storybook/addon-links": "5.0.0-rc.2", + "@storybook/addon-notes": "5.0.0-rc.2", + "@storybook/addon-options": "5.0.0-rc.2", + "@storybook/addon-storyshots": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/angular": "5.0.0-rc.2", + "@storybook/channel-postmessage": "5.0.0-rc.2", + "@storybook/channel-websocket": "5.0.0-rc.2", + "@storybook/channels": "5.0.0-rc.2", + "@storybook/ember": "5.0.0-rc.2", + "@storybook/html": "5.0.0-rc.2", + "@storybook/marko": "5.0.0-rc.2", + "@storybook/mithril": "5.0.0-rc.2", + "@storybook/polymer": "5.0.0-rc.2", + "@storybook/preact": "5.0.0-rc.2", + "@storybook/react": "5.0.0-rc.2", "@storybook/react-native": "5.0.0-beta.4", - "@storybook/riot": "5.0.0-rc.1", - "@storybook/ui": "5.0.0-rc.1", - "@storybook/vue": "5.0.0-rc.1" + "@storybook/riot": "5.0.0-rc.2", + "@storybook/ui": "5.0.0-rc.2", + "@storybook/vue": "5.0.0-rc.2" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index af5a84abe36..978aa0cfd52 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,9 +19,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 26b41433a53..1fb64a56430 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 0688718b15d..59ee200d911 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 7889f209cd2..4112f4adc33 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/router": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/router": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index a0b06bdffa9..50b82d10259 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 00e83f083dd..4a802ec1e5d 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,14 +24,14 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.1", - "@storybook/channel-postmessage": "5.0.0-rc.1", - "@storybook/client-api": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/node-logger": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", - "@storybook/ui": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/channel-postmessage": "5.0.0-rc.2", + "@storybook/client-api": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/node-logger": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", + "@storybook/ui": "5.0.0-rc.2", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 5aca4204d75..c8f75c9f89f 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index c9620258419..664c6d1e8c6 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/theming": "5.0.0-rc.2", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index 40515c4c8e5..ddcfc168928 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/lib/ui/package.json b/lib/ui/package.json index 8f0c2c1f850..077d6fcb05d 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.1", - "@storybook/client-logger": "5.0.0-rc.1", - "@storybook/components": "5.0.0-rc.1", - "@storybook/core-events": "5.0.0-rc.1", - "@storybook/router": "5.0.0-rc.1", - "@storybook/theming": "5.0.0-rc.1", + "@storybook/addons": "5.0.0-rc.2", + "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/components": "5.0.0-rc.2", + "@storybook/core-events": "5.0.0-rc.2", + "@storybook/router": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.2", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From 6e256da7367df16f0bd625b122d13998a35d09df Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 15:41:28 +0800 Subject: [PATCH 035/249] 5.0.0-rc.2 versions --- docs/versions.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/versions.json diff --git a/docs/versions.json b/docs/versions.json new file mode 100644 index 00000000000..4e5d2a09c8d --- /dev/null +++ b/docs/versions.json @@ -0,0 +1 @@ +{"next":{"version":"5.0.0-rc.2","info":{"plain":"### Features\n\n* UI: Allow collapsing active story and use separate expansion for filtered ([#5625](https://github.com/storybooks/storybook/pull/5625))\n* UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641))\n\n### Bug Fixes\n\n* Addon-a11y: Fix tab highlighting ([#5646](https://github.com/storybooks/storybook/pull/5646))\n* Addon-jest: Fix event subscription ([#5644](https://github.com/storybooks/storybook/pull/5644))\n* UI: Handle old versions in version check ([#5638](https://github.com/storybooks/storybook/pull/5638))\n\n### Maintenance\n\n* UI: Fix some prop warnings ([#5635](https://github.com/storybooks/storybook/pull/5635))\n* UI: Use the correct props to start the tooltip open ([#5610](https://github.com/storybooks/storybook/pull/5610))"}}} \ No newline at end of file From 7f8bcf437a665705ce5ada4be36337e721943817 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 13 Feb 2019 10:53:31 +0800 Subject: [PATCH 036/249] Merge pull request #5562 from storybooks/v5-style-refinements V5 style refinements --- addons/a11y/src/components/Tabs.js | 2 +- addons/actions/package.json | 1 + .../src/components/ActionLogger/style.js | 3 +- addons/knobs/src/components/Panel.js | 4 +- .../__tests__/__snapshots__/Panel.js.snap | 8 +- .../knobs/src/components/types/Checkboxes.js | 34 +- addons/knobs/src/components/types/Options.js | 2 + addons/knobs/src/components/types/Radio.js | 29 +- .../src/pages/configurations/theming/index.md | 282 ++- examples/official-storybook/config.js | 4 +- .../addon-a11y.stories.storyshot | 4 +- .../addon-actions.stories.storyshot | 1908 ++--------------- .../__snapshots__/storyshots.test.js.snap | 1418 ++++++------ lib/components/src/ActionBar/ActionBar.js | 6 +- lib/components/src/Badge/Badge.js | 14 +- .../__snapshots__/Badge.stories.storyshot | 9 +- lib/components/src/Button/Button.js | 373 ++-- lib/components/src/Button/Button.stories.js | 18 +- .../__snapshots__/Button.stories.storyshot | 1483 +++---------- lib/components/src/bar/bar.js | 6 +- lib/components/src/bar/button.js | 2 +- lib/components/src/brand/StorybookLogo.js | 2 +- .../src/brand/StorybookLogo.stories.js | 8 +- .../form/__snapshots__/form.stories.storyshot | 375 +--- lib/components/src/form/field/field.js | 8 +- lib/components/src/form/input/input.js | 24 +- lib/components/src/placeholder/placeholder.js | 2 +- .../src/placeholder/placeholder.stories.js | 3 +- .../syntaxhighlighter.stories.storyshot | 4 +- .../tabs/__snapshots__/tabs.stories.storyshot | 16 +- lib/components/src/tooltip/ListItem.js | 13 +- lib/components/src/tooltip/Tooltip.js | 29 +- lib/components/src/tooltip/TooltipLinkList.js | 12 +- .../__snapshots__/ListItem.stories.storyshot | 83 +- .../__snapshots__/Tooltip.stories.storyshot | 20 +- .../WithTooltip.stories.storyshot | 69 +- lib/theming/package.json | 1 + lib/theming/src/base.ts | 4 +- lib/theming/src/create.ts | 61 +- lib/theming/src/themes/dark.ts | 44 +- lib/theming/src/themes/light.ts | 7 +- .../__snapshots__/layout.stories.storyshot | 8 +- lib/ui/src/components/layout/container.js | 4 +- .../__snapshots__/preview.stories.storyshot | 2 +- lib/ui/src/components/preview/background.js | 2 +- .../components/sidebar/NotificationItem.js | 8 +- .../src/components/sidebar/SidebarHeading.js | 7 + .../sidebar/SidebarHeading.stories.js | 14 +- lib/ui/src/components/sidebar/SidebarItem.js | 16 +- .../src/components/sidebar/SidebarSearch.js | 16 +- .../sidebar/SidebarSearch.stories.js | 2 +- .../components/sidebar/SidebarSubheading.js | 6 +- .../SidebarSubheading.stories.storyshot | 4 +- .../__snapshots__/about.stories.storyshot | 4 +- 54 files changed, 1767 insertions(+), 4721 deletions(-) diff --git a/addons/a11y/src/components/Tabs.js b/addons/a11y/src/components/Tabs.js index 0834a04e614..6dbc8fbbf26 100644 --- a/addons/a11y/src/components/Tabs.js +++ b/addons/a11y/src/components/Tabs.js @@ -11,7 +11,7 @@ const Container = styled.div({ const List = styled.div(({ theme }) => ({ boxShadow: `${theme.appBorderColor} 0 -1px 0 0 inset`, - background: '#f8f8fc', + background: 'rgba(0,0,0,.05)', flexWrap: 'wrap', display: 'flex', })); diff --git a/addons/actions/package.json b/addons/actions/package.json index 375fbb45890..1355071a786 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -29,6 +29,7 @@ "global": "^4.3.2", "lodash": "^4.17.11", "make-error": "^1.3.5", + "polished": "^2.3.3", "prop-types": "^15.6.2", "react": "^16.8.1", "react-inspector": "^2.3.0", diff --git a/addons/actions/src/components/ActionLogger/style.js b/addons/actions/src/components/ActionLogger/style.js index 86fe777b3e7..0aab9cbba91 100644 --- a/addons/actions/src/components/ActionLogger/style.js +++ b/addons/actions/src/components/ActionLogger/style.js @@ -1,4 +1,5 @@ import { styled } from '@storybook/theming'; +import { opacify } from 'polished'; export const Actions = styled.pre({ flex: 1, @@ -18,7 +19,7 @@ export const Action = styled.div({ }); export const Counter = styled.div(({ theme }) => ({ - backgroundColor: 'rgba(0, 0, 0, 0.5)', + backgroundColor: opacify(0.5, theme.appBorderColor), color: theme.color.inverseText, fontSize: theme.typography.size.s1, fontWeight: theme.typography.weight.bold, diff --git a/addons/knobs/src/components/Panel.js b/addons/knobs/src/components/Panel.js index 8685083912c..ff311c28a27 100644 --- a/addons/knobs/src/components/Panel.js +++ b/addons/knobs/src/components/Panel.js @@ -177,10 +177,10 @@ export default class KnobPanel extends PureComponent { dynamically interact with components - {' '} - using knobs. + ); diff --git a/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap b/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap index df555bca26b..d6b39c95eb6 100644 --- a/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap +++ b/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap @@ -40,8 +40,8 @@ Array [ .emotion-0 { min-width: 100px; - min-height: 32px; - margin-right: 16px; + font-weight: 700; + margin-right: 15px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -135,8 +135,8 @@ Array [ .emotion-0 { min-width: 100px; - min-height: 32px; - margin-right: 16px; + font-weight: 700; + margin-right: 15px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; diff --git a/addons/knobs/src/components/types/Checkboxes.js b/addons/knobs/src/components/types/Checkboxes.js index 78539711345..a15cf1d6412 100644 --- a/addons/knobs/src/components/types/Checkboxes.js +++ b/addons/knobs/src/components/types/Checkboxes.js @@ -2,6 +2,19 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { styled } from '@storybook/theming'; +const CheckboxesWrapper = styled.div(({ isInline }) => + isInline + ? { + display: 'flex', + flexWrap: 'wrap', + alignItems: 'center', + '> * + *': { + marginLeft: 10, + }, + } + : {} +); + const CheckboxFieldset = styled.fieldset({ border: 0, padding: 0, @@ -9,24 +22,11 @@ const CheckboxFieldset = styled.fieldset({ }); const CheckboxLabel = styled.label({ - fontSize: 11, - padding: '5px', + padding: '3px 0 3px 5px', + lineHeight: '18px', + display: 'inline-block', }); -const flex = ({ isInline }) => { - if (isInline) { - return { - display: 'flex', - flexWrap: 'wrap', - alignItems: 'center', - height: '100%', - }; - } - return null; -}; - -const FlexWrapper = styled.div(flex); - class CheckboxesType extends Component { constructor(props) { super(props); @@ -82,7 +82,7 @@ class CheckboxesType extends Component { return ( - {this.renderCheckboxList(knob)} + {this.renderCheckboxList(knob)} ); } diff --git a/addons/knobs/src/components/types/Options.js b/addons/knobs/src/components/types/Options.js index aa4d6c2e2c4..8580f72d7d4 100644 --- a/addons/knobs/src/components/types/Options.js +++ b/addons/knobs/src/components/types/Options.js @@ -6,6 +6,8 @@ import { styled } from '@storybook/theming'; import RadiosType from './Radio'; import CheckboxesType from './Checkboxes'; +// TODO: Apply the Storybook theme to react-select + const OptionsSelect = styled(ReactSelect)({ width: '100%', maxWidth: '300px', diff --git a/addons/knobs/src/components/types/Radio.js b/addons/knobs/src/components/types/Radio.js index 7b21d25a7dc..f4163967e2e 100644 --- a/addons/knobs/src/components/types/Radio.js +++ b/addons/knobs/src/components/types/Radio.js @@ -2,22 +2,23 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { styled } from '@storybook/theming'; -const flex = ({ isInline }) => { - if (isInline) { - return { - display: 'flex', - flexWrap: 'wrap', - alignItems: 'center', - }; - } - return null; -}; - -const RadiosWrapper = styled.div(flex); +const RadiosWrapper = styled.div(({ isInline }) => + isInline + ? { + display: 'flex', + flexWrap: 'wrap', + alignItems: 'center', + '> * + *': { + marginLeft: 10, + }, + } + : {} +); const RadioLabel = styled.label({ - fontSize: 11, - padding: '5px', + padding: '3px 0 3px 5px', + lineHeight: '18px', + display: 'inline-block', }); class RadiosType extends Component { diff --git a/docs/src/pages/configurations/theming/index.md b/docs/src/pages/configurations/theming/index.md index 745e7acbeab..b69383d2f59 100644 --- a/docs/src/pages/configurations/theming/index.md +++ b/docs/src/pages/configurations/theming/index.md @@ -3,7 +3,7 @@ id: 'theming' title: 'Theming Storybook' --- -Storybook's manager UI is theme-able! You can change theme variables using [addon-options](https://github.com/storybooks/storybook/tree/master/addons/options). +Storybook is theme-able! You can change theme variables using [addon-options](https://github.com/storybooks/storybook/tree/master/addons/options). ## Set a theme @@ -50,144 +50,196 @@ addParameters({ }); ``` -## Theme variables +## Create a theme quickstart + +The easiest way to customize Storybook to generate a new theme using `create()`. This function includes shorthands for the most common theme variables. Here's how to use it. + +First create a new file in `.storybook` called `yourTheme.js`. + +Next paste the code below and tweak the variables. ``` +import { create } from '@storybook/theming'; -// Storybook-specific color palette -colorPrimary: primary color, // Storybook pink -colorSecondary: secondary color, // Blue +export default create({ + // Is this a 'light' or 'dark' theme? + base: 'light', -// UI -appBg: background.app, -appBorderColor: color.border, -appBorderRadius: 4, + // Color palette + colorPrimary: 'red', // primary color + colorSecondary: 'pink', // secondary color -// Fonts -fontBase: typography.fonts.base, -fontCode: typography.fonts.mono, + // UI + appBg: 'papayawhip', + appContentBg: 'white', + appBorderColor: 'rgba(0,0,0,.1)', + appBorderRadius: 4, -// Text colors -textColor: color.darkest, -textInverseColor: color.lightest, + // Fonts + fontBase: '"Helvetica", Arial, sans-serif', + fontCode: 'Monaco, monospace', -// Toolbar default and active colors -barTextColor: color.mediumdark, -barSelectedColor: color.secondary, -barBgColor: color.lightest, - -// Form colors -inputBg: color.lightest, -inputBorder: color.border, -inputTextColor: color.darkest, -inputBorderRadius: 4, - -// Brand logo/text -brand: null, + // Text colors + textColor: '#FFFFFF', + textInverseColor: '#333333', + // Toolbar default and active colors + barTextColor: '#999999', + barSelectedColor: 'blue', + barBg: 'white', + // Form colors + inputBg: 'white', + inputBorder: 'rgba(0,0,0,.1)', + inputTextColor: '#333333', + inputBorderRadius: 4, + // Brand logo/text + brand: ``, +}); ``` -### Deep theming components - -All options above are single key options, in other words, they are variables, and their usage is fixed. - -We will extend the theming ability in the future and possibly add more deep theming ability. -Right now we allow to deep theme: `stories nav panel`. Below are the varaiables that are used to deep theme `stories nav panel`. - -storiesNav: deep theme for `stories nav` +Finally, import your theme into `.storybook/config` and add it to your Storybook parameters. ``` -storiesNav: { - backgroundColor: 'aqua', -} -``` +import {yourTheme} from './yourTheme'; -brand: deep theme for brand including `brand name` and `shortcuts` - -``` -brand: { - background: 'url("/path/to/logo.svg")', -} -``` - -brandLink: deep theme for only `brand name` - -``` -brandLink: { - border: 'none' -} -``` - -filter: deep theme for `stories filter section` - -``` -filter: { - backgroundColor: 'red', -} -``` - -treeHeader: deep theme for `tree header` - -``` -treeHeader: { - color: 'blue', -} -``` - -treeMenuHeader: deep theme for `tree menu header` of each menu - -``` -treeMenuHeader: { - color: 'aqua', -} -``` - -menuLink: deep theme for `menu link` of each story - -``` -menuLink: { - color: 'black', -} -``` - -activeMenuLink: deep theme for `active menu link` for the active story - -``` -activeMenuLink: { - fontWeight: 'light', -} -``` - -treeArrow: deep theme for `tree arrow`. This accepts an object which receives `height`, `width`, `base` and `wrapper` - -``` -treeArrow: { - height: 5, - width: 5, - base: { - fontSize: '12px' +addParameters({ + options: { + theme: yourTheme, }, - wrapper: { - backgroundColor: 'white' - } -} +}); ``` -The styles provided here support everything [emotion](https://emotion.sh/) does. So that included things like nested selectors! +## Addons and theme creation -## Adding more theme variables for addons +Some addons require specific theme variables that a Storybook user must add. If you share your theme with the community make sure to support the official and other popular addons so your users have a consistent experience. -If addons have a need for specific theme variables, the user has to add them. -We advise addons to reuse the variables listed above as much as possible. - -Addon actions uses [react-inspector](https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js) which has themes of it's own. If you want to theme it (our themes do) you can add needs the following additional theme variables: +For example, the popular Actions addon uses [react-inspector](https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js) which has themes of it's own. Supply additional theme variables to style it like so: ``` addonActionsTheme: { ...chromeLight, - BASE_FONT_FAMILY: monoFonts.fontFamily, + BASE_FONT_FAMILY: typography.fonts.mono, BASE_BACKGROUND_COLOR: 'transparent', } ``` + +### Using the theme for addon authors + +For a native Storybook experience, we encourage addon authors to reuse the theme variables above. The theming engine relies on [emotion](https://emotion.sh/), a CSS-in-JS library. + +``` +import { styled } from '@storybook/theming'; +``` + +Use the theme variables in object notation: + +``` +const Component = styled.div( + ({ theme }) => ({ + background: theme.background.app, + width: 0, + }), +); +``` + +Or with styled-components template literals: + +``` +const Component = styled.div` + background: `${props => props.theme.background.app}` + width: 0; +`; +``` + +### Advanced theming + +For further customization adjust theme variables manually. + +This is the master list: + +``` +base: 'light' | 'dark', +color: { + primary + secondary + tertiary + ancillary + + orange + gold + green + seafoam + purple + ultraviolet + + lightest + lighter + light + mediumlight + medium + mediumdark + dark + darker + darkest + + border + + positive + negative + warning + + defaultText + inverseText +} +background: { + app + content + hoverable + + positive + negative + warning +} +typography: { + fonts: { + base + mono + } + weight: { + regular + bold + black + } + size: { + s1 + s2 + s3 + m1 + m2 + m3 + l1 + l2 + l3 + code + } + input: { + border + background + color + borderRadius + }; + + layoutMargin + appBorderColor + appBorderRadius + + barTextColor + barSelectedColor + barBg + + brand +} +TODO finish this, what's the best way to document? +``` diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index be51e97003b..fcf28e6631e 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -1,6 +1,6 @@ import React from 'react'; import { storiesOf, configure, addDecorator, addParameters } from '@storybook/react'; -import { Global, ThemeProvider, themes, createReset } from '@storybook/theming'; +import { Global, ThemeProvider, themes, createGlobal } from '@storybook/theming'; import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; import { withCssResources } from '@storybook/addon-cssresources'; @@ -35,7 +35,7 @@ addDecorator(withNotes); addDecorator(fn => ( - + {fn()} )); diff --git a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot index 4de68f0ce6c..b8fb54e56eb 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot @@ -97,8 +97,8 @@ exports[`Storyshots Addons|A11y/Form With label 1`] = ` .emotion-0 { min-width: 100px; - min-height: 32px; - margin-right: 16px; + font-weight: 700; + margin-right: 15px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; diff --git a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot index 7c798fc6595..8b7cfba5f64 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot @@ -30,16 +30,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -48,38 +43,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -92,23 +55,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -150,16 +109,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -168,38 +122,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -212,23 +134,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -270,16 +188,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -288,38 +201,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -332,23 +213,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -390,16 +267,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -408,38 +280,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -452,23 +292,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -510,16 +346,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -528,38 +359,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -572,23 +371,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -630,16 +425,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -648,38 +438,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -692,23 +450,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -750,16 +504,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -768,38 +517,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -812,23 +529,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -870,16 +583,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -888,38 +596,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -932,23 +608,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -990,16 +662,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1008,38 +675,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1052,23 +687,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1110,16 +741,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1128,38 +754,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1172,23 +766,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1230,16 +820,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1248,38 +833,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1292,23 +845,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1350,16 +899,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1368,38 +912,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1412,23 +924,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1470,16 +978,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1488,38 +991,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1532,23 +1003,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1590,16 +1057,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1608,38 +1070,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1652,23 +1082,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1710,16 +1136,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1728,38 +1149,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1772,23 +1161,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1830,16 +1215,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1848,38 +1228,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -1892,23 +1240,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -1950,16 +1294,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1968,38 +1307,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2012,23 +1319,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2070,16 +1373,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2088,38 +1386,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2132,23 +1398,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2190,16 +1452,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2208,38 +1465,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2252,23 +1477,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2310,16 +1531,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2328,38 +1544,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2372,23 +1556,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2434,16 +1614,11 @@ exports[`Storyshots Addons|Actions Basic example 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2452,38 +1627,6 @@ exports[`Storyshots Addons|Actions Basic example 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2496,23 +1639,19 @@ exports[`Storyshots Addons|Actions Basic example 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2557,16 +1696,11 @@ exports[`Storyshots Addons|Actions Circular Payload 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2575,38 +1709,6 @@ exports[`Storyshots Addons|Actions Circular Payload 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2619,23 +1721,19 @@ exports[`Storyshots Addons|Actions Circular Payload 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2680,16 +1778,11 @@ exports[`Storyshots Addons|Actions Decorated action + config 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2698,38 +1791,6 @@ exports[`Storyshots Addons|Actions Decorated action + config 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2742,23 +1803,19 @@ exports[`Storyshots Addons|Actions Decorated action + config 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2803,16 +1860,11 @@ exports[`Storyshots Addons|Actions Decorated action 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2821,38 +1873,6 @@ exports[`Storyshots Addons|Actions Decorated action 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2865,23 +1885,19 @@ exports[`Storyshots Addons|Actions Decorated action 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -2926,16 +1942,11 @@ exports[`Storyshots Addons|Actions Decorated actions + config 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2944,38 +1955,6 @@ exports[`Storyshots Addons|Actions Decorated actions + config 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -2988,23 +1967,19 @@ exports[`Storyshots Addons|Actions Decorated actions + config 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3049,16 +2024,11 @@ exports[`Storyshots Addons|Actions Decorated actions 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3067,38 +2037,6 @@ exports[`Storyshots Addons|Actions Decorated actions 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3111,23 +2049,19 @@ exports[`Storyshots Addons|Actions Decorated actions 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3173,16 +2107,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3191,38 +2120,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3235,23 +2132,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3293,16 +2186,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3311,38 +2199,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3355,23 +2211,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3417,16 +2269,11 @@ exports[`Storyshots Addons|Actions Multiple actions + config 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3435,38 +2282,6 @@ exports[`Storyshots Addons|Actions Multiple actions + config 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3479,23 +2294,19 @@ exports[`Storyshots Addons|Actions Multiple actions + config 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3540,16 +2351,11 @@ exports[`Storyshots Addons|Actions Multiple actions 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3558,38 +2364,6 @@ exports[`Storyshots Addons|Actions Multiple actions 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3602,23 +2376,19 @@ exports[`Storyshots Addons|Actions Multiple actions 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3663,16 +2433,11 @@ exports[`Storyshots Addons|Actions Multiple actions as object 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3681,38 +2446,6 @@ exports[`Storyshots Addons|Actions Multiple actions as object 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3725,23 +2458,19 @@ exports[`Storyshots Addons|Actions Multiple actions as object 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3786,16 +2515,11 @@ exports[`Storyshots Addons|Actions Multiple actions, object + config 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3804,38 +2528,6 @@ exports[`Storyshots Addons|Actions Multiple actions, object + config 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3848,23 +2540,19 @@ exports[`Storyshots Addons|Actions Multiple actions, object + config 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -3913,16 +2601,11 @@ Array [ font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3931,38 +2614,6 @@ Array [ z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -3975,23 +2626,19 @@ Array [ } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -4037,16 +2684,11 @@ exports[`Storyshots Addons|Actions Reserved keyword as name 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -4055,38 +2697,6 @@ exports[`Storyshots Addons|Actions Reserved keyword as name 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -4099,23 +2709,19 @@ exports[`Storyshots Addons|Actions Reserved keyword as name 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -4160,16 +2766,11 @@ exports[`Storyshots Addons|Actions configureActionsDepth 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -4178,38 +2779,6 @@ exports[`Storyshots Addons|Actions configureActionsDepth 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -4222,23 +2791,19 @@ exports[`Storyshots Addons|Actions configureActionsDepth 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { @@ -4283,16 +2848,11 @@ exports[`Storyshots Addons|Actions.deprecated Decorated Action 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -4301,38 +2861,6 @@ exports[`Storyshots Addons|Actions.deprecated Decorated Action 1`] = ` z-index: 2; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 14px; @@ -4345,23 +2873,19 @@ exports[`Storyshots Addons|Actions.deprecated Decorated Action 1`] = ` } .emotion-0 svg path { - fill: #333333; + fill: currentColor; } .emotion-0:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-0:hover { diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 40b864302a7..f3f40f8d412 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -10,6 +10,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -24,7 +25,8 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - color: #666666; + color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -57,6 +59,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -71,7 +74,8 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - color: #666666; + color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -132,6 +136,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -146,7 +151,8 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - color: #666666; + color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -179,6 +185,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -193,7 +200,8 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - color: #666666; + color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -232,6 +240,50 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = `
`; +exports[`Storyshots Basics|Brand/StorybookLogo normal 1`] = ` + + + + + + + + + + + + + +`; + exports[`Storyshots Basics|DocumentFormatting sampleDocument 1`] = ` .emotion-0 { font-size: 14px; @@ -1643,7 +1695,7 @@ exports[`Storyshots Basics|Placeholder singleChild 1`] = ` .emotion-1 { padding: 30px; text-align: center; - color: #666666; + color: #333333; font-size: 13px; } @@ -1654,7 +1706,7 @@ exports[`Storyshots Basics|Placeholder singleChild 1`] = ` .emotion-1 { padding: 30px; text-align: center; - color: #666666; + color: #333333; font-size: 13px; } @@ -1674,10 +1726,10 @@ exports[`Storyshots Basics|Placeholder singleChild 1`] = ` `; exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` -.emotion-2 { +.emotion-4 { padding: 30px; text-align: center; - color: #666666; + color: #333333; font-size: 13px; } @@ -1686,9 +1738,57 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` } .emotion-2 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-2 svg path { + fill: #1EA7FD; +} + +.emotion-2:hover, +.emotion-2:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-2:hover svg path, +.emotion-2:focus svg path { + fill: #0297f5; +} + +.emotion-2:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-2:active svg path { + fill: #028ee6; +} + +.emotion-2 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-4 { padding: 30px; text-align: center; - color: #666666; + color: #333333; font-size: 13px; } @@ -1696,8 +1796,56 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` font-weight: 700; } +.emotion-2 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-2 svg path { + fill: #1EA7FD; +} + +.emotion-2:hover, +.emotion-2:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-2:hover svg path, +.emotion-2:focus svg path { + fill: #0297f5; +} + +.emotion-2:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-2:active svg path { + fill: #028ee6; +} + +.emotion-2 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} +
The second normal weight. Here's a - link + + link +
@@ -1746,43 +1899,6 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); } .emotion-0 svg { @@ -1796,6 +1912,10 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` pointer-events: none; } +.emotion-0 svg path { + fill: currentColor; +} + .emotion-0 { border: 0; border-radius: 3em; @@ -1824,43 +1944,6 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); } .emotion-0 svg { @@ -1874,6 +1957,10 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` pointer-events: none; } +.emotion-0 svg path { + fill: currentColor; +} +
- - - - - -
diff --git a/lib/components/src/Button/__snapshots__/Button.stories.storyshot b/lib/components/src/Button/__snapshots__/Button.stories.storyshot index b7f437aef66..7c7590fff4b 100644 --- a/lib/components/src/Button/__snapshots__/Button.stories.storyshot +++ b/lib/components/src/Button/__snapshots__/Button.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Button all buttons 1`] = ` -.emotion-29 { +.emotion-14 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -9,7 +9,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` display: block; } -.emotion-28 { +.emotion-13 { fill: currentColor; } @@ -41,16 +41,11 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - display: inline; border-radius: 4px; + display: inline; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -59,38 +54,6 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` z-index: 2; } -.emotion-3:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-3:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-3:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-3 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-3 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-3 svg { display: inline-block; height: 14px; @@ -103,23 +66,19 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-3 svg path { - fill: #333333; + fill: currentColor; } .emotion-3:hover { - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + background: #f2f2f2; } .emotion-3:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-3:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-3:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-3:hover { @@ -156,47 +115,10 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); background: #FF4785; color: #FFFFFF; } -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-0 svg { display: inline-block; height: 16px; @@ -209,7 +131,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-0 svg path { - fill: #FFFFFF; + fill: currentColor; } .emotion-0:hover { @@ -217,7 +139,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-0:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } .emotion-0:focus { @@ -256,47 +178,10 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); background: #1EA7FD; color: #FFFFFF; } -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-1 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-1 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-1 svg { display: inline-block; height: 16px; @@ -309,7 +194,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-1 svg path { - fill: #FFFFFF; + fill: currentColor; } .emotion-1:hover { @@ -317,7 +202,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-1:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } .emotion-1:focus { @@ -356,46 +241,10 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; + background: #fafafa; color: #333333; box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; -} - -.emotion-2:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-2:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-2:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-2 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-2 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); + border-radius: 4px; } .emotion-2 svg { @@ -410,23 +259,20 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-2 svg path { - fill: #333333; + fill: currentColor; } .emotion-2:hover { + background: #f2f2f2; box-shadow: rgba(0,0,0,.2) 0 2px 6px 0,rgba(0,0,0,.1) 0 0 0 1px inset; } .emotion-2:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + background: #FFFFFF; } .emotion-2:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-2:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } .emotion-4 { @@ -457,48 +303,11 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; } -.emotion-4:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-4:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-4:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-4 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-4 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-4 svg { display: inline-block; height: 16px; @@ -511,17 +320,16 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-4 svg path { - fill: #666666; + fill: currentColor; } .emotion-4:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-4:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5 { @@ -552,52 +360,15 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); background: #FF4785; color: #FFFFFF; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; box-shadow: #FF4785 0 0 0 1px inset; color: #FF4785; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 16px; @@ -610,7 +381,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-5 svg path { - fill: #FFFFFF; + fill: currentColor; } .emotion-5:hover { @@ -618,7 +389,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-5:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } .emotion-5:focus { @@ -629,18 +400,13 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5 svg path { @@ -658,16 +424,12 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-5:active svg path { - fill: #FFFFFF; -} - .emotion-5:focus { - box-shadow: #FF4785 0 0 0 1px inset,rgba(255,71,133,0.4) 0 1px 9px 2px; + box-shadow: #FF4785 0 0 0 1px inset, rgba(255,71,133,0.4) 0 1px 9px 2px; } .emotion-5:focus:hover { - box-shadow: #FF4785 0 0 0 1px inset,rgba(255,71,133,0.2) 0 8px 18px 0px; + box-shadow: #FF4785 0 0 0 1px inset, rgba(255,71,133,0.2) 0 8px 18px 0px; } .emotion-6 { @@ -698,52 +460,15 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); background: #1EA7FD; color: #FFFFFF; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; box-shadow: #1EA7FD 0 0 0 1px inset; color: #1EA7FD; } -.emotion-6:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-6:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-6:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-6 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-6 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-6 svg { display: inline-block; height: 16px; @@ -756,7 +481,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-6 svg path { - fill: #FFFFFF; + fill: currentColor; } .emotion-6:hover { @@ -764,7 +489,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` } .emotion-6:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } .emotion-6:focus { @@ -775,22 +500,13 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; } -.emotion-6 svg path { - fill: #666666; -} - .emotion-6:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-6:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; -} - -.emotion-6 svg path { - fill: #1EA7FD; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-6:hover { @@ -804,16 +520,12 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-6:active svg path { - fill: #FFFFFF; -} - .emotion-6:focus { - box-shadow: #1EA7FD 0 0 0 1px inset,rgba(30,167,253,0.4) 0 1px 9px 2px; + box-shadow: #1EA7FD 0 0 0 1px inset, rgba(30,167,253,0.4) 0 1px 9px 2px; } .emotion-6:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset,rgba(30,167,253,0.2) 0 8px 18px 0px; + box-shadow: #1EA7FD 0 0 0 1px inset, rgba(30,167,253,0.2) 0 8px 18px 0px; } .emotion-7 { @@ -844,49 +556,12 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); cursor: not-allowed !important; - opacity: .5; + opacity: 0.5; background: #FF4785; color: #FFFFFF; } -.emotion-7:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-7:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-7:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-7 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-7 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-7 svg { display: inline-block; height: 16px; @@ -898,22 +573,22 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } +.emotion-7 svg path { + fill: currentColor; +} + .emotion-7:hover { -webkit-transform: none; -ms-transform: none; transform: none; } -.emotion-7 svg path { - fill: #FFFFFF; -} - .emotion-7:hover { background: #ff2d74; } .emotion-7:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } .emotion-7:focus { @@ -924,13 +599,139 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } +.emotion-8 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + background: #FF4785; + color: #FFFFFF; +} + +.emotion-8 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-8 svg path { + fill: currentColor; +} + +.emotion-8:hover { + background: #ff2d74; +} + +.emotion-8:active { + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; +} + +.emotion-8:focus { + box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; +} + +.emotion-8:focus:hover { + box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; +} + +.emotion-9 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + background: #1EA7FD; + color: #FFFFFF; +} + +.emotion-9 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-9 svg path { + fill: currentColor; +} + +.emotion-9:hover { + background: #059dfd; +} + +.emotion-9:active { + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; +} + +.emotion-9:focus { + box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; +} + +.emotion-9:focus:hover { + box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; +} + .emotion-10 { border: 0; border-radius: 3em; cursor: pointer; display: inline-block; overflow: hidden; - padding: 13px 20px; + padding: 10px 16px; position: relative; text-align: center; -webkit-text-decoration: none; @@ -949,650 +750,44 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` opacity: 1; margin: 0; background: transparent; - font-size: 13px; + font-size: 12px; font-weight: 700; line-height: 1; - cursor: progress !important; - opacity: .7; - background: #FF4785; - color: #FFFFFF; -} - -.emotion-10 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-10 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); + background: #fafafa; + color: #333333; + box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; + border-radius: 4px; } .emotion-10 svg { display: inline-block; - height: 16px; - width: 16px; + height: 14px; + width: 14px; vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; pointer-events: none; } -.emotion-10 [role="progressbar"] { - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transform: translate3d(0,-50%,0); - -ms-transform: translate3d(0,-50%,0); - transform: translate3d(0,-50%,0); - opacity: 1; -} - -.emotion-10 > span { - -webkit-transform: scale3d(0,0,1) translate3d(0,-100%,0); - -ms-transform: scale3d(0,0,1) translate3d(0,-100%,0); - transform: scale3d(0,0,1) translate3d(0,-100%,0); - opacity: 0; -} - -.emotion-10:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - .emotion-10 svg path { - fill: #FFFFFF; + fill: currentColor; } -.emotion-8 { - display: inline-block; - vertical-align: top; -} - -.emotion-9 { - position: absolute; - top: 50%; - left: 0; - right: 0; - opacity: 0; -} - -.emotion-13 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - cursor: progress !important; - opacity: .7; - background: #1EA7FD; - color: #FFFFFF; -} - -.emotion-13 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-13 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-13 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-13 [role="progressbar"] { - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transform: translate3d(0,-50%,0); - -ms-transform: translate3d(0,-50%,0); - transform: translate3d(0,-50%,0); - opacity: 1; -} - -.emotion-13 > span { - -webkit-transform: scale3d(0,0,1) translate3d(0,-100%,0); - -ms-transform: scale3d(0,0,1) translate3d(0,-100%,0); - transform: scale3d(0,0,1) translate3d(0,-100%,0); - opacity: 0; -} - -.emotion-13:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -.emotion-13 svg path { - fill: #FFFFFF; -} - -.emotion-16 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - cursor: progress !important; - opacity: .7; - background: #FAFBFC; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; -} - -.emotion-16 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-16 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-16 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-16 [role="progressbar"] { - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transform: translate3d(0,-50%,0); - -ms-transform: translate3d(0,-50%,0); - transform: translate3d(0,-50%,0); - opacity: 1; -} - -.emotion-16 > span { - -webkit-transform: scale3d(0,0,1) translate3d(0,-100%,0); - -ms-transform: scale3d(0,0,1) translate3d(0,-100%,0); - transform: scale3d(0,0,1) translate3d(0,-100%,0); - opacity: 0; -} - -.emotion-16:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -.emotion-16 svg path { - fill: #333333; -} - -.emotion-19 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - cursor: progress !important; - opacity: .7; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; - background: transparent; -} - -.emotion-19 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-19 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-19 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-19 [role="progressbar"] { - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transform: translate3d(0,-50%,0); - -ms-transform: translate3d(0,-50%,0); - transform: translate3d(0,-50%,0); - opacity: 1; -} - -.emotion-19 > span { - -webkit-transform: scale3d(0,0,1) translate3d(0,-100%,0); - -ms-transform: scale3d(0,0,1) translate3d(0,-100%,0); - transform: scale3d(0,0,1) translate3d(0,-100%,0); - opacity: 0; -} - -.emotion-19:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -.emotion-19 svg path { - fill: #666666; -} - -.emotion-23 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FF4785; - color: #FFFFFF; -} - -.emotion-23:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-23:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-23:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-23 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-23 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-23 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-23 svg path { - fill: #FFFFFF; -} - -.emotion-23:hover { - background: #ff2d74; -} - -.emotion-23:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; -} - -.emotion-23:focus { - box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; -} - -.emotion-23:focus:hover { - box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; -} - -.emotion-24 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #1EA7FD; - color: #FFFFFF; -} - -.emotion-24:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-24:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-24:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-24 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-24 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-24 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-24 svg path { - fill: #FFFFFF; -} - -.emotion-24:hover { - background: #059dfd; -} - -.emotion-24:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; -} - -.emotion-24:focus { - box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; -} - -.emotion-24:focus:hover { - box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; -} - -.emotion-25 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - background: #FAFBFC; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; -} - -.emotion-25:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-25:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-25:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-25 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-25 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-25 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-25 svg path { - fill: #333333; -} - -.emotion-25:hover { +.emotion-10:hover { + background: #f2f2f2; box-shadow: rgba(0,0,0,.2) 0 2px 6px 0,rgba(0,0,0,.1) 0 0 0 1px inset; } -.emotion-25:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; +.emotion-10:active { + background: #FFFFFF; } -.emotion-25:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; +.emotion-10:focus { + box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } -.emotion-25:focus:hover { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-26 { +.emotion-11 { border: 0; border-radius: 3em; cursor: pointer; @@ -1620,49 +815,12 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; } -.emotion-26:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-26:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-26:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-26 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-26 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-26 svg { +.emotion-11 svg { display: inline-block; height: 14px; width: 14px; @@ -1673,21 +831,20 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-26 svg path { - fill: #666666; +.emotion-11 svg path { + fill: currentColor; } -.emotion-26:hover { - box-shadow: #999999 0 0 0 1px inset; +.emotion-11:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-26:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; +.emotion-11:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } -.emotion-27 { +.emotion-12 { border: 0; border-radius: 3em; cursor: pointer; @@ -1715,50 +872,13 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); cursor: not-allowed !important; - opacity: .5; + opacity: 0.5; background: #FF4785; color: #FFFFFF; } -.emotion-27:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-27:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-27:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-27 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-27 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-27 svg { +.emotion-12 svg { display: inline-block; height: 14px; width: 14px; @@ -1769,33 +889,33 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-27:hover { +.emotion-12 svg path { + fill: currentColor; +} + +.emotion-12:hover { -webkit-transform: none; -ms-transform: none; transform: none; } -.emotion-27 svg path { - fill: #FFFFFF; -} - -.emotion-27:hover { +.emotion-12:hover { background: #ff2d74; } -.emotion-27:active { - box-shadow: rgba(0,0,0,.1) 0 0 0 3em inset; +.emotion-12:active { + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-27:focus { +.emotion-12:focus { box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-27:focus:hover { +.emotion-12:focus:hover { box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-30 { +.emotion-15 { border: 0; border-radius: 3em; cursor: pointer; @@ -1823,50 +943,13 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; } -.emotion-30:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-30:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-30:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-30 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-30 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - -.emotion-30 svg { +.emotion-15 svg { display: inline-block; height: 14px; width: 14px; @@ -1877,23 +960,22 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-30 svg { +.emotion-15 svg path { + fill: currentColor; +} + +.emotion-15 svg { display: block; margin: 0; } -.emotion-30 svg path { - fill: #666666; +.emotion-15:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-30:hover { - box-shadow: #999999 0 0 0 1px inset; -} - -.emotion-30:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; +.emotion-15:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; }
@@ -1930,7 +1012,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` - - - - -
- - - FormButton copies teriary w/o hover translate + +
- diff --git a/lib/components/src/Button/__snapshots__/Button.stories.storyshot b/lib/components/src/Button/__snapshots__/Button.stories.storyshot index e1e47a2c11d..f4a1930f4b6 100644 --- a/lib/components/src/Button/__snapshots__/Button.stories.storyshot +++ b/lib/components/src/Button/__snapshots__/Button.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Button all buttons 1`] = ` -.emotion-14 { +.emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -9,199 +9,11 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` display: block; } -.emotion-13 { +.emotion-3 { fill: currentColor; } .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - background: #FF4785; - color: #FFFFFF; -} - -.emotion-0 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #ff2d74; -} - -.emotion-0:active { - box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; -} - -.emotion-0:focus { - box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; -} - -.emotion-0:focus:hover { - box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; -} - -.emotion-1 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - background: #1EA7FD; - color: #FFFFFF; -} - -.emotion-1 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-1 svg path { - fill: currentColor; -} - -.emotion-1:hover { - background: #059dfd; -} - -.emotion-1:active { - box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; -} - -.emotion-1:focus { - box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; -} - -.emotion-1:focus:hover { - box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; -} - -.emotion-2 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 13px 20px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 13px; - font-weight: 700; - line-height: 1; - background: #fff; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; -} - -.emotion-2 svg { - display: inline-block; - height: 16px; - width: 16px; - vertical-align: top; - margin-right: 6px; - margin-top: -2px; - margin-bottom: -2px; - pointer-events: none; -} - -.emotion-2 svg path { - fill: currentColor; -} - -.emotion-2:hover { - background: #fff; - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0,rgba(0,0,0,.1) 0 0 0 1px inset; -} - -.emotion-2:active { - background: #FFFFFF; -} - -.emotion-2:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-3 { border: 0; border-radius: 3em; cursor: pointer; @@ -242,7 +54,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` z-index: 2; } -.emotion-3 svg { +.emotion-0 svg { display: inline-block; height: 14px; width: 14px; @@ -253,29 +65,218 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-3 svg path { +.emotion-0 svg path { fill: currentColor; } -.emotion-3:hover { +.emotion-0:hover { background: #fff; } -.emotion-3:active { +.emotion-0:active { background: #FFFFFF; } -.emotion-3:focus { +.emotion-0:focus { box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; } -.emotion-3:hover { +.emotion-0:hover { -webkit-transform: none; -ms-transform: none; transform: none; } -.emotion-4 { +.emotion-1 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 13px 20px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 13px; + font-weight: 700; + line-height: 1; + background: #FF4785; + color: #FFFFFF; +} + +.emotion-1 svg { + display: inline-block; + height: 16px; + width: 16px; + vertical-align: top; + margin-right: 6px; + margin-top: -2px; + margin-bottom: -2px; + pointer-events: none; +} + +.emotion-1 svg path { + fill: currentColor; +} + +.emotion-1:hover { + background: #ff2d74; +} + +.emotion-1:active { + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; +} + +.emotion-1:focus { + box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; +} + +.emotion-1:focus:hover { + box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; +} + +.emotion-2 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 13px 20px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 13px; + font-weight: 700; + line-height: 1; + background: #1EA7FD; + color: #FFFFFF; +} + +.emotion-2 svg { + display: inline-block; + height: 16px; + width: 16px; + vertical-align: top; + margin-right: 6px; + margin-top: -2px; + margin-bottom: -2px; + pointer-events: none; +} + +.emotion-2 svg path { + fill: currentColor; +} + +.emotion-2:hover { + background: #059dfd; +} + +.emotion-2:active { + box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; +} + +.emotion-2:focus { + box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; +} + +.emotion-2:focus:hover { + box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; +} + +.emotion-5 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 13px 20px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 13px; + font-weight: 700; + line-height: 1; + padding: 12px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; +} + +.emotion-5 svg { + display: inline-block; + height: 16px; + width: 16px; + vertical-align: top; + margin-right: 6px; + margin-top: -2px; + margin-bottom: -2px; + pointer-events: none; +} + +.emotion-5 svg path { + fill: currentColor; +} + +.emotion-5 svg { + display: block; + margin: 0; +} + +.emotion-5:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-5:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-6 { border: 0; border-radius: 3em; cursor: pointer; @@ -308,7 +309,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` background: transparent; } -.emotion-4 svg { +.emotion-6 svg { display: inline-block; height: 16px; width: 16px; @@ -319,20 +320,20 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-4 svg path { +.emotion-6 svg path { fill: currentColor; } -.emotion-4:hover { +.emotion-6:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-4:active { +.emotion-6:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-5 { +.emotion-7 { border: 0; border-radius: 3em; cursor: pointer; @@ -369,7 +370,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FF4785; } -.emotion-5 svg { +.emotion-7 svg { display: inline-block; height: 16px; width: 16px; @@ -380,59 +381,59 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-5 svg path { +.emotion-7 svg path { fill: currentColor; } -.emotion-5:hover { +.emotion-7:hover { background: #ff2d74; } -.emotion-5:active { +.emotion-7:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-5:focus { +.emotion-7:focus { box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-5:focus:hover { +.emotion-7:focus:hover { box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-5:hover { +.emotion-7:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-5:active { +.emotion-7:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-5 svg path { +.emotion-7 svg path { fill: #FF4785; } -.emotion-5:hover { +.emotion-7:hover { box-shadow: #FF4785 0 0 0 1px inset; background: transparent; } -.emotion-5:active { +.emotion-7:active { background: #FF4785; box-shadow: #FF4785 0 0 0 1px inset; color: #FFFFFF; } -.emotion-5:focus { +.emotion-7:focus { box-shadow: #FF4785 0 0 0 1px inset, rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-5:focus:hover { +.emotion-7:focus:hover { box-shadow: #FF4785 0 0 0 1px inset, rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-6 { +.emotion-8 { border: 0; border-radius: 3em; cursor: pointer; @@ -469,7 +470,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #1EA7FD; } -.emotion-6 svg { +.emotion-8 svg { display: inline-block; height: 16px; width: 16px; @@ -480,55 +481,55 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-6 svg path { +.emotion-8 svg path { fill: currentColor; } -.emotion-6:hover { +.emotion-8:hover { background: #059dfd; } -.emotion-6:active { +.emotion-8:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-6:focus { +.emotion-8:focus { box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; } -.emotion-6:focus:hover { +.emotion-8:focus:hover { box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; } -.emotion-6:hover { +.emotion-8:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-6:active { +.emotion-8:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-6:hover { +.emotion-8:hover { box-shadow: #1EA7FD 0 0 0 1px inset; background: transparent; } -.emotion-6:active { +.emotion-8:active { background: #1EA7FD; box-shadow: #1EA7FD 0 0 0 1px inset; color: #FFFFFF; } -.emotion-6:focus { +.emotion-8:focus { box-shadow: #1EA7FD 0 0 0 1px inset, rgba(30,167,253,0.4) 0 1px 9px 2px; } -.emotion-6:focus:hover { +.emotion-8:focus:hover { box-shadow: #1EA7FD 0 0 0 1px inset, rgba(30,167,253,0.2) 0 8px 18px 0px; } -.emotion-7 { +.emotion-9 { border: 0; border-radius: 3em; cursor: pointer; @@ -562,7 +563,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-7 svg { +.emotion-9 svg { display: inline-block; height: 16px; width: 16px; @@ -573,33 +574,33 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-7 svg path { +.emotion-9 svg path { fill: currentColor; } -.emotion-7:hover { +.emotion-9:hover { -webkit-transform: none; -ms-transform: none; transform: none; } -.emotion-7:hover { +.emotion-9:hover { background: #ff2d74; } -.emotion-7:active { +.emotion-9:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-7:focus { +.emotion-9:focus { box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-7:focus:hover { +.emotion-9:focus:hover { box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-8 { +.emotion-10 { border: 0; border-radius: 3em; cursor: pointer; @@ -631,7 +632,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-8 svg { +.emotion-10 svg { display: inline-block; height: 14px; width: 14px; @@ -642,27 +643,27 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-8 svg path { +.emotion-10 svg path { fill: currentColor; } -.emotion-8:hover { +.emotion-10:hover { background: #ff2d74; } -.emotion-8:active { +.emotion-10:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-8:focus { +.emotion-10:focus { box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-8:focus:hover { +.emotion-10:focus:hover { box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-9 { +.emotion-11 { border: 0; border-radius: 3em; cursor: pointer; @@ -694,7 +695,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-9 svg { +.emotion-11 svg { display: inline-block; height: 14px; width: 14px; @@ -705,89 +706,27 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-9 svg path { +.emotion-11 svg path { fill: currentColor; } -.emotion-9:hover { +.emotion-11:hover { background: #059dfd; } -.emotion-9:active { +.emotion-11:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-9:focus { +.emotion-11:focus { box-shadow: rgba(30,167,253,0.4) 0 1px 9px 2px; } -.emotion-9:focus:hover { +.emotion-11:focus:hover { box-shadow: rgba(30,167,253,0.2) 0 8px 18px 0px; } -.emotion-10 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fff; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; -} - -.emotion-10 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-10 svg path { - fill: currentColor; -} - -.emotion-10:hover { - background: #fff; - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0,rgba(0,0,0,.1) 0 0 0 1px inset; -} - -.emotion-10:active { - background: #FFFFFF; -} - -.emotion-10:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-11 { +.emotion-12 { border: 0; border-radius: 3em; cursor: pointer; @@ -820,7 +759,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` background: transparent; } -.emotion-11 svg { +.emotion-12 svg { display: inline-block; height: 14px; width: 14px; @@ -831,20 +770,20 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-11 svg path { +.emotion-12 svg path { fill: currentColor; } -.emotion-11:hover { +.emotion-12:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-11:active { +.emotion-12:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-12 { +.emotion-13 { border: 0; border-radius: 3em; cursor: pointer; @@ -878,7 +817,7 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` color: #FFFFFF; } -.emotion-12 svg { +.emotion-13 svg { display: inline-block; height: 14px; width: 14px; @@ -889,33 +828,33 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-12 svg path { +.emotion-13 svg path { fill: currentColor; } -.emotion-12:hover { +.emotion-13:hover { -webkit-transform: none; -ms-transform: none; transform: none; } -.emotion-12:hover { +.emotion-13:hover { background: #ff2d74; } -.emotion-12:active { +.emotion-13:active { box-shadow: rgba(0,0,0,0.1) 0 0 0 3em inset; } -.emotion-12:focus { +.emotion-13:focus { box-shadow: rgba(255,71,133,0.4) 0 1px 9px 2px; } -.emotion-12:focus:hover { +.emotion-13:focus:hover { box-shadow: rgba(255,71,133,0.2) 0 8px 18px 0px; } -.emotion-15 { +.emotion-16 { border: 0; border-radius: 3em; cursor: pointer; @@ -943,13 +882,13 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - padding: 7px; + padding: 9px; box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; color: rgba(51,51,51,0.7); background: transparent; } -.emotion-15 svg { +.emotion-16 svg { display: inline-block; height: 14px; width: 14px; @@ -960,115 +899,126 @@ exports[`Storyshots Basics|Button all buttons 1`] = ` pointer-events: none; } -.emotion-15 svg path { +.emotion-16 svg path { fill: currentColor; } -.emotion-15 svg { +.emotion-16 svg { display: block; margin: 0; } -.emotion-15:hover { +.emotion-16:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-15:active { +.emotion-16:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; }
+

+ Button that is used for forms +

+
+

+ Buttons that are used for everything else +

+ +
-
- - - - - - -
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONTENT 6 -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-6:first-child { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-11 { - display: block; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-1 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-1:empty { - display: none; -} - -.emotion-1:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-10 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-9 { - display: none; -} - -
-
-
-
-
- - - - - - -
-
-
-
-
- CONTENT 1 -
- -
-
- CONTENT 6 -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateful - static 1`] = ` -.emotion-3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-3 > * { - margin-left: 15px; -} - -.emotion-2 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-2:first-child { - margin-left: 0; -} - -.emotion-1 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-1:empty { - display: none; -} - -.emotion-1:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-5 { - display: block; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: block; - position: relative; - font-size: 13px; -} - -
-
-
-
-
- - -
-
-
-
-
-
- test2 is always active (but visually hidden) -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-6:first-child { - margin-left: 0; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-10 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-9 { - display: none; -} - -.emotion-11 { - background-clip: padding-box; - border: 1px solid rgba(0,0,0,.1); - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -
-
-
-
-
- - - - - - -
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONTENT 6 -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-6:first-child { - margin-left: 0; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-10 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-9 { - display: none; -} - -.emotion-11 { - background-clip: padding-box; - border: 1px solid rgba(0,0,0,.1); - display: block; -} - -
-
-
-
-
- - - - - - -
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONTENT 6 -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` -.emotion-0 { - font-weight: 700; -} - -.emotion-1 { - padding: 30px; - text-align: center; - color: #333333; - font-size: 13px; -} - -
-
-
- Nothing found -
-
-
-`; - -exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-6:first-child { - margin-left: 0; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-10 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-9 { - display: none; -} - -.emotion-11 { - background-clip: padding-box; - border: 1px solid rgba(0,0,0,.1); - display: block; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - color: #999999; - height: 40px; - position: relative; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -
-
-
-
-
- - - - - - -
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONTENT 6 -
-
-
-
-
-`; - -exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-6:first-child { - margin-left: 0; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-8 > * { - margin-right: 15px; -} - .emotion-12 { display: block; } .emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1694,13 +110,34 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - color: #999999; - height: 40px; position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; } .emotion-0 { @@ -1763,74 +200,67 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` >
-
-
- - - - - - -
-
- - +
+ + + + + + +
+
`; + +exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-12 { + display: block; +} + +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-1 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-1:empty { + display: none; +} + +.emotion-1:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-11 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-10 { + display: none; +} + +
+
+
+
+
+
+ + + + + + +
+
+
+
+
+
+ CONTENT 1 +
+ +
+
+ CONTENT 6 +
+
+
+
+
+`; + +exports[`Storyshots Basics|Tabs stateful - static 1`] = ` +.emotion-1 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-1:empty { + display: none; +} + +.emotion-1:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: block; +} + +.emotion-5 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-5::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-5::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-3 > * { + margin-left: 15px; +} + +.emotion-2 { + overflow: hidden; +} + +.emotion-2:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-7 { + display: block; + position: relative; + font-size: 13px; +} + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ test2 is always active (but visually hidden) +
+
+
+
+
+`; + +exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-11 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-10 { + display: none; +} + +.emotion-12 { + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.1); + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +
+
+
+
+
+
+ + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONTENT 6 +
+
+
+
+
+`; + +exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-11 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-10 { + display: none; +} + +.emotion-12 { + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.1); + display: block; +} + +
+
+
+
+
+
+ + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONTENT 6 +
+
+
+
+
+`; + +exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` +.emotion-0 { + font-weight: 700; +} + +.emotion-1 { + padding: 30px; + text-align: center; + color: #333333; + font-size: 13px; +} + +
+
+
+ Nothing found +
+
+
+`; + +exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-11 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-10 { + display: none; +} + +.emotion-12 { + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.1); + display: block; +} + +
+
+
+
+
+
+ + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONTENT 6 +
+
+
+
+
+`; + +exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-13 { + display: block; +} + +.emotion-10 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-10::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-10::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-10::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-10::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-12 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-11 { + display: none; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; +} + +.emotion-8 > * { + margin-right: 15px; +} + +
+
+
+
+
+
+ + + + + + +
+
+
+ + +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CONTENT 6 +
+
+
+
+
+`; diff --git a/lib/components/src/tabs/tabs.js b/lib/components/src/tabs/tabs.js index 5c518c80839..ea1b932acc5 100644 --- a/lib/components/src/tabs/tabs.js +++ b/lib/components/src/tabs/tabs.js @@ -29,28 +29,13 @@ const Wrapper = styled.div( } ); -export const TabBar = styled.div( - { - whiteSpace: 'nowrap', - height: '100%', +export const TabBar = styled.div({ + overflow: 'hidden', - '&:first-child': { - marginLeft: 0, - }, + '&:first-of-type': { + marginLeft: 0, }, - ({ scroll }) => ({ - // super lame, hiding of scrollbar - paddingBottom: 50, - overflowX: scroll ? 'auto' : 'visisble', - overflowY: scroll ? 'hidden' : 'visisble', - }), - ({ flex }) => - flex - ? { - flex: typeof flex === 'number' ? flex : 1, - } - : {} -); +}); const Content = styled.div( { @@ -111,12 +96,12 @@ const childrenToList = (children, selected) => }); export const Tabs = React.memo( - ({ children, selected, actions, absolute, bordered, scroll, tools, id: htmlId }) => { + ({ children, selected, actions, absolute, bordered, tools, id: htmlId }) => { const list = childrenToList(children, selected); return list.length ? ( - - + + {list.map(({ title, id, active }) => ( props.theme.typography.weight.black}; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot index fa1f36db222..c9f5e1161da 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot @@ -187,119 +187,52 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` cursor: pointer; } -.emotion-8 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(0,0,0,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-7 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-4 { - color: #444444; - line-height: 18px; -} - -.emotion-2 { - font-weight: 900; -} - .emotion-6 { - margin-top: 8px; - text-align: center; -} - -.emotion-6 > * { - margin: 0 8px; - font-weight: 900; -} - -
-
-
- Tooltip -
-
-
-
-
-
-
- Lorem ipsum dolor sit -
- - Amet consectatur vestibulum concet durum politu coret weirom - -
- -
-
-
-`; - -exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` -.emotion-0 { display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-6 svg path { + fill: #1EA7FD; +} + +.emotion-6:hover, +.emotion-6:focus { cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-6:hover svg path, +.emotion-6:focus svg path { + fill: #0297f5; +} + +.emotion-6:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-6:active svg path { + fill: #028ee6; +} + +.emotion-6 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; } .emotion-9 { @@ -400,16 +333,191 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` class="emotion-7" > - Get more tips - - - Done + + Continue + + +
+
+
+
+`; + +exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` +.emotion-0 { + display: inline-block; + cursor: pointer; +} + +.emotion-6 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-6 svg path { + fill: #1EA7FD; +} + +.emotion-6:hover, +.emotion-6:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-6:hover svg path, +.emotion-6:focus svg path { + fill: #0297f5; +} + +.emotion-6:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-6:active svg path { + fill: #028ee6; +} + +.emotion-6 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-11 { + display: inline-block; + z-index: 2147483647; + margin-bottom: 10px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + background: rgba(0,0,0,0.95); + -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); + border-radius: 8px; + font-size: 12px; +} + +.emotion-1 { + position: absolute; + border-style: solid; + margin-bottom: 0px; + margin-top: 8px; + margin-right: 8px; + margin-left: 8px; + bottom: -8px; + top: autopx; + right: autopx; + left: autopx; + border-bottom-width: 0px; + border-top-width: 8px; + border-right-width: 8px; + border-left-width: 8px; + border-top-color: rgba(0,0,0,0.95); + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; +} + +.emotion-10 { + padding: 15px; + width: 280px; + box-sizing: border-box; +} + +.emotion-4 { + color: #444444; + line-height: 18px; +} + +.emotion-2 { + font-weight: 900; +} + +.emotion-9 { + margin-top: 8px; + text-align: center; +} + +.emotion-9 > * { + margin: 0 8px; + font-weight: 900; +} + +
+
+
+ Tooltip +
+
+
+
+
+
+
+ Lorem ipsum dolor sit +
+ + Amet consectatur vestibulum concet durum politu coret weirom + +
+
diff --git a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot index 61057cb5c74..06bafb3626b 100644 --- a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot @@ -159,7 +159,55 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` cursor: pointer; } -.emotion-10 { +.emotion-8 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-8 svg path { + fill: #1EA7FD; +} + +.emotion-8:hover, +.emotion-8:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-8:hover svg path, +.emotion-8:focus svg path { + fill: #0297f5; +} + +.emotion-8:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-8:active svg path { + fill: #028ee6; +} + +.emotion-8 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-11 { display: inline-block; z-index: 2147483647; margin-bottom: 10px; @@ -194,7 +242,7 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` border-right-color: transparent; } -.emotion-9 { +.emotion-10 { padding: 15px; width: 280px; box-sizing: border-box; @@ -209,21 +257,21 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` font-weight: 900; } -.emotion-8 { +.emotion-9 { margin-top: 8px; text-align: center; } -.emotion-8 > * { +.emotion-9 > * { margin: 0 8px; font-weight: 900; } -.emotion-12 { +.emotion-13 { height: 300px; } -.emotion-11 { +.emotion-12 { width: 500px; height: 500px; overflow-y: scroll; @@ -243,10 +291,10 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` }
diff --git a/lib/components/src/typography/DocumentFormatting.js b/lib/components/src/typography/DocumentFormatting.js index f0d2f741e8b..d66f4adea61 100644 --- a/lib/components/src/typography/DocumentFormatting.js +++ b/lib/components/src/typography/DocumentFormatting.js @@ -78,7 +78,7 @@ const Wrapper = styled.div( /* GitHub inspired Markdown styles loosely from https://gist.github.com/tuzz/3331384 */ - body > *:first-child { + body > *:first-of-type { margin-top: 0 !important; } @@ -118,13 +118,13 @@ const Wrapper = styled.div( position: relative; } - h2:first-child, - h1:first-child, - h1:first-child + h2, - h3:first-child, - h4:first-child, - h5:first-child, - h6:first-child { + h2:first-of-type, + h1:first-of-type, + h1:first-of-type + h2, + h3:first-of-type, + h4:first-of-type, + h5:first-of-type, + h6:first-of-type { margin-top: 0; padding-top: 0; } @@ -186,35 +186,35 @@ const Wrapper = styled.div( padding: 0; } - body > h2:first-child { + body > h2:first-of-type { margin-top: 0; padding-top: 0; } - body > h1:first-child { + body > h1:first-of-type { margin-top: 0; padding-top: 0; } - body > h1:first-child + h2 { + body > h1:first-of-type + h2 { margin-top: 0; padding-top: 0; } - body > h3:first-child, - body > h4:first-child, - body > h5:first-child, - body > h6:first-child { + body > h3:first-of-type, + body > h4:first-of-type, + body > h5:first-of-type, + body > h6:first-of-type { margin-top: 0; padding-top: 0; } - a:first-child h1, - a:first-child h2, - a:first-child h3, - a:first-child h4, - a:first-child h5, - a:first-child h6 { + a:first-of-type h1, + a:first-of-type h2, + a:first-of-type h3, + a:first-of-type h4, + a:first-of-type h5, + a:first-of-type h6 { margin-top: 0; padding-top: 0; } @@ -237,8 +237,8 @@ const Wrapper = styled.div( padding-left: 30px; } - ul :first-child, - ol :first-child { + ul :first-of-type, + ol :first-of-type { margin-top: 0; } @@ -259,11 +259,11 @@ const Wrapper = styled.div( margin: 15px 0 5px; } - dl dt:first-child { + dl dt:first-of-type { padding: 0; } - dl dt > :first-child { + dl dt > :first-of-type { margin-top: 0; } @@ -276,7 +276,7 @@ const Wrapper = styled.div( padding: 0 15px; } - dl dd > :first-child { + dl dd > :first-of-type { margin-top: 0; } @@ -290,7 +290,7 @@ const Wrapper = styled.div( color: ${props.theme.color.dark}; } - blockquote > :first-child { + blockquote > :first-of-type { margin-top: 0; } @@ -309,7 +309,7 @@ const Wrapper = styled.div( padding: 0; } - table tr:nth-child(2n) { + table tr:nth-of-type(2n) { background-color: ${props.theme.color.lighter}; } @@ -328,8 +328,8 @@ const Wrapper = styled.div( padding: 6px 13px; } - table tr th :first-child, - table tr td :first-child { + table tr th :first-of-type, + table tr td :first-of-type { margin-top: 0; } diff --git a/lib/components/src/typography/DocumentFormatting.stories.js b/lib/components/src/typography/DocumentFormatting.stories.js index d6d33580e09..d9822f25c0a 100644 --- a/lib/components/src/typography/DocumentFormatting.stories.js +++ b/lib/components/src/typography/DocumentFormatting.stories.js @@ -1,6 +1,8 @@ import React from 'react'; +import Markdown from 'markdown-to-jsx'; import DocumentFormatting from './DocumentFormatting'; +import markdownSample from './DocumentFormattingSample.md'; export default { Component: DocumentFormatting, @@ -16,14 +18,15 @@ export default { ], }; -export const sampleDocument = () => ( - // This is Markdown to HTML from https://markdown-it.github.io/ - // Use by wrapping DOM in this component +export const withMarkdown = () => ( -

- Wrap your components in DocumentFormatting to get text styles for body content -

-

h1 Heading 😎

+ {markdownSample} +
+); + +export const withDOM = () => ( + +

h1 Heading

h2 Heading

h3 Heading

h4 Heading

@@ -183,98 +186,5 @@ export const sampleDocument = () => ( title="The Stormtroopocat" />

-

Like links, Images also have a footnote style syntax

-

- Alt text -

-

With a reference later in the document defining the URL location:

-

Plugins

-

- The killer feature of markdown-it is very effective support of - syntax plugins. -

-

- Emojies -

-
-

Classic markup: 😉 :crush: 😢 :tear: 😆 😋

-

Shortcuts (emoticons): 😃 😦 😎 😉

-
-

- see{' '} - - how to change output - {' '} - with twemoji. -

-

- Subscript /{' '} - Superscript -

-
    -
  • - 19th -
  • -
  • - H2O -
  • -
-

- Definition lists -

-
-
Term 1
-
-

Definition 1 with lazy continuation.

-
-
- Term 2 with inline markup -
-
-

Definition 2

-
-           some code, part of Definition 2
-        
-

Third paragraph of definition 2.

-
-
-

- Compact style: -

-
-
Term 1
-
Definition 1
-
Term 2
-
Definition 2a
-
Definition 2b
-
-

- Compact style: -

-
-
Term 1
-
Definition 1
-
Term 2
-
Definition 2a
-
Definition 2b
-
-

- Abbreviations -

-

- This is HTML abbreviation example. -

-

- It converts “HTML”, but keep intact partial - entries like “xxxHTMLyyy” and so on. -

-

- Custom containers -

-
-

- here be dragons -

-
); diff --git a/lib/components/src/typography/DocumentFormattingSample.md b/lib/components/src/typography/DocumentFormattingSample.md new file mode 100644 index 00000000000..381d5f0591c --- /dev/null +++ b/lib/components/src/typography/DocumentFormattingSample.md @@ -0,0 +1,125 @@ +# h1 Heading + +## h2 Heading + +### h3 Heading + +#### h4 Heading + +##### h5 Heading + +###### h6 Heading + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, -- --- + +"Smartypants, double quotes" and 'single quotes' + +## Emphasis + +**This is bold text** + +**This is bold text** + +_This is italic text_ + +_This is italic text_ + +~~Strikethrough~~ + +## Blockquotes + +> Blockquotes can also be nested... +> +> > ...by using additional greater-than signs right next to each other... +> > +> > > ...or with spaces between arrows. + +## Lists + +Unordered + +- Create a list by starting a line with `+`, `-`, or `*` +- Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + - Ac tristique libero volutpat at + * Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit +- Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + +1) You can use sequential numbers... +1) ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar + +## Code + +Inline `code` + +Indented code + + // Some comments + line 1 of code + line 2 of code + line 3 of code + +Block code "fences" + +``` +Sample text here... +``` + +Syntax highlighting + +```js +var foo = function(bar) { + return bar++; +}; + +console.log(foo(5)); +``` + +## Tables + +| Option | Description | +| ------ | ------------------------------------------------------------------------- | +| data | path to data files to supply the data that will be passed into templates. | +| engine | engine to be used for processing templates. Handlebars is the default. | +| ext | extension to be used for dest files. | + +Right aligned columns + +| Option | Description | +| -----: | ------------------------------------------------------------------------: | +| data | path to data files to supply the data that will be passed into templates. | +| engine | engine to be used for processing templates. Handlebars is the default. | +| ext | extension to be used for dest files. | + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ 'title text!') + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + +## Images + +![Minion](https://octodex.github.com/images/minion.png) +![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat') diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 9c9f84cf70c..54550ef714f 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Panel default 1`] = ` -.emotion-13 { +.emotion-14 { width: 100%; height: 100%; box-sizing: border-box; @@ -14,6 +14,57 @@ exports[`Storyshots UI|Panel default 1`] = ` flex-direction: column; } +.emotion-12 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-12::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-12::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-12::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-12::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: -webkit-box; display: -webkit-flex; @@ -23,14 +74,9 @@ exports[`Storyshots UI|Panel default 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + white-space: nowrap; + height: 40px; } .emotion-3 { @@ -38,9 +84,12 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-3 > * { @@ -48,14 +97,10 @@ exports[`Storyshots UI|Panel default 1`] = ` } .emotion-2 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-2:first-child { +.emotion-2:first-of-type { margin-left: 0; } @@ -154,6 +199,13 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-10 > * { @@ -195,7 +247,7 @@ exports[`Storyshots UI|Panel default 1`] = ` fill: currentColor; } -.emotion-12 { +.emotion-13 { display: block; position: relative; font-size: 13px; @@ -208,70 +260,78 @@ exports[`Storyshots UI|Panel default 1`] = ` }
+
+ + +
+
+
-
- - -
* { @@ -21,6 +38,13 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-21 > * { @@ -62,22 +86,24 @@ Array [ fill: currentColor; } -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; +.emotion-23 { color: #999999; height: 40px; - position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -90,6 +116,36 @@ Array [ tranform: translateY(0px); } +.emotion-23::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-23::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-23::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-23::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-9 { width: 1px; height: 24px; @@ -101,114 +157,121 @@ Array [ display: none; } -.emotion-9:first-child { +.emotion-9:first-of-type { display: none; } -.emotion-9:last-child { +.emotion-9:last-of-type { display: none; }
- - + + + + +
+
- - - - - + + - - -
-
- - - + + + + +
, .emotion-2 { @@ -284,14 +347,31 @@ Array [ exports[`Storyshots UI|Preview/Preview with tabs 1`] = ` Array [ - .emotion-19 { + .emotion-28 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-19 > * { @@ -299,14 +379,10 @@ Array [ } .emotion-4 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-4:first-child { +.emotion-4:first-of-type { margin-left: 0; } @@ -405,6 +481,13 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-27 > * { @@ -446,22 +529,24 @@ Array [ fill: currentColor; } -.emotion-28 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; +.emotion-29 { color: #999999; height: 40px; - position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -474,6 +559,36 @@ Array [ tranform: translateY(0px); } +.emotion-29::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-29::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-29::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-29::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-5 { width: 1px; height: 24px; @@ -485,11 +600,11 @@ Array [ display: none; } -.emotion-5:first-child { +.emotion-5:first-of-type { display: none; } -.emotion-5:last-child { +.emotion-5:last-of-type { display: none; } @@ -501,132 +616,139 @@ Array [ }
+ + - + + + + + + +
- - - + + - - - -
-
- - - + + + + +
, .emotion-2 { diff --git a/lib/ui/src/components/sidebar/NotificationList.stories.js b/lib/ui/src/components/sidebar/NotificationList.stories.js index 235108f90a6..7648fe32a1d 100644 --- a/lib/ui/src/components/sidebar/NotificationList.stories.js +++ b/lib/ui/src/components/sidebar/NotificationList.stories.js @@ -20,5 +20,3 @@ all.storyData = { notifications }; export const single = () => ; single.storyData = { notifications: notifications.slice(0, 1) }; - -export const empty = () => ; diff --git a/lib/ui/src/components/sidebar/SidebarHeading.js b/lib/ui/src/components/sidebar/SidebarHeading.js index b45abadf499..8d129b0e811 100644 --- a/lib/ui/src/components/sidebar/SidebarHeading.js +++ b/lib/ui/src/components/sidebar/SidebarHeading.js @@ -35,6 +35,7 @@ const LogoLink = styled.a( const MenuButton = styled(Button)(props => ({ position: 'relative', overflow: 'visible', + padding: 7, ...(props.highlighted && { '&:after': { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 7937df77314..30c0ace51be 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -1,156 +1,208 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` +.emotion-26 { + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-2 > * { + margin-left: 15px; +} + +.emotion-1 { + overflow: hidden; +} + +.emotion-1:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; +} + +.emotion-6 > * { + margin-right: 15px; +} + +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + .emotion-25 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-2 > * { - margin-left: 15px; -} - -.emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-1:first-child { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-6 > * { - margin-right: 15px; -} - -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - -.emotion-4 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-3 { - fill: currentColor; -} - -.emotion-24 { display: block; position: relative; font-size: 13px; @@ -162,646 +214,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` width: 100%; } -.emotion-13 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-13 svg path { - fill: #1EA7FD; -} - -.emotion-13:hover, -.emotion-13:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-13:hover svg path, -.emotion-13:focus svg path { - fill: #0297f5; -} - -.emotion-13:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-13:active svg path { - fill: #028ee6; -} - -.emotion-13 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-21 > * + * { - margin-left: 20px; -} - -.emotion-16 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-16 svg path { - fill: #1EA7FD; -} - -.emotion-16:hover, -.emotion-16:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-16:hover svg path, -.emotion-16:focus svg path { - fill: #0297f5; -} - -.emotion-16:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-16:active svg path { - fill: #028ee6; -} - -.emotion-16 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-16 svg path { - fill: #999999; -} - -.emotion-16:hover { - color: #666666; -} - -.emotion-16:hover svg path { - fill: #666666; -} - -.emotion-16:active { - color: #444444; -} - -.emotion-16:active svg path { - fill: #444444; -} - -.emotion-23 { - display: block; -} - -.emotion-22 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-8 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-8 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - -.emotion-12 > svg:last-of-type { - height: 0.7em; - width: 0.7em; - margin-right: 0; - margin-left: 0.25em; - bottom: auto; - vertical-align: inherit; -} - -.emotion-9 { - background: #FEDED2; - color: #FF4400; - font-weight: 700; - height: 40px; - padding: 10px 20px; - margin-bottom: 24px; - border: 1px solid rgba(0,0,0,.1); - text-align: center; -} - -.emotion-14 { - font-weight: 700; - text-align: center; -} - -
-
-
-
- -
-
-
- -
-
-
-
-
-
- - - - - - - - Storybook 5.0.0 -
-
- Oops! The latest version of Storybook couldn't be fetched. -
- - -
-
-
-
-`; - -exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -.emotion-41 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-2 > * { - margin-left: 15px; -} - -.emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-1:first-child { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-6 > * { - margin-right: 15px; -} - -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - -.emotion-4 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-3 { - fill: currentColor; -} - -.emotion-40 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-37 > * + * { - margin-left: 20px; -} - -.emotion-32 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-32 svg path { - fill: #1EA7FD; -} - -.emotion-32:hover, -.emotion-32:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-32:hover svg path, -.emotion-32:focus svg path { - fill: #0297f5; -} - -.emotion-32:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-32:active svg path { - fill: #028ee6; -} - -.emotion-32 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-32 svg path { - fill: #999999; -} - -.emotion-32:hover { - color: #666666; -} - -.emotion-32:hover svg path { - fill: #666666; -} - -.emotion-32:active { - color: #444444; -} - -.emotion-32:active svg path { - fill: #444444; -} - -.emotion-39 { - display: block; -} - -.emotion-38 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-8 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-8 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - -.emotion-15 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.emotion-10 { - -webkit-letter-spacing: 0.35em; - -moz-letter-spacing: 0.35em; - -ms-letter-spacing: 0.35em; - letter-spacing: 0.35em; - text-transform: uppercase; - font-weight: 900; - font-size: 13px; - line-height: 24px; - color: #999999; -} - .emotion-14 { display: inline-block; -webkit-transition: all 150ms ease-out; @@ -809,8 +221,6 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -webkit-text-decoration: none; text-decoration: none; color: #1EA7FD; - color: #999999; - font-size: 12px; } .emotion-14 svg path { @@ -852,26 +262,120 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin-right: 0.4em; } -.emotion-14 svg path { +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-22 > * + * { + margin-left: 20px; +} + +.emotion-17 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-17 svg path { + fill: #1EA7FD; +} + +.emotion-17:hover, +.emotion-17:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-17:hover svg path, +.emotion-17:focus svg path { + fill: #0297f5; +} + +.emotion-17:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-17:active svg path { + fill: #028ee6; +} + +.emotion-17 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-17 svg path { fill: #999999; } -.emotion-14:hover { +.emotion-17:hover { color: #666666; } -.emotion-14:hover svg path { +.emotion-17:hover svg path { fill: #666666; } -.emotion-14:active { +.emotion-17:active { color: #444444; } -.emotion-14:active svg path { +.emotion-17:active svg path { fill: #444444; } +.emotion-24 { + display: block; +} + +.emotion-23 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-9 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-9 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + .emotion-13 > svg:last-of-type { height: 0.7em; width: 0.7em; @@ -881,39 +385,646 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` vertical-align: inherit; } +.emotion-10 { + background: #FEDED2; + color: #FF4400; + font-weight: 700; + padding: 10px 20px; + margin-bottom: 24px; + border: 1px solid rgba(0,0,0,.1); + text-align: center; +} + +.emotion-15 { + font-weight: 700; + text-align: center; +} + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+ + + + + + + + Storybook 5.0.0 +
+
+ Oops! The latest version of Storybook couldn't be fetched. +
+ + +
+
+
+
+`; + +exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` +.emotion-42 { + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-2 > * { + margin-left: 15px; +} + +.emotion-1 { + overflow: hidden; +} + +.emotion-1:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; +} + +.emotion-6 > * { + margin-right: 15px; +} + +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + +.emotion-41 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + +.emotion-38 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-38 > * + * { + margin-left: 20px; +} + +.emotion-33 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-33 svg path { + fill: #1EA7FD; +} + +.emotion-33:hover, +.emotion-33:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-33:hover svg path, +.emotion-33:focus svg path { + fill: #0297f5; +} + +.emotion-33:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-33:active svg path { + fill: #028ee6; +} + +.emotion-33 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-33 svg path { + fill: #999999; +} + +.emotion-33:hover { + color: #666666; +} + +.emotion-33:hover svg path { + fill: #666666; +} + +.emotion-33:active { + color: #444444; +} + +.emotion-33:active svg path { + fill: #444444; +} + +.emotion-40 { + display: block; +} + +.emotion-39 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-9 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-9 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + .emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-11 { + -webkit-letter-spacing: 0.35em; + -moz-letter-spacing: 0.35em; + -ms-letter-spacing: 0.35em; + letter-spacing: 0.35em; + text-transform: uppercase; + font-weight: 900; + font-size: 13px; + line-height: 24px; + color: #999999; +} + +.emotion-15 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; + font-size: 12px; +} + +.emotion-15 svg path { + fill: #1EA7FD; +} + +.emotion-15:hover, +.emotion-15:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-15:hover svg path, +.emotion-15:focus svg path { + fill: #0297f5; +} + +.emotion-15:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-15:active svg path { + fill: #028ee6; +} + +.emotion-15 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-15 svg path { + fill: #999999; +} + +.emotion-15:hover { + color: #666666; +} + +.emotion-15:hover svg path { + fill: #666666; +} + +.emotion-15:active { + color: #444444; +} + +.emotion-15:active svg path { + fill: #444444; +} + +.emotion-14 > svg:last-of-type { + height: 0.7em; + width: 0.7em; + margin-right: 0; + margin-left: 0.25em; + bottom: auto; + vertical-align: inherit; +} + +.emotion-17 { font-size: 14px; line-height: 1.6; } -.emotion-16 h1 { +.emotion-17 h1 { font-size: 32px; font-weight: 900; } -.emotion-16 h2 { +.emotion-17 h2 { font-size: 24px; border-bottom: 1px solid rgba(0,0,0,.1); } -.emotion-16 h3 { +.emotion-17 h3 { font-size: 20px; } -.emotion-16 h4 { +.emotion-17 h4 { font-size: 16px; } -.emotion-16 h5 { +.emotion-17 h5 { font-size: 14px; } -.emotion-16 h6 { +.emotion-17 h6 { font-size: 14px; color: #666666; } -.emotion-16 pre:not(.hljs) { +.emotion-17 pre:not(.hljs) { background: transparent; border: none; border-radius: 0; @@ -921,8 +1032,8 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin: 0; } -.emotion-16 pre pre, -.emotion-16 pre.hljs { +.emotion-17 pre pre, +.emotion-17 pre.hljs { padding: 15px; margin: 0; overflow: auto; @@ -932,13 +1043,13 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` line-height: 19px; } -.emotion-16 pre pre code, -.emotion-16 pre.hljs code { +.emotion-17 pre pre code, +.emotion-17 pre.hljs code { color: inherit; font-size: inherit; } -.emotion-16 pre code { +.emotion-17 pre code { margin: 0; padding: 0; white-space: pre; @@ -946,31 +1057,31 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: transparent; } -.emotion-16 pre code, -.emotion-16 pre tt { +.emotion-17 pre code, +.emotion-17 pre tt { background-color: transparent; border: none; } -.emotion-16 body > *:first-child { +.emotion-17 body > *:first-of-type { margin-top: 0 !important; } -.emotion-16 body > *:last-child { +.emotion-17 body > *:last-child { margin-bottom: 0 !important; } -.emotion-16 a { +.emotion-17 a { color: #1EA7FD; -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 a.absent { +.emotion-17 a.absent { color: #cc0000; } -.emotion-16 a.anchor { +.emotion-17 a.anchor { display: block; padding-left: 30px; margin-left: -30px; @@ -981,153 +1092,153 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` bottom: 0; } -.emotion-16 h1, -.emotion-16 h2, -.emotion-16 h3, -.emotion-16 h4, -.emotion-16 h5, -.emotion-16 h6 { +.emotion-17 h1, +.emotion-17 h2, +.emotion-17 h3, +.emotion-17 h4, +.emotion-17 h5, +.emotion-17 h6 { margin: 20px 0 10px; padding: 0; cursor: text; position: relative; } -.emotion-16 h2:first-child, -.emotion-16 h1:first-child, -.emotion-16 h1:first-child + h2, -.emotion-16 h3:first-child, -.emotion-16 h4:first-child, -.emotion-16 h5:first-child, -.emotion-16 h6:first-child { +.emotion-17 h2:first-of-type, +.emotion-17 h1:first-of-type, +.emotion-17 h1:first-of-type + h2, +.emotion-17 h3:first-of-type, +.emotion-17 h4:first-of-type, +.emotion-17 h5:first-of-type, +.emotion-17 h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 h1:hover a.anchor, -.emotion-16 h2:hover a.anchor, -.emotion-16 h3:hover a.anchor, -.emotion-16 h4:hover a.anchor, -.emotion-16 h5:hover a.anchor, -.emotion-16 h6:hover a.anchor { +.emotion-17 h1:hover a.anchor, +.emotion-17 h2:hover a.anchor, +.emotion-17 h3:hover a.anchor, +.emotion-17 h4:hover a.anchor, +.emotion-17 h5:hover a.anchor, +.emotion-17 h6:hover a.anchor { -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 h1 tt, -.emotion-16 h1 code { +.emotion-17 h1 tt, +.emotion-17 h1 code { font-size: inherit; } -.emotion-16 h2 tt, -.emotion-16 h2 code { +.emotion-17 h2 tt, +.emotion-17 h2 code { font-size: inherit; } -.emotion-16 h3 tt, -.emotion-16 h3 code { +.emotion-17 h3 tt, +.emotion-17 h3 code { font-size: inherit; } -.emotion-16 h4 tt, -.emotion-16 h4 code { +.emotion-17 h4 tt, +.emotion-17 h4 code { font-size: inherit; } -.emotion-16 h5 tt, -.emotion-16 h5 code { +.emotion-17 h5 tt, +.emotion-17 h5 code { font-size: inherit; } -.emotion-16 h6 tt, -.emotion-16 h6 code { +.emotion-17 h6 tt, +.emotion-17 h6 code { font-size: inherit; } -.emotion-16 p, -.emotion-16 blockquote, -.emotion-16 ul, -.emotion-16 ol, -.emotion-16 dl, -.emotion-16 li, -.emotion-16 table, -.emotion-16 pre { +.emotion-17 p, +.emotion-17 blockquote, +.emotion-17 ul, +.emotion-17 ol, +.emotion-17 dl, +.emotion-17 li, +.emotion-17 table, +.emotion-17 pre { margin: 15px 0; } -.emotion-16 hr { +.emotion-17 hr { border: 0 none; color: rgba(0,0,0,.1); height: 4px; padding: 0; } -.emotion-16 body > h2:first-child { +.emotion-17 body > h2:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child { +.emotion-17 body > h1:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child + h2 { +.emotion-17 body > h1:first-of-type + h2 { margin-top: 0; padding-top: 0; } -.emotion-16 body > h3:first-child, -.emotion-16 body > h4:first-child, -.emotion-16 body > h5:first-child, -.emotion-16 body > h6:first-child { +.emotion-17 body > h3:first-of-type, +.emotion-17 body > h4:first-of-type, +.emotion-17 body > h5:first-of-type, +.emotion-17 body > h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 a:first-child h1, -.emotion-16 a:first-child h2, -.emotion-16 a:first-child h3, -.emotion-16 a:first-child h4, -.emotion-16 a:first-child h5, -.emotion-16 a:first-child h6 { +.emotion-17 a:first-of-type h1, +.emotion-17 a:first-of-type h2, +.emotion-17 a:first-of-type h3, +.emotion-17 a:first-of-type h4, +.emotion-17 a:first-of-type h5, +.emotion-17 a:first-of-type h6 { margin-top: 0; padding-top: 0; } -.emotion-16 h1 p, -.emotion-16 h2 p, -.emotion-16 h3 p, -.emotion-16 h4 p, -.emotion-16 h5 p, -.emotion-16 h6 p { +.emotion-17 h1 p, +.emotion-17 h2 p, +.emotion-17 h3 p, +.emotion-17 h4 p, +.emotion-17 h5 p, +.emotion-17 h6 p { margin-top: 0; } -.emotion-16 li p.first { +.emotion-17 li p.first { display: inline-block; } -.emotion-16 ul, -.emotion-16 ol { +.emotion-17 ul, +.emotion-17 ol { padding-left: 30px; } -.emotion-16 ul :first-child, -.emotion-16 ol :first-child { +.emotion-17 ul :first-of-type, +.emotion-17 ol :first-of-type { margin-top: 0; } -.emotion-16 ul :last-child, -.emotion-16 ol :last-child { +.emotion-17 ul :last-child, +.emotion-17 ol :last-child { margin-bottom: 0; } -.emotion-16 dl { +.emotion-17 dl { padding: 0; } -.emotion-16 dl dt { +.emotion-17 dl dt { font-size: 14px; font-weight: bold; font-style: italic; @@ -1135,62 +1246,62 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin: 15px 0 5px; } -.emotion-16 dl dt:first-child { +.emotion-17 dl dt:first-of-type { padding: 0; } -.emotion-16 dl dt > :first-child { +.emotion-17 dl dt > :first-of-type { margin-top: 0; } -.emotion-16 dl dt > :last-child { +.emotion-17 dl dt > :last-child { margin-bottom: 0; } -.emotion-16 dl dd { +.emotion-17 dl dd { margin: 0 0 15px; padding: 0 15px; } -.emotion-16 dl dd > :first-child { +.emotion-17 dl dd > :first-of-type { margin-top: 0; } -.emotion-16 dl dd > :last-child { +.emotion-17 dl dd > :last-child { margin-bottom: 0; } -.emotion-16 blockquote { +.emotion-17 blockquote { border-left: 4px solid #DDDDDD; padding: 0 15px; color: #666666; } -.emotion-16 blockquote > :first-child { +.emotion-17 blockquote > :first-of-type { margin-top: 0; } -.emotion-16 blockquote > :last-child { +.emotion-17 blockquote > :last-child { margin-bottom: 0; } -.emotion-16 table { +.emotion-17 table { padding: 0; border-collapse: collapse; } -.emotion-16 table tr { +.emotion-17 table tr { border-top: 1px solid rgba(0,0,0,.1); background-color: white; margin: 0; padding: 0; } -.emotion-16 table tr:nth-child(2n) { +.emotion-17 table tr:nth-of-type(2n) { background-color: #F8F8F8; } -.emotion-16 table tr th { +.emotion-17 table tr th { font-weight: bold; border: 1px solid rgba(0,0,0,.1); text-align: left; @@ -1198,33 +1309,33 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` padding: 6px 13px; } -.emotion-16 table tr td { +.emotion-17 table tr td { border: 1px solid rgba(0,0,0,.1); text-align: left; margin: 0; padding: 6px 13px; } -.emotion-16 table tr th :first-child, -.emotion-16 table tr td :first-child { +.emotion-17 table tr th :first-of-type, +.emotion-17 table tr td :first-of-type { margin-top: 0; } -.emotion-16 table tr th :last-child, -.emotion-16 table tr td :last-child { +.emotion-17 table tr th :last-child, +.emotion-17 table tr td :last-child { margin-bottom: 0; } -.emotion-16 img { +.emotion-17 img { max-width: 100%; } -.emotion-16 span.frame { +.emotion-17 span.frame { display: block; overflow: hidden; } -.emotion-16 span.frame > span { +.emotion-17 span.frame > span { border: 1px solid #DDDDDD; display: block; float: left; @@ -1234,81 +1345,81 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` width: auto; } -.emotion-16 span.frame span img { +.emotion-17 span.frame span img { display: block; float: left; } -.emotion-16 span.frame span span { +.emotion-17 span.frame span span { clear: both; color: #333333; display: block; padding: 5px 0 0; } -.emotion-16 span.align-center { +.emotion-17 span.align-center { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-center > span { +.emotion-17 span.align-center > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: center; } -.emotion-16 span.align-center span img { +.emotion-17 span.align-center span img { margin: 0 auto; text-align: center; } -.emotion-16 span.align-right { +.emotion-17 span.align-right { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-right > span { +.emotion-17 span.align-right > span { display: block; overflow: hidden; margin: 13px 0 0; text-align: right; } -.emotion-16 span.align-right span img { +.emotion-17 span.align-right span img { margin: 0; text-align: right; } -.emotion-16 span.float-left { +.emotion-17 span.float-left { display: block; margin-right: 13px; overflow: hidden; float: left; } -.emotion-16 span.float-left span { +.emotion-17 span.float-left span { margin: 13px 0 0; } -.emotion-16 span.float-right { +.emotion-17 span.float-right { display: block; margin-left: 13px; overflow: hidden; float: right; } -.emotion-16 span.float-right > span { +.emotion-17 span.float-right > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: right; } -.emotion-16 code, -.emotion-16 tt { +.emotion-17 code, +.emotion-17 tt { margin: 0 2px; padding: 0 5px; white-space: nowrap; @@ -1317,185 +1428,184 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` border-radius: 3px; } -.emotion-9 { +.emotion-10 { background: #E1FFD4; color: #66BF3C; font-weight: 700; - height: 40px; padding: 10px 20px; margin-bottom: 24px; border: 1px solid rgba(0,0,0,.1); text-align: center; } -.emotion-30 { +.emotion-31 { margin-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(0,0,0,.1); } -.emotion-22 { +.emotion-23 { position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.1); } -.emotion-19 { +.emotion-20 { position: relative; overflow: auto; } -.emotion-19 code { +.emotion-20 code { padding-right: 10px; } -.emotion-19 * .token { +.emotion-20 * .token { font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; -webkit-font-smoothing: antialiased; } -.emotion-19 * .token.comment { +.emotion-20 * .token.comment { color: #008000; font-style: italic; } -.emotion-19 * .token.prolog { +.emotion-20 * .token.prolog { color: #008000; font-style: italic; } -.emotion-19 * .token.doctype { +.emotion-20 * .token.doctype { color: #008000; font-style: italic; } -.emotion-19 * .token.cdata { +.emotion-20 * .token.cdata { color: #008000; font-style: italic; } -.emotion-19 * .token.string { +.emotion-20 * .token.string { color: #A31515; } -.emotion-19 * .token.punctuation { +.emotion-20 * .token.punctuation { color: #393A34; } -.emotion-19 * .token.operator { +.emotion-20 * .token.operator { color: #393A34; } -.emotion-19 * .token.url { +.emotion-20 * .token.url { color: #36acaa; } -.emotion-19 * .token.symbol { +.emotion-20 * .token.symbol { color: #36acaa; } -.emotion-19 * .token.number { +.emotion-20 * .token.number { color: #36acaa; } -.emotion-19 * .token.boolean { +.emotion-20 * .token.boolean { color: #36acaa; } -.emotion-19 * .token.variable { +.emotion-20 * .token.variable { color: #36acaa; } -.emotion-19 * .token.constant { +.emotion-20 * .token.constant { color: #36acaa; } -.emotion-19 * .token.inserted { +.emotion-20 * .token.inserted { color: #36acaa; } -.emotion-19 * .token.atrule { +.emotion-20 * .token.atrule { color: #0000ff; } -.emotion-19 * .token.keyword { +.emotion-20 * .token.keyword { color: #0000ff; } -.emotion-19 * .token.attr-value { +.emotion-20 * .token.attr-value { color: #0000ff; } -.emotion-19 * .token.function { +.emotion-20 * .token.function { color: #393A34; } -.emotion-19 * .token.deleted { +.emotion-20 * .token.deleted { color: #9a050f; } -.emotion-19 * .token.important { +.emotion-20 * .token.important { font-weight: bold; } -.emotion-19 * .token.bold { +.emotion-20 * .token.bold { font-weight: bold; } -.emotion-19 * .token.italic { +.emotion-20 * .token.italic { font-style: italic; } -.emotion-19 * .token.class-name { +.emotion-20 * .token.class-name { color: #2B91AF; } -.emotion-19 * .token.tag { +.emotion-20 * .token.tag { color: #800000; } -.emotion-19 * .token.selector { +.emotion-20 * .token.selector { color: #800000; } -.emotion-19 * .token.attr-name { +.emotion-20 * .token.attr-name { color: #ff0000; } -.emotion-19 * .token.property { +.emotion-20 * .token.property { color: #ff0000; } -.emotion-19 * .token.regex { +.emotion-20 * .token.regex { color: #ff0000; } -.emotion-19 * .token.entity { +.emotion-20 * .token.entity { color: #ff0000; } -.emotion-19 * .token.directive.tag .tag { +.emotion-20 * .token.directive.tag .tag { background: #ffff00; color: #393A34; } -.emotion-19 * .language-json .token.boolean { +.emotion-20 * .language-json .token.boolean { color: #0000ff; } -.emotion-19 * .language-json .token.number { +.emotion-20 * .language-json .token.number { color: #0000ff; } -.emotion-19 * .language-json .token.property { +.emotion-20 * .language-json .token.property { color: #2B91AF; } -.emotion-19 * .namespace { +.emotion-20 * .namespace { opacity: 0.7; } -.emotion-18 { +.emotion-19 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1508,7 +1618,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` padding: 10px; } -.emotion-17 { +.emotion-18 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -1516,7 +1626,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` opacity: 1; } -.emotion-21 { +.emotion-22 { position: absolute; bottom: 0; right: 0; @@ -1527,7 +1637,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` display: flex; } -.emotion-20 { +.emotion-21 { border: 0 none; padding: 4px 10px; cursor: pointer; @@ -1549,72 +1659,80 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` border-radius: 4px 0 0 0; } -.emotion-20:not(:last-child) { +.emotion-21:not(:last-child) { border-right: 1px solid rgba(0,0,0,.1); } -.emotion-20 + * { +.emotion-21 + * { border-left: 1px solid rgba(0,0,0,.1); border-radius: 0; } -.emotion-20:focus { +.emotion-21:focus { box-shadow: #1EA7FD 0 -3px 0 0 inset; outline: 0 none; }
+
+ +
+
+
-
- -
Storybook 5.0.3 is available. Upgrade from 5.0.0 now.
5.0.3 Changelog Read full changelog
  • @@ -1704,10 +1822,10 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

@@ -1715,16 +1833,16 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

                   
                     npx npm-check-updates 
                     
               
@@ -1756,26 +1874,26 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` Alternatively, if you're using yarn run the following command, and check all Storybook related packages:

                   
                     yarn upgrade-interactive --latest
                   
                 
@@ -1784,34 +1902,34 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
Docs GitHub Support @@ -1824,7 +1942,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` `; exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -.emotion-27 { +.emotion-28 { width: 100%; height: 100%; box-sizing: border-box; @@ -1837,6 +1955,57 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` flex-direction: column; } +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-7 { display: -webkit-box; display: -webkit-flex; @@ -1846,14 +2015,9 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + white-space: nowrap; + height: 40px; } .emotion-2 { @@ -1861,9 +2025,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-2 > * { @@ -1871,14 +2038,10 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` } .emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-1:first-child { +.emotion-1:first-of-type { margin-left: 0; } @@ -1932,6 +2095,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-6 > * { @@ -1973,7 +2143,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` fill: currentColor; } -.emotion-26 { +.emotion-27 { display: block; position: relative; font-size: 13px; @@ -1985,7 +2155,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: 100%; } -.emotion-23 { +.emotion-24 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1996,11 +2166,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-weight: 700; } -.emotion-23 > * + * { +.emotion-24 > * + * { margin-left: 20px; } -.emotion-18 { +.emotion-19 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2010,12 +2180,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-18 svg path { +.emotion-19 svg path { fill: #1EA7FD; } -.emotion-18:hover, -.emotion-18:focus { +.emotion-19:hover, +.emotion-19:focus { cursor: pointer; -webkit-transform: translate3d(0,-1px,0); -ms-transform: translate3d(0,-1px,0); @@ -2023,23 +2193,23 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #0297f5; } -.emotion-18:hover svg path, -.emotion-18:focus svg path { +.emotion-19:hover svg path, +.emotion-19:focus svg path { fill: #0297f5; } -.emotion-18:active { +.emotion-19:active { -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); transform: translate3d(0,0,0); color: #028ee6; } -.emotion-18:active svg path { +.emotion-19:active svg path { fill: #028ee6; } -.emotion-18 svg { +.emotion-19 svg { display: inline-block; height: 1em; width: 1em; @@ -2049,37 +2219,37 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-18 svg path { +.emotion-19 svg path { fill: #999999; } -.emotion-18:hover { +.emotion-19:hover { color: #666666; } -.emotion-18:hover svg path { +.emotion-19:hover svg path { fill: #666666; } -.emotion-18:active { +.emotion-19:active { color: #444444; } -.emotion-18:active svg path { +.emotion-19:active svg path { fill: #444444; } -.emotion-25 { +.emotion-26 { display: block; } -.emotion-24 { +.emotion-25 { padding: 3rem 20px; max-width: 600px; margin: 0 auto; } -.emotion-8 { +.emotion-9 { margin-bottom: 20px; font-size: 28px; font-weight: 900; @@ -2093,24 +2263,23 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: flex; } -.emotion-8 > svg { +.emotion-9 > svg { height: 32px; width: auto; margin-right: 8px; } -.emotion-9 { +.emotion-10 { background: #EAF3FC; color: #333333; font-weight: 700; - height: 40px; padding: 10px 20px; margin-bottom: 24px; border: 1px solid rgba(0,0,0,.1); text-align: center; } -.emotion-15 { +.emotion-16 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2121,7 +2290,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` justify-content: space-between; } -.emotion-10 { +.emotion-11 { -webkit-letter-spacing: 0.35em; -moz-letter-spacing: 0.35em; -ms-letter-spacing: 0.35em; @@ -2133,7 +2302,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-14 { +.emotion-15 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2144,12 +2313,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-size: 12px; } -.emotion-14 svg path { +.emotion-15 svg path { fill: #1EA7FD; } -.emotion-14:hover, -.emotion-14:focus { +.emotion-15:hover, +.emotion-15:focus { cursor: pointer; -webkit-transform: translate3d(0,-1px,0); -ms-transform: translate3d(0,-1px,0); @@ -2157,23 +2326,23 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #0297f5; } -.emotion-14:hover svg path, -.emotion-14:focus svg path { +.emotion-15:hover svg path, +.emotion-15:focus svg path { fill: #0297f5; } -.emotion-14:active { +.emotion-15:active { -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); transform: translate3d(0,0,0); color: #028ee6; } -.emotion-14:active svg path { +.emotion-15:active svg path { fill: #028ee6; } -.emotion-14 svg { +.emotion-15 svg { display: inline-block; height: 1em; width: 1em; @@ -2183,27 +2352,27 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-14 svg path { +.emotion-15 svg path { fill: #999999; } -.emotion-14:hover { +.emotion-15:hover { color: #666666; } -.emotion-14:hover svg path { +.emotion-15:hover svg path { fill: #666666; } -.emotion-14:active { +.emotion-15:active { color: #444444; } -.emotion-14:active svg path { +.emotion-15:active svg path { fill: #444444; } -.emotion-13 > svg:last-of-type { +.emotion-14 > svg:last-of-type { height: 0.7em; width: 0.7em; margin-right: 0; @@ -2212,39 +2381,39 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` vertical-align: inherit; } -.emotion-16 { +.emotion-17 { font-size: 14px; line-height: 1.6; } -.emotion-16 h1 { +.emotion-17 h1 { font-size: 32px; font-weight: 900; } -.emotion-16 h2 { +.emotion-17 h2 { font-size: 24px; border-bottom: 1px solid rgba(0,0,0,.1); } -.emotion-16 h3 { +.emotion-17 h3 { font-size: 20px; } -.emotion-16 h4 { +.emotion-17 h4 { font-size: 16px; } -.emotion-16 h5 { +.emotion-17 h5 { font-size: 14px; } -.emotion-16 h6 { +.emotion-17 h6 { font-size: 14px; color: #666666; } -.emotion-16 pre:not(.hljs) { +.emotion-17 pre:not(.hljs) { background: transparent; border: none; border-radius: 0; @@ -2252,8 +2421,8 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 0; } -.emotion-16 pre pre, -.emotion-16 pre.hljs { +.emotion-17 pre pre, +.emotion-17 pre.hljs { padding: 15px; margin: 0; overflow: auto; @@ -2263,13 +2432,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` line-height: 19px; } -.emotion-16 pre pre code, -.emotion-16 pre.hljs code { +.emotion-17 pre pre code, +.emotion-17 pre.hljs code { color: inherit; font-size: inherit; } -.emotion-16 pre code { +.emotion-17 pre code { margin: 0; padding: 0; white-space: pre; @@ -2277,31 +2446,31 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: transparent; } -.emotion-16 pre code, -.emotion-16 pre tt { +.emotion-17 pre code, +.emotion-17 pre tt { background-color: transparent; border: none; } -.emotion-16 body > *:first-child { +.emotion-17 body > *:first-of-type { margin-top: 0 !important; } -.emotion-16 body > *:last-child { +.emotion-17 body > *:last-child { margin-bottom: 0 !important; } -.emotion-16 a { +.emotion-17 a { color: #1EA7FD; -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 a.absent { +.emotion-17 a.absent { color: #cc0000; } -.emotion-16 a.anchor { +.emotion-17 a.anchor { display: block; padding-left: 30px; margin-left: -30px; @@ -2312,153 +2481,153 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` bottom: 0; } -.emotion-16 h1, -.emotion-16 h2, -.emotion-16 h3, -.emotion-16 h4, -.emotion-16 h5, -.emotion-16 h6 { +.emotion-17 h1, +.emotion-17 h2, +.emotion-17 h3, +.emotion-17 h4, +.emotion-17 h5, +.emotion-17 h6 { margin: 20px 0 10px; padding: 0; cursor: text; position: relative; } -.emotion-16 h2:first-child, -.emotion-16 h1:first-child, -.emotion-16 h1:first-child + h2, -.emotion-16 h3:first-child, -.emotion-16 h4:first-child, -.emotion-16 h5:first-child, -.emotion-16 h6:first-child { +.emotion-17 h2:first-of-type, +.emotion-17 h1:first-of-type, +.emotion-17 h1:first-of-type + h2, +.emotion-17 h3:first-of-type, +.emotion-17 h4:first-of-type, +.emotion-17 h5:first-of-type, +.emotion-17 h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 h1:hover a.anchor, -.emotion-16 h2:hover a.anchor, -.emotion-16 h3:hover a.anchor, -.emotion-16 h4:hover a.anchor, -.emotion-16 h5:hover a.anchor, -.emotion-16 h6:hover a.anchor { +.emotion-17 h1:hover a.anchor, +.emotion-17 h2:hover a.anchor, +.emotion-17 h3:hover a.anchor, +.emotion-17 h4:hover a.anchor, +.emotion-17 h5:hover a.anchor, +.emotion-17 h6:hover a.anchor { -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 h1 tt, -.emotion-16 h1 code { +.emotion-17 h1 tt, +.emotion-17 h1 code { font-size: inherit; } -.emotion-16 h2 tt, -.emotion-16 h2 code { +.emotion-17 h2 tt, +.emotion-17 h2 code { font-size: inherit; } -.emotion-16 h3 tt, -.emotion-16 h3 code { +.emotion-17 h3 tt, +.emotion-17 h3 code { font-size: inherit; } -.emotion-16 h4 tt, -.emotion-16 h4 code { +.emotion-17 h4 tt, +.emotion-17 h4 code { font-size: inherit; } -.emotion-16 h5 tt, -.emotion-16 h5 code { +.emotion-17 h5 tt, +.emotion-17 h5 code { font-size: inherit; } -.emotion-16 h6 tt, -.emotion-16 h6 code { +.emotion-17 h6 tt, +.emotion-17 h6 code { font-size: inherit; } -.emotion-16 p, -.emotion-16 blockquote, -.emotion-16 ul, -.emotion-16 ol, -.emotion-16 dl, -.emotion-16 li, -.emotion-16 table, -.emotion-16 pre { +.emotion-17 p, +.emotion-17 blockquote, +.emotion-17 ul, +.emotion-17 ol, +.emotion-17 dl, +.emotion-17 li, +.emotion-17 table, +.emotion-17 pre { margin: 15px 0; } -.emotion-16 hr { +.emotion-17 hr { border: 0 none; color: rgba(0,0,0,.1); height: 4px; padding: 0; } -.emotion-16 body > h2:first-child { +.emotion-17 body > h2:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child { +.emotion-17 body > h1:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child + h2 { +.emotion-17 body > h1:first-of-type + h2 { margin-top: 0; padding-top: 0; } -.emotion-16 body > h3:first-child, -.emotion-16 body > h4:first-child, -.emotion-16 body > h5:first-child, -.emotion-16 body > h6:first-child { +.emotion-17 body > h3:first-of-type, +.emotion-17 body > h4:first-of-type, +.emotion-17 body > h5:first-of-type, +.emotion-17 body > h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 a:first-child h1, -.emotion-16 a:first-child h2, -.emotion-16 a:first-child h3, -.emotion-16 a:first-child h4, -.emotion-16 a:first-child h5, -.emotion-16 a:first-child h6 { +.emotion-17 a:first-of-type h1, +.emotion-17 a:first-of-type h2, +.emotion-17 a:first-of-type h3, +.emotion-17 a:first-of-type h4, +.emotion-17 a:first-of-type h5, +.emotion-17 a:first-of-type h6 { margin-top: 0; padding-top: 0; } -.emotion-16 h1 p, -.emotion-16 h2 p, -.emotion-16 h3 p, -.emotion-16 h4 p, -.emotion-16 h5 p, -.emotion-16 h6 p { +.emotion-17 h1 p, +.emotion-17 h2 p, +.emotion-17 h3 p, +.emotion-17 h4 p, +.emotion-17 h5 p, +.emotion-17 h6 p { margin-top: 0; } -.emotion-16 li p.first { +.emotion-17 li p.first { display: inline-block; } -.emotion-16 ul, -.emotion-16 ol { +.emotion-17 ul, +.emotion-17 ol { padding-left: 30px; } -.emotion-16 ul :first-child, -.emotion-16 ol :first-child { +.emotion-17 ul :first-of-type, +.emotion-17 ol :first-of-type { margin-top: 0; } -.emotion-16 ul :last-child, -.emotion-16 ol :last-child { +.emotion-17 ul :last-child, +.emotion-17 ol :last-child { margin-bottom: 0; } -.emotion-16 dl { +.emotion-17 dl { padding: 0; } -.emotion-16 dl dt { +.emotion-17 dl dt { font-size: 14px; font-weight: bold; font-style: italic; @@ -2466,62 +2635,62 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 15px 0 5px; } -.emotion-16 dl dt:first-child { +.emotion-17 dl dt:first-of-type { padding: 0; } -.emotion-16 dl dt > :first-child { +.emotion-17 dl dt > :first-of-type { margin-top: 0; } -.emotion-16 dl dt > :last-child { +.emotion-17 dl dt > :last-child { margin-bottom: 0; } -.emotion-16 dl dd { +.emotion-17 dl dd { margin: 0 0 15px; padding: 0 15px; } -.emotion-16 dl dd > :first-child { +.emotion-17 dl dd > :first-of-type { margin-top: 0; } -.emotion-16 dl dd > :last-child { +.emotion-17 dl dd > :last-child { margin-bottom: 0; } -.emotion-16 blockquote { +.emotion-17 blockquote { border-left: 4px solid #DDDDDD; padding: 0 15px; color: #666666; } -.emotion-16 blockquote > :first-child { +.emotion-17 blockquote > :first-of-type { margin-top: 0; } -.emotion-16 blockquote > :last-child { +.emotion-17 blockquote > :last-child { margin-bottom: 0; } -.emotion-16 table { +.emotion-17 table { padding: 0; border-collapse: collapse; } -.emotion-16 table tr { +.emotion-17 table tr { border-top: 1px solid rgba(0,0,0,.1); background-color: white; margin: 0; padding: 0; } -.emotion-16 table tr:nth-child(2n) { +.emotion-17 table tr:nth-of-type(2n) { background-color: #F8F8F8; } -.emotion-16 table tr th { +.emotion-17 table tr th { font-weight: bold; border: 1px solid rgba(0,0,0,.1); text-align: left; @@ -2529,33 +2698,33 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` padding: 6px 13px; } -.emotion-16 table tr td { +.emotion-17 table tr td { border: 1px solid rgba(0,0,0,.1); text-align: left; margin: 0; padding: 6px 13px; } -.emotion-16 table tr th :first-child, -.emotion-16 table tr td :first-child { +.emotion-17 table tr th :first-of-type, +.emotion-17 table tr td :first-of-type { margin-top: 0; } -.emotion-16 table tr th :last-child, -.emotion-16 table tr td :last-child { +.emotion-17 table tr th :last-child, +.emotion-17 table tr td :last-child { margin-bottom: 0; } -.emotion-16 img { +.emotion-17 img { max-width: 100%; } -.emotion-16 span.frame { +.emotion-17 span.frame { display: block; overflow: hidden; } -.emotion-16 span.frame > span { +.emotion-17 span.frame > span { border: 1px solid #DDDDDD; display: block; float: left; @@ -2565,81 +2734,81 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: auto; } -.emotion-16 span.frame span img { +.emotion-17 span.frame span img { display: block; float: left; } -.emotion-16 span.frame span span { +.emotion-17 span.frame span span { clear: both; color: #333333; display: block; padding: 5px 0 0; } -.emotion-16 span.align-center { +.emotion-17 span.align-center { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-center > span { +.emotion-17 span.align-center > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: center; } -.emotion-16 span.align-center span img { +.emotion-17 span.align-center span img { margin: 0 auto; text-align: center; } -.emotion-16 span.align-right { +.emotion-17 span.align-right { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-right > span { +.emotion-17 span.align-right > span { display: block; overflow: hidden; margin: 13px 0 0; text-align: right; } -.emotion-16 span.align-right span img { +.emotion-17 span.align-right span img { margin: 0; text-align: right; } -.emotion-16 span.float-left { +.emotion-17 span.float-left { display: block; margin-right: 13px; overflow: hidden; float: left; } -.emotion-16 span.float-left span { +.emotion-17 span.float-left span { margin: 13px 0 0; } -.emotion-16 span.float-right { +.emotion-17 span.float-right { display: block; margin-left: 13px; overflow: hidden; float: right; } -.emotion-16 span.float-right > span { +.emotion-17 span.float-right > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: right; } -.emotion-16 code, -.emotion-16 tt { +.emotion-17 code, +.emotion-17 tt { margin: 0 2px; padding: 0 5px; white-space: nowrap; @@ -2649,57 +2818,65 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` }
+
+ +
+
+
-
- -
Looking good! You're up to date.
  • @@ -2789,34 +2966,34 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
Docs GitHub Support diff --git a/lib/ui/src/settings/about.js b/lib/ui/src/settings/about.js index 453f2c45a6a..f7df688fe5f 100644 --- a/lib/ui/src/settings/about.js +++ b/lib/ui/src/settings/about.js @@ -65,7 +65,6 @@ const UpdateMessage = styled.div( ({ theme }) => ({ fontWeight: theme.typography.weight.bold, - height: 40, padding: '10px 20px', marginBottom: 24, borderRadius: theme.borderRadius, diff --git a/yarn.lock b/yarn.lock index c65ca1dc8e7..85e93abf679 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,7 +12,6 @@ "@angular-devkit/architect@0.13.0": version "0.13.0" resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.13.0.tgz#47a9c76ca4c01c357a8670810f29a45e906447cd" - integrity sha512-oDBrWlfKh/0t2ag4T8gz9xzPMItxfctinlsHxhw7dPQ+etq1mIcWgQkiKiDrz4l46YiGipBRlC55j+6f37omAA== dependencies: "@angular-devkit/core" "7.3.0" rxjs "6.3.3" @@ -100,7 +99,6 @@ "@angular-devkit/core@7.3.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.3.0.tgz#fc272e39b4c307833e9a7db77007418a246f5410" - integrity sha512-b0qtAUpgqLpWY8W6vWRv1aj6bXkZCP1rvywl8i8TbGMY67CWRcy5J3fNAMmjiZS+LJixFlIXYf4iOydglyJMfg== dependencies: ajv "6.7.0" chokidar "2.0.4" @@ -111,7 +109,6 @@ "@angular-devkit/schematics@7.3.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-7.3.0.tgz#112c1f59ff2778157aff6fb7484a6c132d4156ac" - integrity sha512-glOduymftH0LmJhITWgWUJK8QCDUltgTZ943/OyArIvLXTLL/8zCb+G6xL+3k33EQjwJicgQ3WIjonJmeTK/Ww== dependencies: "@angular-devkit/core" "7.3.0" rxjs "6.3.3" @@ -119,7 +116,6 @@ "@angular/cli@^7.3.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-7.3.0.tgz#8f9301aa7a942385258b35bf86806267073fce17" - integrity sha512-6+NoHsW1MYG7GBHUg71zaWIFeIRps/SVksCmRFCpW0RXqErCQmzf0GZuDTZZ2Yo4RzU01150sVp1R8wEvEZfZQ== dependencies: "@angular-devkit/architect" "0.13.0" "@angular-devkit/core" "7.3.0" @@ -160,7 +156,6 @@ "@angular/compiler@^7.2.3": version "7.2.3" resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-7.2.3.tgz#ffa89911750342c5e4f0359d6e9402479dd6e7bd" - integrity sha512-UM6n4MyZkR5+VVjlwhLH8IfqdWBkdFcF5at4ckJXOJ/gkIUq97irbis9pGj1b0TO7MAl8uhF4b68xe5lk8b49g== dependencies: tslib "^1.9.0" @@ -501,7 +496,6 @@ "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.3.1", "@babel/plugin-proposal-object-rest-spread@^7.3.2": version "7.3.2" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1" - integrity sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -1045,7 +1039,6 @@ "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.1.5", "@babel/runtime@^7.2.0": version "7.3.1" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a" - integrity sha512-7jGW8ppV0ant637pIqAcFfQDDH1orEPGJb8aXfUozuCU3QqX7rX4DA8iwrbPrR1hcH0FTTHz47yQnk+bl5xHQA== dependencies: regenerator-runtime "^0.12.0" @@ -1103,7 +1096,6 @@ "@ember/test-helpers@^1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@ember/test-helpers/-/test-helpers-1.3.1.tgz#575b30f4b74c888ea8510c6adffb855876c93a3d" - integrity sha512-j/o5ouq/i64PHkpkcq5Ji26cqxezHhMFRIiehdBmJQo/dVI3gAEsJJh0+qeDD8MrT8WhFT9oqLcicfjEWDEvaA== dependencies: broccoli-debug "^0.6.5" broccoli-funnel "^2.0.1" @@ -1174,7 +1166,6 @@ "@emotion/serialize@^0.11.3", "@emotion/serialize@^0.11.4": version "0.11.4" resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.11.4.tgz#691e615184a23cd3b9ae9b1eaa79eb8798e52379" - integrity sha512-JKmn+Qnc8f6OZKSHmNq1RpO27raIi6Kj0uqBaSOUVMW6NI0M3wLpV4pK5hZO4I+1WuCC39hOBPgQ/GcgoHbDeg== dependencies: "@emotion/hash" "0.7.1" "@emotion/memoize" "0.7.1" @@ -1843,7 +1834,6 @@ "@ngrx/store@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@ngrx/store/-/store-7.2.0.tgz#b22200fd48b721afe0e5cc9eec92f3dc31c078b1" - integrity sha512-E9c0cDot0HeE0mXyeqw18SwmJ2+eKnA5mMMfwvoskpMInCYGI2pq1i6/lCVQ2wrEHSH+KvObK4PQbepcA9vP+w== "@ngtools/webpack@7.1.4": version "7.1.4" @@ -1871,7 +1861,6 @@ "@octokit/request@2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@octokit/request/-/request-2.3.0.tgz#da2672308bcf0b9376ef66f51bddbe5eb87cc00a" - integrity sha512-5YRqYNZOAaL7+nt7w3Scp6Sz4P2g7wKFP9npx1xdExMomk8/M/ICXVLYVam2wzxeY0cIc6wcKpjC5KI4jiNbGw== dependencies: "@octokit/endpoint" "^3.1.1" is-plain-object "^2.0.4" @@ -1892,7 +1881,6 @@ "@octokit/rest@^16.14.1": version "16.15.0" resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.15.0.tgz#648a88d5de055bcf38976709c5b2bdf1227b926f" - integrity sha512-Un+e7rgh38RtPOTe453pT/KPM/p2KZICimBmuZCd2wEo8PacDa4h6RqTPZs+f2DPazTTqdM7QU4LKlUjgiBwWw== dependencies: "@octokit/request" "2.3.0" before-after-hook "^1.2.0" @@ -1927,7 +1915,6 @@ "@schematics/angular@7.3.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-7.3.0.tgz#0ed0af8250f767ceb42a3f658888697d95381569" - integrity sha512-fOjP/3Rz+Nqrgc+YVaiN88uhPX0FZgUjmMKgMp06lc3xmoc1ScGxoz8AF1fV50Zkvh0Etykzy1LTUczzEUJQqw== dependencies: "@angular-devkit/core" "7.3.0" "@angular-devkit/schematics" "7.3.0" @@ -1936,7 +1923,6 @@ "@schematics/update@0.13.0": version "0.13.0" resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.13.0.tgz#d8f7336da8d80d2fd9cecc3d0c97f31295fedb52" - integrity sha512-HGpZdIL/0w46UyaxpnIAg6SBwzKfaRixHIEihmgJUqA0DG8GZUixRPr1L0YIWC1EZ81cQ+yWL85XhkKBYR+wQg== dependencies: "@angular-devkit/core" "7.3.0" "@angular-devkit/schematics" "7.3.0" @@ -1950,7 +1936,6 @@ "@sheerun/mutationobserver-shim@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b" - integrity sha512-vTCdPp/T/Q3oSqwHmZ5Kpa9oI7iLtGl3RQaA/NyLHikvcrPxACkkKVr/XzkSPJWXHRhKGzVvb0urJsbMlRxi1Q== "@storybook/addons@5.0.0-beta.4": version "5.0.0-beta.4" @@ -2494,7 +2479,6 @@ "@types/webpack-env@*", "@types/webpack-env@^1.13.7": version "1.13.7" resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.13.7.tgz#137a4e57aa31ab57b1baf66f5dc3b6bf085e9944" - integrity sha512-rzi6fw7hhxPcCoNVsgysHFlKnhYYvVj7AJwdAO0HQNP5vg9sY0DoRRC1pfuCQm94cOa1sab82HGUtdFlWHIhBg== "@vue/component-compiler-utils@^2.5.1": version "2.5.1" @@ -3392,7 +3376,6 @@ ast-types-flow@0.0.7, ast-types-flow@^0.0.7: ast-types@0.11.3: version "0.11.3" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8" - integrity sha512-XA5o5dsNw8MhyW0Q7MWXJWc4oOzZKbdsEJq45h7c8q/d9DwWZ5F2ugUc1PuMLPGsUnphCt/cNDHu8JeBbxf1qA== ast-types@0.11.7: version "0.11.7" @@ -3815,7 +3798,6 @@ babel-plugin-ember-modules-api-polyfill@^2.6.0: babel-plugin-emotion@^10.0.6, babel-plugin-emotion@^10.0.7: version "10.0.7" resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.7.tgz#3634ada6dee762140f27db07387feaec8d2cb619" - integrity sha512-5PdLJYme3tFN97M3tBbEUS/rJVkS9EMbo7rs7/7BAUEUVMWehm1kb5DEbp16Rs+UsI3rTXRan1iqpL022T8XxA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@emotion/hash" "0.7.1" @@ -3980,7 +3962,6 @@ babel-plugin-named-asset-import@^0.3.0: babel-plugin-react-docgen@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-2.0.2.tgz#3307e27414c370365710576b7fadbcaf8984d862" - integrity sha512-fFendfUUU2KqqE1ki2NyQoZm4uHPoEWPUgBZiPBiowcPZos+4q+chdQh0nlwY5hxs08AMHSH4Pp98RQL0VFS/g== dependencies: lodash "^4.17.10" react-docgen "^3.0.0" @@ -5652,7 +5633,6 @@ case-sensitive-paths-webpack-plugin@2.1.2: case-sensitive-paths-webpack-plugin@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.2.0.tgz#3371ef6365ef9c25fa4b81c16ace0e9c7dc58c3e" - integrity sha512-u5ElzokS8A1pm9vM3/iDgTcI3xqHxuCao94Oz8etI3cf0Tio0p8izkDYbTIn09uP3yUUr6+veaE6IkjnTYS46g== caseless@~0.12.0: version "0.12.0" @@ -5699,7 +5679,6 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3 change-emitter@^0.1.2: version "0.1.6" resolved "https://registry.yarnpkg.com/change-emitter/-/change-emitter-0.1.6.tgz#e8b2fe3d7f1ab7d69a32199aff91ea6931409515" - integrity sha1-6LL+PX8at9aaMhma/5HqaTFAlRU= char-props@^0.1.5, char-props@~0.1.5: version "0.1.5" @@ -7320,7 +7299,6 @@ dom-serializer@0, dom-serializer@~0.1.0: dom-testing-library@^3.13.1: version "3.16.5" resolved "https://registry.yarnpkg.com/dom-testing-library/-/dom-testing-library-3.16.5.tgz#8c71f127c6b4ee48115660798040291b59dfc894" - integrity sha512-t3OaTcDdsAqtAZNeZ13KnOJmt+2HaDJqYWyf0iBRzbG6GwrNtpF0122Ygu/qkerIwcnHMX1ihwZVx/DhaLpmTw== dependencies: "@babel/runtime" "^7.1.5" "@sheerun/mutationobserver-shim" "^0.3.2" @@ -7561,7 +7539,6 @@ ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0, ember-cli-babel@^6.8.1: ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.4.0, ember-cli-babel@^7.4.1: version "7.4.1" resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.4.1.tgz#9892f5883f5a6b1f0f86fb1331fc491338f372ad" - integrity sha512-h6qZKHyULm5SYhvjNOeXvLl3kHaBdh37g5QqTTiC/vMiWP/xnyNp2bMoq52qq+SLm/bE8+5UcVTKjrNl0+IqXA== dependencies: "@babel/core" "^7.0.0" "@babel/plugin-transform-modules-amd" "^7.0.0" @@ -7823,7 +7800,6 @@ ember-router-generator@^1.2.3: ember-source@~3.7.3: version "3.7.3" resolved "https://registry.yarnpkg.com/ember-source/-/ember-source-3.7.3.tgz#ae66f5c37d928908d2cc6891dab46d24a8168678" - integrity sha512-K+jUCR0Q4ef71bBJnq380e0TgsE1KSDP430n3c/vA07HMnvg3BCakpy21TUJuGxpH07Jeuf7HNehI0ZHyIiW/w== dependencies: broccoli-funnel "^2.0.1" broccoli-merge-trees "^3.0.2" @@ -7950,7 +7926,6 @@ env-ci@^2.1.0: enzyme-adapter-react-16@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.9.1.tgz#6d49a3a31c3a0fccf527610f31b837e0f307128a" - integrity sha512-Egzogv1y77DUxdnq/CyHxLHaNxmSSKDDSDNNB/EiAXCZVFXdFibaNy2uUuRQ1n24T2m6KH/1Rw16XDRq+1yVEg== dependencies: enzyme-adapter-utils "^1.10.0" function.prototype.name "^1.1.0" @@ -8202,7 +8177,6 @@ eslint-plugin-flowtype@2.50.1: eslint-plugin-html@^5.0.3: version "5.0.3" resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-5.0.3.tgz#3db133995e49a73596f6a473c16a1b83634deffd" - integrity sha512-46ruAnp3jVQP/5Bi5eEIOooscjUTPFU3vxCxHe/OG6ORdM7Xv5c25/Nz9fAbHklzCpiXuIiH4/mV/XBkm7MINw== dependencies: htmlparser2 "^3.10.0" @@ -8224,7 +8198,6 @@ eslint-plugin-import@2.14.0: eslint-plugin-import@^2.16.0: version "2.16.0" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz#97ac3e75d0791c4fac0e15ef388510217be7f66f" - integrity sha512-z6oqWlf1x5GkHIFgrSvtmudnqM6Q60KM4KvpWi5ubonMjycLjndvd5+8VAZIsTlHC03djdgJuyKG6XO577px6A== dependencies: contains-path "^0.1.0" debug "^2.6.9" @@ -8240,7 +8213,6 @@ eslint-plugin-import@^2.16.0: eslint-plugin-jest@^22.2.2: version "22.2.2" resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.2.2.tgz#2a80d70a20c27dfb1503a6f32cdcb647fe5476df" - integrity sha512-hnWgh9o39VJfz6lJEyQJdTW7dN2yynlGkmPOlU/oMHh+d7WVMsJP1GeDTB520VCDljEdKExCwD5IBpQIUl4mJg== eslint-plugin-json@^1.2.1: version "1.3.2" @@ -9409,7 +9381,6 @@ fuse.js@^3.3.1: fuzzy-search@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/fuzzy-search/-/fuzzy-search-3.0.1.tgz#14a4964508a9607d6e9a88818e7ff634108260b6" - integrity sha512-rjUvzdsMlOyarm0oD5k6zVQwgvt4Tb5Xe3YdIGU+Vogw54+ueAGPUTMU2B9jfPQEie5cD11i/S9J9d+MNBSQ3Q== g-status@^2.0.2: version "2.0.2" @@ -9831,7 +9802,6 @@ graphql-request@^1.5.0: graphql@^0.13.2, graphql@^14.1.1: version "0.13.2" resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270" - integrity sha512-QZ5BL8ZO/B20VA8APauGBg3GyEgZ19eduvpLWoq5x7gMmWnHoy8rlQWPLmWgFvo1yNgjSEFMesmS4R6pPr7xog== dependencies: iterall "^1.2.1" @@ -9909,7 +9879,6 @@ handle-thing@^2.0.0: handlebars@^4.0.1, handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.0.4: version "4.1.0" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" - integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== dependencies: async "^2.5.0" optimist "^0.6.1" @@ -11304,7 +11273,6 @@ istextorbinary@2.1.0: iterall@^1.2.1: version "1.2.2" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" - integrity sha512-yynBb1g+RFUPY64fTrFv7nsjRrENBQJaX2UL+2Szc9REFrSNm1rpSXHGzhmAy7a9uv3vlvgBlXnf9RqmPH1/DA== jasmine-core@~2.8.0: version "2.8.0" @@ -11470,7 +11438,6 @@ jest-each@^24.0.0: jest-emotion@^10.0.7: version "10.0.7" resolved "https://registry.yarnpkg.com/jest-emotion/-/jest-emotion-10.0.7.tgz#c882f6e201cf62c025245f863b8e5ff473d2cef0" - integrity sha512-uR6KIw/jnlqVOFBHpeRMirpnWggnUluqzKYSmlp/TpoNaRxSYTGj9+RVrS7kngtyFyn0F0rOJ73CaPRuxL5ebg== dependencies: "@types/jest" "^23.0.2" chalk "^2.4.1" @@ -11580,20 +11547,21 @@ jest-jasmine2@^23.6.0: pretty-format "^23.6.0" jest-jasmine2@^24.0.0: - version "24.0.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-24.0.0.tgz#7d87be9d8b32d34ac5980ad646b7ae7f99e33a19" + version "24.1.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-24.1.0.tgz#8377324b967037c440f0a549ee0bbd9912055db6" dependencies: "@babel/traverse" "^7.1.0" chalk "^2.0.1" co "^4.6.0" - expect "^24.0.0" + expect "^24.1.0" is-generator-fn "^2.0.0" jest-each "^24.0.0" jest-matcher-utils "^24.0.0" jest-message-util "^24.0.0" - jest-snapshot "^24.0.0" + jest-snapshot "^24.1.0" jest-util "^24.0.0" pretty-format "^24.0.0" + throat "^4.0.0" jest-leak-detector@^23.6.0: version "23.6.0" @@ -11755,16 +11723,16 @@ jest-serializer@^23.0.1: version "23.0.1" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165" -jest-snapshot@>=20.0.3, jest-snapshot@^24.0.0: - version "24.0.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.0.0.tgz#fb447a753a3271660b3d89d068698014eb14c414" +jest-snapshot@>=20.0.3: + version "24.1.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.1.0.tgz#85e22f810357aa5994ab61f236617dc2205f2f5b" dependencies: "@babel/types" "^7.0.0" chalk "^2.0.1" jest-diff "^24.0.0" jest-matcher-utils "^24.0.0" jest-message-util "^24.0.0" - jest-resolve "^24.0.0" + jest-resolve "^24.1.0" mkdirp "^0.5.1" natural-compare "^1.4.0" pretty-format "^24.0.0" @@ -11785,6 +11753,21 @@ jest-snapshot@^23.6.0: pretty-format "^23.6.0" semver "^5.5.0" +jest-snapshot@^24.0.0: + version "24.0.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.0.0.tgz#fb447a753a3271660b3d89d068698014eb14c414" + dependencies: + "@babel/types" "^7.0.0" + chalk "^2.0.1" + jest-diff "^24.0.0" + jest-matcher-utils "^24.0.0" + jest-message-util "^24.0.0" + jest-resolve "^24.0.0" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + pretty-format "^24.0.0" + semver "^5.5.0" + jest-specific-snapshot@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/jest-specific-snapshot/-/jest-specific-snapshot-1.0.0.tgz#157c79e2534a6fea820fd475f5d17740c8f90833" @@ -12600,7 +12583,6 @@ linkify-it@^2.0.0: lint-staged@^8.1.3: version "8.1.3" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-8.1.3.tgz#bb069db5466c0fe16710216e633a84f2b362fa60" - integrity sha512-6TGkikL1B+6mIOuSNq2TV6oP21IhPMnV8q0cf9oYZ296ArTVNcbFh1l1pfVOHHbBIYLlziWNsQ2q45/ffmJ4AA== dependencies: "@iamstarkov/listr-update-renderer" "0.4.1" chalk "^2.3.1" @@ -12675,7 +12657,6 @@ listr@^0.14.2: lit-html@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.0.0.tgz#3dc3781a8ca68a9b5c2ff2a61e263662b9b2267b" - integrity sha512-oeWlpLmBW3gFl7979Wol2LKITpmKTUFNn7PnFbh6YNynF61W74l6x5WhwItAwPRSATpexaX1egNnRzlN4GOtfQ== livereload-js@^2.3.0: version "2.4.0" @@ -13432,7 +13413,6 @@ markdown-table@^1.1.0: markdown-to-jsx@^6.9.1: version "6.9.1" resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.9.1.tgz#a5771d468727e282f54a15ff447bcd79fc2e619f" - integrity sha512-SAUZWD//gjhP3Sfy2Q7EqhNOm7YYKTfQKuiuyr8FO9fa0EPkrXSDDE3u28A5SQx6j4BJ9Zs9Va77GBMtIcgAWw== dependencies: prop-types "^15.6.2" unquote "^1.1.0" @@ -15201,7 +15181,6 @@ pnp-webpack-plugin@1.1.0: polished@^2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/polished/-/polished-2.3.3.tgz#bdbaba962ba8271b0e11aa287f2befd4c87be99a" - integrity sha512-59V4fDbdxtH4I1m9TWxFsoGJbC8nnOpUYo5uFmvMfKp9Qh+6suo4VMUle1TGIIUZIGxfkW+Rs485zPk0wcwR2Q== dependencies: "@babel/runtime" "^7.2.0" @@ -15875,7 +15854,6 @@ prettier@1.16.0: prettier@^1.14.2, prettier@^1.16.4: version "1.16.4" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" - integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g== pretty-bytes@^4.0.2: version "4.0.2" @@ -16128,7 +16106,6 @@ punycode@^1.2.4, punycode@^1.3.2, punycode@^1.4.1: puppeteer@^1.12.0: version "1.12.0" resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.12.0.tgz#325b97f42aa6cd66ae4d3d27839278e1f0b8e0e5" - integrity sha512-+riSxJFPQpwGZvNHFeB7vEefwfdHNSstQmjdzUKZxPp/Qt1Dw9iKRAewl8X0ntdXZz4UR4jODLiM03Iw9HDnyw== dependencies: debug "^4.1.0" extract-zip "^1.6.6" @@ -16442,7 +16419,6 @@ react-docgen-typescript@^1.9.0: react-docgen@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-3.0.0.tgz#79c6e1b1870480c3c2bc1a65bede0577a11c38cd" - integrity sha512-2UseoLWabFNXuk1Foz4VDPSIAkxz+1Hmmq4qijzUmYHDq0ZSloKDLXtGLpQRcAi/M76hRpPtH1rV4BI5jNAOnQ== dependencies: "@babel/parser" "^7.1.3" "@babel/runtime" "^7.0.0" @@ -16455,7 +16431,6 @@ react-docgen@^3.0.0: react-dom@^16.8.1: version "16.8.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.1.tgz#ec860f98853d09d39bafd3a6f1e12389d283dbb4" - integrity sha512-N74IZUrPt6UiDjXaO7UbDDFXeUXnVhZzeRLy/6iqqN1ipfjrhR60Bp5NuBK+rv3GMdqdIuwIl22u1SYwf330bg== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" @@ -16509,7 +16484,6 @@ react-helmet-async@^0.2.0: react-hotkeys@2.0.0-pre4: version "2.0.0-pre4" resolved "https://registry.yarnpkg.com/react-hotkeys/-/react-hotkeys-2.0.0-pre4.tgz#a1c248a51bdba4282c36bf3204f80d58abc73333" - integrity sha512-oa+UncSWyOwMK3GExt+oELXaR7T3ItgcMolsupQFdKvwkEhVAluJd5rYczsRSQpQlVkdNoHG46De2NUeuS+88Q== dependencies: prop-types "^15.6.1" @@ -16530,7 +16504,6 @@ react-inspector@^2.3.0, react-inspector@^2.3.1: react-is@^16.7.0, react-is@^16.8.1: version "16.8.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.1.tgz#a80141e246eb894824fb4f2901c0c50ef31d4cdb" - integrity sha512-ioMCzVDWvCvKD8eeT+iukyWrBGrA3DiFYkXfBsVYIRdaREZuBjENG+KjrikavCLasozqRWTwFUagU/O4vPpRMA== react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4: version "3.0.4" @@ -16664,7 +16637,6 @@ react-test-renderer@^16.0.0-0: react-test-renderer@^16.8.1: version "16.8.1" resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.8.1.tgz#72845ad9269be526126e97853311982f781767be" - integrity sha512-Bd21TN3+YVl6GZwav6O0T6m5UwGfOj+2+xZH5VH93ToD6M5uclN/c+R1DGX49ueG413KZPUx7Kw3sOYz2aJgfg== dependencies: object-assign "^4.1.1" prop-types "^15.6.2" @@ -16674,7 +16646,6 @@ react-test-renderer@^16.8.1: react-testing-library@^5.4.4: version "5.4.4" resolved "https://registry.yarnpkg.com/react-testing-library/-/react-testing-library-5.4.4.tgz#3fa787999492be94b228e4540a7211556bf4fd94" - integrity sha512-/TiERZ+URSNhZQfjrUXh0VLsiLSmhqP1WP+2e2wWqWqrRIWpcAxrfuBxzlT75LYMDNmicEikaXJqRDi/pqCEDg== dependencies: dom-testing-library "^3.13.1" @@ -16697,7 +16668,6 @@ react-transition-group@^2.2.1: react@^16.8.1: version "16.8.1" resolved "https://registry.yarnpkg.com/react/-/react-16.8.1.tgz#ae11831f6cb2a05d58603a976afc8a558e852c4a" - integrity sha512-wLw5CFGPdo7p/AgteFz7GblI2JPOos0+biSoxf1FPsGxWQZdN/pj6oToJs1crn61DL3Ln7mN86uZ4j74p31ELQ== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" @@ -16912,7 +16882,6 @@ recast@^0.11.3, recast@~0.11.12: recast@^0.14.7: version "0.14.7" resolved "https://registry.yarnpkg.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d" - integrity sha512-/nwm9pkrcWagN40JeJhkPaRxiHXBRkXyRh/hgU088Z/v+qCy+zIHHY6bC6o7NaKAxPqtE6nD8zBH1LfU0/Wx6A== dependencies: ast-types "0.11.3" esprima "~4.0.0" @@ -16937,7 +16906,6 @@ rechoir@^0.6.2: recompose@^0.30.0: version "0.30.0" resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.30.0.tgz#82773641b3927e8c7d24a0d87d65aeeba18aabd0" - integrity sha512-ZTrzzUDa9AqUIhRk4KmVFihH0rapdCSMFXjhHbNrjAWxBuUD/guYlyysMnuHjlZC/KRiOKRtB4jf96yYSkKE8w== dependencies: "@babel/runtime" "^7.0.0" change-emitter "^0.1.2" @@ -17843,7 +17811,6 @@ scheduler@^0.12.0: scheduler@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.1.tgz#1a217df1bfaabaf4f1b92a9127d5d732d85a9591" - integrity sha512-VJKOkiKIN2/6NOoexuypwSrybx13MY7NSy9RNt8wPvZDMRT1CW6qlpF5jXRToXNHz3uWzbm2elNpZfXfGPqP9A== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" @@ -18629,7 +18596,6 @@ stealthy-require@^1.1.0: storybook-chromatic@^1.2.6: version "1.2.6" resolved "https://registry.yarnpkg.com/storybook-chromatic/-/storybook-chromatic-1.2.6.tgz#bada3ea3b15469378cd85b5048309af954e43ad0" - integrity sha512-rJ0Qr95PwXp1//l8SDDCYkv9++YOsqTeJSIOIUTncDkNar2Tggj5IRDnJZkYvccGJQ5PeOlxHjie4Cnol2bz3Q== dependencies: "@chromaui/localtunnel" "1.9.1-chromatic.3" apollo-fetch "^0.6.0" @@ -19165,7 +19131,20 @@ terser-webpack-plugin@1.1.0: webpack-sources "^1.1.0" worker-farm "^1.5.2" -terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.1: +terser-webpack-plugin@^1.1.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9" + dependencies: + cacache "^11.0.2" + find-cache-dir "^2.0.0" + schema-utils "^1.0.0" + serialize-javascript "^1.4.0" + source-map "^0.6.1" + terser "^3.16.1" + webpack-sources "^1.1.0" + worker-farm "^1.5.2" + +terser-webpack-plugin@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.1.tgz#7545da9ae5f4f9ae6a0ac961eb46f5e7c845cc26" dependencies: @@ -19179,12 +19158,12 @@ terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.1: worker-farm "^1.5.2" terser@^3.7.5, terser@^3.8.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-3.14.1.tgz#cc4764014af570bc79c79742358bd46926018a32" + version "3.16.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-3.16.1.tgz#5b0dd4fa1ffd0b0b43c2493b2c364fd179160493" dependencies: commander "~2.17.1" source-map "~0.6.1" - source-map-support "~0.5.6" + source-map-support "~0.5.9" test-exclude@^4.2.1: version "4.2.3" @@ -19725,7 +19704,6 @@ typescript@3.2.2: typescript@^3.3.1: version "3.3.1" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.1.tgz#6de14e1db4b8a006ac535e482c8ba018c55f750b" - integrity sha512-cTmIDFW7O0IHbn1DPYjkiebHxwtCMU+eTy30ZtJNBPF9j2O1ITu5XH2YnBeVRKWHqF+3JQwWJv0Q0aUgX8W7IA== ua-parser-js@^0.7.18: version "0.7.19" @@ -20293,7 +20271,6 @@ vue-style-loader@^4.1.0: vue-template-compiler@^2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.3.tgz#fe76b7755b038889f5e887895745f0d2bce3f778" - integrity sha512-SQ3lJk7fwquz8fGac7MwvP9cEBZntokTWITaDrLC0zmyBKjcOfJtWZkMsv+2uSUBDD8kwz8Bsad9xmBWaNULhg== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -20305,7 +20282,6 @@ vue-template-es2015-compiler@^1.6.0: vue@^2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.3.tgz#180017ba25b94a9864b2921db8644e1062ea82a0" - integrity sha512-yftjtahz4UTAtOlXXuw7UaYD86fWrMDAAzqTdqJJx2FIBqcPmBN6kPBHiBJFGaQELVblb5ijbFMXsx0i0F7q3g== vuex@^3.1.0: version "3.1.0" @@ -20328,7 +20304,6 @@ w3c-xmlserializer@^1.0.1: wait-for-expect@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.1.0.tgz#6607375c3f79d32add35cd2c87ce13f351a3d453" - integrity sha512-vQDokqxyMyknfX3luCDn16bSaRcOyH6gGuUXMIbxBLeTo6nWuEWYqMTT9a+44FmW8c2m6TRWBdNvBBjA1hwEKg== walk-sync@^0.2.5: version "0.2.7" @@ -20444,7 +20419,6 @@ webidl-conversions@^4.0.2: webpack-cli@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.2.3.tgz#13653549adfd8ccd920ad7be1ef868bacc22e346" - integrity sha512-Ik3SjV6uJtWIAN5jp5ZuBMWEAaP5E4V78XJ2nI+paFPh8v4HPSwo/myN0r29Xc/6ZKnd2IdrAlpSgNOu2CDQ6Q== dependencies: chalk "^2.4.1" cross-spawn "^6.0.5" From b5252250dcf0e390cc45116ba8ca5aa21d7bdde5 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 19:07:18 +0800 Subject: [PATCH 039/249] Update snapshots --- .../form/__snapshots__/form.stories.storyshot | 32 +- .../__snapshots__/panel.stories.storyshot | 188 +- .../__snapshots__/preview.stories.storyshot | 610 ++--- .../__snapshots__/about.stories.storyshot | 2404 ++++++++--------- 4 files changed, 1436 insertions(+), 1798 deletions(-) diff --git a/lib/components/src/form/__snapshots__/form.stories.storyshot b/lib/components/src/form/__snapshots__/form.stories.storyshot index 6a2c8a94ba6..c8674c49a33 100644 --- a/lib/components/src/form/__snapshots__/form.stories.storyshot +++ b/lib/components/src/form/__snapshots__/form.stories.storyshot @@ -1,14 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Form/Button sizes 1`] = ` -.emotion-6 > * { - margin-top: 10px; -} - -.emotion-6 > *:first-of-type { - margin-top: 0; -} - .emotion-0 { border: 0; border-radius: 3em; @@ -83,6 +75,14 @@ exports[`Storyshots Basics|Form/Button sizes 1`] = ` transform: none; } +.emotion-6 > * { + margin-top: 10px; +} + +.emotion-6 > *:first-of-type { + margin-top: 0; +} + .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -1429,14 +1429,6 @@ exports[`Storyshots Basics|Form/Input validations 1`] = ` `; exports[`Storyshots Basics|Form/Select sizes 1`] = ` -.emotion-6 > * { - margin-top: 10px; -} - -.emotion-6 > *:first-of-type { - margin-top: 0; -} - .emotion-0 { -webkit-appearance: none; -moz-appearance: none; @@ -1496,6 +1488,14 @@ exports[`Storyshots Basics|Form/Select sizes 1`] = ` color: #999999; } +.emotion-6 > * { + margin-top: 10px; +} + +.emotion-6 > *:first-of-type { + margin-top: 0; +} + .emotion-1 { display: -webkit-box; display: -webkit-flex; diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 54550ef714f..9c9f84cf70c 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Panel default 1`] = ` -.emotion-14 { +.emotion-13 { width: 100%; height: 100%; box-sizing: border-box; @@ -14,57 +14,6 @@ exports[`Storyshots UI|Panel default 1`] = ` flex-direction: column; } -.emotion-12 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-12::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-12::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-12::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-12::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-11 { display: -webkit-box; display: -webkit-flex; @@ -74,9 +23,14 @@ exports[`Storyshots UI|Panel default 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - position: relative; - white-space: nowrap; + background: #FFFFFF; + color: #999999; height: 40px; + position: relative; + overflow: visible; + overflow-x: visible; + overflow-y: visible; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } .emotion-3 { @@ -84,12 +38,9 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-3 > * { @@ -97,10 +48,14 @@ exports[`Storyshots UI|Panel default 1`] = ` } .emotion-2 { - overflow: hidden; + white-space: nowrap; + height: 100%; + padding-bottom: 50px; + overflow-x: visisble; + overflow-y: visisble; } -.emotion-2:first-of-type { +.emotion-2:first-child { margin-left: 0; } @@ -199,13 +154,6 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; } .emotion-10 > * { @@ -247,7 +195,7 @@ exports[`Storyshots UI|Panel default 1`] = ` fill: currentColor; } -.emotion-13 { +.emotion-12 { display: block; position: relative; font-size: 13px; @@ -260,78 +208,70 @@ exports[`Storyshots UI|Panel default 1`] = ` }
-
- - -
-
-
+
+ + +
* { @@ -38,13 +21,6 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; } .emotion-21 > * { @@ -86,24 +62,22 @@ Array [ fill: currentColor; } -.emotion-23 { +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + background: #FFFFFF; color: #999999; height: 40px; + position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -116,36 +90,6 @@ Array [ tranform: translateY(0px); } -.emotion-23::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-23::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-23::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-23::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-9 { width: 1px; height: 24px; @@ -157,121 +101,114 @@ Array [ display: none; } -.emotion-9:first-of-type { +.emotion-9:first-child { display: none; } -.emotion-9:last-of-type { +.emotion-9:last-child { display: none; }
-
- - - - - -
-
+ + + - - + -
+ + + + + +
+
+ + +
, .emotion-2 { @@ -347,31 +284,14 @@ Array [ exports[`Storyshots UI|Preview/Preview with tabs 1`] = ` Array [ - .emotion-28 { + .emotion-19 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-19 > * { @@ -379,10 +299,14 @@ Array [ } .emotion-4 { - overflow: hidden; + white-space: nowrap; + height: 100%; + padding-bottom: 50px; + overflow-x: visisble; + overflow-y: visisble; } -.emotion-4:first-of-type { +.emotion-4:first-child { margin-left: 0; } @@ -481,13 +405,6 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; } .emotion-27 > * { @@ -529,24 +446,22 @@ Array [ fill: currentColor; } -.emotion-29 { +.emotion-28 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + background: #FFFFFF; color: #999999; height: 40px; + position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -559,36 +474,6 @@ Array [ tranform: translateY(0px); } -.emotion-29::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-29::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-29::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-29::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-5 { width: 1px; height: 24px; @@ -600,11 +485,11 @@ Array [ display: none; } -.emotion-5:first-of-type { +.emotion-5:first-child { display: none; } -.emotion-5:last-of-type { +.emotion-5:last-child { display: none; } @@ -616,139 +501,132 @@ Array [ }
-
+ - - + -
+ + + + + + +
+
+ + +
, .emotion-2 { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 30c0ace51be..d822ee8dc84 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` -.emotion-26 { +.emotion-25 { width: 100%; height: 100%; box-sizing: border-box; @@ -14,57 +14,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` flex-direction: column; } -.emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-7 { display: -webkit-box; display: -webkit-flex; @@ -74,9 +23,14 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - position: relative; - white-space: nowrap; + background: #FFFFFF; + color: #999999; height: 40px; + position: relative; + overflow: visible; + overflow-x: visible; + overflow-y: visible; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } .emotion-2 { @@ -84,12 +38,9 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-2 > * { @@ -97,10 +48,14 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` } .emotion-1 { - overflow: hidden; + white-space: nowrap; + height: 100%; + padding-bottom: 50px; + overflow-x: visisble; + overflow-y: visisble; } -.emotion-1:first-of-type { +.emotion-1:first-child { margin-left: 0; } @@ -154,13 +109,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; } .emotion-6 > * { @@ -202,7 +150,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` fill: currentColor; } -.emotion-25 { +.emotion-24 { display: block; position: relative; font-size: 13px; @@ -214,6 +162,645 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` width: 100%; } +.emotion-13 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; +} + +.emotion-13 svg path { + fill: #1EA7FD; +} + +.emotion-13:hover, +.emotion-13:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-13:hover svg path, +.emotion-13:focus svg path { + fill: #0297f5; +} + +.emotion-13:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-13:active svg path { + fill: #028ee6; +} + +.emotion-13 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-21 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-21 > * + * { + margin-left: 20px; +} + +.emotion-16 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-16 svg path { + fill: #1EA7FD; +} + +.emotion-16:hover, +.emotion-16:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-16:hover svg path, +.emotion-16:focus svg path { + fill: #0297f5; +} + +.emotion-16:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-16:active svg path { + fill: #028ee6; +} + +.emotion-16 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-16 svg path { + fill: #999999; +} + +.emotion-16:hover { + color: #666666; +} + +.emotion-16:hover svg path { + fill: #666666; +} + +.emotion-16:active { + color: #444444; +} + +.emotion-16:active svg path { + fill: #444444; +} + +.emotion-23 { + display: block; +} + +.emotion-22 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-8 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-8 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + +.emotion-12 > svg:last-of-type { + height: 0.7em; + width: 0.7em; + margin-right: 0; + margin-left: 0.25em; + bottom: auto; + vertical-align: inherit; +} + +.emotion-9 { + background: #FEDED2; + color: #FF4400; + font-weight: 700; + padding: 10px 20px; + margin-bottom: 24px; + border: 1px solid rgba(0,0,0,.1); + text-align: center; +} + +.emotion-14 { + font-weight: 700; + text-align: center; +} + +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + + + + + + + Storybook 5.0.0 +
+
+ Oops! The latest version of Storybook couldn't be fetched. +
+ + +
+
+
+
+`; + +exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` +.emotion-41 { + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + background: #FFFFFF; + color: #999999; + height: 40px; + position: relative; + overflow: visible; + overflow-x: visible; + overflow-y: visible; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.emotion-2 > * { + margin-left: 15px; +} + +.emotion-1 { + white-space: nowrap; + height: 100%; + padding-bottom: 50px; + overflow-x: visisble; + overflow-y: visisble; +} + +.emotion-1:first-child { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-6 > * { + margin-right: 15px; +} + +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + +.emotion-40 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-37 > * + * { + margin-left: 20px; +} + +.emotion-32 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-32 svg path { + fill: #1EA7FD; +} + +.emotion-32:hover, +.emotion-32:focus { + cursor: pointer; + -webkit-transform: translate3d(0,-1px,0); + -ms-transform: translate3d(0,-1px,0); + transform: translate3d(0,-1px,0); + color: #0297f5; +} + +.emotion-32:hover svg path, +.emotion-32:focus svg path { + fill: #0297f5; +} + +.emotion-32:active { + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + color: #028ee6; +} + +.emotion-32:active svg path { + fill: #028ee6; +} + +.emotion-32 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-32 svg path { + fill: #999999; +} + +.emotion-32:hover { + color: #666666; +} + +.emotion-32:hover svg path { + fill: #666666; +} + +.emotion-32:active { + color: #444444; +} + +.emotion-32:active svg path { + fill: #444444; +} + +.emotion-39 { + display: block; +} + +.emotion-38 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-8 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-8 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + +.emotion-15 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-10 { + -webkit-letter-spacing: 0.35em; + -moz-letter-spacing: 0.35em; + -ms-letter-spacing: 0.35em; + letter-spacing: 0.35em; + text-transform: uppercase; + font-weight: 900; + font-size: 13px; + line-height: 24px; + color: #999999; +} + .emotion-14 { display: inline-block; -webkit-transition: all 150ms ease-out; @@ -221,6 +808,8 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` -webkit-text-decoration: none; text-decoration: none; color: #1EA7FD; + color: #999999; + font-size: 12px; } .emotion-14 svg path { @@ -262,120 +851,26 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` margin-right: 0.4em; } -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-22 > * + * { - margin-left: 20px; -} - -.emotion-17 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-17 svg path { - fill: #1EA7FD; -} - -.emotion-17:hover, -.emotion-17:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-17:hover svg path, -.emotion-17:focus svg path { - fill: #0297f5; -} - -.emotion-17:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-17:active svg path { - fill: #028ee6; -} - -.emotion-17 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-17 svg path { +.emotion-14 svg path { fill: #999999; } -.emotion-17:hover { +.emotion-14:hover { color: #666666; } -.emotion-17:hover svg path { +.emotion-14:hover svg path { fill: #666666; } -.emotion-17:active { +.emotion-14:active { color: #444444; } -.emotion-17:active svg path { +.emotion-14:active svg path { fill: #444444; } -.emotion-24 { - display: block; -} - -.emotion-23 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-9 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-9 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - .emotion-13 > svg:last-of-type { height: 0.7em; width: 0.7em; @@ -385,646 +880,39 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` vertical-align: inherit; } -.emotion-10 { - background: #FEDED2; - color: #FF4400; - font-weight: 700; - padding: 10px 20px; - margin-bottom: 24px; - border: 1px solid rgba(0,0,0,.1); - text-align: center; -} - -.emotion-15 { - font-weight: 700; - text-align: center; -} - -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
-
- - - - - - - - Storybook 5.0.0 -
-
- Oops! The latest version of Storybook couldn't be fetched. -
- - -
-
-
-
-`; - -exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -.emotion-42 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-2 > * { - margin-left: 15px; -} - -.emotion-1 { - overflow: hidden; -} - -.emotion-1:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; -} - -.emotion-6 > * { - margin-right: 15px; -} - -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - -.emotion-4 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-3 { - fill: currentColor; -} - -.emotion-41 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.emotion-38 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-38 > * + * { - margin-left: 20px; -} - -.emotion-33 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-33 svg path { - fill: #1EA7FD; -} - -.emotion-33:hover, -.emotion-33:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-33:hover svg path, -.emotion-33:focus svg path { - fill: #0297f5; -} - -.emotion-33:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-33:active svg path { - fill: #028ee6; -} - -.emotion-33 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-33 svg path { - fill: #999999; -} - -.emotion-33:hover { - color: #666666; -} - -.emotion-33:hover svg path { - fill: #666666; -} - -.emotion-33:active { - color: #444444; -} - -.emotion-33:active svg path { - fill: #444444; -} - -.emotion-40 { - display: block; -} - -.emotion-39 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-9 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-9 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - .emotion-16 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.emotion-11 { - -webkit-letter-spacing: 0.35em; - -moz-letter-spacing: 0.35em; - -ms-letter-spacing: 0.35em; - letter-spacing: 0.35em; - text-transform: uppercase; - font-weight: 900; - font-size: 13px; - line-height: 24px; - color: #999999; -} - -.emotion-15 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; - font-size: 12px; -} - -.emotion-15 svg path { - fill: #1EA7FD; -} - -.emotion-15:hover, -.emotion-15:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-15:hover svg path, -.emotion-15:focus svg path { - fill: #0297f5; -} - -.emotion-15:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-15:active svg path { - fill: #028ee6; -} - -.emotion-15 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-15 svg path { - fill: #999999; -} - -.emotion-15:hover { - color: #666666; -} - -.emotion-15:hover svg path { - fill: #666666; -} - -.emotion-15:active { - color: #444444; -} - -.emotion-15:active svg path { - fill: #444444; -} - -.emotion-14 > svg:last-of-type { - height: 0.7em; - width: 0.7em; - margin-right: 0; - margin-left: 0.25em; - bottom: auto; - vertical-align: inherit; -} - -.emotion-17 { font-size: 14px; line-height: 1.6; } -.emotion-17 h1 { +.emotion-16 h1 { font-size: 32px; font-weight: 900; } -.emotion-17 h2 { +.emotion-16 h2 { font-size: 24px; border-bottom: 1px solid rgba(0,0,0,.1); } -.emotion-17 h3 { +.emotion-16 h3 { font-size: 20px; } -.emotion-17 h4 { +.emotion-16 h4 { font-size: 16px; } -.emotion-17 h5 { +.emotion-16 h5 { font-size: 14px; } -.emotion-17 h6 { +.emotion-16 h6 { font-size: 14px; color: #666666; } -.emotion-17 pre:not(.hljs) { +.emotion-16 pre:not(.hljs) { background: transparent; border: none; border-radius: 0; @@ -1032,8 +920,8 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin: 0; } -.emotion-17 pre pre, -.emotion-17 pre.hljs { +.emotion-16 pre pre, +.emotion-16 pre.hljs { padding: 15px; margin: 0; overflow: auto; @@ -1043,13 +931,13 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` line-height: 19px; } -.emotion-17 pre pre code, -.emotion-17 pre.hljs code { +.emotion-16 pre pre code, +.emotion-16 pre.hljs code { color: inherit; font-size: inherit; } -.emotion-17 pre code { +.emotion-16 pre code { margin: 0; padding: 0; white-space: pre; @@ -1057,31 +945,31 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: transparent; } -.emotion-17 pre code, -.emotion-17 pre tt { +.emotion-16 pre code, +.emotion-16 pre tt { background-color: transparent; border: none; } -.emotion-17 body > *:first-of-type { +.emotion-16 body > *:first-child { margin-top: 0 !important; } -.emotion-17 body > *:last-child { +.emotion-16 body > *:last-child { margin-bottom: 0 !important; } -.emotion-17 a { +.emotion-16 a { color: #1EA7FD; -webkit-text-decoration: none; text-decoration: none; } -.emotion-17 a.absent { +.emotion-16 a.absent { color: #cc0000; } -.emotion-17 a.anchor { +.emotion-16 a.anchor { display: block; padding-left: 30px; margin-left: -30px; @@ -1092,153 +980,153 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` bottom: 0; } -.emotion-17 h1, -.emotion-17 h2, -.emotion-17 h3, -.emotion-17 h4, -.emotion-17 h5, -.emotion-17 h6 { +.emotion-16 h1, +.emotion-16 h2, +.emotion-16 h3, +.emotion-16 h4, +.emotion-16 h5, +.emotion-16 h6 { margin: 20px 0 10px; padding: 0; cursor: text; position: relative; } -.emotion-17 h2:first-of-type, -.emotion-17 h1:first-of-type, -.emotion-17 h1:first-of-type + h2, -.emotion-17 h3:first-of-type, -.emotion-17 h4:first-of-type, -.emotion-17 h5:first-of-type, -.emotion-17 h6:first-of-type { +.emotion-16 h2:first-child, +.emotion-16 h1:first-child, +.emotion-16 h1:first-child + h2, +.emotion-16 h3:first-child, +.emotion-16 h4:first-child, +.emotion-16 h5:first-child, +.emotion-16 h6:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 h1:hover a.anchor, -.emotion-17 h2:hover a.anchor, -.emotion-17 h3:hover a.anchor, -.emotion-17 h4:hover a.anchor, -.emotion-17 h5:hover a.anchor, -.emotion-17 h6:hover a.anchor { +.emotion-16 h1:hover a.anchor, +.emotion-16 h2:hover a.anchor, +.emotion-16 h3:hover a.anchor, +.emotion-16 h4:hover a.anchor, +.emotion-16 h5:hover a.anchor, +.emotion-16 h6:hover a.anchor { -webkit-text-decoration: none; text-decoration: none; } -.emotion-17 h1 tt, -.emotion-17 h1 code { +.emotion-16 h1 tt, +.emotion-16 h1 code { font-size: inherit; } -.emotion-17 h2 tt, -.emotion-17 h2 code { +.emotion-16 h2 tt, +.emotion-16 h2 code { font-size: inherit; } -.emotion-17 h3 tt, -.emotion-17 h3 code { +.emotion-16 h3 tt, +.emotion-16 h3 code { font-size: inherit; } -.emotion-17 h4 tt, -.emotion-17 h4 code { +.emotion-16 h4 tt, +.emotion-16 h4 code { font-size: inherit; } -.emotion-17 h5 tt, -.emotion-17 h5 code { +.emotion-16 h5 tt, +.emotion-16 h5 code { font-size: inherit; } -.emotion-17 h6 tt, -.emotion-17 h6 code { +.emotion-16 h6 tt, +.emotion-16 h6 code { font-size: inherit; } -.emotion-17 p, -.emotion-17 blockquote, -.emotion-17 ul, -.emotion-17 ol, -.emotion-17 dl, -.emotion-17 li, -.emotion-17 table, -.emotion-17 pre { +.emotion-16 p, +.emotion-16 blockquote, +.emotion-16 ul, +.emotion-16 ol, +.emotion-16 dl, +.emotion-16 li, +.emotion-16 table, +.emotion-16 pre { margin: 15px 0; } -.emotion-17 hr { +.emotion-16 hr { border: 0 none; color: rgba(0,0,0,.1); height: 4px; padding: 0; } -.emotion-17 body > h2:first-of-type { +.emotion-16 body > h2:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 body > h1:first-of-type { +.emotion-16 body > h1:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 body > h1:first-of-type + h2 { +.emotion-16 body > h1:first-child + h2 { margin-top: 0; padding-top: 0; } -.emotion-17 body > h3:first-of-type, -.emotion-17 body > h4:first-of-type, -.emotion-17 body > h5:first-of-type, -.emotion-17 body > h6:first-of-type { +.emotion-16 body > h3:first-child, +.emotion-16 body > h4:first-child, +.emotion-16 body > h5:first-child, +.emotion-16 body > h6:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 a:first-of-type h1, -.emotion-17 a:first-of-type h2, -.emotion-17 a:first-of-type h3, -.emotion-17 a:first-of-type h4, -.emotion-17 a:first-of-type h5, -.emotion-17 a:first-of-type h6 { +.emotion-16 a:first-child h1, +.emotion-16 a:first-child h2, +.emotion-16 a:first-child h3, +.emotion-16 a:first-child h4, +.emotion-16 a:first-child h5, +.emotion-16 a:first-child h6 { margin-top: 0; padding-top: 0; } -.emotion-17 h1 p, -.emotion-17 h2 p, -.emotion-17 h3 p, -.emotion-17 h4 p, -.emotion-17 h5 p, -.emotion-17 h6 p { +.emotion-16 h1 p, +.emotion-16 h2 p, +.emotion-16 h3 p, +.emotion-16 h4 p, +.emotion-16 h5 p, +.emotion-16 h6 p { margin-top: 0; } -.emotion-17 li p.first { +.emotion-16 li p.first { display: inline-block; } -.emotion-17 ul, -.emotion-17 ol { +.emotion-16 ul, +.emotion-16 ol { padding-left: 30px; } -.emotion-17 ul :first-of-type, -.emotion-17 ol :first-of-type { +.emotion-16 ul :first-child, +.emotion-16 ol :first-child { margin-top: 0; } -.emotion-17 ul :last-child, -.emotion-17 ol :last-child { +.emotion-16 ul :last-child, +.emotion-16 ol :last-child { margin-bottom: 0; } -.emotion-17 dl { +.emotion-16 dl { padding: 0; } -.emotion-17 dl dt { +.emotion-16 dl dt { font-size: 14px; font-weight: bold; font-style: italic; @@ -1246,62 +1134,62 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin: 15px 0 5px; } -.emotion-17 dl dt:first-of-type { +.emotion-16 dl dt:first-child { padding: 0; } -.emotion-17 dl dt > :first-of-type { +.emotion-16 dl dt > :first-child { margin-top: 0; } -.emotion-17 dl dt > :last-child { +.emotion-16 dl dt > :last-child { margin-bottom: 0; } -.emotion-17 dl dd { +.emotion-16 dl dd { margin: 0 0 15px; padding: 0 15px; } -.emotion-17 dl dd > :first-of-type { +.emotion-16 dl dd > :first-child { margin-top: 0; } -.emotion-17 dl dd > :last-child { +.emotion-16 dl dd > :last-child { margin-bottom: 0; } -.emotion-17 blockquote { +.emotion-16 blockquote { border-left: 4px solid #DDDDDD; padding: 0 15px; color: #666666; } -.emotion-17 blockquote > :first-of-type { +.emotion-16 blockquote > :first-child { margin-top: 0; } -.emotion-17 blockquote > :last-child { +.emotion-16 blockquote > :last-child { margin-bottom: 0; } -.emotion-17 table { +.emotion-16 table { padding: 0; border-collapse: collapse; } -.emotion-17 table tr { +.emotion-16 table tr { border-top: 1px solid rgba(0,0,0,.1); background-color: white; margin: 0; padding: 0; } -.emotion-17 table tr:nth-of-type(2n) { +.emotion-16 table tr:nth-child(2n) { background-color: #F8F8F8; } -.emotion-17 table tr th { +.emotion-16 table tr th { font-weight: bold; border: 1px solid rgba(0,0,0,.1); text-align: left; @@ -1309,33 +1197,33 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` padding: 6px 13px; } -.emotion-17 table tr td { +.emotion-16 table tr td { border: 1px solid rgba(0,0,0,.1); text-align: left; margin: 0; padding: 6px 13px; } -.emotion-17 table tr th :first-of-type, -.emotion-17 table tr td :first-of-type { +.emotion-16 table tr th :first-child, +.emotion-16 table tr td :first-child { margin-top: 0; } -.emotion-17 table tr th :last-child, -.emotion-17 table tr td :last-child { +.emotion-16 table tr th :last-child, +.emotion-16 table tr td :last-child { margin-bottom: 0; } -.emotion-17 img { +.emotion-16 img { max-width: 100%; } -.emotion-17 span.frame { +.emotion-16 span.frame { display: block; overflow: hidden; } -.emotion-17 span.frame > span { +.emotion-16 span.frame > span { border: 1px solid #DDDDDD; display: block; float: left; @@ -1345,81 +1233,81 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` width: auto; } -.emotion-17 span.frame span img { +.emotion-16 span.frame span img { display: block; float: left; } -.emotion-17 span.frame span span { +.emotion-16 span.frame span span { clear: both; color: #333333; display: block; padding: 5px 0 0; } -.emotion-17 span.align-center { +.emotion-16 span.align-center { display: block; overflow: hidden; clear: both; } -.emotion-17 span.align-center > span { +.emotion-16 span.align-center > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: center; } -.emotion-17 span.align-center span img { +.emotion-16 span.align-center span img { margin: 0 auto; text-align: center; } -.emotion-17 span.align-right { +.emotion-16 span.align-right { display: block; overflow: hidden; clear: both; } -.emotion-17 span.align-right > span { +.emotion-16 span.align-right > span { display: block; overflow: hidden; margin: 13px 0 0; text-align: right; } -.emotion-17 span.align-right span img { +.emotion-16 span.align-right span img { margin: 0; text-align: right; } -.emotion-17 span.float-left { +.emotion-16 span.float-left { display: block; margin-right: 13px; overflow: hidden; float: left; } -.emotion-17 span.float-left span { +.emotion-16 span.float-left span { margin: 13px 0 0; } -.emotion-17 span.float-right { +.emotion-16 span.float-right { display: block; margin-left: 13px; overflow: hidden; float: right; } -.emotion-17 span.float-right > span { +.emotion-16 span.float-right > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: right; } -.emotion-17 code, -.emotion-17 tt { +.emotion-16 code, +.emotion-16 tt { margin: 0 2px; padding: 0 5px; white-space: nowrap; @@ -1428,7 +1316,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` border-radius: 3px; } -.emotion-10 { +.emotion-9 { background: #E1FFD4; color: #66BF3C; font-weight: 700; @@ -1438,174 +1326,174 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` text-align: center; } -.emotion-31 { +.emotion-30 { margin-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(0,0,0,.1); } -.emotion-23 { +.emotion-22 { position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.1); } -.emotion-20 { +.emotion-19 { position: relative; overflow: auto; } -.emotion-20 code { +.emotion-19 code { padding-right: 10px; } -.emotion-20 * .token { +.emotion-19 * .token { font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; -webkit-font-smoothing: antialiased; } -.emotion-20 * .token.comment { +.emotion-19 * .token.comment { color: #008000; font-style: italic; } -.emotion-20 * .token.prolog { +.emotion-19 * .token.prolog { color: #008000; font-style: italic; } -.emotion-20 * .token.doctype { +.emotion-19 * .token.doctype { color: #008000; font-style: italic; } -.emotion-20 * .token.cdata { +.emotion-19 * .token.cdata { color: #008000; font-style: italic; } -.emotion-20 * .token.string { +.emotion-19 * .token.string { color: #A31515; } -.emotion-20 * .token.punctuation { +.emotion-19 * .token.punctuation { color: #393A34; } -.emotion-20 * .token.operator { +.emotion-19 * .token.operator { color: #393A34; } -.emotion-20 * .token.url { +.emotion-19 * .token.url { color: #36acaa; } -.emotion-20 * .token.symbol { +.emotion-19 * .token.symbol { color: #36acaa; } -.emotion-20 * .token.number { +.emotion-19 * .token.number { color: #36acaa; } -.emotion-20 * .token.boolean { +.emotion-19 * .token.boolean { color: #36acaa; } -.emotion-20 * .token.variable { +.emotion-19 * .token.variable { color: #36acaa; } -.emotion-20 * .token.constant { +.emotion-19 * .token.constant { color: #36acaa; } -.emotion-20 * .token.inserted { +.emotion-19 * .token.inserted { color: #36acaa; } -.emotion-20 * .token.atrule { +.emotion-19 * .token.atrule { color: #0000ff; } -.emotion-20 * .token.keyword { +.emotion-19 * .token.keyword { color: #0000ff; } -.emotion-20 * .token.attr-value { +.emotion-19 * .token.attr-value { color: #0000ff; } -.emotion-20 * .token.function { +.emotion-19 * .token.function { color: #393A34; } -.emotion-20 * .token.deleted { +.emotion-19 * .token.deleted { color: #9a050f; } -.emotion-20 * .token.important { +.emotion-19 * .token.important { font-weight: bold; } -.emotion-20 * .token.bold { +.emotion-19 * .token.bold { font-weight: bold; } -.emotion-20 * .token.italic { +.emotion-19 * .token.italic { font-style: italic; } -.emotion-20 * .token.class-name { +.emotion-19 * .token.class-name { color: #2B91AF; } -.emotion-20 * .token.tag { +.emotion-19 * .token.tag { color: #800000; } -.emotion-20 * .token.selector { +.emotion-19 * .token.selector { color: #800000; } -.emotion-20 * .token.attr-name { +.emotion-19 * .token.attr-name { color: #ff0000; } -.emotion-20 * .token.property { +.emotion-19 * .token.property { color: #ff0000; } -.emotion-20 * .token.regex { +.emotion-19 * .token.regex { color: #ff0000; } -.emotion-20 * .token.entity { +.emotion-19 * .token.entity { color: #ff0000; } -.emotion-20 * .token.directive.tag .tag { +.emotion-19 * .token.directive.tag .tag { background: #ffff00; color: #393A34; } -.emotion-20 * .language-json .token.boolean { +.emotion-19 * .language-json .token.boolean { color: #0000ff; } -.emotion-20 * .language-json .token.number { +.emotion-19 * .language-json .token.number { color: #0000ff; } -.emotion-20 * .language-json .token.property { +.emotion-19 * .language-json .token.property { color: #2B91AF; } -.emotion-20 * .namespace { +.emotion-19 * .namespace { opacity: 0.7; } -.emotion-19 { +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1618,7 +1506,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` padding: 10px; } -.emotion-18 { +.emotion-17 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -1626,7 +1514,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` opacity: 1; } -.emotion-22 { +.emotion-21 { position: absolute; bottom: 0; right: 0; @@ -1637,7 +1525,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` display: flex; } -.emotion-21 { +.emotion-20 { border: 0 none; padding: 4px 10px; cursor: pointer; @@ -1659,80 +1547,72 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` border-radius: 4px 0 0 0; } -.emotion-21:not(:last-child) { +.emotion-20:not(:last-child) { border-right: 1px solid rgba(0,0,0,.1); } -.emotion-21 + * { +.emotion-20 + * { border-left: 1px solid rgba(0,0,0,.1); border-radius: 0; } -.emotion-21:focus { +.emotion-20:focus { box-shadow: #1EA7FD 0 -3px 0 0 inset; outline: 0 none; }
-
- -
-
-
+
+ +
Storybook 5.0.3 is available. Upgrade from 5.0.0 now.
5.0.3 Changelog Read full changelog
  • @@ -1822,10 +1702,10 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

@@ -1833,16 +1713,16 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

                   
                     npx npm-check-updates 
                     
               
@@ -1874,26 +1754,26 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` Alternatively, if you're using yarn run the following command, and check all Storybook related packages:

                   
                     yarn upgrade-interactive --latest
                   
                 
@@ -1902,34 +1782,34 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
Docs GitHub Support @@ -1942,7 +1822,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` `; exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -.emotion-28 { +.emotion-27 { width: 100%; height: 100%; box-sizing: border-box; @@ -1955,57 +1835,6 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` flex-direction: column; } -.emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-7 { display: -webkit-box; display: -webkit-flex; @@ -2015,9 +1844,14 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - position: relative; - white-space: nowrap; + background: #FFFFFF; + color: #999999; height: 40px; + position: relative; + overflow: visible; + overflow-x: visible; + overflow-y: visible; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } .emotion-2 { @@ -2025,12 +1859,9 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-2 > * { @@ -2038,10 +1869,14 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` } .emotion-1 { - overflow: hidden; + white-space: nowrap; + height: 100%; + padding-bottom: 50px; + overflow-x: visisble; + overflow-y: visisble; } -.emotion-1:first-of-type { +.emotion-1:first-child { margin-left: 0; } @@ -2095,13 +1930,6 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; } .emotion-6 > * { @@ -2143,7 +1971,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` fill: currentColor; } -.emotion-27 { +.emotion-26 { display: block; position: relative; font-size: 13px; @@ -2155,7 +1983,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: 100%; } -.emotion-24 { +.emotion-23 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2166,11 +1994,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-weight: 700; } -.emotion-24 > * + * { +.emotion-23 > * + * { margin-left: 20px; } -.emotion-19 { +.emotion-18 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2180,12 +2008,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-19 svg path { +.emotion-18 svg path { fill: #1EA7FD; } -.emotion-19:hover, -.emotion-19:focus { +.emotion-18:hover, +.emotion-18:focus { cursor: pointer; -webkit-transform: translate3d(0,-1px,0); -ms-transform: translate3d(0,-1px,0); @@ -2193,23 +2021,23 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #0297f5; } -.emotion-19:hover svg path, -.emotion-19:focus svg path { +.emotion-18:hover svg path, +.emotion-18:focus svg path { fill: #0297f5; } -.emotion-19:active { +.emotion-18:active { -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); transform: translate3d(0,0,0); color: #028ee6; } -.emotion-19:active svg path { +.emotion-18:active svg path { fill: #028ee6; } -.emotion-19 svg { +.emotion-18 svg { display: inline-block; height: 1em; width: 1em; @@ -2219,37 +2047,37 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-19 svg path { +.emotion-18 svg path { fill: #999999; } -.emotion-19:hover { +.emotion-18:hover { color: #666666; } -.emotion-19:hover svg path { +.emotion-18:hover svg path { fill: #666666; } -.emotion-19:active { +.emotion-18:active { color: #444444; } -.emotion-19:active svg path { +.emotion-18:active svg path { fill: #444444; } -.emotion-26 { +.emotion-25 { display: block; } -.emotion-25 { +.emotion-24 { padding: 3rem 20px; max-width: 600px; margin: 0 auto; } -.emotion-9 { +.emotion-8 { margin-bottom: 20px; font-size: 28px; font-weight: 900; @@ -2263,13 +2091,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: flex; } -.emotion-9 > svg { +.emotion-8 > svg { height: 32px; width: auto; margin-right: 8px; } -.emotion-10 { +.emotion-9 { background: #EAF3FC; color: #333333; font-weight: 700; @@ -2279,7 +2107,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` text-align: center; } -.emotion-16 { +.emotion-15 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2290,7 +2118,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` justify-content: space-between; } -.emotion-11 { +.emotion-10 { -webkit-letter-spacing: 0.35em; -moz-letter-spacing: 0.35em; -ms-letter-spacing: 0.35em; @@ -2302,7 +2130,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-15 { +.emotion-14 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2313,12 +2141,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-size: 12px; } -.emotion-15 svg path { +.emotion-14 svg path { fill: #1EA7FD; } -.emotion-15:hover, -.emotion-15:focus { +.emotion-14:hover, +.emotion-14:focus { cursor: pointer; -webkit-transform: translate3d(0,-1px,0); -ms-transform: translate3d(0,-1px,0); @@ -2326,23 +2154,23 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #0297f5; } -.emotion-15:hover svg path, -.emotion-15:focus svg path { +.emotion-14:hover svg path, +.emotion-14:focus svg path { fill: #0297f5; } -.emotion-15:active { +.emotion-14:active { -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); transform: translate3d(0,0,0); color: #028ee6; } -.emotion-15:active svg path { +.emotion-14:active svg path { fill: #028ee6; } -.emotion-15 svg { +.emotion-14 svg { display: inline-block; height: 1em; width: 1em; @@ -2352,27 +2180,27 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-15 svg path { +.emotion-14 svg path { fill: #999999; } -.emotion-15:hover { +.emotion-14:hover { color: #666666; } -.emotion-15:hover svg path { +.emotion-14:hover svg path { fill: #666666; } -.emotion-15:active { +.emotion-14:active { color: #444444; } -.emotion-15:active svg path { +.emotion-14:active svg path { fill: #444444; } -.emotion-14 > svg:last-of-type { +.emotion-13 > svg:last-of-type { height: 0.7em; width: 0.7em; margin-right: 0; @@ -2381,39 +2209,39 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` vertical-align: inherit; } -.emotion-17 { +.emotion-16 { font-size: 14px; line-height: 1.6; } -.emotion-17 h1 { +.emotion-16 h1 { font-size: 32px; font-weight: 900; } -.emotion-17 h2 { +.emotion-16 h2 { font-size: 24px; border-bottom: 1px solid rgba(0,0,0,.1); } -.emotion-17 h3 { +.emotion-16 h3 { font-size: 20px; } -.emotion-17 h4 { +.emotion-16 h4 { font-size: 16px; } -.emotion-17 h5 { +.emotion-16 h5 { font-size: 14px; } -.emotion-17 h6 { +.emotion-16 h6 { font-size: 14px; color: #666666; } -.emotion-17 pre:not(.hljs) { +.emotion-16 pre:not(.hljs) { background: transparent; border: none; border-radius: 0; @@ -2421,8 +2249,8 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 0; } -.emotion-17 pre pre, -.emotion-17 pre.hljs { +.emotion-16 pre pre, +.emotion-16 pre.hljs { padding: 15px; margin: 0; overflow: auto; @@ -2432,13 +2260,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` line-height: 19px; } -.emotion-17 pre pre code, -.emotion-17 pre.hljs code { +.emotion-16 pre pre code, +.emotion-16 pre.hljs code { color: inherit; font-size: inherit; } -.emotion-17 pre code { +.emotion-16 pre code { margin: 0; padding: 0; white-space: pre; @@ -2446,31 +2274,31 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: transparent; } -.emotion-17 pre code, -.emotion-17 pre tt { +.emotion-16 pre code, +.emotion-16 pre tt { background-color: transparent; border: none; } -.emotion-17 body > *:first-of-type { +.emotion-16 body > *:first-child { margin-top: 0 !important; } -.emotion-17 body > *:last-child { +.emotion-16 body > *:last-child { margin-bottom: 0 !important; } -.emotion-17 a { +.emotion-16 a { color: #1EA7FD; -webkit-text-decoration: none; text-decoration: none; } -.emotion-17 a.absent { +.emotion-16 a.absent { color: #cc0000; } -.emotion-17 a.anchor { +.emotion-16 a.anchor { display: block; padding-left: 30px; margin-left: -30px; @@ -2481,153 +2309,153 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` bottom: 0; } -.emotion-17 h1, -.emotion-17 h2, -.emotion-17 h3, -.emotion-17 h4, -.emotion-17 h5, -.emotion-17 h6 { +.emotion-16 h1, +.emotion-16 h2, +.emotion-16 h3, +.emotion-16 h4, +.emotion-16 h5, +.emotion-16 h6 { margin: 20px 0 10px; padding: 0; cursor: text; position: relative; } -.emotion-17 h2:first-of-type, -.emotion-17 h1:first-of-type, -.emotion-17 h1:first-of-type + h2, -.emotion-17 h3:first-of-type, -.emotion-17 h4:first-of-type, -.emotion-17 h5:first-of-type, -.emotion-17 h6:first-of-type { +.emotion-16 h2:first-child, +.emotion-16 h1:first-child, +.emotion-16 h1:first-child + h2, +.emotion-16 h3:first-child, +.emotion-16 h4:first-child, +.emotion-16 h5:first-child, +.emotion-16 h6:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 h1:hover a.anchor, -.emotion-17 h2:hover a.anchor, -.emotion-17 h3:hover a.anchor, -.emotion-17 h4:hover a.anchor, -.emotion-17 h5:hover a.anchor, -.emotion-17 h6:hover a.anchor { +.emotion-16 h1:hover a.anchor, +.emotion-16 h2:hover a.anchor, +.emotion-16 h3:hover a.anchor, +.emotion-16 h4:hover a.anchor, +.emotion-16 h5:hover a.anchor, +.emotion-16 h6:hover a.anchor { -webkit-text-decoration: none; text-decoration: none; } -.emotion-17 h1 tt, -.emotion-17 h1 code { +.emotion-16 h1 tt, +.emotion-16 h1 code { font-size: inherit; } -.emotion-17 h2 tt, -.emotion-17 h2 code { +.emotion-16 h2 tt, +.emotion-16 h2 code { font-size: inherit; } -.emotion-17 h3 tt, -.emotion-17 h3 code { +.emotion-16 h3 tt, +.emotion-16 h3 code { font-size: inherit; } -.emotion-17 h4 tt, -.emotion-17 h4 code { +.emotion-16 h4 tt, +.emotion-16 h4 code { font-size: inherit; } -.emotion-17 h5 tt, -.emotion-17 h5 code { +.emotion-16 h5 tt, +.emotion-16 h5 code { font-size: inherit; } -.emotion-17 h6 tt, -.emotion-17 h6 code { +.emotion-16 h6 tt, +.emotion-16 h6 code { font-size: inherit; } -.emotion-17 p, -.emotion-17 blockquote, -.emotion-17 ul, -.emotion-17 ol, -.emotion-17 dl, -.emotion-17 li, -.emotion-17 table, -.emotion-17 pre { +.emotion-16 p, +.emotion-16 blockquote, +.emotion-16 ul, +.emotion-16 ol, +.emotion-16 dl, +.emotion-16 li, +.emotion-16 table, +.emotion-16 pre { margin: 15px 0; } -.emotion-17 hr { +.emotion-16 hr { border: 0 none; color: rgba(0,0,0,.1); height: 4px; padding: 0; } -.emotion-17 body > h2:first-of-type { +.emotion-16 body > h2:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 body > h1:first-of-type { +.emotion-16 body > h1:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 body > h1:first-of-type + h2 { +.emotion-16 body > h1:first-child + h2 { margin-top: 0; padding-top: 0; } -.emotion-17 body > h3:first-of-type, -.emotion-17 body > h4:first-of-type, -.emotion-17 body > h5:first-of-type, -.emotion-17 body > h6:first-of-type { +.emotion-16 body > h3:first-child, +.emotion-16 body > h4:first-child, +.emotion-16 body > h5:first-child, +.emotion-16 body > h6:first-child { margin-top: 0; padding-top: 0; } -.emotion-17 a:first-of-type h1, -.emotion-17 a:first-of-type h2, -.emotion-17 a:first-of-type h3, -.emotion-17 a:first-of-type h4, -.emotion-17 a:first-of-type h5, -.emotion-17 a:first-of-type h6 { +.emotion-16 a:first-child h1, +.emotion-16 a:first-child h2, +.emotion-16 a:first-child h3, +.emotion-16 a:first-child h4, +.emotion-16 a:first-child h5, +.emotion-16 a:first-child h6 { margin-top: 0; padding-top: 0; } -.emotion-17 h1 p, -.emotion-17 h2 p, -.emotion-17 h3 p, -.emotion-17 h4 p, -.emotion-17 h5 p, -.emotion-17 h6 p { +.emotion-16 h1 p, +.emotion-16 h2 p, +.emotion-16 h3 p, +.emotion-16 h4 p, +.emotion-16 h5 p, +.emotion-16 h6 p { margin-top: 0; } -.emotion-17 li p.first { +.emotion-16 li p.first { display: inline-block; } -.emotion-17 ul, -.emotion-17 ol { +.emotion-16 ul, +.emotion-16 ol { padding-left: 30px; } -.emotion-17 ul :first-of-type, -.emotion-17 ol :first-of-type { +.emotion-16 ul :first-child, +.emotion-16 ol :first-child { margin-top: 0; } -.emotion-17 ul :last-child, -.emotion-17 ol :last-child { +.emotion-16 ul :last-child, +.emotion-16 ol :last-child { margin-bottom: 0; } -.emotion-17 dl { +.emotion-16 dl { padding: 0; } -.emotion-17 dl dt { +.emotion-16 dl dt { font-size: 14px; font-weight: bold; font-style: italic; @@ -2635,62 +2463,62 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 15px 0 5px; } -.emotion-17 dl dt:first-of-type { +.emotion-16 dl dt:first-child { padding: 0; } -.emotion-17 dl dt > :first-of-type { +.emotion-16 dl dt > :first-child { margin-top: 0; } -.emotion-17 dl dt > :last-child { +.emotion-16 dl dt > :last-child { margin-bottom: 0; } -.emotion-17 dl dd { +.emotion-16 dl dd { margin: 0 0 15px; padding: 0 15px; } -.emotion-17 dl dd > :first-of-type { +.emotion-16 dl dd > :first-child { margin-top: 0; } -.emotion-17 dl dd > :last-child { +.emotion-16 dl dd > :last-child { margin-bottom: 0; } -.emotion-17 blockquote { +.emotion-16 blockquote { border-left: 4px solid #DDDDDD; padding: 0 15px; color: #666666; } -.emotion-17 blockquote > :first-of-type { +.emotion-16 blockquote > :first-child { margin-top: 0; } -.emotion-17 blockquote > :last-child { +.emotion-16 blockquote > :last-child { margin-bottom: 0; } -.emotion-17 table { +.emotion-16 table { padding: 0; border-collapse: collapse; } -.emotion-17 table tr { +.emotion-16 table tr { border-top: 1px solid rgba(0,0,0,.1); background-color: white; margin: 0; padding: 0; } -.emotion-17 table tr:nth-of-type(2n) { +.emotion-16 table tr:nth-child(2n) { background-color: #F8F8F8; } -.emotion-17 table tr th { +.emotion-16 table tr th { font-weight: bold; border: 1px solid rgba(0,0,0,.1); text-align: left; @@ -2698,33 +2526,33 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` padding: 6px 13px; } -.emotion-17 table tr td { +.emotion-16 table tr td { border: 1px solid rgba(0,0,0,.1); text-align: left; margin: 0; padding: 6px 13px; } -.emotion-17 table tr th :first-of-type, -.emotion-17 table tr td :first-of-type { +.emotion-16 table tr th :first-child, +.emotion-16 table tr td :first-child { margin-top: 0; } -.emotion-17 table tr th :last-child, -.emotion-17 table tr td :last-child { +.emotion-16 table tr th :last-child, +.emotion-16 table tr td :last-child { margin-bottom: 0; } -.emotion-17 img { +.emotion-16 img { max-width: 100%; } -.emotion-17 span.frame { +.emotion-16 span.frame { display: block; overflow: hidden; } -.emotion-17 span.frame > span { +.emotion-16 span.frame > span { border: 1px solid #DDDDDD; display: block; float: left; @@ -2734,81 +2562,81 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: auto; } -.emotion-17 span.frame span img { +.emotion-16 span.frame span img { display: block; float: left; } -.emotion-17 span.frame span span { +.emotion-16 span.frame span span { clear: both; color: #333333; display: block; padding: 5px 0 0; } -.emotion-17 span.align-center { +.emotion-16 span.align-center { display: block; overflow: hidden; clear: both; } -.emotion-17 span.align-center > span { +.emotion-16 span.align-center > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: center; } -.emotion-17 span.align-center span img { +.emotion-16 span.align-center span img { margin: 0 auto; text-align: center; } -.emotion-17 span.align-right { +.emotion-16 span.align-right { display: block; overflow: hidden; clear: both; } -.emotion-17 span.align-right > span { +.emotion-16 span.align-right > span { display: block; overflow: hidden; margin: 13px 0 0; text-align: right; } -.emotion-17 span.align-right span img { +.emotion-16 span.align-right span img { margin: 0; text-align: right; } -.emotion-17 span.float-left { +.emotion-16 span.float-left { display: block; margin-right: 13px; overflow: hidden; float: left; } -.emotion-17 span.float-left span { +.emotion-16 span.float-left span { margin: 13px 0 0; } -.emotion-17 span.float-right { +.emotion-16 span.float-right { display: block; margin-left: 13px; overflow: hidden; float: right; } -.emotion-17 span.float-right > span { +.emotion-16 span.float-right > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: right; } -.emotion-17 code, -.emotion-17 tt { +.emotion-16 code, +.emotion-16 tt { margin: 0 2px; padding: 0 5px; white-space: nowrap; @@ -2818,65 +2646,57 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` }
-
- -
-
-
+
+ +
Looking good! You're up to date.
  • @@ -2966,34 +2786,34 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
Docs GitHub Support From b3d169eec20b61a6f3df0467a32b3f99a4417046 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 19:13:52 +0800 Subject: [PATCH 040/249] 5.0.0-rc.3 changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 345c193176d..a8db7ba4896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 5.0.0-rc.3 (February 19, 2019) + +### Bug Fixes + +* UI: Styling bug fixes, story updates, and more QA ([#5650](https://github.com/storybooks/storybook/pull/5650)) +* UI: V5 style refinements ([#5562](https://github.com/storybooks/storybook/pull/5562)) + ## 5.0.0-rc.2 (February 19, 2019) ### Features From c9b173940643d00afd155bbdecc166751d4805a1 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 19:20:14 +0800 Subject: [PATCH 041/249] Update yarn.lock --- yarn.lock | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/yarn.lock b/yarn.lock index 85e93abf679..ad98b5c9cd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8638,9 +8638,10 @@ expect@^23.6.0: jest-message-util "^23.4.0" jest-regex-util "^23.3.0" -expect@^24.0.0: - version "24.0.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-24.0.0.tgz#71f71d88a4202746fc79849bb4c6498008b5ef03" +expect@^24.1.0: + version "24.1.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-24.1.0.tgz#88e73301c4c785cde5f16da130ab407bdaf8c0f2" + integrity sha512-lVcAPhaYkQcIyMS+F8RVwzbm1jro20IG8OkvxQ6f1JfqhVZyyudCwYogQ7wnktlf14iF3ii7ArIUO/mqvrW9Gw== dependencies: ansi-styles "^3.2.0" jest-get-type "^24.0.0" @@ -11675,6 +11676,15 @@ jest-resolve@^24.0.0: chalk "^2.0.1" realpath-native "^1.0.0" +jest-resolve@^24.1.0: + version "24.1.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-24.1.0.tgz#42ff0169b0ea47bfdbd0c52a0067ca7d022c7688" + integrity sha512-TPiAIVp3TG6zAxH28u/6eogbwrvZjBMWroSLBDkwkHKrqxB/RIdwkWDye4uqPlZIXWIaHtifY3L0/eO5Z0f2wg== + dependencies: + browser-resolve "^1.11.3" + chalk "^2.0.1" + realpath-native "^1.0.0" + jest-runner@^23.6.0: version "23.6.0" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-23.6.0.tgz#3894bd219ffc3f3cb94dc48a4170a2e6f23a5a38" @@ -11723,9 +11733,10 @@ jest-serializer@^23.0.1: version "23.0.1" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165" -jest-snapshot@>=20.0.3: +jest-snapshot@>=20.0.3, jest-snapshot@^24.1.0: version "24.1.0" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.1.0.tgz#85e22f810357aa5994ab61f236617dc2205f2f5b" + integrity sha512-th6TDfFqEmXvuViacU1ikD7xFb7lQsPn2rJl7OEmnfIVpnrx3QNY2t3PE88meeg0u/mQ0nkyvmC05PBqO4USFA== dependencies: "@babel/types" "^7.0.0" chalk "^2.0.1" @@ -11753,21 +11764,6 @@ jest-snapshot@^23.6.0: pretty-format "^23.6.0" semver "^5.5.0" -jest-snapshot@^24.0.0: - version "24.0.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.0.0.tgz#fb447a753a3271660b3d89d068698014eb14c414" - dependencies: - "@babel/types" "^7.0.0" - chalk "^2.0.1" - jest-diff "^24.0.0" - jest-matcher-utils "^24.0.0" - jest-message-util "^24.0.0" - jest-resolve "^24.0.0" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - pretty-format "^24.0.0" - semver "^5.5.0" - jest-specific-snapshot@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/jest-specific-snapshot/-/jest-specific-snapshot-1.0.0.tgz#157c79e2534a6fea820fd475f5d17740c8f90833" @@ -18321,7 +18317,7 @@ source-map-support@^0.4.15, source-map-support@~0.4.0: dependencies: source-map "^0.5.6" -source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.6: +source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.9: version "0.5.10" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" dependencies: @@ -19157,7 +19153,7 @@ terser-webpack-plugin@^1.2.1: webpack-sources "^1.1.0" worker-farm "^1.5.2" -terser@^3.7.5, terser@^3.8.1: +terser@^3.16.1, terser@^3.7.5, terser@^3.8.1: version "3.16.1" resolved "https://registry.yarnpkg.com/terser/-/terser-3.16.1.tgz#5b0dd4fa1ffd0b0b43c2493b2c364fd179160493" dependencies: From 698f32e49855a5b4643436b693706865329a5b7e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 19:21:00 +0800 Subject: [PATCH 042/249] v5.0.0-rc.3 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 8 +-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 +++++----- examples/cra-kitchen-sink/package.json | 32 ++++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 +++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 +++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 +++++----- examples/riot-kitchen-sink/package.json | 26 +++++----- examples/svelte-kitchen-sink/package.json | 26 +++++----- examples/vue-kitchen-sink/package.json | 26 +++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 4 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 52 +++++++++---------- lib/client-api/package.json | 8 +-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 18 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 2 +- lib/ui/package.json | 14 ++--- 58 files changed, 337 insertions(+), 337 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 670559c0a37..14c9f2b727d 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 1355071a786..3cdfebc1cd8 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index dc5ea46cf2c..6bee8331897 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/addons/centered/package.json b/addons/centered/package.json index 63a03f12cd6..4def2b53dbd 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index bfd211d2b9f..d24d336f087 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ }, "dependencies": { "@emotion/styled": "10.0.6", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/channels": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/channels": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 61919a9b239..bdacbf26391 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 14a0d9ebafe..f1774d0e256 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 649244f2485..daefb5087eb 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index e80e33a730e..19890a8ba6b 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 6300c5b61ea..7afceb0f2d4 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 2a414ec4514..1bc9e688704 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 7e3a530f31f..5e71719764e 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index daed6ee2baa..d88d52de0dc 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/options/package.json b/addons/options/package.json index 0e60fd96a05..3b0d90df3d1 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index cdceb395cc3..e652515e9ff 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index bd751182d7c..bd61c3dbe73 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", - "@storybook/node-logger": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.3", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 786e3ee2660..81902504d64 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 3c3329d2510..45bf2244c6c 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index cb98e933bc1..068a52d191f 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", - "@storybook/node-logger": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.3", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 53151490b2f..b1bf12dca20 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 520593fe26c..780c33ca915 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 80f609dfdf9..203c11e7560 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 68ace8a872b..0138f1751fa 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 6d93d4c4f1a..991de64e93b 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index bc56ee82ffa..2953ac6902c 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react/package.json b/app/react/package.json index 414a8a86c77..0d68d71b611 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.2", - "@storybook/node-logger": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index f99faa56142..d925923093e 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 7d056cd3094..8630a62007f 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 038971b968a..0640e5ba7ed 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.2", + "@storybook/core": "5.0.0-rc.3", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 5be22f3ee50..c5787f12999 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.11.4", "@angular/cli": "^7.3.0", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-jest": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/angular": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-jest": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/angular": "5.0.0-rc.3", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 06306b41f8a..e29eb57cd80 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-events": "5.0.0-rc.2", - "@storybook/addon-info": "5.0.0-rc.2", - "@storybook/addon-jest": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/react": "5.0.0-rc.2", + "@storybook/addon-a11y": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-events": "5.0.0-rc.3", + "@storybook/addon-info": "5.0.0-rc.3", + "@storybook/addon-jest": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/react": "5.0.0-rc.3", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index f6402ca7377..b67c6100064 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-info": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/react": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-info": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/react": "5.0.0-rc.3", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 5a67d3923bc..b14aea9a0da 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/ember": "5.0.0-rc.2", + "@storybook/addon-a11y": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/ember": "5.0.0-rc.3", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index e44b5bdb252..b062d2d2a1e 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-events": "5.0.0-rc.2", - "@storybook/addon-jest": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/core": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/html": "5.0.0-rc.2", + "@storybook/addon-a11y": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-events": "5.0.0-rc.3", + "@storybook/addon-jest": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/html": "5.0.0-rc.3", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 6d545a7d112..302f8738504 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/marko": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/marko": "5.0.0-rc.3", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 02050914a3e..a634f29ae3a 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/mithril": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/mithril": "5.0.0-rc.3", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 1ea39ccc493..84fa8286ebb 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-cssresources": "5.0.0-rc.2", - "@storybook/addon-events": "5.0.0-rc.2", - "@storybook/addon-graphql": "5.0.0-rc.2", - "@storybook/addon-info": "5.0.0-rc.2", - "@storybook/addon-jest": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/node-logger": "5.0.0-rc.2", - "@storybook/react": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addon-a11y": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-cssresources": "5.0.0-rc.3", + "@storybook/addon-events": "5.0.0-rc.3", + "@storybook/addon-graphql": "5.0.0-rc.3", + "@storybook/addon-info": "5.0.0-rc.3", + "@storybook/addon-jest": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/react": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 4386e8fb28a..cef11cfc870 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/polymer": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/polymer": "5.0.0-rc.3", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 11329c4cdf6..5c9e0496af3 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/preact": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/preact": "5.0.0-rc.3", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index d3e13672ab6..efc60093565 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/riot": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/riot": "5.0.0-rc.3", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 8e72b78aab6..5cc7e64f93a 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/svelte": "5.0.0-rc.2" + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/svelte": "5.0.0-rc.3" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 1d08648056b..aed5a1b00af 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-backgrounds": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addon-storysource": "5.0.0-rc.2", - "@storybook/addon-viewport": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/vue": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-backgrounds": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addon-storysource": "5.0.0-rc.3", + "@storybook/addon-viewport": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/vue": "5.0.0-rc.3", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 3b5748abbac..3018b0720ea 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.2" + "version": "5.0.0-rc.3" } diff --git a/lib/addons/package.json b/lib/addons/package.json index f3a278e1967..3e8fd598521 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", + "@storybook/channels": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 96c1b5cc55e..c05cc46e103 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.2", + "@storybook/channels": "5.0.0-rc.3", "global": "^4.3.2", "telejson": "^1.0.1" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index f8a934e1548..38b69b44ab2 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.2", + "@storybook/channels": "5.0.0-rc.3", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index 2b2f3ae9326..85c0c744a9c 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 56f3b9242ea..16a449a2d0b 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.2", + "@storybook/codemod": "5.0.0-rc.3", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.2", - "@storybook/addon-centered": "5.0.0-rc.2", - "@storybook/addon-graphql": "5.0.0-rc.2", - "@storybook/addon-info": "5.0.0-rc.2", - "@storybook/addon-knobs": "5.0.0-rc.2", - "@storybook/addon-links": "5.0.0-rc.2", - "@storybook/addon-notes": "5.0.0-rc.2", - "@storybook/addon-options": "5.0.0-rc.2", - "@storybook/addon-storyshots": "5.0.0-rc.2", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/angular": "5.0.0-rc.2", - "@storybook/channel-postmessage": "5.0.0-rc.2", - "@storybook/channel-websocket": "5.0.0-rc.2", - "@storybook/channels": "5.0.0-rc.2", - "@storybook/ember": "5.0.0-rc.2", - "@storybook/html": "5.0.0-rc.2", - "@storybook/marko": "5.0.0-rc.2", - "@storybook/mithril": "5.0.0-rc.2", - "@storybook/polymer": "5.0.0-rc.2", - "@storybook/preact": "5.0.0-rc.2", - "@storybook/react": "5.0.0-rc.2", + "@storybook/addon-actions": "5.0.0-rc.3", + "@storybook/addon-centered": "5.0.0-rc.3", + "@storybook/addon-graphql": "5.0.0-rc.3", + "@storybook/addon-info": "5.0.0-rc.3", + "@storybook/addon-knobs": "5.0.0-rc.3", + "@storybook/addon-links": "5.0.0-rc.3", + "@storybook/addon-notes": "5.0.0-rc.3", + "@storybook/addon-options": "5.0.0-rc.3", + "@storybook/addon-storyshots": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/angular": "5.0.0-rc.3", + "@storybook/channel-postmessage": "5.0.0-rc.3", + "@storybook/channel-websocket": "5.0.0-rc.3", + "@storybook/channels": "5.0.0-rc.3", + "@storybook/ember": "5.0.0-rc.3", + "@storybook/html": "5.0.0-rc.3", + "@storybook/marko": "5.0.0-rc.3", + "@storybook/mithril": "5.0.0-rc.3", + "@storybook/polymer": "5.0.0-rc.3", + "@storybook/preact": "5.0.0-rc.3", + "@storybook/react": "5.0.0-rc.3", "@storybook/react-native": "5.0.0-beta.4", - "@storybook/riot": "5.0.0-rc.2", - "@storybook/ui": "5.0.0-rc.2", - "@storybook/vue": "5.0.0-rc.2" + "@storybook/riot": "5.0.0-rc.3", + "@storybook/ui": "5.0.0-rc.3", + "@storybook/vue": "5.0.0-rc.3" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 978aa0cfd52..623e1755e37 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,9 +19,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 1fb64a56430..8580fc3bbcf 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 59ee200d911..2f104d0259e 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 4112f4adc33..40667f55003 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/router": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 50b82d10259..ff860d278ea 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 4a802ec1e5d..cbe13f26d03 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,14 +24,14 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.2", - "@storybook/channel-postmessage": "5.0.0-rc.2", - "@storybook/client-api": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/node-logger": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", - "@storybook/ui": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/channel-postmessage": "5.0.0-rc.3", + "@storybook/client-api": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", + "@storybook/ui": "5.0.0-rc.3", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index c8f75c9f89f..8169e656b18 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 664c6d1e8c6..7f14cbd14c2 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/theming": "5.0.0-rc.3", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index 621d9273acb..b026e0b8767 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/lib/ui/package.json b/lib/ui/package.json index 077d6fcb05d..46442535153 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.2", + "version": "5.0.0-rc.3", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.2", - "@storybook/client-logger": "5.0.0-rc.2", - "@storybook/components": "5.0.0-rc.2", - "@storybook/core-events": "5.0.0-rc.2", - "@storybook/router": "5.0.0-rc.2", - "@storybook/theming": "5.0.0-rc.2", + "@storybook/addons": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/components": "5.0.0-rc.3", + "@storybook/core-events": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.3", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From ec355540e9f45d9a7eeebb688b4f7496d5bceb21 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 19:33:05 +0800 Subject: [PATCH 043/249] 5.0.0-rc.3 versions.json --- docs/versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions.json b/docs/versions.json index 4e5d2a09c8d..451f64c66e8 100644 --- a/docs/versions.json +++ b/docs/versions.json @@ -1 +1 @@ -{"next":{"version":"5.0.0-rc.2","info":{"plain":"### Features\n\n* UI: Allow collapsing active story and use separate expansion for filtered ([#5625](https://github.com/storybooks/storybook/pull/5625))\n* UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641))\n\n### Bug Fixes\n\n* Addon-a11y: Fix tab highlighting ([#5646](https://github.com/storybooks/storybook/pull/5646))\n* Addon-jest: Fix event subscription ([#5644](https://github.com/storybooks/storybook/pull/5644))\n* UI: Handle old versions in version check ([#5638](https://github.com/storybooks/storybook/pull/5638))\n\n### Maintenance\n\n* UI: Fix some prop warnings ([#5635](https://github.com/storybooks/storybook/pull/5635))\n* UI: Use the correct props to start the tooltip open ([#5610](https://github.com/storybooks/storybook/pull/5610))"}}} \ No newline at end of file +{"next":{"version":"5.0.0-rc.3","info":{"plain":"### Bug Fixes\n\n* UI: Styling bug fixes, story updates, and more QA ([#5650](https://github.com/storybooks/storybook/pull/5650))\n* UI: V5 style refinements ([#5562](https://github.com/storybooks/storybook/pull/5562))"}}} \ No newline at end of file From 4334564c4bf2259270cfde84b35c59cd0d034b55 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Wed, 20 Feb 2019 13:37:01 +1100 Subject: [PATCH 044/249] Merge pull request #5669 from storybooks/fix/storyFn-consistency Fix/story fn consistency --- addons/actions/src/preview/decorateAction.js | 2 +- addons/actions/src/preview/withActions.js | 4 +- addons/centered/src/html.js | 12 ++-- addons/events/src/index.js | 4 +- addons/jest/src/index.js | 12 ++-- addons/links/src/preview.js | 4 +- .../storyshots-core/src/api/index.js | 2 +- .../src/frameworks/riot/renderTree.js | 4 +- addons/storysource/src/preview.js | 4 +- .../src/client/preview/angular/helpers.ts | 10 +-- .../src/client/preview/angular/types.ts | 2 +- app/angular/src/client/preview/render.js | 4 +- app/ember/src/client/preview/render.js | 11 ++- app/html/src/client/preview/render.js | 12 ++-- app/marko/src/client/preview/render.js | 11 ++- app/mithril/src/client/preview/render.js | 11 ++- app/polymer/src/client/preview/render.js | 16 ++--- app/preact/src/client/preview/render.js | 11 ++- app/react/src/client/preview/render.js | 4 +- app/riot/src/client/preview/render.js | 9 +-- app/svelte/src/client/preview/render.js | 4 +- app/vue/src/client/preview/render.js | 10 +-- docs/.storybook/config.js | 2 +- .../src/pages/basics/writing-stories/index.md | 4 +- .../stories/addon-events.stories.js | 4 +- examples/official-storybook/config.js | 4 +- .../stories/addon-events.stories.js | 4 +- .../stories/addon-links.stories.js | 4 +- .../src/stories/custom-decorators.stories.js | 4 +- .../src/stories/custom-decorators.stories.js | 6 +- lib/client-api/src/client_api.js | 40 +++++------ lib/client-api/src/client_api.test.js | 14 ++-- lib/client-api/src/story_store.js | 71 +++++++++++-------- lib/client-api/src/story_store.test.js | 64 +++++++++-------- lib/core/src/client/preview/start.js | 7 +- 35 files changed, 222 insertions(+), 169 deletions(-) diff --git a/addons/actions/src/preview/decorateAction.js b/addons/actions/src/preview/decorateAction.js index d61f3744874..eb991ab0620 100644 --- a/addons/actions/src/preview/decorateAction.js +++ b/addons/actions/src/preview/decorateAction.js @@ -4,7 +4,7 @@ import { createDecorator } from './withActions'; function applyDecorators(decorators, actionCallback) { return (..._args) => { - const decorated = decorators.reduce((args, fn) => fn(args), _args); + const decorated = decorators.reduce((args, storyFn) => storyFn(args), _args); actionCallback(...decorated); }; } diff --git a/addons/actions/src/preview/withActions.js b/addons/actions/src/preview/withActions.js index 106659b936b..42731a9386e 100644 --- a/addons/actions/src/preview/withActions.js +++ b/addons/actions/src/preview/withActions.js @@ -56,11 +56,11 @@ const actionsSubscription = (...args) => { return lastSubscription; }; -export const createDecorator = actionsFn => (...args) => story => { +export const createDecorator = actionsFn => (...args) => storyFn => { if (root != null) { addons.getChannel().emit(Events.REGISTER_SUBSCRIPTION, actionsSubscription(actionsFn, ...args)); } - return story(); + return storyFn(); }; export default createDecorator(actions); diff --git a/addons/centered/src/html.js b/addons/centered/src/html.js index 8060fabcee0..88e3e8ab4b7 100644 --- a/addons/centered/src/html.js +++ b/addons/centered/src/html.js @@ -31,15 +31,15 @@ export default function(storyFn) { const wrapper = getWrapperDiv(); wrapper.appendChild(inner); - const component = storyFn(); + const element = storyFn(); - if (typeof component === 'string') { - inner.innerHTML = component; - } else if (component instanceof Node) { + if (typeof element === 'string') { + inner.innerHTML = element; + } else if (element instanceof Node) { inner.innerHTML = ''; - inner.appendChild(component); + inner.appendChild(element); } else { - return component; + return element; } return wrapper; diff --git a/addons/events/src/index.js b/addons/events/src/index.js index 5b12b24b3f3..31eb1960e36 100644 --- a/addons/events/src/index.js +++ b/addons/events/src/index.js @@ -39,9 +39,9 @@ export default options => { if (options.children) { return WithEvents(options); } - return story => { + return storyFn => { addEvents(options); - return story(); + return storyFn(); }; }; diff --git a/addons/jest/src/index.js b/addons/jest/src/index.js index 26db47c5960..8d41d435bab 100644 --- a/addons/jest/src/index.js +++ b/addons/jest/src/index.js @@ -38,14 +38,14 @@ export const withTests = userOptions => { return (...args) => { if (typeof args[0] === 'string') { - return deprecate((story, { kind }) => { - emitAddTests({ kind, story, testFiles: args, options }); + return deprecate((storyFn, { kind }) => { + emitAddTests({ kind, story: storyFn, testFiles: args, options }); - return story(); + return storyFn(); }, 'Passing component filenames to the `@storybook/addon-jest` via `withTests` is deprecated. Instead, use the `jest` story parameter'); } - const [story, { kind, parameters = {} }] = args; + const [storyFn, { kind, parameters = {} }] = args; let { jest: testFiles } = parameters; if (typeof testFiles === 'string') { @@ -53,10 +53,10 @@ export const withTests = userOptions => { } if (testFiles && !testFiles.disable) { - emitAddTests({ kind, story, testFiles, options }); + emitAddTests({ kind, story: storyFn, testFiles, options }); } - return story(); + return storyFn(); }; }; diff --git a/addons/links/src/preview.js b/addons/links/src/preview.js index 938380e90ba..816426e449d 100644 --- a/addons/links/src/preview.js +++ b/addons/links/src/preview.js @@ -55,8 +55,8 @@ const off = () => { } }; -export const withLinks = story => { +export const withLinks = storyFn => { on(); addons.getChannel().once(STORY_CHANGED, off); - return story(); + return storyFn(); }; diff --git a/addons/storyshots/storyshots-core/src/api/index.js b/addons/storyshots/storyshots-core/src/api/index.js index dcb833af3b3..a764f0a26b2 100644 --- a/addons/storyshots/storyshots-core/src/api/index.js +++ b/addons/storyshots/storyshots-core/src/api/index.js @@ -48,7 +48,7 @@ function testStorySnapshots(options = {}) { .filter(({ name }) => (storyNameRegex ? name.match(storyNameRegex) : true)) .filter(({ kind }) => (storyKindRegex ? kind.match(storyKindRegex) : true)) .reduce((acc, item) => { - const { kind, story: render, parameters } = item; + const { kind, storyFn: render, parameters } = item; const existing = acc.find(i => i.kind === kind); const { fileName } = item.parameters; diff --git a/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.js b/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.js index 77f81e12fa3..c95ccf8ff7f 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.js +++ b/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.js @@ -13,9 +13,9 @@ function bootstrapADocumentAndReturnANode() { function makeSureThatResultIsRenderedSomehow({ context, result, rootElement }) { if (!rootElement.firstChild) { riotForStorybook.render({ - story: () => result, + storyFn: () => result, selectedKind: context.kind, - selectedStory: context.story, + selectedStory: context.name, }); } } diff --git a/addons/storysource/src/preview.js b/addons/storysource/src/preview.js index 7b516ff5368..1aa601caa95 100644 --- a/addons/storysource/src/preview.js +++ b/addons/storysource/src/preview.js @@ -17,8 +17,8 @@ function setStorySource(context, source, locationsMap) { } export function withStorySource(source, locationsMap = {}) { - return (story, context) => { + return (storyFn, context) => { setStorySource(context, source, locationsMap); - return story(); + return storyFn(); }; } diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index 7d5df639c1c..f5e218d75b3 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -4,7 +4,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './components/app.component'; import { STORY } from './app.token'; -import { NgModuleMetadata, IGetStory, NgStory } from './types'; +import { NgModuleMetadata, IStoryFn, NgStory } from './types'; let platform: any = null; let promises: Array>> = []; @@ -40,8 +40,8 @@ const createComponentFromTemplate = (template: string, styles: string[]) => { })(componentClass); }; -const initModule = (currentStory: IGetStory) => { - const storyObj = currentStory(); +const initModule = (storyFn: IStoryFn) => { + const storyObj = storyFn(); const { component, template, props, styles, moduleMetadata = {} } = storyObj; let AnnotatedComponent = template ? createComponentFromTemplate(template, styles) : component; @@ -80,6 +80,6 @@ const draw = (newModule: DynamicComponentType): void => { } }; -export const renderNgApp = (story: IGetStory) => { - draw(initModule(story)); +export const renderNgApp = (storyFn: IStoryFn) => { + draw(initModule(storyFn)); }; diff --git a/app/angular/src/client/preview/angular/types.ts b/app/angular/src/client/preview/angular/types.ts index 317aa02a9bd..0633eabea0e 100644 --- a/app/angular/src/client/preview/angular/types.ts +++ b/app/angular/src/client/preview/angular/types.ts @@ -19,4 +19,4 @@ export interface NgStory { styles?: string[]; } -export type IGetStory = () => NgStory; +export type IStoryFn = () => NgStory; diff --git a/app/angular/src/client/preview/render.js b/app/angular/src/client/preview/render.js index 9b0b027d0c3..c191b41d078 100644 --- a/app/angular/src/client/preview/render.js +++ b/app/angular/src/client/preview/render.js @@ -1,6 +1,6 @@ import { renderNgApp } from './angular/helpers'; -export default function render({ story, showMain }) { +export default function render({ storyFn, showMain }) { showMain(); - renderNgApp(story); + renderNgApp(storyFn); } diff --git a/app/ember/src/client/preview/render.js b/app/ember/src/client/preview/render.js index f9c1ba6e0a2..ec81aaea2e3 100644 --- a/app/ember/src/client/preview/render.js +++ b/app/ember/src/client/preview/render.js @@ -50,8 +50,15 @@ function render(options, el) { }); } -export default function renderMain({ story, selectedKind, selectedStory, showMain, showError }) { - const element = story(); +export default function renderMain({ + storyFn, + selectedKind, + selectedStory, + showMain, + showError, + // forceRender, +}) { + const element = storyFn(); if (!element) { showError({ diff --git a/app/html/src/client/preview/render.js b/app/html/src/client/preview/render.js index db2632aa91e..a3898b72346 100644 --- a/app/html/src/client/preview/render.js +++ b/app/html/src/client/preview/render.js @@ -4,25 +4,25 @@ import { stripIndents } from 'common-tags'; const rootElement = document.getElementById('root'); export default function renderMain({ - story, + storyFn, selectedKind, selectedStory, showMain, showError, forceRender, }) { - const component = story(); + const element = storyFn(); showMain(); - if (typeof component === 'string') { - rootElement.innerHTML = component; - } else if (component instanceof Node) { + if (typeof element === 'string') { + rootElement.innerHTML = element; + } else if (element instanceof Node) { if (forceRender === true) { return; } rootElement.innerHTML = ''; - rootElement.appendChild(component); + rootElement.appendChild(element); } else { showError({ title: `Expecting an HTML snippet or DOM node from the story: "${selectedStory}" of "${selectedKind}".`, diff --git a/app/marko/src/client/preview/render.js b/app/marko/src/client/preview/render.js index 50b892aaaf7..9b63a431743 100644 --- a/app/marko/src/client/preview/render.js +++ b/app/marko/src/client/preview/render.js @@ -4,8 +4,15 @@ import { stripIndents } from 'common-tags'; const rootEl = document.getElementById('root'); let currLoadedComponent = null; // currently loaded marko widget! -export default function renderMain({ story, selectedKind, selectedStory, showMain, showError }) { - const element = story(); +export default function renderMain({ + storyFn, + selectedKind, + selectedStory, + showMain, + showError, + // forceRender, +}) { + const element = storyFn(); // We need to unmount the existing set of components in the DOM node. if (currLoadedComponent) { diff --git a/app/mithril/src/client/preview/render.js b/app/mithril/src/client/preview/render.js index 39b14981cda..1760e37ab7f 100644 --- a/app/mithril/src/client/preview/render.js +++ b/app/mithril/src/client/preview/render.js @@ -6,8 +6,15 @@ import { stripIndents } from 'common-tags'; const rootEl = document.getElementById('root'); -export default function renderMain({ story, selectedKind, selectedStory, showMain, showError }) { - const element = story(); +export default function renderMain({ + storyFn, + selectedKind, + selectedStory, + showMain, + showError, + // forceRender, +}) { + const element = storyFn(); if (!element) { const error = { diff --git a/app/polymer/src/client/preview/render.js b/app/polymer/src/client/preview/render.js index 6fbbe908c21..c290eb4dc37 100644 --- a/app/polymer/src/client/preview/render.js +++ b/app/polymer/src/client/preview/render.js @@ -5,16 +5,16 @@ import { html, render, TemplateResult } from 'lit-html'; const rootElement = document.getElementById('root'); export default function renderMain({ - story, + storyFn, selectedKind, selectedStory, showMain, showError, forceRender, }) { - const component = story(); + const element = storyFn(); - if (!component) { + if (!element) { showError({ title: `Expecting a Polymer component from the story: "${selectedStory}" of "${selectedKind}".`, description: stripIndents` @@ -26,18 +26,18 @@ export default function renderMain({ } showMain(); - if (typeof component === 'string') { - rootElement.innerHTML = component; - } else if (component instanceof TemplateResult) { + if (typeof element === 'string') { + rootElement.innerHTML = element; + } else if (element instanceof TemplateResult) { // `render` stores the TemplateInstance in the Node and tries to update based on that. // Since we reuse `rootElement` for all stories, remove the stored instance first. // But forceRender means that it's the same story, so we want too keep the state in that case. if (!forceRender) { render(html``, rootElement); } - render(component, rootElement); + render(element, rootElement); } else { rootElement.innerHTML = ''; - rootElement.appendChild(component); + rootElement.appendChild(element); } } diff --git a/app/preact/src/client/preview/render.js b/app/preact/src/client/preview/render.js index 964c606470c..edb9cf188f9 100644 --- a/app/preact/src/client/preview/render.js +++ b/app/preact/src/client/preview/render.js @@ -6,8 +6,15 @@ import { stripIndents } from 'common-tags'; let renderedStory; const rootElement = document ? document.getElementById('root') : null; -export default function renderMain({ story, selectedKind, selectedStory, showMain, showError }) { - const element = story(); +export default function renderMain({ + storyFn, + selectedKind, + selectedStory, + showMain, + showError, + // forceRender, +}) { + const element = storyFn(); if (!element) { showError({ diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.js index d4bd2627c16..8ba7d5cc11a 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -14,14 +14,14 @@ function render(node, el) { } export default function renderMain({ - story, + storyFn, selectedKind, selectedStory, showMain, showError, forceRender, }) { - const element = story(); + const element = storyFn(); if (!element) { showError({ diff --git a/app/riot/src/client/preview/render.js b/app/riot/src/client/preview/render.js index e332210d03c..1e8651d3f79 100644 --- a/app/riot/src/client/preview/render.js +++ b/app/riot/src/client/preview/render.js @@ -4,7 +4,7 @@ import { unregister } from 'riot'; import { render as renderRiot } from './rendering'; export default function renderMain({ - story, + storyFn, selectedKind, selectedStory, showMain = () => {}, @@ -15,9 +15,9 @@ export default function renderMain({ const rootElement = document.getElementById('root'); rootElement.innerHTML = ''; rootElement.dataset.is = 'root'; - const component = story(); - const rendered = renderRiot(component); - if (!rendered) + const element = storyFn(); + const rendered = renderRiot(element); + if (!rendered) { showError({ title: `Expecting a riot snippet or a riot component from the story: "${selectedStory}" of "${selectedKind}".`, description: stripIndents` @@ -25,5 +25,6 @@ export default function renderMain({ Use "() => " or when defining the story. `, }); + } return rendered; } diff --git a/app/svelte/src/client/preview/render.js b/app/svelte/src/client/preview/render.js index a5e1f85d259..4c80f788f1f 100644 --- a/app/svelte/src/client/preview/render.js +++ b/app/svelte/src/client/preview/render.js @@ -42,7 +42,7 @@ function mountView({ Component, target, data, on, Wrapper, WrapperData }) { } export default function render({ - story, + storyFn, selectedKind, selectedStory, showMain, @@ -58,7 +58,7 @@ export default function render({ on, Wrapper, WrapperData, - } = story(); + } = storyFn(); cleanUpPreviousStory(); diff --git a/app/vue/src/client/preview/render.js b/app/vue/src/client/preview/render.js index e3227b3e71f..93072b8071b 100644 --- a/app/vue/src/client/preview/render.js +++ b/app/vue/src/client/preview/render.js @@ -18,7 +18,7 @@ const root = new Vue({ }); export default function render({ - story, + storyFn, selectedKind, selectedStory, showMain, @@ -28,9 +28,9 @@ export default function render({ }) { Vue.config.errorHandler = showException; - const component = story(); + const element = storyFn(); - if (!component) { + if (!element) { showError({ title: `Expecting a Vue component from the story: "${selectedStory}" of "${selectedKind}".`, description: stripIndents` @@ -45,10 +45,10 @@ export default function render({ // at component creation || refresh by HMR if (!root[COMPONENT] || !forceRender) { - root[COMPONENT] = component; + root[COMPONENT] = element; } - root[VALUES] = component.options[VALUES]; + root[VALUES] = element.options[VALUES]; if (!root.$el) { root.$mount('#root'); diff --git a/docs/.storybook/config.js b/docs/.storybook/config.js index ac173268f49..85850bef9c4 100644 --- a/docs/.storybook/config.js +++ b/docs/.storybook/config.js @@ -5,7 +5,7 @@ import { MemoryRouter } from 'react-router'; import 'bootstrap/dist/css/bootstrap.css'; import '../src/css/main.css'; -addDecorator(story => {story()}); +addDecorator(storyFn => {storyFn()}); function loadStories() { require('../src/stories'); diff --git a/docs/src/pages/basics/writing-stories/index.md b/docs/src/pages/basics/writing-stories/index.md index 20d87e9ad06..1a6167ad0b9 100644 --- a/docs/src/pages/basics/writing-stories/index.md +++ b/docs/src/pages/basics/writing-stories/index.md @@ -79,7 +79,7 @@ import { storiesOf } from '@storybook/react'; import MyComponent from '../my_component'; storiesOf('MyComponent', module) - .addDecorator(story =>
{story()}
) + .addDecorator(storyFn =>
{storyFn()}
) .add('without props', () => ) .add('with some props', () => ); ``` @@ -92,7 +92,7 @@ It is possible to apply a decorator **globally** to all the stories. Here is an import React from 'react'; import { configure, addDecorator } from '@storybook/react'; -addDecorator(story =>
{story()}
); +addDecorator(storyFn =>
{storyFn()}
); configure(function() { // ... diff --git a/examples/html-kitchen-sink/stories/addon-events.stories.js b/examples/html-kitchen-sink/stories/addon-events.stories.js index 954f7eeea87..5da5b3b9c38 100644 --- a/examples/html-kitchen-sink/stories/addon-events.stories.js +++ b/examples/html-kitchen-sink/stories/addon-events.stories.js @@ -85,9 +85,9 @@ storiesOf('Addons|Events', module) ], }) ) - .addDecorator(story => { + .addDecorator(storyFn => { addons.getChannel().emit(CoreEvents.REGISTER_SUBSCRIPTION, subscription); - return story(); + return storyFn(); }) .add( 'Logger', diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index fcf28e6631e..9c3a6b3351e 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -33,10 +33,10 @@ addDecorator(withCssResources); addDecorator(withA11Y); addDecorator(withNotes); -addDecorator(fn => ( +addDecorator(storyFn => ( - {fn()} + {storyFn()} )); diff --git a/examples/official-storybook/stories/addon-events.stories.js b/examples/official-storybook/stories/addon-events.stories.js index afa8dde8ad7..8c17d0a917a 100644 --- a/examples/official-storybook/stories/addon-events.stories.js +++ b/examples/official-storybook/stories/addon-events.stories.js @@ -83,9 +83,9 @@ storiesOf('Addons|Events.deprecated', module) selectedPanel: 'storybook/events/panel', }, }) - .addDecorator(story => ( + .addDecorator(storyFn => ( - {story()} + {storyFn()} )) .add('Logger', () => ); diff --git a/examples/official-storybook/stories/addon-links.stories.js b/examples/official-storybook/stories/addon-links.stories.js index b2d00fb7379..c5f6a148ba6 100644 --- a/examples/official-storybook/stories/addon-links.stories.js +++ b/examples/official-storybook/stories/addon-links.stories.js @@ -49,10 +49,10 @@ storiesOf('Addons|Links.Href', module).add( ); storiesOf('Addons|Links.Scroll position', module) - .addDecorator(story => ( + .addDecorator(storyFn => (
Scroll down to see the link
- {story()} + {storyFn()}
)) .add('First', () => Go to Second) diff --git a/examples/polymer-cli/src/stories/custom-decorators.stories.js b/examples/polymer-cli/src/stories/custom-decorators.stories.js index c2ef4cdf3dd..158b8be733c 100644 --- a/examples/polymer-cli/src/stories/custom-decorators.stories.js +++ b/examples/polymer-cli/src/stories/custom-decorators.stories.js @@ -2,8 +2,8 @@ import { storiesOf } from '@storybook/polymer'; import { document } from 'global'; storiesOf('Custom|Decorator', module) - .addDecorator(story => { - const el = story(); + .addDecorator(storyFn => { + const el = storyFn(); el.setAttribute('title', `${el.getAttribute('title')} - decorated`); return el; }) diff --git a/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js b/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js index 3ff25608877..3c3a022d3cd 100644 --- a/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js +++ b/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js @@ -3,9 +3,9 @@ import { storiesOf } from '@storybook/vue'; import MyButton from './Button.vue'; storiesOf('Custom|Decorator for Vue', module) - .addDecorator(story => { - // Decorated with story function - const WrapButton = story(); + .addDecorator(storyFn => { + // Decorated with story-function + const WrapButton = storyFn(); return { components: { WrapButton }, template: '
', diff --git a/lib/client-api/src/client_api.js b/lib/client-api/src/client_api.js index d72d859ed1a..00af49f1697 100644 --- a/lib/client-api/src/client_api.js +++ b/lib/client-api/src/client_api.js @@ -4,7 +4,6 @@ import isPlainObject from 'is-plain-object'; import { logger } from '@storybook/client-logger'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; -import memoize from 'memoizerific'; import mergeWith from 'lodash.mergewith'; import isEqual from 'lodash.isequal'; @@ -31,7 +30,7 @@ const merge = (a, b) => return undefined; }); -export const defaultDecorateStory = (getStory, decorators) => +export const defaultDecorateStory = (storyFn, decorators) => decorators.reduce( (decorated, decorator) => (context = {}) => decorator( @@ -47,7 +46,7 @@ export const defaultDecorateStory = (getStory, decorators) => ), context ), - getStory + storyFn ); const metaSubscription = () => { @@ -57,7 +56,9 @@ const metaSubscription = () => { }; const withSubscriptionTracking = storyFn => { - if (!addons.hasChannel()) return storyFn(); + if (!addons.hasChannel()) { + return storyFn(); + } subscriptionsStore.markAllAsUnused(); subscriptionsStore.register(metaSubscription); const result = storyFn(); @@ -145,7 +146,7 @@ export default class ClientApi { }; }); - api.add = (storyName, getStory, parameters) => { + api.add = (storyName, storyFn, parameters) => { const { _globalParameters, _globalDecorators } = this; const id = toId(kind, storyName); @@ -159,11 +160,6 @@ export default class ClientApi { }); } - // Wrap the getStory function with each decorator. The first - // decorator will wrap the story function. The second will - // wrap the first decorator and so on. - const decorators = [...localDecorators, ..._globalDecorators, withSubscriptionTracking]; - const fileName = m ? m.id : null; const { hierarchyRootSeparator = '|', hierarchySeparator = /\/|\./ } = this.getSeparators(); @@ -196,15 +192,19 @@ export default class ClientApi { { fileName } ); - this._storyStore.addStory({ - id, - kind, - name: storyName, - story: getStory, - // lazily decorate the story when it's loaded - getDecorated: memoize(1)(() => this._decorateStory(getStory, decorators)), - parameters: allParam, - }); + this._storyStore.addStory( + { + id, + kind, + name: storyName, + storyFn, + parameters: allParam, + }, + { + applyDecorators: this._decorateStory, + getDecorators: () => [...localDecorators, ..._globalDecorators, withSubscriptionTracking], + } + ); return api; }; @@ -221,8 +221,8 @@ export default class ClientApi { return api; }; + // legacy getStorybook = () => - // TODO: this could all be 1 call this._storyStore.getStoryKinds().map(kind => { const fileName = this._storyStore.getStoryFileName(kind); diff --git a/lib/client-api/src/client_api.test.js b/lib/client-api/src/client_api.test.js index 20ec7c9db80..ebf4d99b191 100644 --- a/lib/client-api/src/client_api.test.js +++ b/lib/client-api/src/client_api.test.js @@ -123,7 +123,7 @@ describe('preview.client_api', () => { .addDecorator(fn => `aa-${fn()}`) .add('name', () => 'Hello'); - expect(storyStore.fromId('kind--name').story()).toBe('aa-Hello'); + expect(storyStore.fromId('kind--name').storyFn()).toBe('aa-Hello'); }); it('should add global decorators', () => { @@ -136,7 +136,7 @@ describe('preview.client_api', () => { storiesOf('kind', module).add('name', () => 'Hello'); - expect(storyStore.fromId('kind--name').story()).toBe('bb-Hello'); + expect(storyStore.fromId('kind--name').storyFn()).toBe('bb-Hello'); }); it('should utilize both decorators at once', () => { @@ -151,7 +151,7 @@ describe('preview.client_api', () => { .addDecorator(fn => `bb-${fn()}`) .add('name', () => 'Hello'); - expect(storyStore.fromId('kind--name').story()).toBe('aa-bb-Hello'); + expect(storyStore.fromId('kind--name').storyFn()).toBe('aa-bb-Hello'); }); it('should pass the context', () => { @@ -164,7 +164,7 @@ describe('preview.client_api', () => { .addDecorator(fn => `aa-${fn()}`) .add('name', c => `${c.kind}-${c.name}`); - const result = storyStore.fromId('kind--name').story(); + const result = storyStore.fromId('kind--name').storyFn(); expect(result).toBe(`aa-kind-name`); }); @@ -178,7 +178,7 @@ describe('preview.client_api', () => { .addDecorator((fn, { kind, name }) => `${kind}-${name}-${fn()}`) .add('name', () => 'Hello'); - const result = storyStore.fromId('kind--name').story(); + const result = storyStore.fromId('kind--name').storyFn(); expect(result).toBe(`kind-name-Hello`); }); }); @@ -252,8 +252,8 @@ describe('preview.client_api', () => { clientApi: { getStorybook, storiesOf }, } = getContext(); - const story = jest.fn(); - storiesOf('kind', { id: 'foo.js' }).add('name', story); + const fn = jest.fn(); + storiesOf('kind', { id: 'foo.js' }).add('name', fn); const storybook = getStorybook(); diff --git a/lib/client-api/src/story_store.js b/lib/client-api/src/story_store.js index bf140005c05..b7dce29d0bb 100644 --- a/lib/client-api/src/story_store.js +++ b/lib/client-api/src/story_store.js @@ -2,10 +2,13 @@ import { history, document } from 'global'; import EventEmitter from 'eventemitter3'; import qs from 'qs'; -import Events from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; +import memoize from 'memoizerific'; import debounce from 'lodash.debounce'; import { stripIndents } from 'common-tags'; + +import Events from '@storybook/core-events'; +import { logger } from '@storybook/client-logger'; + import toId from './id'; import pathToId from './pathToId'; @@ -93,10 +96,7 @@ export default class StoryStore extends EventEmitter { return null; } - return { - ...data, - story: p => data.getDecorated()({ ...data, parameters: { ...data.parameters, ...p } }), - }; + return data; } catch (e) { logger.warn('failed to get story:', this._data); logger.error(e); @@ -134,28 +134,48 @@ export default class StoryStore extends EventEmitter { delete _data[id]; }; - addStory({ id, kind, name: storyName, story, getDecorated, parameters = {} }) { + addStory( + { id, kind, name, storyFn: original, parameters = {} }, + { getDecorators, applyDecorators } + ) { const { _data } = this; if (_data[id]) { logger.warn(stripIndents` - Story with id ${id} already exists in the store! + Story with id ${id} already exists in the store! - Perhaps you added the same story twice, or you have a name collision? - Story ids need to be unique -- ensure you aren't using the same names modolo url-sanitization.`); + Perhaps you added the same story twice, or you have a name collision? + Story ids need to be unique -- ensure you aren't using the same names modolo url-sanitization. + `); } - _data[id] = toChild({ - kind, - name: storyName, - story, - getDecorated, - parameters, + const identification = { id, + kind, + name, + story: name, // legacy + }; + + // immutable original storyFn + const getOriginal = () => original; + + // lazily decorate the story when it's loaded + const getDecorated = memoize(1)(() => applyDecorators(getOriginal(), getDecorators())); + + const storyFn = p => getDecorated()({ ...identification, parameters: { ...parameters, ...p } }); + + _data[id] = toChild({ + ...identification, + + getDecorated, + getOriginal, + storyFn, + + parameters, }); // LEGACY DATA - this.addLegacyStory({ kind, name: storyName, story, getDecorated, parameters }); + this.addLegacyStory({ kind, name, storyFn, parameters }); // LET'S SEND IT TO THE MANAGER this.pushToManager(); @@ -179,7 +199,7 @@ export default class StoryStore extends EventEmitter { this._revision += 1; } - addLegacyStory({ kind, name, getDecorated, parameters = {} }) { + addLegacyStory({ kind, name, storyFn, parameters = {} }) { const k = toKey(kind); if (!this._legacydata[k]) { this._legacydata[k] = { @@ -194,7 +214,7 @@ export default class StoryStore extends EventEmitter { name, // kind, index: getId(), - fn: (...args) => getDecorated()(...args), + story: storyFn, parameters, }; } @@ -243,9 +263,9 @@ export default class StoryStore extends EventEmitter { return null; } - const { fn, parameters } = storyInfo; + const { story, parameters } = storyInfo; return { - story: fn, + story, parameters, }; } @@ -261,13 +281,8 @@ export default class StoryStore extends EventEmitter { return null; } - const { story, parameters } = data; - return () => - story({ - kind, - story: name, - parameters, - }); + const { story } = data; + return () => story(); } removeStoryKind(kind) { diff --git a/lib/client-api/src/story_store.test.js b/lib/client-api/src/story_store.test.js index 59d96ca8ef9..fdf93daff1e 100644 --- a/lib/client-api/src/story_store.test.js +++ b/lib/client-api/src/story_store.test.js @@ -3,6 +3,7 @@ import createChannel from '@storybook/channel-postmessage'; import Events from '@storybook/core-events'; import StoryStore from './story_store'; +import { defaultDecorateStory } from './client_api'; import toId from './id'; jest.mock('global', () => ({ @@ -21,22 +22,27 @@ jest.mock('global', () => ({ const channel = createChannel({ page: 'preview' }); -const make = (kind, name, story, parameters = {}) => ({ - kind, - name, - story, - getDecorated: () => story, - parameters, - id: toId(kind, name), -}); +const make = (kind, name, storyFn, parameters = {}) => [ + { + kind, + name, + storyFn, + parameters, + id: toId(kind, name), + }, + { + applyDecorators: defaultDecorateStory, + getDecorators: () => [], + }, +]; describe('preview.story_store', () => { describe('raw storage', () => { it('stores hash object', () => { const store = new StoryStore({ channel }); - store.addStory(make('a', '1', () => 0)); - store.addStory(make('a', '2', () => 0)); - store.addStory(make('b', '1', () => 0)); + store.addStory(...make('a', '1', () => 0)); + store.addStory(...make('a', '2', () => 0)); + store.addStory(...make('b', '1', () => 0)); const extracted = store.extract(); @@ -62,10 +68,10 @@ describe('preview.story_store', () => { it('should return storybook with stories', () => { const store = new StoryStore({ channel }); - store.addStory(make('kind-1', 'story-1.1', () => 0)); - store.addStory(make('kind-1', 'story-1.2', () => 0)); - store.addStory(make('kind-2', 'story-2.1', () => 0)); - store.addStory(make('kind-2', 'story-2.2', () => 0)); + store.addStory(...make('kind-1', 'story-1.1', () => 0)); + store.addStory(...make('kind-1', 'story-1.2', () => 0)); + store.addStory(...make('kind-2', 'story-2.1', () => 0)); + store.addStory(...make('kind-2', 'story-2.2', () => 0)); expect(store.dumpStoryBook()).toEqual([ { @@ -83,9 +89,9 @@ describe('preview.story_store', () => { describe('getStoryFileName', () => { it('should return the filename of the first story passed for the kind', () => { const store = new StoryStore({ channel }); - store.addStory(make('kind-1', 'story-1.1', () => 0, { fileName: 'foo.js' })); - store.addStory(make('kind-1', 'story-1.2', () => 0, { fileName: 'foo-2.js' })); - store.addStory(make('kind-2', 'story-2.1', () => 0, { fileName: 'bar.js' })); + store.addStory(...make('kind-1', 'story-1.1', () => 0, { fileName: 'foo.js' })); + store.addStory(...make('kind-1', 'story-1.2', () => 0, { fileName: 'foo-2.js' })); + store.addStory(...make('kind-2', 'story-2.1', () => 0, { fileName: 'bar.js' })); expect(store.getStoryFileName('kind-1')).toBe('foo.js'); expect(store.getStoryFileName('kind-2')).toBe('bar.js'); @@ -107,7 +113,7 @@ describe('preview.story_store', () => { fileName: 'foo.js', parameter: 'value', }; - store.addStory(make('kind', 'name', story, parameters)); + store.addStory(...make('kind', 'name', story, parameters)); expect(store.getStoryAndParameters('kind', 'name').parameters).toEqual(parameters); }); @@ -116,16 +122,18 @@ describe('preview.story_store', () => { describe('getStoryWithContext', () => { it('should return a function that calls the story with the context', () => { const store = new StoryStore({ channel }); - const story = jest.fn(); + const storyFn = jest.fn(); const parameters = { fileName: 'foo.js', parameter: 'value', }; - store.addStory(make('kind', 'name', story, parameters)); + store.addStory(...make('kind', 'name', storyFn, parameters)); const storyWithContext = store.getStoryWithContext('kind', 'name'); storyWithContext(); - expect(story).toHaveBeenCalledWith({ + expect(storyFn).toHaveBeenCalledWith({ + id: 'kind--name', + name: 'name', kind: 'kind', story: 'name', parameters, @@ -143,8 +151,7 @@ describe('preview.story_store', () => { }); describe('STORY_INIT', () => { - const story = () => 0; - const storyBundle = make('kind', 'story', story); + const storyFn = () => 0; it('supports path params', () => { document.location = { @@ -152,27 +159,28 @@ describe('preview.story_store', () => { search: '?path=/story/kind--story&bar=baz', }; const store = new StoryStore({ channel }); - store.addStory(storyBundle); + store.addStory(...make('kind', 'story', storyFn)); store.setSelection = jest.fn(); store.emit(Events.STORY_INIT); expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story'); expect(store.setSelection).toHaveBeenCalled(); - expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(story); + expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(storyFn); }); + it('supports story kind/name params', () => { document.location = { pathname: 'pathname', search: '?selectedKind=kind&selectedStory=story&bar=baz', }; const store = new StoryStore({ channel }); - store.addStory(storyBundle); + store.addStory(...make('kind', 'story', storyFn)); store.setSelection = jest.fn(); store.emit(Events.STORY_INIT); expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story'); expect(store.setSelection).toHaveBeenCalled(); - expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(story); + expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(storyFn); }); }); }); diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js index 01d0a3b5eca..b4da2b35267 100644 --- a/lib/core/src/client/preview/start.js +++ b/lib/core/src/client/preview/start.js @@ -113,9 +113,10 @@ export default function start(render, { decorateStory } = {}) { const renderMain = forceRender => { const revision = storyStore.getRevision(); - const { kind, name, story, id } = storyStore.getSelection() || {}; + const selection = storyStore.getSelection(); + const { kind, name, getDecorated, id } = selection || {}; - if (story) { + if (getDecorated) { // Render story only if selectedKind or selectedStory have changed. // However, we DO want the story to re-render if the store itself has changed // (which happens at the moment when HMR occurs) @@ -140,7 +141,7 @@ export default function start(render, { decorateStory } = {}) { render({ ...context, - story, + ...selection, selectedKind: kind, selectedStory: name, forceRender, From ac27de0563a09f47e0187a65135dd34df737d625 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 20 Feb 2019 13:46:13 +0100 Subject: [PATCH 045/249] Merge pull request #5678 from storybooks/fix/error-reporting FIX broken error reporting --- lib/core/src/server/build-dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/server/build-dev.js b/lib/core/src/server/build-dev.js index 357cb7e4245..7b207d09037 100644 --- a/lib/core/src/server/build-dev.js +++ b/lib/core/src/server/build-dev.js @@ -322,7 +322,7 @@ export async function buildDevStandalone(options) { } else if (error.stats && error.stats.compilation.errors) { error.stats.compilation.errors.forEach(e => logger.plain(e)); } else { - logger.error(Object.keys(error.stats.compilation)); + logger.error(error); } if (error.close) { From 64120f34616cdf200835c700b0e2a88359ab8093 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 19 Feb 2019 11:29:05 +0800 Subject: [PATCH 046/249] Merge pull request #5641 from storybooks/shilman/5639-prerelease-version-check Handle prerelease versions in version check --- lib/ui/src/core/versions.js | 9 ++- lib/ui/src/core/versions.test.js | 96 ++++++++++++++++++++++++-------- 2 files changed, 79 insertions(+), 26 deletions(-) diff --git a/lib/ui/src/core/versions.js b/lib/ui/src/core/versions.js index c20a58983e5..5faed2c883a 100644 --- a/lib/ui/src/core/versions.js +++ b/lib/ui/src/core/versions.js @@ -44,8 +44,11 @@ export default function({ store }) { }, getLatestVersion: () => { const { - versions: { latest }, + versions: { latest, next, current }, } = store.getState(); + if (current && semver.prerelease(current.version) && next) { + return latest && semver.gt(latest.version, next.version) ? latest : next; + } return latest; }, versionUpdateAvailable: () => { @@ -63,10 +66,10 @@ export default function({ store }) { const now = Date.now(); if (!lastVersionCheck || now - lastVersionCheck > checkInterval) { try { - const { latest } = await fetchLatestVersion(currentVersion); + const { latest, next } = await fetchLatestVersion(currentVersion); await store.setState( - { versions: { ...versions, latest }, lastVersionCheck: now }, + { versions: { ...versions, latest, next }, lastVersionCheck: now }, { persistence: 'permanent' } ); } catch (error) { diff --git a/lib/ui/src/core/versions.test.js b/lib/ui/src/core/versions.test.js index 5434aeef973..5e83f5727d3 100644 --- a/lib/ui/src/core/versions.test.js +++ b/lib/ui/src/core/versions.test.js @@ -19,16 +19,25 @@ function createMockStore() { }; } -const makeResponse = version => ({ - json: jest.fn().mockResolvedValue({ - latest: { - version, +const makeResponse = (latest, next) => { + const nextVersion = next && { + next: { + version: next, }, - }), -}); + }; + return { + json: jest.fn().mockResolvedValue({ + latest: { + version: latest, + }, + ...nextVersion, + }), + }; +}; -const newResponse = makeResponse('4.0.0'); -const oldResponse = makeResponse('2.0.0'); +const newResponse = makeResponse('4.0.0', null); +const oldResponse = makeResponse('2.0.0', null); +const prereleaseResponse = makeResponse('3.0.0', '4.0.0-alpha.0'); jest.mock('@storybook/client-logger'); @@ -196,25 +205,66 @@ describe('versions API', () => { }); }); - it('versionUpdateAvailable works for new versions', async () => { - const store = createMockStore(); - const { api, init, state: initialState } = initVersions({ store }); - store.setState(initialState); + describe('versionUpdateAvailable', () => { + describe('stable current version', () => { + it('new latest version', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + store.setState(initialState); - fetch.mockResolvedValueOnce(newResponse); - await init({ api: { ...api, addNotification: jest.fn() } }); + fetch.mockResolvedValueOnce(newResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); - expect(api.versionUpdateAvailable()).toEqual(true); - }); + expect(api.versionUpdateAvailable()).toEqual(true); + }); - it('versionUpdateAvailable works for old versions', async () => { - const store = createMockStore(); - const { api, init, state: initialState } = initVersions({ store }); - store.setState(initialState); + it('old latest version', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + store.setState(initialState); - fetch.mockResolvedValueOnce(oldResponse); - await init({ api: { ...api, addNotification: jest.fn() } }); + fetch.mockResolvedValueOnce(oldResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); - expect(api.versionUpdateAvailable()).toEqual(false); + expect(api.versionUpdateAvailable()).toEqual(false); + }); + + it('new next version', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + store.setState(initialState); + + fetch.mockResolvedValueOnce(prereleaseResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); + + expect(api.versionUpdateAvailable()).toEqual(false); + }); + }); + + describe('prerelease current version', () => { + it('new latest version', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + initialState.versions.current.version = '3.1.0-alpha.0'; + store.setState(initialState); + + fetch.mockResolvedValueOnce(newResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); + + expect(api.versionUpdateAvailable()).toEqual(true); + }); + + it('new next version', async () => { + const store = createMockStore(); + const { api, init, state: initialState } = initVersions({ store }); + initialState.versions.current.version = '3.1.0-alpha.0'; + store.setState(initialState); + + fetch.mockResolvedValueOnce(prereleaseResponse); + await init({ api: { ...api, addNotification: jest.fn() } }); + + expect(api.versionUpdateAvailable()).toEqual(true); + }); + }); }); }); From 022db490235cd7fc973b182315945d5f791fcda5 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 20 Feb 2019 23:17:27 +0800 Subject: [PATCH 047/249] Merge pull request #5672 from storybooks/fix/storysource-not-updating Fix/storysource not updating --- .../storyshots-puppeteer/package.json | 2 +- .../storyshots-puppeteer/src/url.js | 2 +- addons/storysource/package.json | 1 + addons/storysource/src/StoryPanel.js | 25 +- addons/storysource/src/events.js | 2 +- .../inject-decorator.test.js.snap | 83 +- .../storysource/src/loader/parse-helpers.js | 30 +- addons/storysource/src/preview.js | 7 +- .../__snapshots__/storyshots.test.js.snap | 1538 +++---- lib/client-api/package.json | 1 + lib/client-api/src/client_api.js | 3 +- lib/client-api/src/id.js | 29 - lib/client-api/src/index.js | 3 - lib/client-api/src/story_store.js | 4 +- lib/client-api/src/story_store.test.js | 2 +- .../syntaxhighlighter/syntaxhighlighter.js | 9 +- .../TooltipMessage.stories.storyshot | 12 - .../WithTooltip.stories.storyshot | 6 - .../link/__snapshots__/link.stories.storyshot | 54 - lib/components/src/typography/link/link.js | 2 - lib/core/package.json | 1 + lib/core/src/client/preview/index.js | 5 +- lib/core/src/client/preview/start.js | 3 +- lib/router/src/router.tsx | 7 +- .../src => router/src/tests}/id.test.js | 8 +- lib/router/src/typings.d.ts | 1 + lib/router/src/utils.ts | 19 + lib/router/utils.js | 1 + .../src/components/layout/layout.stories.js | 1 + lib/ui/src/core/stories.js | 2 +- lib/ui/src/core/url.js | 2 +- lib/ui/src/libs/id.js | 29 - lib/ui/src/libs/id.test.js | 38 - .../__snapshots__/about.stories.storyshot | 3678 +++++++++-------- 34 files changed, 2565 insertions(+), 3045 deletions(-) delete mode 100644 lib/client-api/src/id.js rename lib/{client-api/src => router/src/tests}/id.test.js (83%) create mode 100644 lib/router/utils.js delete mode 100644 lib/ui/src/libs/id.js delete mode 100644 lib/ui/src/libs/id.test.js diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index bd61c3dbe73..ce996dade11 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -21,7 +21,7 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", "@storybook/node-logger": "5.0.0-rc.3", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", diff --git a/addons/storyshots/storyshots-puppeteer/src/url.js b/addons/storyshots/storyshots-puppeteer/src/url.js index ba3198d61bc..bf01f101b10 100644 --- a/addons/storyshots/storyshots-puppeteer/src/url.js +++ b/addons/storyshots/storyshots-puppeteer/src/url.js @@ -1,4 +1,4 @@ -import { toId } from '@storybook/core/client'; +import { toId } from '@storybook/router/utils'; import { URL } from 'url'; diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 81902504d64..78ec404fbfd 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -24,6 +24,7 @@ "@storybook/addons": "5.0.0-rc.3", "@storybook/components": "5.0.0-rc.3", "@storybook/theming": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/storysource/src/StoryPanel.js b/addons/storysource/src/StoryPanel.js index 86ec970f24f..07e17f75163 100644 --- a/addons/storysource/src/StoryPanel.js +++ b/addons/storysource/src/StoryPanel.js @@ -1,7 +1,8 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { styled } from '@storybook/theming'; -import { Link, SyntaxHighlighter } from '@storybook/components'; +import { Link } from '@storybook/router'; +import { SyntaxHighlighter } from '@storybook/components'; import { createElement } from 'react-syntax-highlighter'; import { EVENT_ID } from './events'; @@ -10,6 +11,7 @@ const StyledStoryLink = styled(Link)(({ theme }) => ({ display: 'block', textDecoration: 'none', borderRadius: theme.appBorderRadius, + '&:hover': { background: theme.background.hoverable, }, @@ -23,6 +25,7 @@ const SelectedStoryHighlight = styled.div(({ theme }) => ({ const StyledSyntaxHighlighter = styled(SyntaxHighlighter)(({ theme }) => ({ fontSize: theme.typography.size.s2 - 1, })); + const areLocationsEqual = (a, b) => a.startLoc.line === b.startLoc.line && a.startLoc.col === b.startLoc.col && @@ -73,14 +76,6 @@ export default class StoryPanel extends Component { }); }; - clickOnStory = (kind, story) => { - const { api } = this.props; - - if (kind && story) { - api.selectStory(kind, story); - } - }; - createPart = (rows, stylesheet, useInlineStyles) => rows.map((node, i) => createElement({ @@ -91,7 +86,7 @@ export default class StoryPanel extends Component { }) ); - createStoryPart = (rows, stylesheet, useInlineStyles, location, kindStory) => { + createStoryPart = (rows, stylesheet, useInlineStyles, location, id) => { const { currentLocation } = this.state; const first = location.startLoc.line - 1; const last = location.endLoc.line; @@ -108,15 +103,8 @@ export default class StoryPanel extends Component { ); } - const [selectedKind, selectedStory] = kindStory.split('@'); - const url = `/?selectedKind=${selectedKind}&selectedStory=${selectedStory}`; - return ( - this.clickOnStory(selectedKind, selectedStory)} - > + {story} ); @@ -179,6 +167,7 @@ export default class StoryPanel extends Component { language="jsx" showLineNumbers="true" renderer={this.lineRenderer} + format={false} copyable={false} padded > diff --git a/addons/storysource/src/events.js b/addons/storysource/src/events.js index 6efb4f843c5..37a7edb2496 100644 --- a/addons/storysource/src/events.js +++ b/addons/storysource/src/events.js @@ -1,3 +1,3 @@ export const ADDON_ID = 'storybook/storysource'; export const PANEL_ID = `${ADDON_ID}/panel`; -export const EVENT_ID = `${ADDON_ID}/story-event`; +export const EVENT_ID = `${ADDON_ID}/set`; diff --git a/addons/storysource/src/loader/__snapshots__/inject-decorator.test.js.snap b/addons/storysource/src/loader/__snapshots__/inject-decorator.test.js.snap index ef68c362afa..71a9f6f70c7 100644 --- a/addons/storysource/src/loader/__snapshots__/inject-decorator.test.js.snap +++ b/addons/storysource/src/loader/__snapshots__/inject-decorator.test.js.snap @@ -252,7 +252,7 @@ storiesOf('Addons|Info.GitHub issues', module).add( exports[`inject-decorator positive - angular calculates "adds" map 1`] = ` Object { - "Custom|ng-content@Default": Object { + "custom-ng-content--default": Object { "endLoc": Object { "col": 2, "line": 17, @@ -284,20 +284,7 @@ storiesOf('Custom|ng-content', module).addDecorator(withStorySource(__STORY__, _ " `; -exports[`inject-decorator positive - flow calculates "adds" map 1`] = ` -Object { - "@Flow Class": Object { - "endLoc": Object { - "col": 70, - "line": 35, - }, - "startLoc": Object { - "col": 12, - "line": 35, - }, - }, -} -`; +exports[`inject-decorator positive - flow calculates "adds" map 1`] = `Object {}`; exports[`inject-decorator positive - flow injects stories decorator after the all "storiesOf" functions 1`] = ` "// @flow @@ -340,7 +327,7 @@ stories.add('Flow Class', withInfo('Lorum Ipsum Nem')(() => )); exports[`inject-decorator positive - ts calculates "adds" map 1`] = ` Object { - "ngrx|Store@With component": Object { + "ngrx-store--with-component": Object { "endLoc": Object { "col": 3, "line": 32, @@ -390,7 +377,7 @@ storiesOf('ngrx|Store', module).addDecorator(withStorySource(__STORY__, __ADDS_M exports[`inject-decorator positive calculates "adds" map 1`] = ` Object { - "Addons|Info.Decorator@Use Info as story decorator": Object { + "addons-info-decorator--use-info-as-story-decorator": Object { "endLoc": Object { "col": 73, "line": 137, @@ -400,7 +387,7 @@ Object { "line": 137, }, }, - "Addons|Info.GitHub issues@#1814": Object { + "addons-info-github-issues--1814": Object { "endLoc": Object { "col": 4, "line": 152, @@ -410,7 +397,7 @@ Object { "line": 146, }, }, - "Addons|Info.Markdown@Displays Markdown in description": Object { + "addons-info-markdown--displays-markdown-in-description": Object { "endLoc": Object { "col": 96, "line": 44, @@ -420,17 +407,7 @@ Object { "line": 43, }, }, - "Addons|Info.Options.TableComponent@Use a custom component for the table": Object { - "endLoc": Object { - "col": 41, - "line": 130, - }, - "startLoc": Object { - "col": 2, - "line": 127, - }, - }, - "Addons|Info.Options.header@Shows or hides Info Addon header": Object { + "addons-info-options-header--shows-or-hides-info-addon-header": Object { "endLoc": Object { "col": 41, "line": 60, @@ -440,7 +417,7 @@ Object { "line": 56, }, }, - "Addons|Info.Options.inline@Inlines component inside story": Object { + "addons-info-options-inline--inlines-component-inside-story": Object { "endLoc": Object { "col": 41, "line": 52, @@ -450,7 +427,7 @@ Object { "line": 48, }, }, - "Addons|Info.Options.propTables@Shows additional component prop tables": Object { + "addons-info-options-proptables--shows-additional-component-prop-tables": Object { "endLoc": Object { "col": 41, "line": 76, @@ -460,7 +437,7 @@ Object { "line": 72, }, }, - "Addons|Info.Options.propTablesExclude@Exclude component from prop tables": Object { + "addons-info-options-proptablesexclude--exclude-component-from-prop-tables": Object { "endLoc": Object { "col": 4, "line": 89, @@ -470,7 +447,7 @@ Object { "line": 80, }, }, - "Addons|Info.Options.source@Shows or hides Info Addon source": Object { + "addons-info-options-source--shows-or-hides-info-addon-source": Object { "endLoc": Object { "col": 41, "line": 68, @@ -480,7 +457,7 @@ Object { "line": 64, }, }, - "Addons|Info.Options.styles@Extend info styles with an object": Object { + "addons-info-options-styles--extend-info-styles-with-an-object": Object { "endLoc": Object { "col": 43, "line": 108, @@ -490,7 +467,7 @@ Object { "line": 94, }, }, - "Addons|Info.Options.styles@Full control over styles using a function": Object { + "addons-info-options-styles--full-control-over-styles-using-a-function": Object { "endLoc": Object { "col": 43, "line": 123, @@ -500,7 +477,27 @@ Object { "line": 111, }, }, - "Addons|Info.React Docgen@Comments from Flow declarations": Object { + "addons-info-options-tablecomponent--use-a-custom-component-for-the-table": Object { + "endLoc": Object { + "col": 41, + "line": 130, + }, + "startLoc": Object { + "col": 2, + "line": 127, + }, + }, + "addons-info-react-docgen--comments-from-component-declaration": Object { + "endLoc": Object { + "col": 70, + "line": 28, + }, + "startLoc": Object { + "col": 4, + "line": 25, + }, + }, + "addons-info-react-docgen--comments-from-flow-declarations": Object { "endLoc": Object { "col": 85, "line": 22, @@ -510,7 +507,7 @@ Object { "line": 19, }, }, - "Addons|Info.React Docgen@Comments from PropType declarations": Object { + "addons-info-react-docgen--comments-from-proptype-declarations": Object { "endLoc": Object { "col": 79, "line": 16, @@ -520,16 +517,6 @@ Object { "line": 13, }, }, - "Addons|Info.React Docgen@Comments from component declaration": Object { - "endLoc": Object { - "col": 70, - "line": 28, - }, - "startLoc": Object { - "col": 4, - "line": 25, - }, - }, } `; diff --git a/addons/storysource/src/loader/parse-helpers.js b/addons/storysource/src/loader/parse-helpers.js index 18b005ea2db..a27f4862cf2 100644 --- a/addons/storysource/src/loader/parse-helpers.js +++ b/addons/storysource/src/loader/parse-helpers.js @@ -1,3 +1,5 @@ +const { toId } = require('@storybook/router/utils'); + const STORIES_OF = 'storiesOf'; function pushParts(source, parts, from, to) { @@ -79,20 +81,22 @@ export function handleADD(node, parent, adds) { } const kind = findRelatedKind(node.object) || ''; - const key = `${kind}@${storyName.value}`; + if (kind && storyName.value) { + const key = toId(kind, storyName.value); - // eslint-disable-next-line no-param-reassign - adds[key] = { - // Debug: code: source.slice(storyName.start, lastArg.end), - startLoc: { - col: storyName.loc.start.column, - line: storyName.loc.start.line, - }, - endLoc: { - col: lastArg.loc.end.column, - line: lastArg.loc.end.line, - }, - }; + // eslint-disable-next-line no-param-reassign + adds[key] = { + // Debug: code: source.slice(storyName.start, lastArg.end), + startLoc: { + col: storyName.loc.start.column, + line: storyName.loc.start.line, + }, + endLoc: { + col: lastArg.loc.end.column, + line: lastArg.loc.end.line, + }, + }; + } } export function handleSTORYOF(node, parts, source, lastIndex) { diff --git a/addons/storysource/src/preview.js b/addons/storysource/src/preview.js index 1aa601caa95..93a15a9ed92 100644 --- a/addons/storysource/src/preview.js +++ b/addons/storysource/src/preview.js @@ -1,15 +1,12 @@ import addons from '@storybook/addons'; import { EVENT_ID } from './events'; -function getLocation(context, locationsMap) { - return locationsMap[`${context.kind}@${context.name}`] || locationsMap[`@${context.name}`]; -} +const getLocation = (context, locationsMap) => locationsMap[context.id]; function setStorySource(context, source, locationsMap) { - const channel = addons.getChannel(); const currentLocation = getLocation(context, locationsMap); - channel.emit(EVENT_ID, { + addons.getChannel().emit(EVENT_ID, { source, currentLocation, locationsMap, diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index b5b360c575c..41cb155db4f 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -10,6 +10,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -25,6 +26,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` -ms-flex-align: center; align-items: center; color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -57,6 +59,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -72,6 +75,7 @@ exports[`Storyshots Basics|ActionBar manyItems 1`] = ` -ms-flex-align: center; align-items: center; color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -132,6 +136,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -147,6 +152,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` -ms-flex-align: center; align-items: center; color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -179,6 +185,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + background: #FFFFFF; } .emotion-0 { @@ -194,6 +201,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` -ms-flex-align: center; align-items: center; color: #333333; + background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; @@ -2361,10 +2369,6 @@ exports[`Storyshots Basics|DocumentFormatting withMarkdown 1`] = ` `; exports[`Storyshots Basics|Placeholder singleChild 1`] = ` -.emotion-0 { - font-weight: 700; -} - .emotion-1 { padding: 30px; text-align: center; @@ -2383,6 +2387,10 @@ exports[`Storyshots Basics|Placeholder singleChild 1`] = ` font-size: 13px; } +.emotion-0 { + font-weight: 700; +} +
@@ -2395,6 +2403,13 @@ exports[`Storyshots Basics|Placeholder singleChild 1`] = ` `; exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` +.emotion-4 { + padding: 30px; + text-align: center; + color: #333333; + font-size: 13px; +} + .emotion-0 { font-weight: 700; } @@ -2415,9 +2430,6 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` .emotion-2:hover, .emotion-2:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -2427,9 +2439,6 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` } .emotion-2:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -2474,9 +2483,6 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` .emotion-2:hover, .emotion-2:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -2486,9 +2492,6 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` } .emotion-2:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -2506,13 +2509,6 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = ` margin-right: 0.4em; } -.emotion-4 { - padding: 30px; - text-align: center; - color: #333333; - font-size: 13px; -} -
@@ -2568,43 +2564,6 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); } .emotion-0 svg { @@ -2618,6 +2577,10 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` pointer-events: none; } +.emotion-0 svg path { + fill: currentColor; +} + .emotion-0 { border: 0; border-radius: 3em; @@ -2646,43 +2609,6 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` font-size: 13px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-0:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-0 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-0 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); } .emotion-0 svg { @@ -2696,6 +2622,10 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` pointer-events: none; } +.emotion-0 svg path { + fill: currentColor; +} + +
+
+
-
- -
Keyboard shortcuts
Commands
Shortcut
Go full screen
Toggle addons
Toggle addons orientation
Toggle sidebar
Toggle canvas toolbar
Focus search
Focus sidebar
Focus canvas
Focus addons
Previous component
Next component
Previous story
Next story
Go to shortcuts page
Go to about page
Docs GitHub Support @@ -4916,13 +4852,15 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` .emotion-16 { min-width: 180px; + overflow: hidden; + border-radius: 8px; } .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; - color: #999999; + color: rgba(51,51,51,0.5); -webkit-text-decoration: none; text-decoration: none; cursor: pointer; @@ -4942,10 +4880,6 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` align-items: center; } -.emotion-5 + .emotion-5 { - border-top: 1px solid #EEEEEE; -} - .emotion-5 > * + * { padding-left: 10px; } @@ -4988,7 +4922,7 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` } .emotion-3 { - color: #444444; + color: #333333; } .emotion-6 { @@ -5005,13 +4939,15 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` .emotion-16 { min-width: 180px; + overflow: hidden; + border-radius: 8px; } .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; - color: #999999; + color: rgba(51,51,51,0.5); -webkit-text-decoration: none; text-decoration: none; cursor: pointer; @@ -5031,10 +4967,6 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` align-items: center; } -.emotion-5 + .emotion-5 { - border-top: 1px solid #EEEEEE; -} - .emotion-5 > * + * { padding-left: 10px; } @@ -5077,7 +5009,7 @@ exports[`Storyshots UI|Sidebar/ListItemIcon all 1`] = ` } .emotion-3 { - color: #444444; + color: #333333; } .emotion-6 { @@ -5224,7 +5156,7 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(255,255,255,0.95); + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5342,52 +5274,15 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -5399,23 +5294,22 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-8 { @@ -5668,7 +5562,7 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(255,255,255,0.95); + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5786,52 +5680,15 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -5843,23 +5700,22 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-8 { @@ -6083,7 +5939,7 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -6681,23 +6500,22 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-14 { @@ -6866,7 +6684,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-19:hover { @@ -6984,7 +6802,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-29:hover { @@ -7073,7 +6891,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(255,255,255,0.95); + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -7191,52 +7009,15 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -7248,23 +7029,22 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-14 { @@ -7433,7 +7213,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-19:hover { @@ -7551,7 +7331,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-29:hover { @@ -7651,7 +7431,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-3 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-3 svg { display: inline-block; height: 14px; @@ -8046,23 +7789,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` pointer-events: none; } +.emotion-3 svg path { + fill: currentColor; +} + .emotion-3 svg { display: block; margin: 0; } -.emotion-3 svg path { - fill: #666666; -} - .emotion-3:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-3:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5 { @@ -8138,52 +7880,15 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-3:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-3:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-3:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-3 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-3 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-3 svg { display: inline-block; height: 14px; @@ -8195,23 +7900,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` pointer-events: none; } +.emotion-3 svg path { + fill: currentColor; +} + .emotion-3 svg { display: block; margin: 0; } -.emotion-3 svg path { - fill: #666666; -} - .emotion-3:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-3:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5 { @@ -8418,52 +8122,15 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -8475,23 +8142,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5:after { @@ -8608,52 +8274,15 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -8665,23 +8294,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-5:after { @@ -8724,7 +8352,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -8915,23 +8506,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-7 { @@ -9037,52 +8627,15 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` font-size: 12px; font-weight: 700; line-height: 1; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - padding: 7px; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #666666; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); background: transparent; position: relative; overflow: visible; padding: 7px; } -.emotion-5:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-5:hover { - box-shadow: rgba(0,0,0,.2) 0 2px 6px 0; -} - -.emotion-5 > span { - -webkit-transform: scale3d(1,1,1) translate3d(0,0,0); - -ms-transform: scale3d(1,1,1) translate3d(0,0,0); - transform: scale3d(1,1,1) translate3d(0,0,0); - -webkit-transition: -webkit-transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - -webkit-transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - transition: transform 700ms cubic-bezier(0.175,0.885,0.335,1.05); - opacity: 1; -} - -.emotion-5 [role="progressbar"] { - -webkit-transform: translate3d(0,100%,0); - -ms-transform: translate3d(0,100%,0); - transform: translate3d(0,100%,0); -} - .emotion-5 svg { display: inline-block; height: 14px; @@ -9094,23 +8647,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` pointer-events: none; } +.emotion-5 svg path { + fill: currentColor; +} + .emotion-5 svg { display: block; margin: 0; } -.emotion-5 svg path { - fill: #666666; -} - .emotion-5:hover { - box-shadow: #999999 0 0 0 1px inset; + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } .emotion-5:active { - background: #DDDDDD; - box-shadow: #DDDDDD 0 0 0 1px inset; - color: #333333; + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; } .emotion-7 { @@ -9157,7 +8709,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` > *:first-child { +.emotion-6 > *:first-of-type { margin-top: 0; } @@ -11777,9 +11329,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` .emotion-2:hover, .emotion-2:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -11789,9 +11338,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` } .emotion-2:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -11812,7 +11358,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` .emotion-4 { padding: 30px; text-align: center; - color: #666666; + color: #333333; font-size: 13px; } @@ -11824,7 +11370,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` margin-top: 10px; } -.emotion-6 > *:first-child { +.emotion-6 > *:first-of-type { margin-top: 0; } @@ -11844,9 +11390,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` .emotion-2:hover, .emotion-2:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -11856,9 +11399,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories empty 1`] = ` } .emotion-2:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -12128,7 +11668,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` margin-top: 10px; } -.emotion-69 > *:first-child { +.emotion-69 > *:first-of-type { margin-top: 0; } @@ -12348,7 +11888,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` margin-top: 10px; } -.emotion-69 > *:first-child { +.emotion-69 > *:first-of-type { margin-top: 0; } @@ -12851,7 +12391,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-10:hover { @@ -12942,7 +12482,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-15:hover { @@ -13015,7 +12555,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-30:hover { @@ -13027,7 +12567,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` margin-top: 10px; } -.emotion-41 > *:first-child { +.emotion-41 > *:first-of-type { margin-top: 0; } @@ -13223,7 +12763,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-10:hover { @@ -13314,7 +12854,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-15:hover { @@ -13387,7 +12927,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-30:hover { @@ -13399,7 +12939,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` margin-top: 10px; } -.emotion-41 > *:first-child { +.emotion-41 > *:first-of-type { margin-top: 0; } @@ -13825,7 +13365,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-11:hover { @@ -13943,7 +13483,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-21:hover { @@ -13998,7 +13538,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` margin-top: 10px; } -.emotion-40 > *:first-child { +.emotion-40 > *:first-of-type { margin-top: 0; } @@ -14180,7 +13720,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-11:hover { @@ -14298,7 +13838,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; - color: rgba(51,51,51,0.8); + color: #333333; } .emotion-21:hover { @@ -14353,7 +13893,7 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` margin-top: 10px; } -.emotion-40 > *:first-child { +.emotion-40 > *:first-of-type { margin-top: 0; } diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 623e1755e37..067e7512d1a 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -22,6 +22,7 @@ "@storybook/addons": "5.0.0-rc.3", "@storybook/client-logger": "5.0.0-rc.3", "@storybook/core-events": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-api/src/client_api.js b/lib/client-api/src/client_api.js index 00af49f1697..a1e259d139e 100644 --- a/lib/client-api/src/client_api.js +++ b/lib/client-api/src/client_api.js @@ -4,11 +4,12 @@ import isPlainObject from 'is-plain-object'; import { logger } from '@storybook/client-logger'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; +import { toId } from '@storybook/router/utils'; + import mergeWith from 'lodash.mergewith'; import isEqual from 'lodash.isequal'; import subscriptionsStore from './subscriptions_store'; -import toId from './id'; // merge with concatenating arrays, but no duplicates const merge = (a, b) => diff --git a/lib/client-api/src/id.js b/lib/client-api/src/id.js deleted file mode 100644 index 8357b9478d4..00000000000 --- a/lib/client-api/src/id.js +++ /dev/null @@ -1,29 +0,0 @@ -// NOTE: this file is common to both `lib/ui` (manager) and `lib/core` (preview). -// For now it is reproduced in both places (ick) rather than create a new package. -// We should figure out what we are doing here. - -// Create a id/slug compatible string from an arbitrary string. We: -// 1. replace all non-alphanumerics with '-', and downcase. -// 2. replace all runs of '-' with a single '-', -// except if they are at the end, in which case, replace them with '' - -export function sanitize(string) { - return string - .toLowerCase() - .replace(/[^a-z0-9-]/g, '-') - .replace(/-+/g, '-') - .replace(/^-+/, '') - .replace(/-+$/, ''); -} - -function sanitizeSafe(string, part) { - const sanitized = sanitize(string); - if (sanitized === '') { - throw new Error(`Invalid ${part} '${string}', must include alphanumeric characters`); - } - return sanitized; -} - -export default function toId(kind, story) { - return `${sanitizeSafe(kind, 'kind')}--${sanitizeSafe(story, 'story')}`; -} diff --git a/lib/client-api/src/index.js b/lib/client-api/src/index.js index 80195ad8173..4cc48ab9503 100644 --- a/lib/client-api/src/index.js +++ b/lib/client-api/src/index.js @@ -2,7 +2,6 @@ import ClientApi, { defaultDecorateStory } from './client_api'; import StoryStore, { splitPath } from './story_store'; import ConfigApi from './config_api'; import subscriptionsStore from './subscriptions_store'; -import toId, { sanitize } from './id'; import pathToId from './pathToId'; export { @@ -11,8 +10,6 @@ export { ConfigApi, subscriptionsStore, defaultDecorateStory, - toId, - sanitize, pathToId, splitPath, }; diff --git a/lib/client-api/src/story_store.js b/lib/client-api/src/story_store.js index b7dce29d0bb..1ae162cc5ba 100644 --- a/lib/client-api/src/story_store.js +++ b/lib/client-api/src/story_store.js @@ -8,8 +8,8 @@ import { stripIndents } from 'common-tags'; import Events from '@storybook/core-events'; import { logger } from '@storybook/client-logger'; +import { toId } from '@storybook/router/utils'; -import toId from './id'; import pathToId from './pathToId'; // TODO: these are copies from components/nav/lib @@ -282,7 +282,7 @@ export default class StoryStore extends EventEmitter { } const { story } = data; - return () => story(); + return story; } removeStoryKind(kind) { diff --git a/lib/client-api/src/story_store.test.js b/lib/client-api/src/story_store.test.js index fdf93daff1e..095c79ef440 100644 --- a/lib/client-api/src/story_store.test.js +++ b/lib/client-api/src/story_store.test.js @@ -1,10 +1,10 @@ import { history, document } from 'global'; import createChannel from '@storybook/channel-postmessage'; import Events from '@storybook/core-events'; +import { toId } from '@storybook/router/utils'; import StoryStore from './story_store'; import { defaultDecorateStory } from './client_api'; -import toId from './id'; jest.mock('global', () => ({ history: { replaceState: jest.fn() }, diff --git a/lib/components/src/syntaxhighlighter/syntaxhighlighter.js b/lib/components/src/syntaxhighlighter/syntaxhighlighter.js index 4ecc053983d..01617d5ec22 100644 --- a/lib/components/src/syntaxhighlighter/syntaxhighlighter.js +++ b/lib/components/src/syntaxhighlighter/syntaxhighlighter.js @@ -1,4 +1,4 @@ -import React, { PureComponent } from 'react'; +import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { styled } from '@storybook/theming'; import { document, window } from 'global'; @@ -63,7 +63,7 @@ const Code = styled.code({ opacity: 1, }); -export default class CopyableCode extends PureComponent { +export default class CopyableCode extends Component { state = { copied: false }; formatCode = memoize(2)((language, code) => { @@ -111,6 +111,7 @@ export default class CopyableCode extends PureComponent { copyable, bordered, padded, + format, className, ...rest } = this.props; @@ -128,7 +129,7 @@ export default class CopyableCode extends PureComponent { lineNumberContainerStyle={{}} {...rest} > - {this.formatCode(language, children.trim())} + {format ? this.formatCode(language, children.trim()) : children.trim()} {copyable ? ( @@ -145,6 +146,7 @@ CopyableCode.propTypes = { copyable: PropTypes.bool, bordered: PropTypes.bool, padded: PropTypes.bool, + format: PropTypes.bool, className: PropTypes.string, }; @@ -152,5 +154,6 @@ CopyableCode.defaultProps = { copyable: false, bordered: false, padded: false, + format: true, className: null, }; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot index c9f5e1161da..77a33766ec1 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot @@ -203,9 +203,6 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` .emotion-6:hover, .emotion-6:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -215,9 +212,6 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` } .emotion-6:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -370,9 +364,6 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` .emotion-6:hover, .emotion-6:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -382,9 +373,6 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` } .emotion-6:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } diff --git a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot index 06bafb3626b..7f3adb7675e 100644 --- a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot @@ -175,9 +175,6 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` .emotion-8:hover, .emotion-8:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -187,9 +184,6 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` } .emotion-8:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } diff --git a/lib/components/src/typography/link/__snapshots__/link.stories.storyshot b/lib/components/src/typography/link/__snapshots__/link.stories.storyshot index 32e2e18e9eb..d43a0dd939d 100644 --- a/lib/components/src/typography/link/__snapshots__/link.stories.storyshot +++ b/lib/components/src/typography/link/__snapshots__/link.stories.storyshot @@ -17,9 +17,6 @@ exports[`Storyshots Basics|Link cancel w/ href 1`] = ` .emotion-1:hover, .emotion-1:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -29,9 +26,6 @@ exports[`Storyshots Basics|Link cancel w/ href 1`] = ` } .emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -78,9 +72,6 @@ exports[`Storyshots Basics|Link cancel w/ onClick 1`] = ` .emotion-1:hover, .emotion-1:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -90,9 +81,6 @@ exports[`Storyshots Basics|Link cancel w/ onClick 1`] = ` } .emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -139,9 +127,6 @@ exports[`Storyshots Basics|Link no-cancel w/ href 1`] = ` .emotion-1:hover, .emotion-1:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -151,9 +136,6 @@ exports[`Storyshots Basics|Link no-cancel w/ href 1`] = ` } .emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -200,9 +182,6 @@ exports[`Storyshots Basics|Link no-cancel w/ onClick 1`] = ` .emotion-1:hover, .emotion-1:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -212,9 +191,6 @@ exports[`Storyshots Basics|Link no-cancel w/ onClick 1`] = ` } .emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -273,9 +249,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` .emotion-1:hover, .emotion-1:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -285,9 +258,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` } .emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -322,9 +292,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` .emotion-3:hover, .emotion-3:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -334,9 +301,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` } .emotion-3:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -391,9 +355,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` .emotion-5:hover, .emotion-5:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -403,9 +364,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` } .emotion-5:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -460,9 +418,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` .emotion-7:hover, .emotion-7:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -472,9 +427,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` } .emotion-7:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -543,9 +495,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` .emotion-21:hover, .emotion-21:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -555,9 +504,6 @@ exports[`Storyshots Basics|Link styled links 1`] = ` } .emotion-21:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } diff --git a/lib/components/src/typography/link/link.js b/lib/components/src/typography/link/link.js index 40ef6ba9333..60beb306164 100644 --- a/lib/components/src/typography/link/link.js +++ b/lib/components/src/typography/link/link.js @@ -31,14 +31,12 @@ const linkStyles = props => css` &:hover, &:focus { cursor: pointer; - transform: translate3d(0, -1px, 0); color: ${darken(0.07, props.theme.color.secondary)}; svg path { fill: ${darken(0.07, props.theme.color.secondary)}; } } &:active { - transform: translate3d(0, 0, 0); color: ${darken(0.1, props.theme.color.secondary)}; svg path { fill: ${darken(0.1, props.theme.color.secondary)}; diff --git a/lib/core/package.json b/lib/core/package.json index cbe13f26d03..aedfb89b29a 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -30,6 +30,7 @@ "@storybook/client-logger": "5.0.0-rc.3", "@storybook/core-events": "5.0.0-rc.3", "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/router": "5.0.0-rc.3", "@storybook/theming": "5.0.0-rc.3", "@storybook/ui": "5.0.0-rc.3", "airbnb-js-shims": "^1 || ^2", diff --git a/lib/core/src/client/preview/index.js b/lib/core/src/client/preview/index.js index 7f33a12c4be..5fd9ec35687 100644 --- a/lib/core/src/client/preview/index.js +++ b/lib/core/src/client/preview/index.js @@ -1,10 +1,11 @@ -import { ClientApi, StoryStore, ConfigApi, toId } from '@storybook/client-api'; +import { ClientApi, StoryStore, ConfigApi } from '@storybook/client-api'; +import { toId } from '@storybook/router/utils'; import start from './start'; export default { start, + toId, ClientApi, ConfigApi, StoryStore, - toId, }; diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js index b4da2b35267..670293398e9 100644 --- a/lib/core/src/client/preview/start.js +++ b/lib/core/src/client/preview/start.js @@ -1,7 +1,8 @@ import addons from '@storybook/addons'; import { navigator, window, document } from 'global'; import createChannel from '@storybook/channel-postmessage'; -import { ClientApi, StoryStore, ConfigApi, toId } from '@storybook/client-api'; +import { ClientApi, StoryStore, ConfigApi } from '@storybook/client-api'; +import { toId } from '@storybook/router/utils'; import { logger } from '@storybook/client-logger'; import Events from '@storybook/core-events'; import deprecate from 'util-deprecate'; diff --git a/lib/router/src/router.tsx b/lib/router/src/router.tsx index 242535f805f..bb3d87d6e8e 100644 --- a/lib/router/src/router.tsx +++ b/lib/router/src/router.tsx @@ -1,3 +1,4 @@ +import { document } from 'global'; import React from 'react'; import { Link, Location, navigate, LocationProvider } from '@reach/router'; @@ -55,15 +56,15 @@ interface QueryLinkProps { children: React.ReactNode; } -const base = document.location.pathname + '?'; +const getBase = () => document.location.pathname + '?'; const queryNavigate = (to: string) => { - navigate(`${base}path=${to}`); + navigate(`${getBase()}path=${to}`); }; // A component that will navigate to a new location/path when clicked const QueryLink = ({ to, children, ...rest }: QueryLinkProps) => ( - + {children} ); diff --git a/lib/client-api/src/id.test.js b/lib/router/src/tests/id.test.js similarity index 83% rename from lib/client-api/src/id.test.js rename to lib/router/src/tests/id.test.js index c97c0a8ba1f..f65c6c414fe 100644 --- a/lib/client-api/src/id.test.js +++ b/lib/router/src/tests/id.test.js @@ -1,4 +1,4 @@ -import toId from './id'; +import { toId } from '../utils'; describe('toId', () => { [ @@ -26,13 +26,11 @@ describe('toId', () => { it('does not allow story with *no* url chars', () => { expect(() => toId('kind', '?')).toThrow( - `Invalid story '?', must include alphanumeric characters` + `Invalid name '?', must include alphanumeric characters` ); }); it('does not allow empty story', () => { - expect(() => toId('kind', '')).toThrow( - `Invalid story '', must include alphanumeric characters` - ); + expect(() => toId('kind', '')).toThrow(`Invalid name '', must include alphanumeric characters`); }); }); diff --git a/lib/router/src/typings.d.ts b/lib/router/src/typings.d.ts index 82736aa8e1e..e78abbafc83 100644 --- a/lib/router/src/typings.d.ts +++ b/lib/router/src/typings.d.ts @@ -1,3 +1,4 @@ // todo the following packages need definition files or a TS migration declare module 'qs'; +declare module 'global'; declare module '@reach/router'; diff --git a/lib/router/src/utils.ts b/lib/router/src/utils.ts index f9a2962a5e8..a0659d3b31a 100644 --- a/lib/router/src/utils.ts +++ b/lib/router/src/utils.ts @@ -9,6 +9,25 @@ interface StoryData { const knownViewModesRegex = /(story|info)/; const splitPath = /\/([^/]+)\/([^/]+)?/; +export const sanitize = (string: string) => { + return string + .toLowerCase() + .replace(/[^a-z0-9-]/g, '-') + .replace(/-+/g, '-') + .replace(/^-+/, '') + .replace(/-+$/, ''); +}; + +const sanitizeSafe = (string: string, part: string) => { + const sanitized = sanitize(string); + if (sanitized === '') { + throw new Error(`Invalid ${part} '${string}', must include alphanumeric characters`); + } + return sanitized; +}; + +export const toId = (kind: string, name: string) => `${sanitizeSafe(kind, 'kind')}--${sanitizeSafe(name, 'name')}`; + export const storyDataFromString: (path: string) => StoryData = memoize(1000)((path: string | undefined | null) => { const result: StoryData = { viewMode: undefined, diff --git a/lib/router/utils.js b/lib/router/utils.js new file mode 100644 index 00000000000..4dcd9ca05ac --- /dev/null +++ b/lib/router/utils.js @@ -0,0 +1 @@ +module.exports = require('./dist/utils'); diff --git a/lib/ui/src/components/layout/layout.stories.js b/lib/ui/src/components/layout/layout.stories.js index 4d36bf13da7..c11cc9004c1 100644 --- a/lib/ui/src/components/layout/layout.stories.js +++ b/lib/ui/src/components/layout/layout.stories.js @@ -21,6 +21,7 @@ const realNavProps = { url: 'https://example.com', notifications: [], stories: mockDataset.withRoot, + menu: [], }; const PlaceholderBlock = styled.div(({ color }) => ({ diff --git a/lib/ui/src/core/stories.js b/lib/ui/src/core/stories.js index d67e82e2928..8eb896bf6df 100644 --- a/lib/ui/src/core/stories.js +++ b/lib/ui/src/core/stories.js @@ -1,6 +1,6 @@ import mergeWith from 'lodash.mergewith'; import isEqual from 'lodash.isequal'; -import toId, { sanitize } from '../libs/id'; +import { toId, sanitize } from '@storybook/router/utils'; const merge = (a, b) => mergeWith({}, a, b, (objValue, srcValue) => { diff --git a/lib/ui/src/core/url.js b/lib/ui/src/core/url.js index 2268baf2ff1..91f3806e571 100644 --- a/lib/ui/src/core/url.js +++ b/lib/ui/src/core/url.js @@ -1,5 +1,5 @@ import { queryFromLocation } from '@storybook/router'; -import toId from '../libs/id'; +import { toId } from '@storybook/router/utils'; // Initialize the state based on the URL. // NOTE: diff --git a/lib/ui/src/libs/id.js b/lib/ui/src/libs/id.js deleted file mode 100644 index 8357b9478d4..00000000000 --- a/lib/ui/src/libs/id.js +++ /dev/null @@ -1,29 +0,0 @@ -// NOTE: this file is common to both `lib/ui` (manager) and `lib/core` (preview). -// For now it is reproduced in both places (ick) rather than create a new package. -// We should figure out what we are doing here. - -// Create a id/slug compatible string from an arbitrary string. We: -// 1. replace all non-alphanumerics with '-', and downcase. -// 2. replace all runs of '-' with a single '-', -// except if they are at the end, in which case, replace them with '' - -export function sanitize(string) { - return string - .toLowerCase() - .replace(/[^a-z0-9-]/g, '-') - .replace(/-+/g, '-') - .replace(/^-+/, '') - .replace(/-+$/, ''); -} - -function sanitizeSafe(string, part) { - const sanitized = sanitize(string); - if (sanitized === '') { - throw new Error(`Invalid ${part} '${string}', must include alphanumeric characters`); - } - return sanitized; -} - -export default function toId(kind, story) { - return `${sanitizeSafe(kind, 'kind')}--${sanitizeSafe(story, 'story')}`; -} diff --git a/lib/ui/src/libs/id.test.js b/lib/ui/src/libs/id.test.js deleted file mode 100644 index c97c0a8ba1f..00000000000 --- a/lib/ui/src/libs/id.test.js +++ /dev/null @@ -1,38 +0,0 @@ -import toId from './id'; - -describe('toId', () => { - [ - // name, kind, story, output - ['handles simple cases', 'kind', 'story', 'kind--story'], - ['handles basic substitution', 'a b$c?d😀e', '1-2:3', 'a-b-c-d-e--1-2-3'], - ['handles runs of non-url chars', 'a?&*b', 'story', 'a-b--story'], - ['removes non-url chars from start and end', '?ab-', 'story', 'ab--story'], - ['downcases', 'KIND', 'STORY', 'kind--story'], - ].forEach(([name, kind, story, output]) => { - it(name, () => { - expect(toId(kind, story)).toBe(output); - }); - }); - - it('does not allow kind with *no* url chars', () => { - expect(() => toId('?', 'asdf')).toThrow( - `Invalid kind '?', must include alphanumeric characters` - ); - }); - - it('does not allow empty kind', () => { - expect(() => toId('', 'asdf')).toThrow(`Invalid kind '', must include alphanumeric characters`); - }); - - it('does not allow story with *no* url chars', () => { - expect(() => toId('kind', '?')).toThrow( - `Invalid story '?', must include alphanumeric characters` - ); - }); - - it('does not allow empty story', () => { - expect(() => toId('kind', '')).toThrow( - `Invalid story '', must include alphanumeric characters` - ); - }); -}); diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index d822ee8dc84..6b355b24dd0 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -1,156 +1,208 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` +.emotion-26 { + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-2 > * { + margin-left: 15px; +} + +.emotion-1 { + overflow: hidden; +} + +.emotion-1:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; +} + +.emotion-6 > * { + margin-right: 15px; +} + +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + .emotion-25 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-2 > * { - margin-left: 15px; -} - -.emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-1:first-child { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-6 > * { - margin-right: 15px; -} - -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - -.emotion-4 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-3 { - fill: currentColor; -} - -.emotion-24 { display: block; position: relative; font-size: 13px; @@ -162,645 +214,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` width: 100%; } -.emotion-13 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-13 svg path { - fill: #1EA7FD; -} - -.emotion-13:hover, -.emotion-13:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-13:hover svg path, -.emotion-13:focus svg path { - fill: #0297f5; -} - -.emotion-13:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-13:active svg path { - fill: #028ee6; -} - -.emotion-13 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-21 > * + * { - margin-left: 20px; -} - -.emotion-16 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-16 svg path { - fill: #1EA7FD; -} - -.emotion-16:hover, -.emotion-16:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-16:hover svg path, -.emotion-16:focus svg path { - fill: #0297f5; -} - -.emotion-16:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-16:active svg path { - fill: #028ee6; -} - -.emotion-16 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-16 svg path { - fill: #999999; -} - -.emotion-16:hover { - color: #666666; -} - -.emotion-16:hover svg path { - fill: #666666; -} - -.emotion-16:active { - color: #444444; -} - -.emotion-16:active svg path { - fill: #444444; -} - -.emotion-23 { - display: block; -} - -.emotion-22 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-8 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-8 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - -.emotion-12 > svg:last-of-type { - height: 0.7em; - width: 0.7em; - margin-right: 0; - margin-left: 0.25em; - bottom: auto; - vertical-align: inherit; -} - -.emotion-9 { - background: #FEDED2; - color: #FF4400; - font-weight: 700; - padding: 10px 20px; - margin-bottom: 24px; - border: 1px solid rgba(0,0,0,.1); - text-align: center; -} - -.emotion-14 { - font-weight: 700; - text-align: center; -} - - -`; - -exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -.emotion-41 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; - position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-2 > * { - margin-left: 15px; -} - -.emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; -} - -.emotion-1:first-child { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-6 > * { - margin-right: 15px; -} - -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - -.emotion-4 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-3 { - fill: currentColor; -} - -.emotion-40 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid rgba(0,0,0,.1); - font-weight: 700; -} - -.emotion-37 > * + * { - margin-left: 20px; -} - -.emotion-32 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-32 svg path { - fill: #1EA7FD; -} - -.emotion-32:hover, -.emotion-32:focus { - cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); - color: #0297f5; -} - -.emotion-32:hover svg path, -.emotion-32:focus svg path { - fill: #0297f5; -} - -.emotion-32:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - color: #028ee6; -} - -.emotion-32:active svg path { - fill: #028ee6; -} - -.emotion-32 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-32 svg path { - fill: #999999; -} - -.emotion-32:hover { - color: #666666; -} - -.emotion-32:hover svg path { - fill: #666666; -} - -.emotion-32:active { - color: #444444; -} - -.emotion-32:active svg path { - fill: #444444; -} - -.emotion-39 { - display: block; -} - -.emotion-38 { - padding: 3rem 20px; - max-width: 600px; - margin: 0 auto; -} - -.emotion-8 { - margin-bottom: 20px; - font-size: 28px; - font-weight: 900; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-8 > svg { - height: 32px; - width: auto; - margin-right: 8px; -} - -.emotion-15 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.emotion-10 { - -webkit-letter-spacing: 0.35em; - -moz-letter-spacing: 0.35em; - -ms-letter-spacing: 0.35em; - letter-spacing: 0.35em; - text-transform: uppercase; - font-weight: 900; - font-size: 13px; - line-height: 24px; - color: #999999; -} - .emotion-14 { display: inline-block; -webkit-transition: all 150ms ease-out; @@ -808,8 +221,6 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -webkit-text-decoration: none; text-decoration: none; color: #1EA7FD; - color: #999999; - font-size: 12px; } .emotion-14 svg path { @@ -819,9 +230,6 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` .emotion-14:hover, .emotion-14:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } @@ -831,9 +239,6 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` } .emotion-14:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); color: #028ee6; } @@ -851,26 +256,114 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` margin-right: 0.4em; } -.emotion-14 svg path { +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-22 > * + * { + margin-left: 20px; +} + +.emotion-17 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-17 svg path { + fill: #1EA7FD; +} + +.emotion-17:hover, +.emotion-17:focus { + cursor: pointer; + color: #0297f5; +} + +.emotion-17:hover svg path, +.emotion-17:focus svg path { + fill: #0297f5; +} + +.emotion-17:active { + color: #028ee6; +} + +.emotion-17:active svg path { + fill: #028ee6; +} + +.emotion-17 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-17 svg path { fill: #999999; } -.emotion-14:hover { +.emotion-17:hover { color: #666666; } -.emotion-14:hover svg path { +.emotion-17:hover svg path { fill: #666666; } -.emotion-14:active { +.emotion-17:active { color: #444444; } -.emotion-14:active svg path { +.emotion-17:active svg path { fill: #444444; } +.emotion-24 { + display: block; +} + +.emotion-23 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-9 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-9 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + .emotion-13 > svg:last-of-type { height: 0.7em; width: 0.7em; @@ -880,445 +373,9 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` vertical-align: inherit; } -.emotion-16 { - font-size: 14px; - line-height: 1.6; -} - -.emotion-16 h1 { - font-size: 32px; - font-weight: 900; -} - -.emotion-16 h2 { - font-size: 24px; - border-bottom: 1px solid rgba(0,0,0,.1); -} - -.emotion-16 h3 { - font-size: 20px; -} - -.emotion-16 h4 { - font-size: 16px; -} - -.emotion-16 h5 { - font-size: 14px; -} - -.emotion-16 h6 { - font-size: 14px; - color: #666666; -} - -.emotion-16 pre:not(.hljs) { - background: transparent; - border: none; - border-radius: 0; - padding: 0; - margin: 0; -} - -.emotion-16 pre pre, -.emotion-16 pre.hljs { - padding: 15px; - margin: 0; - overflow: auto; - white-space: pre-wrap; - color: #333333; - font-size: 13px; - line-height: 19px; -} - -.emotion-16 pre pre code, -.emotion-16 pre.hljs code { - color: inherit; - font-size: inherit; -} - -.emotion-16 pre code { - margin: 0; - padding: 0; - white-space: pre; - border: none; - background: transparent; -} - -.emotion-16 pre code, -.emotion-16 pre tt { - background-color: transparent; - border: none; -} - -.emotion-16 body > *:first-child { - margin-top: 0 !important; -} - -.emotion-16 body > *:last-child { - margin-bottom: 0 !important; -} - -.emotion-16 a { - color: #1EA7FD; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-16 a.absent { - color: #cc0000; -} - -.emotion-16 a.anchor { - display: block; - padding-left: 30px; - margin-left: -30px; - cursor: pointer; - position: absolute; - top: 0; - left: 0; - bottom: 0; -} - -.emotion-16 h1, -.emotion-16 h2, -.emotion-16 h3, -.emotion-16 h4, -.emotion-16 h5, -.emotion-16 h6 { - margin: 20px 0 10px; - padding: 0; - cursor: text; - position: relative; -} - -.emotion-16 h2:first-child, -.emotion-16 h1:first-child, -.emotion-16 h1:first-child + h2, -.emotion-16 h3:first-child, -.emotion-16 h4:first-child, -.emotion-16 h5:first-child, -.emotion-16 h6:first-child { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 h1:hover a.anchor, -.emotion-16 h2:hover a.anchor, -.emotion-16 h3:hover a.anchor, -.emotion-16 h4:hover a.anchor, -.emotion-16 h5:hover a.anchor, -.emotion-16 h6:hover a.anchor { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-16 h1 tt, -.emotion-16 h1 code { - font-size: inherit; -} - -.emotion-16 h2 tt, -.emotion-16 h2 code { - font-size: inherit; -} - -.emotion-16 h3 tt, -.emotion-16 h3 code { - font-size: inherit; -} - -.emotion-16 h4 tt, -.emotion-16 h4 code { - font-size: inherit; -} - -.emotion-16 h5 tt, -.emotion-16 h5 code { - font-size: inherit; -} - -.emotion-16 h6 tt, -.emotion-16 h6 code { - font-size: inherit; -} - -.emotion-16 p, -.emotion-16 blockquote, -.emotion-16 ul, -.emotion-16 ol, -.emotion-16 dl, -.emotion-16 li, -.emotion-16 table, -.emotion-16 pre { - margin: 15px 0; -} - -.emotion-16 hr { - border: 0 none; - color: rgba(0,0,0,.1); - height: 4px; - padding: 0; -} - -.emotion-16 body > h2:first-child { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 body > h1:first-child { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 body > h1:first-child + h2 { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 body > h3:first-child, -.emotion-16 body > h4:first-child, -.emotion-16 body > h5:first-child, -.emotion-16 body > h6:first-child { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 a:first-child h1, -.emotion-16 a:first-child h2, -.emotion-16 a:first-child h3, -.emotion-16 a:first-child h4, -.emotion-16 a:first-child h5, -.emotion-16 a:first-child h6 { - margin-top: 0; - padding-top: 0; -} - -.emotion-16 h1 p, -.emotion-16 h2 p, -.emotion-16 h3 p, -.emotion-16 h4 p, -.emotion-16 h5 p, -.emotion-16 h6 p { - margin-top: 0; -} - -.emotion-16 li p.first { - display: inline-block; -} - -.emotion-16 ul, -.emotion-16 ol { - padding-left: 30px; -} - -.emotion-16 ul :first-child, -.emotion-16 ol :first-child { - margin-top: 0; -} - -.emotion-16 ul :last-child, -.emotion-16 ol :last-child { - margin-bottom: 0; -} - -.emotion-16 dl { - padding: 0; -} - -.emotion-16 dl dt { - font-size: 14px; - font-weight: bold; - font-style: italic; - padding: 0; - margin: 15px 0 5px; -} - -.emotion-16 dl dt:first-child { - padding: 0; -} - -.emotion-16 dl dt > :first-child { - margin-top: 0; -} - -.emotion-16 dl dt > :last-child { - margin-bottom: 0; -} - -.emotion-16 dl dd { - margin: 0 0 15px; - padding: 0 15px; -} - -.emotion-16 dl dd > :first-child { - margin-top: 0; -} - -.emotion-16 dl dd > :last-child { - margin-bottom: 0; -} - -.emotion-16 blockquote { - border-left: 4px solid #DDDDDD; - padding: 0 15px; - color: #666666; -} - -.emotion-16 blockquote > :first-child { - margin-top: 0; -} - -.emotion-16 blockquote > :last-child { - margin-bottom: 0; -} - -.emotion-16 table { - padding: 0; - border-collapse: collapse; -} - -.emotion-16 table tr { - border-top: 1px solid rgba(0,0,0,.1); - background-color: white; - margin: 0; - padding: 0; -} - -.emotion-16 table tr:nth-child(2n) { - background-color: #F8F8F8; -} - -.emotion-16 table tr th { - font-weight: bold; - border: 1px solid rgba(0,0,0,.1); - text-align: left; - margin: 0; - padding: 6px 13px; -} - -.emotion-16 table tr td { - border: 1px solid rgba(0,0,0,.1); - text-align: left; - margin: 0; - padding: 6px 13px; -} - -.emotion-16 table tr th :first-child, -.emotion-16 table tr td :first-child { - margin-top: 0; -} - -.emotion-16 table tr th :last-child, -.emotion-16 table tr td :last-child { - margin-bottom: 0; -} - -.emotion-16 img { - max-width: 100%; -} - -.emotion-16 span.frame { - display: block; - overflow: hidden; -} - -.emotion-16 span.frame > span { - border: 1px solid #DDDDDD; - display: block; - float: left; - overflow: hidden; - margin: 13px 0 0; - padding: 7px; - width: auto; -} - -.emotion-16 span.frame span img { - display: block; - float: left; -} - -.emotion-16 span.frame span span { - clear: both; - color: #333333; - display: block; - padding: 5px 0 0; -} - -.emotion-16 span.align-center { - display: block; - overflow: hidden; - clear: both; -} - -.emotion-16 span.align-center > span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: center; -} - -.emotion-16 span.align-center span img { - margin: 0 auto; - text-align: center; -} - -.emotion-16 span.align-right { - display: block; - overflow: hidden; - clear: both; -} - -.emotion-16 span.align-right > span { - display: block; - overflow: hidden; - margin: 13px 0 0; - text-align: right; -} - -.emotion-16 span.align-right span img { - margin: 0; - text-align: right; -} - -.emotion-16 span.float-left { - display: block; - margin-right: 13px; - overflow: hidden; - float: left; -} - -.emotion-16 span.float-left span { - margin: 13px 0 0; -} - -.emotion-16 span.float-right { - display: block; - margin-left: 13px; - overflow: hidden; - float: right; -} - -.emotion-16 span.float-right > span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: right; -} - -.emotion-16 code, -.emotion-16 tt { - margin: 0 2px; - padding: 0 5px; - white-space: nowrap; - border: 1px solid #EEEEEE; - background-color: #F8F8F8; - border-radius: 3px; -} - -.emotion-9 { - background: #E1FFD4; - color: #66BF3C; +.emotion-10 { + background: #FEDED2; + color: #FF4400; font-weight: 700; padding: 10px 20px; margin-bottom: 24px; @@ -1326,293 +383,71 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` text-align: center; } -.emotion-30 { - margin-top: 20px; - padding-bottom: 20px; - border-top: 1px solid rgba(0,0,0,.1); -} - -.emotion-22 { - position: relative; - overflow: hidden; - border: 1px solid rgba(0,0,0,.1); -} - -.emotion-19 { - position: relative; - overflow: auto; -} - -.emotion-19 code { - padding-right: 10px; -} - -.emotion-19 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-19 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-19 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-19 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-19 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-19 * .token.string { - color: #A31515; -} - -.emotion-19 * .token.punctuation { - color: #393A34; -} - -.emotion-19 * .token.operator { - color: #393A34; -} - -.emotion-19 * .token.url { - color: #36acaa; -} - -.emotion-19 * .token.symbol { - color: #36acaa; -} - -.emotion-19 * .token.number { - color: #36acaa; -} - -.emotion-19 * .token.boolean { - color: #36acaa; -} - -.emotion-19 * .token.variable { - color: #36acaa; -} - -.emotion-19 * .token.constant { - color: #36acaa; -} - -.emotion-19 * .token.inserted { - color: #36acaa; -} - -.emotion-19 * .token.atrule { - color: #0000ff; -} - -.emotion-19 * .token.keyword { - color: #0000ff; -} - -.emotion-19 * .token.attr-value { - color: #0000ff; -} - -.emotion-19 * .token.function { - color: #393A34; -} - -.emotion-19 * .token.deleted { - color: #9a050f; -} - -.emotion-19 * .token.important { - font-weight: bold; -} - -.emotion-19 * .token.bold { - font-weight: bold; -} - -.emotion-19 * .token.italic { - font-style: italic; -} - -.emotion-19 * .token.class-name { - color: #2B91AF; -} - -.emotion-19 * .token.tag { - color: #800000; -} - -.emotion-19 * .token.selector { - color: #800000; -} - -.emotion-19 * .token.attr-name { - color: #ff0000; -} - -.emotion-19 * .token.property { - color: #ff0000; -} - -.emotion-19 * .token.regex { - color: #ff0000; -} - -.emotion-19 * .token.entity { - color: #ff0000; -} - -.emotion-19 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-19 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-19 * .language-json .token.number { - color: #0000ff; -} - -.emotion-19 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-19 * .namespace { - opacity: 0.7; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-17 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-21 { - position: absolute; - bottom: 0; - right: 0; - max-width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-20 { - border: 0 none; - padding: 4px 10px; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: #666666; - font-size: 12px; - line-height: 16px; +.emotion-15 { font-weight: 700; - border-top: 1px solid rgba(0,0,0,.1); - border-left: 1px solid rgba(0,0,0,.1); - margin-left: -1px; - border-radius: 4px 0 0 0; -} - -.emotion-20:not(:last-child) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-20 + * { - border-left: 1px solid rgba(0,0,0,.1); - border-radius: 0; -} - -.emotion-20:focus { - box-shadow: #1EA7FD 0 -3px 0 0 inset; - outline: 0 none; + text-align: center; }
+
+ +
+
+
-
- -
- Storybook 5.0.3 is available. Upgrade from 5.0.0 now. + Oops! The latest version of Storybook couldn't be fetched.
+ +
+
+
+
+`; + +exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` +.emotion-42 { + width: 100%; + height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-2 > * { + margin-left: 15px; +} + +.emotion-1 { + overflow: hidden; +} + +.emotion-1:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; +} + +.emotion-6 > * { + margin-right: 15px; +} + +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + +.emotion-41 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + +.emotion-38 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid rgba(0,0,0,.1); + font-weight: 700; +} + +.emotion-38 > * + * { + margin-left: 20px; +} + +.emotion-33 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; +} + +.emotion-33 svg path { + fill: #1EA7FD; +} + +.emotion-33:hover, +.emotion-33:focus { + cursor: pointer; + color: #0297f5; +} + +.emotion-33:hover svg path, +.emotion-33:focus svg path { + fill: #0297f5; +} + +.emotion-33:active { + color: #028ee6; +} + +.emotion-33:active svg path { + fill: #028ee6; +} + +.emotion-33 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-33 svg path { + fill: #999999; +} + +.emotion-33:hover { + color: #666666; +} + +.emotion-33:hover svg path { + fill: #666666; +} + +.emotion-33:active { + color: #444444; +} + +.emotion-33:active svg path { + fill: #444444; +} + +.emotion-40 { + display: block; +} + +.emotion-39 { + padding: 3rem 20px; + max-width: 600px; + margin: 0 auto; +} + +.emotion-9 { + margin-bottom: 20px; + font-size: 28px; + font-weight: 900; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-9 > svg { + height: 32px; + width: auto; + margin-right: 8px; +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-11 { + -webkit-letter-spacing: 0.35em; + -moz-letter-spacing: 0.35em; + -ms-letter-spacing: 0.35em; + letter-spacing: 0.35em; + text-transform: uppercase; + font-weight: 900; + font-size: 13px; + line-height: 24px; + color: #999999; +} + +.emotion-15 { + display: inline-block; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-text-decoration: none; + text-decoration: none; + color: #1EA7FD; + color: #999999; + font-size: 12px; +} + +.emotion-15 svg path { + fill: #1EA7FD; +} + +.emotion-15:hover, +.emotion-15:focus { + cursor: pointer; + color: #0297f5; +} + +.emotion-15:hover svg path, +.emotion-15:focus svg path { + fill: #0297f5; +} + +.emotion-15:active { + color: #028ee6; +} + +.emotion-15:active svg path { + fill: #028ee6; +} + +.emotion-15 svg { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: text-top; + position: relative; + bottom: -0.125em; + margin-right: 0.4em; +} + +.emotion-15 svg path { + fill: #999999; +} + +.emotion-15:hover { + color: #666666; +} + +.emotion-15:hover svg path { + fill: #666666; +} + +.emotion-15:active { + color: #444444; +} + +.emotion-15:active svg path { + fill: #444444; +} + +.emotion-14 > svg:last-of-type { + height: 0.7em; + width: 0.7em; + margin-right: 0; + margin-left: 0.25em; + bottom: auto; + vertical-align: inherit; +} + +.emotion-17 { + font-size: 14px; + line-height: 1.6; +} + +.emotion-17 h1 { + font-size: 32px; + font-weight: 900; +} + +.emotion-17 h2 { + font-size: 24px; + border-bottom: 1px solid rgba(0,0,0,.1); +} + +.emotion-17 h3 { + font-size: 20px; +} + +.emotion-17 h4 { + font-size: 16px; +} + +.emotion-17 h5 { + font-size: 14px; +} + +.emotion-17 h6 { + font-size: 14px; + color: #666666; +} + +.emotion-17 pre:not(.hljs) { + background: transparent; + border: none; + border-radius: 0; + padding: 0; + margin: 0; +} + +.emotion-17 pre pre, +.emotion-17 pre.hljs { + padding: 15px; + margin: 0; + overflow: auto; + white-space: pre-wrap; + color: #333333; + font-size: 13px; + line-height: 19px; +} + +.emotion-17 pre pre code, +.emotion-17 pre.hljs code { + color: inherit; + font-size: inherit; +} + +.emotion-17 pre code { + margin: 0; + padding: 0; + white-space: pre; + border: none; + background: transparent; +} + +.emotion-17 pre code, +.emotion-17 pre tt { + background-color: transparent; + border: none; +} + +.emotion-17 body > *:first-of-type { + margin-top: 0 !important; +} + +.emotion-17 body > *:last-child { + margin-bottom: 0 !important; +} + +.emotion-17 a { + color: #1EA7FD; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-17 a.absent { + color: #cc0000; +} + +.emotion-17 a.anchor { + display: block; + padding-left: 30px; + margin-left: -30px; + cursor: pointer; + position: absolute; + top: 0; + left: 0; + bottom: 0; +} + +.emotion-17 h1, +.emotion-17 h2, +.emotion-17 h3, +.emotion-17 h4, +.emotion-17 h5, +.emotion-17 h6 { + margin: 20px 0 10px; + padding: 0; + cursor: text; + position: relative; +} + +.emotion-17 h2:first-of-type, +.emotion-17 h1:first-of-type, +.emotion-17 h1:first-of-type + h2, +.emotion-17 h3:first-of-type, +.emotion-17 h4:first-of-type, +.emotion-17 h5:first-of-type, +.emotion-17 h6:first-of-type { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 h1:hover a.anchor, +.emotion-17 h2:hover a.anchor, +.emotion-17 h3:hover a.anchor, +.emotion-17 h4:hover a.anchor, +.emotion-17 h5:hover a.anchor, +.emotion-17 h6:hover a.anchor { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-17 h1 tt, +.emotion-17 h1 code { + font-size: inherit; +} + +.emotion-17 h2 tt, +.emotion-17 h2 code { + font-size: inherit; +} + +.emotion-17 h3 tt, +.emotion-17 h3 code { + font-size: inherit; +} + +.emotion-17 h4 tt, +.emotion-17 h4 code { + font-size: inherit; +} + +.emotion-17 h5 tt, +.emotion-17 h5 code { + font-size: inherit; +} + +.emotion-17 h6 tt, +.emotion-17 h6 code { + font-size: inherit; +} + +.emotion-17 p, +.emotion-17 blockquote, +.emotion-17 ul, +.emotion-17 ol, +.emotion-17 dl, +.emotion-17 li, +.emotion-17 table, +.emotion-17 pre { + margin: 15px 0; +} + +.emotion-17 hr { + border: 0 none; + color: rgba(0,0,0,.1); + height: 4px; + padding: 0; +} + +.emotion-17 body > h2:first-of-type { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 body > h1:first-of-type { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 body > h1:first-of-type + h2 { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 body > h3:first-of-type, +.emotion-17 body > h4:first-of-type, +.emotion-17 body > h5:first-of-type, +.emotion-17 body > h6:first-of-type { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 a:first-of-type h1, +.emotion-17 a:first-of-type h2, +.emotion-17 a:first-of-type h3, +.emotion-17 a:first-of-type h4, +.emotion-17 a:first-of-type h5, +.emotion-17 a:first-of-type h6 { + margin-top: 0; + padding-top: 0; +} + +.emotion-17 h1 p, +.emotion-17 h2 p, +.emotion-17 h3 p, +.emotion-17 h4 p, +.emotion-17 h5 p, +.emotion-17 h6 p { + margin-top: 0; +} + +.emotion-17 li p.first { + display: inline-block; +} + +.emotion-17 ul, +.emotion-17 ol { + padding-left: 30px; +} + +.emotion-17 ul :first-of-type, +.emotion-17 ol :first-of-type { + margin-top: 0; +} + +.emotion-17 ul :last-child, +.emotion-17 ol :last-child { + margin-bottom: 0; +} + +.emotion-17 dl { + padding: 0; +} + +.emotion-17 dl dt { + font-size: 14px; + font-weight: bold; + font-style: italic; + padding: 0; + margin: 15px 0 5px; +} + +.emotion-17 dl dt:first-of-type { + padding: 0; +} + +.emotion-17 dl dt > :first-of-type { + margin-top: 0; +} + +.emotion-17 dl dt > :last-child { + margin-bottom: 0; +} + +.emotion-17 dl dd { + margin: 0 0 15px; + padding: 0 15px; +} + +.emotion-17 dl dd > :first-of-type { + margin-top: 0; +} + +.emotion-17 dl dd > :last-child { + margin-bottom: 0; +} + +.emotion-17 blockquote { + border-left: 4px solid #DDDDDD; + padding: 0 15px; + color: #666666; +} + +.emotion-17 blockquote > :first-of-type { + margin-top: 0; +} + +.emotion-17 blockquote > :last-child { + margin-bottom: 0; +} + +.emotion-17 table { + padding: 0; + border-collapse: collapse; +} + +.emotion-17 table tr { + border-top: 1px solid rgba(0,0,0,.1); + background-color: white; + margin: 0; + padding: 0; +} + +.emotion-17 table tr:nth-of-type(2n) { + background-color: #F8F8F8; +} + +.emotion-17 table tr th { + font-weight: bold; + border: 1px solid rgba(0,0,0,.1); + text-align: left; + margin: 0; + padding: 6px 13px; +} + +.emotion-17 table tr td { + border: 1px solid rgba(0,0,0,.1); + text-align: left; + margin: 0; + padding: 6px 13px; +} + +.emotion-17 table tr th :first-of-type, +.emotion-17 table tr td :first-of-type { + margin-top: 0; +} + +.emotion-17 table tr th :last-child, +.emotion-17 table tr td :last-child { + margin-bottom: 0; +} + +.emotion-17 img { + max-width: 100%; +} + +.emotion-17 span.frame { + display: block; + overflow: hidden; +} + +.emotion-17 span.frame > span { + border: 1px solid #DDDDDD; + display: block; + float: left; + overflow: hidden; + margin: 13px 0 0; + padding: 7px; + width: auto; +} + +.emotion-17 span.frame span img { + display: block; + float: left; +} + +.emotion-17 span.frame span span { + clear: both; + color: #333333; + display: block; + padding: 5px 0 0; +} + +.emotion-17 span.align-center { + display: block; + overflow: hidden; + clear: both; +} + +.emotion-17 span.align-center > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: center; +} + +.emotion-17 span.align-center span img { + margin: 0 auto; + text-align: center; +} + +.emotion-17 span.align-right { + display: block; + overflow: hidden; + clear: both; +} + +.emotion-17 span.align-right > span { + display: block; + overflow: hidden; + margin: 13px 0 0; + text-align: right; +} + +.emotion-17 span.align-right span img { + margin: 0; + text-align: right; +} + +.emotion-17 span.float-left { + display: block; + margin-right: 13px; + overflow: hidden; + float: left; +} + +.emotion-17 span.float-left span { + margin: 13px 0 0; +} + +.emotion-17 span.float-right { + display: block; + margin-left: 13px; + overflow: hidden; + float: right; +} + +.emotion-17 span.float-right > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: right; +} + +.emotion-17 code, +.emotion-17 tt { + margin: 0 2px; + padding: 0 5px; + white-space: nowrap; + border: 1px solid #EEEEEE; + background-color: #F8F8F8; + border-radius: 3px; +} + +.emotion-10 { + background: #E1FFD4; + color: #66BF3C; + font-weight: 700; + padding: 10px 20px; + margin-bottom: 24px; + border: 1px solid rgba(0,0,0,.1); + text-align: center; +} + +.emotion-31 { + margin-top: 20px; + padding-bottom: 20px; + border-top: 1px solid rgba(0,0,0,.1); +} + +.emotion-23 { + position: relative; + overflow: hidden; + border: 1px solid rgba(0,0,0,.1); +} + +.emotion-20 { + position: relative; + overflow: auto; +} + +.emotion-20 code { + padding-right: 10px; +} + +.emotion-20 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-20 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-20 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-20 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-20 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-20 * .token.string { + color: #A31515; +} + +.emotion-20 * .token.punctuation { + color: #393A34; +} + +.emotion-20 * .token.operator { + color: #393A34; +} + +.emotion-20 * .token.url { + color: #36acaa; +} + +.emotion-20 * .token.symbol { + color: #36acaa; +} + +.emotion-20 * .token.number { + color: #36acaa; +} + +.emotion-20 * .token.boolean { + color: #36acaa; +} + +.emotion-20 * .token.variable { + color: #36acaa; +} + +.emotion-20 * .token.constant { + color: #36acaa; +} + +.emotion-20 * .token.inserted { + color: #36acaa; +} + +.emotion-20 * .token.atrule { + color: #0000ff; +} + +.emotion-20 * .token.keyword { + color: #0000ff; +} + +.emotion-20 * .token.attr-value { + color: #0000ff; +} + +.emotion-20 * .token.function { + color: #393A34; +} + +.emotion-20 * .token.deleted { + color: #9a050f; +} + +.emotion-20 * .token.important { + font-weight: bold; +} + +.emotion-20 * .token.bold { + font-weight: bold; +} + +.emotion-20 * .token.italic { + font-style: italic; +} + +.emotion-20 * .token.class-name { + color: #2B91AF; +} + +.emotion-20 * .token.tag { + color: #800000; +} + +.emotion-20 * .token.selector { + color: #800000; +} + +.emotion-20 * .token.attr-name { + color: #ff0000; +} + +.emotion-20 * .token.property { + color: #ff0000; +} + +.emotion-20 * .token.regex { + color: #ff0000; +} + +.emotion-20 * .token.entity { + color: #ff0000; +} + +.emotion-20 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-20 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-20 * .language-json .token.number { + color: #0000ff; +} + +.emotion-20 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-20 * .namespace { + opacity: 0.7; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-18 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-22 { + position: absolute; + bottom: 0; + right: 0; + max-width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background: #FFFFFF; +} + +.emotion-21 { + border: 0 none; + padding: 4px 10px; + cursor: pointer; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #333333; + background: #FFFFFF; + font-size: 12px; + line-height: 16px; + font-weight: 700; + border-top: 1px solid rgba(0,0,0,.1); + border-left: 1px solid rgba(0,0,0,.1); + margin-left: -1px; + border-radius: 4px 0 0 0; +} + +.emotion-21:not(:last-child) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-21 + * { + border-left: 1px solid rgba(0,0,0,.1); + border-radius: 0; +} + +.emotion-21:focus { + box-shadow: #1EA7FD 0 -3px 0 0 inset; + outline: 0 none; +} + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+ + + + + + + + Storybook 5.0.0 +
+
+ Storybook 5.0.3 is available. Upgrade from 5.0.0 now. +
+
+ + 5.0.3 Changelog + + + Read full changelog
  • @@ -1702,10 +1800,10 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

@@ -1713,16 +1811,16 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `

                   
                     npx npm-check-updates 
                     
               
@@ -1754,26 +1852,26 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` Alternatively, if you're using yarn run the following command, and check all Storybook related packages:

                   
                     yarn upgrade-interactive --latest
                   
                 
@@ -1782,34 +1880,34 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
Docs GitHub Support @@ -1822,7 +1920,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` `; exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -.emotion-27 { +.emotion-28 { width: 100%; height: 100%; box-sizing: border-box; @@ -1835,6 +1933,57 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` flex-direction: column; } +.emotion-8 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-7 { display: -webkit-box; display: -webkit-flex; @@ -1844,14 +1993,9 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + white-space: nowrap; + height: 40px; } .emotion-2 { @@ -1859,9 +2003,12 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-2 > * { @@ -1869,14 +2016,10 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` } .emotion-1 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-1:first-child { +.emotion-1:first-of-type { margin-left: 0; } @@ -1930,6 +2073,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-6 > * { @@ -1971,7 +2121,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` fill: currentColor; } -.emotion-26 { +.emotion-27 { display: block; position: relative; font-size: 13px; @@ -1983,7 +2133,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: 100%; } -.emotion-23 { +.emotion-24 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1994,11 +2144,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-weight: 700; } -.emotion-23 > * + * { +.emotion-24 > * + * { margin-left: 20px; } -.emotion-18 { +.emotion-19 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2008,36 +2158,30 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-18 svg path { +.emotion-19 svg path { fill: #1EA7FD; } -.emotion-18:hover, -.emotion-18:focus { +.emotion-19:hover, +.emotion-19:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } -.emotion-18:hover svg path, -.emotion-18:focus svg path { +.emotion-19:hover svg path, +.emotion-19:focus svg path { fill: #0297f5; } -.emotion-18:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); +.emotion-19:active { color: #028ee6; } -.emotion-18:active svg path { +.emotion-19:active svg path { fill: #028ee6; } -.emotion-18 svg { +.emotion-19 svg { display: inline-block; height: 1em; width: 1em; @@ -2047,37 +2191,37 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-18 svg path { +.emotion-19 svg path { fill: #999999; } -.emotion-18:hover { +.emotion-19:hover { color: #666666; } -.emotion-18:hover svg path { +.emotion-19:hover svg path { fill: #666666; } -.emotion-18:active { +.emotion-19:active { color: #444444; } -.emotion-18:active svg path { +.emotion-19:active svg path { fill: #444444; } -.emotion-25 { +.emotion-26 { display: block; } -.emotion-24 { +.emotion-25 { padding: 3rem 20px; max-width: 600px; margin: 0 auto; } -.emotion-8 { +.emotion-9 { margin-bottom: 20px; font-size: 28px; font-weight: 900; @@ -2091,13 +2235,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` display: flex; } -.emotion-8 > svg { +.emotion-9 > svg { height: 32px; width: auto; margin-right: 8px; } -.emotion-9 { +.emotion-10 { background: #EAF3FC; color: #333333; font-weight: 700; @@ -2107,7 +2251,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` text-align: center; } -.emotion-15 { +.emotion-16 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2118,7 +2262,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` justify-content: space-between; } -.emotion-10 { +.emotion-11 { -webkit-letter-spacing: 0.35em; -moz-letter-spacing: 0.35em; -ms-letter-spacing: 0.35em; @@ -2130,7 +2274,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` color: #999999; } -.emotion-14 { +.emotion-15 { display: inline-block; -webkit-transition: all 150ms ease-out; transition: all 150ms ease-out; @@ -2141,36 +2285,30 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` font-size: 12px; } -.emotion-14 svg path { +.emotion-15 svg path { fill: #1EA7FD; } -.emotion-14:hover, -.emotion-14:focus { +.emotion-15:hover, +.emotion-15:focus { cursor: pointer; - -webkit-transform: translate3d(0,-1px,0); - -ms-transform: translate3d(0,-1px,0); - transform: translate3d(0,-1px,0); color: #0297f5; } -.emotion-14:hover svg path, -.emotion-14:focus svg path { +.emotion-15:hover svg path, +.emotion-15:focus svg path { fill: #0297f5; } -.emotion-14:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); +.emotion-15:active { color: #028ee6; } -.emotion-14:active svg path { +.emotion-15:active svg path { fill: #028ee6; } -.emotion-14 svg { +.emotion-15 svg { display: inline-block; height: 1em; width: 1em; @@ -2180,27 +2318,27 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin-right: 0.4em; } -.emotion-14 svg path { +.emotion-15 svg path { fill: #999999; } -.emotion-14:hover { +.emotion-15:hover { color: #666666; } -.emotion-14:hover svg path { +.emotion-15:hover svg path { fill: #666666; } -.emotion-14:active { +.emotion-15:active { color: #444444; } -.emotion-14:active svg path { +.emotion-15:active svg path { fill: #444444; } -.emotion-13 > svg:last-of-type { +.emotion-14 > svg:last-of-type { height: 0.7em; width: 0.7em; margin-right: 0; @@ -2209,39 +2347,39 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` vertical-align: inherit; } -.emotion-16 { +.emotion-17 { font-size: 14px; line-height: 1.6; } -.emotion-16 h1 { +.emotion-17 h1 { font-size: 32px; font-weight: 900; } -.emotion-16 h2 { +.emotion-17 h2 { font-size: 24px; border-bottom: 1px solid rgba(0,0,0,.1); } -.emotion-16 h3 { +.emotion-17 h3 { font-size: 20px; } -.emotion-16 h4 { +.emotion-17 h4 { font-size: 16px; } -.emotion-16 h5 { +.emotion-17 h5 { font-size: 14px; } -.emotion-16 h6 { +.emotion-17 h6 { font-size: 14px; color: #666666; } -.emotion-16 pre:not(.hljs) { +.emotion-17 pre:not(.hljs) { background: transparent; border: none; border-radius: 0; @@ -2249,8 +2387,8 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 0; } -.emotion-16 pre pre, -.emotion-16 pre.hljs { +.emotion-17 pre pre, +.emotion-17 pre.hljs { padding: 15px; margin: 0; overflow: auto; @@ -2260,13 +2398,13 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` line-height: 19px; } -.emotion-16 pre pre code, -.emotion-16 pre.hljs code { +.emotion-17 pre pre code, +.emotion-17 pre.hljs code { color: inherit; font-size: inherit; } -.emotion-16 pre code { +.emotion-17 pre code { margin: 0; padding: 0; white-space: pre; @@ -2274,31 +2412,31 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: transparent; } -.emotion-16 pre code, -.emotion-16 pre tt { +.emotion-17 pre code, +.emotion-17 pre tt { background-color: transparent; border: none; } -.emotion-16 body > *:first-child { +.emotion-17 body > *:first-of-type { margin-top: 0 !important; } -.emotion-16 body > *:last-child { +.emotion-17 body > *:last-child { margin-bottom: 0 !important; } -.emotion-16 a { +.emotion-17 a { color: #1EA7FD; -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 a.absent { +.emotion-17 a.absent { color: #cc0000; } -.emotion-16 a.anchor { +.emotion-17 a.anchor { display: block; padding-left: 30px; margin-left: -30px; @@ -2309,153 +2447,153 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` bottom: 0; } -.emotion-16 h1, -.emotion-16 h2, -.emotion-16 h3, -.emotion-16 h4, -.emotion-16 h5, -.emotion-16 h6 { +.emotion-17 h1, +.emotion-17 h2, +.emotion-17 h3, +.emotion-17 h4, +.emotion-17 h5, +.emotion-17 h6 { margin: 20px 0 10px; padding: 0; cursor: text; position: relative; } -.emotion-16 h2:first-child, -.emotion-16 h1:first-child, -.emotion-16 h1:first-child + h2, -.emotion-16 h3:first-child, -.emotion-16 h4:first-child, -.emotion-16 h5:first-child, -.emotion-16 h6:first-child { +.emotion-17 h2:first-of-type, +.emotion-17 h1:first-of-type, +.emotion-17 h1:first-of-type + h2, +.emotion-17 h3:first-of-type, +.emotion-17 h4:first-of-type, +.emotion-17 h5:first-of-type, +.emotion-17 h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 h1:hover a.anchor, -.emotion-16 h2:hover a.anchor, -.emotion-16 h3:hover a.anchor, -.emotion-16 h4:hover a.anchor, -.emotion-16 h5:hover a.anchor, -.emotion-16 h6:hover a.anchor { +.emotion-17 h1:hover a.anchor, +.emotion-17 h2:hover a.anchor, +.emotion-17 h3:hover a.anchor, +.emotion-17 h4:hover a.anchor, +.emotion-17 h5:hover a.anchor, +.emotion-17 h6:hover a.anchor { -webkit-text-decoration: none; text-decoration: none; } -.emotion-16 h1 tt, -.emotion-16 h1 code { +.emotion-17 h1 tt, +.emotion-17 h1 code { font-size: inherit; } -.emotion-16 h2 tt, -.emotion-16 h2 code { +.emotion-17 h2 tt, +.emotion-17 h2 code { font-size: inherit; } -.emotion-16 h3 tt, -.emotion-16 h3 code { +.emotion-17 h3 tt, +.emotion-17 h3 code { font-size: inherit; } -.emotion-16 h4 tt, -.emotion-16 h4 code { +.emotion-17 h4 tt, +.emotion-17 h4 code { font-size: inherit; } -.emotion-16 h5 tt, -.emotion-16 h5 code { +.emotion-17 h5 tt, +.emotion-17 h5 code { font-size: inherit; } -.emotion-16 h6 tt, -.emotion-16 h6 code { +.emotion-17 h6 tt, +.emotion-17 h6 code { font-size: inherit; } -.emotion-16 p, -.emotion-16 blockquote, -.emotion-16 ul, -.emotion-16 ol, -.emotion-16 dl, -.emotion-16 li, -.emotion-16 table, -.emotion-16 pre { +.emotion-17 p, +.emotion-17 blockquote, +.emotion-17 ul, +.emotion-17 ol, +.emotion-17 dl, +.emotion-17 li, +.emotion-17 table, +.emotion-17 pre { margin: 15px 0; } -.emotion-16 hr { +.emotion-17 hr { border: 0 none; color: rgba(0,0,0,.1); height: 4px; padding: 0; } -.emotion-16 body > h2:first-child { +.emotion-17 body > h2:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child { +.emotion-17 body > h1:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 body > h1:first-child + h2 { +.emotion-17 body > h1:first-of-type + h2 { margin-top: 0; padding-top: 0; } -.emotion-16 body > h3:first-child, -.emotion-16 body > h4:first-child, -.emotion-16 body > h5:first-child, -.emotion-16 body > h6:first-child { +.emotion-17 body > h3:first-of-type, +.emotion-17 body > h4:first-of-type, +.emotion-17 body > h5:first-of-type, +.emotion-17 body > h6:first-of-type { margin-top: 0; padding-top: 0; } -.emotion-16 a:first-child h1, -.emotion-16 a:first-child h2, -.emotion-16 a:first-child h3, -.emotion-16 a:first-child h4, -.emotion-16 a:first-child h5, -.emotion-16 a:first-child h6 { +.emotion-17 a:first-of-type h1, +.emotion-17 a:first-of-type h2, +.emotion-17 a:first-of-type h3, +.emotion-17 a:first-of-type h4, +.emotion-17 a:first-of-type h5, +.emotion-17 a:first-of-type h6 { margin-top: 0; padding-top: 0; } -.emotion-16 h1 p, -.emotion-16 h2 p, -.emotion-16 h3 p, -.emotion-16 h4 p, -.emotion-16 h5 p, -.emotion-16 h6 p { +.emotion-17 h1 p, +.emotion-17 h2 p, +.emotion-17 h3 p, +.emotion-17 h4 p, +.emotion-17 h5 p, +.emotion-17 h6 p { margin-top: 0; } -.emotion-16 li p.first { +.emotion-17 li p.first { display: inline-block; } -.emotion-16 ul, -.emotion-16 ol { +.emotion-17 ul, +.emotion-17 ol { padding-left: 30px; } -.emotion-16 ul :first-child, -.emotion-16 ol :first-child { +.emotion-17 ul :first-of-type, +.emotion-17 ol :first-of-type { margin-top: 0; } -.emotion-16 ul :last-child, -.emotion-16 ol :last-child { +.emotion-17 ul :last-child, +.emotion-17 ol :last-child { margin-bottom: 0; } -.emotion-16 dl { +.emotion-17 dl { padding: 0; } -.emotion-16 dl dt { +.emotion-17 dl dt { font-size: 14px; font-weight: bold; font-style: italic; @@ -2463,62 +2601,62 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` margin: 15px 0 5px; } -.emotion-16 dl dt:first-child { +.emotion-17 dl dt:first-of-type { padding: 0; } -.emotion-16 dl dt > :first-child { +.emotion-17 dl dt > :first-of-type { margin-top: 0; } -.emotion-16 dl dt > :last-child { +.emotion-17 dl dt > :last-child { margin-bottom: 0; } -.emotion-16 dl dd { +.emotion-17 dl dd { margin: 0 0 15px; padding: 0 15px; } -.emotion-16 dl dd > :first-child { +.emotion-17 dl dd > :first-of-type { margin-top: 0; } -.emotion-16 dl dd > :last-child { +.emotion-17 dl dd > :last-child { margin-bottom: 0; } -.emotion-16 blockquote { +.emotion-17 blockquote { border-left: 4px solid #DDDDDD; padding: 0 15px; color: #666666; } -.emotion-16 blockquote > :first-child { +.emotion-17 blockquote > :first-of-type { margin-top: 0; } -.emotion-16 blockquote > :last-child { +.emotion-17 blockquote > :last-child { margin-bottom: 0; } -.emotion-16 table { +.emotion-17 table { padding: 0; border-collapse: collapse; } -.emotion-16 table tr { +.emotion-17 table tr { border-top: 1px solid rgba(0,0,0,.1); background-color: white; margin: 0; padding: 0; } -.emotion-16 table tr:nth-child(2n) { +.emotion-17 table tr:nth-of-type(2n) { background-color: #F8F8F8; } -.emotion-16 table tr th { +.emotion-17 table tr th { font-weight: bold; border: 1px solid rgba(0,0,0,.1); text-align: left; @@ -2526,33 +2664,33 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` padding: 6px 13px; } -.emotion-16 table tr td { +.emotion-17 table tr td { border: 1px solid rgba(0,0,0,.1); text-align: left; margin: 0; padding: 6px 13px; } -.emotion-16 table tr th :first-child, -.emotion-16 table tr td :first-child { +.emotion-17 table tr th :first-of-type, +.emotion-17 table tr td :first-of-type { margin-top: 0; } -.emotion-16 table tr th :last-child, -.emotion-16 table tr td :last-child { +.emotion-17 table tr th :last-child, +.emotion-17 table tr td :last-child { margin-bottom: 0; } -.emotion-16 img { +.emotion-17 img { max-width: 100%; } -.emotion-16 span.frame { +.emotion-17 span.frame { display: block; overflow: hidden; } -.emotion-16 span.frame > span { +.emotion-17 span.frame > span { border: 1px solid #DDDDDD; display: block; float: left; @@ -2562,81 +2700,81 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` width: auto; } -.emotion-16 span.frame span img { +.emotion-17 span.frame span img { display: block; float: left; } -.emotion-16 span.frame span span { +.emotion-17 span.frame span span { clear: both; color: #333333; display: block; padding: 5px 0 0; } -.emotion-16 span.align-center { +.emotion-17 span.align-center { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-center > span { +.emotion-17 span.align-center > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: center; } -.emotion-16 span.align-center span img { +.emotion-17 span.align-center span img { margin: 0 auto; text-align: center; } -.emotion-16 span.align-right { +.emotion-17 span.align-right { display: block; overflow: hidden; clear: both; } -.emotion-16 span.align-right > span { +.emotion-17 span.align-right > span { display: block; overflow: hidden; margin: 13px 0 0; text-align: right; } -.emotion-16 span.align-right span img { +.emotion-17 span.align-right span img { margin: 0; text-align: right; } -.emotion-16 span.float-left { +.emotion-17 span.float-left { display: block; margin-right: 13px; overflow: hidden; float: left; } -.emotion-16 span.float-left span { +.emotion-17 span.float-left span { margin: 13px 0 0; } -.emotion-16 span.float-right { +.emotion-17 span.float-right { display: block; margin-left: 13px; overflow: hidden; float: right; } -.emotion-16 span.float-right > span { +.emotion-17 span.float-right > span { display: block; overflow: hidden; margin: 13px auto 0; text-align: right; } -.emotion-16 code, -.emotion-16 tt { +.emotion-17 code, +.emotion-17 tt { margin: 0 2px; padding: 0 5px; white-space: nowrap; @@ -2646,57 +2784,65 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` }
+
+ +
+
+
-
- -
Looking good! You're up to date.
  • @@ -2786,34 +2932,34 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
Docs GitHub Support From 65d567bfbad44107c6bbaf866b0f0bbfd43ebe8b Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 16:53:11 +0800 Subject: [PATCH 048/249] Update snapshots --- .../__tests__/__snapshots__/Panel.js.snap | 8 +- .../addon-a11y.stories.storyshot | 38 +- .../addon-actions.stories.storyshot | 1908 ++--------------- .../__snapshots__/Button.stories.storyshot | 4 +- .../form/__snapshots__/form.stories.storyshot | 60 +- .../syntaxhighlighter.stories.storyshot | 2 + .../tabs/__snapshots__/tabs.stories.storyshot | 716 +++---- .../__snapshots__/ListItem.stories.storyshot | 218 +- .../__snapshots__/Tooltip.stories.storyshot | 12 +- .../TooltipLinkList.stories.storyshot | 104 +- .../TooltipMessage.stories.storyshot | 16 +- .../WithTooltip.stories.storyshot | 4 +- .../__snapshots__/layout.stories.storyshot | 8 +- .../__snapshots__/panel.stories.storyshot | 192 +- .../__snapshots__/preview.stories.storyshot | 614 +++--- 15 files changed, 1307 insertions(+), 2597 deletions(-) diff --git a/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap b/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap index df555bca26b..d6b39c95eb6 100644 --- a/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap +++ b/addons/knobs/src/components/__tests__/__snapshots__/Panel.js.snap @@ -40,8 +40,8 @@ Array [ .emotion-0 { min-width: 100px; - min-height: 32px; - margin-right: 16px; + font-weight: 700; + margin-right: 15px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -135,8 +135,8 @@ Array [ .emotion-0 { min-width: 100px; - min-height: 32px; - margin-right: 16px; + font-weight: 700; + margin-right: 15px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; diff --git a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot index 425453f21e5..b8fb54e56eb 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot @@ -95,6 +95,25 @@ exports[`Storyshots Addons|A11y/Form With label 1`] = ` margin-bottom: 3rem; } +.emotion-0 { + min-width: 100px; + font-weight: 700; + margin-right: 15px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + line-height: 16px; +} + .emotion-1 { -webkit-appearance: none; -moz-appearance: none; @@ -147,25 +166,6 @@ exports[`Storyshots Addons|A11y/Form With label 1`] = ` color: #999999; } -.emotion-0 { - min-width: 100px; - min-height: 32px; - margin-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - line-height: 16px; -} -
@@ -1582,51 +1582,6 @@ exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-9 { color: #999999; height: 40px; @@ -1645,7 +1600,7 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -moz-scrollbar-color: transparent transparent; -ms-scrollbar-color: transparent transparent; scrollbar-color: transparent transparent; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } .emotion-9::-webkit-scrollbar { @@ -1762,6 +1717,51 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-11 { display: block; position: relative; @@ -1917,55 +1917,6 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-13 { - display: block; -} - .emotion-10 { color: #999999; height: 40px; @@ -1984,7 +1935,7 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -moz-scrollbar-color: transparent transparent; -ms-scrollbar-color: transparent transparent; scrollbar-color: transparent transparent; - background: undefined linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } .emotion-10::-webkit-scrollbar { @@ -2101,16 +2052,51 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` border-bottom-color: #1EA7FD; } -.emotion-12 { - display: block; - position: relative; +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; } -.emotion-11 { +.emotion-2:empty { display: none; } +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -2129,6 +2115,20 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` margin-right: 15px; } +.emotion-13 { + display: block; +} + +.emotion-12 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-11 { + display: none; +} +
diff --git a/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot b/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot index 832986157ec..d8481a0e4e6 100644 --- a/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot @@ -13,21 +13,6 @@ exports[`Storyshots basics|Tooltip/ListItem active icon 1`] = ` fill: currentColor; } -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -64,6 +49,21 @@ exports[`Storyshots basics|Tooltip/ListItem active icon 1`] = ` opacity: 1; } +.emotion-1 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-1 > * + * { + padding-left: 10px; +} + .emotion-0 { color: #333333; color: #FF4785; @@ -183,21 +183,6 @@ exports[`Storyshots basics|Tooltip/ListItem all 1`] = ` fill: currentColor; } -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - .emotion-2 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -234,6 +219,25 @@ exports[`Storyshots basics|Tooltip/ListItem all 1`] = ` opacity: 1; } +.emotion-1 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-1 > * + * { + padding-left: 10px; +} + +.emotion-3 { + color: #333333; +} + .emotion-0 { color: #333333; -webkit-animation: animation-0 1.5s ease-in-out infinite; @@ -243,10 +247,6 @@ exports[`Storyshots basics|Tooltip/ListItem all 1`] = ` cursor: progress; } -.emotion-3 { - color: #333333; -} - .emotion-10 svg { -webkit-transition: all 200ms ease-out; transition: all 200ms ease-out; @@ -546,21 +546,6 @@ exports[`Storyshots basics|Tooltip/ListItem all 1`] = ` `; exports[`Storyshots basics|Tooltip/ListItem default 1`] = ` -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - .emotion-2 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -597,6 +582,21 @@ exports[`Storyshots basics|Tooltip/ListItem default 1`] = ` opacity: 1; } +.emotion-1 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-1 > * + * { + padding-left: 10px; +} + .emotion-0 { color: #333333; } @@ -629,21 +629,6 @@ exports[`Storyshots basics|Tooltip/ListItem default icon 1`] = ` fill: currentColor; } -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -680,6 +665,21 @@ exports[`Storyshots basics|Tooltip/ListItem default icon 1`] = ` opacity: 1; } +.emotion-1 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-1 > * + * { + padding-left: 10px; +} + .emotion-0 { color: #333333; } @@ -892,21 +892,6 @@ exports[`Storyshots basics|Tooltip/ListItem loading 1`] = ` } } -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - .emotion-2 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -943,6 +928,21 @@ exports[`Storyshots basics|Tooltip/ListItem loading 1`] = ` opacity: 1; } +.emotion-1 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-1 > * + * { + padding-left: 10px; +} + .emotion-0 { color: #333333; -webkit-animation: animation-0 1.5s ease-in-out infinite; @@ -970,21 +970,6 @@ exports[`Storyshots basics|Tooltip/ListItem loading 1`] = ` `; exports[`Storyshots basics|Tooltip/ListItem w/positions 1`] = ` -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -1021,6 +1006,21 @@ exports[`Storyshots basics|Tooltip/ListItem w/positions 1`] = ` opacity: 1; } +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + .emotion-1 { color: #333333; } @@ -1077,21 +1077,6 @@ exports[`Storyshots basics|Tooltip/ListItem w/positions 1`] = ` `; exports[`Storyshots basics|Tooltip/ListItem w/positions active 1`] = ` -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - .emotion-5 { font-size: 12px; -webkit-transition: all 150ms ease-out; @@ -1128,6 +1113,21 @@ exports[`Storyshots basics|Tooltip/ListItem w/positions active 1`] = ` opacity: 1; } +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + .emotion-0 svg { opacity: 1; } diff --git a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot index 19dc793d25f..baeb3ec4662 100644 --- a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot @@ -77,7 +77,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` margin-top: 10px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -100,7 +100,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` border-right-width: 8px; border-left-width: 8px; border-top-color: transparent; - border-bottom-color: rgba(0,0,0,0.95); + border-bottom-color: rgba(255,255,255,0.95); border-left-color: transparent; border-right-color: transparent; } @@ -136,7 +136,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 10px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -160,7 +160,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` border-left-width: 8px; border-top-color: transparent; border-bottom-color: transparent; - border-left-color: rgba(0,0,0,0.95); + border-left-color: rgba(255,255,255,0.95); border-right-color: transparent; } @@ -195,7 +195,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` margin-top: 0px; margin-left: 10px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -220,7 +220,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` border-top-color: transparent; border-bottom-color: transparent; border-left-color: transparent; - border-right-color: rgba(0,0,0,0.95); + border-right-color: rgba(255,255,255,0.95); }
* + * { - padding-left: 10px; -} - -.emotion-0 { - display: inline-block; - cursor: pointer; +.emotion-8 { + min-width: 180px; + overflow: hidden; + border-radius: 8px; } .emotion-4 { @@ -57,10 +43,30 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` opacity: 1; } +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + .emotion-2 { color: #333333; } +.emotion-0 { + display: inline-block; + cursor: pointer; +} + .emotion-9 { display: inline-block; z-index: 2147483647; @@ -68,7 +74,7 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -90,18 +96,12 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; } -.emotion-8 { - min-width: 180px; - overflow: hidden; - border-radius: 8px; -} -
@@ -156,24 +156,10 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` `; exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-0 { - display: inline-block; - cursor: pointer; +.emotion-11 { + min-width: 180px; + overflow: hidden; + border-radius: 8px; } .emotion-4 { @@ -212,10 +198,30 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` opacity: 1; } +.emotion-3 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.emotion-3 > * + * { + padding-left: 10px; +} + .emotion-2 { color: #333333; } +.emotion-0 { + display: inline-block; + cursor: pointer; +} + .emotion-12 { display: inline-block; z-index: 2147483647; @@ -223,7 +229,7 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -245,18 +251,12 @@ exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; } -.emotion-11 { - min-width: 180px; - overflow: hidden; - border-radius: 8px; -} -
diff --git a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot index 77a33766ec1..b38f7898aa3 100644 --- a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot @@ -13,7 +13,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -35,7 +35,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; @@ -108,7 +108,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -130,7 +130,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; @@ -236,7 +236,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -258,7 +258,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; @@ -397,7 +397,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -419,7 +419,7 @@ exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; diff --git a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot index 7f3adb7675e..5faba31ab23 100644 --- a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot @@ -208,7 +208,7 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(0,0,0,0.95); + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -230,7 +230,7 @@ exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(0,0,0,0.95); + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; diff --git a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot index 84434154b8e..8521c926594 100644 --- a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot +++ b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot @@ -313,7 +313,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } @@ -602,7 +602,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } @@ -891,7 +891,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } @@ -1180,7 +1180,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 9c9f84cf70c..9b47032ffb7 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots UI|Panel default 1`] = ` -.emotion-13 { +.emotion-14 { width: 100%; height: 100%; box-sizing: border-box; @@ -14,6 +14,57 @@ exports[`Storyshots UI|Panel default 1`] = ` flex-direction: column; } +.emotion-12 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-12::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-12::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-12::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-12::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: -webkit-box; display: -webkit-flex; @@ -23,14 +74,9 @@ exports[`Storyshots UI|Panel default 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background: #FFFFFF; - color: #999999; - height: 40px; position: relative; - overflow: visible; - overflow-x: visible; - overflow-y: visible; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + white-space: nowrap; + height: 40px; } .emotion-3 { @@ -38,9 +84,12 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-3 > * { @@ -48,14 +97,10 @@ exports[`Storyshots UI|Panel default 1`] = ` } .emotion-2 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-2:first-child { +.emotion-2:first-of-type { margin-left: 0; } @@ -91,7 +136,7 @@ exports[`Storyshots UI|Panel default 1`] = ` border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } @@ -154,6 +199,13 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-10 > * { @@ -195,7 +247,7 @@ exports[`Storyshots UI|Panel default 1`] = ` fill: currentColor; } -.emotion-12 { +.emotion-13 { display: block; position: relative; font-size: 13px; @@ -208,70 +260,78 @@ exports[`Storyshots UI|Panel default 1`] = ` }
+
+ + +
+
+
-
- - -
* { @@ -21,6 +38,13 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-21 > * { @@ -62,22 +86,24 @@ Array [ fill: currentColor; } -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; +.emotion-23 { color: #999999; height: 40px; - position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -90,6 +116,36 @@ Array [ tranform: translateY(0px); } +.emotion-23::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-23::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-23::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-23::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-9 { width: 1px; height: 24px; @@ -101,114 +157,121 @@ Array [ display: none; } -.emotion-9:first-child { +.emotion-9:first-of-type { display: none; } -.emotion-9:last-child { +.emotion-9:last-of-type { display: none; }
- - + + + + +
+
- - - - - + + - - -
-
- - - + + + + +
, .emotion-2 { @@ -231,6 +294,7 @@ Array [ height: 100%; -webkit-transition: background .1s linear; transition: background .1s linear; + background: #FFFFFF; } .emotion-0 { @@ -284,14 +348,31 @@ Array [ exports[`Storyshots UI|Preview/Preview with tabs 1`] = ` Array [ - .emotion-19 { + .emotion-28 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; } .emotion-19 > * { @@ -299,14 +380,10 @@ Array [ } .emotion-4 { - white-space: nowrap; - height: 100%; - padding-bottom: 50px; - overflow-x: visisble; - overflow-y: visisble; + overflow: hidden; } -.emotion-4:first-child { +.emotion-4:first-of-type { margin-left: 0; } @@ -342,7 +419,7 @@ Array [ border-bottom: 3px solid transparent; font-weight: bold; font-size: 13px; - opacity: 0.4; + color: inherit; border-bottom-color: transparent; } @@ -405,6 +482,13 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-left: 30px; } .emotion-27 > * { @@ -446,22 +530,24 @@ Array [ fill: currentColor; } -.emotion-28 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - background: #FFFFFF; +.emotion-29 { color: #999999; height: 40px; - position: relative; overflow: auto; overflow-x: auto; overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; @@ -474,6 +560,36 @@ Array [ tranform: translateY(0px); } +.emotion-29::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; +} + +.emotion-29::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-29::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-29::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-5 { width: 1px; height: 24px; @@ -485,11 +601,11 @@ Array [ display: none; } -.emotion-5:first-child { +.emotion-5:first-of-type { display: none; } -.emotion-5:last-child { +.emotion-5:last-of-type { display: none; } @@ -501,132 +617,139 @@ Array [ }
- - - + + - - - -
-
- - - + + + + +
, .emotion-2 { @@ -649,6 +772,7 @@ Array [ height: 100%; -webkit-transition: background .1s linear; transition: background .1s linear; + background: #FFFFFF; } .emotion-0 { From 4a442cb5e0352052256cc0021084a6b538fada87 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 14:02:16 +0800 Subject: [PATCH 049/249] Merge pull request #5679 from storybooks/fix/5651 FIX singleton module issue for manager & theme not being set correctly --- lib/client-logger/src/index.ts | 6 +-- .../server/manager/manager-webpack.config.js | 16 ++++++ lib/node-logger/src/index.test.ts | 8 --- lib/theming/package.json | 7 ++- lib/theming/src/ensure.ts | 49 +++++++++++++++++++ lib/theming/src/index.ts | 3 +- lib/theming/src/typings.d.ts | 2 + lib/ui/src/core/context.js | 4 ++ lib/ui/src/index.js | 4 +- package.json | 3 +- yarn.lock | 10 ++++ 11 files changed, 96 insertions(+), 16 deletions(-) create mode 100644 lib/theming/src/ensure.ts diff --git a/lib/client-logger/src/index.ts b/lib/client-logger/src/index.ts index 7397db89f4a..77a01d8b4d4 100644 --- a/lib/client-logger/src/index.ts +++ b/lib/client-logger/src/index.ts @@ -1,7 +1,7 @@ const { console } = global; export const logger = { - info: (message: any): void => console.log(message), - warn: (message: any): void => console.warn(message), - error: (message: any): void => console.error(message), + info: (message: any, ...rest: any[]): void => console.log(message, ...rest), + warn: (message: any, ...rest: any[]): void => console.warn(message, ...rest), + error: (message: any, ...rest: any[]): void => console.error(message, ...rest), }; diff --git a/lib/core/src/server/manager/manager-webpack.config.js b/lib/core/src/server/manager/manager-webpack.config.js index 6e8a04e992a..b78077a2ed8 100644 --- a/lib/core/src/server/manager/manager-webpack.config.js +++ b/lib/core/src/server/manager/manager-webpack.config.js @@ -16,6 +16,15 @@ const coreDirName = path.dirname(require.resolve('@storybook/core/package.json') const context = path.join(coreDirName, '../../node_modules'); const cacheDir = findCacheDir({ name: 'storybook' }); +const storybookPackages = [ + '@storybook/router', + '@storybook/theming', + '@storybook/channels', + '@storybook/client-api', + '@storybook/core', + '@storybook/ui', +]; + export default ({ configDir, configType, entries, dll, outputDir, cache, babelOptions }) => { const { raw, stringified } = loadEnv(); const isProd = configType === 'PRODUCTION'; @@ -66,6 +75,13 @@ export default ({ configDir, configType, entries, dll, outputDir, cache, babelOp modules: ['node_modules'].concat(raw.NODE_PATH || []), alias: { 'core-js': path.dirname(require.resolve('core-js/package.json')), + ...storybookPackages.reduce( + (acc, i) => + Object.assign(acc, { + [i]: path.dirname(require.resolve(`${i}/package.json`)), + }), + {} + ), ...uiPaths, }, }, diff --git a/lib/node-logger/src/index.test.ts b/lib/node-logger/src/index.test.ts index 59cd0cfe86e..40188dbc8ce 100644 --- a/lib/node-logger/src/index.test.ts +++ b/lib/node-logger/src/index.test.ts @@ -8,14 +8,6 @@ jest.mock('npmlog', () => ({ })); describe('node-logger', () => { - beforeEach(() => { - // This feels odd but TypeScript doesn't understand that the imported - // npmlog module is being wrapped by Jest so we are type casting here - // in order to be allowed to call Jest's mockReset() method. - ((info as any) as jest.MockInstance).mockReset(); - ((warn as any) as jest.MockInstance).mockReset(); - ((error as any) as jest.MockInstance).mockReset(); - }); it('should have an info method', () => { const message = 'information'; logger.info(message); diff --git a/lib/theming/package.json b/lib/theming/package.json index b026e0b8767..30a954bd74d 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -21,8 +21,13 @@ "dependencies": { "@emotion/core": "^10.0.5", "@emotion/styled": "^10.0.5", - "emotion-theming": "^10.0.5", + "@storybook/client-logger": "5.0.0-rc.3", + "common-tags": "^1.8.0", + "deep-object-diff": "^1.1.0", + "emotion-theming": "^10.0.7", "global": "^4.3.2", + "lodash.isequal": "^4.5.0", + "lodash.mergewith": "^4.6.1", "memoizerific": "^1.11.3", "polished": "^2.3.3", "prop-types": "^15.6.2", diff --git a/lib/theming/src/ensure.ts b/lib/theming/src/ensure.ts new file mode 100644 index 00000000000..c206a73b0c9 --- /dev/null +++ b/lib/theming/src/ensure.ts @@ -0,0 +1,49 @@ +import { logger } from '@storybook/client-logger'; + +import { deletedDiff } from 'deep-object-diff'; +import { stripIndent } from 'common-tags'; + +import mergeWith from 'lodash.mergewith'; +import isEqual from 'lodash.isequal'; + +import light from './themes/light'; +import { Theme } from './base'; + +// merge with concatenating arrays, but no duplicates +const merge = (a: any, b: any) => + mergeWith({}, a, b, (objValue: any, srcValue: any) => { + if (Array.isArray(srcValue) && Array.isArray(objValue)) { + srcValue.forEach(s => { + const existing = objValue.find(o => o === s || isEqual(o, s)); + if (!existing) { + objValue.push(s); + } + }); + + return objValue; + } + if (Array.isArray(objValue)) { + return objValue; + } + return undefined; + }); + +export const ensure = (input: any): Theme => { + if (!input) { + return light; + } else { + const missing = deletedDiff(light, input); + if (Object.keys(missing).length) { + logger.warn( + stripIndent` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `, + missing + ); + } + + return merge(light, input); + } +}; diff --git a/lib/theming/src/index.ts b/lib/theming/src/index.ts index ad6980b7149..72b06808d4a 100644 --- a/lib/theming/src/index.ts +++ b/lib/theming/src/index.ts @@ -1,5 +1,4 @@ import styled from '@emotion/styled'; -import { css } from '@emotion/core'; import dark from './themes/dark'; import light from './themes/light'; @@ -19,3 +18,5 @@ export * from '@emotion/core'; export * from 'emotion-theming'; export { createGlobal, createReset } from './global'; +export * from './create'; +export * from './ensure'; diff --git a/lib/theming/src/typings.d.ts b/lib/theming/src/typings.d.ts index 151bb56deda..736edc60c4b 100644 --- a/lib/theming/src/typings.d.ts +++ b/lib/theming/src/typings.d.ts @@ -1,2 +1,4 @@ // todo the following packages need definition files or a TS migration declare module 'react-inspector'; +declare module 'lodash.mergewith'; +declare module 'lodash.isequal'; diff --git a/lib/ui/src/core/context.js b/lib/ui/src/core/context.js index 3342750df27..105e4ac181f 100644 --- a/lib/ui/src/core/context.js +++ b/lib/ui/src/core/context.js @@ -89,6 +89,10 @@ export class Provider extends Component { api.on(SET_STORIES, data => { api.setStories(data.stories); + + const options = api.getParameters(storyId, 'options'); + + api.setOptions(options); }); api.on(SELECT_STORY, ({ kind, story, ...rest }) => { api.selectStory(kind, story, rest); diff --git a/lib/ui/src/index.js b/lib/ui/src/index.js index a8fd14ffe63..990a8cd1312 100644 --- a/lib/ui/src/index.js +++ b/lib/ui/src/index.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import { Location, LocationProvider } from '@storybook/router'; -import { ThemeProvider } from '@storybook/theming'; +import { ThemeProvider, ensure as ensureTheme } from '@storybook/theming'; import { HelmetProvider } from 'react-helmet-async'; import { Provider as ManagerProvider } from './core/context'; @@ -24,7 +24,7 @@ const Root = ({ provider }) => ( {locationData => ( {({ state }) => ( - + )} diff --git a/package.json b/package.json index 03c022ef49c..74931a45d07 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,8 @@ "@babel/preset-env": "^7.3.1", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@types/jest": "^23.3.13", + "@types/common-tags": "^1.8.0", + "@types/jest": "^24.0.6", "@types/node": "^10.12.19", "@types/react": "^16.7.22", "@types/webpack-env": "^1.13.7", diff --git a/yarn.lock b/yarn.lock index ad98b5c9cd5..c8cfb8c3c18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2350,6 +2350,11 @@ version "0.1.30" resolved "https://registry.yarnpkg.com/@types/clone/-/clone-0.1.30.tgz#e7365648c1b42136a59c7d5040637b3b5c83b614" +"@types/common-tags@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@types/common-tags/-/common-tags-1.8.0.tgz#79d55e748d730b997be5b7fce4b74488d8b26a6b" + integrity sha512-htRqZr5qn8EzMelhX/Xmx142z218lLyGaeZ3YR8jlze4TATRU9huKKvuBmAJEW4LCC4pnY1N6JAm6p85fMHjhg== + "@types/core-js@^2.5.0": version "2.5.0" resolved "https://registry.yarnpkg.com/@types/core-js/-/core-js-2.5.0.tgz#35cc282488de6f10af1d92902899a3b8ca3fbc47" @@ -7014,6 +7019,11 @@ deep-is@~0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" +deep-object-diff@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/deep-object-diff/-/deep-object-diff-1.1.0.tgz#d6fabf476c2ed1751fc94d5ca693d2ed8c18bc5a" + integrity sha512-b+QLs5vHgS+IoSNcUE4n9HP2NwcHj7aqnJWsjPtuG75Rh5TOaGt0OjAYInh77d5T16V5cRDC+Pw/6ZZZiETBGw== + deepmerge@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-3.0.0.tgz#ca7903b34bfa1f8c2eab6779280775a411bfc6ba" From 1254bdd5091c66165de04ff42700389bf55521f2 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 14:24:28 +0800 Subject: [PATCH 050/249] Merge pull request #5677 from storybooks/fix/5666 CHANGE the keyboard shortcuts of toggleNav & togglePanel --- .../tests/__snapshots__/storyshots.test.js.snap | 4 ++-- lib/ui/src/containers/nav.js | 4 ++-- lib/ui/src/core/shortcuts.js | 4 ++-- lib/ui/src/core/shortcuts.test.js | 4 ++-- lib/ui/src/settings/shortcuts.test.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 41cb155db4f..5a3abad4b5d 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -4461,7 +4461,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` placeholder="Type keys" readonly="" spellcheck="false" - value="S" + value="A" /> [ { - id: 'A', + id: 'S', title: 'Show sidebar', onClick: () => api.toggleNav(), right: shortcutToHumanString(shortcutKeys.toggleNav), left: showNav ? : , }, { - id: 'S', + id: 'A', title: 'Show addons', onClick: () => api.togglePanel(), right: shortcutToHumanString(shortcutKeys.togglePanel), diff --git a/lib/ui/src/core/shortcuts.js b/lib/ui/src/core/shortcuts.js index 623eb4ef4ef..0e5ae59ab10 100644 --- a/lib/ui/src/core/shortcuts.js +++ b/lib/ui/src/core/shortcuts.js @@ -9,9 +9,9 @@ export const controlOrMetaKey = () => (isMacLike() ? 'meta' : 'control'); export const defaultShortcuts = Object.freeze({ fullScreen: ['F'], - togglePanel: ['S'], // Panel visibiliy + togglePanel: ['A'], panelPosition: ['D'], - toggleNav: ['A'], + toggleNav: ['S'], toolbar: ['T'], search: ['/'], focusNav: ['1'], diff --git a/lib/ui/src/core/shortcuts.test.js b/lib/ui/src/core/shortcuts.test.js index 4a272e2d9b1..3a78318340a 100644 --- a/lib/ui/src/core/shortcuts.test.js +++ b/lib/ui/src/core/shortcuts.test.js @@ -28,7 +28,7 @@ describe('shortcuts api', () => { store.setState(state); expect(api.getShortcutKeys().fullScreen).toEqual(['Z']); - expect(api.getShortcutKeys().togglePanel).toEqual(['S']); + expect(api.getShortcutKeys().togglePanel).toEqual(['A']); }); it('sets defaults, ignoring anything persisted that is out of date', () => { @@ -61,7 +61,7 @@ describe('shortcuts api', () => { await api.setShortcut('togglePanel', ['B']); await api.restoreAllDefaultShortcuts(); expect(api.getShortcutKeys().fullScreen).toEqual(['F']); - expect(api.getShortcutKeys().togglePanel).toEqual(['S']); + expect(api.getShortcutKeys().togglePanel).toEqual(['A']); }); it('restores single default', async () => { diff --git a/lib/ui/src/settings/shortcuts.test.js b/lib/ui/src/settings/shortcuts.test.js index f19f6a0ed09..c791f10c055 100644 --- a/lib/ui/src/settings/shortcuts.test.js +++ b/lib/ui/src/settings/shortcuts.test.js @@ -8,8 +8,8 @@ import ShortcutsScreen from './shortcuts'; // A limited set of keys we use in this test file const shortcutKeys = { fullScreen: ['F'], - togglePanel: ['S'], - toggleNav: ['A'], + togglePanel: ['A'], + toggleNav: ['S'], toolbar: ['T'], search: ['/'], focusNav: ['1'], From a02fb7238b5ebe55c257089050f458e10cbd3fdc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 14:26:22 +0800 Subject: [PATCH 051/249] Merge pull request #5689 from storybooks/fix/bar-scrollbar-persistence Fix/bar scrollbar persistence --- .../__snapshots__/storyshots.test.js.snap | 38 +++++ lib/components/src/bar/bar.js | 11 ++ .../tabs/__snapshots__/tabs.stories.storyshot | 133 ++++++++++++++++++ .../__snapshots__/panel.stories.storyshot | 19 +++ .../__snapshots__/preview.stories.storyshot | 38 +++++ .../__snapshots__/about.stories.storyshot | 57 ++++++++ 6 files changed, 296 insertions(+) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 5a3abad4b5d..3cdd355530e 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -3353,11 +3353,30 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-8::-webkit-scrollbar-track { @@ -3865,11 +3884,30 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-8::-webkit-scrollbar-track { diff --git a/lib/components/src/bar/bar.js b/lib/components/src/bar/bar.js index afc1cfbc9c2..4d5f054e51d 100644 --- a/lib/components/src/bar/bar.js +++ b/lib/components/src/bar/bar.js @@ -45,11 +45,22 @@ export const Bar = styled.div( scrollbarWidth: ['slim', 3], scrollbarColor: 'transparent transparent', + '&:hover': { + scrollbarWidth: ['none', 0], + }, + '&::-webkit-scrollbar': { height: 3, width: 3, background: 'transparent', boxShadow: 'none', + display: 'none', + }, + '&:hover::-webkit-scrollbar': { + height: 3, + width: 3, + background: 'transparent', + display: 'block', }, '&::-webkit-scrollbar-track': { diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index e4a5400de7b..ec79f2959e4 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -22,11 +22,30 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-9::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-9::-webkit-scrollbar-track { @@ -355,11 +374,30 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-9::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-9::-webkit-scrollbar-track { @@ -644,11 +682,30 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-5:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-5::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-5:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-5::-webkit-scrollbar-track { @@ -891,11 +948,30 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-9::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-9::-webkit-scrollbar-track { @@ -1241,11 +1317,30 @@ exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-9::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-9::-webkit-scrollbar-track { @@ -1603,11 +1698,30 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-9::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-9::-webkit-scrollbar-track { @@ -1938,11 +2052,30 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-10:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-10::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-10:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-10::-webkit-scrollbar-track { diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 9b47032ffb7..64a6e9de740 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -35,11 +35,30 @@ exports[`Storyshots UI|Panel default 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-12:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-12::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-12:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-12::-webkit-scrollbar-track { diff --git a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot index 81a329b8faa..58d47410daa 100644 --- a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot +++ b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot @@ -116,11 +116,30 @@ Array [ tranform: translateY(0px); } +.emotion-23:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-23::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-23:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-23::-webkit-scrollbar-track { @@ -560,11 +579,30 @@ Array [ tranform: translateY(0px); } +.emotion-29:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-29::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-29:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-29::-webkit-scrollbar-track { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 6b355b24dd0..158f7f13922 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -35,11 +35,30 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-8::-webkit-scrollbar-track { @@ -585,11 +604,30 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-8::-webkit-scrollbar-track { @@ -1954,11 +1992,30 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; } .emotion-8::-webkit-scrollbar-track { From cd89a1640a0ff9a8539f1cf77b90988df41421ea Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 15:48:19 +0800 Subject: [PATCH 052/249] Merge pull request #5699 from storybooks/5683-cli-version-notice Cleanup CLI version notice --- lib/core/src/server/build-dev.js | 4 +--- lib/ui/src/settings/__snapshots__/about.stories.storyshot | 4 ++-- lib/ui/src/settings/about.js | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/core/src/server/build-dev.js b/lib/core/src/server/build-dev.js index 7b207d09037..9ff7d85e72f 100644 --- a/lib/core/src/server/build-dev.js +++ b/lib/core/src/server/build-dev.js @@ -147,10 +147,8 @@ function createUpdateMessage(updateInfo, version) { ${colors.orange( `A new version (${chalk.bold(updateInfo.data.latest.version)}) is available!` )} - ${chalk.gray(updateInfo.data.latest.info.plain)} - ${chalk.gray('Read full changelog here:')} - ${chalk.gray.underline('https://git.io/fxc61')} + ${chalk.gray('Read full changelog here:')} ${chalk.gray.underline('https://git.io/fhFYe')} ` : ''; } catch (e) { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 158f7f13922..3078db25378 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -1797,7 +1797,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` { {latest.version} Changelog From 4dad3f17ffc315a894b0c3bd0bd505e1df8b2052 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 17:52:41 +0800 Subject: [PATCH 053/249] 5.0.0-rc.4 changelog --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8db7ba4896..7a1075fe26e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## 5.0.0-rc.4 (February 21, 2019) + +### Features + +* Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) + +### Bug Fixes + +* UI: Fix scrollbar persistence ([#5689](https://github.com/storybooks/storybook/pull/5689)) +* UI: Fix keyboard shortcuts of toggleNav & togglePanel ([#5677](https://github.com/storybooks/storybook/pull/5677)) +* Core: Fix singleton module issue for manager & theme ([#5679](https://github.com/storybooks/storybook/pull/5679)) +* Addon-storysource: Fix source not updating ([#5672](https://github.com/storybooks/storybook/pull/5672)) +* Core: Fix broken error reporting ([#5678](https://github.com/storybooks/storybook/pull/5678)) +* Compare component name to story name, not story fn ([#5649](https://github.com/storybooks/storybook/pull/5649)) + +### Maintenance + +* CLI: Cleanup version notice ([#5699](https://github.com/storybooks/storybook/pull/5699)) +* Core: Fix story fn consistency ([#5669](https://github.com/storybooks/storybook/pull/5669)) + +## 4.1.13 (February 21, 2019) + +### Maintenance + +* CLI: Cleanup version notice ([#5699](https://github.com/storybooks/storybook/pull/5699)) +* Docs: Use static versions.json file instead of hacking one in ([#5675](https://github.com/storybooks/storybook/pull/5675)) + ## 5.0.0-rc.3 (February 19, 2019) ### Bug Fixes From 5e14bdebb040e429e2e675d58abebac6381ae14c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 19 Feb 2019 12:38:57 +0100 Subject: [PATCH 054/249] Merge pull request #5649 from ManBearTM/patch-3 Compare component name to story name, not story fn --- addons/info/src/__snapshots__/index.test.js.snap | 14 ++++++++------ addons/info/src/components/Story.js | 4 ++-- addons/info/src/index.test.js | 13 +++++++------ 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index 5b4d03fabce..67bc43a9cb1 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -2608,7 +2608,7 @@ exports[`addon Info should render component description if story kind matches co context={ Object { "kind": "TestComponent", - "story": "Basic test", + "name": "Basic test", } } excludedPropTypes={Array []} @@ -2670,7 +2670,9 @@ exports[`addon Info should render component description if story kind matches co "padding": 0, } } - /> + > + Basic test +
@@ -2823,7 +2825,6 @@ exports[`addon Info should render component description if story kind matches co > cursive -

@@ -3822,7 +3823,7 @@ exports[`addon Info should render component description if story name matches co context={ Object { "kind": "Test Components", - "story": "TestComponent", + "name": "TestComponent", } } excludedPropTypes={Array []} @@ -3884,7 +3885,9 @@ exports[`addon Info should render component description if story name matches co "padding": 0, } } - /> + > + TestComponent +
@@ -4037,7 +4040,6 @@ exports[`addon Info should render component description if story name matches co > cursive -

diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 33da53ddad6..dc7d0e9bfcd 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -264,11 +264,11 @@ class Story extends Component { _getComponentDescription() { const { - context: { kind, story }, + context: { kind, name }, } = this.props; let retDiv = null; - const validMatches = [kind, story]; + const validMatches = [kind, name]; if (Object.keys(STORYBOOK_REACT_CLASSES).length) { Object.keys(STORYBOOK_REACT_CLASSES).forEach(key => { diff --git a/addons/info/src/index.test.js b/addons/info/src/index.test.js index d85c99f48fc..339d4c669ad 100644 --- a/addons/info/src/index.test.js +++ b/addons/info/src/index.test.js @@ -20,7 +20,8 @@ const TestComponent = ({ func, obj, array, number, string, bool, empty }) => (
  • 1
  • 2
  • -
    ); +
    +); /* eslint-enable */ const reactClassPath = 'some/path/TestComponent.jsx'; @@ -31,7 +32,7 @@ const storybookReactClassMock = { description: ` # Awesome test component description ## with markdown support -**bold** *cursive* +**bold** *cursive* `, name: 'TestComponent', }, @@ -45,9 +46,9 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)`; describe('addon Info', () => { // eslint-disable-next-line react/prop-types - const storyFn = ({ story }) => ( + const storyFn = ({ name }) => (
    - It's a {story} story: + It's a {name} story: x + 1} obj={{ a: 'a', b: 'b' }} @@ -85,7 +86,7 @@ describe('addon Info', () => { const Info = () => withInfo({ inline: true, propTables: false })(storyFn, { kind: 'TestComponent', - story: 'Basic test', + name: 'Basic test', }); expect(mount()).toMatchSnapshot(); @@ -100,7 +101,7 @@ describe('addon Info', () => { const Info = () => withInfo({ inline: true, propTables: false })(storyFn, { kind: 'Test Components', - story: 'TestComponent', + name: 'TestComponent', }); expect(mount()).toMatchSnapshot(); From a089e9456486f4969734d1b35c7c62fcef10bdbc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 17:54:52 +0800 Subject: [PATCH 055/249] Update snapshots --- .../__snapshots__/storyshots.test.js.snap | 38 - .../tabs/__snapshots__/tabs.stories.storyshot | 980 +++++++++--------- .../__snapshots__/panel.stories.storyshot | 19 - .../__snapshots__/preview.stories.storyshot | 38 - .../__snapshots__/about.stories.storyshot | 57 - 5 files changed, 490 insertions(+), 642 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 3cdd355530e..5a3abad4b5d 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -3353,30 +3353,11 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -3884,30 +3865,11 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index ec79f2959e4..ab62c31c611 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -1,76 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -204,6 +134,76 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -353,76 +353,6 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -556,6 +486,76 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -661,76 +661,6 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - static 1`] = ` -.emotion-5 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-5:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-5::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-5:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-5::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-5::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-5::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-4 { display: -webkit-box; display: -webkit-flex; @@ -864,6 +794,76 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` display: block; } +.emotion-5 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-5:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-5::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-5:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-5::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-5::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-7 { display: block; position: relative; @@ -927,76 +927,6 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1138,6 +1068,76 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` width: 100%; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-10 { display: none; } @@ -1296,76 +1296,6 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1495,6 +1425,76 @@ exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -1677,76 +1677,6 @@ exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1876,6 +1806,76 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -2031,76 +2031,6 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-10 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-10:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-10::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-10:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-10::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-10::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-10::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-9 { display: -webkit-box; display: -webkit-flex; @@ -2252,6 +2182,76 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` display: block; } +.emotion-10 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-10:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-10::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-10:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-10::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-10::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-10::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-12 { display: block; position: relative; diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 64a6e9de740..9b47032ffb7 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -35,30 +35,11 @@ exports[`Storyshots UI|Panel default 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-12:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-12::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-12:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-12::-webkit-scrollbar-track { diff --git a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot index 58d47410daa..81a329b8faa 100644 --- a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot +++ b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot @@ -116,30 +116,11 @@ Array [ tranform: translateY(0px); } -.emotion-23:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-23::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-23:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-23::-webkit-scrollbar-track { @@ -579,30 +560,11 @@ Array [ tranform: translateY(0px); } -.emotion-29:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-29::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-29:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-29::-webkit-scrollbar-track { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 3078db25378..175c108e01f 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -35,30 +35,11 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -604,30 +585,11 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -1992,30 +1954,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { From 775e17e6121610258fb3dc5bd84a5dd7f8f69c06 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 18:06:10 +0800 Subject: [PATCH 056/249] Update yarn.lock --- yarn.lock | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/yarn.lock b/yarn.lock index c8cfb8c3c18..82f320aa5cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2370,10 +2370,22 @@ version "0.0.39" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" +"@types/jest-diff@*": + version "20.0.1" + resolved "https://registry.yarnpkg.com/@types/jest-diff/-/jest-diff-20.0.1.tgz#35cc15b9c4f30a18ef21852e255fdb02f6d59b89" + integrity sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA== + "@types/jest@^23.0.2", "@types/jest@^23.3.1", "@types/jest@^23.3.13": version "23.3.13" resolved "https://registry.yarnpkg.com/@types/jest/-/jest-23.3.13.tgz#c81484b6f4ca007bb09887ed15ecb3286d58f928" +"@types/jest@^24.0.6": + version "24.0.6" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-24.0.6.tgz#ba4c8c7900ce098a82ca99293cbe4192bde4f355" + integrity sha512-NE7FBG/F4cMDKdCBqgyd+Sa6JZ5GiMOyA5QwJdeS4Ii/Z9a18WgGbFrHbcr48/7I9HdnkaAYP+S2MmQ27qoqJA== + dependencies: + "@types/jest-diff" "*" + "@types/json-stringify-safe@^5.0.0": version "5.0.0" resolved "https://registry.yarnpkg.com/@types/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz#df34d054419d39323a3730966bacba02ac5e474e" @@ -7850,6 +7862,15 @@ emotion-theming@^10.0.5: hoist-non-react-statics "^2.3.1" object-assign "^4.1.1" +emotion-theming@^10.0.7: + version "10.0.7" + resolved "https://registry.yarnpkg.com/emotion-theming/-/emotion-theming-10.0.7.tgz#0629740840f2ff6b929a7c3d52811187768e91c9" + integrity sha512-/dqXTvPA8pRQJRrW6/wpGqu0s0tmtwC27Pk0IOrxDV2F/knbKcd7J/G3T2385NjE+aJO4XJJ7JCNWQkwcjuX0Q== + dependencies: + "@emotion/weak-memoize" "0.2.2" + hoist-non-react-statics "^2.3.1" + object-assign "^4.1.1" + emotion@^9.1.2: version "9.2.12" resolved "https://registry.yarnpkg.com/emotion/-/emotion-9.2.12.tgz#53925aaa005614e65c6e43db8243c843574d1ea9" From 3ba5266050e404cc9eccd002b4b9cf9324f6d131 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 18:15:01 +0800 Subject: [PATCH 057/249] v5.0.0-rc.4 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 +++++----- examples/cra-kitchen-sink/package.json | 32 ++++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 +++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 +++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 +++++----- examples/riot-kitchen-sink/package.json | 26 +++++----- examples/svelte-kitchen-sink/package.json | 26 +++++----- examples/vue-kitchen-sink/package.json | 26 +++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 4 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 52 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 14 ++--- 58 files changed, 341 insertions(+), 341 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 14c9f2b727d..5c458abfc6f 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 3cdfebc1cd8..20a55a7af26 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 6bee8331897..ec3ccb3da52 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/addons/centered/package.json b/addons/centered/package.json index 4def2b53dbd..e44a427696c 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index d24d336f087..cf41437f1e8 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ }, "dependencies": { "@emotion/styled": "10.0.6", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/channels": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/channels": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index bdacbf26391..f9673d76247 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index f1774d0e256..88734626283 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index daefb5087eb..771effc8c44 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index 19890a8ba6b..03a942155cc 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 7afceb0f2d4..f022be6e841 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 1bc9e688704..d2c4d40fea5 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 5e71719764e..341e8aa542a 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index d88d52de0dc..c3cb4597c34 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/options/package.json b/addons/options/package.json index 3b0d90df3d1..bdbbc85969f 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index e652515e9ff..f90f2a939b2 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index ce996dade11..4a731f0c0de 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/router": "5.0.0-rc.3", - "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/node-logger": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 78ec404fbfd..81568756081 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", - "@storybook/router": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 45bf2244c6c..83b0716a667 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index 068a52d191f..9e837b23df4 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", - "@storybook/node-logger": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", + "@storybook/node-logger": "5.0.0-rc.4", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index b1bf12dca20..98b98590b4c 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 780c33ca915..ef817d21684 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 203c11e7560..666234b2bfa 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 0138f1751fa..a4cff431bbe 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 991de64e93b..e6a4d73b216 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index 2953ac6902c..b610ef17a71 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react/package.json b/app/react/package.json index 0d68d71b611..dcd5902086c 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.3", - "@storybook/node-logger": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", + "@storybook/node-logger": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index d925923093e..5a8c1cbdfa7 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 8630a62007f..18e0163b3a1 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 0640e5ba7ed..e98ee0711a4 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.3", + "@storybook/core": "5.0.0-rc.4", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index c5787f12999..ec08b87f381 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.11.4", "@angular/cli": "^7.3.0", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-jest": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/angular": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-jest": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/angular": "5.0.0-rc.4", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index e29eb57cd80..86744fae540 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.3", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-events": "5.0.0-rc.3", - "@storybook/addon-info": "5.0.0-rc.3", - "@storybook/addon-jest": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/react": "5.0.0-rc.3", + "@storybook/addon-a11y": "5.0.0-rc.4", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-events": "5.0.0-rc.4", + "@storybook/addon-info": "5.0.0-rc.4", + "@storybook/addon-jest": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/react": "5.0.0-rc.4", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index b67c6100064..cca7a263773 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-info": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/react": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-info": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/react": "5.0.0-rc.4", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index b14aea9a0da..74f3c5a7728 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.3", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/ember": "5.0.0-rc.3", + "@storybook/addon-a11y": "5.0.0-rc.4", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/ember": "5.0.0-rc.4", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index b062d2d2a1e..36240f02ed0 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.3", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-events": "5.0.0-rc.3", - "@storybook/addon-jest": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/core": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/html": "5.0.0-rc.3", + "@storybook/addon-a11y": "5.0.0-rc.4", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-events": "5.0.0-rc.4", + "@storybook/addon-jest": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/core": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/html": "5.0.0-rc.4", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 302f8738504..9bf5108bcaf 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/marko": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/marko": "5.0.0-rc.4", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index a634f29ae3a..4aa17d99435 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/mithril": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/mithril": "5.0.0-rc.4", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 84fa8286ebb..0643ca8f674 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.3", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-cssresources": "5.0.0-rc.3", - "@storybook/addon-events": "5.0.0-rc.3", - "@storybook/addon-graphql": "5.0.0-rc.3", - "@storybook/addon-info": "5.0.0-rc.3", - "@storybook/addon-jest": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/node-logger": "5.0.0-rc.3", - "@storybook/react": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addon-a11y": "5.0.0-rc.4", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-cssresources": "5.0.0-rc.4", + "@storybook/addon-events": "5.0.0-rc.4", + "@storybook/addon-graphql": "5.0.0-rc.4", + "@storybook/addon-info": "5.0.0-rc.4", + "@storybook/addon-jest": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/node-logger": "5.0.0-rc.4", + "@storybook/react": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index cef11cfc870..b52985b7eea 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/polymer": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/polymer": "5.0.0-rc.4", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 5c9e0496af3..a3f3d5ec4b7 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/preact": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/preact": "5.0.0-rc.4", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index efc60093565..813ce48ed4d 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/riot": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/riot": "5.0.0-rc.4", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 5cc7e64f93a..c744cdca6da 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/svelte": "5.0.0-rc.3" + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/svelte": "5.0.0-rc.4" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index aed5a1b00af..8ce64a184db 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-backgrounds": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addon-storysource": "5.0.0-rc.3", - "@storybook/addon-viewport": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/vue": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-backgrounds": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addon-storysource": "5.0.0-rc.4", + "@storybook/addon-viewport": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/vue": "5.0.0-rc.4", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 3018b0720ea..7805559a3d0 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.3" + "version": "5.0.0-rc.4" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 3e8fd598521..6d643e86475 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/channels": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index c05cc46e103..eb73a9c0daa 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.3", + "@storybook/channels": "5.0.0-rc.4", "global": "^4.3.2", "telejson": "^1.0.1" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 38b69b44ab2..85a335f0615 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.3", + "@storybook/channels": "5.0.0-rc.4", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index 85c0c744a9c..d542aad56c1 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 16a449a2d0b..ef1780c63d4 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.3", + "@storybook/codemod": "5.0.0-rc.4", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.3", - "@storybook/addon-centered": "5.0.0-rc.3", - "@storybook/addon-graphql": "5.0.0-rc.3", - "@storybook/addon-info": "5.0.0-rc.3", - "@storybook/addon-knobs": "5.0.0-rc.3", - "@storybook/addon-links": "5.0.0-rc.3", - "@storybook/addon-notes": "5.0.0-rc.3", - "@storybook/addon-options": "5.0.0-rc.3", - "@storybook/addon-storyshots": "5.0.0-rc.3", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/angular": "5.0.0-rc.3", - "@storybook/channel-postmessage": "5.0.0-rc.3", - "@storybook/channel-websocket": "5.0.0-rc.3", - "@storybook/channels": "5.0.0-rc.3", - "@storybook/ember": "5.0.0-rc.3", - "@storybook/html": "5.0.0-rc.3", - "@storybook/marko": "5.0.0-rc.3", - "@storybook/mithril": "5.0.0-rc.3", - "@storybook/polymer": "5.0.0-rc.3", - "@storybook/preact": "5.0.0-rc.3", - "@storybook/react": "5.0.0-rc.3", + "@storybook/addon-actions": "5.0.0-rc.4", + "@storybook/addon-centered": "5.0.0-rc.4", + "@storybook/addon-graphql": "5.0.0-rc.4", + "@storybook/addon-info": "5.0.0-rc.4", + "@storybook/addon-knobs": "5.0.0-rc.4", + "@storybook/addon-links": "5.0.0-rc.4", + "@storybook/addon-notes": "5.0.0-rc.4", + "@storybook/addon-options": "5.0.0-rc.4", + "@storybook/addon-storyshots": "5.0.0-rc.4", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/angular": "5.0.0-rc.4", + "@storybook/channel-postmessage": "5.0.0-rc.4", + "@storybook/channel-websocket": "5.0.0-rc.4", + "@storybook/channels": "5.0.0-rc.4", + "@storybook/ember": "5.0.0-rc.4", + "@storybook/html": "5.0.0-rc.4", + "@storybook/marko": "5.0.0-rc.4", + "@storybook/mithril": "5.0.0-rc.4", + "@storybook/polymer": "5.0.0-rc.4", + "@storybook/preact": "5.0.0-rc.4", + "@storybook/react": "5.0.0-rc.4", "@storybook/react-native": "5.0.0-beta.4", - "@storybook/riot": "5.0.0-rc.3", - "@storybook/ui": "5.0.0-rc.3", - "@storybook/vue": "5.0.0-rc.3" + "@storybook/riot": "5.0.0-rc.4", + "@storybook/ui": "5.0.0-rc.4", + "@storybook/vue": "5.0.0-rc.4" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 067e7512d1a..f5376b46337 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,10 +19,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/router": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 8580fc3bbcf..586c687852a 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 2f104d0259e..36f0b1db9f5 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 40667f55003..bed4bb6c0bc 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/router": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index ff860d278ea..a71387adfa4 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index aedfb89b29a..9baba8fc599 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,15 +24,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.3", - "@storybook/channel-postmessage": "5.0.0-rc.3", - "@storybook/client-api": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/node-logger": "5.0.0-rc.3", - "@storybook/router": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", - "@storybook/ui": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/channel-postmessage": "5.0.0-rc.4", + "@storybook/client-api": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/node-logger": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", + "@storybook/ui": "5.0.0-rc.4", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 8169e656b18..19f58e66ad3 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 7f14cbd14c2..d24cae5aaca 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/theming": "5.0.0-rc.4", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index 30a954bd74d..abfd8d6d471 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.5", "@emotion/styled": "^10.0.5", - "@storybook/client-logger": "5.0.0-rc.3", + "@storybook/client-logger": "5.0.0-rc.4", "common-tags": "^1.8.0", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.7", diff --git a/lib/ui/package.json b/lib/ui/package.json index 46442535153..a8a92025ded 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.3", - "@storybook/client-logger": "5.0.0-rc.3", - "@storybook/components": "5.0.0-rc.3", - "@storybook/core-events": "5.0.0-rc.3", - "@storybook/router": "5.0.0-rc.3", - "@storybook/theming": "5.0.0-rc.3", + "@storybook/addons": "5.0.0-rc.4", + "@storybook/client-logger": "5.0.0-rc.4", + "@storybook/components": "5.0.0-rc.4", + "@storybook/core-events": "5.0.0-rc.4", + "@storybook/router": "5.0.0-rc.4", + "@storybook/theming": "5.0.0-rc.4", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From 17f1d8dc89ec70d411c2b90502964fc3306a4b96 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 18:27:28 +0800 Subject: [PATCH 058/249] 5.0.0-rc.4 versions.json --- CHANGELOG.md | 4 ++-- docs/static/versions.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/static/versions.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1075fe26e..9aa0f537135 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### Features -* Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) +* UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) ### Bug Fixes @@ -11,7 +11,7 @@ * Core: Fix singleton module issue for manager & theme ([#5679](https://github.com/storybooks/storybook/pull/5679)) * Addon-storysource: Fix source not updating ([#5672](https://github.com/storybooks/storybook/pull/5672)) * Core: Fix broken error reporting ([#5678](https://github.com/storybooks/storybook/pull/5678)) -* Compare component name to story name, not story fn ([#5649](https://github.com/storybooks/storybook/pull/5649)) +* Addon-info: Compare component name to story name, not story fn ([#5649](https://github.com/storybooks/storybook/pull/5649)) ### Maintenance diff --git a/docs/static/versions.json b/docs/static/versions.json new file mode 100644 index 00000000000..ac6d55b8474 --- /dev/null +++ b/docs/static/versions.json @@ -0,0 +1 @@ +{"next":{"version":"5.0.0-rc.4","info":{"plain":"### Features\n\n* Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641))\n\n### Bug Fixes\n\n* UI: Fix scrollbar persistence ([#5689](https://github.com/storybooks/storybook/pull/5689))\n* UI: Fix keyboard shortcuts of toggleNav & togglePanel ([#5677](https://github.com/storybooks/storybook/pull/5677))\n* Core: Fix singleton module issue for manager & theme ([#5679](https://github.com/storybooks/storybook/pull/5679))\n* Addon-storysource: Fix source not updating ([#5672](https://github.com/storybooks/storybook/pull/5672))\n* Core: Fix broken error reporting ([#5678](https://github.com/storybooks/storybook/pull/5678))\n* Compare component name to story name, not story fn ([#5649](https://github.com/storybooks/storybook/pull/5649))\n\n### Maintenance\n\n* CLI: Cleanup version notice ([#5699](https://github.com/storybooks/storybook/pull/5699))\n* Core: Fix story fn consistency ([#5669](https://github.com/storybooks/storybook/pull/5669))"}}} \ No newline at end of file From 353c4634a09a7e78085dceee48af0eb355d042e4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 21 Feb 2019 22:00:16 +0100 Subject: [PATCH 059/249] Merge pull request #5709 from storybooks/5652-mobile-styling Fix up mobile styling --- .../__snapshots__/storyshots.test.js.snap | 92 +++--- .../__snapshots__/layout.stories.storyshot | 283 ++++++++++++++---- lib/ui/src/components/layout/mobile.js | 54 ++-- .../__snapshots__/panel.stories.storyshot | 6 + lib/ui/src/components/panel/panel.js | 24 +- .../__snapshots__/preview.stories.storyshot | 78 ++++- lib/ui/src/components/preview/preview.js | 16 +- .../__snapshots__/about.stories.storyshot | 138 ++++----- 8 files changed, 477 insertions(+), 214 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 5a3abad4b5d..977241abe86 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -3485,29 +3485,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` margin-right: 15px; } -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - .emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); @@ -3532,6 +3509,29 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` width: 100%; } +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + .emotion-96 { display: -webkit-box; display: -webkit-flex; @@ -3997,29 +3997,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` margin-right: 15px; } -.emotion-5 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-5:hover, -.emotion-5:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-5 > svg { - width: 15px; -} - .emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); @@ -4044,6 +4021,29 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` width: 100%; } +.emotion-5 { + height: 40px; + background: none; + color: inherit; + padding: 0; + cursor: pointer; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; +} + +.emotion-5:hover, +.emotion-5:focus { + outline: 0 none; + color: #1EA7FD; +} + +.emotion-5 > svg { + width: 15px; +} + .emotion-96 { display: -webkit-box; display: -webkit-flex; diff --git a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot index 8521c926594..0de2f833a5a 100644 --- a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot +++ b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot @@ -326,6 +326,51 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-8 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-8:empty { + display: none; +} + +.emotion-8:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-11 { position: fixed; left: 0; @@ -350,6 +395,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(-80vw); -ms-transform: translateX(-80vw); @@ -357,6 +403,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` left: 0; } +.emotion-1:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-1:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-0 { background: hotpink; position: absolute; @@ -388,6 +442,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 100%; -webkit-transform: translateX(0) scale(1); -ms-transform: translateX(0) scale(1); @@ -395,6 +450,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` left: 0; } +.emotion-3:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-2 { background: deepskyblue; position: absolute; @@ -426,6 +489,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(80vw); -ms-transform: translateX(80vw); @@ -433,6 +497,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` right: 0; } +.emotion-5:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-5:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-4 { background: orangered; position: absolute; @@ -467,6 +539,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); + background: #FFFFFF; } .emotion-10 > * { @@ -528,22 +602,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
    -
    -
    +

    -

    - 1 -

    -
    -            {
    +          1
    +        
    +        
    +          {
       "hidden": false
     }
    -          
    -
    +
    @@ -553,17 +625,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = ` + -
    @@ -639,6 +711,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(-80vw); -ms-transform: translateX(-80vw); @@ -646,6 +719,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` left: 0; } +.emotion-1:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-1:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-0 { background: hotpink; position: absolute; @@ -677,6 +758,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 100%; -webkit-transform: translateX(0) scale(1); -ms-transform: translateX(0) scale(1); @@ -684,6 +766,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` left: 0; } +.emotion-3:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-2 { background: deepskyblue; position: absolute; @@ -715,6 +805,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(80vw); -ms-transform: translateX(80vw); @@ -722,6 +813,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` right: 0; } +.emotion-5:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-5:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-4 { background: orangered; position: absolute; @@ -756,6 +855,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); + background: #FFFFFF; } .emotion-10 > * { @@ -817,22 +918,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
    -
    -
    +

    -

    - 1 -

    -
    -            {
    +          1
    +        
    +        
    +          {
       "hidden": false
     }
    -          
    -
    +
    @@ -842,17 +941,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
    @@ -928,6 +1027,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(-80vw); -ms-transform: translateX(-80vw); @@ -935,6 +1035,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` left: 0; } +.emotion-1:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-1:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-0 { background: hotpink; position: absolute; @@ -966,6 +1074,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 100%; -webkit-transform: translateX(0) scale(1); -ms-transform: translateX(0) scale(1); @@ -973,6 +1082,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` left: 0; } +.emotion-3:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-2 { background: deepskyblue; position: absolute; @@ -1004,6 +1121,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(80vw); -ms-transform: translateX(80vw); @@ -1011,6 +1129,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` right: 0; } +.emotion-5:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-5:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-4 { background: orangered; position: absolute; @@ -1045,6 +1171,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); + background: #FFFFFF; } .emotion-10 > * { @@ -1106,22 +1234,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
    -
    -
    +

    -

    - 1 -

    -
    -            {
    +          1
    +        
    +        
    +          {
       "hidden": false
     }
    -          
    -
    +
    @@ -1131,17 +1257,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
    @@ -1217,6 +1343,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(-80vw); -ms-transform: translateX(-80vw); @@ -1224,6 +1351,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` left: 0; } +.emotion-1:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-1:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-0 { background: hotpink; position: absolute; @@ -1255,6 +1390,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 100%; -webkit-transform: translateX(0) scale(1); -ms-transform: translateX(0) scale(1); @@ -1262,6 +1398,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` left: 0; } +.emotion-4:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-4:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-2 { background: deepskyblue; position: absolute; @@ -1293,6 +1437,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` position: absolute; top: 0; height: 100%; + background: #FFFFFF; width: 80vw; -webkit-transform: translateX(80vw); -ms-transform: translateX(80vw); @@ -1300,6 +1445,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` right: 0; } +.emotion-6:nth-of-type(1) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-6:nth-of-type(3) { + border-left: 1px solid rgba(0,0,0,.1); +} + .emotion-5 { background: orangered; position: absolute; @@ -1334,6 +1487,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); + background: #FFFFFF; } .emotion-10 > * { @@ -1434,23 +1589,19 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = ` class="emotion-6" >
    @@ -1460,7 +1611,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
    - +
    - @@ -396,7 +382,7 @@ Array [ exports[`Storyshots UI|Preview/Preview with tabs 1`] = ` Array [ - .emotion-28 { + .emotion-27 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -525,7 +511,7 @@ Array [ border-bottom-color: #1EA7FD; } -.emotion-27 { +.emotion-26 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -539,7 +525,7 @@ Array [ margin-left: 30px; } -.emotion-27 > * { +.emotion-26 > * { margin-right: 15px; } @@ -584,7 +570,7 @@ Array [ fill: currentColor; } -.emotion-29 { +.emotion-28 { color: #999999; height: 40px; overflow: auto; @@ -614,7 +600,7 @@ Array [ tranform: translateY(0px); } -.emotion-29:hover { +.emotion-28:hover { -webkit-scrollbar-width: none; -moz-scrollbar-width: none; -ms-scrollbar-width: none; @@ -625,7 +611,7 @@ Array [ scrollbar-width: 0; } -.emotion-29::-webkit-scrollbar { +.emotion-28::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; @@ -633,14 +619,14 @@ Array [ display: none; } -.emotion-29:hover::-webkit-scrollbar { +.emotion-28:hover::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; display: block; } -.emotion-29::-webkit-scrollbar-track { +.emotion-28::-webkit-scrollbar-track { border-radius: 0; background: transparent; opacity: 0; @@ -650,13 +636,13 @@ Array [ width: 0; } -.emotion-29::-webkit-scrollbar-thumb { +.emotion-28::-webkit-scrollbar-thumb { border-radius: 0; background: rgba(0,0,0,.1); box-shadow: none; } -.emotion-29::-webkit-scrollbar-track-piece { +.emotion-28::-webkit-scrollbar-track-piece { display: none; border: 0 none; opacity: 0; @@ -697,14 +683,6 @@ Array [ display: none; } -.emotion-5:first-of-type { - display: none; -} - -.emotion-5:last-of-type { - display: none; -} - .emotion-1 { color: inherit; -webkit-text-decoration: inherit; @@ -713,15 +691,13 @@ Array [ }
    - diff --git a/lib/ui/src/components/preview/preview.js b/lib/ui/src/components/preview/preview.js index 0f9c477d871..480a1a556a6 100644 --- a/lib/ui/src/components/preview/preview.js +++ b/lib/ui/src/components/preview/preview.js @@ -1,4 +1,3 @@ -import { window } from 'global'; import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import memoize from 'memoizerific'; @@ -6,7 +5,7 @@ import memoize from 'memoizerific'; import { styled } from '@storybook/theming'; import { SET_CURRENT_STORY } from '@storybook/core-events'; import { types } from '@storybook/addons'; -import { Icons, IconButton, TabButton, TabBar, interleaveSeparators } from '@storybook/components'; +import { Icons, IconButton, TabButton, TabBar, Separator } from '@storybook/components'; import Helmet from 'react-helmet-async'; @@ -78,33 +77,39 @@ const defaultWrappers = [ ]; const getTools = memoize(10)( - (getElements, panels, actions, options, storyId, viewMode, location, path, baseUrl) => { + (getElements, panels, actions, options, storyId, viewMode, location, path) => { const tools = getElementList(getElements, types.TOOL, [ panels.filter(p => p.id !== 'canvas').length ? { render: () => ( - - {panels.map((t, index) => { - const to = t.route({ storyId, viewMode, path, location }); - const isActive = t.match({ storyId, viewMode, path, location }); - return ( - - {t.title} - - ); - })} - + + + {panels.map((t, index) => { + const to = t.route({ storyId, viewMode, path, location }); + const isActive = t.match({ storyId, viewMode, path, location }); + return ( + + {t.title} + + ); + })} + + + ), } : null, { match: p => p.viewMode === 'story', render: () => ( - - {({ set, value }) => ( - set(value * v)} reset={() => set(1)} /> - )} - + + + {({ set, value }) => ( + set(value * v)} reset={() => set(1)} /> + )} + + + ), }, { @@ -143,11 +148,11 @@ const getTools = memoize(10)( match: p => p.viewMode === 'story', render: () => ( window.open(`${baseUrl}?id=${storyId}`)} - title="Open component in new tab" + key="full" + onClick={actions.toggleFullscreen} + title={options.isFullscreen ? 'Exit full screen' : 'Go full screen'} > - + ), }, @@ -156,8 +161,22 @@ const getTools = memoize(10)( const filter = item => item && (!item.match || item.match({ storyId, viewMode, location, path })); - const left = interleaveSeparators(tools.filter(filter)); - const right = interleaveSeparators(extraTools.filter(filter)); + const displayItems = list => + list.reduce( + (acc, item, index) => + item ? ( + + {acc} + {item.render() || item} + + ) : ( + acc + ), + null + ); + + const left = displayItems(tools.filter(filter)); + const right = displayItems(extraTools.filter(filter)); return { left, right }; } diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 813e83d8f1a..871c8913c45 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -413,14 +413,13 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` >
    + + + + + @@ -382,7 +362,7 @@ Array [ exports[`Storyshots UI|Preview/Preview with tabs 1`] = ` Array [ - .emotion-27 { + .emotion-28 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -511,7 +491,7 @@ Array [ border-bottom-color: #1EA7FD; } -.emotion-26 { +.emotion-27 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -525,39 +505,10 @@ Array [ margin-left: 30px; } -.emotion-26 > * { +.emotion-27 > * { margin-right: 15px; } -.emotion-22 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-22:hover, -.emotion-22:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-22 > svg { - width: 15px; -} - -@media (max-width:599px) { - .emotion-22 { - display: none; - } -} - .emotion-7 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); @@ -570,7 +521,7 @@ Array [ fill: currentColor; } -.emotion-28 { +.emotion-29 { color: #999999; height: 40px; overflow: auto; @@ -600,7 +551,7 @@ Array [ tranform: translateY(0px); } -.emotion-28:hover { +.emotion-29:hover { -webkit-scrollbar-width: none; -moz-scrollbar-width: none; -ms-scrollbar-width: none; @@ -611,7 +562,7 @@ Array [ scrollbar-width: 0; } -.emotion-28::-webkit-scrollbar { +.emotion-29::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; @@ -619,14 +570,14 @@ Array [ display: none; } -.emotion-28:hover::-webkit-scrollbar { +.emotion-29:hover::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; display: block; } -.emotion-28::-webkit-scrollbar-track { +.emotion-29::-webkit-scrollbar-track { border-radius: 0; background: transparent; opacity: 0; @@ -636,13 +587,13 @@ Array [ width: 0; } -.emotion-28::-webkit-scrollbar-thumb { +.emotion-29::-webkit-scrollbar-thumb { border-radius: 0; background: rgba(0,0,0,.1); box-shadow: none; } -.emotion-28::-webkit-scrollbar-track-piece { +.emotion-29::-webkit-scrollbar-track-piece { display: none; border: 0 none; opacity: 0; @@ -683,6 +634,12 @@ Array [ display: none; } +@media (max-width:599px) { + .emotion-23 { + display: none; + } +} + .emotion-1 { color: inherit; -webkit-text-decoration: inherit; @@ -691,10 +648,10 @@ Array [ }
    - + + + + + diff --git a/lib/ui/src/components/preview/preview.js b/lib/ui/src/components/preview/preview.js index 480a1a556a6..9a920482143 100644 --- a/lib/ui/src/components/preview/preview.js +++ b/lib/ui/src/components/preview/preview.js @@ -1,3 +1,4 @@ +import window from 'global'; import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import memoize from 'memoizerific'; @@ -18,7 +19,7 @@ import { Grid, Background, BackgroundProvider, BackgroundConsumer } from './back import { IFrame } from './iframe'; -const DesktopOnlyIconButton = styled(IconButton)({ +const DesktopOnly = styled.span({ // Hides full screen icon at mobile breakpoint defined in app.js '@media (max-width: 599px)': { display: 'none', @@ -77,7 +78,7 @@ const defaultWrappers = [ ]; const getTools = memoize(10)( - (getElements, panels, actions, options, storyId, viewMode, location, path) => { + (getElements, panels, actions, options, storyId, viewMode, location, path, baseUrl) => { const tools = getElementList(getElements, types.TOOL, [ panels.filter(p => p.id !== 'canvas').length ? { @@ -135,24 +136,22 @@ const getTools = memoize(10)( { match: p => p.viewMode === 'story', render: () => ( - - - + + + + + ), }, { match: p => p.viewMode === 'story', render: () => ( - - + window.open(`${baseUrl}?id=${storyId}`)}> + ), }, From 9fa7ff635a96701f40c7a4e297cd6b807cd38a22 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 25 Feb 2019 10:08:29 +1100 Subject: [PATCH 079/249] Merge pull request #5732 from storybooks/minor-v5-styling-polish About page styling QA --- .../__snapshots__/about.stories.storyshot | 17 ++++++++++++++++- lib/ui/src/settings/about.js | 6 ++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 871c8913c45..1be5b37f9bc 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -396,8 +396,10 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` background: #FEDED2; color: #FF4400; font-weight: 700; + font-size: 14px; padding: 10px 20px; margin-bottom: 24px; + border-radius: 4px; border: 1px solid rgba(0,0,0,.1); text-align: center; } @@ -917,6 +919,11 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: .75rem; } .emotion-11 { @@ -1444,15 +1451,16 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: #E1FFD4; color: #66BF3C; font-weight: 700; + font-size: 14px; padding: 10px 20px; margin-bottom: 24px; + border-radius: 4px; border: 1px solid rgba(0,0,0,.1); text-align: center; } .emotion-31 { margin-top: 20px; - padding-bottom: 20px; border-top: 1px solid rgba(0,0,0,.1); } @@ -2298,8 +2306,10 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: #EAF3FC; color: #333333; font-weight: 700; + font-size: 14px; padding: 10px 20px; margin-bottom: 24px; + border-radius: 4px; border: 1px solid rgba(0,0,0,.1); text-align: center; } @@ -2313,6 +2323,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: .75rem; } .emotion-11 { diff --git a/lib/ui/src/settings/about.js b/lib/ui/src/settings/about.js index c2a548bcf9e..c961d6a8e1e 100644 --- a/lib/ui/src/settings/about.js +++ b/lib/ui/src/settings/about.js @@ -50,6 +50,8 @@ const SubheadingLink = styled(Link)(({ theme }) => ({ const Subheader = styled.div({ display: 'flex', justifyContent: 'space-between', + alignItems: 'center', + marginBottom: '.75rem', }); const UpdateMessage = styled.div( @@ -65,9 +67,10 @@ const UpdateMessage = styled.div( ({ theme }) => ({ fontWeight: theme.typography.weight.bold, + fontSize: theme.typography.size.s2, padding: '10px 20px', marginBottom: 24, - borderRadius: theme.borderRadius, + borderRadius: theme.appBorderRadius, border: `1px solid ${theme.appBorderColor}`, textAlign: 'center', }) @@ -80,7 +83,6 @@ const ErrorMessage = styled.div(({ theme }) => ({ const Upgrade = styled.div(({ theme }) => ({ marginTop: 20, - paddingBottom: 20, borderTop: `1px solid ${theme.appBorderColor}`, })); From 2839facc82943064c2b87641bffdc1b3ed7b8671 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 25 Feb 2019 02:04:06 +0100 Subject: [PATCH 080/249] Merge pull request #5741 from storybooks/fix/bad-mockdata FIX bad mockdata --- lib/ui/src/components/sidebar/treeview/treeview.mockdata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/src/components/sidebar/treeview/treeview.mockdata.js b/lib/ui/src/components/sidebar/treeview/treeview.mockdata.js index 76f4992b5ac..e8f50a20865 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.mockdata.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.mockdata.js @@ -66,8 +66,8 @@ export const mockDataset = { }, '2-22': { isRoot: false, - isLeaf: false, - isComponent: true, + isLeaf: true, + isComponent: false, id: '2-22', depth: 1, name: 'Child B2', From 268100fe1dee31f8370ed35b7c74bac4be6d4cbc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 Feb 2019 22:45:20 +0800 Subject: [PATCH 081/249] Merge pull request #5751 from storybooks/fix/actions-performance FIX performance issue with addon-actions by upgrading to telejson 2.1 --- lib/channel-postmessage/package.json | 2 +- yarn.lock | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index f243526e24a..247c544da66 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -23,7 +23,7 @@ "@storybook/channels": "5.0.0-rc.5", "@storybook/client-logger": "5.0.0-rc.5", "global": "^4.3.2", - "telejson": "^2.0.0" + "telejson": "^2.1.0" }, "devDependencies": { "@types/json-stringify-safe": "^5.0.0" diff --git a/yarn.lock b/yarn.lock index f628798a48a..dffc9122a47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20052,10 +20052,10 @@ tar@^4, tar@^4.4.8: safe-buffer "^5.1.2" yallist "^3.0.2" -telejson@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/telejson/-/telejson-2.0.0.tgz#3bde0d8efc73b9410e51519e8f1e3952d51bafa3" - integrity sha512-NfJ8FLvYk7RiwBWw3QfsPz4kUK7lOFhL1KrtumlSnc9XAeD87T10ZrsfP3tbJdsPEPdwWA78x5VCEHtcs9foYQ== +telejson@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/telejson/-/telejson-2.1.0.tgz#cd362a695929ac6fccc0491827fe05f60d63fcc2" + integrity sha512-wLaH1Yu50xlfwLscqIvnAfBjMbILF6OWpMsHlK91dWyZJX3adxgt6YgRTRQiKHJr5INEx0oKSYOaOHfRqpdtzg== dependencies: global "^4.3.2" is-function "^1.0.1" @@ -20063,6 +20063,7 @@ telejson@^2.0.0: is-symbol "^1.0.2" isobject "^3.0.1" lodash.get "^4.4.2" + memoizerific "^1.11.3" safe-eval "^0.4.1" temp-dir@^1.0.0: From 75073633fad0ab320ba362e74144785532fd6ee6 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 Feb 2019 23:54:51 +0800 Subject: [PATCH 082/249] 5.0.0-rc.6 changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f72a1de6f..f0325059cdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 5.0.0-rc.6 (February 25, 2019) + +### Bug Fixes + +* Addon-actions: FIX performance by upgrading to telejson 2.1 ([#5751](https://github.com/storybooks/storybook/pull/5751)) +* UI: FIX bad treeview mockdata ([#5741](https://github.com/storybooks/storybook/pull/5741)) +* UI: About page styling fixes ([#5732](https://github.com/storybooks/storybook/pull/5732)) +* UI: Restore the toolbar eject button ([#5737](https://github.com/storybooks/storybook/pull/5737)) + ## 5.0.0-rc.5 (February 23, 2019) ### Bug Fixes From 70ab48e02c501c401c15e73630919ff1bd2140f7 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 00:03:55 +0800 Subject: [PATCH 083/249] v5.0.0-rc.6 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 4 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native/package.json | 14 ++--- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 32 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 ++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 26 ++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 6 +-- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 54 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 14 ++--- 62 files changed, 356 insertions(+), 356 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 70987fec8b7..05cdd93127a 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index dc313c645ba..0e6e860beda 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index d5fa51225e9..42025cc1f81 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index 099445e57ca..99da816e144 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 20d018c144c..776008d9f45 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -24,10 +24,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/channels": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/channels": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 3ccd42d74a6..5e73d21097a 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 45d67fe3f14..4ce7bc28dcc 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 55648a3e6cc..3a9d79a448b 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index 8a061330a3d..d57de0c3fb1 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 56155ea43bd..59306e838a2 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 30f8f323ea4..b0ea3a68a11 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index bd8b72829cd..2f33e1cf9cb 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index e991165371a..b8ebabc14d0 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 3f5593d7000..447cef3a4b9 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-backgrounds", "private": true, - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", "core-js": "^2.6.2", "prop-types": "^15.6.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 47b1b958602..d363f320e32 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-knobs", "private": true, - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", "core-js": "^2.6.2", "deep-equal": "^1.0.1", "prop-types": "^15.6.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index c396fd40920..85943398f45 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-notes", "private": true, - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -19,7 +19,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", "core-js": "^2.6.2", "prop-types": "^15.6.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 3ca1ebd53a3..9bdb8e3692a 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 2b5d8ea33d3..2baddc34277 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 63a4362a275..f030e4d91b3 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", + "@storybook/node-logger": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 58ed1940003..a38ea95c349 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 697333802c1..23fbd8ce711 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index cc0a7d38b91..994d5e52b05 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", - "@storybook/node-logger": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", + "@storybook/node-logger": "5.0.0-rc.6", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index ffc666185d4..f617a752b6f 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 9dab02ce3f8..d1d624b53db 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index d50cb6f6dfa..fc38d2016cd 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 296359c4edb..20f56ad4fac 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index d047703c716..e534591af7b 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index 8df40a91301..24aeb4f6821 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native/package.json b/app/react-native/package.json index 51954dd388b..6898373cb0e 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/react-native", "private": true, - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/channel-websocket": "5.0.0-rc.5", - "@storybook/channels": "5.0.0-rc.5", - "@storybook/core": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/ui": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/channel-websocket": "5.0.0-rc.6", + "@storybook/channels": "5.0.0-rc.6", + "@storybook/core": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/ui": "5.0.0-rc.6", "babel-loader": "^8.0.4", "babel-plugin-macros": "^2.4.5", "babel-plugin-syntax-async-functions": "^6.13.0", diff --git a/app/react/package.json b/app/react/package.json index 60af615c4d0..d890b4da7c6 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.5", - "@storybook/node-logger": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", + "@storybook/node-logger": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index 0fb03db5065..3be591a0117 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 0f61c5aa246..40bfaf4386d 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 0d0c94001e3..a48c3ad6eef 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.5", + "@storybook/core": "5.0.0-rc.6", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 9c918561309..af2067ca76f 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.11.4", "@angular/cli": "^7.3.0", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-jest": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/angular": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-jest": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/angular": "5.0.0-rc.6", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index a9b422ac0cc..986e07e2066 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.5", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-events": "5.0.0-rc.5", - "@storybook/addon-info": "5.0.0-rc.5", - "@storybook/addon-jest": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/react": "5.0.0-rc.5", + "@storybook/addon-a11y": "5.0.0-rc.6", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-events": "5.0.0-rc.6", + "@storybook/addon-info": "5.0.0-rc.6", + "@storybook/addon-jest": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/react": "5.0.0-rc.6", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 2d2dec176e0..01c29733214 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-info": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/react": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-info": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/react": "5.0.0-rc.6", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index edd675900d1..fd34f24989d 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.5", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/ember": "5.0.0-rc.5", + "@storybook/addon-a11y": "5.0.0-rc.6", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/ember": "5.0.0-rc.6", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 86d8610eeee..8b3dc974f9d 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.5", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-events": "5.0.0-rc.5", - "@storybook/addon-jest": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/core": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/html": "5.0.0-rc.5", + "@storybook/addon-a11y": "5.0.0-rc.6", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-events": "5.0.0-rc.6", + "@storybook/addon-jest": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/core": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/html": "5.0.0-rc.6", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 402eaab2d61..2570da29c49 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/marko": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/marko": "5.0.0-rc.6", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index b02352c1d2d..3fc97368264 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/mithril": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/mithril": "5.0.0-rc.6", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index c3683f586cb..4ff4c07d4fa 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.5", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-cssresources": "5.0.0-rc.5", - "@storybook/addon-events": "5.0.0-rc.5", - "@storybook/addon-graphql": "5.0.0-rc.5", - "@storybook/addon-info": "5.0.0-rc.5", - "@storybook/addon-jest": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/node-logger": "5.0.0-rc.5", - "@storybook/react": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addon-a11y": "5.0.0-rc.6", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-cssresources": "5.0.0-rc.6", + "@storybook/addon-events": "5.0.0-rc.6", + "@storybook/addon-graphql": "5.0.0-rc.6", + "@storybook/addon-info": "5.0.0-rc.6", + "@storybook/addon-jest": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/node-logger": "5.0.0-rc.6", + "@storybook/react": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index bd1d188e4c2..70eb8e39f46 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/polymer": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/polymer": "5.0.0-rc.6", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 32340d55460..013ab9aee85 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/preact": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/preact": "5.0.0-rc.6", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 94acdb034be..3aeec3766ab 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/riot": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/riot": "5.0.0-rc.6", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 3ac9e42fed4..bfc055c4a5d 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/svelte": "5.0.0-rc.5" + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/svelte": "5.0.0-rc.6" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index b30599db143..7e394d08c32 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-backgrounds": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addon-storysource": "5.0.0-rc.5", - "@storybook/addon-viewport": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/vue": "5.0.0-rc.5", + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-backgrounds": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addon-storysource": "5.0.0-rc.6", + "@storybook/addon-viewport": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/vue": "5.0.0-rc.6", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index ce1527c3f19..38df0af6f0e 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.5" + "version": "5.0.0-rc.6" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 9e734075180..4a6b4f77537 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", + "@storybook/channels": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 247c544da66..c2374a573c7 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", + "@storybook/channels": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", "global": "^4.3.2", "telejson": "^2.1.0" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 75d771af081..4e3288b2bad 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.5", + "@storybook/channels": "5.0.0-rc.6", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index cc504d5dc50..1233e6e9f8e 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 272ef68a230..fa67ac033f5 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.5", + "@storybook/codemod": "5.0.0-rc.6", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.5", - "@storybook/addon-centered": "5.0.0-rc.5", - "@storybook/addon-graphql": "5.0.0-rc.5", - "@storybook/addon-info": "5.0.0-rc.5", - "@storybook/addon-knobs": "5.0.0-rc.5", - "@storybook/addon-links": "5.0.0-rc.5", - "@storybook/addon-notes": "5.0.0-rc.5", - "@storybook/addon-options": "5.0.0-rc.5", - "@storybook/addon-storyshots": "5.0.0-rc.5", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/angular": "5.0.0-rc.5", - "@storybook/channel-postmessage": "5.0.0-rc.5", - "@storybook/channel-websocket": "5.0.0-rc.5", - "@storybook/channels": "5.0.0-rc.5", - "@storybook/ember": "5.0.0-rc.5", - "@storybook/html": "5.0.0-rc.5", - "@storybook/marko": "5.0.0-rc.5", - "@storybook/mithril": "5.0.0-rc.5", - "@storybook/polymer": "5.0.0-rc.5", - "@storybook/preact": "5.0.0-rc.5", - "@storybook/react": "5.0.0-rc.5", - "@storybook/react-native": "5.0.0-rc.5", - "@storybook/riot": "5.0.0-rc.5", - "@storybook/ui": "5.0.0-rc.5", - "@storybook/vue": "5.0.0-rc.5" + "@storybook/addon-actions": "5.0.0-rc.6", + "@storybook/addon-centered": "5.0.0-rc.6", + "@storybook/addon-graphql": "5.0.0-rc.6", + "@storybook/addon-info": "5.0.0-rc.6", + "@storybook/addon-knobs": "5.0.0-rc.6", + "@storybook/addon-links": "5.0.0-rc.6", + "@storybook/addon-notes": "5.0.0-rc.6", + "@storybook/addon-options": "5.0.0-rc.6", + "@storybook/addon-storyshots": "5.0.0-rc.6", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/angular": "5.0.0-rc.6", + "@storybook/channel-postmessage": "5.0.0-rc.6", + "@storybook/channel-websocket": "5.0.0-rc.6", + "@storybook/channels": "5.0.0-rc.6", + "@storybook/ember": "5.0.0-rc.6", + "@storybook/html": "5.0.0-rc.6", + "@storybook/marko": "5.0.0-rc.6", + "@storybook/mithril": "5.0.0-rc.6", + "@storybook/polymer": "5.0.0-rc.6", + "@storybook/preact": "5.0.0-rc.6", + "@storybook/react": "5.0.0-rc.6", + "@storybook/react-native": "5.0.0-rc.6", + "@storybook/riot": "5.0.0-rc.6", + "@storybook/ui": "5.0.0-rc.6", + "@storybook/vue": "5.0.0-rc.6" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 099d05cbca0..57283bc4156 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,10 +19,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 86b0b7d5cd7..3e25885f85f 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index da6c6f4b29a..91b1bc7e326 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index b6ec56e42e9..3e7b310be4d 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 16dbe9b4d87..76db93e2ff8 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index a4ad1f557b5..eb55235baab 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,15 +24,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.5", - "@storybook/channel-postmessage": "5.0.0-rc.5", - "@storybook/client-api": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/node-logger": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", - "@storybook/ui": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/channel-postmessage": "5.0.0-rc.6", + "@storybook/client-api": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/node-logger": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", + "@storybook/ui": "5.0.0-rc.6", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index ed179f9f32b..8fee2bbc0e6 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 8d26bcbd290..921849410dc 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/theming": "5.0.0-rc.6", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index 0694d2933b2..03645ed21f9 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.7", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.0.0-rc.5", + "@storybook/client-logger": "5.0.0-rc.6", "common-tags": "^1.8.0", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.7", diff --git a/lib/ui/package.json b/lib/ui/package.json index 0c0af0d238f..ac79e78e231 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.5", + "version": "5.0.0-rc.6", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.5", - "@storybook/client-logger": "5.0.0-rc.5", - "@storybook/components": "5.0.0-rc.5", - "@storybook/core-events": "5.0.0-rc.5", - "@storybook/router": "5.0.0-rc.5", - "@storybook/theming": "5.0.0-rc.5", + "@storybook/addons": "5.0.0-rc.6", + "@storybook/client-logger": "5.0.0-rc.6", + "@storybook/components": "5.0.0-rc.6", + "@storybook/core-events": "5.0.0-rc.6", + "@storybook/router": "5.0.0-rc.6", + "@storybook/theming": "5.0.0-rc.6", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From 158ceeb07f1aa94aa495a2db10470b83d5c7659f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 00:29:58 +0800 Subject: [PATCH 084/249] 5.0.0-rc.6 versions.json --- docs/static/versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/static/versions.json b/docs/static/versions.json index 5dc74db58aa..630fd2556c3 100644 --- a/docs/static/versions.json +++ b/docs/static/versions.json @@ -1 +1 @@ -{"next":{"version":"5.0.0-rc.5","info":{"plain":"### Bug Fixes\n\n* UI: Fix `/` search hotkey so it doesn't type into the input ([#5702](https://github.com/storybooks/storybook/pull/5702))\n* Addon-a11y: Fix a11y setup being undefined ([#5724](https://github.com/storybooks/storybook/pull/5724))\n* UI: Fix duplicate theming packages ([#5722](https://github.com/storybooks/storybook/pull/5722))\n* Core: Clean up debug logging ([#5705](https://github.com/storybooks/storybook/pull/5705))\n* UI: Minor addon ux tweaks ([#5712](https://github.com/storybooks/storybook/pull/5712))\n* Addon-a11y: Fix story scrolling ([#5713](https://github.com/storybooks/storybook/pull/5713))\n* UI: Fix mobile styling ([#5709](https://github.com/storybooks/storybook/pull/5709))\n* UI: Fix tooltip bugs ([#5692](https://github.com/storybooks/storybook/pull/5692))\n* UI: Fix toolbar separators ([#5711](https://github.com/storybooks/storybook/pull/5711))\n\n### Maintenance\n\n* Typescript: migrate addon-backgrounds ([#5535](https://github.com/storybooks/storybook/pull/5535))\n* Typescript: fix typings for addon-backgrounds ([#5730](https://github.com/storybooks/storybook/pull/5730))"}}} \ No newline at end of file +{"next":{"version":"5.0.0-rc.6","info":{"plain":"### Bug Fixes\n\n* Addon-actions: FIX performance by upgrading to telejson 2.1 ([#5751](https://github.com/storybooks/storybook/pull/5751))\n* UI: FIX bad treeview mockdata ([#5741](https://github.com/storybooks/storybook/pull/5741))\n* UI: About page styling fixes ([#5732](https://github.com/storybooks/storybook/pull/5732))\n* UI: Restore the toolbar eject button ([#5737](https://github.com/storybooks/storybook/pull/5737))"}}} \ No newline at end of file From f0e00c44f915c643aad5662d7e654d155704da4d Mon Sep 17 00:00:00 2001 From: Dominic Nguyen Date: Mon, 25 Feb 2019 11:16:16 -0500 Subject: [PATCH 085/249] Merge pull request #5742 from storybooks/feature/toolbar-toggle-animation CHANGE animation duration for layout && ADD animation for toolbar --- lib/ui/src/components/layout/container.js | 2 +- .../preview/__snapshots__/preview.stories.storyshot | 4 ++++ lib/ui/src/components/preview/components.js | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ui/src/components/layout/container.js b/lib/ui/src/components/layout/container.js index db2c9573101..be43e824808 100644 --- a/lib/ui/src/components/layout/container.js +++ b/lib/ui/src/components/layout/container.js @@ -68,7 +68,7 @@ const Pane = styled.div( animate ? { transition: ['width', 'height', 'top', 'left', 'background', 'opacity', 'transform'] - .map(p => `${p} 0.09s ease-out`) + .map(p => `${p} 0.1s ease-out`) .join(','), } : {} diff --git a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot index a03b4aadebd..1e9b850e826 100644 --- a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot +++ b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot @@ -296,6 +296,8 @@ Array [ bottom: 0; top: 40px; z-index: 3; + -webkit-transition: all 0.1s linear; + transition: all 0.1s linear; height: calc(100% - 40px); background: transparent; } @@ -788,6 +790,8 @@ Array [ bottom: 0; top: 40px; z-index: 3; + -webkit-transition: all 0.1s linear; + transition: all 0.1s linear; height: calc(100% - 40px); background: transparent; } diff --git a/lib/ui/src/components/preview/components.js b/lib/ui/src/components/preview/components.js index 9d93ac659c8..05ac8c1597a 100644 --- a/lib/ui/src/components/preview/components.js +++ b/lib/ui/src/components/preview/components.js @@ -27,7 +27,8 @@ export const FrameWrap = styled.div(({ offset }) => ({ bottom: 0, top: offset, zIndex: 3, - height: offset ? `calc(100% - ${offset}px)` : '100%', + transition: 'all 0.1s linear', + height: `calc(100% - ${offset}px)`, background: 'transparent', })); From 30c10676d3ffbee5ea6fdbfd4a8dcadd980d9d72 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 00:38:27 +0800 Subject: [PATCH 086/249] Merge pull request #5748 from storybooks/feature/no-fuzzy-for-only-2-char-search Fuzzy search improvement --- .../src/components/sidebar/treeview/utils.js | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/lib/ui/src/components/sidebar/treeview/utils.js b/lib/ui/src/components/sidebar/treeview/utils.js index a2b704053f1..81efc9cfe05 100644 --- a/lib/ui/src/components/sidebar/treeview/utils.js +++ b/lib/ui/src/components/sidebar/treeview/utils.js @@ -3,6 +3,8 @@ import FuzzySearch from 'fuzzy-search'; export const prevent = e => e.preventDefault(); +const toList = memoize(1)(dataset => Object.values(dataset)); + export const keyEventToAction = ({ keyCode, ctrlKey, shiftKey, altKey, metaKey }) => { if (shiftKey || metaKey || ctrlKey || altKey) { return false; @@ -52,7 +54,7 @@ export const getParents = memoize(1000)((id, dataset) => { }); export const getMains = memoize(1)(dataset => - Object.values(dataset) + toList(dataset) .filter(m => m.depth === 0) .sort((a, b) => { if (a.isRoot && b.isRoot) { @@ -163,16 +165,24 @@ export const getNext = ({ id, dataset, expanded }) => { const toHayStack = memoize(2)( dataset => - new FuzzySearch(Object.values(dataset), [ - 'kind', - 'name', - 'parameters.fileName', - 'parameters.notes', - ]) + new FuzzySearch(toList(dataset), ['kind', 'name', 'parameters.fileName', 'parameters.notes']) ); + +const exactMatch = memoize(1)(filter => i => + (i.kind && i.kind.includes(filter)) || + (i.name && i.name.includes(filter)) || + (i.parameters && i.parameters.fileName && i.parameters.fileName.includes(filter)) || + (i.parameters && typeof i.parameters.notes === 'string' && i.parameters.notes.includes(filter)) +); + export const toId = (base, addition) => (base === '' ? `${addition}` : `${base}-${addition}`); export const toFiltered = (dataset, filter) => { - const found = toHayStack(dataset).search(filter); + let found; + if (filter.length && filter.length > 2) { + found = toHayStack(dataset).search(filter); + } else { + found = toList(dataset).filter(exactMatch(filter)); + } // get all parents for all results const result = found.reduce((acc, item) => { From 9ee2df00954491080ceddd5c0d26c021358e6794 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 25 Feb 2019 20:16:01 +0100 Subject: [PATCH 087/249] Merge pull request #5749 from storybooks/feature/addon-tool-active-indicator ADD activity to addon-background and addon-viewport tool --- addons/backgrounds/src/containers/BackgroundSelector.tsx | 2 +- addons/viewport/src/Tool.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/backgrounds/src/containers/BackgroundSelector.tsx b/addons/backgrounds/src/containers/BackgroundSelector.tsx index 76f0011a804..7a3f634017a 100644 --- a/addons/backgrounds/src/containers/BackgroundSelector.tsx +++ b/addons/backgrounds/src/containers/BackgroundSelector.tsx @@ -140,7 +140,7 @@ export class BackgroundSelector extends Component} closeOnClick > - + diff --git a/addons/viewport/src/Tool.js b/addons/viewport/src/Tool.js index d0042f2ea6c..3e986d455d1 100644 --- a/addons/viewport/src/Tool.js +++ b/addons/viewport/src/Tool.js @@ -123,7 +123,7 @@ export default class ViewportTool extends Component { tooltip={} closeOnClick > - + From a290b1f33ef05631ae4b211acd4c79c57d81ec8e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 10:52:11 +0800 Subject: [PATCH 088/249] Merge pull request #5756 from storybooks/5620-loading-state Added `STORIES_CONFIGURED` and use to drive loading state --- lib/client-api/src/config_api.js | 4 ++++ lib/core-events/src/index.ts | 2 ++ lib/ui/src/containers/nav.js | 2 ++ lib/ui/src/core/context.js | 5 ++++- lib/ui/src/core/initial-state.js | 1 + 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/client-api/src/config_api.js b/lib/client-api/src/config_api.js index dcce4456a64..a59226a84a9 100644 --- a/lib/client-api/src/config_api.js +++ b/lib/client-api/src/config_api.js @@ -75,6 +75,10 @@ export default class ConfigApi { if (this._channel) { // in Browser render(); + // Send a signal to the manager that configure() is done. We do this in a timeout + // because the story_store sends stories in a debounced function, which results in + // as setTimeout. We want to ensure this happens after, to avoid a FOUC. + setTimeout(() => this._channel.emit(Events.STORIES_CONFIGURED), 0); } else { // in NodeJS loaders(); diff --git a/lib/core-events/src/index.ts b/lib/core-events/src/index.ts index d216fe77d0b..43195089ed6 100644 --- a/lib/core-events/src/index.ts +++ b/lib/core-events/src/index.ts @@ -4,6 +4,7 @@ enum events { SET_CURRENT_STORY = 'setCurrentStory', GET_STORIES = 'getStories', SET_STORIES = 'setStories', + STORIES_CONFIGURED = 'storiesConfigured', SELECT_STORY = 'selectStory', PREVIEW_KEYDOWN = 'previewKeydown', STORY_ADDED = 'storyAdded', @@ -29,6 +30,7 @@ export const GET_CURRENT_STORY = events.GET_CURRENT_STORY; export const SET_CURRENT_STORY = events.SET_CURRENT_STORY; export const GET_STORIES = events.GET_STORIES; export const SET_STORIES = events.SET_STORIES; +export const STORIES_CONFIGURED = events.STORIES_CONFIGURED; export const SELECT_STORY = events.SELECT_STORY; export const PREVIEW_KEYDOWN = events.PREVIEW_KEYDOWN; export const FORCE_RE_RENDER = events.FORCE_RE_RENDER; diff --git a/lib/ui/src/containers/nav.js b/lib/ui/src/containers/nav.js index e41d3591c35..68750a080e6 100755 --- a/lib/ui/src/containers/nav.js +++ b/lib/ui/src/containers/nav.js @@ -97,10 +97,12 @@ export const mapper = (state, api) => { storyId, layout: { isFullscreen, showPanel, showNav, panelPosition }, storiesHash, + storiesConfigured, } = state; const shortcutKeys = api.getShortcutKeys(); return { + loading: !storiesConfigured, title: name, url, notifications, diff --git a/lib/ui/src/core/context.js b/lib/ui/src/core/context.js index 105e4ac181f..7e03f6a0e8f 100644 --- a/lib/ui/src/core/context.js +++ b/lib/ui/src/core/context.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import Events from '@storybook/core-events'; +import Events, { STORIES_CONFIGURED } from '@storybook/core-events'; import initProviderApi from './init-provider-api'; @@ -94,6 +94,9 @@ export class Provider extends Component { api.setOptions(options); }); + api.on(STORIES_CONFIGURED, () => { + store.setState({ storiesConfigured: true }); + }); api.on(SELECT_STORY, ({ kind, story, ...rest }) => { api.selectStory(kind, story, rest); }); diff --git a/lib/ui/src/core/initial-state.js b/lib/ui/src/core/initial-state.js index 0bcca3cc73c..762aed06bf3 100644 --- a/lib/ui/src/core/initial-state.js +++ b/lib/ui/src/core/initial-state.js @@ -19,6 +19,7 @@ const initial = { panelPosition: 'bottom', }, customQueryParams: {}, + storiesConfigured: false, }; // Returns the initialState of the app From b2bae0abdc26f99157da92f918faa2903d28229a Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 26 Feb 2019 02:15:47 +0100 Subject: [PATCH 089/249] Merge pull request #5733 from storybooks/5665-customizable-brand Improve `brand` API --- examples/official-storybook/config.js | 1 - .../__snapshots__/storyshots.test.js.snap | 1995 +++++++++++++---- lib/components/src/brand/StorybookLogo.js | 10 +- lib/theming/src/base.ts | 7 +- lib/theming/src/brand.tsx | 51 - lib/theming/src/create.ts | 12 +- lib/theming/src/themes/dark.ts | 3 - lib/theming/src/themes/light.ts | 3 - .../src/components/sidebar/Sidebar.stories.js | 2 +- .../src/components/sidebar/SidebarHeading.js | 74 +- .../sidebar/SidebarHeading.stories.js | 115 +- lib/ui/src/core/init-provider-api.js | 20 + lib/ui/src/core/initial-state.js | 2 - 13 files changed, 1772 insertions(+), 523 deletions(-) delete mode 100644 lib/theming/src/brand.tsx diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index 50e42f6a8dc..b5f8ca2e8a2 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -49,7 +49,6 @@ addParameters({ }, }, options: { - name: 'Storybook', hierarchySeparator: /\/|\./, hierarchyRootSeparator: '|', // theme: themes.dark, diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index be34263df94..2c69de59a58 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -243,7 +243,7 @@ exports[`Storyshots Basics|ActionBar singleItem 1`] = ` exports[`Storyshots Basics|Brand/StorybookLogo normal 1`] = ` @@ -2638,8 +2638,7 @@ exports[`Storyshots Core|Parameters passed to story 1`] = ` Parameters are { "options": { "hierarchyRootSeparator": "|", - "hierarchySeparator": {}, - "name": "Storybook" + "hierarchySeparator": {} }, "a11y": { "configure": {}, @@ -5263,10 +5262,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -5277,11 +5276,22 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` .emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } .emotion-2 > * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -5292,23 +5302,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -5669,10 +5662,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -5683,11 +5676,22 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` .emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } .emotion-2 > * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -5698,23 +5702,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -5999,10 +5986,14 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` + + Storybook + * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -6498,23 +6500,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -6998,10 +6983,10 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -7012,11 +6997,22 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` .emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } .emotion-2 > * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -7027,23 +7023,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -7491,10 +7470,14 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` + + Storybook + `; -exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` -.emotion-2 { +exports[`Storyshots UI|Sidebar/SidebarHeading customBrandImage 1`] = ` +.emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -7795,29 +7778,47 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` display: block; } -.emotion-1 { +.emotion-3 { fill: currentColor; } -.emotion-0 { +.emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } -.emotion-0 > * { - max-height: 32px; - max-width: 200px; +.emotion-2 > * { + max-width: 100%; height: auto; width: auto; display: block; } -.emotion-4 { +.emotion-1 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { display: inline-block; cursor: pointer; } -.emotion-3 { +.emotion-5 { border: 0; border-radius: 3em; cursor: pointer; @@ -7854,7 +7855,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` padding: 7px; } -.emotion-3 svg { +.emotion-5 svg { display: inline-block; height: 14px; width: 14px; @@ -7865,40 +7866,46 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` pointer-events: none; } -.emotion-3 svg path { +.emotion-5 svg path { fill: currentColor; } -.emotion-3 svg { +.emotion-5 svg { display: block; margin: 0; } -.emotion-3:hover { +.emotion-5:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-3:active { +.emotion-5:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-5 { +.emotion-7 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } -.emotion-2 { +.emotion-0 { + width: auto; + display: block; + max-width: 100%; +} + +.emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -7906,29 +7913,47 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` display: block; } -.emotion-1 { +.emotion-3 { fill: currentColor; } -.emotion-0 { +.emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } -.emotion-0 > * { - max-height: 32px; - max-width: 200px; +.emotion-2 > * { + max-width: 100%; height: auto; width: auto; display: block; } -.emotion-4 { +.emotion-1 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { display: inline-block; cursor: pointer; } -.emotion-3 { +.emotion-5 { border: 0; border-radius: 3em; cursor: pointer; @@ -7965,7 +7990,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` padding: 7px; } -.emotion-3 svg { +.emotion-5 svg { display: inline-block; height: 14px; width: 14px; @@ -7976,25 +8001,103 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` pointer-events: none; } -.emotion-3 svg path { +.emotion-5 svg path { fill: currentColor; } -.emotion-3 svg { +.emotion-5 svg { display: block; margin: 0; } -.emotion-3:hover { +.emotion-5:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-3:active { +.emotion-5:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-5 { +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-0 { + width: auto; + display: block; + max-width: 100%; +} + +
    +
    +
    + + My Title + +
    +
    + +
    +
    +
    +`; + +exports[`Storyshots UI|Sidebar/SidebarHeading linkAndText 1`] = ` +.emotion-3 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-2 { + fill: currentColor; +} + +.emotion-1 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8003,6 +8106,234 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-1 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-0 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-5 { + display: inline-block; + cursor: pointer; +} + +.emotion-4 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-4 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-4 svg path { + fill: currentColor; +} + +.emotion-4 svg { + display: block; + margin: 0; +} + +.emotion-4:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-4:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-3 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-2 { + fill: currentColor; +} + +.emotion-1 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-1 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-0 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-5 { + display: inline-block; + cursor: pointer; +} + +.emotion-4 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-4 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-4 svg path { + fill: currentColor; +} + +.emotion-4 svg { + display: block; + margin: 0; +} + +.emotion-4:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-4:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -8010,86 +8341,315 @@ exports[`Storyshots UI|Sidebar/SidebarHeading customBrand 1`] = ` }
    -
    - + + + + +
    +
    +
    +`; + +exports[`Storyshots UI|Sidebar/SidebarHeading longText 1`] = ` +.emotion-2 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-1 { + fill: currentColor; +} + +.emotion-0 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-0 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-4 { + display: inline-block; + cursor: pointer; +} + +.emotion-3 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-3 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-3 svg path { + fill: currentColor; +} + +.emotion-3 svg { + display: block; + margin: 0; +} + +.emotion-3:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-3:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-2 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-1 { + fill: currentColor; +} + +.emotion-0 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-0 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-4 { + display: inline-block; + cursor: pointer; +} + +.emotion-3 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-3 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-3 svg path { + fill: currentColor; +} + +.emotion-3 svg { + display: block; + margin: 0; +} + +.emotion-3:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-3:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +
    +
    +
    + My title is way to long to actually fit +
    +
    + +
    `; @@ -8110,11 +8670,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` .emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } .emotion-2 > * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -8125,23 +8696,6 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -8160,10 +8714,10 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -8262,11 +8816,22 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` .emotion-2 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } .emotion-2 > * { - max-height: 32px; - max-width: 200px; + max-width: 100%; height: auto; width: auto; display: block; @@ -8277,23 +8842,6 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` color: inherit; -webkit-text-decoration: none; text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); } .emotion-0 { @@ -8312,10 +8860,10 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -8400,81 +8948,89 @@ exports[`Storyshots UI|Sidebar/SidebarHeading menuHighlighted 1`] = ` }
    `; -exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` -.emotion-4 { +exports[`Storyshots UI|Sidebar/SidebarHeading onlyText 1`] = ` +.emotion-2 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -8482,59 +9038,40 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` display: block; } -.emotion-3 { +.emotion-1 { fill: currentColor; } -.emotion-2 { +.emotion-0 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } -.emotion-2 > * { - max-height: 32px; - max-width: 200px; +.emotion-0 > * { + max-width: 100%; height: auto; width: auto; display: block; } -.emotion-1 { - display: block; - color: inherit; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0 { - width: auto; - height: 22px; - display: block; -} - -.emotion-6 { +.emotion-4 { display: inline-block; cursor: pointer; } -.emotion-5 { +.emotion-3 { border: 0; border-radius: 3em; cursor: pointer; @@ -8571,7 +9108,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` padding: 7px; } -.emotion-5 svg { +.emotion-3 svg { display: inline-block; height: 14px; width: 14px; @@ -8582,40 +9119,40 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` pointer-events: none; } -.emotion-5 svg path { +.emotion-3 svg path { fill: currentColor; } -.emotion-5 svg { +.emotion-3 svg { display: block; margin: 0; } -.emotion-5:hover { +.emotion-3:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-5:active { +.emotion-3:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-7 { +.emotion-5 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } -.emotion-4 { +.emotion-2 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); @@ -8623,59 +9160,40 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` display: block; } -.emotion-3 { +.emotion-1 { fill: currentColor; } -.emotion-2 { +.emotion-0 { font-size: 14px; font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; } -.emotion-2 > * { - max-height: 32px; - max-width: 200px; +.emotion-0 > * { + max-width: 100%; height: auto; width: auto; display: block; } -.emotion-1 { - display: block; - color: inherit; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-1:hover { - -webkit-transform: translate3d(0,-2px,0); - -ms-transform: translate3d(0,-2px,0); - transform: translate3d(0,-2px,0); -} - -.emotion-1:active { - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} - -.emotion-0 { - width: auto; - height: 22px; - display: block; -} - -.emotion-6 { +.emotion-4 { display: inline-block; cursor: pointer; } -.emotion-5 { +.emotion-3 { border: 0; border-radius: 3em; cursor: pointer; @@ -8712,7 +9230,7 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` padding: 7px; } -.emotion-5 svg { +.emotion-3 svg { display: inline-block; height: 14px; width: 14px; @@ -8723,33 +9241,33 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` pointer-events: none; } -.emotion-5 svg path { +.emotion-3 svg path { fill: currentColor; } -.emotion-5 svg { +.emotion-3 svg { display: block; margin: 0; } -.emotion-5:hover { +.emotion-3:hover { box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; } -.emotion-5:active { +.emotion-3:active { box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; color: #333; } -.emotion-7 { +.emotion-5 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -8757,22 +9275,667 @@ exports[`Storyshots UI|Sidebar/SidebarHeading simple 1`] = ` } +
    +`; + +exports[`Storyshots UI|Sidebar/SidebarHeading standard 1`] = ` +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + +.emotion-2 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-2 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-1 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 { + width: auto; + height: 22px; + display: block; +} + +.emotion-6 { + display: inline-block; + cursor: pointer; +} + +.emotion-5 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-5 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-5 svg path { + fill: currentColor; +} + +.emotion-5 svg { + display: block; + margin: 0; +} + +.emotion-5:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-5:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-4 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-3 { + fill: currentColor; +} + +.emotion-2 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-2 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-1 { + display: block; + color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 { + width: auto; + height: 22px; + display: block; +} + +.emotion-6 { + display: inline-block; + cursor: pointer; +} + +.emotion-5 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-5 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-5 svg path { + fill: currentColor; +} + +.emotion-5 svg { + display: block; + margin: 0; +} + +.emotion-5:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-5:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + + +`; + +exports[`Storyshots UI|Sidebar/SidebarHeading standardNoLink 1`] = ` +.emotion-3 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-2 { + fill: currentColor; +} + +.emotion-1 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-1 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-0 { + width: auto; + height: 22px; + display: block; +} + +.emotion-5 { + display: inline-block; + cursor: pointer; +} + +.emotion-4 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-4 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-4 svg path { + fill: currentColor; +} + +.emotion-4 svg { + display: block; + margin: 0; +} + +.emotion-4:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-4:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.emotion-3 { + shape-rendering: inherit; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + display: block; +} + +.emotion-2 { + fill: currentColor; +} + +.emotion-1 { + font-size: 14px; + font-weight: 700; + margin-right: 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 3px; + padding-bottom: 3px; + min-height: 28px; +} + +.emotion-1 > * { + max-width: 100%; + height: auto; + width: auto; + display: block; +} + +.emotion-0 { + width: auto; + height: 22px; + display: block; +} + +.emotion-5 { + display: inline-block; + cursor: pointer; +} + +.emotion-4 { + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + overflow: hidden; + padding: 10px 16px; + position: relative; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-transition: all 150ms ease-out; + transition: all 150ms ease-out; + -webkit-transform: translate3d(0,0,0); + -ms-transform: translate3d(0,0,0); + transform: translate3d(0,0,0); + vertical-align: top; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 1; + margin: 0; + background: transparent; + font-size: 12px; + font-weight: 700; + line-height: 1; + padding: 9px; + box-shadow: rgba(51,51,51,0.2) 0 0 0 1px inset; + color: rgba(51,51,51,0.7); + background: transparent; + position: relative; + overflow: visible; + padding: 7px; +} + +.emotion-4 svg { + display: inline-block; + height: 14px; + width: 14px; + vertical-align: top; + margin-right: 4px; + margin-top: -1px; + margin-bottom: -1px; + pointer-events: none; +} + +.emotion-4 svg path { + fill: currentColor; +} + +.emotion-4 svg { + display: block; + margin: 0; +} + +.emotion-4:hover { + box-shadow: rgba(51,51,51,0.5) 0 0 0 1px inset; +} + +.emotion-4:active { + box-shadow: rgba(51,51,51,0.5) 0 0 0 2px inset; + color: #333; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +
    +
    +
    + + Storybook + - -
    -
    - + viewBox="0 0 1024 1024" + > + + + +
    `; diff --git a/lib/components/src/brand/StorybookLogo.js b/lib/components/src/brand/StorybookLogo.js index 2336359e2e8..ace23e59dea 100644 --- a/lib/components/src/brand/StorybookLogo.js +++ b/lib/components/src/brand/StorybookLogo.js @@ -1,7 +1,9 @@ import React from 'react'; +import PropTypes from 'prop-types'; -export const StorybookLogo = ({ ...props }) => ( - +export const StorybookLogo = ({ alt, ...props }) => ( + + {alt ? {alt} : null} ( ); + +StorybookLogo.propTypes = { + alt: PropTypes.string.isRequired, +}; diff --git a/lib/theming/src/base.ts b/lib/theming/src/base.ts index 98d239e1570..061566cf47f 100644 --- a/lib/theming/src/base.ts +++ b/lib/theming/src/base.ts @@ -101,7 +101,11 @@ export type Animation = typeof animation; export type Easing = typeof easing; export type TextSize = number | string; -export type Brand = string; +export interface Brand { + title: string | undefined; + url: string | null | undefined; + image: string | null | undefined; +} export interface Theme { color: Color; @@ -127,7 +131,6 @@ export interface Theme { barSelectedColor: string; barBg: string; - // Brand logo/text brand: Brand; code: { diff --git a/lib/theming/src/brand.tsx b/lib/theming/src/brand.tsx deleted file mode 100644 index 9b9674d971b..00000000000 --- a/lib/theming/src/brand.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import styled from '@emotion/styled'; - -const Svg = styled.svg(({ inline }: { inline: boolean; children: React.ReactNode }) => - inline - ? { - display: 'inline-block', - } - : { - display: 'block', - } -); -Svg.displayName = 'Svg'; - -const Storybook = (props: { inline: boolean; height: string }) => ( - - - - - - -); -const BrandWrapper = styled.a({ - minHeight: 30, - verticalAlign: 'top', - display: 'flex', - color: 'inherit', - textDecoration: 'none', -}); -const BrandText = styled.span({ - paddingLeft: 10, - alignItems: 'center', - display: 'flex', - lineHeight: '12px', -}); - -export const Brand = ({ title }: { title: string }) => ( - - - - {title} - - -); -Brand.propTypes = { - title: PropTypes.string.isRequired, -}; diff --git a/lib/theming/src/create.ts b/lib/theming/src/create.ts index e4bfe3fe96d..dce9514df68 100644 --- a/lib/theming/src/create.ts +++ b/lib/theming/src/create.ts @@ -41,7 +41,9 @@ interface ThemeVar { inputTextColor?: string; inputBorderRadius?: number; - brand?: Brand; + brandTitle?: string; + brandUrl?: string; + brandImage?: string; } const createColors = (vars: ThemeVar): Color => ({ @@ -149,7 +151,11 @@ export const create = (vars: ThemeVar, rest?: Rest): Theme => ({ barBg: vars.barBg || color.lightest, // Brand logo/text - brand: vars.brand || null, + brand: { + title: vars.brandTitle, + url: vars.brandUrl, + image: vars.brandImage, + }, code: createSyntax({ colors: vars.base === 'light' ? lightSyntaxColors : darkSyntaxColors, @@ -166,7 +172,7 @@ export const create = (vars: ThemeVar, rest?: Rest): Theme => ({ BASE_LINE_HEIGHT: '18px', BASE_BACKGROUND_COLOR: 'transparent', BASE_COLOR: vars.textColor || color.darkest, - ARROW_COLOR: opacify(0.2, vars.appBorderColor), + ARROW_COLOR: opacify(0.2, vars.appBorderColor || color.border), ARROW_MARGIN_RIGHT: 4, ARROW_FONT_SIZE: 8, TREENODE_FONT_FAMILY: vars.fontCode || typography.fonts.mono, diff --git a/lib/theming/src/themes/dark.ts b/lib/theming/src/themes/dark.ts index abdbf46a8d8..5c64255032d 100644 --- a/lib/theming/src/themes/dark.ts +++ b/lib/theming/src/themes/dark.ts @@ -33,7 +33,4 @@ export default create({ inputBorder: 'rgba(0,0,0,.3)', inputTextColor: color.lightest, inputBorderRadius: 4, - - // Brand logo/text - brand: null, }); diff --git a/lib/theming/src/themes/light.ts b/lib/theming/src/themes/light.ts index 3c2ed12ff98..f635af5ca6b 100644 --- a/lib/theming/src/themes/light.ts +++ b/lib/theming/src/themes/light.ts @@ -33,7 +33,4 @@ export default create({ inputBorder: color.border, inputTextColor: color.darkest, inputBorderRadius: 4, - - // Brand logo/text - brand: null, }); diff --git a/lib/ui/src/components/sidebar/Sidebar.stories.js b/lib/ui/src/components/sidebar/Sidebar.stories.js index 1bf6c5585c8..8c45e6cf904 100644 --- a/lib/ui/src/components/sidebar/Sidebar.stories.js +++ b/lib/ui/src/components/sidebar/Sidebar.stories.js @@ -10,7 +10,7 @@ export default { title: 'UI|Sidebar/Sidebar', }; -const { menu } = SidebarHeadingStories.simple.storyData; +const { menu } = SidebarHeadingStories.standard.storyData; const { notifications } = NotificationsListStories.single.storyData; const { stories, storyId } = SidebarStoriesStories.withRoot.storyData; diff --git a/lib/ui/src/components/sidebar/SidebarHeading.js b/lib/ui/src/components/sidebar/SidebarHeading.js index 8d129b0e811..df9c9c246ec 100644 --- a/lib/ui/src/components/sidebar/SidebarHeading.js +++ b/lib/ui/src/components/sidebar/SidebarHeading.js @@ -8,9 +8,14 @@ import { StorybookLogo, WithTooltip, TooltipLinkList, Button, Icons } from '@sto const BrandArea = styled.div(({ theme }) => ({ fontSize: theme.typography.size.s2, fontWeight: theme.typography.weight.bold, - '> *': { - maxHeight: 32, - maxWidth: 200, + marginRight: theme.layoutMargin, + display: 'flex', + alignItems: 'center', + paddingTop: 3, + paddingBottom: 3, + minHeight: 28, + '& > *': { + maxWidth: '100%', height: 'auto', width: 'auto', display: 'block', @@ -22,15 +27,17 @@ const Logo = styled(StorybookLogo)({ height: 22, display: 'block', }); +const Img = styled.img({ + width: 'auto', + display: 'block', + maxWidth: '100%', +}); -const LogoLink = styled.a( - { - display: 'block', - color: 'inherit', - textDecoration: 'none', - }, - ({ theme }) => theme.animation.hoverable -); +const LogoLink = styled.a({ + display: 'block', + color: 'inherit', + textDecoration: 'none', +}); const MenuButton = styled(Button)(props => ({ position: 'relative', @@ -53,26 +60,47 @@ const MenuButton = styled(Button)(props => ({ const Head = styled.div({ display: 'flex', - alignItems: 'center', + alignItems: 'flex-start', justifyContent: 'space-between', }); -const Brand = withTheme(({ theme: { brand } }) => - brand ? ( - - ) : ( - - - +const Brand = withTheme(({ theme: { brand: { title = 'Storybook', url = './', image } } }) => { + if (image === undefined && url === null) { + return ; + } + if (image === undefined && url) { + return ( + + - - ) -); + ); + } + if (image === null && url === null) { + return title; + } + if (image === null && url) { + return {title}; + } + if (image && url === null) { + return {title}; + } + if (image && url) { + return ( + + {title} + + ); + } + return null; +}); const SidebarHeading = withState('tooltipShown', 'onVisibilityChange', false)( ({ menuHighlighted, menu, tooltipShown, onVisibilityChange, ...props }) => ( - + + + + - - - - - - - - -`; - export default { component: SidebarHeading, title: 'UI|Sidebar/SidebarHeading', + decorators: [ + storyFn => ( +
    + {storyFn()} +
    + ), + ], }; const menuItems = [ @@ -28,13 +28,96 @@ const menuItems = [ { title: 'Menu Item 2', onClick: action('onActivateMenuItem') }, { title: 'Menu Item 3', onClick: action('onActivateMenuItem') }, ]; -export const simple = () => ; -simple.storyData = { menu: menuItems }; export const menuHighlighted = () => ; -export const customBrand = () => ( - +export const standard = () => ( + + + +); +standard.storyData = { menu: menuItems }; + +export const standardNoLink = () => ( + + + +); + +export const linkAndText = () => ( + + + +); + +export const onlyText = () => ( + + + +); + +export const longText = () => ( + + + +); + +export const customBrandImage = () => ( + ); diff --git a/lib/ui/src/core/init-provider-api.js b/lib/ui/src/core/init-provider-api.js index e92d4045749..d3a24b41dac 100644 --- a/lib/ui/src/core/init-provider-api.js +++ b/lib/ui/src/core/init-provider-api.js @@ -1,4 +1,23 @@ import pick from 'lodash.pick'; +import deprecate from 'util-deprecate'; + +import { create } from '@storybook/theming'; + +const deprecatedUiOptions = ['name', 'url']; +const applyDeprecatedUiOptions = deprecate(({ name, url, theme }) => { + const vars = { + brandTitle: name, + brandUrl: url, + }; + + return { theme: create(vars, theme) }; +}, 'The `name` and `url` options are deprecated -- instead use the `theme.brandTitle` or `theme.brandUrl`'); +const checkDeprecatedUiOptions = options => { + if (deprecatedUiOptions.find(key => !!options[key])) { + return applyDeprecatedUiOptions(options); + } + return {}; +}; export default ({ provider, api, store }) => { const providerAPI = { @@ -16,6 +35,7 @@ export default ({ provider, api, store }) => { ui: { ...ui, ...pick(options, Object.keys(ui)), + ...checkDeprecatedUiOptions(options), }, selectedPanel: options.panel || options.selectedPanel || selectedPanel, }); diff --git a/lib/ui/src/core/initial-state.js b/lib/ui/src/core/initial-state.js index 762aed06bf3..5ac502039fc 100644 --- a/lib/ui/src/core/initial-state.js +++ b/lib/ui/src/core/initial-state.js @@ -4,8 +4,6 @@ import merge from '../libs/merge'; const initial = { ui: { - name: 'STORYBOOK', - url: 'https://github.com/storybooks/storybook', enableShortcuts: true, sortStoriesByKind: false, sidebarAnimations: true, From 4057541bff5fd4cd657569ebd1242556f174b965 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 17:30:32 +0800 Subject: [PATCH 090/249] Merge pull request #5753 from gaetanmaisse/fix-5382 fix: remove call to `forceReRender()` on STORY_CHANGED in addon knobs --- addons/knobs/src/registerKnobs.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/knobs/src/registerKnobs.js b/addons/knobs/src/registerKnobs.js index ae4c2388b56..687f7d59a34 100644 --- a/addons/knobs/src/registerKnobs.js +++ b/addons/knobs/src/registerKnobs.js @@ -37,6 +37,12 @@ function knobClicked(clicked) { function resetKnobs() { knobStore.reset(); + setPaneKnobs(false); +} + +function resetKnobsAndForceReRender() { + knobStore.reset(); + forceReRender(); setPaneKnobs(false); @@ -47,7 +53,7 @@ function disconnectCallbacks() { channel.removeListener(CHANGE, knobChanged); channel.removeListener(CLICK, knobClicked); channel.removeListener(STORY_CHANGED, resetKnobs); - channel.removeListener(RESET, resetKnobs); + channel.removeListener(RESET, resetKnobsAndForceReRender); knobStore.unsubscribe(setPaneKnobs); } @@ -56,7 +62,7 @@ function connectCallbacks() { channel.on(CHANGE, knobChanged); channel.on(CLICK, knobClicked); channel.on(STORY_CHANGED, resetKnobs); - channel.on(RESET, resetKnobs); + channel.on(RESET, resetKnobsAndForceReRender); knobStore.subscribe(setPaneKnobs); return disconnectCallbacks; From 66765e98af5b2258d0a758cceb84c890982e2867 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 18:03:15 +0800 Subject: [PATCH 091/249] Merge pull request #5773 from storybooks/5665-fix-deprecated-options Fix deprecated url/name options --- lib/ui/src/core/init-provider-api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ui/src/core/init-provider-api.js b/lib/ui/src/core/init-provider-api.js index d3a24b41dac..589c65e9e1a 100644 --- a/lib/ui/src/core/init-provider-api.js +++ b/lib/ui/src/core/init-provider-api.js @@ -8,6 +8,7 @@ const applyDeprecatedUiOptions = deprecate(({ name, url, theme }) => { const vars = { brandTitle: name, brandUrl: url, + brandImage: null, }; return { theme: create(vars, theme) }; From cabe3ba29e0eefd3387e2d6fc018281018a8bf49 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 26 Feb 2019 19:45:13 +0800 Subject: [PATCH 092/249] Merge pull request #5758 from storybooks/options-back-compat Addon-options back compat --- MIGRATION.md | 100 ++++++++++++++++-- addons/options/README.md | 11 +- docs/gatsby-config.js | 1 + .../components/Homepage/MainLinks/index.js | 3 + docs/src/pages/addons/using-addons/index.md | 10 +- .../configurations/options-parameter/index.md | 100 ++++++++++++++++++ .../src/pages/configurations/theming/index.md | 10 +- lib/ui/src/core/init-provider-api.js | 69 +++++++++--- 8 files changed, 265 insertions(+), 39 deletions(-) create mode 100644 docs/src/pages/configurations/options-parameter/index.md diff --git a/MIGRATION.md b/MIGRATION.md index 8ed6b1ab2b2..b2897816561 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -2,6 +2,8 @@ - [From version 4.1.x to 5.0.x](#from-version-41x-to-50x) - [Webpack config simplification](#webpack-config-simplification) + - [Story hierarchy defaults](#story-hierarchy-defaults) + - [Options addon deprecated](#options-addon-deprecated) - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x) - [Private addon config](#private-addon-config) - [React 15.x](#react-15x) @@ -59,6 +61,84 @@ In contrast, the 4.x configuration function accepted either two or three argumen Please see the [current custom webpack documentation](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config. +## Story hierarchy defaults + +Storybook's UI contains a hierarchical tree of stories that can be configured by `hierarchySeparator` and `hierarchyRootSeparator` [options](./addons/options/README.md). + +In Storybook 4.x the values defaulted to `null` for both of these options, so that there would be no hierarchy by default. + +In 5.0, we now provide recommended defaults: + +```js +{ + hierarchyRootSeparator: '|', + hierarchySeparator: /\/|\./, +} +``` + +This means if you use the characters { `|`, `/`, `.` } in your story kinds it will triggger the story hierarchy to appear. For example `storiesOf('UI|Widgets/Basics/Button')` will create a story root called `UI` containing a `Widgets/Basics` group, containing a `Button` component. + +If you wish to opt-out of this new behavior and restore the flat UI, simply set them back to `null` in your storybook config, or remove { `|`, `/`, `.` } from your story kinds: + +```js +addParameters({ + options: { + hierarchyRootSeparator: null, + hierarchySeparator: null, + }, +}); +``` + +## Options addon deprecated + +In 4.x we added story parameters. In 5.x we've deprecated the options addon in favor of [global parameters](./docs/src/pages/configurations/options-parameter/index.md), and we've also renamed some of the options in the process (though we're maintaining backwards compatibility until 6.0). + +Here's an old configuration: + +```js +addDecorator( + withOptions({ + name: 'Storybook', + url: 'https://storybook.js.org', + goFullScreen: false, + addonPanelInRight: true, + }) +); +``` + +And here's its new counterpart: + +```js +import { create } from '@storybook/theming'; +addParameters({ + options: { + theme: create({ + base: 'light', + brandTitle: 'Storybook', + brandUrl: 'https://storybook.js.org', + // To control appearance: + // brandImage: 'http://url.of/some.svg', + }), + isFullscreen: false, + panelPosition: 'right', + }, +}); +``` + +Here is the mapping from old options to new: + +| Old | New | +| ----------------- | ---------------- | +| name | theme.brandTitle | +| url | theme.brandUrl | +| goFullScreen | isFullscreen | +| showStoriesPanel | showNav | +| showAddonPanel | showPanel | +| addonPanelInRight | panelPosition | +| showSearchBox | | + +Storybook v5 removes the search dialog box in favor of a quick search in the navigation view, so `showSearchBox` has been removed. + ## From version 4.0.x to 4.1.x There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage. @@ -89,16 +169,16 @@ Also, here's the error you'll get if you're running an older version of React: ``` core.browser.esm.js:15 Uncaught TypeError: Object(...) is not a function - at Module../node_modules/@emotion/core/dist/core.browser.esm.js (core.browser.esm.js:15) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Module../node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js (styled-base.browser.esm.js:1) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Module../node_modules/@emotion/styled/dist/styled.esm.js (styled.esm.js:1) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (MenuLink.js:12) + at Module../node_modules/@emotion/core/dist/core.browser.esm.js (core.browser.esm.js:15) + at **webpack_require** (bootstrap:724) + at fn (bootstrap:101) + at Module../node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js (styled-base.browser.esm.js:1) + at **webpack_require** (bootstrap:724) + at fn (bootstrap:101) + at Module../node_modules/@emotion/styled/dist/styled.esm.js (styled.esm.js:1) + at **webpack_require** (bootstrap:724) + at fn (bootstrap:101) + at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (MenuLink.js:12) ``` ### Generic addons diff --git a/addons/options/README.md b/addons/options/README.md index 57672d3457d..33b90b441cc 100644 --- a/addons/options/README.md +++ b/addons/options/README.md @@ -1,3 +1,12 @@ +#NOTE: Options Addon is deprecated as of Storybook 5.0 + +Options are now configured using the [`options` parameter](../../docs/src/pages/configurations/options-parameter/index.md) which is built into Storybook. + +- Global options: `addParameters({ options: { ... }})` and no addon is needed. +- Story options: `storiesOf(...).add('name', storyFn, { options: { ... }})` + +See the [migration docs](../../MIGRATION.md#options-addon-deprecated) for what's changed. + # Storybook Options Addon The Options addon can be used to (re-)configure the [Storybook](https://storybook.js.org) UI at runtime. @@ -136,5 +145,5 @@ Make sure you also have the type definitions installed for the following libs: - Node - React - + You can install them using `yarn add @types/node @types/react --dev`, assuming you are using TypeScript >2.0. diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js index 185a343075f..3b807525588 100644 --- a/docs/gatsby-config.js +++ b/docs/gatsby-config.js @@ -23,6 +23,7 @@ module.exports = { '/basics/live-examples/', ], configurations: [ + '/configurations/options-parameter/', '/configurations/default-config/', '/configurations/custom-webpack-config/', '/configurations/custom-babel-config/', diff --git a/docs/src/components/Homepage/MainLinks/index.js b/docs/src/components/Homepage/MainLinks/index.js index 5aa7e8306ff..2a82ba7feed 100644 --- a/docs/src/components/Homepage/MainLinks/index.js +++ b/docs/src/components/Homepage/MainLinks/index.js @@ -97,6 +97,9 @@ class MainLinks extends React.Component {

    Configuration

      +
    • + Storybook options +
    • Babel configurations
    • diff --git a/docs/src/pages/addons/using-addons/index.md b/docs/src/pages/addons/using-addons/index.md index fd4d2123d35..a74bc728e9c 100644 --- a/docs/src/pages/addons/using-addons/index.md +++ b/docs/src/pages/addons/using-addons/index.md @@ -22,8 +22,8 @@ import '@storybook/addon-actions/register'; import '@storybook/addon-links/register'; import '@storybook/addon-notes/register'; ``` -Once created, youl'll have to restart storybook to make the underlying webpack aware of the addons file. +Once created, you'll have to restart storybook to make the underlying webpack aware of the addons file. This will register all the addons and you'll be able to see the actions and notes panels (in that order) when you are viewing the story. (Links do not register a tab--check individual addon docs to see which Storybook features they use!) @@ -57,6 +57,7 @@ Then you'll be able to see those notes when you are viewing the story. ![Stories with notes](../static/stories-with-notes.png) ## Global Configuration + Sometimes you might want to configure an addon globally, as in the case of collocating stories with components, or just simply to keep your stories file cleaner. To do that, you can add your decorators to a config file, typically in `.storybook/config.js`. Here's an example of how you might do that. ```js @@ -65,11 +66,10 @@ import { configure, addParameters } from '@storybook/react'; addParameters({ options: { name: 'CRA Kitchen Sink', - goFullScreen: false, - showAddonsPanel: true, - showSearchBox: false + isFullScreen: false, + showPanel: true, // more configuration here - } + }, }); ``` diff --git a/docs/src/pages/configurations/options-parameter/index.md b/docs/src/pages/configurations/options-parameter/index.md new file mode 100644 index 00000000000..5ba802c18c3 --- /dev/null +++ b/docs/src/pages/configurations/options-parameter/index.md @@ -0,0 +1,100 @@ +--- +id: 'options-parameter' +title: 'Options Parameter' +--- + +Storybook UI is configurable using an options API that allows you to tweak its appearance globally and for each story. + +> NOTE: If you've used older versions of Storybook this is formerly [addon-options](https://github.com/storybooks/storybook/tree/next/addons/options), which has been deprecated. + +### Global options + +Import and use `addParameters` with the `options` key in your `config.js` file. + +```js +import { addParameters, configure } from '@storybook/react'; + +// Option defaults: +addParameters({ + options: { + /** + * show story component as full screen + * @type {Boolean} + */ + isFullScreen: false, + /** + * display panel that shows a list of stories + * @type {Boolean} + */ + showNav: true, + /** + * display panel that shows addon configurations + * @type {Boolean} + */ + showPanel: true, + /** + * where to show the addon panel + * @type {String} + */ + panelPosition: 'bottom', + /** + * sorts stories + * @type {Boolean} + */ + sortStoriesByKind: false, + /** + * regex for finding the hierarchy separator + * @example: + * null - turn off hierarchy + * /\// - split by `/` + * /\./ - split by `.` + * /\/|\./ - split by `/` or `.` + * @type {Regex} + */ + hierarchySeparator: /\/|\./, + /** + * regex for finding the hierarchy root separator + * @example: + * null - turn off multiple hierarchy roots + * /\|/ - split by `|` + * @type {Regex} + */ + hierarchyRootSeparator: /\|/, + /** + * sidebar tree animations + * @type {Boolean} + */ + sidebarAnimations: true, + /** + * enable/disable shortcuts + * @type {Boolean} + */ + enableShortcuts: true, + /** + * theme storybook, see link below + */ + theme: undefined, + }, +}); +``` + +For more information on configuring the `theme`, see [theming](../theming/). + +### Per-story options + +The options-addon accepts story parameters on the `options` key: + +```js +import { storiesOf } from '@storybook/react'; +import MyComponent from './my-component'; + +storiesOf('Addons|Custom options', module) + // If you want to set the option for all stories in of this kind + .addParameters({ options: { panelPosition: 'bottom' } }) + .add( + 'Story for MyComponent', + () => , + // If you want to set the options for a specific story + { options: { panelPosition: 'right' } } + ); +``` diff --git a/docs/src/pages/configurations/theming/index.md b/docs/src/pages/configurations/theming/index.md index b69383d2f59..81e73015771 100644 --- a/docs/src/pages/configurations/theming/index.md +++ b/docs/src/pages/configurations/theming/index.md @@ -3,19 +3,13 @@ id: 'theming' title: 'Theming Storybook' --- -Storybook is theme-able! You can change theme variables using [addon-options](https://github.com/storybooks/storybook/tree/master/addons/options). +Storybook is theme-able! You can change theme variables using the [options parameter](../options-parameter). ## Set a theme You can do this in an decorator, addon or in `.storybook/config.js`. Changing theme at runtime is supported! -First, create or modify `.storybook/addons.js` to include registering addon-options: - -```js -import '@storybook/addon-options/register'; -``` - -Then, modify `.storybook/config.js` to include your new options: +Just modify `.storybook/config.js` to include your new options: ```js import { addParameters, configure } from '@storybook/react'; diff --git a/lib/ui/src/core/init-provider-api.js b/lib/ui/src/core/init-provider-api.js index 589c65e9e1a..f0267136cc6 100644 --- a/lib/ui/src/core/init-provider-api.js +++ b/lib/ui/src/core/init-provider-api.js @@ -3,8 +3,16 @@ import deprecate from 'util-deprecate'; import { create } from '@storybook/theming'; -const deprecatedUiOptions = ['name', 'url']; -const applyDeprecatedUiOptions = deprecate(({ name, url, theme }) => { +const deprecationMessage = (optionsMap, prefix) => + `The options { ${Object.keys(optionsMap).join(', ')} } are deprecated -- use ${ + prefix ? `${prefix}'s` : '' + } { ${Object.values(optionsMap).join(', ')} } instead.`; + +const deprecatedThemeOptions = { + name: 'brandTitle', + url: 'brandUrl', +}; +const applyDeprecatedThemeOptions = deprecate(({ name, url, theme }) => { const vars = { brandTitle: name, brandUrl: url, @@ -12,10 +20,36 @@ const applyDeprecatedUiOptions = deprecate(({ name, url, theme }) => { }; return { theme: create(vars, theme) }; -}, 'The `name` and `url` options are deprecated -- instead use the `theme.brandTitle` or `theme.brandUrl`'); -const checkDeprecatedUiOptions = options => { - if (deprecatedUiOptions.find(key => !!options[key])) { - return applyDeprecatedUiOptions(options); +}, deprecationMessage(deprecatedThemeOptions)); +const checkDeprecatedThemeOptions = options => { + if (Object.keys(deprecatedThemeOptions).find(key => !!options[key])) { + return applyDeprecatedThemeOptions(options); + } + return {}; +}; + +const deprecatedLayoutOptions = { + goFullScreen: 'isFullscreen', + showStoriesPanel: 'showNav', + showAddonPanel: 'showPanel', + addonPanelInRight: 'panelPosition', +}; +const applyDeprecatedLayoutOptions = deprecate(options => { + const layoutUpdate = {}; + + ['goFullScreen', 'showStoriesPanel', 'showAddonPanel'].forEach(option => { + if (typeof options[option] !== 'undefined') { + layoutUpdate[deprecatedLayoutOptions[option]] = options[option]; + } + }); + if (options.addonPanelInRight) { + layoutUpdate.panelPosition = 'right'; + } + return layoutUpdate; +}, deprecationMessage(deprecatedLayoutOptions)); +const checkDeprecatedLayoutOptions = options => { + if (Object.keys(deprecatedLayoutOptions).find(key => typeof options[key] !== 'undefined')) { + return applyDeprecatedLayoutOptions(options); } return {}; }; @@ -28,16 +62,21 @@ export default ({ provider, api, store }) => { const { layout, ui, selectedPanel } = store.getState(); if (options) { + const updatedLayout = { + ...layout, + ...pick(options, Object.keys(layout)), + ...checkDeprecatedLayoutOptions(options), + }; + + const updatedUi = { + ...ui, + ...pick(options, Object.keys(ui)), + ...checkDeprecatedThemeOptions(options), + }; + store.setState({ - layout: { - ...layout, - ...pick(options, Object.keys(layout)), - }, - ui: { - ...ui, - ...pick(options, Object.keys(ui)), - ...checkDeprecatedUiOptions(options), - }, + layout: updatedLayout, + ui: updatedUi, selectedPanel: options.panel || options.selectedPanel || selectedPanel, }); } From f0b6ce33cbcaae57433a8133ab691cbe9fdf3c45 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 27 Feb 2019 22:19:12 +0800 Subject: [PATCH 093/249] Merge pull request #5776 from storybooks/5525-resolve-merge-conflicts Fix Angular global style imports --- app/angular/src/server/angular-cli_config.js | 2 + .../src/server/angular-cli_config.test.js | 31 + examples/angular-cli/package.json | 4 +- yarn.lock | 742 +++++------------- 4 files changed, 241 insertions(+), 538 deletions(-) create mode 100644 app/angular/src/server/angular-cli_config.test.js diff --git a/app/angular/src/server/angular-cli_config.js b/app/angular/src/server/angular-cli_config.js index c5b25b4710f..c51c982cdf5 100644 --- a/app/angular/src/server/angular-cli_config.js +++ b/app/angular/src/server/angular-cli_config.js @@ -71,6 +71,8 @@ export function getAngularCliWebpackConfigOptions(dirToSearch) { tsConfig, supportES2015: false, buildOptions: { + sourceMap: {}, + optimization: {}, ...projectOptions, assets: normalizedAssets, }, diff --git a/app/angular/src/server/angular-cli_config.test.js b/app/angular/src/server/angular-cli_config.test.js new file mode 100644 index 00000000000..ba312df8179 --- /dev/null +++ b/app/angular/src/server/angular-cli_config.test.js @@ -0,0 +1,31 @@ +import { getAngularCliWebpackConfigOptions } from './angular-cli_config'; +import angularJson from '../../../../examples/angular-cli/angular.json'; + +// eslint-disable-next-line global-require +jest.mock('fs', () => require('../../../../__mocks__/fs')); +jest.mock('path', () => ({ + join: () => 'angular.json', + resolve: () => 'tsconfig.json', +})); + +const setupFiles = files => { + // eslint-disable-next-line no-underscore-dangle, global-require + require('fs').__setMockFiles(files); +}; + +describe('angualr-cli_config', () => { + describe('getAngularCliWebpackConfigOptions()', () => { + it('should return have empty `buildOptions.sourceMap` and `buildOptions.optimization` by default', () => { + setupFiles({ 'angular.json': JSON.stringify(angularJson) }); + + const config = getAngularCliWebpackConfigOptions('/'); + + expect(config).toMatchObject({ + buildOptions: { + sourceMap: {}, + optimization: {}, + }, + }); + }); + }); +}); diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index af2067ca76f..0f09000643e 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -30,8 +30,8 @@ "zone.js": "^0.8.29" }, "devDependencies": { - "@angular-devkit/build-angular": "^0.11.4", - "@angular/cli": "^7.3.0", + "@angular-devkit/build-angular": "^0.13.1", + "@angular/cli": "^7.3.2", "@angular/compiler-cli": "^7.2.1", "@storybook/addon-actions": "5.0.0-rc.6", "@storybook/addon-backgrounds": "5.0.0-rc.6", diff --git a/yarn.lock b/yarn.lock index dffc9122a47..5693ba605a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,103 +2,97 @@ # yarn lockfile v1 -"@angular-devkit/architect@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.11.4.tgz#f0cc3b4f1dd0128f6b41d3bb760bcf4c324cd063" +"@angular-devkit/architect@0.13.1": + version "0.13.1" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.13.1.tgz#39597ce94f72d89bdd89ee567cb937cff4c13b98" + integrity sha512-QDmIbqde75ZZSEFbw6Q6kQWq4cY6C7D67yujXw6XTyubDNAs1tyXJyxTIB8vjSlEKwRizTTDd/B0ZXVcke3Mvw== dependencies: - "@angular-devkit/core" "7.1.4" + "@angular-devkit/core" "7.3.1" rxjs "6.3.3" -"@angular-devkit/architect@0.13.0": - version "0.13.0" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.13.0.tgz#47a9c76ca4c01c357a8670810f29a45e906447cd" +"@angular-devkit/architect@0.13.3": + version "0.13.3" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.13.3.tgz#28813279c546cdcb709ad55038bb2051736de668" + integrity sha512-89VL75bq3+h3m0jhzWNqXqW+HQcrihnM3i6eiUE6P81LcllP159JMlusAvB1LHLNc6Cc62wTq4BJr7KDILkPOA== dependencies: - "@angular-devkit/core" "7.3.0" + "@angular-devkit/core" "7.3.3" rxjs "6.3.3" -"@angular-devkit/build-angular@^0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.11.4.tgz#795084e29c66a71da15227cf2ac29794aa807c7c" +"@angular-devkit/build-angular@^0.13.1": + version "0.13.1" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.13.1.tgz#369febda48dd40e47a4f0077064e792612a8e1c1" + integrity sha512-vkKwMVQ+NNCcVR3HFMffS+Mq4b2afXeUjI+02N38hBuFTppnC83uivUB6Uu2NUk5NTSQA4BnJlG5CbMs6N4QYg== dependencies: - "@angular-devkit/architect" "0.11.4" - "@angular-devkit/build-optimizer" "0.11.4" - "@angular-devkit/build-webpack" "0.11.4" - "@angular-devkit/core" "7.1.4" - "@ngtools/webpack" "7.1.4" - ajv "6.5.3" - autoprefixer "9.3.1" + "@angular-devkit/architect" "0.13.1" + "@angular-devkit/build-optimizer" "0.13.1" + "@angular-devkit/build-webpack" "0.13.1" + "@angular-devkit/core" "7.3.1" + "@ngtools/webpack" "7.3.1" + ajv "6.7.0" + autoprefixer "9.4.6" circular-dependency-plugin "5.0.2" clean-css "4.2.1" - copy-webpack-plugin "4.5.4" - file-loader "2.0.0" + copy-webpack-plugin "4.6.0" + file-loader "3.0.1" glob "7.1.3" - istanbul "0.4.5" istanbul-instrumenter-loader "3.0.1" karma-source-map-support "1.3.0" - less "3.8.1" + less "3.9.0" less-loader "4.1.0" - license-webpack-plugin "2.0.2" - loader-utils "1.1.0" - mini-css-extract-plugin "0.4.4" + license-webpack-plugin "2.1.0" + loader-utils "1.2.3" + mini-css-extract-plugin "0.5.0" minimatch "3.0.4" - opn "5.3.0" + opn "5.4.0" parse5 "4.0.0" - portfinder "1.0.17" - postcss "7.0.5" - postcss-import "12.0.0" + postcss "7.0.14" + postcss-import "12.0.1" postcss-loader "3.0.0" - raw-loader "0.5.1" + raw-loader "1.0.0" rxjs "6.3.3" sass-loader "7.1.0" - semver "5.5.1" + semver "5.6.0" source-map-loader "0.2.4" - source-map-support "0.5.9" - speed-measure-webpack-plugin "1.2.3" + source-map-support "0.5.10" + speed-measure-webpack-plugin "1.3.0" stats-webpack-plugin "0.7.0" style-loader "0.23.1" stylus "0.54.5" stylus-loader "3.0.2" - terser-webpack-plugin "1.1.0" - tree-kill "1.2.0" - webpack "4.23.1" - webpack-dev-middleware "3.4.0" - webpack-dev-server "3.1.10" - webpack-merge "4.1.4" + terser-webpack-plugin "1.2.2" + tree-kill "1.2.1" + webpack "4.29.0" + webpack-dev-middleware "3.5.1" + webpack-dev-server "3.1.14" + webpack-merge "4.2.1" webpack-sources "1.3.0" webpack-subresource-integrity "1.1.0-rc.6" optionalDependencies: - node-sass "4.10.0" + node-sass "4.11.0" -"@angular-devkit/build-optimizer@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.11.4.tgz#d96b0e16a76f3825f173220a2de5f376fc5abaee" +"@angular-devkit/build-optimizer@0.13.1": + version "0.13.1" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.13.1.tgz#56151179bd6427918ba8e0f5a7e581e5daa00294" + integrity sha512-LmvHiI3H451aVWY5Ac6Fqz0i1eX/mUfWN+uJvo8NaL6Jc0HKYX2o3l4ODr8UUECWWctUC9AMD522ZMwAvnvsKQ== dependencies: - loader-utils "1.1.0" + loader-utils "1.2.3" source-map "0.5.6" - typescript "3.1.6" - webpack-sources "1.2.0" + typescript "3.2.4" + webpack-sources "1.3.0" -"@angular-devkit/build-webpack@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.11.4.tgz#1397b21b6187eab0641830ece4c3b9faba00855e" +"@angular-devkit/build-webpack@0.13.1": + version "0.13.1" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.13.1.tgz#98d666765705e9379c9b2e0a3b6dfcd0347a2a32" + integrity sha512-OGwC7bAl3u+w7Glw+OqIrN7OD1BkDXgrWbeQSpKAmsx6VdNPCnI4NPS+JldWNp70LVlE2nQlJUhtEqMVfBMnlg== dependencies: - "@angular-devkit/architect" "0.11.4" - "@angular-devkit/core" "7.1.4" + "@angular-devkit/architect" "0.13.1" + "@angular-devkit/core" "7.3.1" rxjs "6.3.3" -"@angular-devkit/core@7.1.4": - version "7.1.4" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.1.4.tgz#4d903fd2ecc259b716ae76da19695d03993e583c" - dependencies: - ajv "6.5.3" - chokidar "2.0.4" - fast-json-stable-stringify "2.0.0" - rxjs "6.3.3" - source-map "0.7.3" - -"@angular-devkit/core@7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.3.0.tgz#fc272e39b4c307833e9a7db77007418a246f5410" +"@angular-devkit/core@7.3.1": + version "7.3.1" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.3.1.tgz#d92f6545796579cabdcfc29579a2c977f7a96c6c" + integrity sha512-56XDWWfIzOAkEk69lBLgmCYybPUA4yjunhmMlCk7vVdb7gbQUyzNjFD04Uj0GjlejatAQ5F76tRwygD9C+3RXQ== dependencies: ajv "6.7.0" chokidar "2.0.4" @@ -106,22 +100,35 @@ rxjs "6.3.3" source-map "0.7.3" -"@angular-devkit/schematics@7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-7.3.0.tgz#112c1f59ff2778157aff6fb7484a6c132d4156ac" +"@angular-devkit/core@7.3.3": + version "7.3.3" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-7.3.3.tgz#cd6d5a8eca25ef07b6394bc2b08133d90d08d39f" + integrity sha512-fosULDtMoDWrOyUzTmBkJccOy7zodo02kENyKai7vOv9EWfv9jytkVdNc+jl0ys9OE2QadvSYBo49jhnZxFXfQ== dependencies: - "@angular-devkit/core" "7.3.0" + ajv "6.9.1" + chokidar "2.0.4" + fast-json-stable-stringify "2.0.0" + rxjs "6.3.3" + source-map "0.7.3" + +"@angular-devkit/schematics@7.3.3": + version "7.3.3" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-7.3.3.tgz#80e9dc3197a3181f32edfb5c07e7ac016eace7d3" + integrity sha512-SdDq9eKwceb6WLwci1fywtZ/kARR5CYyzi5dZIR1lOxrz00682uUBqH/X39mKdqc6eVqR7rtPceqNm6nQpOIMg== + dependencies: + "@angular-devkit/core" "7.3.3" rxjs "6.3.3" -"@angular/cli@^7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-7.3.0.tgz#8f9301aa7a942385258b35bf86806267073fce17" +"@angular/cli@^7.3.2": + version "7.3.3" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-7.3.3.tgz#b357000385aa6c75b001cb9fa7982ef3ce02c423" + integrity sha512-dw1iBOYbQRN2l/BH21zDItDFC9KXgqeK0A/koDLDukjrUAnW/XVATjxGi+7EPlTpABTFhqu/rHZDy8aBglLDXQ== dependencies: - "@angular-devkit/architect" "0.13.0" - "@angular-devkit/core" "7.3.0" - "@angular-devkit/schematics" "7.3.0" - "@schematics/angular" "7.3.0" - "@schematics/update" "0.13.0" + "@angular-devkit/architect" "0.13.3" + "@angular-devkit/core" "7.3.3" + "@angular-devkit/schematics" "7.3.3" + "@schematics/angular" "7.3.3" + "@schematics/update" "0.13.3" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" inquirer "6.2.1" @@ -1840,15 +1847,16 @@ version "7.2.0" resolved "https://registry.yarnpkg.com/@ngrx/store/-/store-7.2.0.tgz#b22200fd48b721afe0e5cc9eec92f3dc31c078b1" -"@ngtools/webpack@7.1.4": - version "7.1.4" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-7.1.4.tgz#632ece6ed8e05fe743554cc935be36a653376f01" +"@ngtools/webpack@7.3.1": + version "7.3.1" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-7.3.1.tgz#4ff68007fd68fdc26f22e19115182f96fb6f7335" + integrity sha512-EGQRjgDf5XP+Fm1MdZNRFiPd9e1vhl11BhjkwqkAsewic4eoz6fqXfj/Osz1hQy8xU+2dPPf/byQ/+nY3E02Zg== dependencies: - "@angular-devkit/core" "7.1.4" + "@angular-devkit/core" "7.3.1" enhanced-resolve "4.1.0" rxjs "6.3.3" - tree-kill "1.2.0" - webpack-sources "1.2.0" + tree-kill "1.2.1" + webpack-sources "1.3.0" "@nodelib/fs.stat@^1.1.2": version "1.1.3" @@ -1917,20 +1925,22 @@ dependencies: any-observable "^0.3.0" -"@schematics/angular@7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-7.3.0.tgz#0ed0af8250f767ceb42a3f658888697d95381569" +"@schematics/angular@7.3.3": + version "7.3.3" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-7.3.3.tgz#aaa63331365bf67b1b908cc18cfc5d7097ec8377" + integrity sha512-HbH8vajYPka0xGcFAN5IUBx8n8SFMQLFb9di2dJCOBaEakbKVkk8qtOpil54oFQbx7DFCvutq/p0u42JfEbuMQ== dependencies: - "@angular-devkit/core" "7.3.0" - "@angular-devkit/schematics" "7.3.0" - typescript "3.2.2" + "@angular-devkit/core" "7.3.3" + "@angular-devkit/schematics" "7.3.3" + typescript "3.2.4" -"@schematics/update@0.13.0": - version "0.13.0" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.13.0.tgz#d8f7336da8d80d2fd9cecc3d0c97f31295fedb52" +"@schematics/update@0.13.3": + version "0.13.3" + resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.13.3.tgz#7c325b1f723e538ed932b3e344a4a51ea123ffb7" + integrity sha512-sCOFQ62dd7VdEGiSUJNZshNI31ODwpJjn2WIvFgZLt6sdHHun67s/JOvOUq4mxx6I74oD6RPJPF4AP5sigVxxg== dependencies: - "@angular-devkit/core" "7.3.0" - "@angular-devkit/schematics" "7.3.0" + "@angular-devkit/core" "7.3.3" + "@angular-devkit/schematics" "7.3.3" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" pacote "9.4.0" @@ -2169,6 +2179,11 @@ version "5.5.0" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45" +"@types/source-list-map@*": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" + integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== + "@types/storybook__addon-actions@^3.4.1": version "3.4.1" resolved "https://registry.yarnpkg.com/@types/storybook__addon-actions/-/storybook__addon-actions-3.4.1.tgz#8f90d76b023b58ee794170f2fe774a3fddda2c1d" @@ -2217,6 +2232,15 @@ version "1.13.7" resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.13.7.tgz#137a4e57aa31ab57b1baf66f5dc3b6bf085e9944" +"@types/webpack-sources@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-0.1.5.tgz#be47c10f783d3d6efe1471ff7f042611bd464a92" + integrity sha512-zfvjpp7jiafSmrzJ2/i3LqOyTYTuJ7u1KOXlKgDlvsj9Rr0x7ZiYu5lZbXwobL7lmsRNtPXlBfmaUD8eU2Hu8w== + dependencies: + "@types/node" "*" + "@types/source-list-map" "*" + source-map "^0.6.1" + "@vue/component-compiler-utils@^2.5.1": version "2.5.1" resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-2.5.1.tgz#bd9cf68d728324d7dcede80462c2c0e8fe090acb" @@ -2231,14 +2255,6 @@ source-map "^0.7.3" vue-template-es2015-compiler "^1.6.0" -"@webassemblyjs/ast@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.7.10.tgz#0cfc61d61286240b72fc522cb755613699eea40a" - dependencies: - "@webassemblyjs/helper-module-context" "1.7.10" - "@webassemblyjs/helper-wasm-bytecode" "1.7.10" - "@webassemblyjs/wast-parser" "1.7.10" - "@webassemblyjs/ast@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.7.11.tgz#b988582cafbb2b095e8b556526f30c90d057cace" @@ -2256,10 +2272,6 @@ "@webassemblyjs/wast-parser" "1.7.6" mamacro "^0.0.3" -"@webassemblyjs/floating-point-hex-parser@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.10.tgz#ee63d729c6311a85863e369a473f9983f984e4d9" - "@webassemblyjs/floating-point-hex-parser@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz#a69f0af6502eb9a3c045555b1a6129d3d3f2e313" @@ -2268,10 +2280,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.6.tgz#7cb37d51a05c3fe09b464ae7e711d1ab3837801f" -"@webassemblyjs/helper-api-error@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.10.tgz#bfcb3bbe59775357475790a2ad7b289f09b2f198" - "@webassemblyjs/helper-api-error@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz#c7b6bb8105f84039511a2b39ce494f193818a32a" @@ -2280,10 +2288,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.6.tgz#99b7e30e66f550a2638299a109dda84a622070ef" -"@webassemblyjs/helper-buffer@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.10.tgz#0a8c624c67ad0b214d2e003859921a1988cb151b" - "@webassemblyjs/helper-buffer@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz#3122d48dcc6c9456ed982debe16c8f37101df39b" @@ -2292,12 +2296,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.6.tgz#ba0648be12bbe560c25c997e175c2018df39ca3e" -"@webassemblyjs/helper-code-frame@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.10.tgz#0ab7e22fad0241a173178c73976fc0edf50832ce" - dependencies: - "@webassemblyjs/wast-printer" "1.7.10" - "@webassemblyjs/helper-code-frame@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz#cf8f106e746662a0da29bdef635fcd3d1248364b" @@ -2310,10 +2308,6 @@ dependencies: "@webassemblyjs/wast-printer" "1.7.6" -"@webassemblyjs/helper-fsm@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.10.tgz#0915e7713fbbb735620a9d3e4fa3d7951f97ac64" - "@webassemblyjs/helper-fsm@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz#df38882a624080d03f7503f93e3f17ac5ac01181" @@ -2322,10 +2316,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.6.tgz#ae1741c6f6121213c7a0b587fb964fac492d3e49" -"@webassemblyjs/helper-module-context@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.10.tgz#9beb83f72740f5ac8075313b5cac5e796510f755" - "@webassemblyjs/helper-module-context@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz#d874d722e51e62ac202476935d649c802fa0e209" @@ -2336,10 +2326,6 @@ dependencies: mamacro "^0.0.3" -"@webassemblyjs/helper-wasm-bytecode@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.10.tgz#797b1e734bbcfdea8399669cdc58308ef1c7ffc0" - "@webassemblyjs/helper-wasm-bytecode@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz#dd9a1e817f1c2eb105b4cf1013093cb9f3c9cb06" @@ -2348,15 +2334,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.6.tgz#98e515eaee611aa6834eb5f6a7f8f5b29fefb6f1" -"@webassemblyjs/helper-wasm-section@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.10.tgz#c0ea3703c615d7bc3e3507c3b7991c8767b2f20e" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-buffer" "1.7.10" - "@webassemblyjs/helper-wasm-bytecode" "1.7.10" - "@webassemblyjs/wasm-gen" "1.7.10" - "@webassemblyjs/helper-wasm-section@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz#9c9ac41ecf9fbcfffc96f6d2675e2de33811e68a" @@ -2375,12 +2352,6 @@ "@webassemblyjs/helper-wasm-bytecode" "1.7.6" "@webassemblyjs/wasm-gen" "1.7.6" -"@webassemblyjs/ieee754@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.7.10.tgz#62c1728b7ef0f66ef8221e2966a0afd75db430df" - dependencies: - "@xtuc/ieee754" "^1.2.0" - "@webassemblyjs/ieee754@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz#c95839eb63757a31880aaec7b6512d4191ac640b" @@ -2393,12 +2364,6 @@ dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.7.10.tgz#167e0bb4b06d7701585772a73fba9f4df85439f6" - dependencies: - "@xtuc/long" "4.2.1" - "@webassemblyjs/leb128@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.7.11.tgz#d7267a1ee9c4594fd3f7e37298818ec65687db63" @@ -2411,10 +2376,6 @@ dependencies: "@xtuc/long" "4.2.1" -"@webassemblyjs/utf8@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.7.10.tgz#b6728f5b6f50364abc155be029f9670e6685605a" - "@webassemblyjs/utf8@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.7.11.tgz#06d7218ea9fdc94a6793aa92208160db3d26ee82" @@ -2423,19 +2384,6 @@ version "1.7.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.7.6.tgz#eb62c66f906af2be70de0302e29055d25188797d" -"@webassemblyjs/wasm-edit@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.10.tgz#83fe3140f5a58f5a30b914702be9f0e59a399092" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-buffer" "1.7.10" - "@webassemblyjs/helper-wasm-bytecode" "1.7.10" - "@webassemblyjs/helper-wasm-section" "1.7.10" - "@webassemblyjs/wasm-gen" "1.7.10" - "@webassemblyjs/wasm-opt" "1.7.10" - "@webassemblyjs/wasm-parser" "1.7.10" - "@webassemblyjs/wast-printer" "1.7.10" - "@webassemblyjs/wasm-edit@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz#8c74ca474d4f951d01dbae9bd70814ee22a82005" @@ -2462,16 +2410,6 @@ "@webassemblyjs/wasm-parser" "1.7.6" "@webassemblyjs/wast-printer" "1.7.6" -"@webassemblyjs/wasm-gen@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.10.tgz#4de003806ae29c97ab3707782469b53299570174" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-wasm-bytecode" "1.7.10" - "@webassemblyjs/ieee754" "1.7.10" - "@webassemblyjs/leb128" "1.7.10" - "@webassemblyjs/utf8" "1.7.10" - "@webassemblyjs/wasm-gen@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz#9bbba942f22375686a6fb759afcd7ac9c45da1a8" @@ -2492,15 +2430,6 @@ "@webassemblyjs/leb128" "1.7.6" "@webassemblyjs/utf8" "1.7.6" -"@webassemblyjs/wasm-opt@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.10.tgz#d151e31611934a556c82789fdeec41a814993c2a" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-buffer" "1.7.10" - "@webassemblyjs/wasm-gen" "1.7.10" - "@webassemblyjs/wasm-parser" "1.7.10" - "@webassemblyjs/wasm-opt@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz#b331e8e7cef8f8e2f007d42c3a36a0580a7d6ca7" @@ -2519,17 +2448,6 @@ "@webassemblyjs/wasm-gen" "1.7.6" "@webassemblyjs/wasm-parser" "1.7.6" -"@webassemblyjs/wasm-parser@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.10.tgz#0367be7bf8f09e3e6abc95f8e483b9206487ec65" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-api-error" "1.7.10" - "@webassemblyjs/helper-wasm-bytecode" "1.7.10" - "@webassemblyjs/ieee754" "1.7.10" - "@webassemblyjs/leb128" "1.7.10" - "@webassemblyjs/utf8" "1.7.10" - "@webassemblyjs/wasm-parser@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz#6e3d20fa6a3519f6b084ef9391ad58211efb0a1a" @@ -2552,17 +2470,6 @@ "@webassemblyjs/leb128" "1.7.6" "@webassemblyjs/utf8" "1.7.6" -"@webassemblyjs/wast-parser@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.7.10.tgz#058f598b52f730b23fc874d4775b6286b6247264" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/floating-point-hex-parser" "1.7.10" - "@webassemblyjs/helper-api-error" "1.7.10" - "@webassemblyjs/helper-code-frame" "1.7.10" - "@webassemblyjs/helper-fsm" "1.7.10" - "@xtuc/long" "4.2.1" - "@webassemblyjs/wast-parser@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz#25bd117562ca8c002720ff8116ef9072d9ca869c" @@ -2586,14 +2493,6 @@ "@xtuc/long" "4.2.1" mamacro "^0.0.3" -"@webassemblyjs/wast-printer@1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.7.10.tgz#d817909d2450ae96c66b7607624d98a33b84223b" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/wast-parser" "1.7.10" - "@xtuc/long" "4.2.1" - "@webassemblyjs/wast-printer@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz#c4245b6de242cb50a2cc950174fdbf65c78d7813" @@ -2652,10 +2551,6 @@ abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" -abbrev@1.0.x: - version "1.0.9" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" - absolute-path@^0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/absolute-path/-/absolute-path-0.0.0.tgz#a78762fbdadfb5297be99b15d35a785b2f095bf7" @@ -2780,18 +2675,19 @@ ajv-keywords@^3.0.0, ajv-keywords@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" -ajv@6.5.3: - version "6.5.3" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9" +ajv@6.7.0, ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1: + version "6.7.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.7.0.tgz#e3ce7bb372d6577bb1839f1dfdfcbf5ad2948d96" dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@6.7.0, ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1: - version "6.7.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.7.0.tgz#e3ce7bb372d6577bb1839f1dfdfcbf5ad2948d96" +ajv@6.9.1: + version "6.9.1" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.9.1.tgz#a4d3683d74abc5670e75f0b16520f70a20ea8dc1" + integrity sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" @@ -3242,21 +3138,15 @@ async-writer@^1.1.0: dependencies: events "^1.0.2" -async@1.x, async@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" - async@^0.9.0, async@^0.9.2: version "0.9.2" resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" -async@^2.1.4, async@^2.4.1, async@^2.5.0, async@^2.6.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" - dependencies: - lodash "^4.17.10" +async@^1.5.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@^2.4.0: +async@^2.1.4, async@^2.4.0, async@^2.4.1, async@^2.5.0, async@^2.6.0: version "2.6.2" resolved "https://registry.yarnpkg.com/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== @@ -3275,15 +3165,16 @@ atob@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" -autoprefixer@9.3.1: - version "9.3.1" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.3.1.tgz#71b622174de2b783d5fd99f9ad617b7a3c78443e" +autoprefixer@9.4.6: + version "9.4.6" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.4.6.tgz#0ace275e33b37de16b09a5547dbfe73a98c1d446" + integrity sha512-Yp51mevbOEdxDUy5WjiKtpQaecqYq9OqZSL04rSoCiry7Tc5I9FEyo3bfxiTJc1DfHeKwSFCUYbBAiOQ2VGfiw== dependencies: - browserslist "^4.3.3" - caniuse-lite "^1.0.30000898" + browserslist "^4.4.1" + caniuse-lite "^1.0.30000929" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^7.0.5" + postcss "^7.0.13" postcss-value-parser "^3.3.1" autoprefixer@^9.3.1, autoprefixer@^9.4.7: @@ -5361,7 +5252,7 @@ browserslist@^3.2.6: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" -browserslist@^4.0.0, browserslist@^4.1.0, browserslist@^4.3.3, browserslist@^4.3.4, browserslist@^4.4.1: +browserslist@^4.0.0, browserslist@^4.1.0, browserslist@^4.3.4, browserslist@^4.4.1: version "4.4.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.4.1.tgz#42e828954b6b29a7a53e352277be429478a69062" dependencies: @@ -5635,7 +5526,12 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000898, caniuse-lite@^1.0.30000905, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: + version "1.0.30000936" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000936.tgz#5d33b118763988bf721b9b8ad436d0400e4a116b" + integrity sha512-orX4IdpbFhdNO7bTBhSbahp1EBpqzBc+qrvTRVUFfZgA4zta7TdM6PN5ZxkEUgDnz36m+PfWGcdX7AVfFWItJw== + +caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000905: version "1.0.30000932" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000932.tgz#d01763e9ce77810962ca7391ff827b5949ce4272" @@ -6536,20 +6432,7 @@ copy-to-clipboard@^3.0.8: dependencies: toggle-selection "^1.0.3" -copy-webpack-plugin@4.5.4: - version "4.5.4" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.5.4.tgz#f2b2782b3cd5225535c3dc166a80067e7d940f27" - dependencies: - cacache "^10.0.4" - find-cache-dir "^1.0.0" - globby "^7.1.1" - is-glob "^4.0.0" - loader-utils "^1.1.0" - minimatch "^3.0.4" - p-limit "^1.0.0" - serialize-javascript "^1.4.0" - -copy-webpack-plugin@^4.6.0: +copy-webpack-plugin@4.6.0, copy-webpack-plugin@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz#e7f40dd8a68477d405dd1b7a854aae324b158bae" dependencies: @@ -7353,7 +7236,7 @@ detect-newline@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" -detect-node@^2.0.3, detect-node@^2.0.4: +detect-node@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c" @@ -8301,17 +8184,6 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1 version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -escodegen@1.8.x: - version "1.8.1" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018" - dependencies: - esprima "^2.7.1" - estraverse "^1.9.1" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.2.0" - escodegen@^1.10.0, escodegen@^1.11.0, escodegen@^1.8.1, escodegen@^1.9.1: version "1.11.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589" @@ -8637,10 +8509,6 @@ espree@^5.0.0: acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" -esprima@2.7.x, esprima@^2.7.1: - version "2.7.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" - esprima@^3.1.3, esprima@~3.1.0: version "3.1.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" @@ -8665,10 +8533,6 @@ esrecurse@^4.1.0: dependencies: estraverse "^4.1.0" -estraverse@^1.9.1: - version "1.9.3" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" - estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" @@ -9198,7 +9062,7 @@ file-loader@2.0.0: loader-utils "^1.0.2" schema-utils "^1.0.0" -file-loader@^3.0.1: +file-loader@3.0.1, file-loader@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-3.0.1.tgz#f8e0ba0b599918b51adfe45d66d1e771ad560faa" dependencies: @@ -9924,7 +9788,7 @@ glob@7.1.3, glob@^7.0.0, glob@^7.0.3, glob@^7.0.4, glob@^7.0.6, glob@^7.1.0, glo once "^1.3.0" path-is-absolute "^1.0.0" -glob@^5.0.10, glob@^5.0.15: +glob@^5.0.10: version "5.0.15" resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" dependencies: @@ -10195,15 +10059,11 @@ h2x-types@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/h2x-types/-/h2x-types-1.1.0.tgz#ec0d5e3674e2207269f32976ac9c82aaff4818e6" -handle-thing@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4" - handle-thing@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754" -handlebars@^4.0.1, handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.0.4: +handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.0.4: version "4.1.0" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" dependencies: @@ -11608,25 +11468,6 @@ istanbul-reports@^1.5.1: dependencies: handlebars "^4.0.3" -istanbul@0.4.5: - version "0.4.5" - resolved "https://registry.yarnpkg.com/istanbul/-/istanbul-0.4.5.tgz#65c7d73d4c4da84d4f3ac310b918fb0b8033733b" - dependencies: - abbrev "1.0.x" - async "1.x" - escodegen "1.8.x" - esprima "2.7.x" - glob "^5.0.15" - handlebars "^4.0.1" - js-yaml "3.x" - mkdirp "0.5.x" - nopt "3.x" - once "1.x" - resolve "1.1.x" - supports-color "^3.1.0" - which "^1.1.1" - wordwrap "^1.0.0" - istextorbinary@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/istextorbinary/-/istextorbinary-2.1.0.tgz#dbed2a6f51be2f7475b68f89465811141b758874" @@ -12311,7 +12152,7 @@ js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@3.x, js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.0: +js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.0: version "3.12.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.1.tgz#295c8632a18a23e054cf5c9d3cecafe678167600" dependencies: @@ -12836,22 +12677,7 @@ less-loader@4.1.0: loader-utils "^1.1.0" pify "^3.0.0" -less@3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/less/-/less-3.8.1.tgz#f31758598ef5a1930dd4caefa9e4340641e71e1d" - dependencies: - clone "^2.1.2" - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - image-size "~0.5.0" - mime "^1.4.1" - mkdirp "^0.5.0" - promise "^7.1.1" - request "^2.83.0" - source-map "~0.6.0" - -less@^3.0.4: +less@3.9.0, less@^3.0.4: version "3.9.0" resolved "https://registry.yarnpkg.com/less/-/less-3.9.0.tgz#b7511c43f37cf57dc87dffd9883ec121289b1474" dependencies: @@ -12968,10 +12794,12 @@ libnpmteam@^1.0.1: get-stream "^4.0.0" npm-registry-fetch "^3.8.0" -license-webpack-plugin@2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.0.2.tgz#9d34b521cb7fca8527945310b05be6ef0248b687" +license-webpack-plugin@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.1.0.tgz#83acaa6e89c3c5316effdd80cb4ec9c5cd8efc2f" + integrity sha512-vDiBeMWxjE9n6TabQ9J4FH8urFdsRK0Nvxn1cit9biCiR9aq1zBR0X2BlAkEiIG6qPamLeU0GzvIgLkrFc398A== dependencies: + "@types/webpack-sources" "^0.1.5" webpack-sources "^1.2.0" lie@~3.1.0: @@ -13126,6 +12954,14 @@ loader-utils@1.1.0: emojis-list "^2.0.0" json5 "^0.5.0" +loader-utils@1.2.3, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.0.3, loader-utils@^1.1.0, loader-utils@^1.2.1: + version "1.2.3" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" + dependencies: + big.js "^5.2.2" + emojis-list "^2.0.0" + json5 "^1.0.1" + loader-utils@^0.2.15: version "0.2.17" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" @@ -13135,14 +12971,6 @@ loader-utils@^0.2.15: json5 "^0.5.0" object-assign "^4.0.1" -loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.0.3, loader-utils@^1.1.0, loader-utils@^1.2.1: - version "1.2.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" - dependencies: - big.js "^5.2.2" - emojis-list "^2.0.0" - json5 "^1.0.1" - loader.js@^4.2.3: version "4.7.0" resolved "https://registry.yarnpkg.com/loader.js/-/loader.js-4.7.0.tgz#a1a52902001c83631efde9688b8ab3799325ef1f" @@ -14325,15 +14153,7 @@ mini-css-extract-plugin@0.4.3: schema-utils "^1.0.0" webpack-sources "^1.1.0" -mini-css-extract-plugin@0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.4.tgz#c10410a004951bd3cedac1da69053940fccb625d" - dependencies: - loader-utils "^1.1.0" - schema-utils "^1.0.0" - webpack-sources "^1.1.0" - -mini-css-extract-plugin@^0.5.0: +mini-css-extract-plugin@0.5.0, mini-css-extract-plugin@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.5.0.tgz#ac0059b02b9692515a637115b0cc9fed3a35c7b0" dependencies: @@ -14815,9 +14635,10 @@ node-releases@^1.0.0-alpha.11, node-releases@^1.1.3: dependencies: semver "^5.3.0" -node-sass@4.10.0: - version "4.10.0" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.10.0.tgz#dcc2b364c0913630945ccbf7a2bbf1f926effca4" +node-sass@4.11.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.11.0.tgz#183faec398e9cbe93ba43362e2768ca988a6369a" + integrity sha512-bHUdHTphgQJZaF1LASx0kAviPH7sGlcyNhWade4eVIpFp6tsn7SV8xNMTbsQFpEV9VXpnwTTnNYlfsZXgGgmkA== dependencies: async-foreach "^0.1.3" chalk "^1.1.1" @@ -14843,7 +14664,7 @@ node-version@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/node-version/-/node-version-1.2.0.tgz#34fde3ffa8e1149bd323983479dda620e1b5060d" -"nopt@2 || 3", nopt@3.x, nopt@^3.0.6: +"nopt@2 || 3", nopt@^3.0.6: version "3.0.6" resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" dependencies: @@ -15126,7 +14947,7 @@ object.values@^1.0.4, object.values@^1.1.0: function-bind "^1.1.1" has "^1.0.3" -obuf@^1.0.0, obuf@^1.1.1, obuf@^1.1.2: +obuf@^1.0.0, obuf@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" @@ -15149,7 +14970,7 @@ on-headers@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" -once@1.x, once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" dependencies: @@ -15173,12 +14994,6 @@ openurl@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387" -opn@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.3.0.tgz#64871565c863875f052cfdf53d3e3cb5adb53b1c" - dependencies: - is-wsl "^1.1.0" - opn@5.4.0, opn@^5.1.0, opn@^5.3.0, opn@^5.4.0: version "5.4.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035" @@ -15860,14 +15675,6 @@ popper.js@^1.14.4: version "1.14.6" resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.6.tgz#ab20dd4edf9288b8b3b6531c47c361107b60b4b0" -portfinder@1.0.17: - version "1.0.17" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.17.tgz#a8a1691143e46c4735edefcf4fbcccedad26456a" - dependencies: - async "^1.5.2" - debug "^2.2.0" - mkdirp "0.5.x" - portfinder@^1.0.13, portfinder@^1.0.15, portfinder@^1.0.9: version "1.0.20" resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.20.tgz#bea68632e54b2e13ab7b0c4775e9b41bf270e44a" @@ -16052,9 +15859,10 @@ postcss-image-set-function@^3.0.1: postcss "^7.0.2" postcss-values-parser "^2.0.0" -postcss-import@12.0.0: - version "12.0.0" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.0.tgz#149f96a4ef0b27525c419784be8517ebd17e92c5" +postcss-import@12.0.1: + version "12.0.1" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153" + integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw== dependencies: postcss "^7.0.1" postcss-value-parser "^3.2.3" @@ -16455,13 +16263,14 @@ postcss-values-parser@^2.0.0: indexes-of "^1.0.1" uniq "^1.0.1" -postcss@7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.5.tgz#70e6443e36a6d520b0fd4e7593fcca3635ee9f55" +postcss@7.0.14, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: + version "7.0.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" + integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg== dependencies: - chalk "^2.4.1" + chalk "^2.4.2" source-map "^0.6.1" - supports-color "^5.5.0" + supports-color "^6.1.0" postcss@^6.0.1, postcss@^6.0.23, postcss@^6.0.9: version "6.0.23" @@ -16471,14 +16280,6 @@ postcss@^6.0.1, postcss@^6.0.23, postcss@^6.0.9: source-map "^0.6.1" supports-color "^5.4.0" -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: - version "7.0.14" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" - dependencies: - chalk "^2.4.2" - source-map "^0.6.1" - supports-color "^6.1.0" - preact-render-to-json@^3.6.6: version "3.6.6" resolved "https://registry.yarnpkg.com/preact-render-to-json/-/preact-render-to-json-3.6.6.tgz#f67f48581912ac53fc9f4873bc6d7ce342f71c20" @@ -17006,11 +16807,7 @@ raw-body@~2.1.2: iconv-lite "0.4.13" unpipe "1.0.0" -raw-loader@0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" - -raw-loader@^1.0.0: +raw-loader@1.0.0, raw-loader@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-1.0.0.tgz#3f9889e73dadbda9a424bce79809b4133ad46405" dependencies: @@ -17628,7 +17425,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.9, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" dependencies: @@ -18326,7 +18123,7 @@ resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" -resolve@1.1.7, resolve@1.1.x: +resolve@1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" @@ -18776,10 +18573,6 @@ semver-intersect@1.4.0: version "5.6.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" -semver@5.5.1: - version "5.5.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477" - semver@~5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" @@ -19260,9 +19053,10 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@0.5.9: - version "0.5.9" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f" +source-map-support@0.5.10, source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.9: + version "0.5.10" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" + integrity sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -19273,13 +19067,6 @@ source-map-support@^0.4.15, source-map-support@~0.4.0: dependencies: source-map "^0.5.6" -source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.9: - version "0.5.10" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map-url@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.3.0.tgz#7ecaf13b57bcd09da8a40c5d269db33799d4aaf9" @@ -19316,12 +19103,6 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" -source-map@~0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" - dependencies: - amdefine ">=0.0.4" - sourcemap-codec@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" @@ -19384,18 +19165,6 @@ spdx-license-ids@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" -spdy-transport@^2.0.18: - version "2.1.1" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-2.1.1.tgz#c54815d73858aadd06ce63001e7d25fa6441623b" - dependencies: - debug "^2.6.8" - detect-node "^2.0.3" - hpack.js "^2.1.6" - obuf "^1.1.1" - readable-stream "^2.2.9" - safe-buffer "^5.0.1" - wbuf "^1.7.2" - spdy-transport@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" @@ -19407,17 +19176,6 @@ spdy-transport@^3.0.0: readable-stream "^3.0.6" wbuf "^1.7.3" -spdy@^3.4.1: - version "3.4.7" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc" - dependencies: - debug "^2.6.8" - handle-thing "^1.2.5" - http-deceiver "^1.2.7" - safe-buffer "^5.0.1" - select-hose "^2.0.0" - spdy-transport "^2.0.18" - spdy@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.0.tgz#81f222b5a743a329aa12cea6a390e60e9b613c52" @@ -19428,9 +19186,10 @@ spdy@^4.0.0: select-hose "^2.0.0" spdy-transport "^3.0.0" -speed-measure-webpack-plugin@1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.2.3.tgz#de170b5cefbfa1c039d95e639edd3ad50cfc7c48" +speed-measure-webpack-plugin@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.0.tgz#c7ffafef513df3d63d5d546c8fc1986dfc4969aa" + integrity sha512-b9Yd0TrzceMVYSbuamM1sFsGM1oVfyFTM22gOoyLhymNvBVApuYpkdFOgYkKJpN/KhTpcCYcTGHg7X+FJ33Vvw== dependencies: chalk "^2.0.1" @@ -19891,7 +19650,7 @@ supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" -supports-color@^3.1.0, supports-color@^3.1.2: +supports-color@^3.1.2: version "3.2.3" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" dependencies: @@ -20107,7 +19866,7 @@ terser-webpack-plugin@1.1.0: webpack-sources "^1.1.0" worker-farm "^1.5.2" -terser-webpack-plugin@^1.1.0: +terser-webpack-plugin@1.2.2, terser-webpack-plugin@^1.1.0: version "1.2.2" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9" dependencies: @@ -20413,11 +20172,7 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -tree-kill@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.0.tgz#5846786237b4239014f05db156b643212d4c6f36" - -tree-kill@^1.1.0: +tree-kill@1.2.1, tree-kill@^1.1.0: version "1.2.1" resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a" @@ -20679,13 +20434,9 @@ typescript@2.7.2: version "2.7.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836" -typescript@3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.6.tgz#b6543a83cfc8c2befb3f4c8fba6896f5b0c9be68" - -typescript@3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5" +typescript@3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d" typescript@^3.3.1: version "3.3.1" @@ -20699,7 +20450,7 @@ uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376" -uglify-es@^3.1.9, uglify-es@^3.3.4: +uglify-es@^3.1.9: version "3.3.9" resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677" dependencies: @@ -20713,19 +20464,6 @@ uglify-js@3.4.x, uglify-js@^3.1.4, uglify-js@^3.4.0: commander "~2.17.1" source-map "~0.6.1" -uglifyjs-webpack-plugin@^1.2.4: - version "1.3.0" - resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.3.0.tgz#75f548160858163a08643e086d5fefe18a5d67de" - dependencies: - cacache "^10.0.4" - find-cache-dir "^1.0.0" - schema-utils "^0.4.5" - serialize-javascript "^1.4.0" - source-map "^0.6.1" - uglify-es "^3.3.4" - webpack-sources "^1.1.0" - worker-farm "^1.5.2" - uid-number@0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" @@ -21403,7 +21141,7 @@ watchpack@^1.5.0: graceful-fs "^4.1.2" neo-async "^2.5.0" -wbuf@^1.1.0, wbuf@^1.7.2, wbuf@^1.7.3: +wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" dependencies: @@ -21478,7 +21216,7 @@ webpack-dev-middleware@3.4.0: range-parser "^1.0.3" webpack-log "^2.0.0" -webpack-dev-middleware@^3.5.1: +webpack-dev-middleware@3.5.1, webpack-dev-middleware@^3.5.1: version "3.5.1" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.5.1.tgz#9265b7742ef50f54f54c1d9af022fc17c1be9b88" dependencies: @@ -21487,39 +21225,6 @@ webpack-dev-middleware@^3.5.1: range-parser "^1.0.3" webpack-log "^2.0.0" -webpack-dev-server@3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.1.10.tgz#507411bee727ee8d2fdffdc621b66a64ab3dea2b" - dependencies: - ansi-html "0.0.7" - bonjour "^3.5.0" - chokidar "^2.0.0" - compression "^1.5.2" - connect-history-api-fallback "^1.3.0" - debug "^3.1.0" - del "^3.0.0" - express "^4.16.2" - html-entities "^1.2.0" - http-proxy-middleware "~0.18.0" - import-local "^2.0.0" - internal-ip "^3.0.1" - ip "^1.1.5" - killable "^1.0.0" - loglevel "^1.4.1" - opn "^5.1.0" - portfinder "^1.0.9" - schema-utils "^1.0.0" - selfsigned "^1.9.1" - serve-index "^1.7.2" - sockjs "0.3.19" - sockjs-client "1.3.0" - spdy "^3.4.1" - strip-ansi "^3.0.0" - supports-color "^5.1.0" - webpack-dev-middleware "3.4.0" - webpack-log "^2.0.0" - yargs "12.0.2" - webpack-dev-server@3.1.14, webpack-dev-server@^3.1.14: version "3.1.14" resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.1.14.tgz#60fb229b997fc5a0a1fc6237421030180959d469" @@ -21588,19 +21293,13 @@ webpack-manifest-plugin@2.0.4: lodash ">=3.5 <5" tapable "^1.0.0" -webpack-merge@4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.1.4.tgz#0fde38eabf2d5fd85251c24a5a8c48f8a3f4eb7b" +webpack-merge@4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.1.tgz#5e923cf802ea2ace4fd5af1d3247368a633489b4" + integrity sha512-4p8WQyS98bUJcCvFMbdGZyZmsKuWjWVnVHnAS3FFg0HDaRVrPbkivx2RYCre8UiemD67RsiFFLfn4JhLAin8Vw== dependencies: lodash "^4.17.5" -webpack-sources@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.2.0.tgz#18181e0d013fce096faf6f8e6d41eeffffdceac2" - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - webpack-sources@1.3.0, webpack-sources@^1.1.0, webpack-sources@^1.2.0, webpack-sources@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.3.0.tgz#2a28dcb9f1f45fe960d8f1493252b5ee6530fa85" @@ -21643,36 +21342,7 @@ webpack@4.19.1: watchpack "^1.5.0" webpack-sources "^1.2.0" -webpack@4.23.1: - version "4.23.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.23.1.tgz#db7467b116771ae020c58bdfe2a0822785bb8239" - dependencies: - "@webassemblyjs/ast" "1.7.10" - "@webassemblyjs/helper-module-context" "1.7.10" - "@webassemblyjs/wasm-edit" "1.7.10" - "@webassemblyjs/wasm-parser" "1.7.10" - acorn "^5.6.2" - acorn-dynamic-import "^3.0.0" - ajv "^6.1.0" - ajv-keywords "^3.1.0" - chrome-trace-event "^1.0.0" - enhanced-resolve "^4.1.0" - eslint-scope "^4.0.0" - json-parse-better-errors "^1.0.2" - loader-runner "^2.3.0" - loader-utils "^1.1.0" - memory-fs "~0.4.1" - micromatch "^3.1.8" - mkdirp "~0.5.0" - neo-async "^2.5.0" - node-libs-browser "^2.0.0" - schema-utils "^0.4.4" - tapable "^1.1.0" - uglifyjs-webpack-plugin "^1.2.4" - watchpack "^1.5.0" - webpack-sources "^1.3.0" - -webpack@^4.29.0: +webpack@4.29.0, webpack@^4.29.0: version "4.29.0" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.0.tgz#f2cfef83f7ae404ba889ff5d43efd285ca26e750" dependencies: @@ -21763,7 +21433,7 @@ which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" -which@1, which@^1.1.1, which@^1.2.10, which@^1.2.12, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@1, which@^1.2.10, which@^1.2.12, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" dependencies: From fa68e3396e7f1bef0f7e2abaad1c94aeaf7fb083 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 27 Feb 2019 22:19:12 +0800 Subject: [PATCH 094/249] Merge pull request #5776 from storybooks/5525-resolve-merge-conflicts Fix Angular global style imports --- yarn.lock | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5693ba605a3..fe088a846ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2379,6 +2379,7 @@ "@webassemblyjs/utf8@1.7.11": version "1.7.11" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.7.11.tgz#06d7218ea9fdc94a6793aa92208160db3d26ee82" + integrity sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA== "@webassemblyjs/utf8@1.7.6": version "1.7.6" @@ -2550,6 +2551,7 @@ abab@^2.0.0: abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== absolute-path@^0.0.0: version "0.0.0" @@ -8183,6 +8185,7 @@ escape-html@^1.0.3, escape-html@~1.0.3: escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= escodegen@^1.10.0, escodegen@^1.11.0, escodegen@^1.8.1, escodegen@^1.9.1: version "1.11.0" @@ -14993,6 +14996,7 @@ opener@~1.4.0: openurl@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387" + integrity sha1-OHW0sO96UsFW8NtB1GCduw+Us4c= opn@5.4.0, opn@^5.1.0, opn@^5.3.0, opn@^5.4.0: version "5.4.0" @@ -15672,8 +15676,9 @@ polymer-webpack-loader@^2.0.3: source-map "^0.5.6" popper.js@^1.14.4: - version "1.14.6" - resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.6.tgz#ab20dd4edf9288b8b3b6531c47c361107b60b4b0" + version "1.14.7" + resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.7.tgz#e31ec06cfac6a97a53280c3e55e4e0c860e7738e" + integrity sha512-4q1hNvoUre/8srWsH7hnoSJ5xVmIL4qgz+s4qf2TnJIMyZFUFMGH+9vE7mXynAlHSZ/NdTmmow86muD0myUkVQ== portfinder@^1.0.13, portfinder@^1.0.15, portfinder@^1.0.9: version "1.0.20" @@ -16306,9 +16311,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@1.16.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.0.tgz#104dd25f5ee3d0c9d0a6ce4bb40ced8481d51219" +prettier@1.16.3: + version "1.16.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d" + integrity sha512-kn/GU6SMRYPxUakNXhpP0EedT/KmaPzr0H5lIsDogrykbaxOpOfAFfk5XA7DZrJyMAv1wlMV3CPcZruGXVVUZw== prettier@^1.14.2, prettier@^1.16.4: version "1.16.4" @@ -18572,6 +18578,7 @@ semver-intersect@1.4.0: "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@5.6.0, semver@5.x, semver@^5.0.0, semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.6.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" + integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== semver@~5.3.0: version "5.3.0" @@ -19091,7 +19098,7 @@ source-map@0.5.6: version "0.5.6" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" -source-map@0.7.3, source-map@^0.7.2, source-map@^0.7.3: +source-map@0.7.3, source-map@^0.7.2: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" @@ -19102,6 +19109,7 @@ source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, sour source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== sourcemap-codec@^1.4.1: version "1.4.4" @@ -19164,6 +19172,7 @@ spdx-expression-parse@^3.0.0: spdx-license-ids@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" + integrity sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g== spdy-transport@^3.0.0: version "3.0.0" @@ -20433,6 +20442,7 @@ typedarray@^0.0.6: typescript@2.7.2: version "2.7.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836" + integrity sha512-p5TCYZDAO0m4G344hD+wx/LATebLWZNkkh2asWUFqSsD2OrDNhbAHuSjobrmsUmdzjJjEeZVU9g1h3O6vpstnw== typescript@3.2.4: version "3.2.4" @@ -21043,9 +21053,10 @@ vue-template-compiler@^2.6.3: de-indent "^1.0.2" he "^1.1.0" -vue-template-es2015-compiler@^1.6.0: - version "1.8.1" - resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.1.tgz#e2ec4f42d16b6c712e61899c6b20bcdb1df128ca" +vue-template-es2015-compiler@^1.8.2: + version "1.9.1" + resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" + integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== vue@^2.6.3: version "2.6.3" From acfc740d92cd3a9c01872d1704227fa699f0e7f8 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 27 Feb 2019 22:56:56 +0800 Subject: [PATCH 095/249] Merge pull request #5716 from storybooks/5421-notifications-styling Notifications placement --- .../__snapshots__/storyshots.test.js.snap | 449 +++++++----------- .../tabs/__snapshots__/tabs.stories.storyshot | 14 - lib/components/src/tabs/tabs.js | 4 +- lib/ui/src/app.js | 2 + lib/ui/src/components/layout/desktop.js | 11 +- .../src/components/layout/layout.stories.js | 3 +- lib/ui/src/components/layout/mobile.js | 12 +- .../item.js} | 11 +- .../item.stories.js} | 4 +- .../components/notifications/notifications.js | 50 ++ .../notifications.stories.js} | 19 +- .../__snapshots__/panel.stories.storyshot | 2 - .../components/sidebar/NotificationList.js | 43 -- lib/ui/src/components/sidebar/Sidebar.js | 27 +- .../src/components/sidebar/Sidebar.stories.js | 14 +- lib/ui/src/containers/nav.js | 2 - lib/ui/src/containers/notifications.js | 18 + lib/ui/src/core/versions.js | 4 +- .../__snapshots__/about.stories.storyshot | 6 - 19 files changed, 281 insertions(+), 414 deletions(-) rename lib/ui/src/components/{sidebar/NotificationItem.js => notifications/item.js} (80%) rename lib/ui/src/components/{sidebar/NotificationItem.stories.js => notifications/item.stories.js} (87%) create mode 100644 lib/ui/src/components/notifications/notifications.js rename lib/ui/src/components/{sidebar/NotificationList.stories.js => notifications/notifications.stories.js} (65%) delete mode 100644 lib/ui/src/components/sidebar/NotificationList.js create mode 100644 lib/ui/src/containers/notifications.js diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 2c69de59a58..a2c80ea1e62 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -2850,8 +2850,8 @@ exports[`Storyshots Core|Scroll story with 100vh padding 2 1`] = `
    `; -exports[`Storyshots UI|Notifications/NotificationItem longText 1`] = ` -.emotion-1 { +exports[`Storyshots UI|Notifications/Item longText 1`] = ` +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2865,7 +2865,7 @@ exports[`Storyshots UI|Notifications/NotificationItem longText 1`] = ` text-decoration: none; } -.emotion-1 { +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2883,19 +2883,15 @@ exports[`Storyshots UI|Notifications/NotificationItem longText 1`] = ` style="width:240px;margin:1rem" >
    -
    - 🎉 This is a long message that extends over two lines! -
    + 🎉 This is a long message that extends over two lines!
    `; -exports[`Storyshots UI|Notifications/NotificationItem simple 1`] = ` -.emotion-1 { +exports[`Storyshots UI|Notifications/Item simple 1`] = ` +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2909,7 +2905,7 @@ exports[`Storyshots UI|Notifications/NotificationItem simple 1`] = ` text-decoration: none; } -.emotion-1 { +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2927,19 +2923,15 @@ exports[`Storyshots UI|Notifications/NotificationItem simple 1`] = ` style="width:240px;margin:1rem" >
    -
    - 🎉 Storybook is cool! -
    + 🎉 Storybook is cool!
    `; -exports[`Storyshots UI|Notifications/NotificationItem withLink 1`] = ` -.emotion-1 { +exports[`Storyshots UI|Notifications/Item withLink 1`] = ` +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2953,7 +2945,7 @@ exports[`Storyshots UI|Notifications/NotificationItem withLink 1`] = ` text-decoration: none; } -.emotion-1 { +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2971,20 +2963,16 @@ exports[`Storyshots UI|Notifications/NotificationItem withLink 1`] = ` style="width:240px;margin:1rem" > -
    - 🎉 Storybook X.X is available! Download now » -
    + 🎉 Storybook X.X is available! Download now »
    `; -exports[`Storyshots UI|Notifications/NotificationList all 1`] = ` -.emotion-1 { +exports[`Storyshots UI|Notifications/Notifications all 1`] = ` +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -2998,15 +2986,23 @@ exports[`Storyshots UI|Notifications/NotificationList all 1`] = ` text-decoration: none; } -.emotion-6 > * + * { +.emotion-3 { + z-index: 10; + bottom: 0; + left: 0; + right: 0; + position: fixed; +} + +.emotion-3 > * + * { margin-top: 10px; } -.emotion-6:empty { +.emotion-3:empty { display: none; } -.emotion-1 { +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -3020,11 +3016,19 @@ exports[`Storyshots UI|Notifications/NotificationList all 1`] = ` text-decoration: none; } -.emotion-6 > * + * { +.emotion-3 { + z-index: 10; + bottom: 0; + left: 0; + right: 0; + position: fixed; +} + +.emotion-3 > * + * { margin-top: 10px; } -.emotion-6:empty { +.emotion-3:empty { display: none; } @@ -3032,42 +3036,30 @@ exports[`Storyshots UI|Notifications/NotificationList all 1`] = ` style="width:240px;margin:1rem" >
    -
    - 🎉 Storybook is cool! -
    + 🎉 Storybook is cool!
    -
    - 🎉 This is a long message that extends over two lines! -
    + 🎉 This is a long message that extends over two lines!
    -
    - 🎉 Storybook X.X is available! Download now » -
    + 🎉 Storybook X.X is available! Download now »
    `; -exports[`Storyshots UI|Notifications/NotificationList single 1`] = ` -.emotion-1 { +exports[`Storyshots UI|Notifications/Notifications placement 1`] = ` +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -3081,15 +3073,22 @@ exports[`Storyshots UI|Notifications/NotificationList single 1`] = ` text-decoration: none; } -.emotion-2 > * + * { +.emotion-3 { + z-index: 10; + position: fixed; + left: 20px; + bottom: 20px; +} + +.emotion-3 > * + * { margin-top: 10px; } -.emotion-2:empty { +.emotion-3:empty { display: none; } -.emotion-1 { +.emotion-0 { display: block; padding: 16px 20px; border-radius: 10px; @@ -3103,11 +3102,18 @@ exports[`Storyshots UI|Notifications/NotificationList single 1`] = ` text-decoration: none; } -.emotion-2 > * + * { +.emotion-3 { + z-index: 10; + position: fixed; + left: 20px; + bottom: 20px; +} + +.emotion-3 > * + * { margin-top: 10px; } -.emotion-2:empty { +.emotion-3:empty { display: none; } @@ -3115,16 +3121,99 @@ exports[`Storyshots UI|Notifications/NotificationList single 1`] = ` style="width:240px;margin:1rem" >
    -
    - 🎉 Storybook is cool! -
    + 🎉 Storybook is cool! +
    +
    + 🎉 This is a long message that extends over two lines! +
    + + 🎉 Storybook X.X is available! Download now » + +
    +
    +`; + +exports[`Storyshots UI|Notifications/Notifications single 1`] = ` +.emotion-0 { + display: block; + padding: 16px 20px; + border-radius: 10px; + font-size: 12px; + font-weight: 700; + line-height: 16px; + box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); + color: #FFFFFF; + background-color: rgba(0,0,0,0.95); + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-1 { + z-index: 10; + bottom: 0; + left: 0; + right: 0; + position: fixed; +} + +.emotion-1 > * + * { + margin-top: 10px; +} + +.emotion-1:empty { + display: none; +} + +.emotion-0 { + display: block; + padding: 16px 20px; + border-radius: 10px; + font-size: 12px; + font-weight: 700; + line-height: 16px; + box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); + color: #FFFFFF; + background-color: rgba(0,0,0,0.95); + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-1 { + z-index: 10; + bottom: 0; + left: 0; + right: 0; + position: fixed; +} + +.emotion-1 > * + * { + margin-top: 10px; +} + +.emotion-1:empty { + display: none; +} + +
    +
    +
    + 🎉 Storybook is cool!
    @@ -4422,11 +4511,9 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
    * + * { - margin-top: 10px; -} - -.emotion-78:empty { - display: none; -} - -.emotion-84 { +.emotion-77 { position: absolute; z-index: 1; left: 0; @@ -5409,23 +5474,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` color: #774dd7; } -.emotion-77 { - height: 48px; -} - -.emotion-83 { - position: fixed; - display: block; - bottom: 20px; - left: 20px; - margin: 0; - padding: 0; - width: 20%; - min-width: 200px; - max-width: 280px; - z-index: 2; -} - .emotion-76 { margin-top: 8px; } @@ -5622,29 +5670,7 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` fill: currentColor; } -.emotion-81 { - display: block; - padding: 16px 20px; - border-radius: 10px; - font-size: 12px; - font-weight: 700; - line-height: 16px; - box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); - color: #FFFFFF; - background-color: rgba(0,0,0,0.95); - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-78 > * + * { - margin-top: 10px; -} - -.emotion-78:empty { - display: none; -} - -.emotion-84 { +.emotion-77 { position: absolute; z-index: 1; left: 0; @@ -5809,23 +5835,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` color: #774dd7; } -.emotion-77 { - height: 48px; -} - -.emotion-83 { - position: fixed; - display: block; - bottom: 20px; - left: 20px; - margin: 0; - padding: 0; - width: 20%; - min-width: 200px; - max-width: 280px; - z-index: 2; -} - .emotion-76 { margin-top: 8px; } @@ -5971,7 +5980,7 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` }
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - 🎉 Storybook is cool! -
    -
    -
    -
    `; @@ -6420,29 +6401,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` fill: currentColor; } -.emotion-52 { - display: block; - padding: 16px 20px; - border-radius: 10px; - font-size: 12px; - font-weight: 700; - line-height: 16px; - box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); - color: #FFFFFF; - background-color: rgba(0,0,0,0.95); - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-49 > * + * { - margin-top: 10px; -} - -.emotion-49:empty { - display: none; -} - -.emotion-55 { +.emotion-48 { position: absolute; z-index: 1; left: 0; @@ -6914,23 +6873,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` color: #774dd7; } -.emotion-48 { - height: 48px; -} - -.emotion-54 { - position: fixed; - display: block; - bottom: 20px; - left: 20px; - margin: 0; - padding: 0; - width: 20%; - min-width: 200px; - max-width: 280px; - z-index: 2; -} - .emotion-4 { shape-rendering: inherit; -webkit-transform: translate3d(0,0,0); @@ -6943,29 +6885,7 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` fill: currentColor; } -.emotion-52 { - display: block; - padding: 16px 20px; - border-radius: 10px; - font-size: 12px; - font-weight: 700; - line-height: 16px; - box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); - color: #FFFFFF; - background-color: rgba(0,0,0,0.95); - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-49 > * + * { - margin-top: 10px; -} - -.emotion-49:empty { - display: none; -} - -.emotion-55 { +.emotion-48 { position: absolute; z-index: 1; left: 0; @@ -7437,25 +7357,8 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` color: #774dd7; } -.emotion-48 { - height: 48px; -} - -.emotion-54 { - position: fixed; - display: block; - bottom: 20px; - left: 20px; - margin: 0; - padding: 0; - width: 20%; - min-width: 200px; - max-width: 280px; - z-index: 2; -} - `; diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index 0b1f616cad8..172fa52ea43 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -219,11 +219,9 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` >
    - + + {list.map(({ title, id, active }) => ( ({ Nav, Preview, Panel, + Notifications, pages: [ { key: 'settings', diff --git a/lib/ui/src/components/layout/desktop.js b/lib/ui/src/components/layout/desktop.js index ae8e509003c..da51326d594 100644 --- a/lib/ui/src/components/layout/desktop.js +++ b/lib/ui/src/components/layout/desktop.js @@ -5,8 +5,16 @@ import ResizeDetector from 'react-resize-detector'; import * as S from './container'; -const Desktop = React.memo(({ Panel, Nav, Preview, pages, options, viewMode }) => ( +const Desktop = React.memo(({ Panel, Nav, Preview, Notifications, pages, options, viewMode }) => ( + + {(width, height) => width && height ? ( @@ -48,6 +56,7 @@ Desktop.propTypes = { Nav: PropTypes.any.isRequired, // eslint-disable-line react/forbid-prop-types Preview: PropTypes.any.isRequired, // eslint-disable-line react/forbid-prop-types Panel: PropTypes.any.isRequired, // eslint-disable-line react/forbid-prop-types + Notifications: PropTypes.any.isRequired, // eslint-disable-line react/forbid-prop-types pages: PropTypes.arrayOf( PropTypes.shape({ key: PropTypes.string.isRequired, diff --git a/lib/ui/src/components/layout/layout.stories.js b/lib/ui/src/components/layout/layout.stories.js index c11cc9004c1..2cc10e64b72 100644 --- a/lib/ui/src/components/layout/layout.stories.js +++ b/lib/ui/src/components/layout/layout.stories.js @@ -19,7 +19,6 @@ import { mockDataset } from '../sidebar/treeview/treeview.mockdata'; const realNavProps = { title: 'Title', url: 'https://example.com', - notifications: [], stories: mockDataset.withRoot, menu: [], }; @@ -110,6 +109,7 @@ const mockProps = { Nav: MockNav, Preview: MockPreview, Panel: MockPanel, + Notifications: () => null, pages: [], options: { isFullscreen: false, showNav: true, showPanel: true, panelPosition: 'right' }, path: '/story/UI-DesktopLayout-noNav', @@ -120,6 +120,7 @@ const mockProps = { const realProps = { Nav: () => , Preview: () => , + Notifications: () => null, Panel: () => ( + +
    +
    - - - - - @@ -240,81 +232,65 @@ exports[`Storyshots Button with new info 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    children node + yes + - +
    isAmazing bool + - + false +
    age other + - + { @@ -339,38 +315,30 @@ exports[`Storyshots Button with new info 1`] = ` } +
    title string + - + the best container ever +
    diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot index 71f17378224..aabe5f6698f 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot @@ -122,32 +122,24 @@ exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -155,117 +147,93 @@ exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -471,32 +439,24 @@ exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components cor > "BaseButton" Component - +
    - - - - - @@ -504,117 +464,93 @@ exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components cor - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -947,32 +883,24 @@ exports[`Storyshots Addons|Info/JSX Displays JSX in description 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -980,117 +908,93 @@ exports[`Storyshots Addons|Info/JSX Displays JSX in description 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1262,32 +1166,24 @@ exports[`Storyshots Addons|Info/Markdown Displays Markdown in description 1`] = > "BaseButton" Component - +
    - - - - - @@ -1295,117 +1191,93 @@ exports[`Storyshots Addons|Info/Markdown Displays Markdown in description 1`] = - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1557,32 +1429,24 @@ exports[`Storyshots Addons|Info/Markdown From external Markdown file 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -1590,117 +1454,93 @@ exports[`Storyshots Addons|Info/Markdown From external Markdown file 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1864,32 +1704,24 @@ exports[`Storyshots Addons|Info/Markdown From internal Markdown file 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -1897,117 +1729,93 @@ exports[`Storyshots Addons|Info/Markdown From internal Markdown file 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2323,32 +2131,24 @@ exports[`Storyshots Addons|Info/Options.excludedPropTypes Excludes propTypes tha > "BaseButton" Component - +
    - - - - - @@ -2356,90 +2156,72 @@ exports[`Storyshots Addons|Info/Options.excludedPropTypes Excludes propTypes tha - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2559,32 +2341,24 @@ exports[`Storyshots Addons|Info/Options.header Shows or hides Info Addon header > "BaseButton" Component - +
    - - - - - @@ -2592,117 +2366,93 @@ exports[`Storyshots Addons|Info/Options.header Shows or hides Info Addon header - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2824,32 +2574,24 @@ exports[`Storyshots Addons|Info/Options.inline Inlines component inside story 1` > "BaseButton" Component - +
    - - - - - @@ -2857,117 +2599,93 @@ exports[`Storyshots Addons|Info/Options.inline Inlines component inside story 1` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3100,32 +2818,24 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr > "BaseButton" Component - +
    - - - - - @@ -3133,117 +2843,93 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3254,32 +2940,24 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr > "FlowTypeButton" Component - +
    - - - - - @@ -3287,61 +2965,49 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr - - - - - -
    + property + propType + required + default + description
    disabled unknown + - + false +
    onClick unknown + - + onClick +
    @@ -3543,32 +3209,24 @@ exports[`Storyshots Addons|Info/Options.propTablesExclude Exclude component from > "BaseButton" Component - +
    - - - - - @@ -3576,117 +3234,93 @@ exports[`Storyshots Addons|Info/Options.propTablesExclude Exclude component from - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3766,32 +3400,24 @@ exports[`Storyshots Addons|Info/Options.source Shows or hides Info Addon source > "BaseButton" Component - +
    - - - - - @@ -3799,117 +3425,93 @@ exports[`Storyshots Addons|Info/Options.source Shows or hides Info Addon source - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4034,32 +3636,24 @@ exports[`Storyshots Addons|Info/Options.styles Extend info styles with an object > "BaseButton" Component - +
    - - - - - @@ -4067,117 +3661,93 @@ exports[`Storyshots Addons|Info/Options.styles Extend info styles with an object - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4302,32 +3872,24 @@ exports[`Storyshots Addons|Info/Options.styles Full control over styles using a > "BaseButton" Component - +
    - - - - - @@ -4335,117 +3897,93 @@ exports[`Storyshots Addons|Info/Options.styles Full control over styles using a - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4625,32 +4163,24 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow > "BaseButton" Component - +
    - - - - - @@ -4658,117 +4188,93 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4908,32 +4414,24 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with mar > "BaseButton" Component - +
    - - - - - @@ -4941,117 +4439,93 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with mar - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -5172,32 +4646,24 @@ exports[`Storyshots Addons|Info/Parameters Overwriting and extending the paramet > "BaseButton" Component - +
    - - - - - @@ -5205,90 +4671,72 @@ exports[`Storyshots Addons|Info/Parameters Overwriting and extending the paramet - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -5409,32 +4857,24 @@ exports[`Storyshots Addons|Info/Parameters Using paramaters across all stories 1 > "BaseButton" Component - +
    - - - - - @@ -5442,117 +4882,93 @@ exports[`Storyshots Addons|Info/Parameters Using paramaters across all stories 1 - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -5703,32 +5119,24 @@ exports[`Storyshots Addons|Info/React Docgen Comments from Flow declarations 1`] > "FlowTypeButton" Component - +
    - - - - - @@ -5736,61 +5144,49 @@ exports[`Storyshots Addons|Info/React Docgen Comments from Flow declarations 1`] - - - - - -
    + property + propType + required + default + description
    disabled unknown + - + false +
    onClick unknown + - + onClick +
    @@ -6143,32 +5539,24 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations > "DocgenButton" Component - +
    - - - - - @@ -6176,110 +5564,88 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    one other + - + { @@ -6294,31 +5660,25 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    two other + - + { @@ -6363,31 +5723,25 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    obj object + - + { @@ -6402,31 +5756,25 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    shape other + - + { @@ -6485,31 +5833,25 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    arrayOf other + - + [ @@ -6532,154 +5874,122 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations ] +
    msg other + - + {} +
    enm other + - + News +
    enmEval other + - + Photos +
    union other + - + hello +
    optionalString string + - + Default String +
    @@ -6831,32 +6141,24 @@ exports[`Storyshots Addons|Info/React Docgen Comments from component declaration > "BaseButton" Component - +
    - - - - - @@ -6864,117 +6166,93 @@ exports[`Storyshots Addons|Info/React Docgen Comments from component declaration - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -7126,32 +6404,24 @@ exports[`Storyshots Addons|Info/React Docgen Comments from named export componen > "NamedExportButton" Component - +
    - - - - - @@ -7159,117 +6429,93 @@ exports[`Storyshots Addons|Info/React Docgen Comments from named export componen - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -7757,32 +7003,24 @@ exports[`Storyshots Addons|Info/Story Source Array prop 1`] = ` > "TableComponent" Component - +
    - - - - - @@ -7790,32 +7028,26 @@ exports[`Storyshots Addons|Info/Story Source Array prop 1`] = ` - - -
    + property + propType + required + default + description
    propDefinitions other + - + [] +
    @@ -8024,32 +7256,24 @@ exports[`Storyshots Addons|Info/Story Source Children 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -8057,117 +7281,93 @@ exports[`Storyshots Addons|Info/Story Source Children 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -8317,32 +7517,24 @@ exports[`Storyshots Addons|Info/Story Source Many props 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -8350,117 +7542,93 @@ exports[`Storyshots Addons|Info/Story Source Many props 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -8670,32 +7838,24 @@ exports[`Storyshots Addons|Info/Story Source Object prop 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -8703,117 +7863,93 @@ exports[`Storyshots Addons|Info/Story Source Object prop 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -8938,32 +8074,24 @@ exports[`Storyshots Addons|Info/Story Source One prop 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -8971,117 +8099,93 @@ exports[`Storyshots Addons|Info/Story Source One prop 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -9253,32 +8357,24 @@ exports[`Storyshots Addons|Info/deprecated Displays Markdown in description 1`] > "BaseButton" Component - +
    - - - - - @@ -9286,117 +8382,93 @@ exports[`Storyshots Addons|Info/deprecated Displays Markdown in description 1`] - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    diff --git a/examples/official-storybook/stories/core/decorators.stories.js b/examples/official-storybook/stories/core/decorators.stories.js new file mode 100644 index 00000000000..2edb62f9d66 --- /dev/null +++ b/examples/official-storybook/stories/core/decorators.stories.js @@ -0,0 +1,39 @@ +import React from 'react'; + +// We would need to add this in config.js idomatically however that would make this file a bit confusing +import { addDecorator } from '@storybook/react'; + +addDecorator((s, { kind }) => + kind === 'Core|Decorators' ? ( + <> +

    Global Decorator

    + {s()} + + ) : ( + s() + ) +); + +export default { + title: 'Core|Decorators', + decorators: [ + s => ( + <> +

    Kind Decorator

    + {s()} + + ), + ], +}; + +export const all = () =>

    Story

    ; +all.parameters = { + decorators: [ + s => ( + <> +

    Local Decorator

    + {s()} + + ), + ], +}; diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index a2c80ea1e62..9e583358900 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -2535,6 +2535,23 @@ exports[`Storyshots Basics|Placeholder twoChildren 1`] = `
    `; +exports[`Storyshots Core|Decorators all 1`] = ` +Array [ +

    + Global Decorator +

    , +

    + Kind Decorator +

    , +

    + Local Decorator +

    , +

    + Story +

    , +] +`; + exports[`Storyshots Core|Events Force re-render 1`] = ` .emotion-0 { border: 0; @@ -3461,73 +3478,16 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` } .emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; + overflow-x: auto; + color: #999999; + width: 100%; + height: 40px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; + background: #FFFFFF; } .emotion-7 { @@ -3540,7 +3500,12 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - white-space: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; height: 40px; } @@ -3549,6 +3514,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3619,6 +3585,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3648,12 +3615,23 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: block; position: relative; font-size: 13px; - position: relative; + height: calc(100% - 40px); + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 40px; + overflow: auto; +} + +.emotion-99 > *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; } .emotion-5 { @@ -3992,73 +3970,16 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` } .emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; + overflow-x: auto; + color: #999999; + width: 100%; + height: 40px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; + background: #FFFFFF; } .emotion-7 { @@ -4071,7 +3992,12 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - white-space: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; height: 40px; } @@ -4080,6 +4006,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -4150,6 +4077,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -4179,12 +4107,23 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: block; position: relative; font-size: 13px; - position: relative; + height: calc(100% - 40px); + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 40px; + overflow: auto; +} + +.emotion-99 > *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; } .emotion-5 { @@ -4514,43 +4453,84 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` >
    +
    +
    +
    - +
    +
    +
    + +
    +
    +
    + +
    +
    +
    - -
    + class="simplebar-placeholder" + /> +
    +
    +
    +
    +
    +
    [...localDecorators, ..._globalDecorators, withSubscriptionTracking], + getDecorators: () => [ + ...(allParam.decorators || []), + ...localDecorators, + ..._globalDecorators, + withSubscriptionTracking, + ], } ); return api; diff --git a/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot b/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot index 83209e363fb..bb700664b9a 100644 --- a/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +++ b/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot @@ -1,6 +1,19 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|SyntaxHighlighter bash 1`] = ` +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-2 { position: relative; overflow: auto; @@ -156,19 +169,6 @@ exports[`Storyshots Basics|SyntaxHighlighter bash 1`] = ` opacity: 0.7; } -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -220,161 +220,6 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = ` border: 1px solid rgba(0,0,0,.1); } -.emotion-2 { - position: relative; - overflow: auto; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -445,6 +290,161 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = ` outline: 0 none; } +.emotion-2 { + position: relative; + overflow: auto; +} + +.emotion-2 code { + padding-right: 10px; +} + +.emotion-2 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-2 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.string { + color: #A31515; +} + +.emotion-2 * .token.punctuation { + color: #393A34; +} + +.emotion-2 * .token.operator { + color: #393A34; +} + +.emotion-2 * .token.url { + color: #36acaa; +} + +.emotion-2 * .token.symbol { + color: #36acaa; +} + +.emotion-2 * .token.number { + color: #36acaa; +} + +.emotion-2 * .token.boolean { + color: #36acaa; +} + +.emotion-2 * .token.variable { + color: #36acaa; +} + +.emotion-2 * .token.constant { + color: #36acaa; +} + +.emotion-2 * .token.inserted { + color: #36acaa; +} + +.emotion-2 * .token.atrule { + color: #0000ff; +} + +.emotion-2 * .token.keyword { + color: #0000ff; +} + +.emotion-2 * .token.attr-value { + color: #0000ff; +} + +.emotion-2 * .token.function { + color: #393A34; +} + +.emotion-2 * .token.deleted { + color: #9a050f; +} + +.emotion-2 * .token.important { + font-weight: bold; +} + +.emotion-2 * .token.bold { + font-weight: bold; +} + +.emotion-2 * .token.italic { + font-style: italic; +} + +.emotion-2 * .token.class-name { + color: #2B91AF; +} + +.emotion-2 * .token.tag { + color: #800000; +} + +.emotion-2 * .token.selector { + color: #800000; +} + +.emotion-2 * .token.attr-name { + color: #ff0000; +} + +.emotion-2 * .token.property { + color: #ff0000; +} + +.emotion-2 * .token.regex { + color: #ff0000; +} + +.emotion-2 * .token.entity { + color: #ff0000; +} + +.emotion-2 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-2 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-2 * .language-json .token.number { + color: #0000ff; +} + +.emotion-2 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-2 * .namespace { + opacity: 0.7; +} +
    @@ -653,6 +653,19 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-2 { position: relative; overflow: auto; @@ -808,19 +821,6 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` opacity: 0.7; } -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -1063,6 +1063,32 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-2 { position: relative; overflow: auto; @@ -1218,32 +1244,6 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` opacity: 0.7; } -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} -
    @@ -1443,6 +1443,19 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-2 { position: relative; overflow: auto; @@ -1598,19 +1611,6 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` opacity: 0.7; } -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -1855,6 +1855,19 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter story 1`] = ` +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-2 { position: relative; overflow: auto; @@ -2010,19 +2023,6 @@ exports[`Storyshots Basics|SyntaxHighlighter story 1`] = ` opacity: 0.7; } -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-1 { display: -webkit-box; display: -webkit-flex; diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index 172fa52ea43..2d58ee1b12b 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -1,107 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - .emotion-6 { overflow: hidden; } @@ -204,6 +103,107 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + .emotion-11 { display: block; position: relative; @@ -350,107 +350,6 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - .emotion-6 { overflow: hidden; } @@ -553,6 +452,107 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + .emotion-11 { display: block; position: relative; @@ -655,107 +655,6 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - static 1`] = ` -.emotion-5 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-5:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-5::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-5:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-5::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-5::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-5::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-3 > * { - margin-left: 15px; -} - .emotion-2 { overflow: hidden; } @@ -858,6 +757,107 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` display: block; } +.emotion-5 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-5:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-5::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-5:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-5::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-5::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-3 > * { + margin-left: 15px; +} + .emotion-7 { display: block; position: relative; @@ -918,6 +918,104 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-9 { color: #999999; height: 40px; @@ -1019,116 +1117,6 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` margin-left: 15px; } -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-11 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - .emotion-10 { display: none; } @@ -1148,6 +1136,18 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` flex-direction: column; } +.emotion-11 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} +
    @@ -1284,6 +1284,104 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-9 { color: #999999; height: 40px; @@ -1385,104 +1483,6 @@ exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` margin-left: 15px; } -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-11 { display: block; position: relative; @@ -1662,6 +1662,104 @@ exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-9 { color: #999999; height: 40px; @@ -1763,104 +1861,6 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` margin-left: 15px; } -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-11 { display: block; position: relative; @@ -2013,6 +2013,108 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-13 { + display: block; +} + .emotion-10 { color: #999999; height: 40px; @@ -2114,104 +2216,16 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` margin-left: 15px; } -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; +.emotion-12 { + display: block; + position: relative; font-size: 13px; - color: inherit; - border-bottom-color: transparent; } -.emotion-0:empty { +.emotion-11 { display: none; } -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -2230,20 +2244,6 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` margin-right: 15px; } -.emotion-13 { - display: block; -} - -.emotion-12 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-11 { - display: none; -} -
    diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 49acd540911..39da8a6a008 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -15,73 +15,16 @@ exports[`Storyshots UI|Panel default 1`] = ` } .emotion-12 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-12:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-12::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-12:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-12::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-12::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-12::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; + overflow-x: auto; + color: #999999; + width: 100%; + height: 40px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; + background: #FFFFFF; } .emotion-11 { @@ -94,7 +37,12 @@ exports[`Storyshots UI|Panel default 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - white-space: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; height: 40px; } @@ -103,6 +51,7 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -218,6 +167,7 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -276,12 +226,23 @@ exports[`Storyshots UI|Panel default 1`] = ` display: block; position: relative; font-size: 13px; - position: relative; + height: calc(100% - 40px); + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 40px; + overflow: auto; +} + +.emotion-13 > *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; }
    +
    +
    +
    - - +
    +
    +
    + + +
    +
    +
    + + +
    +
    +
    - - -
    + class="simplebar-placeholder" + /> +
    +
    +
    +
    +
    +
    - - - - -
    - - - - +
    + + + + + +
    +
    + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    , .emotion-2 { @@ -374,7 +365,12 @@ Array [ -ms-flex-pack: justify; justify-content: space-between; position: relative; - white-space: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; height: 40px; } @@ -383,6 +379,7 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -498,6 +495,7 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -524,24 +522,16 @@ Array [ } .emotion-29 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); + overflow-x: auto; + color: #999999; + width: 100%; + height: 40px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; + background: #FFFFFF; position: absolute; left: 0; right: 0; @@ -553,55 +543,6 @@ Array [ tranform: translateY(0px); } -.emotion-29:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-29::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-29:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-29::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-29::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-29::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { height: 40px; background: none; @@ -651,135 +592,176 @@ Array [
    - - - - - -
    - - - - +
    + + + + + + + +
    +
    + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    , .emotion-2 { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index bc9c8ce2487..604adef4e1f 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -15,73 +15,16 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` } .emotion-8 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-8::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-8::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-8::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-8::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; + overflow-x: auto; + color: #999999; + width: 100%; + height: 40px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; + background: #FFFFFF; } .emotion-7 { @@ -94,7 +37,12 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - white-space: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; height: 40px; } @@ -103,6 +51,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -173,6 +122,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -202,12 +152,23 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: block; position: relative; font-size: 13px; - position: relative; + height: calc(100% - 40px); + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 40px; + overflow: auto; +} + +.emotion-25 > *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; } .emotion-5 { @@ -414,43 +375,84 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` >
    +
    +
    +
    - +
    +
    +
    + +
    +
    +
    + +
    +
    +
    - -
    + class="simplebar-placeholder" + /> +
    +
    +
    +
    +
    +
    *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; } .emotion-5 { @@ -1053,7 +1016,6 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` .emotion-17 pre.hljs { padding: 15px; margin: 0; - overflow: auto; white-space: pre-wrap; color: #333333; font-size: 13px; @@ -1469,8 +1431,9 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` } .emotion-20 { + overflow-y: auto; + overflow-x: auto; position: relative; - overflow: auto; } .emotion-20 code { @@ -1698,43 +1661,84 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` >
    +
    +
    +
    - +
    +
    +
    + +
    +
    +
    + +
    +
    +
    - -
    + class="simplebar-placeholder" + /> +
    +
    +
    +
    +
    +
    -
    -                  
    -                    npx npm-check-updates 
    -                    
    +                  
    +
    +
    - '/storybook/' - - -u - - && - - yarn - - +
    +
    +                          
    +                            npx npm-check-updates 
    +                            
    +                              '/storybook/'
    +                            
    +                             -u 
    +                            
    +                              &&
    +                            
    +                             yarn
    +                          
    +                        
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    -
    -                  
    -                    yarn upgrade-interactive --latest
    -                  
    -                
    +
    +
    +
    +
    +
    +
    +                          
    +                            yarn upgrade-interactive --latest
    +                          
    +                        
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    *:first-child { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + height: 100%; overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; } .emotion-5 { @@ -2455,7 +2502,6 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` .emotion-17 pre.hljs { padding: 15px; margin: 0; - overflow: auto; white-space: pre-wrap; color: #333333; font-size: 13px; @@ -2852,43 +2898,84 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` >
    +
    +
    +
    - +
    +
    +
    + +
    +
    +
    + +
    +
    +
    - -
    + class="simplebar-placeholder" + /> +
    +
    +
    +
    +
    +
    Date: Sat, 2 Mar 2019 01:18:37 +0800 Subject: [PATCH 105/249] 5.0.0-rc.8 changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e97cf007643..b2ad34e0945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 5.0.0-rc.8 (March 1, 2019) + +### Features + +* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806)) + +### Bug Fixes + +* UI: Sort storiesHash so grouped keys appear together ([#5805](https://github.com/storybooks/storybook/pull/5805)) +* UI: Close tooltips on iframe clicks on keypresses ([#5807](https://github.com/storybooks/storybook/pull/5807)) +* Addon-Info: Add font family to info panel ([#5759](https://github.com/storybooks/storybook/pull/5759)) + ## 5.0.0-rc.7 (February 28, 2019) ### Features From 6c1d4183d3608a3af6328e6d4aa706d2689a0320 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 2 Mar 2019 01:19:52 +0800 Subject: [PATCH 106/249] v5.0.0-rc.8 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 4 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native/package.json | 14 ++--- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 32 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 ++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 26 ++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 6 +-- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 54 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 14 ++--- 62 files changed, 356 insertions(+), 356 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 3f6b3032d6c..4382a86458f 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 5de7294b815..2e3945ff51b 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index f89f679dc17..df2b68a3630 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index 664c19e706b..2f76908b30f 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index efd3c89931b..a065fe270c3 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -24,10 +24,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/channels": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/channels": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 69b14c1b80a..32a862bfc23 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 5933d1f6f1b..ad67bd0a4b7 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 500dbf405e9..5a103ff07e4 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index 8d5de63cf79..3205b43fcad 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index fff0a04ed35..ab1191a8b0a 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index e7a7bc741f7..2a8d85dca08 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 03c9af48ad6..58ca9f99a0f 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 0520b7210ec..b5821b8a2e1 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index c73d39a5c7e..395c680b0d6 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-backgrounds", "private": true, - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", "core-js": "^2.6.2", "prop-types": "^15.6.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index c8261f12471..17d8f640600 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-knobs", "private": true, - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", "core-js": "^2.6.2", "deep-equal": "^1.0.1", "prop-types": "^15.6.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 7fb6c333b76..2bda6c8f4a5 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-notes", "private": true, - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -19,7 +19,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", "core-js": "^2.6.2", "prop-types": "^15.6.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 9778c01f123..bf88642e755 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 354ec17e1c2..bb66226721c 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index f13e3cabb25..a014096e9e2 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", + "@storybook/node-logger": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 4cdcc43025a..100db18d18e 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index a119d997c3f..c7956a06059 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index 95fadb44544..afa2a75322e 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", - "@storybook/node-logger": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", + "@storybook/node-logger": "5.0.0-rc.8", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 9e95944e084..fd2946cdec1 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 85ebb9220eb..a2e8e78894e 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index c5191b6e5de..982e8aa5545 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 8785c72b9db..f2eced986ff 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 6e5dec11786..0f8a0911ecb 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index e7e346a76e4..2e5eafb74a6 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native/package.json b/app/react-native/package.json index 672f893fd4d..46819e8a335 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/react-native", "private": true, - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/channel-websocket": "5.0.0-rc.7", - "@storybook/channels": "5.0.0-rc.7", - "@storybook/core": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/ui": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/channel-websocket": "5.0.0-rc.8", + "@storybook/channels": "5.0.0-rc.8", + "@storybook/core": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/ui": "5.0.0-rc.8", "babel-loader": "^8.0.4", "babel-plugin-macros": "^2.4.5", "babel-plugin-syntax-async-functions": "^6.13.0", diff --git a/app/react/package.json b/app/react/package.json index 9faf4d27118..07d75c857fc 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.7", - "@storybook/node-logger": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", + "@storybook/node-logger": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index 7ba3ab7cd84..141df4b81ac 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 9043f07198a..e287ab1ed93 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 22ee6076d28..2b2c9dba37f 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.7", + "@storybook/core": "5.0.0-rc.8", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 6ccf4465590..87023401ecb 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.13.1", "@angular/cli": "^7.3.2", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-jest": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/angular": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-jest": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/angular": "5.0.0-rc.8", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index df417600274..4dd4474c589 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.7", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-events": "5.0.0-rc.7", - "@storybook/addon-info": "5.0.0-rc.7", - "@storybook/addon-jest": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/react": "5.0.0-rc.7", + "@storybook/addon-a11y": "5.0.0-rc.8", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-events": "5.0.0-rc.8", + "@storybook/addon-info": "5.0.0-rc.8", + "@storybook/addon-jest": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/react": "5.0.0-rc.8", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 093c2823782..145e91221c8 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-info": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/react": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-info": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/react": "5.0.0-rc.8", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 6a83e56b644..851f5dbb994 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.7", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/ember": "5.0.0-rc.7", + "@storybook/addon-a11y": "5.0.0-rc.8", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/ember": "5.0.0-rc.8", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 2367df64363..85a8cd8cf31 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.7", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-events": "5.0.0-rc.7", - "@storybook/addon-jest": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/core": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/html": "5.0.0-rc.7", + "@storybook/addon-a11y": "5.0.0-rc.8", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-events": "5.0.0-rc.8", + "@storybook/addon-jest": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/core": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/html": "5.0.0-rc.8", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 9f4c816f18a..4685846ee05 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/marko": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/marko": "5.0.0-rc.8", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 38778c8a1e8..5f75636c85e 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/mithril": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/mithril": "5.0.0-rc.8", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index cb3b56848a5..3e0d171bab0 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.7", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-cssresources": "5.0.0-rc.7", - "@storybook/addon-events": "5.0.0-rc.7", - "@storybook/addon-graphql": "5.0.0-rc.7", - "@storybook/addon-info": "5.0.0-rc.7", - "@storybook/addon-jest": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/node-logger": "5.0.0-rc.7", - "@storybook/react": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addon-a11y": "5.0.0-rc.8", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-cssresources": "5.0.0-rc.8", + "@storybook/addon-events": "5.0.0-rc.8", + "@storybook/addon-graphql": "5.0.0-rc.8", + "@storybook/addon-info": "5.0.0-rc.8", + "@storybook/addon-jest": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/node-logger": "5.0.0-rc.8", + "@storybook/react": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 867fa5978db..547d10e9671 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/polymer": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/polymer": "5.0.0-rc.8", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index a5529c8f051..33ee8d0d4c7 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/preact": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/preact": "5.0.0-rc.8", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index aa95fa8ee92..18c672aa177 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/riot": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/riot": "5.0.0-rc.8", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index c7e7561e3fa..622796bbffd 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/svelte": "5.0.0-rc.7" + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/svelte": "5.0.0-rc.8" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index be648a993d3..8c0583ba28f 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-backgrounds": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addon-storysource": "5.0.0-rc.7", - "@storybook/addon-viewport": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/vue": "5.0.0-rc.7", + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-backgrounds": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addon-storysource": "5.0.0-rc.8", + "@storybook/addon-viewport": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/vue": "5.0.0-rc.8", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index c1962f5af86..aa824e658c3 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.7" + "version": "5.0.0-rc.8" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 4097f9dc767..500dccafa7c 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", + "@storybook/channels": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 87b44a30248..1e82d7e6372 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", + "@storybook/channels": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", "global": "^4.3.2", "telejson": "^2.1.0" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index c27669e6913..01d535dcaaa 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.7", + "@storybook/channels": "5.0.0-rc.8", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index 5660d7c1966..6d744573caf 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 9be74b7ba1c..1c2b05feb20 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.7", + "@storybook/codemod": "5.0.0-rc.8", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.7", - "@storybook/addon-centered": "5.0.0-rc.7", - "@storybook/addon-graphql": "5.0.0-rc.7", - "@storybook/addon-info": "5.0.0-rc.7", - "@storybook/addon-knobs": "5.0.0-rc.7", - "@storybook/addon-links": "5.0.0-rc.7", - "@storybook/addon-notes": "5.0.0-rc.7", - "@storybook/addon-options": "5.0.0-rc.7", - "@storybook/addon-storyshots": "5.0.0-rc.7", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/angular": "5.0.0-rc.7", - "@storybook/channel-postmessage": "5.0.0-rc.7", - "@storybook/channel-websocket": "5.0.0-rc.7", - "@storybook/channels": "5.0.0-rc.7", - "@storybook/ember": "5.0.0-rc.7", - "@storybook/html": "5.0.0-rc.7", - "@storybook/marko": "5.0.0-rc.7", - "@storybook/mithril": "5.0.0-rc.7", - "@storybook/polymer": "5.0.0-rc.7", - "@storybook/preact": "5.0.0-rc.7", - "@storybook/react": "5.0.0-rc.7", - "@storybook/react-native": "5.0.0-rc.7", - "@storybook/riot": "5.0.0-rc.7", - "@storybook/ui": "5.0.0-rc.7", - "@storybook/vue": "5.0.0-rc.7" + "@storybook/addon-actions": "5.0.0-rc.8", + "@storybook/addon-centered": "5.0.0-rc.8", + "@storybook/addon-graphql": "5.0.0-rc.8", + "@storybook/addon-info": "5.0.0-rc.8", + "@storybook/addon-knobs": "5.0.0-rc.8", + "@storybook/addon-links": "5.0.0-rc.8", + "@storybook/addon-notes": "5.0.0-rc.8", + "@storybook/addon-options": "5.0.0-rc.8", + "@storybook/addon-storyshots": "5.0.0-rc.8", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/angular": "5.0.0-rc.8", + "@storybook/channel-postmessage": "5.0.0-rc.8", + "@storybook/channel-websocket": "5.0.0-rc.8", + "@storybook/channels": "5.0.0-rc.8", + "@storybook/ember": "5.0.0-rc.8", + "@storybook/html": "5.0.0-rc.8", + "@storybook/marko": "5.0.0-rc.8", + "@storybook/mithril": "5.0.0-rc.8", + "@storybook/polymer": "5.0.0-rc.8", + "@storybook/preact": "5.0.0-rc.8", + "@storybook/react": "5.0.0-rc.8", + "@storybook/react-native": "5.0.0-rc.8", + "@storybook/riot": "5.0.0-rc.8", + "@storybook/ui": "5.0.0-rc.8", + "@storybook/vue": "5.0.0-rc.8" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 25233060e25..7af6a8406e5 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,10 +19,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 42bec0ee003..99a4d49161e 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 5585c93e801..0681f5d9236 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index f79510c3f5a..ffb3151e155 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 486b80d9dc2..b86a6adbe84 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 5a520e93ada..b14970dfccf 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,15 +24,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.7", - "@storybook/channel-postmessage": "5.0.0-rc.7", - "@storybook/client-api": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/node-logger": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", - "@storybook/ui": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/channel-postmessage": "5.0.0-rc.8", + "@storybook/client-api": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/node-logger": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", + "@storybook/ui": "5.0.0-rc.8", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index e2d8dfc92a7..aa44c8077b8 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 3404698535f..a8335960d95 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/theming": "5.0.0-rc.8", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index e219c136a76..5e3d967081f 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.7", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.0.0-rc.7", + "@storybook/client-logger": "5.0.0-rc.8", "common-tags": "^1.8.0", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.7", diff --git a/lib/ui/package.json b/lib/ui/package.json index 6c1ba284511..b7166ff9b36 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.7", + "version": "5.0.0-rc.8", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.7", - "@storybook/client-logger": "5.0.0-rc.7", - "@storybook/components": "5.0.0-rc.7", - "@storybook/core-events": "5.0.0-rc.7", - "@storybook/router": "5.0.0-rc.7", - "@storybook/theming": "5.0.0-rc.7", + "@storybook/addons": "5.0.0-rc.8", + "@storybook/client-logger": "5.0.0-rc.8", + "@storybook/components": "5.0.0-rc.8", + "@storybook/core-events": "5.0.0-rc.8", + "@storybook/router": "5.0.0-rc.8", + "@storybook/theming": "5.0.0-rc.8", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From da9c4f69266001bd0595af6c97a4564af91529ec Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 2 Mar 2019 01:29:44 +0800 Subject: [PATCH 107/249] 5.0.0-rc.8 versions.json --- docs/static/versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/static/versions.json b/docs/static/versions.json index 00618c69c9b..2a0233d1970 100644 --- a/docs/static/versions.json +++ b/docs/static/versions.json @@ -1 +1 @@ -{"next":{"version":"5.0.0-rc.7","info":{"plain":"### Features\n\n* UI: Page load animation and `STORIES_CONFIGURED` event ([#5756](https://github.com/storybooks/storybook/pull/5756))\n* Theming: Improve `brand` API ([#5733](https://github.com/storybooks/storybook/pull/5733))\n* UI: Fuzzy search improvement ([#5748](https://github.com/storybooks/storybook/pull/5748))\n* UI: Add toolbar animation ([#5742](https://github.com/storybooks/storybook/pull/5742))\n\n### Bug Fixes\n\n* UI: Fix update notifications placement ([#5716](https://github.com/storybooks/storybook/pull/5716))\n* Angular: Fix global style imports ([#5776](https://github.com/storybooks/storybook/pull/5776))\n* Addon-options: Add backwards compatibility ([#5758](https://github.com/storybooks/storybook/pull/5758))\n* Addon-options: Fix deprecated url/name options ([#5773](https://github.com/storybooks/storybook/pull/5773))\n* Addon-knobs: Remove call to `forceReRender()` on `STORY_CHANGED` ([#5753](https://github.com/storybooks/storybook/pull/5753))\n* UI: Fix active state in addon-background, addon-viewport tools ([#5749](https://github.com/storybooks/storybook/pull/5749))"}}} \ No newline at end of file +{"next":{"version":"5.0.0-rc.8","info":{"plain":"### Features\n\n* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806))\n\n### Bug Fixes\n\n* UI: Sort storiesHash so grouped keys appear together ([#5805](https://github.com/storybooks/storybook/pull/5805))\n* UI: Close tooltips on iframe clicks on keypresses ([#5807](https://github.com/storybooks/storybook/pull/5807))\n* Addon-Info: Add font family to info panel ([#5759](https://github.com/storybooks/storybook/pull/5759))"}}} \ No newline at end of file From c15e07a646eb863dab9fe27f788e69a2cb611e00 Mon Sep 17 00:00:00 2001 From: CodeByAlex Date: Fri, 1 Mar 2019 19:18:58 -0500 Subject: [PATCH 108/249] edited variable name --- addons/knobs/src/registerKnobs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/knobs/src/registerKnobs.js b/addons/knobs/src/registerKnobs.js index 8705cfe096e..9e14eb46ac3 100644 --- a/addons/knobs/src/registerKnobs.js +++ b/addons/knobs/src/registerKnobs.js @@ -31,7 +31,7 @@ function knobChanged(change) { knobStore.markAllUnused(); forceReRender(); - }, DEBOUNCE_DELAY_MS); // amount of time used to ensure that the user has time to type before re-rendering + }, KNOB_CHANGED_DEBOUNCE_DELAY_MS); // amount of time used to ensure that the user has time to type before re-rendering } function knobClicked(clicked) { From 694f8e9c95a4f08d814283d9662f8305cac10d60 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sat, 2 Mar 2019 19:13:50 +0100 Subject: [PATCH 109/249] Merge pull request #5787 from storybooks/fix/theming-flash FIX theming bugs --- examples/official-storybook/config.js | 1 - .../stories/core/parameters.stories.js | 2 +- .../__snapshots__/storyshots.test.js.snap | 4 - lib/channel-postmessage/src/index.ts | 2 +- lib/theming/src/ensure.ts | 8 +- lib/ui/package.json | 2 +- lib/ui/src/components/layout/container.js | 9 +- lib/ui/src/core/addons.js | 4 +- lib/ui/src/core/context.js | 7 +- lib/ui/src/core/init-provider-api.js | 82 +------------ lib/ui/src/core/initial-state.js | 15 --- lib/ui/src/core/layout.js | 110 +++++++++++++++++- lib/ui/src/core/store.js | 5 +- lib/ui/src/core/stories.js | 22 +--- 14 files changed, 137 insertions(+), 136 deletions(-) diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index b5f8ca2e8a2..51db2828b8b 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -51,7 +51,6 @@ addParameters({ options: { hierarchySeparator: /\/|\./, hierarchyRootSeparator: '|', - // theme: themes.dark, }, viewports: { ...INITIAL_VIEWPORTS, diff --git a/examples/official-storybook/stories/core/parameters.stories.js b/examples/official-storybook/stories/core/parameters.stories.js index 41b1e09052e..b5ab588400a 100644 --- a/examples/official-storybook/stories/core/parameters.stories.js +++ b/examples/official-storybook/stories/core/parameters.stories.js @@ -17,7 +17,7 @@ export default { // Given we sort of control the props, should we export a prop type? export const passed = ({ // eslint-disable-next-line react/prop-types - parameters, + parameters: { options, ...parameters }, }) =>
    Parameters are {JSON.stringify(parameters, null, 2)}
    ; passed.title = 'passed to story'; passed.parameters = { storyParameter: 'storyParameter' }; diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 9e583358900..5e5b364366f 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -2653,10 +2653,6 @@ exports[`Storyshots Core|Events Force re-render 1`] = ` exports[`Storyshots Core|Parameters passed to story 1`] = `
       Parameters are {
    -  "options": {
    -    "hierarchyRootSeparator": "|",
    -    "hierarchySeparator": {}
    -  },
       "a11y": {
         "configure": {},
         "options": {
    diff --git a/lib/channel-postmessage/src/index.ts b/lib/channel-postmessage/src/index.ts
    index 25d672a6e23..b870100cd0e 100644
    --- a/lib/channel-postmessage/src/index.ts
    +++ b/lib/channel-postmessage/src/index.ts
    @@ -56,7 +56,7 @@ export class PostmsgTransport {
           });
         }
     
    -    const data = stringify({ key: KEY, event }, { maxDepth: 10 });
    +    const data = stringify({ key: KEY, event }, { maxDepth: 15 });
     
         // TODO: investigate http://blog.teamtreehouse.com/cross-domain-messaging-with-postmessage
         // might replace '*' with document.location ?
    diff --git a/lib/theming/src/ensure.ts b/lib/theming/src/ensure.ts
    index c206a73b0c9..70fe4771812 100644
    --- a/lib/theming/src/ensure.ts
    +++ b/lib/theming/src/ensure.ts
    @@ -9,6 +9,12 @@ import isEqual from 'lodash.isequal';
     import light from './themes/light';
     import { Theme } from './base';
     
    +const base = {
    +  ...light,
    +  animation: {},
    +  brand: {},
    +};
    +
     // merge with concatenating arrays, but no duplicates
     const merge = (a: any, b: any) =>
       mergeWith({}, a, b, (objValue: any, srcValue: any) => {
    @@ -32,7 +38,7 @@ export const ensure = (input: any): Theme => {
       if (!input) {
         return light;
       } else {
    -    const missing = deletedDiff(light, input);
    +    const missing = deletedDiff(base, input);
         if (Object.keys(missing).length) {
           logger.warn(
             stripIndent`
    diff --git a/lib/ui/package.json b/lib/ui/package.json
    index b7166ff9b36..031d5d423e9 100644
    --- a/lib/ui/package.json
    +++ b/lib/ui/package.json
    @@ -55,7 +55,7 @@
         "react-resize-detector": "^3.2.1",
         "recompose": "^0.30.0",
         "semver": "^5.6.0",
    -    "to-camel-case": "^1.0.0",
    +    "telejson": "^2.1.1",
         "util-deprecate": "^1.0.2"
       },
       "devDependencies": {
    diff --git a/lib/ui/src/components/layout/container.js b/lib/ui/src/components/layout/container.js
    index be43e824808..33f23593ea9 100644
    --- a/lib/ui/src/components/layout/container.js
    +++ b/lib/ui/src/components/layout/container.js
    @@ -270,7 +270,7 @@ class Layout extends Component {
       constructor(props) {
         super(props);
     
    -    const { options } = this.props;
    +    const { bounds, options } = props;
     
         const { resizerNav, resizerPanel } = persistance.get();
     
    @@ -278,7 +278,10 @@ class Layout extends Component {
           isDragging: false,
           resizerNav: resizerNav || { x: 200, y: 0 },
           resizerPanel:
    -        resizerPanel || (options.panelPosition === 'bottom' ? { x: 0, y: 400 } : { x: 400, y: 0 }),
    +        resizerPanel ||
    +        (options.panelPosition === 'bottom'
    +          ? { x: 0, y: bounds.height - 400 }
    +          : { x: bounds.width - 400, y: 0 }),
         };
       }
     
    @@ -323,7 +326,7 @@ class Layout extends Component {
           }
         }
         if (isPanelRight && !isPanelHidden) {
    -      if (bounds.width - 200 < panelX) {
    +      if (bounds.width - 200 < panelX || panelX === 0) {
             mutation.resizerPanel = {
               x: bounds.width - 200,
               y: 0,
    diff --git a/lib/ui/src/core/addons.js b/lib/ui/src/core/addons.js
    index 996233d5467..7ebc7cc5ac4 100644
    --- a/lib/ui/src/core/addons.js
    +++ b/lib/ui/src/core/addons.js
    @@ -22,14 +22,14 @@ export default ({ provider, store }) => {
           return ensurePanel(api.getPanels(), selectedPanel, selectedPanel);
         },
         setSelectedPanel: panelName => {
    -      store.setState({ selectedPanel: panelName });
    +      store.setState({ selectedPanel: panelName }, { persistence: 'session' });
         },
       };
     
       return {
         api,
         state: {
    -      selectedPanel: ensurePanel(api.getPanels()),
    +      selectedPanel: ensurePanel(api.getPanels(), store.getState().selectedPanel),
         },
       };
     };
    diff --git a/lib/ui/src/core/context.js b/lib/ui/src/core/context.js
    index 7e03f6a0e8f..04e13d1d630 100644
    --- a/lib/ui/src/core/context.js
    +++ b/lib/ui/src/core/context.js
    @@ -50,7 +50,6 @@ export class Provider extends Component {
         // Initialize the state to be the initial (persisted) state of the store.
         // This gives the modules the chance to read the persisted state, apply their defaults
         // and override if necessary
    -    this.state = store.getInitialState();
     
         const apiData = {
           navigate,
    @@ -62,6 +61,8 @@ export class Provider extends Component {
           storyId,
         };
     
    +    this.state = store.getInitialState();
    +
         this.modules = [
           initChannel,
           initAddons,
    @@ -90,7 +91,9 @@ export class Provider extends Component {
         api.on(SET_STORIES, data => {
           api.setStories(data.stories);
     
    -      const options = api.getParameters(storyId, 'options');
    +      const options = storyId
    +        ? api.getParameters(storyId, 'options')
    +        : api.getParameters(Object.keys(data.stories)[0], 'options');
     
           api.setOptions(options);
         });
    diff --git a/lib/ui/src/core/init-provider-api.js b/lib/ui/src/core/init-provider-api.js
    index f0267136cc6..b3414c4add6 100644
    --- a/lib/ui/src/core/init-provider-api.js
    +++ b/lib/ui/src/core/init-provider-api.js
    @@ -1,86 +1,6 @@
    -import pick from 'lodash.pick';
    -import deprecate from 'util-deprecate';
    -
    -import { create } from '@storybook/theming';
    -
    -const deprecationMessage = (optionsMap, prefix) =>
    -  `The options { ${Object.keys(optionsMap).join(', ')} } are deprecated -- use ${
    -    prefix ? `${prefix}'s` : ''
    -  } { ${Object.values(optionsMap).join(', ')} } instead.`;
    -
    -const deprecatedThemeOptions = {
    -  name: 'brandTitle',
    -  url: 'brandUrl',
    -};
    -const applyDeprecatedThemeOptions = deprecate(({ name, url, theme }) => {
    -  const vars = {
    -    brandTitle: name,
    -    brandUrl: url,
    -    brandImage: null,
    -  };
    -
    -  return { theme: create(vars, theme) };
    -}, deprecationMessage(deprecatedThemeOptions));
    -const checkDeprecatedThemeOptions = options => {
    -  if (Object.keys(deprecatedThemeOptions).find(key => !!options[key])) {
    -    return applyDeprecatedThemeOptions(options);
    -  }
    -  return {};
    -};
    -
    -const deprecatedLayoutOptions = {
    -  goFullScreen: 'isFullscreen',
    -  showStoriesPanel: 'showNav',
    -  showAddonPanel: 'showPanel',
    -  addonPanelInRight: 'panelPosition',
    -};
    -const applyDeprecatedLayoutOptions = deprecate(options => {
    -  const layoutUpdate = {};
    -
    -  ['goFullScreen', 'showStoriesPanel', 'showAddonPanel'].forEach(option => {
    -    if (typeof options[option] !== 'undefined') {
    -      layoutUpdate[deprecatedLayoutOptions[option]] = options[option];
    -    }
    -  });
    -  if (options.addonPanelInRight) {
    -    layoutUpdate.panelPosition = 'right';
    -  }
    -  return layoutUpdate;
    -}, deprecationMessage(deprecatedLayoutOptions));
    -const checkDeprecatedLayoutOptions = options => {
    -  if (Object.keys(deprecatedLayoutOptions).find(key => typeof options[key] !== 'undefined')) {
    -    return applyDeprecatedLayoutOptions(options);
    -  }
    -  return {};
    -};
    -
    -export default ({ provider, api, store }) => {
    +export default ({ provider, api }) => {
       const providerAPI = {
         ...api,
    -
    -    setOptions: options => {
    -      const { layout, ui, selectedPanel } = store.getState();
    -
    -      if (options) {
    -        const updatedLayout = {
    -          ...layout,
    -          ...pick(options, Object.keys(layout)),
    -          ...checkDeprecatedLayoutOptions(options),
    -        };
    -
    -        const updatedUi = {
    -          ...ui,
    -          ...pick(options, Object.keys(ui)),
    -          ...checkDeprecatedThemeOptions(options),
    -        };
    -
    -        store.setState({
    -          layout: updatedLayout,
    -          ui: updatedUi,
    -          selectedPanel: options.panel || options.selectedPanel || selectedPanel,
    -        });
    -      }
    -    },
       };
     
       provider.handleAPI(providerAPI);
    diff --git a/lib/ui/src/core/initial-state.js b/lib/ui/src/core/initial-state.js
    index 5ac502039fc..5eee085d628 100644
    --- a/lib/ui/src/core/initial-state.js
    +++ b/lib/ui/src/core/initial-state.js
    @@ -1,21 +1,6 @@
    -import { themes } from '@storybook/theming';
    -
     import merge from '../libs/merge';
     
     const initial = {
    -  ui: {
    -    enableShortcuts: true,
    -    sortStoriesByKind: false,
    -    sidebarAnimations: true,
    -    theme: themes.normal,
    -  },
    -  layout: {
    -    isToolshown: true,
    -    isFullscreen: false,
    -    showPanel: true,
    -    showNav: true,
    -    panelPosition: 'bottom',
    -  },
       customQueryParams: {},
       storiesConfigured: false,
     };
    diff --git a/lib/ui/src/core/layout.js b/lib/ui/src/core/layout.js
    index 80a9523899e..d6bf8ef8ce9 100644
    --- a/lib/ui/src/core/layout.js
    +++ b/lib/ui/src/core/layout.js
    @@ -1,3 +1,64 @@
    +import pick from 'lodash.pick';
    +
    +import deprecate from 'util-deprecate';
    +
    +import { create, themes } from '@storybook/theming';
    +import merge from '../libs/merge';
    +
    +const deprecatedThemeOptions = {
    +  name: 'brandTitle',
    +  url: 'brandUrl',
    +};
    +const deprecatedLayoutOptions = {
    +  goFullScreen: 'isFullscreen',
    +  showStoriesPanel: 'showNav',
    +  showAddonPanel: 'showPanel',
    +  addonPanelInRight: 'panelPosition',
    +};
    +
    +const deprecationMessage = (optionsMap, prefix) =>
    +  `The options { ${Object.keys(optionsMap).join(', ')} } are deprecated -- use ${
    +    prefix ? `${prefix}'s` : ''
    +  } { ${Object.values(optionsMap).join(', ')} } instead.`;
    +
    +const applyDeprecatedThemeOptions = deprecate(({ name, url, theme }) => {
    +  const vars = {
    +    brandTitle: name,
    +    brandUrl: url,
    +    brandImage: null,
    +  };
    +
    +  return { theme: create(vars, theme) };
    +}, deprecationMessage(deprecatedThemeOptions));
    +
    +const applyDeprecatedLayoutOptions = deprecate(options => {
    +  const layoutUpdate = {};
    +
    +  ['goFullScreen', 'showStoriesPanel', 'showAddonPanel'].forEach(option => {
    +    if (typeof options[option] !== 'undefined') {
    +      layoutUpdate[deprecatedLayoutOptions[option]] = options[option];
    +    }
    +  });
    +  if (options.addonPanelInRight) {
    +    layoutUpdate.panelPosition = 'right';
    +  }
    +  return layoutUpdate;
    +}, deprecationMessage(deprecatedLayoutOptions));
    +
    +const checkDeprecatedThemeOptions = options => {
    +  if (Object.keys(deprecatedThemeOptions).find(key => !!options[key])) {
    +    return applyDeprecatedThemeOptions(options);
    +  }
    +  return {};
    +};
    +
    +const checkDeprecatedLayoutOptions = options => {
    +  if (Object.keys(deprecatedLayoutOptions).find(key => typeof options[key] !== 'undefined')) {
    +    return applyDeprecatedLayoutOptions(options);
    +  }
    +  return {};
    +};
    +
     export default function({ store }) {
       const api = {
         toggleFullscreen(toggled) {
    @@ -69,7 +130,54 @@ export default function({ store }) {
             };
           });
         },
    +
    +    setOptions: options => {
    +      const { layout, ui, selectedPanel } = store.getState();
    +
    +      if (options) {
    +        const updatedLayout = {
    +          ...layout,
    +          ...pick(options, Object.keys(layout)),
    +          ...checkDeprecatedLayoutOptions(options),
    +        };
    +
    +        const updatedUi = {
    +          ...ui,
    +          ...pick(options, Object.keys(ui)),
    +          ...checkDeprecatedThemeOptions(options),
    +        };
    +
    +        store.setState(
    +          {
    +            layout: updatedLayout,
    +            ui: updatedUi,
    +            selectedPanel: options.panel || options.selectedPanel || selectedPanel,
    +          },
    +          { persistence: 'permanent' }
    +        );
    +      }
    +    },
       };
     
    -  return { api };
    +  const fromState = pick(store.getState(), 'layout', 'ui', 'selectedPanel');
    +
    +  const initial = {
    +    ui: {
    +      enableShortcuts: true,
    +      sortStoriesByKind: false,
    +      sidebarAnimations: true,
    +      theme: themes.normal,
    +    },
    +    layout: {
    +      isToolshown: true,
    +      isFullscreen: false,
    +      showPanel: true,
    +      showNav: true,
    +      panelPosition: 'bottom',
    +    },
    +  };
    +
    +  const state = merge(fromState, initial);
    +
    +  return { api, state };
     }
    diff --git a/lib/ui/src/core/store.js b/lib/ui/src/core/store.js
    index c87ada758e1..4bab4257270 100644
    --- a/lib/ui/src/core/store.js
    +++ b/lib/ui/src/core/store.js
    @@ -1,16 +1,17 @@
     // TODO -- make this TS?
     
     import { localStorage, sessionStorage } from 'global';
    +import { parse, stringify } from 'telejson';
     
     export const STORAGE_KEY = '@storybook/ui/store';
     
     function get(storage) {
       const serialized = storage.getItem(STORAGE_KEY);
    -  return serialized ? JSON.parse(serialized) : {};
    +  return serialized ? parse(serialized) : {};
     }
     
     function set(storage, value) {
    -  storage.setItem(STORAGE_KEY, JSON.stringify(value));
    +  storage.setItem(STORAGE_KEY, stringify(value, { maxDepth: 50 }));
     }
     
     function update(storage, patch) {
    diff --git a/lib/ui/src/core/stories.js b/lib/ui/src/core/stories.js
    index 0ca4f0d4b5d..94cfd00204b 100644
    --- a/lib/ui/src/core/stories.js
    +++ b/lib/ui/src/core/stories.js
    @@ -1,26 +1,6 @@
    -import mergeWith from 'lodash.mergewith';
    -import isEqual from 'lodash.isequal';
     import { toId, sanitize } from '@storybook/router/utils';
     
    -const merge = (a, b) =>
    -  mergeWith({}, a, b, (objValue, srcValue) => {
    -    if (Array.isArray(srcValue) && Array.isArray(objValue)) {
    -      srcValue.forEach(s => {
    -        const existing = objValue.find(o => o === s || isEqual(o, s));
    -        if (!existing) {
    -          objValue.push(s);
    -        }
    -      });
    -
    -      return objValue;
    -    }
    -    if (Array.isArray(objValue)) {
    -      // eslint-disable-next-line no-console
    -      console.log('the types mismatch, picking', objValue);
    -      return objValue;
    -    }
    -    return undefined;
    -  });
    +import merge from '../libs/merge';
     
     const initStoriesApi = ({
       store,
    
    From 09c2987bdc0fba9b0519e64a63823d14faefd464 Mon Sep 17 00:00:00 2001
    From: Norbert de Langen 
    Date: Sat, 2 Mar 2019 21:21:55 +0100
    Subject: [PATCH 110/249] Merge pull request #5802 from
     B3zo0/B3zo0-notes-inline-code
    
    fix(addon-notes): inline code markdown
    ---
     addons/notes/src/Panel.test.js | 23 +++++++++++++++++++++++
     addons/notes/src/Panel.tsx     | 28 ++++++++++++++++++++--------
     2 files changed, 43 insertions(+), 8 deletions(-)
     create mode 100644 addons/notes/src/Panel.test.js
    
    diff --git a/addons/notes/src/Panel.test.js b/addons/notes/src/Panel.test.js
    new file mode 100644
    index 00000000000..19bcf0da497
    --- /dev/null
    +++ b/addons/notes/src/Panel.test.js
    @@ -0,0 +1,23 @@
    +import React from 'react';
    +import { shallow } from 'enzyme';
    +import { SyntaxHighlighter as SyntaxHighlighterBase } from '@storybook/components';
    +import { SyntaxHighlighter } from './Panel.tsx';
    +
    +describe('NotesPanel', () => {
    +  describe('SyntaxHighlighter component', () => {
    +    it('should return code if className is undefined', () => {
    +      const wrapper = shallow(some text);
    +      const code = wrapper.find('code');
    +      expect(code.exists()).toBeTruthy();
    +      expect(code.text()).toBe('some text');
    +    });
    +    it('should return SyntaxHighlighterBase if there is a className prop', () => {
    +      const wrapper = shallow(
    +        some text
    +      );
    +      const syntaxHighlighterBase = wrapper.find(SyntaxHighlighterBase);
    +      expect(syntaxHighlighterBase.exists()).toBeTruthy();
    +      expect(syntaxHighlighterBase.prop('language')).toBe('jsx');
    +    });
    +  });
    +});
    diff --git a/addons/notes/src/Panel.tsx b/addons/notes/src/Panel.tsx
    index 5229362d653..543ea9f6135 100644
    --- a/addons/notes/src/Panel.tsx
    +++ b/addons/notes/src/Panel.tsx
    @@ -41,7 +41,15 @@ function read(param: Parameters | undefined): string | undefined {
       }
     }
     
    -const SyntaxHighlighter = (props: any) => ;
    +export const SyntaxHighlighter = (props: any) => {
    +  // markdown-to-jsx does not add className to inline code
    +  if (props.className === undefined) {
    +    return {props.children};
    +  }
    +  //className: "lang-jsx"
    +  const language = props.className.split('-');
    +  return ;
    +};
     
     const defaultOptions = {
       overrides: {
    @@ -105,21 +113,25 @@ export default class NotesPanel extends React.Component
     
         // TODO: memoize
         const extraElements = Object.entries(api.getElements(types.NOTES_ELEMENT)).reduce((acc, [k, v]) => ({ ...acc, [k]: v.render }), {});
    -    const options = { ...defaultOptions, overrides: { ...defaultOptions.overrides, ...extraElements } };
    +    const options = {
    +      ...defaultOptions,
    +      overrides: { ...defaultOptions.overrides, ...extraElements },
    +    };
     
         return value ? (
           
    -      
    -        {value}
    +        
    +          {value}
             
           
         ) : (
           
    +        No notes yet
             
    -          No notes yet
    -        
    -        
    -          Learn how to document components in Markdown
    +          Learn how to{' '}
    +          
    +            document components in Markdown
    +          
             
           
         );
    
    From ea173c16e3a55a03c6fe81c574432b8c29900c11 Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 13:21:27 +0800
    Subject: [PATCH 111/249] Merge pull request #5819 from
     storybooks/5781-warn-mid-decorators
    
    ADD warning for decorators added "mid-kind"
    ---
     .../component-with-di/di.component.stories.ts | 19 ++++++++-----
     .../src/stories/custom-pipes.stories.ts       | 19 ++++++++-----
     .../src/stories/custom-providers.stories.ts   | 25 ++++++++++-------
     .../src/stories/custom-styles.stories.ts      | 27 +++++++++++--------
     lib/client-api/src/client_api.js              |  8 ++++++
     5 files changed, 63 insertions(+), 35 deletions(-)
    
    diff --git a/examples/angular-cli/src/stories/component-with-di/di.component.stories.ts b/examples/angular-cli/src/stories/component-with-di/di.component.stories.ts
    index 6059f9ecc77..a553eb7ac00 100644
    --- a/examples/angular-cli/src/stories/component-with-di/di.component.stories.ts
    +++ b/examples/angular-cli/src/stories/component-with-di/di.component.stories.ts
    @@ -9,10 +9,15 @@ storiesOf('Custom|Dependencies', module)
           title: 'Component dependencies',
         },
       }))
    -  .addDecorator(withKnobs)
    -  .add('inputs and inject dependencies with knobs', () => ({
    -    component: DiComponent,
    -    props: {
    -      title: text('title', 'Component dependencies'),
    -    },
    -  }));
    +  .add(
    +    'inputs and inject dependencies with knobs',
    +    () => ({
    +      component: DiComponent,
    +      props: {
    +        title: text('title', 'Component dependencies'),
    +      },
    +    }),
    +    {
    +      decorators: [withKnobs],
    +    }
    +  );
    diff --git a/examples/angular-cli/src/stories/custom-pipes.stories.ts b/examples/angular-cli/src/stories/custom-pipes.stories.ts
    index b342d530c21..9bb29bc75ba 100644
    --- a/examples/angular-cli/src/stories/custom-pipes.stories.ts
    +++ b/examples/angular-cli/src/stories/custom-pipes.stories.ts
    @@ -19,10 +19,15 @@ storiesOf('Custom|Pipes', module)
           field: 'foobar',
         },
       }))
    -  .addDecorator(withKnobs)
    -  .add('With Knobs', () => ({
    -    component: NameComponent,
    -    props: {
    -      field: text('field', 'foobar'),
    -    },
    -  }));
    +  .add(
    +    'With Knobs',
    +    () => ({
    +      component: NameComponent,
    +      props: {
    +        field: text('field', 'foobar'),
    +      },
    +    }),
    +    {
    +      decorators: [withKnobs],
    +    }
    +  );
    diff --git a/examples/angular-cli/src/stories/custom-providers.stories.ts b/examples/angular-cli/src/stories/custom-providers.stories.ts
    index d7ca9ed069b..12814781bcd 100644
    --- a/examples/angular-cli/src/stories/custom-providers.stories.ts
    +++ b/examples/angular-cli/src/stories/custom-providers.stories.ts
    @@ -19,14 +19,19 @@ storiesOf('Custom|Providers', module)
           name: 'Static name',
         },
       }))
    -  .addDecorator(withKnobs)
    -  .add('With knobs', () => {
    -    const name = text('name', 'Dynamic knob');
    +  .add(
    +    'With knobs',
    +    () => {
    +      const name = text('name', 'Dynamic knob');
     
    -    return {
    -      component: ServiceComponent,
    -      props: {
    -        name,
    -      },
    -    };
    -  });
    +      return {
    +        component: ServiceComponent,
    +        props: {
    +          name,
    +        },
    +      };
    +    },
    +    {
    +      decorators: [withKnobs],
    +    }
    +  );
    diff --git a/examples/angular-cli/src/stories/custom-styles.stories.ts b/examples/angular-cli/src/stories/custom-styles.stories.ts
    index df2e1b20a78..fc14f680dde 100644
    --- a/examples/angular-cli/src/stories/custom-styles.stories.ts
    +++ b/examples/angular-cli/src/stories/custom-styles.stories.ts
    @@ -24,19 +24,24 @@ storiesOf('Custom|Style', module)
         `,
         ],
       }))
    -  .addDecorator(withKnobs)
    -  .add('With Knobs', () => ({
    -    template: ``,
    -    props: {
    -      text: text('text', 'Button with custom styles'),
    -      onClick: action('log'),
    -    },
    -    styles: [
    -      `
    +  .add(
    +    'With Knobs',
    +    () => ({
    +      template: ``,
    +      props: {
    +        text: text('text', 'Button with custom styles'),
    +        onClick: action('log'),
    +      },
    +      styles: [
    +        `
           storybook-button-component {
             background-color: red;
             padding: 25px;
           }
         `,
    -    ],
    -  }));
    +      ],
    +    }),
    +    {
    +      decorators: [withKnobs],
    +    }
    +  );
    diff --git a/lib/client-api/src/client_api.js b/lib/client-api/src/client_api.js
    index 45a854a5a7b..a505fe66e43 100644
    --- a/lib/client-api/src/client_api.js
    +++ b/lib/client-api/src/client_api.js
    @@ -134,6 +134,7 @@ export default class ClientApi {
     
         const localDecorators = [];
         let localParameters = {};
    +    let hasAdded = false;
         const api = {
           kind,
         };
    @@ -148,6 +149,7 @@ export default class ClientApi {
         });
     
         api.add = (storyName, storyFn, parameters) => {
    +      hasAdded = true;
           const { _globalParameters, _globalDecorators } = this;
           const id = toId(kind, storyName);
     
    @@ -215,6 +217,12 @@ export default class ClientApi {
         };
     
         api.addDecorator = decorator => {
    +      if (hasAdded) {
    +        console.warn(`You have added a decorator to the kind '${kind}' after a story has already been added.
    +In Storybook 4 this applied the decorator only to subsequent stories. In Storybook 5+ it applies to all stories.
    +This is probably not what you intended. Read more here: https://github.com/storybooks/storybook/blob/master/MIGRATION.md`);
    +      }
    +
           localDecorators.push(decorator);
           return api;
         };
    
    From f99263269301555ae2ab8bfa1f20b1eef78f43da Mon Sep 17 00:00:00 2001
    From: Norbert de Langen 
    Date: Sat, 2 Mar 2019 17:57:43 +0100
    Subject: [PATCH 112/249] Merge pull request #5816 from
     storybooks/fix/official-example-iframe
    
    FIX build-storybook with simplebar esm files
    ---
     lib/core/src/server/preview/iframe-webpack.config.js | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/lib/core/src/server/preview/iframe-webpack.config.js b/lib/core/src/server/preview/iframe-webpack.config.js
    index 26a95c60c88..3cb4ac5e0fd 100644
    --- a/lib/core/src/server/preview/iframe-webpack.config.js
    +++ b/lib/core/src/server/preview/iframe-webpack.config.js
    @@ -81,7 +81,6 @@ export default ({
         resolve: {
           extensions: ['.mjs', '.js', '.jsx', '.json'],
           modules: ['node_modules'].concat(raw.NODE_PATH || []),
    -      mainFields: ['browser', 'main', 'module'],
           alias: {
             'core-js': path.dirname(require.resolve('core-js/package.json')),
             ...reactPaths,
    
    From b8ae89bb5e673bdd99eba582c345f73fbaad358a Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 13:32:04 +0800
    Subject: [PATCH 113/249] Update yarn.lock
    
    ---
     yarn.lock | 30 ++++++++++++++----------------
     1 file changed, 14 insertions(+), 16 deletions(-)
    
    diff --git a/yarn.lock b/yarn.lock
    index 8850b73e60c..12d83c5d35e 100644
    --- a/yarn.lock
    +++ b/yarn.lock
    @@ -19834,6 +19834,20 @@ telejson@^2.1.0:
         memoizerific "^1.11.3"
         safe-eval "^0.4.1"
     
    +telejson@^2.1.1:
    +  version "2.1.1"
    +  resolved "https://registry.yarnpkg.com/telejson/-/telejson-2.1.1.tgz#cd8835ce90198c9341078dbe80849e39d1a2b73c"
    +  integrity sha512-tc9Jdrhro4zzYgN6y5DNzCXIyIsWT7znGEfK7G4KMPF0X0tC2cVw2SPKnJObao/cxP7/FSnG8bJe0JD390My5g==
    +  dependencies:
    +    global "^4.3.2"
    +    is-function "^1.0.1"
    +    is-regex "^1.0.4"
    +    is-symbol "^1.0.2"
    +    isobject "^3.0.1"
    +    lodash.get "^4.4.2"
    +    memoizerific "^1.11.3"
    +    safe-eval "^0.4.1"
    +
     temp-dir@^1.0.0:
       version "1.0.0"
       resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d"
    @@ -20076,12 +20090,6 @@ to-arraybuffer@^1.0.0:
       version "1.0.1"
       resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
     
    -to-camel-case@^1.0.0:
    -  version "1.0.0"
    -  resolved "https://registry.yarnpkg.com/to-camel-case/-/to-camel-case-1.0.0.tgz#1a56054b2f9d696298ce66a60897322b6f423e46"
    -  dependencies:
    -    to-space-case "^1.0.0"
    -
     to-fast-properties@^1.0.3:
       version "1.0.3"
       resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
    @@ -20090,10 +20098,6 @@ to-fast-properties@^2.0.0:
       version "2.0.0"
       resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
     
    -to-no-case@^1.0.0:
    -  version "1.0.2"
    -  resolved "https://registry.yarnpkg.com/to-no-case/-/to-no-case-1.0.2.tgz#c722907164ef6b178132c8e69930212d1b4aa16a"
    -
     to-object-path@^0.3.0:
       version "0.3.0"
       resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af"
    @@ -20116,12 +20120,6 @@ to-regex@^3.0.1, to-regex@^3.0.2:
         regex-not "^1.0.2"
         safe-regex "^1.1.0"
     
    -to-space-case@^1.0.0:
    -  version "1.0.0"
    -  resolved "https://registry.yarnpkg.com/to-space-case/-/to-space-case-1.0.0.tgz#b052daafb1b2b29dc770cea0163e5ec0ebc9fc17"
    -  dependencies:
    -    to-no-case "^1.0.0"
    -
     to-vfile@^4.0.0:
       version "4.0.0"
       resolved "https://registry.yarnpkg.com/to-vfile/-/to-vfile-4.0.0.tgz#465ade5fc2b9e97e6c80b854d378a5d0f4b5d04a"
    
    From 36182f1196738c27e979d2121e9b862ee29e4b98 Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 14:23:45 +0800
    Subject: [PATCH 114/249] 5.0.0-rc.9 changelog
    
    ---
     CHANGELOG.md | 13 +++++++++++++
     1 file changed, 13 insertions(+)
    
    diff --git a/CHANGELOG.md b/CHANGELOG.md
    index b2ad34e0945..b36717aa426 100644
    --- a/CHANGELOG.md
    +++ b/CHANGELOG.md
    @@ -1,3 +1,16 @@
    +## 5.0.0-rc.9 (March 3, 2019)
    +
    +### Features
    +
    +* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806))
    +
    +### Bug Fixes
    +
    +* Core: Add warning for decorators added "mid-kind" ([#5819](https://github.com/storybooks/storybook/pull/5819))
    +* Addon-notes: Support inline code markdown ([#5802](https://github.com/storybooks/storybook/pull/5802))
    +* Theming: Fix theme loading bugs ([#5787](https://github.com/storybooks/storybook/pull/5787))
    +* CLI: Fix build-storybook with simplebar esm files ([#5816](https://github.com/storybooks/storybook/pull/5816))
    +
     ## 5.0.0-rc.8 (March 1, 2019)
     
     ### Features
    
    From d782ca1260df341cc488bc9a575c17c4e9e6e0ec Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 14:25:13 +0800
    Subject: [PATCH 115/249] v5.0.0-rc.9
    
    ---
     addons/a11y/package.json                      | 12 ++---
     addons/actions/package.json                   | 10 ++--
     addons/backgrounds/package.json               | 12 ++---
     addons/centered/package.json                  |  2 +-
     addons/cssresources/package.json              | 10 ++--
     addons/events/package.json                    |  8 +--
     addons/google-analytics/package.json          |  6 +--
     addons/graphql/package.json                   |  2 +-
     addons/info/package.json                      | 10 ++--
     addons/jest/package.json                      | 10 ++--
     addons/knobs/package.json                     | 10 ++--
     addons/links/package.json                     |  6 +--
     addons/notes/package.json                     | 12 ++---
     addons/ondevice-backgrounds/package.json      |  4 +-
     addons/ondevice-knobs/package.json            |  4 +-
     addons/ondevice-notes/package.json            |  4 +-
     addons/options/package.json                   |  4 +-
     .../storyshots/storyshots-core/package.json   |  4 +-
     .../storyshots-puppeteer/package.json         |  6 +--
     addons/storysource/package.json               | 10 ++--
     addons/viewport/package.json                  | 12 ++---
     app/angular/package.json                      |  6 +--
     app/ember/package.json                        |  4 +-
     app/html/package.json                         |  4 +-
     app/marko/package.json                        |  4 +-
     app/mithril/package.json                      |  4 +-
     app/polymer/package.json                      |  4 +-
     app/preact/package.json                       |  4 +-
     app/react-native/package.json                 | 14 ++---
     app/react/package.json                        |  8 +--
     app/riot/package.json                         |  4 +-
     app/svelte/package.json                       |  4 +-
     app/vue/package.json                          |  4 +-
     examples/angular-cli/package.json             | 26 ++++-----
     examples/cra-kitchen-sink/package.json        | 32 +++++------
     examples/cra-ts-kitchen-sink/package.json     | 12 ++---
     examples/ember-cli/package.json               | 26 ++++-----
     examples/html-kitchen-sink/package.json       | 36 ++++++-------
     examples/marko-cli/package.json               | 14 ++---
     examples/mithril-kitchen-sink/package.json    | 26 ++++-----
     examples/official-storybook/package.json      | 48 ++++++++---------
     examples/polymer-cli/package.json             | 20 +++----
     examples/preact-kitchen-sink/package.json     | 26 ++++-----
     examples/riot-kitchen-sink/package.json       | 26 ++++-----
     examples/svelte-kitchen-sink/package.json     | 26 ++++-----
     examples/vue-kitchen-sink/package.json        | 26 ++++-----
     lerna.json                                    |  2 +-
     lib/addons/package.json                       |  6 +--
     lib/channel-postmessage/package.json          |  6 +--
     lib/channel-websocket/package.json            |  4 +-
     lib/channels/package.json                     |  2 +-
     lib/cli/package.json                          | 54 +++++++++----------
     lib/client-api/package.json                   | 10 ++--
     lib/client-logger/package.json                |  2 +-
     lib/codemod/package.json                      |  2 +-
     lib/components/package.json                   | 12 ++---
     lib/core-events/package.json                  |  2 +-
     lib/core/package.json                         | 20 +++----
     lib/node-logger/package.json                  |  2 +-
     lib/router/package.json                       |  4 +-
     lib/theming/package.json                      |  4 +-
     lib/ui/package.json                           | 14 ++---
     62 files changed, 356 insertions(+), 356 deletions(-)
    
    diff --git a/addons/a11y/package.json b/addons/a11y/package.json
    index 4382a86458f..89b087d8827 100644
    --- a/addons/a11y/package.json
    +++ b/addons/a11y/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-a11y",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "a11y addon for storybook",
       "keywords": [
         "a11y",
    @@ -25,11 +25,11 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "axe-core": "^3.1.2",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
    diff --git a/addons/actions/package.json b/addons/actions/package.json
    index 2e3945ff51b..b6cd752b91f 100644
    --- a/addons/actions/package.json
    +++ b/addons/actions/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-actions",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Action Logger addon for storybook",
       "keywords": [
         "storybook"
    @@ -20,10 +20,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "fast-deep-equal": "^2.0.1",
         "global": "^4.3.2",
    diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json
    index df2b68a3630..07faf0d96c8 100644
    --- a/addons/backgrounds/package.json
    +++ b/addons/backgrounds/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-backgrounds",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A storybook addon to show different backgrounds for your preview",
       "keywords": [
         "addon",
    @@ -24,11 +24,11 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "memoizerific": "^1.11.3",
    diff --git a/addons/centered/package.json b/addons/centered/package.json
    index 2f76908b30f..73171d73a5e 100644
    --- a/addons/centered/package.json
    +++ b/addons/centered/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-centered",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook decorator to center components",
       "keywords": [
         "addon",
    diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json
    index a065fe270c3..42a83ac0273 100644
    --- a/addons/cssresources/package.json
    +++ b/addons/cssresources/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-cssresources",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A storybook addon to switch between css resources at runtime for your story",
       "keywords": [
         "addon",
    @@ -24,10 +24,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/channels": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/channels": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "prop-types": "^15.6.2",
    diff --git a/addons/events/package.json b/addons/events/package.json
    index 32a862bfc23..03e3738058a 100644
    --- a/addons/events/package.json
    +++ b/addons/events/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-events",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Add events to your Storybook stories.",
       "keywords": [
         "addon",
    @@ -23,9 +23,9 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "format-json": "^1.0.3",
         "prop-types": "^15.6.2",
    diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json
    index ad67bd0a4b7..0db51c4fecf 100644
    --- a/addons/google-analytics/package.json
    +++ b/addons/google-analytics/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-google-analytics",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook addon for google analytics",
       "keywords": [
         "addon",
    @@ -19,8 +19,8 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "react-ga": "^2.5.3"
    diff --git a/addons/graphql/package.json b/addons/graphql/package.json
    index 5a103ff07e4..759b525d512 100644
    --- a/addons/graphql/package.json
    +++ b/addons/graphql/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-graphql",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook addon to display the GraphiQL IDE",
       "keywords": [
         "addon",
    diff --git a/addons/info/package.json b/addons/info/package.json
    index 3205b43fcad..c72c859b997 100644
    --- a/addons/info/package.json
    +++ b/addons/info/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-info",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A Storybook addon to show additional information for your stories.",
       "keywords": [
         "addon",
    @@ -21,10 +21,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "marksy": "^6.1.0",
    diff --git a/addons/jest/package.json b/addons/jest/package.json
    index ab1191a8b0a..53a6d9c3b94 100644
    --- a/addons/jest/package.json
    +++ b/addons/jest/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-jest",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "React storybook addon that show component jest report",
       "keywords": [
         "addon",
    @@ -27,10 +27,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "prop-types": "^15.6.2",
    diff --git a/addons/knobs/package.json b/addons/knobs/package.json
    index 2a8d85dca08..94d775554dc 100644
    --- a/addons/knobs/package.json
    +++ b/addons/knobs/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-knobs",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook Addon Prop Editor Component",
       "keywords": [
         "addon",
    @@ -21,10 +21,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "copy-to-clipboard": "^3.0.8",
         "core-js": "^2.6.2",
         "escape-html": "^1.0.3",
    diff --git a/addons/links/package.json b/addons/links/package.json
    index 58ca9f99a0f..fa7e279196d 100644
    --- a/addons/links/package.json
    +++ b/addons/links/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-links",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Story Links addon for storybook",
       "keywords": [
         "addon",
    @@ -21,8 +21,8 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/addons/notes/package.json b/addons/notes/package.json
    index b5821b8a2e1..5f751ef5d1c 100644
    --- a/addons/notes/package.json
    +++ b/addons/notes/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-notes",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Write notes for your Storybook stories.",
       "keywords": [
         "addon",
    @@ -22,11 +22,11 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "markdown-to-jsx": "^6.9.1",
         "prop-types": "^15.6.2",
         "util-deprecate": "^1.0.2"
    diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json
    index 395c680b0d6..325a64251fb 100644
    --- a/addons/ondevice-backgrounds/package.json
    +++ b/addons/ondevice-backgrounds/package.json
    @@ -1,7 +1,7 @@
     {
       "name": "@storybook/addon-ondevice-backgrounds",
       "private": true,
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A storybook addon to show different backgrounds for your preview",
       "keywords": [
         "addon",
    @@ -24,7 +24,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "prop-types": "^15.6.2"
       },
    diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json
    index 17d8f640600..6d0487fff57 100644
    --- a/addons/ondevice-knobs/package.json
    +++ b/addons/ondevice-knobs/package.json
    @@ -1,7 +1,7 @@
     {
       "name": "@storybook/addon-ondevice-knobs",
       "private": true,
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Display storybook story knobs on your deviced.",
       "keywords": [
         "addon",
    @@ -21,7 +21,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "deep-equal": "^1.0.1",
         "prop-types": "^15.6.2",
    diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json
    index 2bda6c8f4a5..f164f9403cb 100644
    --- a/addons/ondevice-notes/package.json
    +++ b/addons/ondevice-notes/package.json
    @@ -1,7 +1,7 @@
     {
       "name": "@storybook/addon-ondevice-notes",
       "private": true,
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Write notes for your Storybook stories.",
       "keywords": [
         "addon",
    @@ -19,7 +19,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "prop-types": "^15.6.2",
         "react-native-simple-markdown": "^1.1.0"
    diff --git a/addons/options/package.json b/addons/options/package.json
    index bf88642e755..34be5366979 100644
    --- a/addons/options/package.json
    +++ b/addons/options/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-options",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Options addon for storybook",
       "keywords": [
         "addon",
    @@ -20,7 +20,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "util-deprecate": "^1.0.2"
       },
    diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json
    index bb66226721c..fd125ca37b6 100644
    --- a/addons/storyshots/storyshots-core/package.json
    +++ b/addons/storyshots/storyshots-core/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-storyshots",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
       "keywords": [
         "addon",
    @@ -24,7 +24,7 @@
         "storybook": "start-storybook -p 6006"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "glob": "^7.1.3",
         "global": "^4.3.2",
    diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json
    index a014096e9e2..416e38ea694 100644
    --- a/addons/storyshots/storyshots-puppeteer/package.json
    +++ b/addons/storyshots/storyshots-puppeteer/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-storyshots-puppeteer",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Image snappshots addition to StoryShots base on puppeteer",
       "keywords": [
         "addon",
    @@ -21,8 +21,8 @@
         "prepare": "node ../../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/node-logger": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    +    "@storybook/node-logger": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "jest-image-snapshot": "^2.6.0",
         "puppeteer": "^1.12.0",
    diff --git a/addons/storysource/package.json b/addons/storysource/package.json
    index 100db18d18e..d2d67335206 100644
    --- a/addons/storysource/package.json
    +++ b/addons/storysource/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-storysource",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Stories addon for storybook",
       "keywords": [
         "addon",
    @@ -21,10 +21,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "estraverse": "^4.2.0",
         "loader-utils": "^1.2.1",
    diff --git a/addons/viewport/package.json b/addons/viewport/package.json
    index c7956a06059..db8e913bdda 100644
    --- a/addons/viewport/package.json
    +++ b/addons/viewport/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addon-viewport",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook addon to change the viewport size to mobile",
       "keywords": [
         "addon",
    @@ -20,11 +20,11 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
         "memoizerific": "^1.11.3",
    diff --git a/app/angular/package.json b/app/angular/package.json
    index afa2a75322e..f6748263edd 100644
    --- a/app/angular/package.json
    +++ b/app/angular/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/angular",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -25,8 +25,8 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    -    "@storybook/node-logger": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
    +    "@storybook/node-logger": "5.0.0-rc.9",
         "angular2-template-loader": "^0.6.2",
         "core-js": "^2.6.2",
         "fork-ts-checker-webpack-plugin": "^0.5.2",
    diff --git a/app/ember/package.json b/app/ember/package.json
    index fd2946cdec1..bd841860632 100644
    --- a/app/ember/package.json
    +++ b/app/ember/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/ember",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
       "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
       "bugs": {
    @@ -23,7 +23,7 @@
       },
       "dependencies": {
         "@ember/test-helpers": "^1.3.1",
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/html/package.json b/app/html/package.json
    index a2e8e78894e..dc8d3fdd4fc 100644
    --- a/app/html/package.json
    +++ b/app/html/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/html",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -24,7 +24,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/marko/package.json b/app/marko/package.json
    index 982e8aa5545..66ce3de14f7 100644
    --- a/app/marko/package.json
    +++ b/app/marko/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/marko",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -25,7 +25,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/mithril/package.json b/app/mithril/package.json
    index f2eced986ff..2363dbb1c29 100644
    --- a/app/mithril/package.json
    +++ b/app/mithril/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/mithril",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Mithril: Develop Mithril Component in isolation.",
       "keywords": [
         "storybook"
    @@ -26,7 +26,7 @@
       },
       "dependencies": {
         "@babel/plugin-transform-react-jsx": "^7.3.0",
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/polymer/package.json b/app/polymer/package.json
    index 0f8a0911ecb..b77cb5b1dad 100644
    --- a/app/polymer/package.json
    +++ b/app/polymer/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/polymer",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -24,7 +24,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "@webcomponents/webcomponentsjs": "^1.2.0",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
    diff --git a/app/preact/package.json b/app/preact/package.json
    index 2e5eafb74a6..2c66f99156a 100644
    --- a/app/preact/package.json
    +++ b/app/preact/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/preact",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Preact: Develop Preact Component in isolation.",
       "keywords": [
         "storybook"
    @@ -26,7 +26,7 @@
       },
       "dependencies": {
         "@babel/plugin-transform-react-jsx": "^7.3.0",
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/react-native/package.json b/app/react-native/package.json
    index 46819e8a335..8b5f3cca3d2 100644
    --- a/app/react-native/package.json
    +++ b/app/react-native/package.json
    @@ -1,7 +1,7 @@
     {
       "name": "@storybook/react-native",
       "private": true,
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A better way to develop React Native Components for your app",
       "keywords": [
         "react",
    @@ -26,12 +26,12 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/channel-websocket": "5.0.0-rc.8",
    -    "@storybook/channels": "5.0.0-rc.8",
    -    "@storybook/core": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/ui": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/channel-websocket": "5.0.0-rc.9",
    +    "@storybook/channels": "5.0.0-rc.9",
    +    "@storybook/core": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/ui": "5.0.0-rc.9",
         "babel-loader": "^8.0.4",
         "babel-plugin-macros": "^2.4.5",
         "babel-plugin-syntax-async-functions": "^6.13.0",
    diff --git a/app/react/package.json b/app/react/package.json
    index 07d75c857fc..321612fbf74 100644
    --- a/app/react/package.json
    +++ b/app/react/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/react",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -28,9 +28,9 @@
         "@babel/plugin-transform-react-constant-elements": "^7.2.0",
         "@babel/preset-flow": "^7.0.0",
         "@babel/preset-react": "^7.0.0",
    -    "@storybook/core": "5.0.0-rc.8",
    -    "@storybook/node-logger": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
    +    "@storybook/node-logger": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "@svgr/webpack": "^4.0.3",
         "babel-plugin-named-asset-import": "^0.3.0",
         "babel-plugin-react-docgen": "^2.0.2",
    diff --git a/app/riot/package.json b/app/riot/package.json
    index 141df4b81ac..9976d69bcde 100644
    --- a/app/riot/package.json
    +++ b/app/riot/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/riot",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -24,7 +24,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/svelte/package.json b/app/svelte/package.json
    index e287ab1ed93..1b1a5cec6b4 100644
    --- a/app/svelte/package.json
    +++ b/app/svelte/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/svelte",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -25,7 +25,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/app/vue/package.json b/app/vue/package.json
    index 2b2c9dba37f..3db871d5ae1 100644
    --- a/app/vue/package.json
    +++ b/app/vue/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/vue",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
       "keywords": [
         "storybook"
    @@ -25,7 +25,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/core": "5.0.0-rc.8",
    +    "@storybook/core": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "core-js": "^2.6.2",
         "global": "^4.3.2",
    diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json
    index 87023401ecb..f6986880435 100644
    --- a/examples/angular-cli/package.json
    +++ b/examples/angular-cli/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "angular-cli",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "license": "MIT",
       "scripts": {
    @@ -33,18 +33,18 @@
         "@angular-devkit/build-angular": "^0.13.1",
         "@angular/cli": "^7.3.2",
         "@angular/compiler-cli": "^7.2.1",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-jest": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/angular": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-jest": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/angular": "5.0.0-rc.9",
         "@types/core-js": "^2.5.0",
         "@types/jest": "^23.3.13",
         "@types/node": "~10.12.19",
    diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
    index 4dd4474c589..6b515c6bbec 100644
    --- a/examples/cra-kitchen-sink/package.json
    +++ b/examples/cra-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "cra-kitchen-sink",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build": "react-scripts build",
    @@ -18,21 +18,21 @@
         "react-lifecycles-compat": "^3.0.4"
       },
       "devDependencies": {
    -    "@storybook/addon-a11y": "5.0.0-rc.8",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-events": "5.0.0-rc.8",
    -    "@storybook/addon-info": "5.0.0-rc.8",
    -    "@storybook/addon-jest": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/react": "5.0.0-rc.8",
    +    "@storybook/addon-a11y": "5.0.0-rc.9",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-events": "5.0.0-rc.9",
    +    "@storybook/addon-info": "5.0.0-rc.9",
    +    "@storybook/addon-jest": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/react": "5.0.0-rc.9",
         "enzyme": "^3.7.0",
         "enzyme-adapter-react-16": "^1.9.1",
         "enzyme-to-json": "^3.3.4",
    diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
    index 145e91221c8..7a301789ba0 100644
    --- a/examples/cra-ts-kitchen-sink/package.json
    +++ b/examples/cra-ts-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "cra-ts-kitchen-sink",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build-storybook": "build-storybook -s public",
    @@ -19,11 +19,11 @@
         "react-dom": "^16.8.1"
       },
       "devDependencies": {
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-info": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/react": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-info": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/react": "5.0.0-rc.9",
         "@types/enzyme": "^3.1.15",
         "@types/react": "^16.7.22",
         "@types/react-dom": "^16.0.11",
    diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
    index 851f5dbb994..9a6efda8d4e 100644
    --- a/examples/ember-cli/package.json
    +++ b/examples/ember-cli/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "ember-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build": "ember build",
    @@ -14,18 +14,18 @@
       },
       "devDependencies": {
         "@babel/core": "^7.2.2",
    -    "@storybook/addon-a11y": "5.0.0-rc.8",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/ember": "5.0.0-rc.8",
    +    "@storybook/addon-a11y": "5.0.0-rc.9",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/ember": "5.0.0-rc.9",
         "babel-loader": "^8",
         "broccoli-asset-rev": "^3.0.0",
         "cross-env": "^5.2.0",
    diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
    index 85a8cd8cf31..7fe4f7cc261 100644
    --- a/examples/html-kitchen-sink/package.json
    +++ b/examples/html-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "html-kitchen-sink",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "description": "",
       "keywords": [],
    @@ -13,23 +13,23 @@
         "storybook": "start-storybook -p 9006"
       },
       "devDependencies": {
    -    "@storybook/addon-a11y": "5.0.0-rc.8",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-events": "5.0.0-rc.8",
    -    "@storybook/addon-jest": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/core": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/html": "5.0.0-rc.8",
    +    "@storybook/addon-a11y": "5.0.0-rc.9",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-events": "5.0.0-rc.9",
    +    "@storybook/addon-jest": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/core": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/html": "5.0.0-rc.9",
         "eventemitter3": "^3.1.0",
         "format-json": "^1.0.3",
         "global": "^4.3.2",
    diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json
    index 4685846ee05..0495544fc65 100644
    --- a/examples/marko-cli/package.json
    +++ b/examples/marko-cli/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "marko-cli",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "description": "Demo of how to build an app using marko-starter",
       "repository": {
    @@ -22,12 +22,12 @@
         "marko-starter": "^2.0.4"
       },
       "devDependencies": {
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/marko": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/marko": "5.0.0-rc.9",
         "prettier": "^1.16.4",
         "webpack": "^4.29.0"
       }
    diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json
    index 5f75636c85e..96cc6a6e4f7 100644
    --- a/examples/mithril-kitchen-sink/package.json
    +++ b/examples/mithril-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "mithril-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build-storybook": "build-storybook",
    @@ -10,18 +10,18 @@
         "mithril": "^1.1.6"
       },
       "devDependencies": {
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/mithril": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/mithril": "5.0.0-rc.9",
         "webpack": "^4.29.0"
       }
     }
    diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json
    index 3e0d171bab0..048f48af817 100644
    --- a/examples/official-storybook/package.json
    +++ b/examples/official-storybook/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "official-storybook",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build-storybook": "build-storybook -c ./ -s built-storybooks",
    @@ -12,29 +12,29 @@
         "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll"
       },
       "devDependencies": {
    -    "@storybook/addon-a11y": "5.0.0-rc.8",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-cssresources": "5.0.0-rc.8",
    -    "@storybook/addon-events": "5.0.0-rc.8",
    -    "@storybook/addon-graphql": "5.0.0-rc.8",
    -    "@storybook/addon-info": "5.0.0-rc.8",
    -    "@storybook/addon-jest": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/node-logger": "5.0.0-rc.8",
    -    "@storybook/react": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addon-a11y": "5.0.0-rc.9",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-cssresources": "5.0.0-rc.9",
    +    "@storybook/addon-events": "5.0.0-rc.9",
    +    "@storybook/addon-graphql": "5.0.0-rc.9",
    +    "@storybook/addon-info": "5.0.0-rc.9",
    +    "@storybook/addon-jest": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/node-logger": "5.0.0-rc.9",
    +    "@storybook/react": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "cors": "^2.8.4",
         "cross-env": "^5.2.0",
         "enzyme-to-json": "^3.3.4",
    diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json
    index 547d10e9671..e09ff6ce25b 100644
    --- a/examples/polymer-cli/package.json
    +++ b/examples/polymer-cli/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "polymer-cli",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build-storybook": "build-storybook",
    @@ -9,15 +9,15 @@
       },
       "dependencies": {
         "@polymer/polymer": "^2.6.0",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/polymer": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/polymer": "5.0.0-rc.9",
         "@webcomponents/webcomponentsjs": "^1.2.0",
         "global": "^4.3.2",
         "lit-html": "^1.0.0",
    diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
    index 33ee8d0d4c7..1549a62c5e1 100644
    --- a/examples/preact-kitchen-sink/package.json
    +++ b/examples/preact-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "preact-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
    @@ -15,18 +15,18 @@
       "devDependencies": {
         "@babel/core": "^7.2.2",
         "@babel/plugin-transform-runtime": "^7.2.0",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/preact": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/preact": "5.0.0-rc.9",
         "babel-loader": "^8.0.4",
         "cross-env": "^5.2.0",
         "file-loader": "^3.0.1",
    diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json
    index 18c672aa177..2d6795549ae 100644
    --- a/examples/riot-kitchen-sink/package.json
    +++ b/examples/riot-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "riot-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
    @@ -15,18 +15,18 @@
       },
       "devDependencies": {
         "@babel/core": "^7.2.2",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/riot": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/riot": "5.0.0-rc.9",
         "babel-loader": "^8.0.4",
         "cross-env": "^5.2.0",
         "file-loader": "^3.0.1",
    diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
    index 622796bbffd..192d58ec029 100644
    --- a/examples/svelte-kitchen-sink/package.json
    +++ b/examples/svelte-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "svelte-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build-storybook": "build-storybook -s public",
    @@ -10,17 +10,17 @@
         "global": "^4.3.2"
       },
       "devDependencies": {
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/svelte": "5.0.0-rc.8"
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/svelte": "5.0.0-rc.9"
       }
     }
    diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json
    index 8c0583ba28f..51d49e73cd1 100644
    --- a/examples/vue-kitchen-sink/package.json
    +++ b/examples/vue-kitchen-sink/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "vue-example",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "private": true,
       "scripts": {
         "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
    @@ -14,18 +14,18 @@
       },
       "devDependencies": {
         "@babel/core": "^7.2.2",
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-backgrounds": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addon-storysource": "5.0.0-rc.8",
    -    "@storybook/addon-viewport": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/vue": "5.0.0-rc.8",
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-backgrounds": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addon-storysource": "5.0.0-rc.9",
    +    "@storybook/addon-viewport": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/vue": "5.0.0-rc.9",
         "babel-core": "^7.0.0-bridge.0",
         "babel-loader": "^8.0.4",
         "cross-env": "^5.2.0",
    diff --git a/lerna.json b/lerna.json
    index aa824e658c3..f6d01f8edef 100644
    --- a/lerna.json
    +++ b/lerna.json
    @@ -11,5 +11,5 @@
       "npmClient": "yarn",
       "useWorkspaces": true,
       "registry": "https://registry.npmjs.org",
    -  "version": "5.0.0-rc.8"
    +  "version": "5.0.0-rc.9"
     }
    diff --git a/lib/addons/package.json b/lib/addons/package.json
    index 500dccafa7c..bfaf30ddeb7 100644
    --- a/lib/addons/package.json
    +++ b/lib/addons/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/addons",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook addons store",
       "keywords": [
         "storybook"
    @@ -20,8 +20,8 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/channels": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    +    "@storybook/channels": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
         "global": "^4.3.2",
         "util-deprecate": "^1.0.2"
       },
    diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json
    index 1e82d7e6372..d9acac87c7a 100644
    --- a/lib/channel-postmessage/package.json
    +++ b/lib/channel-postmessage/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/channel-postmessage",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "",
       "keywords": [
         "storybook"
    @@ -20,8 +20,8 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/channels": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    +    "@storybook/channels": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
         "global": "^4.3.2",
         "telejson": "^2.1.0"
       },
    diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
    index 01d535dcaaa..7cc75b9ef6f 100644
    --- a/lib/channel-websocket/package.json
    +++ b/lib/channel-websocket/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/channel-websocket",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "",
       "keywords": [
         "storybook"
    @@ -20,7 +20,7 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/channels": "5.0.0-rc.8",
    +    "@storybook/channels": "5.0.0-rc.9",
         "global": "^4.3.2",
         "json-fn": "^1.1.1"
       },
    diff --git a/lib/channels/package.json b/lib/channels/package.json
    index 6d744573caf..efe2deb584d 100644
    --- a/lib/channels/package.json
    +++ b/lib/channels/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/channels",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "",
       "keywords": [
         "storybook"
    diff --git a/lib/cli/package.json b/lib/cli/package.json
    index 1c2b05feb20..439a715eb4c 100644
    --- a/lib/cli/package.json
    +++ b/lib/cli/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/cli",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook's CLI - easiest method of adding storybook to your projects",
       "keywords": [
         "cli",
    @@ -29,7 +29,7 @@
         "@babel/core": "^7.2.2",
         "@babel/preset-env": "^7.3.1",
         "@babel/register": "^7.0.0",
    -    "@storybook/codemod": "5.0.0-rc.8",
    +    "@storybook/codemod": "5.0.0-rc.9",
         "chalk": "^2.4.1",
         "commander": "^2.19.0",
         "core-js": "^2.6.2",
    @@ -43,31 +43,31 @@
         "update-notifier": "^2.5.0"
       },
       "devDependencies": {
    -    "@storybook/addon-actions": "5.0.0-rc.8",
    -    "@storybook/addon-centered": "5.0.0-rc.8",
    -    "@storybook/addon-graphql": "5.0.0-rc.8",
    -    "@storybook/addon-info": "5.0.0-rc.8",
    -    "@storybook/addon-knobs": "5.0.0-rc.8",
    -    "@storybook/addon-links": "5.0.0-rc.8",
    -    "@storybook/addon-notes": "5.0.0-rc.8",
    -    "@storybook/addon-options": "5.0.0-rc.8",
    -    "@storybook/addon-storyshots": "5.0.0-rc.8",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/angular": "5.0.0-rc.8",
    -    "@storybook/channel-postmessage": "5.0.0-rc.8",
    -    "@storybook/channel-websocket": "5.0.0-rc.8",
    -    "@storybook/channels": "5.0.0-rc.8",
    -    "@storybook/ember": "5.0.0-rc.8",
    -    "@storybook/html": "5.0.0-rc.8",
    -    "@storybook/marko": "5.0.0-rc.8",
    -    "@storybook/mithril": "5.0.0-rc.8",
    -    "@storybook/polymer": "5.0.0-rc.8",
    -    "@storybook/preact": "5.0.0-rc.8",
    -    "@storybook/react": "5.0.0-rc.8",
    -    "@storybook/react-native": "5.0.0-rc.8",
    -    "@storybook/riot": "5.0.0-rc.8",
    -    "@storybook/ui": "5.0.0-rc.8",
    -    "@storybook/vue": "5.0.0-rc.8"
    +    "@storybook/addon-actions": "5.0.0-rc.9",
    +    "@storybook/addon-centered": "5.0.0-rc.9",
    +    "@storybook/addon-graphql": "5.0.0-rc.9",
    +    "@storybook/addon-info": "5.0.0-rc.9",
    +    "@storybook/addon-knobs": "5.0.0-rc.9",
    +    "@storybook/addon-links": "5.0.0-rc.9",
    +    "@storybook/addon-notes": "5.0.0-rc.9",
    +    "@storybook/addon-options": "5.0.0-rc.9",
    +    "@storybook/addon-storyshots": "5.0.0-rc.9",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/angular": "5.0.0-rc.9",
    +    "@storybook/channel-postmessage": "5.0.0-rc.9",
    +    "@storybook/channel-websocket": "5.0.0-rc.9",
    +    "@storybook/channels": "5.0.0-rc.9",
    +    "@storybook/ember": "5.0.0-rc.9",
    +    "@storybook/html": "5.0.0-rc.9",
    +    "@storybook/marko": "5.0.0-rc.9",
    +    "@storybook/mithril": "5.0.0-rc.9",
    +    "@storybook/polymer": "5.0.0-rc.9",
    +    "@storybook/preact": "5.0.0-rc.9",
    +    "@storybook/react": "5.0.0-rc.9",
    +    "@storybook/react-native": "5.0.0-rc.9",
    +    "@storybook/riot": "5.0.0-rc.9",
    +    "@storybook/ui": "5.0.0-rc.9",
    +    "@storybook/vue": "5.0.0-rc.9"
       },
       "publishConfig": {
         "access": "public"
    diff --git a/lib/client-api/package.json b/lib/client-api/package.json
    index 7af6a8406e5..093df12b4ec 100644
    --- a/lib/client-api/package.json
    +++ b/lib/client-api/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/client-api",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook Client API",
       "keywords": [
         "storybook"
    @@ -19,10 +19,10 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "eventemitter3": "^3.1.0",
         "global": "^4.3.2",
    diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
    index 99a4d49161e..8ede3bc002a 100644
    --- a/lib/client-logger/package.json
    +++ b/lib/client-logger/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/client-logger",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "",
       "keywords": [
         "storybook"
    diff --git a/lib/codemod/package.json b/lib/codemod/package.json
    index 0681f5d9236..fcd96ed798c 100644
    --- a/lib/codemod/package.json
    +++ b/lib/codemod/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/codemod",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "A collection of codemod scripts written with JSCodeshift",
       "keywords": [
         "storybook"
    diff --git a/lib/components/package.json b/lib/components/package.json
    index ffb3151e155..b16e3a2e954 100644
    --- a/lib/components/package.json
    +++ b/lib/components/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/components",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Core Storybook Components",
       "keywords": [
         "storybook"
    @@ -20,11 +20,11 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "global": "^4.3.2",
         "immer": "^1.12.0",
         "js-beautify": "^1.8.9",
    diff --git a/lib/core-events/package.json b/lib/core-events/package.json
    index b86a6adbe84..bea7c993567 100644
    --- a/lib/core-events/package.json
    +++ b/lib/core-events/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/core-events",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Event names used in storybook core",
       "keywords": [
         "storybook"
    diff --git a/lib/core/package.json b/lib/core/package.json
    index b14970dfccf..61a401d2095 100644
    --- a/lib/core/package.json
    +++ b/lib/core/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/core",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Storybook framework-agnostic API",
       "keywords": [
         "storybook"
    @@ -24,15 +24,15 @@
         "@babel/plugin-syntax-dynamic-import": "^7.2.0",
         "@babel/plugin-transform-react-constant-elements": "^7.2.0",
         "@babel/preset-env": "^7.3.1",
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/channel-postmessage": "5.0.0-rc.8",
    -    "@storybook/client-api": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/node-logger": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    -    "@storybook/ui": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/channel-postmessage": "5.0.0-rc.9",
    +    "@storybook/client-api": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/node-logger": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
    +    "@storybook/ui": "5.0.0-rc.9",
         "airbnb-js-shims": "^1 || ^2",
         "autoprefixer": "^9.4.7",
         "babel-plugin-add-react-displayname": "^0.0.5",
    diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json
    index aa44c8077b8..a1c8c9b295e 100644
    --- a/lib/node-logger/package.json
    +++ b/lib/node-logger/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/node-logger",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "",
       "keywords": [
         "storybook"
    diff --git a/lib/router/package.json b/lib/router/package.json
    index a8335960d95..e3621a93f02 100644
    --- a/lib/router/package.json
    +++ b/lib/router/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/router",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Core Storybook Router",
       "keywords": [
         "storybook"
    @@ -20,7 +20,7 @@
       },
       "dependencies": {
         "@reach/router": "^1.2.1",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/theming": "5.0.0-rc.9",
         "global": "^4.3.2",
         "memoizerific": "^1.11.3",
         "qs": "^6.5.2"
    diff --git a/lib/theming/package.json b/lib/theming/package.json
    index 5e3d967081f..cf95a325dcf 100644
    --- a/lib/theming/package.json
    +++ b/lib/theming/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/theming",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Core Storybook Components",
       "keywords": [
         "storybook"
    @@ -21,7 +21,7 @@
       "dependencies": {
         "@emotion/core": "^10.0.7",
         "@emotion/styled": "^10.0.7",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    +    "@storybook/client-logger": "5.0.0-rc.9",
         "common-tags": "^1.8.0",
         "deep-object-diff": "^1.1.0",
         "emotion-theming": "^10.0.7",
    diff --git a/lib/ui/package.json b/lib/ui/package.json
    index 031d5d423e9..df67a46f56e 100644
    --- a/lib/ui/package.json
    +++ b/lib/ui/package.json
    @@ -1,6 +1,6 @@
     {
       "name": "@storybook/ui",
    -  "version": "5.0.0-rc.8",
    +  "version": "5.0.0-rc.9",
       "description": "Core Storybook UI",
       "keywords": [
         "storybook"
    @@ -21,12 +21,12 @@
         "prepare": "node ../../scripts/prepare.js"
       },
       "dependencies": {
    -    "@storybook/addons": "5.0.0-rc.8",
    -    "@storybook/client-logger": "5.0.0-rc.8",
    -    "@storybook/components": "5.0.0-rc.8",
    -    "@storybook/core-events": "5.0.0-rc.8",
    -    "@storybook/router": "5.0.0-rc.8",
    -    "@storybook/theming": "5.0.0-rc.8",
    +    "@storybook/addons": "5.0.0-rc.9",
    +    "@storybook/client-logger": "5.0.0-rc.9",
    +    "@storybook/components": "5.0.0-rc.9",
    +    "@storybook/core-events": "5.0.0-rc.9",
    +    "@storybook/router": "5.0.0-rc.9",
    +    "@storybook/theming": "5.0.0-rc.9",
         "eventemitter3": "^3.1.0",
         "fast-deep-equal": "^2.0.1",
         "fuse.js": "^3.3.1",
    
    From 1faf85de5bbc85fe881050146b023574d7403e6a Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 15:16:36 +0800
    Subject: [PATCH 116/249] 5.0.0-rc.9 versions.json
    
    ---
     docs/static/versions.json | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/docs/static/versions.json b/docs/static/versions.json
    index 2a0233d1970..f6d7a59958d 100644
    --- a/docs/static/versions.json
    +++ b/docs/static/versions.json
    @@ -1 +1 @@
    -{"next":{"version":"5.0.0-rc.8","info":{"plain":"### Features\n\n* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806))\n\n### Bug Fixes\n\n* UI: Sort storiesHash so grouped keys appear together ([#5805](https://github.com/storybooks/storybook/pull/5805))\n* UI: Close tooltips on iframe clicks on keypresses ([#5807](https://github.com/storybooks/storybook/pull/5807))\n* Addon-Info: Add font family to info panel ([#5759](https://github.com/storybooks/storybook/pull/5759))"}}}
    \ No newline at end of file
    +{"next":{"version":"5.0.0-rc.9","info":{"plain":"### Features\n\n* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806))\n\n### Bug Fixes\n\n* Core: Add warning for decorators added \"mid-kind\" ([#5819](https://github.com/storybooks/storybook/pull/5819))\n* Addon-notes: Support inline code markdown ([#5802](https://github.com/storybooks/storybook/pull/5802))\n* Theming: Fix theme loading bugs ([#5787](https://github.com/storybooks/storybook/pull/5787))\n* CLI: Fix build-storybook with simplebar esm files ([#5816](https://github.com/storybooks/storybook/pull/5816))"}}}
    \ No newline at end of file
    
    From d162f7e17f2b19fec044e4312bbf29ca71edbd32 Mon Sep 17 00:00:00 2001
    From: Norbert de Langen 
    Date: Sun, 3 Mar 2019 11:31:27 +0100
    Subject: [PATCH 117/249] Merge pull request #5826 from
     storybooks/5823-enable-cors-versions
    
    Enable CORS on versions.json
    ---
     docs/static/_headers | 3 +++
     1 file changed, 3 insertions(+)
     create mode 100644 docs/static/_headers
    
    diff --git a/docs/static/_headers b/docs/static/_headers
    new file mode 100644
    index 00000000000..5f70931f146
    --- /dev/null
    +++ b/docs/static/_headers
    @@ -0,0 +1,3 @@
    +/versions.json
    +  Access-Control-Allow-Origin: *
    +  Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
    \ No newline at end of file
    
    From d21308929f5ee0bf2e5a7bd85417372b0cbf9ab3 Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Sun, 3 Mar 2019 12:58:07 +0800
    Subject: [PATCH 118/249] Merge pull request #5813 from
     storybooks/5781-local-decorators-migration
    
    Document individual story decorators migration
    ---
     MIGRATION.md | 24 ++++++++++++++++++++++++
     1 file changed, 24 insertions(+)
    
    diff --git a/MIGRATION.md b/MIGRATION.md
    index b2897816561..a1d10779125 100644
    --- a/MIGRATION.md
    +++ b/MIGRATION.md
    @@ -4,6 +4,7 @@
       - [Webpack config simplification](#webpack-config-simplification)
       - [Story hierarchy defaults](#story-hierarchy-defaults)
       - [Options addon deprecated](#options-addon-deprecated)
    +  - [Individual story decorators](#individual-story-decorators)
     - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x)
       - [Private addon config](#private-addon-config)
       - [React 15.x](#react-15x)
    @@ -139,6 +140,29 @@ Here is the mapping from old options to new:
     
     Storybook v5 removes the search dialog box in favor of a quick search in the navigation view, so `showSearchBox` has been removed.
     
    +## Individual story decorators
    +
    +The behavior of adding decorators to a kind has changed in SB5 ([#5781](https://github.com/storybooks/storybook/issues/5781)).
    +
    +In SB4 it was possible to add decorators to only a subset of the stories of a kind.
    +
    +```js
    +storiesOf('Stories', module)
    +  .add('noncentered', () => 'Hello')
    +  .addDecorator(centered)
    +  .add('centered', () => 'Hello');
    +```
    +
    +The semantics has changed in SB5 so that calling `addDecorator` on a kind adds a decorator to all its stories, no mater the order. So in the previous example, both stories would be centered.
    +
    +To allow for a subset of the stories in a kind to be decorated, we've added the ability to add decorators to individual stories using parameters:
    +
    +```js
    +storiesOf('Stories', module)
    +  .add('noncentered', () => 'Hello')
    +  .add('centered', () => 'Hello', { decorators: [centered] });
    +```
    +
     ## From version 4.0.x to 4.1.x
     
     There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage.
    
    From 586f7620d694edfc0128a08557eef1ef499e375e Mon Sep 17 00:00:00 2001
    From: Michael Shilman 
    Date: Mon, 4 Mar 2019 10:41:14 +0800
    Subject: [PATCH 119/249] Merge pull request #5829 from
     storybooks/5757-restore-viewport
    
    Restore viewport behaviour
    ---
     MIGRATION.md                                  |  22 +++
     addons/viewport/README.md                     | 152 +++++-------------
     addons/viewport/preview.js                    |   1 -
     addons/viewport/src/Tool.js                   |  27 +++-
     addons/viewport/src/constants.js              |   2 +-
     addons/viewport/src/legacy_preview/index.js   |   4 +-
     .../src/legacy_preview/withViewport.js        |  10 +-
     examples/official-storybook/config.js         |   6 -
     .../official-storybook/extra-viewports.json   |  18 ---
     .../addon-viewport.stories.storyshot          |   8 +
     .../stories/addon-viewport.stories.js         |  59 +++----
     .../__snapshots__/storyshots.test.js.snap     | 146 -----------------
     12 files changed, 124 insertions(+), 331 deletions(-)
     delete mode 100644 examples/official-storybook/extra-viewports.json
    
    diff --git a/MIGRATION.md b/MIGRATION.md
    index a1d10779125..e498b9d97e4 100644
    --- a/MIGRATION.md
    +++ b/MIGRATION.md
    @@ -163,6 +163,28 @@ storiesOf('Stories', module)
       .add('centered', () => 'Hello', { decorators: [centered] });
     ```
     
    +## Addon viewport uses parameters
    +
    +Similarly, `@storybook/addon-viewport` uses parameters to pass viewport options. If you previously had:
    +
    +```js
    +import { configureViewport } from `@storybook/addon-viewport`;
    +
    +configureViewport(options);
    +```
    +
    +You can replace it with:
    +
    +```js
    +import { addParameters } from '@storybook/react'; // or others
    +
    +addParameters({ viewport: options });
    +```
    +
    +The `withViewport` decorator is also no longer supported and should be replaced with a parameter based API as above. Also the `onViewportChange` callback is no longer supported.
    +
    +See the [README](https://github.com/storybooks/storybook/blob/master/addons/viewport/README.md) for the viewport addon for more information.
    +
     ## From version 4.0.x to 4.1.x
     
     There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage.
    diff --git a/addons/viewport/README.md b/addons/viewport/README.md
    index 5356c91bcff..5e9273e9b48 100644
    --- a/addons/viewport/README.md
    +++ b/addons/viewport/README.md
    @@ -1,6 +1,6 @@
     # Storybook Viewport Addon
     
    -Storybook Viewport Addon allows your stories to be displayed in different sizes and layouts in [Storybook](https://storybook.js.org).  This helps build responsive components inside of Storybook.
    +Storybook Viewport Addon allows your stories to be displayed in different sizes and layouts in [Storybook](https://storybook.js.org). This helps build responsive components inside of Storybook.
     
     [Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)
     
    @@ -28,21 +28,30 @@ import '@storybook/addon-viewport/register';
     
     ## Configuration
     
    -Import and use the `configureViewport` function in your `config.js` file.
    +The viewport addon is configured by story parameters with the `viewport` key. To configure globally, import `addParameters` from your app layer in your `config.js` file.
     
     ```js
    -import { configureViewport } from '@storybook/addon-viewport';
    +import { addParameters } from '@storybook/react';
    +
    +addParameters({ viewport: options });
     ```
     
    +Options can take a object with the following keys:
    +
     ### defaultViewport : String
    -----
    +
    +---
    +
     Setting this property to, let say `iphone6`, will make `iPhone 6` the default device/viewport for all stories. Default is `'responsive'` which fills 100% of the preview area.
     
     ### viewports : Object
    -----
    +
    +---
    +
     A key-value pair of viewport's key and properties (see `Viewport` definition below) for all viewports to be displayed. Default is [`INITIAL_VIEWPORTS`](src/shared/index.js)
     
     #### Viewport Model
    +
     ```js
     {
       /**
    @@ -70,154 +79,81 @@ A key-value pair of viewport's key and properties (see `Viewport` definition bel
     }
     ```
     
    -## Decorators
    +## Configuring per component or story
     
    -Sometimes you want to show collection of mobile stories, and you know those stories look horible on desktop (`responsive`), so you think you need to change the default viewport only for those?
    +Parameters can be configured for a whole set of stories or a single story via the standard parameter API:
     
    -Here is the answer, with `withViewport` decorator, you can change the default viewport of single, multiple, or all stories.
    -
    -`withViewport` accepts either
    -* A `String`, which represents the default viewport, or
    -* An `Object`, which looks like
     ```js
    -{
    -  name: 'iphone6', // default viewport
    -  onViewportChange({ viewport }) { // called whenever different viewport is selected from the dropdown
    +import addStories from '@storybook/react';
     
    -  }
    -}
    +addStories('Stories', module)
    +  // To set a default viewport for all the stories for this component
    +  .addParameters({ viewport: { defaultViewport: 'iphone6' }})
    +  .add('story', () => , { viewport: 'iphonex' });
     ```
     
     ## Examples
     
    -### Basic Usage
    -
    -Simply import the Storybook Viewport Addon in the `addons.js` file in your `.storybook` directory.
    -
    -```js
    -import '@storybook/addon-viewport/register'
    -```
    -
    -This will register the Viewport Addon to Storybook and will show up in the action area.
    -
    -
     ### Use Custom Set of Devices
     
    -This will replace all previous devices with `Kindle Fire 2` and `Kindle Fire HD` by simply calling `configureViewport` with the two devices as `viewports` in `config.js` file in your `.storybook` directory.
    +This will replace all previous devices with `Kindle Fire 2` and `Kindle Fire HD` by simply calling `addParameters` with the two devices as `viewports` in `config.js` file in your `.storybook` directory.
     
     ```js
    -import { configureViewport } from '@storybook/addon-viewport';
    +import { addParameters } from '@storybook/react';
     
     const newViewports = {
       kindleFire2: {
         name: 'Kindle Fire 2',
         styles: {
           width: '600px',
    -      height: '963px'
    -    }
    +      height: '963px',
    +    },
       },
       kindleFireHD: {
         name: 'Kindle Fire HD',
         styles: {
           width: '533px',
    -      height: '801px'
    -    }
    -  }
    +      height: '801px',
    +    },
    +  },
     };
     
    -configureViewport({
    -  viewports: newViewports
    +addParameters({
    +  viewport: { viewports: newViewports },
     });
     ```
     
    -
     ### Add New Device
     
     This will add both `Kindle Fire 2` and `Kindle Fire HD` to the list of devices. This is acheived by making use of the exported [`INITIAL_VIEWPORTS`](src/shared/index.js) property, by merging it with the new viewports and pass the result as `viewports` to `configureViewport` function
     
     ```js
    -import { configureViewport, INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
    +import { addParameters } from '@storybook/react';
    +import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
     
     const newViewports = {
       kindleFire2: {
         name: 'Kindle Fire 2',
         styles: {
           width: '600px',
    -      height: '963px'
    -    }
    +      height: '963px',
    +    },
       },
       kindleFireHD: {
         name: 'Kindle Fire HD',
         styles: {
           width: '533px',
    -      height: '801px'
    -    }
    -  }
    +      height: '801px',
    +    },
    +  },
     };
     
    -configureViewport({
    -  viewports: {
    -    ...INITIAL_VIEWPORTS,
    -    ...newViewports
    -  }
    +addParameters({
    +  viewport: {
    +    viewports: {
    +      ...INITIAL_VIEWPORTS,
    +      ...newViewports,
    +    },
    +  },
     });
     ```
    -
    -
    -### Change The Default Viewport
    -
    -This will make `iPhone 6` the default viewport for all stories.
    -
    -```js
    -import { configureViewport } from '@storybook/addon-viewport';
    -
    -configureViewport({
    -  defaultViewport: 'iphone6'
    -});
    -```
    -
    -## withViewport Decorator
    -
    -Change the default viewport for single/multiple/global stories, or listen to viewport selection changes
    -
    -```js
    -import React from 'react';
    -import { storiesOf, addDecorator } from '@storybook/react';
    -import { withViewport } from '@storybook/addon-viewport';
    -
    -// Globablly
    -addDecorator(withViewport('iphone5'));
    -
    -// Collection
    -storiesOf('Decorator with string', module)
    -  .addDecorator(withViewport('iphone6'))
    -  .add('iPhone 6', () => (
    -    

    - Do I look good on iPhone 6? -

    - )); - -// Single -storiesOf('Parameterized story', module) - .addDecorator(withViewport()) - .add( - 'iPad', - () => ( -

    - Do I look good on iPad? -

    - ), - { viewport: 'ipad' } - ); - -storiesOf('Decorator with object', module) - .addDecorator( - withViewport({ - onViewportChange({ viewport }) { - console.log(`Viewport changed: ${viewport.name} (${viewport.type})`); // e.g. Viewport changed: iphone6 (mobile) - }, - }) - ) - .add('onViewportChange', () => ); - -``` diff --git a/addons/viewport/preview.js b/addons/viewport/preview.js index 0c0f6c62539..aea18c08354 100644 --- a/addons/viewport/preview.js +++ b/addons/viewport/preview.js @@ -4,4 +4,3 @@ exports.configureViewport = preview.configureViewport; exports.DEFAULT_VIEWPORT = preview.DEFAULT_VIEWPORT; exports.INITIAL_VIEWPORTS = preview.INITIAL_VIEWPORTS; exports.withViewport = preview.withViewport; -exports.Viewport = preview.Viewport; diff --git a/addons/viewport/src/Tool.js b/addons/viewport/src/Tool.js index 3e986d455d1..2c4390838f1 100644 --- a/addons/viewport/src/Tool.js +++ b/addons/viewport/src/Tool.js @@ -1,6 +1,7 @@ import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import memoize from 'memoizerific'; +import deprecate from 'util-deprecate'; import { Global } from '@storybook/theming'; @@ -8,6 +9,7 @@ import { Icons, IconButton, WithTooltip, TooltipLinkList } from '@storybook/comp import { SET_STORIES } from '@storybook/core-events'; import { PARAM_KEY } from './constants'; +import { INITIAL_VIEWPORTS, DEFAULT_VIEWPORT } from './defaults'; const toList = memoize(50)(items => items ? Object.entries(items).map(([id, value]) => ({ ...value, id })) : [] @@ -26,14 +28,35 @@ const createItem = memoize(1000)((id, name, value, change) => ({ const flip = ({ width, height }) => ({ height: width, width: height }); +const deprecatedViewportString = deprecate( + () => 0, + 'The viewport parameter must be an object with keys `viewports` and `defaultViewport`' +); +const deprecateOnViewportChange = deprecate( + () => 0, + 'The viewport parameter `onViewportChange` is no longer supported' +); + const getState = memoize(10)((props, state, change) => { const data = props.api.getCurrentStoryData(); - const list = toList(data && data.parameters && data.parameters[PARAM_KEY]); + const parameters = data && data.parameters && data.parameters[PARAM_KEY]; + + if (parameters && typeof parameters !== 'object') { + deprecatedViewportString(); + } + + const { disable, viewports, defaultViewport, onViewportChange } = parameters || {}; + + if (onViewportChange) { + deprecateOnViewportChange(); + } + + const list = disable ? [] : toList(viewports || INITIAL_VIEWPORTS); const selected = state.selected === 'responsive' || list.find(i => i.id === state.selected) ? state.selected - : list.find(i => i.default) || 'responsive'; + : list.find(i => i.default) || defaultViewport || DEFAULT_VIEWPORT; const resets = selected !== 'responsive' diff --git a/addons/viewport/src/constants.js b/addons/viewport/src/constants.js index 90beefe690d..1a9e8f7376b 100644 --- a/addons/viewport/src/constants.js +++ b/addons/viewport/src/constants.js @@ -1,5 +1,5 @@ export const ADDON_ID = 'storybook/viewport'; -export const PARAM_KEY = 'viewports'; +export const PARAM_KEY = 'viewport'; export default { UPDATE: `${ADDON_ID}/update`, diff --git a/addons/viewport/src/legacy_preview/index.js b/addons/viewport/src/legacy_preview/index.js index 9a4af3066d5..7bb7c3ef5fc 100644 --- a/addons/viewport/src/legacy_preview/index.js +++ b/addons/viewport/src/legacy_preview/index.js @@ -1,7 +1,7 @@ import deprecate from 'util-deprecate'; export { INITIAL_VIEWPORTS, DEFAULT_VIEWPORT } from '../defaults'; -export { default as withViewport, Viewport } from './withViewport'; +export { default as withViewport } from './withViewport'; export const configureViewport = deprecate(() => {}, -'usage is deprecated, use .addParameters({ viewport }) instead'); +'configureViewport is no longer supported, use .addParameters({ viewport }) instead'); diff --git a/addons/viewport/src/legacy_preview/withViewport.js b/addons/viewport/src/legacy_preview/withViewport.js index 5cdb169ca31..f1f6ca2a6f9 100644 --- a/addons/viewport/src/legacy_preview/withViewport.js +++ b/addons/viewport/src/legacy_preview/withViewport.js @@ -3,17 +3,11 @@ import deprecate from 'util-deprecate'; const withViewport = makeDecorator({ name: 'withViewport', - parameterName: 'viewports', - allowDeprecatedUsage: true, + parameterName: 'viewport', wrapper: deprecate( (getStory, context) => getStory(context), - 'usage is deprecated, use .addParameters({ viewport }) instead' + 'withViewport is no longer supported, use .addParameters({ viewport }) instead' ), }); export default withViewport; - -export const Viewport = deprecate( - ({ children }) => children, - ` usage is deprecated, use .addParameters({ viewport }) instead` -); diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index 51db2828b8b..cfebccad259 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -2,7 +2,6 @@ import React from 'react'; import { storiesOf, configure, addDecorator, addParameters } from '@storybook/react'; import { Global, ThemeProvider, themes, createGlobal } from '@storybook/theming'; -import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; import { withCssResources } from '@storybook/addon-cssresources'; import { withA11Y } from '@storybook/addon-a11y'; import { withNotes } from '@storybook/addon-notes'; @@ -10,7 +9,6 @@ import { withNotes } from '@storybook/addon-notes'; import 'storybook-chromatic'; import addHeadWarning from './head-warning'; -import extraViewports from './extra-viewports.json'; if (process.env.NODE_ENV === 'development') { if (!process.env.DOTENV_DEVELOPMENT_DISPLAY_WARNING) { @@ -52,10 +50,6 @@ addParameters({ hierarchySeparator: /\/|\./, hierarchyRootSeparator: '|', }, - viewports: { - ...INITIAL_VIEWPORTS, - ...extraViewports, - }, backgrounds: [ { name: 'storybook app', value: themes.normal.background.app, default: true }, { name: 'light', value: '#eeeeee' }, diff --git a/examples/official-storybook/extra-viewports.json b/examples/official-storybook/extra-viewports.json deleted file mode 100644 index 4d688518385..00000000000 --- a/examples/official-storybook/extra-viewports.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "kindleFire2": { - "name": "Kindle Fire 2", - "styles": { - "width": "600px", - "height": "963px" - }, - "type": "tablet" - }, - "kindleFireHD": { - "name": "Kindle Fire HD", - "styles": { - "width": "533px", - "height": "801px" - }, - "type": "tablet" - } -} diff --git a/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot index a9645fbf615..9fcc118a9b6 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot @@ -8,6 +8,14 @@ exports[`Storyshots Addons|Viewport default 1`] = `
    `; +exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Disabled 1`] = ` +
    + There should be no viewport selector in the toolbar +
    +`; + exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Inherited 1`] = `
    ( )); storiesOf('Addons|Viewport.Custom Default (Kindle Fire 2)', module) + .addParameters({ + viewport: { + viewports: { + ...INITIAL_VIEWPORTS, + kindleFire2: { + name: 'Kindle Fire 2', + styles: { + width: '600px', + height: '963px', + }, + }, + }, + }, + }) .add('Inherited', () => ( I've inherited Kindle Fire 2 viewport from my parent. @@ -27,38 +38,8 @@ storiesOf('Addons|Viewport.Custom Default (Kindle Fire 2)', module) I respect my parents but I should be looking good on iPad. ), - { viewports: [] } - ); - -// const emitter = new EventEmitter(); - -// storiesOf('Addons|Viewport.withViewport', module) -// .addDecorator( -// withViewport({ -// onViewportChange({ viewport }) { -// emitter.emit(Logger.LOG_EVENT, { -// name: 'Viewport Changed', -// payload: `${viewport.name} (${viewport.type})`, -// }); -// }, -// }) -// ) -// .add('onViewportChange', () => ); - -// storiesOf('Addons|Viewport.deprecated', module) -// .addDecorator(withViewport('kindleFire2')) -// .add( -// 'Overridden via "withViewport" decorator', -// withViewport('iphone6')(() => ( -// -// I respect my parents but I should be looking good on iPhone 6. -// -// )) -// ) -// .add('Overridden via "Viewport" component', () => ( -// -// -// I respect my parents but I should be looking good on iPhone 6 Plus. -// -// -// )); + { viewport: { defaultViewport: 'ipad' } } + ) + .add('Disabled', () => There should be no viewport selector in the toolbar, { + viewport: { disable: true }, + }); diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 5e5b364366f..872ce1e1055 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -2666,152 +2666,6 @@ exports[`Storyshots Core|Parameters passed to story 1`] = ` "restoreScroll": true } }, - "viewports": { - "iphone5": { - "name": "iPhone 5", - "styles": { - "height": "568px", - "width": "320px" - }, - "type": "mobile" - }, - "iphone6": { - "name": "iPhone 6", - "styles": { - "height": "667px", - "width": "375px" - }, - "type": "mobile" - }, - "iphone6p": { - "name": "iPhone 6 Plus", - "styles": { - "height": "736px", - "width": "414px" - }, - "type": "mobile" - }, - "iphone8p": { - "name": "iPhone 8 Plus", - "styles": { - "height": "736px", - "width": "414px" - }, - "type": "mobile" - }, - "iphonex": { - "name": "iPhone X", - "styles": { - "height": "812px", - "width": "375px" - }, - "type": "mobile" - }, - "iphonexr": { - "name": "iPhone XR", - "styles": { - "height": "896px", - "width": "414px" - }, - "type": "mobile" - }, - "iphonexsmax": { - "name": "iPhone XS Max", - "styles": { - "height": "896px", - "width": "414px" - }, - "type": "mobile" - }, - "ipad": { - "name": "iPad", - "styles": { - "height": "1024px", - "width": "768px" - }, - "type": "tablet" - }, - "ipad10p": { - "name": "iPad Pro 10.5-in", - "styles": { - "height": "1112px", - "width": "834px" - }, - "type": "tablet" - }, - "ipad12p": { - "name": "iPad Pro 12.9-in", - "styles": { - "height": "1366px", - "width": "1024px" - }, - "type": "tablet" - }, - "galaxys5": { - "name": "Galaxy S5", - "styles": { - "height": "640px", - "width": "360px" - }, - "type": "mobile" - }, - "galaxys9": { - "name": "Galaxy S9", - "styles": { - "height": "1480px", - "width": "720px" - }, - "type": "mobile" - }, - "nexus5x": { - "name": "Nexus 5X", - "styles": { - "height": "660px", - "width": "412px" - }, - "type": "mobile" - }, - "nexus6p": { - "name": "Nexus 6P", - "styles": { - "height": "732px", - "width": "412px" - }, - "type": "mobile" - }, - "pixel": { - "name": "Pixel", - "styles": { - "height": "960px", - "width": "540px" - }, - "type": "mobile" - }, - "pixelxl": { - "name": "Pixel XL", - "styles": { - "height": "1280px", - "width": "720px" - }, - "type": "mobile" - }, - "kindleFire2": { - "name": "Kindle Fire 2", - "styles": { - "width": "600px", - "height": "963px" - }, - "type": "tablet" - }, - "kindleFireHD": { - "name": "Kindle Fire HD", - "styles": { - "width": "533px", - "height": "801px" - }, - "type": "tablet" - } - }, "backgrounds": [ { "name": "storybook app", From bceef46fc3a5401e2206215d9ef53a977966b4d2 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 10:51:57 +0800 Subject: [PATCH 120/249] Merge pull request #5828 from storybooks/5818-cleanup-backgrounds REMOVE previously deprecated default export from backgrounds --- MIGRATION.md | 31 +++++++++++++++--- addons/backgrounds/mithril.js | 1 - addons/backgrounds/src/constants.ts | 5 --- addons/backgrounds/src/deprecated.ts | 8 ----- addons/backgrounds/src/index.ts | 49 +++++++--------------------- addons/backgrounds/vue.js | 1 - 6 files changed, 39 insertions(+), 56 deletions(-) delete mode 100644 addons/backgrounds/mithril.js delete mode 100644 addons/backgrounds/src/deprecated.ts delete mode 100644 addons/backgrounds/vue.js diff --git a/MIGRATION.md b/MIGRATION.md index e498b9d97e4..195e6058194 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -5,6 +5,8 @@ - [Story hierarchy defaults](#story-hierarchy-defaults) - [Options addon deprecated](#options-addon-deprecated) - [Individual story decorators](#individual-story-decorators) + - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters) + - [Addon viewport uses parameters](#addon-backgrounds-uses-parameters) - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x) - [Private addon config](#private-addon-config) - [React 15.x](#react-15x) @@ -163,6 +165,25 @@ storiesOf('Stories', module) .add('centered', () => 'Hello', { decorators: [centered] }); ``` +## Addon backgrounds uses parameters + +Similarly, `@storybook/addon-backgrounds` uses parameters to pass background options. If you previously had: + +```js +import { withBackgrounds } from `@storybook/addon-backgrounds`; + +storiesOf('Stories', module) + .addDecorator(withBackgrounds(options)); +``` + +You should replace it with: + +```js +storiesOf('Stories', module).addParameters({ backgrounds: options }); +``` + +You can pass `backgrounds` parameters at the global level (via `addParameters` imported from `@storybook/react` et al.), and the story level (via the third argument to `.add()`). + ## Addon viewport uses parameters Similarly, `@storybook/addon-viewport` uses parameters to pass viewport options. If you previously had: @@ -173,7 +194,7 @@ import { configureViewport } from `@storybook/addon-viewport`; configureViewport(options); ``` -You can replace it with: +You should replace it with: ```js import { addParameters } from '@storybook/react'; // or others @@ -214,17 +235,19 @@ However, if you're developing React components, this means you need to upgrade t Also, here's the error you'll get if you're running an older version of React: ``` + core.browser.esm.js:15 Uncaught TypeError: Object(...) is not a function at Module../node_modules/@emotion/core/dist/core.browser.esm.js (core.browser.esm.js:15) - at **webpack_require** (bootstrap:724) + at __webpack_require__ (bootstrap:724) at fn (bootstrap:101) at Module../node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js (styled-base.browser.esm.js:1) - at **webpack_require** (bootstrap:724) + at __webpack_require__ (bootstrap:724) at fn (bootstrap:101) at Module../node_modules/@emotion/styled/dist/styled.esm.js (styled.esm.js:1) - at **webpack_require** (bootstrap:724) + at __webpack_require__ (bootstrap:724) at fn (bootstrap:101) at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (MenuLink.js:12) + ``` ### Generic addons diff --git a/addons/backgrounds/mithril.js b/addons/backgrounds/mithril.js deleted file mode 100644 index c22c26b6732..00000000000 --- a/addons/backgrounds/mithril.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./dist/deprecated'); diff --git a/addons/backgrounds/src/constants.ts b/addons/backgrounds/src/constants.ts index df63c53889d..503f310a6f5 100644 --- a/addons/backgrounds/src/constants.ts +++ b/addons/backgrounds/src/constants.ts @@ -1,7 +1,2 @@ export const ADDON_ID = 'storybook/background'; export const PARAM_KEY = 'backgrounds'; - -export const EVENTS = { - SET: `${ADDON_ID}:set`, - UNSET: `${ADDON_ID}:unset`, -}; diff --git a/addons/backgrounds/src/deprecated.ts b/addons/backgrounds/src/deprecated.ts deleted file mode 100644 index f03a1a29018..00000000000 --- a/addons/backgrounds/src/deprecated.ts +++ /dev/null @@ -1,8 +0,0 @@ -import deprecate from 'util-deprecate'; - -import backgrounds from '.'; - -export default deprecate( - backgrounds, - "addon-backgrounds: framework-specific imports are deprecated, just use `import backgrounds from '@storybook/addon-backgrounds`" -); diff --git a/addons/backgrounds/src/index.ts b/addons/backgrounds/src/index.ts index de5cb59a21f..51e8ff3a9db 100644 --- a/addons/backgrounds/src/index.ts +++ b/addons/backgrounds/src/index.ts @@ -1,43 +1,18 @@ -import { addons, makeDecorator, StoryContext, StoryGetter, WrapperSettings } from '@storybook/addons'; +import { makeDecorator, StoryContext, StoryGetter } from '@storybook/addons'; import deprecate from 'util-deprecate'; -import { REGISTER_SUBSCRIPTION } from '@storybook/core-events'; -import { EVENTS } from './constants'; -import { BackgroundConfig } from './models'; - -let prevBackgrounds: BackgroundConfig[]; - -const subscription = () => () => { - prevBackgrounds = null; - addons.getChannel().emit(EVENTS.UNSET); -}; - -export const withBackgrounds = makeDecorator({ - name: 'withBackgrounds', - parameterName: 'backgrounds', - skipIfNoParametersOrOptions: true, - allowDeprecatedUsage: true, - wrapper: (getStory: StoryGetter, context: StoryContext, { options, parameters }: WrapperSettings) => { - const data = parameters || options || []; - const backgrounds = Array.isArray(data) ? data : Object.values(data); - - if (backgrounds.length === 0) { +// This decorator is kept purely so we produce a decorator that is compatible with both +// `addDecorator(withBackgrounds(...))` and `addDecorator(withBackgrounds)` +export const withBackgrounds = deprecate( + makeDecorator({ + name: 'withBackgrounds', + parameterName: 'backgrounds', + wrapper: (getStory: StoryGetter, context: StoryContext) => { return getStory(context); - } - - if (prevBackgrounds !== backgrounds) { - addons.getChannel().emit(EVENTS.SET, backgrounds); - prevBackgrounds = backgrounds; - } - addons.getChannel().emit(REGISTER_SUBSCRIPTION, subscription); - - return getStory(context); - }, -}); - -export default deprecate( - withBackgrounds, - 'The default export of @storybook/addon-backgrounds is deprecated, please `import { withBackgrounds }` instead' + }, + }), + `Note that withBackgrounds(options) has been replaced by addParameters({ backgrounds: options}) +Read more about it in the migration guide: https://github.com/storybooks/storybook/blob/master/MIGRATION.md` ); if (module && module.hot && module.hot.decline) { diff --git a/addons/backgrounds/vue.js b/addons/backgrounds/vue.js deleted file mode 100644 index c22c26b6732..00000000000 --- a/addons/backgrounds/vue.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./dist/deprecated'); From 83bb311ba9bbd14707819f96900ee7fe7d79e8fb Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 11:07:54 +0800 Subject: [PATCH 121/249] 5.0.0-rc.10 changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b36717aa426..51293471bbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 5.0.0-rc.10 (March 4, 2019) + +### Bug Fixes + +* Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829)) +* Addon-backgrounds: REMOVE previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828)) + ## 5.0.0-rc.9 (March 3, 2019) ### Features From b5451c69ffc56556fcfa18bd2adb3f39f034b358 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 14:19:50 +0800 Subject: [PATCH 122/249] Merge pull request #5833 from storybooks/5832-a11y-migration Cleanup & document a11y migration --- MIGRATION.md | 49 ++++++++++++++----- addons/a11y/README.md | 10 ++-- addons/a11y/src/index.js | 34 ++++++------- .../stories/addon-a11y.stories.js | 4 +- examples/official-storybook/config.js | 4 +- .../addon-a11y.stories.storyshot | 6 +++ .../stories/addon-a11y.stories.js | 9 ++++ 7 files changed, 76 insertions(+), 40 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 195e6058194..5bb3baba152 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -6,7 +6,8 @@ - [Options addon deprecated](#options-addon-deprecated) - [Individual story decorators](#individual-story-decorators) - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters) - - [Addon viewport uses parameters](#addon-backgrounds-uses-parameters) + - [Addon viewport uses parameters](#addon-viewport-uses-parameters) + - [Addon a11y uses parameters](#addon-a11y-uses-parameters-decorator-renamed) - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x) - [Private addon config](#private-addon-config) - [React 15.x](#react-15x) @@ -204,7 +205,31 @@ addParameters({ viewport: options }); The `withViewport` decorator is also no longer supported and should be replaced with a parameter based API as above. Also the `onViewportChange` callback is no longer supported. -See the [README](https://github.com/storybooks/storybook/blob/master/addons/viewport/README.md) for the viewport addon for more information. +See the [viewport addon README](https://github.com/storybooks/storybook/blob/master/addons/viewport/README.md) for more information. + +## Addon a11y uses parameters, decorator renamed + +Similarly, `@storybook/addon-a11y` uses parameters to pass a11y options. If you previously had: + +```js +import { configureA11y } from `@storybook/addon-a11y`; + +configureA11y(options); +``` + +You should replace it with: + +```js +import { addParameters } from '@storybook/react'; // or others + +addParameters({ a11y: options }); +``` + +You can also pass `a11y` parameters at the component level (via `storiesOf(...).addParameters`), and the story level (via the third argument to `.add()`). + +Furthermore, the decorator `checkA11y` has been deprecated and renamed to `withA11y` to make it consistent with other Storybook decorators. + +See the [a11y addon README](https://github.com/storybooks/storybook/blob/master/addons/a11y/README.md) for more information. ## From version 4.0.x to 4.1.x @@ -237,16 +262,16 @@ Also, here's the error you'll get if you're running an older version of React: ``` core.browser.esm.js:15 Uncaught TypeError: Object(...) is not a function - at Module../node_modules/@emotion/core/dist/core.browser.esm.js (core.browser.esm.js:15) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Module../node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js (styled-base.browser.esm.js:1) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Module../node_modules/@emotion/styled/dist/styled.esm.js (styled.esm.js:1) - at __webpack_require__ (bootstrap:724) - at fn (bootstrap:101) - at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (MenuLink.js:12) +at Module../node_modules/@emotion/core/dist/core.browser.esm.js (core.browser.esm.js:15) +at **webpack_require** (bootstrap:724) +at fn (bootstrap:101) +at Module../node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js (styled-base.browser.esm.js:1) +at **webpack_require** (bootstrap:724) +at fn (bootstrap:101) +at Module../node_modules/@emotion/styled/dist/styled.esm.js (styled.esm.js:1) +at **webpack_require** (bootstrap:724) +at fn (bootstrap:101) +at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (MenuLink.js:12) ``` diff --git a/addons/a11y/README.md b/addons/a11y/README.md index ea4ce8e1c8a..04f3f809819 100755 --- a/addons/a11y/README.md +++ b/addons/a11y/README.md @@ -20,16 +20,16 @@ Add this line to your `addons.js` file (create this file inside your storybook c import '@storybook/addon-a11y/register'; ``` -import the `withA11Y` decorator to check your stories for violations within your components. +import the `withA11y` decorator to check your stories for violations within your components. ```js import React from 'react'; import { storiesOf } from '@storybook/react'; -import { withA11Y } from '@storybook/addon-a11y'; +import { withA11y } from '@storybook/addon-a11y'; // should only be added once // best place is in config.js -addDecorator(withA11Y) +addDecorator(withA11y) storiesOf('button', module) .add('Accessible', () => ( @@ -51,9 +51,9 @@ You can override these options at story level too. import React from 'react'; import { storiesOf, addDecorator, addParameters } from '@storybook/react'; -import { withA11Y } from '@storybook/addon-a11y'; +import { withA11y } from '@storybook/addon-a11y'; -addDecorator(withA11Y) +addDecorator(withA11y) addParameters({ a11y: { // ... axe options diff --git a/addons/a11y/src/index.js b/addons/a11y/src/index.js index dd18397d73d..da104099d00 100644 --- a/addons/a11y/src/index.js +++ b/addons/a11y/src/index.js @@ -3,7 +3,7 @@ import axe from 'axe-core'; import deprecate from 'util-deprecate'; import { stripIndents } from 'common-tags'; -import addons, { makeDecorator } from '@storybook/addons'; +import addons from '@storybook/addons'; import { STORY_RENDERED } from '@storybook/core-events'; import EVENTS, { PARAM_KEY } from './constants'; @@ -24,16 +24,16 @@ const report = input => { channel.emit(EVENTS.RESULT, input); }; -const run = (c, o) => { +const run = (config, options) => { progress = progress.then(() => { axe.reset(); - if (c) { - axe.configure(c); + if (config) { + axe.configure(config); } return axe .run( getElement(), - o || { + options || { restoreScroll: true, } ) @@ -41,18 +41,14 @@ const run = (c, o) => { }); }; -export const withA11Y = makeDecorator({ - name: 'withA11Y', - parameterName: PARAM_KEY, - skipIfNoParametersOrOptions: false, - allowDeprecatedUsage: false, - - wrapper: (getStory, context, opt) => { - setup = opt.parameters || opt.options || {}; - - return getStory(context); - }, -}); +// NOTE: we should add paramaters to the STORY_RENDERED event and deprecate this +export const withA11y = (getStory, context) => { + const params = context.parameters[PARAM_KEY]; + if (params) { + setup = params; + } + return getStory(context); +}; channel.on(STORY_RENDERED, () => run(setup.config, setup.options)); channel.on(EVENTS.REQUEST, () => run(setup.config, setup.options)); @@ -63,8 +59,8 @@ if (module && module.hot && module.hot.decline) { // TODO: REMOVE at v6.0.0 export const checkA11y = deprecate( - (...args) => withA11Y(...args), - 'checkA11y has been replaced with withA11Y' + (...args) => withA11y(...args), + 'checkA11y has been renamed withA11y' ); // TODO: REMOVE at v6.0.0 diff --git a/examples/html-kitchen-sink/stories/addon-a11y.stories.js b/examples/html-kitchen-sink/stories/addon-a11y.stories.js index ec0c5ab2877..d6b2c50319e 100644 --- a/examples/html-kitchen-sink/stories/addon-a11y.stories.js +++ b/examples/html-kitchen-sink/stories/addon-a11y.stories.js @@ -1,11 +1,11 @@ import { document, setTimeout } from 'global'; import { storiesOf } from '@storybook/html'; -import { withA11Y } from '@storybook/addon-a11y'; +import { withA11y } from '@storybook/addon-a11y'; const text = 'Testing the a11y addon'; storiesOf('Addons|a11y', module) - .addDecorator(withA11Y) + .addDecorator(withA11y) .addParameters({ options: { selectedPanel: 'storybook/a11y/panel' } }) .add('Default', () => ``) .add('Label', () => ``) diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index cfebccad259..20c4851863b 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -3,7 +3,7 @@ import { storiesOf, configure, addDecorator, addParameters } from '@storybook/re import { Global, ThemeProvider, themes, createGlobal } from '@storybook/theming'; import { withCssResources } from '@storybook/addon-cssresources'; -import { withA11Y } from '@storybook/addon-a11y'; +import { withA11y } from '@storybook/addon-a11y'; import { withNotes } from '@storybook/addon-notes'; import 'storybook-chromatic'; @@ -28,7 +28,7 @@ addHeadWarning('preview-head-not-loaded', 'Preview head not loaded'); addHeadWarning('dotenv-file-not-loaded', 'Dotenv file not loaded'); addDecorator(withCssResources); -addDecorator(withA11Y); +addDecorator(withA11y); addDecorator(withNotes); addDecorator(storyFn => ( diff --git a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot index b8fb54e56eb..4923d4cca68 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot @@ -357,6 +357,12 @@ exports[`Storyshots Addons|A11y/Image Without alt 1`] = ` /> `; +exports[`Storyshots Addons|A11y/Image Without alt but unchecked 1`] = ` + +`; + exports[`Storyshots Addons|A11y/Typography Correct 1`] = ` Array [

    diff --git a/examples/official-storybook/stories/addon-a11y.stories.js b/examples/official-storybook/stories/addon-a11y.stories.js index 2ff7308f8c9..a4717e3ec9e 100644 --- a/examples/official-storybook/stories/addon-a11y.stories.js +++ b/examples/official-storybook/stories/addon-a11y.stories.js @@ -56,6 +56,15 @@ storiesOf('Addons|A11y/Image', module) .addParameters({ options: { selectedPanel: 'storybook/a11y/panel' } }) /* eslint-disable jsx-a11y/alt-text */ .add('Without alt', () => ) + .add('Without alt but unchecked', () => , { + a11y: { + config: { + disableOtherRules: true, + rules: [], + }, + options: {}, + }, + }) .add('With alt', () => {text}) .add('Presentation', () => ); From 9bf2eb6fa12ca37959fe7b753dd6a11413b8a497 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 14:23:04 +0800 Subject: [PATCH 123/249] 5.0.0-rc.10 additions --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51293471bbe..c681692b1bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,11 @@ ### Bug Fixes * Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829)) -* Addon-backgrounds: REMOVE previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828)) +* Addon-backgrounds: Remove previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828)) + +### Maintenance + +* Addon-a11y: Cleanup and document migration ([#5833](https://github.com/storybooks/storybook/pull/5833)) ## 5.0.0-rc.9 (March 3, 2019) From a464c6b23689223a452bd6fcb9956273d9b56023 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 14:28:36 +0800 Subject: [PATCH 124/249] v5.0.0-rc.10 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 4 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native/package.json | 14 ++--- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 32 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 ++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 26 ++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 6 +-- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 54 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 14 ++--- 62 files changed, 356 insertions(+), 356 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 89b087d8827..1a39cf441c4 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index b6cd752b91f..93d295575ba 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 07faf0d96c8..d8bace1961a 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index 73171d73a5e..1788548fb04 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 42a83ac0273..290e8c105d6 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -24,10 +24,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/channels": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 03e3738058a..6087fc40db9 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 0db51c4fecf..522406e170b 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 759b525d512..ea637492c50 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index c72c859b997..c74f964b3d7 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 53a6d9c3b94..cb01001e54f 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 94d775554dc..8b0e8589320 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index fa7e279196d..bb268ddad3d 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 5f751ef5d1c..62f0ba16537 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 325a64251fb..db71f5679ee 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-backgrounds", "private": true, - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", "core-js": "^2.6.2", "prop-types": "^15.6.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 6d0487fff57..b957f95965b 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-knobs", "private": true, - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", "core-js": "^2.6.2", "deep-equal": "^1.0.1", "prop-types": "^15.6.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index f164f9403cb..b43a6f1e1a4 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-notes", "private": true, - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -19,7 +19,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", "core-js": "^2.6.2", "prop-types": "^15.6.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 34be5366979..7504f344458 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index fd125ca37b6..7a02d83498b 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 416e38ea694..49fa938f314 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", + "@storybook/node-logger": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index d2d67335206..506d58ffcca 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index db8e913bdda..1def1187235 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index f6748263edd..d91af448627 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", - "@storybook/node-logger": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", + "@storybook/node-logger": "5.0.0-rc.10", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index bd841860632..7a62c5438ac 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index dc8d3fdd4fc..1cd2f1fde0e 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 66ce3de14f7..4db8ef03adf 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 2363dbb1c29..339a42736b0 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index b77cb5b1dad..cb67dab9577 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index 2c66f99156a..12af29c506a 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native/package.json b/app/react-native/package.json index 8b5f3cca3d2..07b3d119a84 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/react-native", "private": true, - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/channel-websocket": "5.0.0-rc.9", - "@storybook/channels": "5.0.0-rc.9", - "@storybook/core": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/ui": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/channel-websocket": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/ui": "5.0.0-rc.10", "babel-loader": "^8.0.4", "babel-plugin-macros": "^2.4.5", "babel-plugin-syntax-async-functions": "^6.13.0", diff --git a/app/react/package.json b/app/react/package.json index 321612fbf74..27b62f71f67 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.9", - "@storybook/node-logger": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", + "@storybook/node-logger": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index 9976d69bcde..065b736ff32 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 1b1a5cec6b4..1bbf452ca1b 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 3db871d5ae1..d38b8e42b52 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.9", + "@storybook/core": "5.0.0-rc.10", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index f6986880435..963d9817c1e 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.13.1", "@angular/cli": "^7.3.2", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-jest": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/angular": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-jest": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/angular": "5.0.0-rc.10", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 6b515c6bbec..ec22608c553 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.9", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-events": "5.0.0-rc.9", - "@storybook/addon-info": "5.0.0-rc.9", - "@storybook/addon-jest": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/react": "5.0.0-rc.9", + "@storybook/addon-a11y": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-events": "5.0.0-rc.10", + "@storybook/addon-info": "5.0.0-rc.10", + "@storybook/addon-jest": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/react": "5.0.0-rc.10", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 7a301789ba0..ff0415649ff 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-info": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/react": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-info": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/react": "5.0.0-rc.10", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 9a6efda8d4e..d5fd17b063b 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.9", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/ember": "5.0.0-rc.9", + "@storybook/addon-a11y": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/ember": "5.0.0-rc.10", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 7fe4f7cc261..21b703f4b48 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.9", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-events": "5.0.0-rc.9", - "@storybook/addon-jest": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/core": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/html": "5.0.0-rc.9", + "@storybook/addon-a11y": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-events": "5.0.0-rc.10", + "@storybook/addon-jest": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/html": "5.0.0-rc.10", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 0495544fc65..a81bb2d0e24 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/marko": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/marko": "5.0.0-rc.10", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 96cc6a6e4f7..b542c68c935 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/mithril": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/mithril": "5.0.0-rc.10", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 048f48af817..58739217fc9 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.9", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-cssresources": "5.0.0-rc.9", - "@storybook/addon-events": "5.0.0-rc.9", - "@storybook/addon-graphql": "5.0.0-rc.9", - "@storybook/addon-info": "5.0.0-rc.9", - "@storybook/addon-jest": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/node-logger": "5.0.0-rc.9", - "@storybook/react": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addon-a11y": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-cssresources": "5.0.0-rc.10", + "@storybook/addon-events": "5.0.0-rc.10", + "@storybook/addon-graphql": "5.0.0-rc.10", + "@storybook/addon-info": "5.0.0-rc.10", + "@storybook/addon-jest": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/node-logger": "5.0.0-rc.10", + "@storybook/react": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index e09ff6ce25b..ecc9a9a4a6b 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/polymer": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/polymer": "5.0.0-rc.10", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 1549a62c5e1..5cbcbb05d14 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/preact": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/preact": "5.0.0-rc.10", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 2d6795549ae..a928235646a 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/riot": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/riot": "5.0.0-rc.10", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 192d58ec029..bdcaab9b0de 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/svelte": "5.0.0-rc.9" + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/svelte": "5.0.0-rc.10" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 51d49e73cd1..e56ee631be3 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-backgrounds": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addon-storysource": "5.0.0-rc.9", - "@storybook/addon-viewport": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/vue": "5.0.0-rc.9", + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-backgrounds": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addon-storysource": "5.0.0-rc.10", + "@storybook/addon-viewport": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/vue": "5.0.0-rc.10", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index f6d01f8edef..e843e523996 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.9" + "version": "5.0.0-rc.10" } diff --git a/lib/addons/package.json b/lib/addons/package.json index bfaf30ddeb7..a52e2e144e0 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", + "@storybook/channels": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index d9acac87c7a..5edb536bdd8 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", + "@storybook/channels": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", "global": "^4.3.2", "telejson": "^2.1.0" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 7cc75b9ef6f..a4138d245dd 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.9", + "@storybook/channels": "5.0.0-rc.10", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index efe2deb584d..96e47ffbe79 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 439a715eb4c..12175c376c6 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.9", + "@storybook/codemod": "5.0.0-rc.10", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.9", - "@storybook/addon-centered": "5.0.0-rc.9", - "@storybook/addon-graphql": "5.0.0-rc.9", - "@storybook/addon-info": "5.0.0-rc.9", - "@storybook/addon-knobs": "5.0.0-rc.9", - "@storybook/addon-links": "5.0.0-rc.9", - "@storybook/addon-notes": "5.0.0-rc.9", - "@storybook/addon-options": "5.0.0-rc.9", - "@storybook/addon-storyshots": "5.0.0-rc.9", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/angular": "5.0.0-rc.9", - "@storybook/channel-postmessage": "5.0.0-rc.9", - "@storybook/channel-websocket": "5.0.0-rc.9", - "@storybook/channels": "5.0.0-rc.9", - "@storybook/ember": "5.0.0-rc.9", - "@storybook/html": "5.0.0-rc.9", - "@storybook/marko": "5.0.0-rc.9", - "@storybook/mithril": "5.0.0-rc.9", - "@storybook/polymer": "5.0.0-rc.9", - "@storybook/preact": "5.0.0-rc.9", - "@storybook/react": "5.0.0-rc.9", - "@storybook/react-native": "5.0.0-rc.9", - "@storybook/riot": "5.0.0-rc.9", - "@storybook/ui": "5.0.0-rc.9", - "@storybook/vue": "5.0.0-rc.9" + "@storybook/addon-actions": "5.0.0-rc.10", + "@storybook/addon-centered": "5.0.0-rc.10", + "@storybook/addon-graphql": "5.0.0-rc.10", + "@storybook/addon-info": "5.0.0-rc.10", + "@storybook/addon-knobs": "5.0.0-rc.10", + "@storybook/addon-links": "5.0.0-rc.10", + "@storybook/addon-notes": "5.0.0-rc.10", + "@storybook/addon-options": "5.0.0-rc.10", + "@storybook/addon-storyshots": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/angular": "5.0.0-rc.10", + "@storybook/channel-postmessage": "5.0.0-rc.10", + "@storybook/channel-websocket": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.10", + "@storybook/ember": "5.0.0-rc.10", + "@storybook/html": "5.0.0-rc.10", + "@storybook/marko": "5.0.0-rc.10", + "@storybook/mithril": "5.0.0-rc.10", + "@storybook/polymer": "5.0.0-rc.10", + "@storybook/preact": "5.0.0-rc.10", + "@storybook/react": "5.0.0-rc.10", + "@storybook/react-native": "5.0.0-rc.10", + "@storybook/riot": "5.0.0-rc.10", + "@storybook/ui": "5.0.0-rc.10", + "@storybook/vue": "5.0.0-rc.10" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 093df12b4ec..f14d6c346a1 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,10 +19,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 8ede3bc002a..211c2527f9c 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index fcd96ed798c..62de6c7d6b0 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index b16e3a2e954..34e9903af24 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index bea7c993567..e800febe9b5 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 61a401d2095..34800209da8 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,15 +24,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.9", - "@storybook/channel-postmessage": "5.0.0-rc.9", - "@storybook/client-api": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/node-logger": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", - "@storybook/ui": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/channel-postmessage": "5.0.0-rc.10", + "@storybook/client-api": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/node-logger": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", + "@storybook/ui": "5.0.0-rc.10", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index a1c8c9b295e..392a440e891 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index e3621a93f02..81956527e9e 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/theming": "5.0.0-rc.10", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index cf95a325dcf..1161de01211 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.7", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.0.0-rc.9", + "@storybook/client-logger": "5.0.0-rc.10", "common-tags": "^1.8.0", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.7", diff --git a/lib/ui/package.json b/lib/ui/package.json index df67a46f56e..c9531bf9a92 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.9", + "version": "5.0.0-rc.10", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.9", - "@storybook/client-logger": "5.0.0-rc.9", - "@storybook/components": "5.0.0-rc.9", - "@storybook/core-events": "5.0.0-rc.9", - "@storybook/router": "5.0.0-rc.9", - "@storybook/theming": "5.0.0-rc.9", + "@storybook/addons": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/components": "5.0.0-rc.10", + "@storybook/core-events": "5.0.0-rc.10", + "@storybook/router": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.10", "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.3.1", From b710aef048b818c710efe82a3312d60c8b35af6a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 14:42:26 +0800 Subject: [PATCH 125/249] 5.0.0-rc.10 versions.json --- docs/static/versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/static/versions.json b/docs/static/versions.json index f6d7a59958d..8c15918ac36 100644 --- a/docs/static/versions.json +++ b/docs/static/versions.json @@ -1 +1 @@ -{"next":{"version":"5.0.0-rc.9","info":{"plain":"### Features\n\n* Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806))\n\n### Bug Fixes\n\n* Core: Add warning for decorators added \"mid-kind\" ([#5819](https://github.com/storybooks/storybook/pull/5819))\n* Addon-notes: Support inline code markdown ([#5802](https://github.com/storybooks/storybook/pull/5802))\n* Theming: Fix theme loading bugs ([#5787](https://github.com/storybooks/storybook/pull/5787))\n* CLI: Fix build-storybook with simplebar esm files ([#5816](https://github.com/storybooks/storybook/pull/5816))"}}} \ No newline at end of file +{"next":{"version":"5.0.0-rc.10","info":{"plain":"### Bug Fixes\n\n* Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829))\n* Addon-backgrounds: Remove previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828))\n\n### Maintenance\n\n* Addon-a11y: Cleanup and document migration ([#5833](https://github.com/storybooks/storybook/pull/5833))"}}} \ No newline at end of file From aff2a9638e2e20e6a7ca871af2ed421bb6657e70 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 12:12:08 +0100 Subject: [PATCH 126/249] ADD parameters to compile-js to no longer copy .ts files into dist --- scripts/compile-js.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/compile-js.js b/scripts/compile-js.js index 1ebba2962c7..b9446eb67dc 100644 --- a/scripts/compile-js.js +++ b/scripts/compile-js.js @@ -10,6 +10,7 @@ function getCommand(watch) { '--ignore **/__mocks__/,**/tests/*,**/__tests__/,**/**.test.js,**/stories/,**/**.story.js,**/**.stories.js,**/__snapshots__', './src --out-dir ./dist', '--copy-files', + '--ignore *.ts', `--config-file ${path.resolve(__dirname, '../.babelrc.js')}`, ]; From 9d7c28debb069889d2aab9bbfe5c2f8366496e36 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sat, 2 Mar 2019 18:04:37 +0100 Subject: [PATCH 127/249] MOVE guides to /guides/ && update them with more concise information --- docs/gatsby-config.js | 19 +- docs/src/components/Docs/Content/style.css | 2 +- docs/src/pages/basics/guide-angular/index.md | 210 ------------------ docs/src/pages/basics/guide-html/index.md | 111 --------- docs/src/pages/basics/guide-marko/index.md | 96 -------- docs/src/pages/basics/guide-mithril/index.md | 108 --------- docs/src/pages/basics/guide-preact/index.md | 114 ---------- docs/src/pages/basics/guide-react/index.md | 111 --------- docs/src/pages/basics/guide-riot/index.md | 145 ------------ docs/src/pages/basics/guide-svelte/index.md | 158 ------------- docs/src/pages/basics/guide-vue/index.md | 130 ----------- .../pages/basics/slow-start-guide/index.md | 17 -- .../custom-webpack-config/index.md | 137 ++++++++++++ docs/src/pages/guides/guide-angular/index.md | 147 ++++++++++++ .../{basics => guides}/guide-ember/index.md | 0 docs/src/pages/guides/guide-html/index.md | 128 +++++++++++ docs/src/pages/guides/guide-marko/index.md | 120 ++++++++++ docs/src/pages/guides/guide-mithril/index.md | 125 +++++++++++ docs/src/pages/guides/guide-preact/index.md | 123 ++++++++++ .../guide-react-native/index.md | 11 +- docs/src/pages/guides/guide-react/index.md | 123 ++++++++++ docs/src/pages/guides/guide-react/new.md | 158 +++++++++++++ docs/src/pages/guides/guide-riot/index.md | 199 +++++++++++++++++ docs/src/pages/guides/guide-svelte/index.md | 171 ++++++++++++++ docs/src/pages/guides/guide-vue/index.md | 162 ++++++++++++++ .../quick-start-guide/index.md | 34 +-- .../pages/guides/slow-start-guide/index.md | 17 ++ docs/src/stories/data.js | 9 + docs/src/templates/_docstemplate.jsx | 5 +- examples/official-storybook/package.json | 2 +- examples/official-storybook/webpack.config.js | 95 ++++---- 31 files changed, 1710 insertions(+), 1277 deletions(-) delete mode 100644 docs/src/pages/basics/guide-angular/index.md delete mode 100644 docs/src/pages/basics/guide-html/index.md delete mode 100644 docs/src/pages/basics/guide-marko/index.md delete mode 100644 docs/src/pages/basics/guide-mithril/index.md delete mode 100644 docs/src/pages/basics/guide-preact/index.md delete mode 100644 docs/src/pages/basics/guide-react/index.md delete mode 100644 docs/src/pages/basics/guide-riot/index.md delete mode 100644 docs/src/pages/basics/guide-svelte/index.md delete mode 100644 docs/src/pages/basics/guide-vue/index.md delete mode 100644 docs/src/pages/basics/slow-start-guide/index.md create mode 100644 docs/src/pages/guides/guide-angular/index.md rename docs/src/pages/{basics => guides}/guide-ember/index.md (100%) create mode 100644 docs/src/pages/guides/guide-html/index.md create mode 100644 docs/src/pages/guides/guide-marko/index.md create mode 100644 docs/src/pages/guides/guide-mithril/index.md create mode 100644 docs/src/pages/guides/guide-preact/index.md rename docs/src/pages/{basics => guides}/guide-react-native/index.md (95%) create mode 100644 docs/src/pages/guides/guide-react/index.md create mode 100644 docs/src/pages/guides/guide-react/new.md create mode 100644 docs/src/pages/guides/guide-riot/index.md create mode 100644 docs/src/pages/guides/guide-svelte/index.md create mode 100644 docs/src/pages/guides/guide-vue/index.md rename docs/src/pages/{basics => guides}/quick-start-guide/index.md (66%) create mode 100644 docs/src/pages/guides/slow-start-guide/index.md diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js index 3b807525588..b40be144c7a 100644 --- a/docs/gatsby-config.js +++ b/docs/gatsby-config.js @@ -8,20 +8,23 @@ module.exports = { docSections: { basics: [ '/basics/introduction/', - '/basics/quick-start-guide/', - '/basics/slow-start-guide/', - '/basics/guide-react/', - '/basics/guide-react-native/', - '/basics/guide-vue/', - '/basics/guide-angular/', - '/basics/guide-mithril/', - '/basics/guide-ember/', '/basics/writing-stories/', '/basics/exporting-storybook/', '/basics/faq/', '/basics/community/', '/basics/live-examples/', ], + guides: [ + '/guides/quick-start-guide/', + '/guides/slow-start-guide/', + '/guides/guide-react/', + '/guides/guide-react-native/', + '/guides/guide-vue/', + '/guides/guide-angular/', + '/guides/guide-mithril/', + '/guides/guide-ember/', + '/guides/guide-riot/', + ], configurations: [ '/configurations/options-parameter/', '/configurations/default-config/', diff --git a/docs/src/components/Docs/Content/style.css b/docs/src/components/Docs/Content/style.css index 8ff6de2ccd3..1840a3c5691 100644 --- a/docs/src/components/Docs/Content/style.css +++ b/docs/src/components/Docs/Content/style.css @@ -44,7 +44,7 @@ #docs-content .markdown h3 { font-size: 18px; margin: 30px 0 10px 0; - font-weight: 800; + font-weight: 500; } #docs-content .markdown a, diff --git a/docs/src/pages/basics/guide-angular/index.md b/docs/src/pages/basics/guide-angular/index.md deleted file mode 100644 index 82b2ef31012..00000000000 --- a/docs/src/pages/basics/guide-angular/index.md +++ /dev/null @@ -1,210 +0,0 @@ ---- -id: 'guide-angular' -title: 'Storybook for Angular' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you understand how Storybook works. - -## Starter Guide Angular - -Storybook has its own webpack setup and a dev server. -The webpack setup is very similar to [Angular CLI](https://cli.angular.io), but allows you to [configure it however you want](/configurations/custom-webpack-config/). - -In this guide, we are trying to set up Storybook for your Angular project. - -## Table of contents - -- [Create Angular project](#create-angular-project) -- [Add @storybook/angular and babel-core](#add-storybookangular-and-babel-core) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Create Angular project - -First of all, you need to prepare an Angular project. To do that, run: - -```sh -npm i -g @angular/cli -ng new your-angular-prj -cd your-angular-prj -``` - -## Add @storybook/angular, @babel/core, and babel-loader - -Next, install `@storybook/angular`, `@babel/core`, and `babel-loader` (it's a peerDependency) to your project: - -```sh -npm i --save-dev @storybook/angular @babel/core babel-loader -``` - -Then add the following NPM script to your package json in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For the basic Storybook configuration file, you don't need to do much, but simply tell Storybook where to find stories. - -To do that, simply create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/angular'; - -function loadStories() { - require('../src/stories/index.ts'); -} - -configure(loadStories, module); -``` - -That'll load stories in `../src/stories/index.ts`. - -Just like that, you can load stories from wherever you want to. - -## Storybook TypeScript configuration - -**Note:** You only need this if you are using Storybook `>= 4.0.0-alpha.23`. - -`@storybook/angular` is using [ForkTsCheckerWebpackPlugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to boost the build performance. -This makes it necessary to create a `tsconfig.json` file at `.storybook/tsconfig.json` with the following content: - -```json -{ - "extends": "../tsconfig.json", - "exclude": [ - "../src/test.ts", - "../src/**/*.spec.ts", - "../projects/**/*.spec.ts" - ], - "include": [ - "../src/**/*", - "../projects/**/*" - ] -} -``` - -> Only files that are included in the `include` or `files` section are checked for semantic TypeScript errors. -> For more information visit the [ForkTsCheckerWebpackPlugin documentation](https://github.com/Realytics/fork-ts-checker-webpack-plugin#modules-resolution). - -## Write your stories - -Now you can write some stories inside the `../src/stories/index.ts` file, like this: - -```js -import { storiesOf } from '@storybook/angular'; -import { action } from '@storybook/addon-actions'; -import { MyButtonComponent } from '../app/my-button/my-button.component'; - -storiesOf('My Button', module) - .add('with some emoji', () => ({ - component: MyButtonComponent, - props: { - text: '😀 😎 👍 💯', - }, - })) - .add('with some emoji and action', () => ({ - component: MyButtonComponent, - props: { - text: '😀 😎 👍 💯', - click: action('clicked'), - }, - })); -``` - -Each story is a single state of your component. In the above case, there are two stories for the MyButton component: - -1. story with `@Input()` property binding. -2. story with `@Input()` and `@Output()` property binding. - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. -You'll get those changes into Storybook in a snap with the help of webpack's HMR API. - -## Module Metadata - -If your component has dependencies on other Angular directives and modules, these can be supplied using the `moduleMetadata` property on an individual story: - -```js -import { CommonModule } from '@angular/common'; -import { storiesOf } from '@storybook/angular'; -import { MyButtonComponent } from '../app/my-button/my-button.component'; -import { MyPanelComponent } from '../app/my-panel/my-panel.component'; -import { MyDataService } from '../app/my-data/my-data.service'; - -storiesOf('My Panel', module) - .add('Default', () => ({ - component: MyPanelComponent, - moduleMetadata: { - imports: [CommonModule], - schemas: [], - declarations: [MyButtonComponent], - providers: [MyDataService], - } - })); -``` - -If you have metadata that is common between your stories, this can configured once using the `moduleMetadata()` decorator: - -```js -import { CommonModule } from '@angular/common'; -import { storiesOf, moduleMetadata } from '@storybook/angular'; -import { MyButtonComponent } from '../app/my-button/my-button.component'; -import { MyPanelComponent } from '../app/my-panel/my-panel.component'; -import { MyDataService } from '../app/my-data/my-data.service'; - -storiesOf('My Panel', module) - .addDecorator( - moduleMetadata({ - imports: [CommonModule], - schemas: [], - declarations: [MyButtonComponent], - providers: [MyDataService], - }) - ) - .add('Default', () => ({ - component: MyPanelComponent - })) - .add('with a title', () => ({ - component: MyPanelComponent, - props: { - title: 'Foo', - } - })); -``` -## Trouble Shooting - -If you have problems running @angular/cli using "ng serve" after install specifically the following error: - -```ERROR in node_modules/@storybook/angular/index.d.ts(31,44): error TS2304: Cannot find name 'NodeRequire'.``` - -You may need to exclude your stories from being compiled when running your angular dev environment. To do this add "stories", "\*\*/\*.stories.ts" to the exclude section in src/app/tsconfig.app.json: - -```json -{ - "exclude": [ - "stories", - "**/*.stories.ts" - ] -} -``` - -If you're using scss for styling, you need to have `node-sass` dependency installed on your side (directly or via `@angular/cli`). diff --git a/docs/src/pages/basics/guide-html/index.md b/docs/src/pages/basics/guide-html/index.md deleted file mode 100644 index a954ac03dc9..00000000000 --- a/docs/src/pages/basics/guide-html/index.md +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: 'guide-html' -title: 'Storybook for HTML' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you to understand how Storybook works. - -## Starter Guide HTML - -Storybook has its own Webpack setup and a dev server. - -In this guide, we will set up Storybook for your HTML project. - -## Table of contents - -- [Add @storybook/html](#add-storybookhtml) -- [Add babel-runtime and babel-core](#add-babel-runtime-and-babel-core) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/html - -First of all, you need to add `@storybook/html` to your project. To do that, simply run: - -```sh -npm i --save-dev @storybook/html -``` - -If you don't have `package.json` in your project, you'll need to init it first: - -```sh -npm init -``` - -## Add @babel/core, and babel-loader - -Make sure that you have `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peerDependency: - -```sh -npm i --save-dev @babel/core -npm i --save-dev babel-loader -``` - -Then add the following NPM script to your package json in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For the basic Storybook configuration file, you don't need to do much, but simply tell Storybook where to find stories. - -To do that, simply create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/html'; - -function loadStories() { - require('../stories/index.js'); - // You can require as many stories as you need. -} - -configure(loadStories, module); -``` - -That'll load stories in `../stories/index.js`. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -/* global document */ -import { storiesOf } from '@storybook/html'; - -storiesOf('Demo', module) - .add('heading', () => '

    Hello World

    ') - .add('button', () => { - const button = document.createElement('button'); - button.innerText = 'Hello Button'; - button.addEventListener('click', e => console.log(e)); - return button; - }); - -``` - -Story is a single HTML snippet or DOM node. In the above case, there are two stories: - -1. heading — an HTML snippet -2. button — a DOM node with event listener - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. diff --git a/docs/src/pages/basics/guide-marko/index.md b/docs/src/pages/basics/guide-marko/index.md deleted file mode 100644 index 6daf3419185..00000000000 --- a/docs/src/pages/basics/guide-marko/index.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -id: 'guide-marko' -title: 'Storybook for Marko' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you to understand how Storybook works. - -## Starter Guide Marko - -Storybook has its own Webpack setup and a dev server. - -In this guide, we will set up Storybook for your Marko project. - -## Table of contents - -- [Add @storybook/marko](#add-storybookmarko) -- [Add babel-runtime and babel-core](#add-babel-runtime-and-babel-core) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/marko - -First of all, you need to add `@storybook/marko` to your project. To do that, simply run: - -```sh -npm i --save-dev @storybook/marko -``` - -## Add babel-runtime and babel-core - -Make sure that you have `babel-runtime` and `babel-core` in your dependencies as well because we list these as a peerDependency: - -```sh -npm i --save babel-runtime -npm i --save-dev babel-core -``` - -Then add the following NPM script to your package json in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For the basic Storybook configuration file, you don't need to do much, but simply tell Storybook where to find stories. - -To do that, simply create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/marko'; - -function loadStories() { - require('../stories/index.js'); - // You can require as many stories as you need. -} - -configure(loadStories, module); -``` - -That'll load stories in `../stories/index.js`. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -import { storiesOf } from '@storybook/marko'; -import { action } from '@storybook/addon-actions'; -import Button from '../components/button/index.marko'; - -storiesOf('Button', module) - .add('with action', () => Button.renderSync({ click: action('action logged!') })); -``` - -Story is a single state of your component. - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. diff --git a/docs/src/pages/basics/guide-mithril/index.md b/docs/src/pages/basics/guide-mithril/index.md deleted file mode 100644 index 9f75c147564..00000000000 --- a/docs/src/pages/basics/guide-mithril/index.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -id: 'guide-mithril' -title: 'Storybook for Mithril' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you to understand how Storybook works. - -## Starter Guide Mithril - -Storybook has its own Webpack setup and a dev server. - -In this guide, we will set up Storybook for your Mithril project. - -## Table of contents - -- [Add @storybook/mithril](#add-storybookmithril) -- [Add mithril and babel-core](#add-mithril-and-babel-core) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/mithril - -First of all, you need to add `@storybook/mithril` to your project. To do that, simply run: - -```sh -npm i --save-dev @storybook/mithril -``` - -## Add mithril and babel-core - -Make sure that you have `mithril` and `babel-core` in your dependencies as well because we list these as a peerDependency: - -```sh -npm i --save mithril -npm i --save-dev babel-core -``` - -Then add the following NPM script to your package json in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For the basic Storybook configuration file, you don't need to do much, but simply tell Storybook where to find stories. - -To do that, simply create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/mithril'; - -function loadStories() { - require('../stories/index.js'); - // You can require as many stories as you need. -} - -configure(loadStories, module); -``` - -That'll load stories in `../stories/index.js`. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -/** @jsx m */ - -import m from 'mithril'; - -import { storiesOf } from '@storybook/mithril'; -import { action } from '@storybook/addon-actions'; -import Button from '../components/Button'; - -storiesOf('Button', module) - .add('with text', () => ({ - view: () => - })) - .add('with some emoji', () => ({ - view: () => - })); -``` - -Story is a single state of your component. In the above case, there are two stories for the native button component: - -1. with text -2. with some emoji - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. diff --git a/docs/src/pages/basics/guide-preact/index.md b/docs/src/pages/basics/guide-preact/index.md deleted file mode 100644 index c110a46afbc..00000000000 --- a/docs/src/pages/basics/guide-preact/index.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -id: 'guide-preact' -title: 'Storybook for Preact' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -This will also help you to understand how Storybook works. - -## Starter Guide Preact - -Storybook has its own Webpack setup and a dev server. - -In this guide, we will set up Storybook for your Preact project. - -## Table of contents - -- [Add @storybook/preact](#add-storybookpreact) -- [Add preact, @babel/core, and babel-loader](#add-preact-babel-core-and-babel-loader) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/react - -First of all, you need to add `@storybook/preact` to your project. To do that, run: - -```sh -npm i --save-dev @storybook/preact -``` - -## Add preact, @babel/core, and babel-loader - -Make sure that you have `preact`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: - -```sh -npm i --save preact -npm i --save-dev @babel/core -npm i --save-dev babel-loader -``` - -Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. - -To do that, create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/preact'; - -function loadStories() { - require('../stories/index.js'); - // You can require as many stories as you need. -} - -configure(loadStories, module); -``` - -That'll load stories in `../stories/index.js`. - -Just like that, you can load stories from wherever you want to. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -import { h } from 'preact'; -import { storiesOf } from '@storybook/preact'; - -const Button = ({ children, ...props }) => ; - -storiesOf('Button', module) - .add('with text', () => ) - .add('with some emoji', () => ( - - )); -``` - -Each story is a single state of your component. In the above case, there are two stories for the demo button component: - -1. With text -2. With some emoji - -## Run your Storybook - -Now everything is ready. Run your storybook with: - -```sh -npm run storybook -``` - -Then you can see all your stories, like this: - -![Basic stories](../static/basic-stories.png) - -Now you can change components and write stories whenever you need to. You'll see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/basics/guide-react/index.md b/docs/src/pages/basics/guide-react/index.md deleted file mode 100644 index ed33c1c2e41..00000000000 --- a/docs/src/pages/basics/guide-react/index.md +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: 'guide-react' -title: 'Storybook for React' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -This will also help you to understand how Storybook works. - -## Starter Guide React - -Storybook has its own Webpack setup and a dev server. Webpack setup is very similar to [Create React App](https://github.com/facebookincubator/create-react-app), but allows you to configure it as you want. - -In this guide, we will set up Storybook for your React project. - -## Table of contents - -- [Add @storybook/react](#add-storybookreact) -- [Add react, react-dom, @babel/core, and babel-loader](#add-react-react-dom-babel-core-and-babel-loader) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/react - -First of all, you need to add `@storybook/react` to your project. To do that, run: - -```sh -npm i --save-dev @storybook/react -``` - -## Add react, react-dom, @babel/core, and babel-loader - -Make sure that you have `react`, `react-dom`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: - -```sh -npm i --save react react-dom -npm i --save-dev @babel/core -npm i --save-dev babel-loader -``` - -Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. - -To do that, create a file at `.storybook/config.js` with the following content: - -```js -import { configure } from '@storybook/react'; - -function loadStories() { - require('../stories/index.js'); - // You can require as many stories as you need. -} - -configure(loadStories, module); -``` - -That'll load stories in `../stories/index.js`. - -Just like that, you can load stories from wherever you want to. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -import React from 'react'; -import { storiesOf } from '@storybook/react'; -import { Button } from '@storybook/react/demo'; - -storiesOf('Button', module) - .add('with text', () => ( - - )) - .add('with some emoji', () => ( - - )); -``` - -Each story is a single state of your component. In the above case, there are two stories for the demo button component: - -1. With text -2. With some emoji - -## Run your Storybook - -Now everything is ready. Run your storybook with: - -```sh -npm run storybook -``` - -Then you can see all your stories, like this: - -![Basic stories](../static/basic-stories.png) - -Now you can change components and write stories whenever you need to. You'll see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/basics/guide-riot/index.md b/docs/src/pages/basics/guide-riot/index.md deleted file mode 100644 index b9690202425..00000000000 --- a/docs/src/pages/basics/guide-riot/index.md +++ /dev/null @@ -1,145 +0,0 @@ ---- -id: 'guide-riot' -title: 'Storybook for Riot' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you understand how Storybook works. - -## Starter Guide Riot - -Storybook has its own Webpack setup and a dev server. -The Webpack setup is very similar to [tag-loader](https://github.com/riot/tag-loader), but allows you to [configure it however you want](/configurations/custom-webpack-config/). - -In this guide, we are trying to set up Storybook for your Riot project. - -## Table of contents - -- [Add @storybook/riot](#add-storybookriot) -- [Add riot and babel-loader](#add-riot-and-babel-loader) -- [Create the NPM script](#create-the-npm-script) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/riot - -First of all, you need to add `@storybook/riot` to your project. To do that, simply run: - -```sh -npm i --save-dev @storybook/riot -``` - -## Add riot and babel-loader - -Make sure that you have `riot`, the `riot-compiler`, the `riot-tag-loader` and `babel-loader` in your dependencies as well because we list it as a peerDependency: - -```sh -npm i --save riot -npm i --save-dev babel-core riot-compiler riot-tag-loader -``` - -## Create the NPM script - -Add the following NPM script to your `package.json` in order to start the storybook later in this guide: - - { - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } - } - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -There are 2 things you need to tell Storybook to do: - -1. Import and globally register with [`riot.mount()`](https://riot.js.org/api/#mounting) any global custom components just like you did with your project. -2. Require your stories. - -Here's an example `.storybook/config.js` to get you started: - -```js -import { configure } from '@storybook/riot'; - -// Import your globally available components. -import '../src/stories/Button.tag'; - -function loadStories() { - // You can require as many stories as you need. - require('../src/stories'); -} - -configure(loadStories, module); -``` - -This example registered your custom `Button.tag` component, and loaded your Storybook stories defined in `../stories/index.js`. - -All custom components can be registered before or after calling `configure()`. - -> This stories folder is just an example, you can load stories from wherever you want to. -> We think stories are best located close to the source files. - -## Write your stories - -There are several ways to implement a story using either a text import or a component import - -```js -import { tag, mount, storiesOf } from '@storybook/riot'; -import SimpleTestRaw from './SimpleTest.txt'; //can be loaded as string if you prefer -import './AnotherTest.tag'; -//if you need to import .tag files as text, just use the raw-loader instead of the riot-tag-loader - -storiesOf('Story|How to create a story', module) - .add( - 'built with tag', // the template is compiled below - () => - tag('test', '
    simple test ({ opts.value })
    ', '', '', () => {}) && - mount('test', { value: 'with a parameter' })) - - // tags[0] will be the parent tag, always - // you can leave out the root tag, if we find out that the new root tag - // is a built-in html tag, it will be wrapped - .add('built as string', () => ({ tags: ['
    simple test
    '] }) - - // the component is a string, it will be instantiated without params - // e.g. - .add('built from raw import', () => SimpleTestRaw) - - // the comprehensive form is this one - // list all the possible tags (the root element is in the content) - // then scenario is compiled and executed - .add( - 'built from tags and scenario', - () => ({ - tags: [{ content: SimpleTestRaw, boundAs: 'mustBeUniquePlease' }], - scenario: - '', - }), - { - notes: - 'WARN : the tag file root element must have exactly the same name (or else you will see nothing)', - } - ) - - // the tag is already compiled before running the js - // the tag name 'anothertest' must match exactly the root tag inside the tag file - // mind the lower case - .add('built from the precompilation', () => mount('anothertest', {}), { - notes: 'WARN, only works in lower case, never upper case with precompiled templates', - }); -``` - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. -You'll get those changes into Storybook in a snap with the help of Webpack's HMR API. diff --git a/docs/src/pages/basics/guide-svelte/index.md b/docs/src/pages/basics/guide-svelte/index.md deleted file mode 100644 index 084d34a90f0..00000000000 --- a/docs/src/pages/basics/guide-svelte/index.md +++ /dev/null @@ -1,158 +0,0 @@ ---- -id: 'guide-svelte' -title: 'Storybook for Svelte' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you understand how Storybook works. - -## Starter Guide Svelte - -Storybook has its own Webpack setup and a dev server. - -The Webpack setup is very similar to [Svelte CLI's](https://github.com/sveltejs/svelte-cli), but allows you to [configure it however you want](/configurations/custom-webpack-config/). - -In this guide, we are trying to set up Storybook for your Svelte project. - -> It is very important to remember that Svelte components are precompiled from -> .svelte or .html files to vanilla javascript, so there is no 'runtime'. - -## Table of contents - -- [Add @storybook/svelte](#add-storybooksvelte) -- [Create the NPM script](#create-the-npm-script) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/svelte - -First of all, you need to add `@storybook/svelte` to your project. To do that, simply run: - -```sh -yarn add @storybook/svelte --dev -``` - -## Create the NPM script - -Add the following NPM script to your `package.json` in order to start the storybook later in this guide: - -```json -{ - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } -} -``` - -Those flags mean port (-p) 9001 and configuration (-c) located in the .storybook directory. - -## Create the config file - -Storybook can be configured in several different ways. - -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -Here's an example `.storybook/config.js` to get you started: - -```js -import { configure } from '@storybook/svelte'; - -function loadStories() { - // You can require as many stories as you need. - require('../src/stories'); -} - -configure(loadStories, module); -``` - -> This stories folder is just an example, you can load stories from wherever you want to. -> We think stories are best located close to the source files. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -// Story about MyButton -import { storiesOf } from '@storybook/svelte'; - -import MyButton from '../components/MyButton.svelte'; - -storiesOf('MyButton', module) - .add('simple component example', () => ({ - Component: MyButton, - - data: { - rounded: true - }, - - on: { - click: event => { - console.log('clicked', event); - } - } - })); -``` - -Svelte storybooks don't support using templates in a story yet. Instead, -you can create a .svelte file to compose components together, or simply to access -all normal Svelte functionality, like slots. - -So you can create a story "view" file, essentially just a .svelte file to load -your components into to test. - -```html - - - {buttonText} - -``` - -In this example, the `on:click` that is heard on the `MyButton` component is -simply passed up to the containing component `MyButtonView` using the svelte -shorthand. It's the equivalent to `on:click="fire('click', event)"`, but it's -worth knowing about especially in this "component wrapper" scenario. - -> If your component doesn't use slots, you don't need to do this, but if it does -> or some other svelte functionality that requires the component to exist in a svelte -> view, then this is how to do that. - -You would then write a story for this "view" the exact same way you did with a component. - -```js -// MyButtonView -import { storiesOf } from '@storybook/svelte'; - -import MyButtonView from '../views/MyButtonView.svelte'; - -storiesOf('MyButtonView', module) - .add('wrapped component(s) example', () => ({ - Components: MyButtonView, - - data: { - buttonText: 'Some button text', - rounded: true - }, - - on: { - click: (event) => { - console.log('clicked', event); - } - } - })); -``` - -Each story represents a single state of your component. - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -yarn storybook -``` - -Now you can change components and write stories whenever you need to. -You'll get those changes into Storybook in a snap with the help of Webpack's HMR API. diff --git a/docs/src/pages/basics/guide-vue/index.md b/docs/src/pages/basics/guide-vue/index.md deleted file mode 100644 index 2fa14f4da3e..00000000000 --- a/docs/src/pages/basics/guide-vue/index.md +++ /dev/null @@ -1,130 +0,0 @@ ---- -id: 'guide-vue' -title: 'Storybook for Vue' ---- - -You may have tried to use our quick start guide to setup your project for Storybook. If you want to set up Storybook manually, this is the guide for you. - -> This will also help you understand how Storybook works. - -## Starter Guide Vue - -Storybook has its own Webpack setup and a dev server. -The Webpack setup is very similar to [Vue CLI's](https://github.com/vuejs/vue-cli), but allows you to [configure it however you want](/configurations/custom-webpack-config/). - -In this guide, we are trying to set up Storybook for your Vue project. - -## Table of contents - -- [Add @storybook/vue](#add-storybookvue) -- [Add vue and babel-core](#add-vue-and-babel-core) -- [Create the NPM script](#create-the-npm-script) -- [Create the config file](#create-the-config-file) -- [Write your stories](#write-your-stories) -- [Run your Storybook](#run-your-storybook) - -## Add @storybook/vue - -First of all, you need to add `@storybook/vue` to your project. To do that, simply run: - -```sh -npm i --save-dev @storybook/vue -``` - -## Add vue, babel-core, and babel-loader - -Make sure that you have `vue`, `babel-core`, `babel-loader` in your dependencies as well because we list it as a peerDependency: - -```sh -npm i --save vue -npm i --save-dev babel-loader vue-loader vue-template-compiler -npm i --save-dev @babel/core babel-preset-vue -``` - -## Create the NPM script - -Add the following NPM script to your `package.json` in order to start the storybook later in this guide: - - { - "scripts": { - "storybook": "start-storybook -p 9001 -c .storybook" - } - } - -## Create the config file - -Storybook can be configured in several different ways. -That’s why we need a config directory. We've added a `-c` option to the above NPM script mentioning `.storybook` as the config directory. - -There are 3 things you need to tell Storybook to do: - -1. Import and globally register with [`Vue.component()`](https://vuejs.org/v2/api/#Vue-component) any global custom components just like you did with your project. (Note: [components registered locally](https://vuejs.org/v2/guide/components.html#Local-Registration) will be brought in automatically). -2. For any required Vue plugins (e.g. `vuex`), you'll also need to [install these with `Vue.use`](https://vuejs.org/v2/api/#Vue-use). -3. Require your stories. - -Here's an example `.storybook/config.js` to get you started: - -```js -import { configure } from '@storybook/vue'; - -import Vue from 'vue'; -import Vuex from 'vuex'; // Vue plugins - -// Import your custom components. -import Mybutton from '../src/stories/Button.vue'; - -// Install Vue plugins. -Vue.use(Vuex); - -// Register custom components. -Vue.component('my-button', Mybutton); - -function loadStories() { - // You can require as many stories as you need. - require('../src/stories'); -} - -configure(loadStories, module); -``` - -This example registered your custom `Button.vue` component, installed the Vuex plugin, and loaded your Storybook stories defined in `../stories/index.js`. - -All custom components and Vue plugins should be registered before calling `configure()`. - -> This stories folder is just an example, you can load stories from wherever you want to. -> We think stories are best located close to the source files. - -## Write your stories - -Now you can write some stories inside the `../stories/index.js` file, like this: - -```js -import Vue from 'vue'; - -import { storiesOf } from '@storybook/vue'; - -import MyButton from './Button.vue'; - -storiesOf('MyButton', module) - .add('story as a template', () => 'story as a function template') - .add('story as a component', () => ({ - components: { MyButton }, - template: 'rounded' - })); -``` - -Each story is a single state of your component. In the above case, there are two stories for the MyButton component: - -1. story as a template -2. story as a component - -## Run your Storybook - -Now everything is ready. Simply run your storybook with: - -```sh -npm run storybook -``` - -Now you can change components and write stories whenever you need to. -You'll get those changes into Storybook in a snap with the help of Webpack's HMR API. diff --git a/docs/src/pages/basics/slow-start-guide/index.md b/docs/src/pages/basics/slow-start-guide/index.md deleted file mode 100644 index 02b64af3167..00000000000 --- a/docs/src/pages/basics/slow-start-guide/index.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -id: 'slow-start-guide' -title: 'Slow Start Guide' ---- - -Storybook supports multiple UI libraries. The manual setup for each framework is different: - -- [Storybook for React](/basics/guide-react/) -- [Storybook for React Native](/basics/guide-react-native/) -- [Storybook for Vue](/basics/guide-vue/) -- [Storybook for Angular](/basics/guide-angular/) -- [Storybook for Mithril](/basics/guide-mithril/) -- [Storybook for Marko](/basics/guide-marko/) -- [Storybook for HTML](/basics/guide-html/) -- [Storybook for Svelte](/basics/guide-svelte/) -- [Storybook for Riot](/basics/guide-riot/) -- [Storybook for Preact](/basics/guide-preact/) diff --git a/docs/src/pages/configurations/custom-webpack-config/index.md b/docs/src/pages/configurations/custom-webpack-config/index.md index 3799d04f2b7..e2106ec7d30 100644 --- a/docs/src/pages/configurations/custom-webpack-config/index.md +++ b/docs/src/pages/configurations/custom-webpack-config/index.md @@ -5,6 +5,143 @@ title: 'Custom Webpack Config' You can customize Storybook's webpack setup by providing a `webpack.config.js` file exporting a **webpack 4** compatible config exported as a **commonjs module**. +Storybook has its own Webpack setup and a dev server. +The webpack config [is configurable](/configurations/webpack), and the default can depend on whether you are using [Create React App](https://github.com/facebookincubator/create-react-app). + +Here's what the default webpack looks like in dev-mode: +```js +{ + mode: 'development', + bail: false, + devtool: '#cheap-module-source-map', + entry: [ + '@storybook/core/dist/server/common/polyfills.js', + '@storybook/core/dist/server/preview/globals.js', + '/config.js', + 'webpack-hot-middleware/client.js?reload=true', + ], + output: { + path: './', + filename: '[name].[hash].bundle.js', + publicPath: '', + }, + plugins: [ + HtmlWebpackPlugin { + options: { + template: '@storybook/core/dist/server/templates/index.ejs', + templateContent: false, + templateParameters: [Function: templateParameters], + filename: 'iframe.html', + hash: false, + inject: false, + compile: true, + favicon: false, + minify: undefined, + cache: true, + showErrors: true, + chunks: 'all', + excludeChunks: [], + chunksSortMode: 'none', + meta: {}, + title: 'Webpack App', + xhtml: false, + alwaysWriteToDisk: true, + }, + }, + DefinePlugin { + definitions: { + 'process.env': { + NODE_ENV: '"development"', + NODE_PATH: '""', + PUBLIC_URL: '"."', + '' + '' + }, + }, + }, + WatchMissingNodeModulesPlugin { + nodeModulesPath: './node_modules', + }, + HotModuleReplacementPlugin {}, + CaseSensitivePathsPlugin {}, + ProgressPlugin {}, + DefinePlugin { + definitions: { + '' + '' + }, + }, + ], + module: { + rules: [ + { test: /\.(mjs|jsx?)$/, + use: [ + { loader: 'babel-loader', options: + { cacheDirectory: './node_modules/.cache/storybook', + presets: [ + [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], + './node_modules/@babel/preset-react/lib/index.js', + './node_modules/@babel/preset-flow/lib/index.js', + ], + plugins: [ + './node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', + './node_modules/@babel/plugin-proposal-class-properties/lib/index.js', + './node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', + [ './node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], + './node_modules/babel-plugin-macros/dist/index.js', + './node_modules/@babel/plugin-transform-react-constant-elements/lib/index.js', + './node_modules/babel-plugin-add-react-displayname/index.js', + [ './node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ], + ], + }, + }, + ], + include: [ './' ], + exclude: [ './node_modules' ], + }, + { test: /\.md$/, + use: [ + { loader: './node_modules/raw-loader/index.js' }, + ], + }, + { test: /\.css$/, + use: [ + './node_modules/style-loader/index.js', + { loader: './node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } }, + { loader: './node_modules/postcss-loader/src/index.js', options: { ident: 'postcss', postcss: {}, plugins: [Function: plugins] } }, + ], + }, + { test: /\.(svg|ico|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|cur|ani)(\?.*)?$/, + loader: './node_modules/file-loader/dist/cjs.js', + query: { name: 'static/media/[name].[hash:8].[ext]' }, + }, + { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, + loader: './node_modules/url-loader/dist/cjs.js', + query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' }, + }, + ], + }, + resolve: { + extensions: [ '.mjs', '.js', '.jsx', '.json' ], + modules: [ 'node_modules' ], + mainFields: [ 'browser', 'main', 'module' ], + alias: { + 'core-js': './node_modules/core-js', + react: './node_modules/react', + 'react-dom': './node_modules/react-dom', + }, + }, + optimization: { + splitChunks: { chunks: 'all' }, + runtimeChunk: true, + minimizer: [ [Object] ], + }, + performance: { hints: false }, +} +``` + + + The file can export an object or a function. The former configures in [extend mode](#extend-mode), the latter in [full control mode](#full-control-mode), both described here. ## Extend Mode diff --git a/docs/src/pages/guides/guide-angular/index.md b/docs/src/pages/guides/guide-angular/index.md new file mode 100644 index 00000000000..1f0c082c627 --- /dev/null +++ b/docs/src/pages/guides/guide-angular/index.md @@ -0,0 +1,147 @@ +--- +id: 'guide-angular' +title: 'Storybook for Angular' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using angular, you could try forcing it to use angular: + +```sh +npx -p @storybook/cli sb init --type angular +``` + +## Manual setup + +If you want to set up Storybook manually for your Angular project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/angular + +Add `@storybook/angular` to your project. To do that, run: + +```sh +npm install @storybook/angular --save-dev +``` + +### Add @babel/core, and babel-loader + +Make sure that you have `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```ts +import { configure } from '@storybook/angular'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```ts +> import { configure } from '@storybook/angular'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.ts$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Storybook TypeScript configuration + +`@storybook/angular` is using [ForkTsCheckerWebpackPlugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to boost the build performance. +This makes it necessary to create a `tsconfig.json` file at `.storybook/tsconfig.json` with the following content: + +```json +{ + "extends": "../tsconfig.json", + "exclude": [ + "../src/test.ts", + "../src/**/*.spec.ts", + "../projects/**/*.spec.ts" + ], + "include": [ + "../src/**/*", + "../projects/**/*" + ] +} +``` + +## Step 5: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```ts +import { storiesOf } from '@storybook/angular'; +import { Button } from '@storybook/angular/demo'; + +storiesOf('My Button', module) + .add('with emoji', () => ({ + component: Button, + props: { + text: '😀 😎 👍 💯', + }, + })) + .add('with emoji', () => ({ + component: Button, + props: { + text: '😀 😎 👍 💯', + }, + })); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/basics/guide-ember/index.md b/docs/src/pages/guides/guide-ember/index.md similarity index 100% rename from docs/src/pages/basics/guide-ember/index.md rename to docs/src/pages/guides/guide-ember/index.md diff --git a/docs/src/pages/guides/guide-html/index.md b/docs/src/pages/guides/guide-html/index.md new file mode 100644 index 00000000000..8db981a626d --- /dev/null +++ b/docs/src/pages/guides/guide-html/index.md @@ -0,0 +1,128 @@ +--- +id: 'guide-html' +title: 'Storybook for HTML' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using html, you could try forcing it to use html: + +```sh +npx -p @storybook/cli sb init --type html +``` + +## Manual setup + +If you want to set up Storybook manually for your html project, this is the guide for you. + +## Step 1: Add dependencies + +### Init npm if necessary + +If you don't have `package.json` in your project, you'll need to init it first: + +```sh +npm init +``` + +### Add @storybook/html + +Add `@storybook/html` to your project. To do that, run: + +```sh +npm install @storybook/html --save-dev +``` + +### Add @babel/core and babel-loader + +Make sure that you have `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/html'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/html'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import { storiesOf } from '@storybook/html'; + +storiesOf('Button', module) + .add('with text', () => '') + .add('with emoji', () => { + const button = document.createElement('button'); + button.innerText = '😀 😎 👍 💯'; + return button; + }); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-marko/index.md b/docs/src/pages/guides/guide-marko/index.md new file mode 100644 index 00000000000..943efbb5529 --- /dev/null +++ b/docs/src/pages/guides/guide-marko/index.md @@ -0,0 +1,120 @@ +--- +id: 'guide-marko' +title: 'Storybook for Marko' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using marko, you could try forcing it to use marko: + +```sh +npx -p @storybook/cli sb init --type marko +``` + +## Manual setup + +If you want to set up Storybook manually for your marko project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/marko + +Add `@storybook/marko` to your project. To do that, run: + +```sh +npm install @storybook/marko --save-dev +``` + +### Add marko, @babel/core and babel-loader + +Make sure that you have `marko`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/marko'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/marko'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +/** @jsx m */ + +import m from 'marko'; +import { storiesOf } from '@storybook/marko'; +import Button from '../components/button/index.marko'; + +storiesOf('Button', module) + .add('with text', () => Button.renderSync({ text: 'some text'})) + .add('with emoji', () => Button.renderSync({ text: '😀 😎 👍 💯'})); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-mithril/index.md b/docs/src/pages/guides/guide-mithril/index.md new file mode 100644 index 00000000000..5cd447794e1 --- /dev/null +++ b/docs/src/pages/guides/guide-mithril/index.md @@ -0,0 +1,125 @@ +--- +id: 'guide-mithril' +title: 'Storybook for Mithril' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using mithril, you could try forcing it to use mithril: + +```sh +npx -p @storybook/cli sb init --type mithril +``` + +## Manual setup + +If you want to set up Storybook manually for your mithril project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/mithril + +Add `@storybook/mithril` to your project. To do that, run: + +```sh +npm install @storybook/mithril --save-dev +``` + +### Add mithril, @babel/core and babel-loader + +Make sure that you have `mithril`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install mithril --save +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/mithril'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/mithril'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +/** @jsx m */ + +import m from 'mithril'; +import { storiesOf } from '@storybook/mithril'; +import { Button } from ''; + +storiesOf('Button', module) + .add('with text', () => ( + + )) + .add('with emoji', () => ( + + )); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-preact/index.md b/docs/src/pages/guides/guide-preact/index.md new file mode 100644 index 00000000000..21f33354d9f --- /dev/null +++ b/docs/src/pages/guides/guide-preact/index.md @@ -0,0 +1,123 @@ +--- +id: 'guide-preact' +title: 'Storybook for Preact' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using preact, you could try forcing it to use preact: + +```sh +npx -p @storybook/cli sb init --type preact +``` + +## Manual setup + +If you want to set up Storybook manually for your preact project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/preact + +Add `@storybook/preact` to your project. To do that, run: + +```sh +npm install @storybook/preact --save-dev +``` + +### Add preact, @babel/core and babel-loader + +Make sure that you have `preact`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install preact --save +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/preact'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/preact'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import { h } from 'preact'; +import { storiesOf } from '@storybook/preact'; +import { Button } from ''; + +storiesOf('Button', module) + .add('with text', () => ( + + )) + .add('with emoji', () => ( + + )); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/basics/guide-react-native/index.md b/docs/src/pages/guides/guide-react-native/index.md similarity index 95% rename from docs/src/pages/basics/guide-react-native/index.md rename to docs/src/pages/guides/guide-react-native/index.md index f7d6adada7f..5a1d3a55daf 100644 --- a/docs/src/pages/basics/guide-react-native/index.md +++ b/docs/src/pages/guides/guide-react-native/index.md @@ -5,13 +5,14 @@ title: 'Storybook for React Native' This guide will help you to manually setup React Native Storybook and explain about addons and Storybook server. +## Automatic setup -## Table of contents +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using react-native, you could try forcing it to use react-native: -- [Manual setup](#manual-setup) -- [Writing stories](#writing-stories) -- [Addons](#addons) -- [Storybook Server](#storybook-server) +```sh +npx -p @storybook/cli sb init --type react-native +``` ## Manual setup diff --git a/docs/src/pages/guides/guide-react/index.md b/docs/src/pages/guides/guide-react/index.md new file mode 100644 index 00000000000..51d47c08b79 --- /dev/null +++ b/docs/src/pages/guides/guide-react/index.md @@ -0,0 +1,123 @@ +--- +id: 'guide-react' +title: 'Storybook for React' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using react, you could try forcing it to use react: + +```sh +npx -p @storybook/cli sb init --type react +``` + +## Manual setup + +If you want to set up Storybook manually for your React project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/react + +Add `@storybook/react` to your project. To do that, run: + +```sh +npm install @storybook/react --save-dev +``` + +### Add react, react-dom, @babel/core, and babel-loader + +Make sure that you have `react`, `react-dom`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install react react-dom --save +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/react'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/react'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import React from 'react'; +import { storiesOf } from '@storybook/react'; +import { Button } from '@storybook/react/demo'; + +storiesOf('Button', module) + .add('with text', () => ( + + )) + .add('with emoji', () => ( + + )); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-react/new.md b/docs/src/pages/guides/guide-react/new.md new file mode 100644 index 00000000000..6e304e575bf --- /dev/null +++ b/docs/src/pages/guides/guide-react/new.md @@ -0,0 +1,158 @@ + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using vue, you could try forcing it to use vue: + +```sh +npx -p @storybook/cli sb init --type vue +``` + +## Manual setup + +If you want to set up Storybook manually for your React project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/vue + +Add `@storybook/vue` to your project. To do that, run: + +```sh +npm install @storybook/vue --save-dev +``` + +### Add vue, vue-dom, @babel/core, and babel-loader + +Make sure that you have `vue`, `vue-loader`, `vue-template-compiler`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install vue --save +npm install babel-loader vue-loader vue-template-compiler @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/vue'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/vue'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + + +> You might be using global components or vue plugins such as vuex, in that case you'll need to register them in this `config.js` file. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/vue'; +> +> import Vue from 'vue'; +> +> // Import Vue plugins +> import Vuex from 'vuex'; +> +> // Import your global components. +> import Mybutton from '../src/stories/Button.vue'; +> +> // Install Vue plugins. +> Vue.use(Vuex); +> +> // Register global components. +> Vue.component('my-button', Mybutton); +> +> function loadStories() { +> // You can require as many stories as you need. +> require('../src/stories'); +> } +> +> configure(loadStories, module); +> ``` +> +> This example registered your custom `Button.vue` component, installed the Vuex plugin, and loaded your Storybook stories defined in `../stories/index.js`. +> +> All custom components and Vue plugins should be registered before calling `configure()`. +> +>
    + + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import Vue from 'vue'; +import { storiesOf } from '@storybook/vue'; +import MyButton from './Button.vue'; + +storiesOf('Button', module) + .add('with text', () => 'with text') + .add('with emoji', () => '😀 😎 👍 💯') + .add('as a component', () => ({ + components: { MyButton }, + template: 'rounded' + })); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + ├── with emoji + └── as a component +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-riot/index.md b/docs/src/pages/guides/guide-riot/index.md new file mode 100644 index 00000000000..5afa2cacb2e --- /dev/null +++ b/docs/src/pages/guides/guide-riot/index.md @@ -0,0 +1,199 @@ +--- +id: 'guide-riot' +title: 'Storybook for Riot' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using riot, you could try forcing it to use riot: + +```sh +npx -p @storybook/cli sb init --type riot +``` + +## Manual setup + +If you want to set up Storybook manually for your Angular project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/riot + +Add `@storybook/riot` to your project. To do that, run: + +```sh +npm install @storybook/riot --save-dev +``` + +### Add riot, @babel/core, and babel-loader + +Make sure that you have `riot`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install riot babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```ts +import { configure } from '@storybook/riot'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```ts +> import { configure } from '@storybook/riot'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.ts$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + + +> Additionally this is the place where you can register global component. +> +>
    +> details +> +> ```ts +> import { configure } from '@storybook/riot'; +> +> // Import your globally available components. +> import '../src/stories/Button.tag'; +> +> function loadStories() { +> require('../stories/index.js'); +> // You can require as many stories as you need. +} +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Storybook TypeScript configuration + +`@storybook/riot` is using [ForkTsCheckerWebpackPlugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to boost the build performance. +This makes it necessary to create a `tsconfig.json` file at `.storybook/tsconfig.json` with the following content: + +```json +{ + "extends": "../tsconfig.json", + "exclude": [ + "../src/test.ts", + "../src/**/*.spec.ts", + "../projects/**/*.spec.ts" + ], + "include": [ + "../src/**/*", + "../projects/**/*" + ] +} +``` + +## Step 5: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import { tag, mount, storiesOf } from '@storybook/riot'; +import SimpleTestRaw from './SimpleTest.txt'; //can be loaded as string if you prefer +import './AnotherTest.tag'; +//if you need to import .tag files as text, just use the raw-loader instead of the riot-tag-loader + +storiesOf('My Component', module) + .add( + 'built with tag', // the template is compiled below + () => + tag('test', '
    simple test ({ opts.value })
    ', '', '', () => {}) && + mount('test', { value: 'with a parameter' })) + + // tags[0] will be the parent tag, always + // you can leave out the root tag, if we find out that the new root tag + // is a built-in html tag, it will be wrapped + .add('built as string', () => ({ tags: ['
    simple test
    '] }) + + // the component is a string, it will be instantiated without params + // e.g. + .add('built from raw import', () => SimpleTestRaw) + + // the comprehensive form is this one + // list all the possible tags (the root element is in the content) + // then scenario is compiled and executed + .add( + 'built from tags and scenario', + () => ({ + tags: [{ content: SimpleTestRaw, boundAs: 'mustBeUniquePlease' }], + scenario: + '', + }), + { + notes: + 'WARN : the tag file root element must have exactly the same name (or else you will see nothing)', + } + ) + + // the tag is already compiled before running the js + // the tag name 'anothertest' must match exactly the root tag inside the tag file + // mind the lower case + .add('built from the precompilation', () => mount('anothertest', {}), { + notes: 'WARN, only works in lower case, never upper case with precompiled templates', + }); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +My Component + ├── built with tag + ├── built as string + ├── bubuilt from raw import + ├── built from tags and scenario + └── built from the precompilation +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-svelte/index.md b/docs/src/pages/guides/guide-svelte/index.md new file mode 100644 index 00000000000..4de2e5329a8 --- /dev/null +++ b/docs/src/pages/guides/guide-svelte/index.md @@ -0,0 +1,171 @@ +--- +id: 'guide-svelte' +title: 'Storybook for Svelte' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using svelte, you could try forcing it to use svelte: + +```sh +npx -p @storybook/cli sb init --type svelte +``` + +## Manual setup + +If you want to set up Storybook manually for your React project, this is the guide for you. + +> It is very important to remember that Svelte components are precompiled from `.svelte` or `.html` files to vanilla javascript, so there is no 'runtime'. + +## Step 1: Add dependencies + +### Add @storybook/svelte + +Add `@storybook/svelte` to your project. To do that, run: + +```sh +npm install @storybook/svelte --save-dev +``` + +### @babel/core, and babel-loader + +Make sure that you have `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/svelte'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/svelte'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import { storiesOf } from '@storybook/svelte'; +import MyButton from '../components/MyButton.svelte'; + +storiesOf('MyButton', module) + .add('with text', () => ({ + Component: MyButton, + data: { + buttonText: 'some text', + }, + })), + .add('with text', () => ({ + Component: MyButton, + + data: { + buttonText: '😀 😎 👍 💯', + }, + })); +``` + +Svelte storybooks don't support using templates in a story yet. +Instead, you can create a `.svelte` file to compose components together, or simply to access all normal Svelte functionality, like slots. + +So you can create a story "view" file, essentially just a .svelte file to load your components into to test. + +```html + + + {buttonText} + +``` + +In this example, the `on:click` that is heard on the `MyButton` component is simply passed up to the containing component `MyButtonView` using the svelte shorthand. +It's the equivalent to `on:click="fire('click', event)"`, but it's worth knowing about especially in this "component wrapper" scenario. + +> If your component doesn't use slots, you don't need to do this, but if it does or some other svelte functionality that requires the component to exist in a svelte view, then this is how to do that. + +You would then write a story for this "view" the exact same way you did with a component. + +```js +import { storiesOf } from '@storybook/svelte'; +import MyButtonView from '../views/MyButtonView.svelte'; + +storiesOf('Button', module) + .add('wrapped component(s) example', () => ({ + Components: MyButtonView, + + data: { + buttonText: 'some text', + rounded: true, + }, + + on: { + click: (event) => { + console.log('clicked', event); + }, + }, + })); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + ├── with emoji + └── wrapped component(s) example +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-vue/index.md b/docs/src/pages/guides/guide-vue/index.md new file mode 100644 index 00000000000..c11a4e55102 --- /dev/null +++ b/docs/src/pages/guides/guide-vue/index.md @@ -0,0 +1,162 @@ +--- +id: 'guide-vue' +title: 'Storybook for Vue' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using vue, you could try forcing it to use vue: + +```sh +npx -p @storybook/cli sb init --type vue +``` + +## Manual setup + +If you want to set up Storybook manually for your React project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/vue + +Add `@storybook/vue` to your project. To do that, run: + +```sh +npm install @storybook/vue --save-dev +``` + +### Add vue, vue-dom, @babel/core, and babel-loader + +Make sure that you have `vue`, `vue-loader`, `vue-template-compiler`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install vue --save +npm install babel-loader vue-loader vue-template-compiler @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/vue'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/vue'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + + +> You might be using global components or vue plugins such as vuex, in that case you'll need to register them in this `config.js` file. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/vue'; +> +> import Vue from 'vue'; +> +> // Import Vue plugins +> import Vuex from 'vuex'; +> +> // Import your global components. +> import Mybutton from '../src/stories/Button.vue'; +> +> // Install Vue plugins. +> Vue.use(Vuex); +> +> // Register global components. +> Vue.component('my-button', Mybutton); +> +> function loadStories() { +> // You can require as many stories as you need. +> require('../src/stories'); +> } +> +> configure(loadStories, module); +> ``` +> +> This example registered your custom `Button.vue` component, installed the Vuex plugin, and loaded your Storybook stories defined in `../stories/index.js`. +> +> All custom components and Vue plugins should be registered before calling `configure()`. +> +>
    + + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import Vue from 'vue'; +import { storiesOf } from '@storybook/vue'; +import MyButton from './Button.vue'; + +storiesOf('Button', module) + .add('with text', () => 'with text') + .add('with emoji', () => '😀 😎 👍 💯') + .add('as a component', () => ({ + components: { MyButton }, + template: 'rounded' + })); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + ├── with emoji + └── as a component +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/basics/quick-start-guide/index.md b/docs/src/pages/guides/quick-start-guide/index.md similarity index 66% rename from docs/src/pages/basics/quick-start-guide/index.md rename to docs/src/pages/guides/quick-start-guide/index.md index 462f1f9dde7..06806a5ca8f 100644 --- a/docs/src/pages/basics/quick-start-guide/index.md +++ b/docs/src/pages/guides/quick-start-guide/index.md @@ -15,11 +15,19 @@ npx -p @storybook/cli sb init The tool inspects your `package.json` to determine which view layer you're using. If you want to develop HTML snippets in storybook, we can't determine that automatically. So to install storybook for HTML, use the `--type` flag to force that the HTML project type: -``` +```sh npx -p @storybook/cli sb init --type html ``` -To setup a project manually, take a look at the [Slow Start Guide](/basics/slow-start-guide/). +It's also useful if our automatic detection fails. + +By default npx will use the latest version, if you want to try out an next version, you can use the following: + +```sh +npx -p @storybook/cli@5.0.0-rc.6 sb init +``` + +To setup a project manually, take a look at the [Slow Start Guide](/guides/slow-start-guide/). Start Storybook with: @@ -33,16 +41,16 @@ Storybook should now be available in the browser with a link provided in the con To learn more about what the Storybook CLI command `sb init` command does, have a look at the slow start guides: -- [React](/basics/guide-react/) -- [React Native](/basics/guide-react-native/) -- [Vue](/basics/guide-vue/) -- [Angular](/basics/guide-angular/) -- [Mithril](/basics/guide-mithril/) -- [Marko](/basics/guide-marko/) -- [HTML](/basics/guide-html/) -- [Svelte](/basics/guide-svelte/) -- [Ember](/basics/guide-ember/) -- [Riot](/basics/guide-riot/) -- [Preact](/basics/guide-preact/) +- [React](/guides/guide-react/) +- [React Native](/guides/guide-react-native/) +- [Vue](/guides/guide-vue/) +- [Angular](/guides/guide-angular/) +- [Mithril](/guides/guide-mithril/) +- [Marko](/guides/guide-marko/) +- [HTML](/guides/guide-html/) +- [Svelte](/guides/guide-svelte/) +- [Ember](/guides/guide-ember/) +- [Riot](/guides/guide-riot/) +- [Preact](/guides/guide-preact/) A tutorial is also available at [Learn Storybook](https://www.learnstorybook.com) for a step-by-step guide (only available for React). diff --git a/docs/src/pages/guides/slow-start-guide/index.md b/docs/src/pages/guides/slow-start-guide/index.md new file mode 100644 index 00000000000..ce972a6183b --- /dev/null +++ b/docs/src/pages/guides/slow-start-guide/index.md @@ -0,0 +1,17 @@ +--- +id: 'slow-start-guide' +title: 'Slow Start Guide' +--- + +Storybook supports multiple UI libraries. The manual setup for each framework is different: + +- [Storybook for React](/guides/guide-react/) +- [Storybook for React Native](/guides/guide-react-native/) +- [Storybook for Vue](/guides/guide-vue/) +- [Storybook for Angular](/guides/guide-angular/) +- [Storybook for Mithril](/guides/guide-mithril/) +- [Storybook for Marko](/guides/guide-marko/) +- [Storybook for HTML](/guides/guide-html/) +- [Storybook for Svelte](/guides/guide-svelte/) +- [Storybook for Riot](/guides/guide-riot/) +- [Storybook for Preact](/guides/guide-preact/) diff --git a/docs/src/stories/data.js b/docs/src/stories/data.js index 816195daa62..8e2fdd884ce 100644 --- a/docs/src/stories/data.js +++ b/docs/src/stories/data.js @@ -21,6 +21,15 @@ export const docsData = { { id: 'build-as-a-static-app', title: 'Build as a Static App' }, ], }, + { + id: 'guides', + heading: 'Guides', + items: [ + { id: 'getting-started', title: 'Getting Started' }, + { id: 'writing-stories', title: 'Writing Stories' }, + { id: 'build-as-a-static-app', title: 'Build as a Static App' }, + ], + }, { id: 'configurations', heading: 'Configuations', diff --git a/docs/src/templates/_docstemplate.jsx b/docs/src/templates/_docstemplate.jsx index 5c495013ed5..7b3b70a6316 100644 --- a/docs/src/templates/_docstemplate.jsx +++ b/docs/src/templates/_docstemplate.jsx @@ -6,8 +6,8 @@ import Docs from '../components/Docs'; const categories = [ { - id: 'react-storybook', - title: 'React Storybook', + id: 'storybook', + title: 'Storybook', }, ]; @@ -86,6 +86,7 @@ export const pageQuery = graphql` siteMetadata { docSections { basics + guides configurations testing addons diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index c49d5e067fa..f954930c1de 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -10,7 +10,7 @@ "generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json", "graphql": "node ./graphql-server/index.js", "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", - "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -c ./ -s built-storybooks --no-dll" }, "devDependencies": { "@storybook/addon-a11y": "5.0.0-beta.3", diff --git a/examples/official-storybook/webpack.config.js b/examples/official-storybook/webpack.config.js index fe957caf62c..9fa766e9f1b 100644 --- a/examples/official-storybook/webpack.config.js +++ b/examples/official-storybook/webpack.config.js @@ -1,51 +1,52 @@ const path = require('path'); const { DefinePlugin, ContextReplacementPlugin } = require('webpack'); -module.exports = async ({ config }) => ({ - ...config, - module: { - ...config.module, - rules: [ - ...config.module.rules, - { - test: /\.stories\.jsx?$/, - use: require.resolve('@storybook/addon-storysource/loader'), - include: [ - path.resolve(__dirname, './stories'), - path.resolve(__dirname, '../../lib/ui/src'), - path.resolve(__dirname, '../../lib/components/src'), - ], - enforce: 'pre', - }, - { - test: /\.js/, - use: config.module.rules[0].use, - include: [ - path.resolve(__dirname, '../../lib/ui/src'), - path.resolve(__dirname, '../../lib/components/src'), - ], - }, - { - test: /\.tsx?$/, - use: [ - { - loader: require.resolve('ts-loader'), - }, - ], - }, +module.exports = async ({ config }) => + console.dir(config.plugins, { depth: null }) || { + ...config, + module: { + ...config.module, + rules: [ + ...config.module.rules, + { + test: /\.stories\.jsx?$/, + use: require.resolve('@storybook/addon-storysource/loader'), + include: [ + path.resolve(__dirname, './stories'), + path.resolve(__dirname, '../../lib/ui/src'), + path.resolve(__dirname, '../../lib/components/src'), + ], + enforce: 'pre', + }, + { + test: /\.js/, + use: config.module.rules[0].use, + include: [ + path.resolve(__dirname, '../../lib/ui/src'), + path.resolve(__dirname, '../../lib/components/src'), + ], + }, + { + test: /\.tsx?$/, + use: [ + { + loader: require.resolve('ts-loader'), + }, + ], + }, + ], + }, + plugins: [ + ...config.plugins, + // graphql sources check process variable + new DefinePlugin({ + process: JSON.stringify(true), + }), + // See https://github.com/graphql/graphql-language-service/issues/111#issuecomment-306723400 + new ContextReplacementPlugin(/graphql-language-service-interface[/\\]dist/, /\.js$/), ], - }, - plugins: [ - ...config.plugins, - // graphql sources check process variable - new DefinePlugin({ - process: JSON.stringify(true), - }), - // See https://github.com/graphql/graphql-language-service/issues/111#issuecomment-306723400 - new ContextReplacementPlugin(/graphql-language-service-interface[/\\]dist/, /\.js$/), - ], - resolve: { - ...config.resolve, - extensions: [...(config.resolve.extensions || []), '.ts', '.tsx'], - }, -}); + resolve: { + ...config.resolve, + extensions: [...(config.resolve.extensions || []), '.ts', '.tsx'], + }, + }; From 91be9e8fee73271fa53261d4158a7283f4260562 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:00:35 +0100 Subject: [PATCH 128/249] IMPROVE webpack docs --- .../custom-webpack-config/index.md | 299 ++++++++++-------- 1 file changed, 167 insertions(+), 132 deletions(-) diff --git a/docs/src/pages/configurations/custom-webpack-config/index.md b/docs/src/pages/configurations/custom-webpack-config/index.md index e2106ec7d30..ba92df93140 100644 --- a/docs/src/pages/configurations/custom-webpack-config/index.md +++ b/docs/src/pages/configurations/custom-webpack-config/index.md @@ -6,145 +6,170 @@ title: 'Custom Webpack Config' You can customize Storybook's webpack setup by providing a `webpack.config.js` file exporting a **webpack 4** compatible config exported as a **commonjs module**. Storybook has its own Webpack setup and a dev server. -The webpack config [is configurable](/configurations/webpack), and the default can depend on whether you are using [Create React App](https://github.com/facebookincubator/create-react-app). +The webpack config [is configurable](/configurations/webpack), and the default can depend on which framework you're using and whether you've used a generator like [Create React App](https://github.com/facebookincubator/create-react-app) or Angular CLI etc. -Here's what the default webpack looks like in dev-mode: -```js -{ - mode: 'development', - bail: false, - devtool: '#cheap-module-source-map', - entry: [ - '@storybook/core/dist/server/common/polyfills.js', - '@storybook/core/dist/server/preview/globals.js', - '/config.js', - 'webpack-hot-middleware/client.js?reload=true', - ], - output: { - path: './', - filename: '[name].[hash].bundle.js', - publicPath: '', - }, - plugins: [ - HtmlWebpackPlugin { - options: { - template: '@storybook/core/dist/server/templates/index.ejs', - templateContent: false, - templateParameters: [Function: templateParameters], - filename: 'iframe.html', - hash: false, - inject: false, - compile: true, - favicon: false, - minify: undefined, - cache: true, - showErrors: true, - chunks: 'all', - excludeChunks: [], - chunksSortMode: 'none', - meta: {}, - title: 'Webpack App', - xhtml: false, - alwaysWriteToDisk: true, - }, +> We're trying to make storybook more zero-config over time, **help to hook into the config of generators is very welcome**. + +
    + This is what the config for storybook looks like when using CRA in dev-mode: + + ```js + { + mode: 'development', + bail: false, + devtool: '#cheap-module-source-map', + entry: [ + '@storybook/core/dist/server/common/polyfills.js', + '@storybook/core/dist/server/preview/globals.js', + '/config.js', + 'webpack-hot-middleware/client.js?reload=true', + ], + output: { + path: './', + filename: '[name].[hash].bundle.js', + publicPath: '', }, - DefinePlugin { - definitions: { - 'process.env': { - NODE_ENV: '"development"', - NODE_PATH: '""', - PUBLIC_URL: '"."', + plugins: [ + HtmlWebpackPlugin { + options: { + template: '@storybook/core/dist/server/templates/index.ejs', + templateContent: false, + templateParameters: [Function: templateParameters], + filename: 'iframe.html', + hash: false, + inject: false, + compile: true, + favicon: false, + minify: undefined, + cache: true, + showErrors: true, + chunks: 'all', + excludeChunks: [], + chunksSortMode: 'none', + meta: {}, + title: 'Webpack App', + xhtml: false, + alwaysWriteToDisk: true, + }, + }, + DefinePlugin { + definitions: { + 'process.env': { + NODE_ENV: '"development"', + NODE_PATH: '""', + PUBLIC_URL: '"."', + '' + '' + }, + }, + }, + WatchMissingNodeModulesPlugin { + nodeModulesPath: './node_modules', + }, + HotModuleReplacementPlugin {}, + CaseSensitivePathsPlugin {}, + ProgressPlugin {}, + DefinePlugin { + definitions: { '' '' }, }, - }, - WatchMissingNodeModulesPlugin { - nodeModulesPath: './node_modules', - }, - HotModuleReplacementPlugin {}, - CaseSensitivePathsPlugin {}, - ProgressPlugin {}, - DefinePlugin { - definitions: { - '' - '' - }, - }, - ], - module: { - rules: [ - { test: /\.(mjs|jsx?)$/, - use: [ - { loader: 'babel-loader', options: - { cacheDirectory: './node_modules/.cache/storybook', - presets: [ - [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], - './node_modules/@babel/preset-react/lib/index.js', - './node_modules/@babel/preset-flow/lib/index.js', - ], - plugins: [ - './node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', - './node_modules/@babel/plugin-proposal-class-properties/lib/index.js', - './node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', - [ './node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], - './node_modules/babel-plugin-macros/dist/index.js', - './node_modules/@babel/plugin-transform-react-constant-elements/lib/index.js', - './node_modules/babel-plugin-add-react-displayname/index.js', - [ './node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ], - ], - }, - }, - ], - include: [ './' ], - exclude: [ './node_modules' ], - }, - { test: /\.md$/, - use: [ - { loader: './node_modules/raw-loader/index.js' }, - ], - }, - { test: /\.css$/, - use: [ - './node_modules/style-loader/index.js', - { loader: './node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } }, - { loader: './node_modules/postcss-loader/src/index.js', options: { ident: 'postcss', postcss: {}, plugins: [Function: plugins] } }, - ], - }, - { test: /\.(svg|ico|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|cur|ani)(\?.*)?$/, - loader: './node_modules/file-loader/dist/cjs.js', - query: { name: 'static/media/[name].[hash:8].[ext]' }, - }, - { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, - loader: './node_modules/url-loader/dist/cjs.js', - query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' }, - }, ], - }, - resolve: { - extensions: [ '.mjs', '.js', '.jsx', '.json' ], - modules: [ 'node_modules' ], - mainFields: [ 'browser', 'main', 'module' ], - alias: { - 'core-js': './node_modules/core-js', - react: './node_modules/react', - 'react-dom': './node_modules/react-dom', + module: { + rules: [ + { test: /\.(mjs|jsx?)$/, + use: [ + { loader: 'babel-loader', options: + { cacheDirectory: './node_modules/.cache/storybook', + presets: [ + [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], + './node_modules/@babel/preset-react/lib/index.js', + './node_modules/@babel/preset-flow/lib/index.js', + ], + plugins: [ + './node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', + './node_modules/@babel/plugin-proposal-class-properties/lib/index.js', + './node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', + [ './node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], + './node_modules/babel-plugin-macros/dist/index.js', + './node_modules/@babel/plugin-transform-react-constant-elements/lib/index.js', + './node_modules/babel-plugin-add-react-displayname/index.js', + [ './node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ], + ], + }, + }, + ], + include: [ './' ], + exclude: [ './node_modules' ], + }, + { test: /\.md$/, + use: [ + { loader: './node_modules/raw-loader/index.js' }, + ], + }, + { test: /\.css$/, + use: [ + './node_modules/style-loader/index.js', + { loader: './node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } }, + { loader: './node_modules/postcss-loader/src/index.js', options: { ident: 'postcss', postcss: {}, plugins: [Function: plugins] } }, + ], + }, + { test: /\.(svg|ico|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|cur|ani)(\?.*)?$/, + loader: './node_modules/file-loader/dist/cjs.js', + query: { name: 'static/media/[name].[hash:8].[ext]' }, + }, + { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, + loader: './node_modules/url-loader/dist/cjs.js', + query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' }, + }, + ], }, - }, - optimization: { - splitChunks: { chunks: 'all' }, - runtimeChunk: true, - minimizer: [ [Object] ], - }, - performance: { hints: false }, -} -``` + resolve: { + extensions: [ '.mjs', '.js', '.jsx', '.json' ], + modules: [ 'node_modules' ], + mainFields: [ 'browser', 'main', 'module' ], + alias: { + 'core-js': './node_modules/core-js', + react: './node_modules/react', + 'react-dom': './node_modules/react-dom', + }, + }, + optimization: { + splitChunks: { chunks: 'all' }, + runtimeChunk: true, + minimizer: [ [Object] ], + }, + performance: { hints: false }, + } + ``` +
    +### Debug the default webpack config +
    + To effectively customise the webpack config, you might need to get the full default config it's using. + +
    -The file can export an object or a function. The former configures in [extend mode](#extend-mode), the latter in [full control mode](#full-control-mode), both described here. + - Create a `.storybook/webpack.config.js` file. + - Edit it's contents: + ```js + module.exports = async ({ config }) => console.dir(config.plugins, { depth: null }) || config; + ``` + - Then run storybook: + ```sh + yarn storybook --quiet + ``` -## Extend Mode + The console should log the entire config, for you to inspect. +
    + +## Webpack customisation modes + +The file can export an [object](#extend-mode) or a [function](#full-control-mode). + +### Extend Mode If your file exports an **object**, it puts Storybook into **extend-mode**. @@ -175,11 +200,10 @@ But you won't be able to change the following config options: - entry - output -- js loader with babel For the advanced usage we strongly recommend [full control mode](#full-control-mode). -## Full Control Mode +### Full Control Mode If your file exports a **function**, it puts Storybook into **full-control-mode**. @@ -191,7 +215,7 @@ For example, here's a `webpack.config.js` to add [SASS](http://sass-lang.com/) s const path = require('path'); // Export a function. Accept the base config as the only param. -module.exports = ({ config, mode }) => { +module.exports = async ({ config, mode }) => { // `mode` has a value of 'DEVELOPMENT' or 'PRODUCTION' // You can change the configuration based on that. // 'PRODUCTION' is used when building the static version of storybook. @@ -212,8 +236,6 @@ Storybook uses the config returned from the above function. So edit `config` wit - entry - output -- first loader in the module.loaders (Babel loader for JS) -- all existing plugins > If your custom webpack config uses a loader that does not explicitly include specific file extensions via the `test` property, it is necessary to `exclude` the `.ejs` file extension from that loader. @@ -223,3 +245,16 @@ If you have an existing webpack config for your project and want to reuse this a - Import your main webpack config into Storybook's `webpack.config.js` and use the loaders and plugins used in that. - Create a new file with common webpack options and use it in both inside the main webpack config and inside Storybook's `webpack.config.js`. + +**Example** +*merging the loaders from your app's `webpack.config.js` with storybook's* + +```js +const path = require('path'); +// your app's webpack.config.js +const custom = require('../webpack.config.js'); + +module.exports = async ({ config, mode }) => { + return {...config, loaders: custom.loaders }; +}; +``` From 50a8670a185f2d82e72bcdf3c6e825e5fc5307ab Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:06:46 +0100 Subject: [PATCH 129/249] IMPROVE default config docs --- .../configurations/default-config/index.md | 169 ++++++++++++++++-- 1 file changed, 153 insertions(+), 16 deletions(-) diff --git a/docs/src/pages/configurations/default-config/index.md b/docs/src/pages/configurations/default-config/index.md index 1705f0dabe8..d97ed7a75b5 100644 --- a/docs/src/pages/configurations/default-config/index.md +++ b/docs/src/pages/configurations/default-config/index.md @@ -3,22 +3,8 @@ id: 'default-config' title: 'Default Config' --- -Storybook has a default Webpack setup which suits a large range of projects. -It is similar to [Create React App](https://github.com/facebookincubator/create-react-app)'s config when using react, and has been tweaked to closely resemble the webpack config generated by [Vue CLI](https://github.com/vuejs/vue-cli). - Let's learn about the default config comes with Storybook. -## Table of Contents - -- [Babel](#babel) - - [ES2016+ Support](#es2016-support) - - [.babelrc support](#babelrc-support) -- [Webpack](#webpack) - - [CSS Support](#css-support) - - [Image and Static File Support](#image-and-static-file-support) - - [JSON Loader](#json-loader) -- [NPM Modules](#npm-modules) - ## Babel We use Babel for JavaScript(ES6) transpiling. @@ -38,7 +24,146 @@ So, you could use any babel plugins or presets that you have used in your projec ## Webpack We use Webpack to serve and load JavaScript modules for the web. -We've added some Webpack loaders to bring some good defaults. (This setup is very close to what you get with the [Create React App](https://github.com/facebookincubator/create-react-app).) + +The webpack config [is configurable](/configurations/webpack), and the default can depend on which framework you're using and whether you've used a generator like [Create React App](https://github.com/facebookincubator/create-react-app) or Angular CLI etc. + +> We're trying to make storybook more zero-config over time, **help to hook into the config of generators is very welcome**. + +
    + This is what the config for storybook looks like when using CRA in dev-mode: + + ```js + { + mode: 'development', + bail: false, + devtool: '#cheap-module-source-map', + entry: [ + '@storybook/core/dist/server/common/polyfills.js', + '@storybook/core/dist/server/preview/globals.js', + '/config.js', + 'webpack-hot-middleware/client.js?reload=true', + ], + output: { + path: './', + filename: '[name].[hash].bundle.js', + publicPath: '', + }, + plugins: [ + HtmlWebpackPlugin { + options: { + template: '@storybook/core/dist/server/templates/index.ejs', + templateContent: false, + templateParameters: [Function: templateParameters], + filename: 'iframe.html', + hash: false, + inject: false, + compile: true, + favicon: false, + minify: undefined, + cache: true, + showErrors: true, + chunks: 'all', + excludeChunks: [], + chunksSortMode: 'none', + meta: {}, + title: 'Webpack App', + xhtml: false, + alwaysWriteToDisk: true, + }, + }, + DefinePlugin { + definitions: { + 'process.env': { + NODE_ENV: '"development"', + NODE_PATH: '""', + PUBLIC_URL: '"."', + '' + '' + }, + }, + }, + WatchMissingNodeModulesPlugin { + nodeModulesPath: './node_modules', + }, + HotModuleReplacementPlugin {}, + CaseSensitivePathsPlugin {}, + ProgressPlugin {}, + DefinePlugin { + definitions: { + '' + '' + }, + }, + ], + module: { + rules: [ + { test: /\.(mjs|jsx?)$/, + use: [ + { loader: 'babel-loader', options: + { cacheDirectory: './node_modules/.cache/storybook', + presets: [ + [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], + './node_modules/@babel/preset-react/lib/index.js', + './node_modules/@babel/preset-flow/lib/index.js', + ], + plugins: [ + './node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', + './node_modules/@babel/plugin-proposal-class-properties/lib/index.js', + './node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', + [ './node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], + './node_modules/babel-plugin-macros/dist/index.js', + './node_modules/@babel/plugin-transform-react-constant-elements/lib/index.js', + './node_modules/babel-plugin-add-react-displayname/index.js', + [ './node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ], + ], + }, + }, + ], + include: [ './' ], + exclude: [ './node_modules' ], + }, + { test: /\.md$/, + use: [ + { loader: './node_modules/raw-loader/index.js' }, + ], + }, + { test: /\.css$/, + use: [ + './node_modules/style-loader/index.js', + { loader: './node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } }, + { loader: './node_modules/postcss-loader/src/index.js', options: { ident: 'postcss', postcss: {}, plugins: [Function: plugins] } }, + ], + }, + { test: /\.(svg|ico|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|cur|ani)(\?.*)?$/, + loader: './node_modules/file-loader/dist/cjs.js', + query: { name: 'static/media/[name].[hash:8].[ext]' }, + }, + { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, + loader: './node_modules/url-loader/dist/cjs.js', + query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' }, + }, + ], + }, + resolve: { + extensions: [ '.mjs', '.js', '.jsx', '.json' ], + modules: [ 'node_modules' ], + mainFields: [ 'browser', 'main', 'module' ], + alias: { + 'core-js': './node_modules/core-js', + react: './node_modules/react', + 'react-dom': './node_modules/react-dom', + }, + }, + optimization: { + splitChunks: { chunks: 'all' }, + runtimeChunk: true, + minimizer: [ [Object] ], + }, + performance: { hints: false }, + } + ``` +
    + ### CSS Support @@ -54,7 +179,7 @@ import 'bootstrap/dist/css/bootstrap.css'; import './styles.css'; ``` -> **Note:** this is plain CSS only. If you need a preprocessor like SASS, you need to [customize the webpack config](/configurations/custom-webpack-config/). +> **Note:** with some frameworks/clis we inject plain CSS only. If you need a preprocessor like SASS, you need to [customize the webpack config](/configurations/custom-webpack-config/). > > **Warning:** storybooks for projects that use Angular CLI cannot import CSS by default. They must either [customize the webpack config](/configurations/custom-webpack-config/), or use the inline loader syntax: > ```js @@ -88,6 +213,18 @@ So, this is a good approach to loading all of your static content. You can import `.json` files, as you do with Node.js. This will also allow you to use NPM projects, which imports `.json` files inside them. +```js +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +import data from './data.json'; + +storiesOf('Component', module) + .add('with data', () => ( +
    {JSON.stringify(data, null, 2)}
    + )); +``` + ## NPM Modules You can use any of the NPM modules installed on your project. From d173ec5e3cb41269ac8006b99ce86337c92566fc Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:08:40 +0100 Subject: [PATCH 130/249] IMPROVE cli docs --- .../pages/configurations/cli-options/index.md | 50 ++++++++++--------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/docs/src/pages/configurations/cli-options/index.md b/docs/src/pages/configurations/cli-options/index.md index acd0804beef..4f92db3ff35 100644 --- a/docs/src/pages/configurations/cli-options/index.md +++ b/docs/src/pages/configurations/cli-options/index.md @@ -11,33 +11,37 @@ Here are all those options: ## For start-storybook - Usage: start-storybook [options] +```plaintext +Usage: start-storybook [options] - Options: +Options: - --help output usage information - -V, --version output the version number - -p, --port [number] Port to run Storybook - -h, --host [string] Host to run Storybook - -s, --static-dir Directory where to load static files from, comma-separated list - -c, --config-dir [dir-name] Directory where to load Storybook configurations from - --https Serve Storybook over HTTPS. Note: You must provide your own certificate information. - --ssl-ca Provide an SSL certificate authority. (Optional with --https, required if using a self-signed certificate) - --ssl-cert Provide an SSL certificate. (Required with --https) - --ssl-key Provide an SSL key. (Required with --https) - --smoke-test Exit after successful start - --ci CI mode (skip interactive prompts, don't open browser) - --quiet Suppress verbose build output +--help output usage information +-V, --version output the version number +-p, --port [number] Port to run Storybook +-h, --host [string] Host to run Storybook +-s, --static-dir Directory where to load static files from, comma-separated list +-c, --config-dir [dir-name] Directory where to load Storybook configurations from +--https Serve Storybook over HTTPS. Note: You must provide your own certificate information. +--ssl-ca Provide an SSL certificate authority. (Optional with --https, required if using a self-signed certificate) +--ssl-cert Provide an SSL certificate. (Required with --https) +--ssl-key Provide an SSL key. (Required with --https) +--smoke-test Exit after successful start +--ci CI mode (skip interactive prompts, don't open browser) +--quiet Suppress verbose build output +``` ## For build-storybook - Usage: build-storybook [options] +```plaintext +Usage: build-storybook [options] - Options: +Options: - -h, --help output usage information - -V, --version output the version number - -s, --static-dir Directory where to load static files from, comma-separated list - -o, --output-dir [dir-name] Directory where to store built files - -c, --config-dir [dir-name] Directory where to load Storybook configurations from - -w, --watch Enable watch mode +-h, --help output usage information +-V, --version output the version number +-s, --static-dir Directory where to load static files from, comma-separated list +-o, --output-dir [dir-name] Directory where to store built files +-c, --config-dir [dir-name] Directory where to load Storybook configurations from +-w, --watch Enable watch mode +``` From 0dbf67c3dbe12fd9cdf3d790439d3c3495250c2b Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:31:42 +0100 Subject: [PATCH 131/249] IMPROVE theming docs --- .../src/pages/configurations/theming/index.md | 208 ++++++++++-------- lib/theming/src/create.ts | 2 +- 2 files changed, 114 insertions(+), 96 deletions(-) diff --git a/docs/src/pages/configurations/theming/index.md b/docs/src/pages/configurations/theming/index.md index 81e73015771..6cf7a6ee031 100644 --- a/docs/src/pages/configurations/theming/index.md +++ b/docs/src/pages/configurations/theming/index.md @@ -33,7 +33,7 @@ You can get these themes like so: ```js import { addParameters, configure } from '@storybook/react'; -import { themes } from '@storybook/components'; +import { themes } from '@storybook/theming'; // Option defaults. addParameters({ @@ -46,57 +46,58 @@ addParameters({ ## Create a theme quickstart +The `storybook/theming` is build using TypeScript, so this should help create a valid theme for typescript users. The types are part of the package itself. + The easiest way to customize Storybook to generate a new theme using `create()`. This function includes shorthands for the most common theme variables. Here's how to use it. First create a new file in `.storybook` called `yourTheme.js`. Next paste the code below and tweak the variables. -``` +```ts import { create } from '@storybook/theming'; export default create({ - // Is this a 'light' or 'dark' theme? - base: 'light', + base: 'light'; - // Color palette - colorPrimary: 'red', // primary color - colorSecondary: 'pink', // secondary color + colorPrimary: 'hotpink'; + colorSecondary: 'deepskyblue'; // UI - appBg: 'papayawhip', - appContentBg: 'white', - appBorderColor: 'rgba(0,0,0,.1)', - appBorderRadius: 4, + appBg: 'white'; + appContentBg: 'silver'; + appBorderColor: 'grey'; + appBorderRadius: 4; - // Fonts - fontBase: '"Helvetica", Arial, sans-serif', - fontCode: 'Monaco, monospace', + // Typography + fontBase: '"Open Sans", sans-serif', + fontCode: 'monospace'; // Text colors - textColor: '#FFFFFF', - textInverseColor: '#333333', + textColor: 'black'; + textInverseColor: 'rgba(255,255,255,0.9)'; // Toolbar default and active colors - barTextColor: '#999999', - barSelectedColor: 'blue', - barBg: 'white', + barTextColor: 'silver'; + barSelectedColor: 'black'; + barBg: 'hotpink'; // Form colors - inputBg: 'white', - inputBorder: 'rgba(0,0,0,.1)', - inputTextColor: '#333333', - inputBorderRadius: 4, + inputBg: 'white'; + inputBorder: 'silver'; + inputTextColor: 'black'; + inputBorderRadius: 4; - // Brand logo/text - brand: ``, + brandTitle: 'My custom storybook'; + brandUrl: 'https://example.com'; + brandImage: 'https://placehold.it/350x150'; }); ``` Finally, import your theme into `.storybook/config` and add it to your Storybook parameters. -``` -import {yourTheme} from './yourTheme'; +```js +import { yourTheme } from './yourTheme'; addParameters({ options: { @@ -105,13 +106,27 @@ addParameters({ }); ``` +Many them variables are optional, the `base` property is NOT. This is a perfectly valid theme: + +```ts +import { create } from '@storybook/theming'; + +export default create({ + base: 'light'; + + brandTitle: 'My custom storybook'; + brandUrl: 'https://example.com'; + brandImage: 'https://placehold.it/350x150'; +}); +``` + ## Addons and theme creation Some addons require specific theme variables that a Storybook user must add. If you share your theme with the community make sure to support the official and other popular addons so your users have a consistent experience. For example, the popular Actions addon uses [react-inspector](https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js) which has themes of it's own. Supply additional theme variables to style it like so: -``` +```js addonActionsTheme: { ...chromeLight, BASE_FONT_FAMILY: typography.fonts.mono, @@ -123,13 +138,13 @@ addonActionsTheme: { For a native Storybook experience, we encourage addon authors to reuse the theme variables above. The theming engine relies on [emotion](https://emotion.sh/), a CSS-in-JS library. -``` +```js import { styled } from '@storybook/theming'; ``` Use the theme variables in object notation: -``` +```js const Component = styled.div( ({ theme }) => ({ background: theme.background.app, @@ -138,9 +153,9 @@ const Component = styled.div( ); ``` -Or with styled-components template literals: +Or with template literals: -``` +```js const Component = styled.div` background: `${props => props.theme.background.app}` width: 0; @@ -149,81 +164,81 @@ const Component = styled.div` ### Advanced theming -For further customization adjust theme variables manually. +the `create` function creates an object like this: -This is the master list: +```js +{ + base: 'light' | 'dark', + color: { + primary + secondary + tertiary + ancillary -``` -base: 'light' | 'dark', -color: { - primary - secondary - tertiary - ancillary + orange + gold + green + seafoam + purple + ultraviolet - orange - gold - green - seafoam - purple - ultraviolet + lightest + lighter + light + mediumlight + medium + mediumdark + dark + darker + darkest - lightest - lighter - light - mediumlight - medium - mediumdark - dark - darker - darkest + border - border + positive + negative + warning - positive - negative - warning + defaultText + inverseText + }, + background: { + app + content + hoverable - defaultText - inverseText -} -background: { - app - content - hoverable - - positive - negative - warning -} -typography: { - fonts: { - base - mono - } - weight: { - regular - bold - black - } - size: { - s1 - s2 - s3 - m1 - m2 - m3 - l1 - l2 - l3 - code + positive + negative + warning + }, + typography: { + fonts: { + base + mono + } + weight: { + regular + bold + black + } + size: { + s1 + s2 + s3 + m1 + m2 + m3 + l1 + l2 + l3 + code + } } input: { border background color borderRadius - }; + }, layoutMargin appBorderColor @@ -235,5 +250,8 @@ typography: { brand } -TODO finish this, what's the best way to document? ``` + +All properties are required. + +Again the `@storybook/theming` package is built using TypeScript, so if you do create a theme like this, that should help. diff --git a/lib/theming/src/create.ts b/lib/theming/src/create.ts index dce9514df68..de3784faea4 100644 --- a/lib/theming/src/create.ts +++ b/lib/theming/src/create.ts @@ -11,7 +11,7 @@ interface Rest { } interface ThemeVar { - base?: 'light' | 'dark'; + base: 'light' | 'dark'; colorPrimary?: string; colorSecondary?: string; From 793c8ff11c9e1aeba5d3976f5296282c5a520b95 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:36:50 +0100 Subject: [PATCH 132/249] IMPROVE docs for standalone --- .../standalone-options/index.md | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/docs/src/pages/configurations/standalone-options/index.md b/docs/src/pages/configurations/standalone-options/index.md index baf61721519..8f629824f48 100644 --- a/docs/src/pages/configurations/standalone-options/index.md +++ b/docs/src/pages/configurations/standalone-options/index.md @@ -27,7 +27,9 @@ storybook({ Mode is defining what Storybook mode will be applied: - dev - run Storybook in a dev mode - similar to "start-storybook" in CLI +### dev + +run Storybook in a dev mode - similar to `start-storybook` in CLI ```js const storybook = require('@storybook/react/standalone'); @@ -38,7 +40,9 @@ storybook({ }); ``` - static - build static version of Storybook - similar to "build-storybook" in CLI +### static + +build static version of Storybook - similar to `build-storybook` in CLI ```js const storybook = require('@storybook/react/standalone'); @@ -53,28 +57,28 @@ Other options are similar to those in the CLI. ## For "dev" mode: - Options: - - port [number] Port to run Storybook - host [string] Host to run Storybook - staticDir Directory where to load static files from, array of strings - configDir [dir-name] Directory where to load Storybook configurations from - https Serve Storybook over HTTPS. Note: You must provide your own certificate information. - sslCa Provide an SSL certificate authority. (Optional with "https", required if using a self-signed certificate) - sslCert Provide an SSL certificate. (Required with "https") - sslKey Provide an SSL key. (Required with "https") - smokeTest Exit after successful start - ci CI mode (skip interactive prompts, don't open browser) - quiet Suppress verbose build output +```plaintext +port [number] Port to run Storybook +host [string] Host to run Storybook +staticDir Directory where to load static files from, array of strings +configDir [dir-name] Directory where to load Storybook configurations from +https Serve Storybook over HTTPS. Note: You must provide your own certificate information. +sslCa Provide an SSL certificate authority. (Optional with "https", required if using a self-signed certificate) +sslCert Provide an SSL certificate. (Required with "https") +sslKey Provide an SSL key. (Required with "https") +smokeTest Exit after successful start +ci CI mode (skip interactive prompts, don't open browser) +quiet Suppress verbose build output +``` ## For "static" mode: - Options: - - staticDir Directory where to load static files from, array of strings - outputDir [dir-name] Directory where to store built files - configDir [dir-name] Directory where to load Storybook configurations from - watch Enable watch mode +```plaintext +staticDir Directory where to load static files from, array of strings +outputDir [dir-name] Directory where to store built files +configDir [dir-name] Directory where to load Storybook configurations from +watch Enable watch mode +``` Example: From dc9d97a95c95750215c4189a55c6fd26feefd435 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 4 Mar 2019 14:54:58 +0100 Subject: [PATCH 133/249] IMMPROVE the writing stories docs --- .../src/pages/basics/writing-stories/index.md | 57 ++++++++++++++++--- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/docs/src/pages/basics/writing-stories/index.md b/docs/src/pages/basics/writing-stories/index.md index 1a6167ad0b9..67aaeba7330 100644 --- a/docs/src/pages/basics/writing-stories/index.md +++ b/docs/src/pages/basics/writing-stories/index.md @@ -5,7 +5,7 @@ title: 'Writing Stories' Storybook is all about writing stories. A story usually contains a single state of one component, almost like a visual test case. -> Technically, a story is a function that returns a React element. +> Technically, a story is a function that returns something that can be rendered to screen. A Storybook can be comprised of many stories for many components. @@ -13,9 +13,52 @@ A Storybook can be comprised of many stories for many components. There are no rules for this, but in general, stories are easier to maintain when they are located closer to components. -For example, if the UI components live in a directory called: `src/components`, then the stories can be written inside the `src/stories` directory. +Some examples: -The Storybook config file can also be edited to load stories from other folders too. +
    + stories inside component directory + + ```plaintext + • + └── src + └── components + └── button + ├── button.js + └── button.stories.js + ``` + +
    + +
    + stories sub-directory in component directory + + ```plaintext + • + └── src + └── components + └── button + ├── button.js + └── stories + └── button.stories.js + ``` + +
    + +
    + stories directory outside src directory + + ```plaintext + • + ├── src + │ └── components + │ └── button.js + └── stories + └── button.stories.js + ``` + +
    + +It's up to you to find a naming/placing scheme that works for your project/team. ## Writing Stories @@ -73,7 +116,7 @@ The **React Native** packager resolves all the imports at build-time, so it's no A decorator is a way to wrap a story with a common set of components. Here is an example for centering all components: -```js +```jsx import React from 'react'; import { storiesOf } from '@storybook/react'; import MyComponent from '../my_component'; @@ -88,7 +131,7 @@ This only applies the decorator to the current set of stories. (In this example, It is possible to apply a decorator **globally** to all the stories. Here is an example of the Storybook config file: -```js +```jsx import React from 'react'; import { configure, addDecorator } from '@storybook/react'; @@ -103,7 +146,7 @@ configure(function() { As of storybook 3.3, [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) can be used in Storybook by default. Users can import a markdown file which extracts the raw markdown content into a string. The string can then be used in any addon that supports markdown such as notes and info. -```js +```jsx import React from 'react'; import { storiesOf } from '@storybook/react'; import MyComponent from './MyComponent'; @@ -118,7 +161,7 @@ storiesOf('Component', module).add('With Markdown', () => , { Stories can be organized in a nested structure using "/" as a separator: -```js +```jsx // file: src/stories/index.js import React from 'react'; From eaa6da2b2f6590583fc1e7891ef58e2e2d32d43f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 20:30:44 +0800 Subject: [PATCH 134/249] Merge pull request #5842 from storybooks/shilman/misc-migration-notes Misc migration notes --- MIGRATION.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 5bb3baba152..a9139dcf454 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -8,6 +8,8 @@ - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters) - [Addon viewport uses parameters](#addon-viewport-uses-parameters) - [Addon a11y uses parameters](#addon-a11y-uses-parameters-decorator-renamed) + - [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults) + - [New URL structure](#new-url-structure) - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x) - [Private addon config](#private-addon-config) - [React 15.x](#react-15x) @@ -231,6 +233,36 @@ Furthermore, the decorator `checkA11y` has been deprecated and renamed to `withA See the [a11y addon README](https://github.com/storybooks/storybook/blob/master/addons/a11y/README.md) for more information. +## New keyboard shortcuts defaults + +Storybook's keyboard shortcuts are updated in 5.0, but they are configurable via the menu so if you want to set them back you can: + +| Shorctut | Old | New | +| ---------------------- | ----------- | ----- | +| Toggle sidebar | cmd-shift-X | S | +| Toggle addons panel | cmd-shift-Z | A | +| Toggle addons position | cmd-shift-G | D | +| Toggle fullscreen | cmd-shift-F | F | +| Next story | cmd-shift-→ | alt-→ | +| Prev story | cmd-shift-← | alt-← | +| Next component | | alt-↓ | +| Prev component | | alt-↑ | +| Search | | / | + +## New URL structure + +We've update Storybook's URL structure in 5.0. The old structure used URL parameters to save the UI state, resulting in long ugly URLs. v5 respects the old URL parameters, but largely does away with them. + +The old structure encoded `selectedKind` and `selectedStory` among other parameters. Storybook v5 respects these parameters but will issue a deprecation message in the browser console warning of potential future removal. + +The new URL structure looks like: + +``` +https://url-of-storybook?path=/story/ +``` + +The structure of `storyId` is a slugified `--` (slugified = lowercase, hyphen-separated). Each `storyId` must be unique. We plan to build more features into Storybook in upcoming versions based on this new structure. + ## From version 4.0.x to 4.1.x There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage. From 4cf92040424fdd047d69cc93e2ed688cc65fcf3b Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 22:05:50 +0800 Subject: [PATCH 135/249] Merge pull request #5846 from storybooks/5833-deprecate-withA11Y Deprecate withA11Y --- addons/a11y/src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/a11y/src/index.js b/addons/a11y/src/index.js index da104099d00..13428ae784d 100644 --- a/addons/a11y/src/index.js +++ b/addons/a11y/src/index.js @@ -57,6 +57,12 @@ if (module && module.hot && module.hot.decline) { module.hot.decline(); } +// TODO: REMOVE at v6.0.0 +export const withA11Y = deprecate( + (...args) => withA11y(...args), + 'withA11Y has been renamed withA11y' +); + // TODO: REMOVE at v6.0.0 export const checkA11y = deprecate( (...args) => withA11y(...args), From 619ae85abf2d1eeb8e720242698b4e27b9e679f3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 4 Mar 2019 23:58:39 +0800 Subject: [PATCH 136/249] Merge pull request #5845 from huntie/addon-cssresources-migration-docs Add MIGRATION.md entry for addon-cssresources 5.x attribute change --- MIGRATION.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index a9139dcf454..1f61a95ee90 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -6,6 +6,7 @@ - [Options addon deprecated](#options-addon-deprecated) - [Individual story decorators](#individual-story-decorators) - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters) + - [Addon cssresources name attribute renamed](#addon-cssresources-name-attribute-renamed) - [Addon viewport uses parameters](#addon-viewport-uses-parameters) - [Addon a11y uses parameters](#addon-a11y-uses-parameters-decorator-renamed) - [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults) @@ -187,6 +188,46 @@ storiesOf('Stories', module).addParameters({ backgrounds: options }); You can pass `backgrounds` parameters at the global level (via `addParameters` imported from `@storybook/react` et al.), and the story level (via the third argument to `.add()`). +## Addon cssresources name attribute renamed + +In the options object for `@storybook/addon-cssresources`, the `name` attribute for each resource has been renamed to `id`. If you previously had: + +```js +import { withCssResources } from '@storybook/addon-cssresources'; +import { addDecorator } from '@storybook/react'; + +addDecorator( + withCssResources({ + cssresources: [ + { + name: `bluetheme`, // Previous + code: ``, + picked: false + } + ] + }) +); +``` + +You should replace it with: + +```js +import { withCssResources } from '@storybook/addon-cssresources'; +import { addDecorator } from '@storybook/react'; + +addDecorator( + withCssResources({ + cssresources: [ + { + id: `bluetheme`, // Renamed + code: ``, + picked: false + } + ] + }) +); +``` + ## Addon viewport uses parameters Similarly, `@storybook/addon-viewport` uses parameters to pass viewport options. If you previously had: From f9343eebf1c06eddedc60de7316dde69e7dc742b Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 5 Mar 2019 11:31:57 +1100 Subject: [PATCH 137/249] Merge pull request #5850 from storybooks/laggy-sidebaritem-active Fix: SidebarItem feels "laggy" when clicked --- .../__snapshots__/storyshots.test.js.snap | 116 ------------------ lib/ui/src/components/sidebar/SidebarItem.js | 1 - 2 files changed, 117 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 872ce1e1055..1534ae76e8a 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -5326,8 +5326,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -5361,8 +5359,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; } @@ -5396,8 +5392,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; } @@ -5431,8 +5425,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; } @@ -5687,8 +5679,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -5722,8 +5712,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; } @@ -5757,8 +5745,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; } @@ -5792,8 +5778,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; } @@ -6530,8 +6514,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -6591,8 +6573,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: default; background: #1EA7FD; @@ -6648,8 +6628,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -7014,8 +6992,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -7075,8 +7051,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: default; background: #1EA7FD; @@ -7132,8 +7106,6 @@ exports[`Storyshots UI|Sidebar/Sidebar simple 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -9721,8 +9693,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem component 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -9783,8 +9753,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem component 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -9871,8 +9839,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem componentExpanded 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -9936,8 +9902,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem componentExpanded 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -10027,8 +9991,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem group 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -10089,8 +10051,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem group 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -10245,8 +10205,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -10352,8 +10310,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -10417,8 +10373,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -10492,8 +10446,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -10565,8 +10517,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; color: #333333; @@ -10595,8 +10545,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; cursor: pointer; color: #333333; @@ -10629,8 +10577,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -10704,8 +10650,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -10777,8 +10721,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; color: #333333; @@ -10807,8 +10749,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem nestedDepths 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; cursor: pointer; color: #333333; @@ -10945,8 +10885,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem story 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -11008,8 +10946,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem story 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -11127,8 +11063,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem storySelected 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: default; background: #1EA7FD; @@ -11188,8 +11122,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem storySelected 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: default; background: #1EA7FD; @@ -11245,8 +11177,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem with long name 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -11307,8 +11237,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem with long name 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -12486,8 +12414,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -12521,8 +12447,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; } @@ -12556,8 +12480,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; } @@ -12591,8 +12513,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; } @@ -12706,8 +12626,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; } @@ -12741,8 +12659,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; } @@ -12776,8 +12692,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; } @@ -12811,8 +12725,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 54px; } @@ -13331,8 +13243,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -13422,8 +13332,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -13495,8 +13403,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; color: #333333; @@ -13533,8 +13439,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: default; background: #1EA7FD; @@ -13703,8 +13607,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -13794,8 +13696,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -13867,8 +13767,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: pointer; color: #333333; @@ -13905,8 +13803,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories noRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 39px; cursor: default; background: #1EA7FD; @@ -14305,8 +14201,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -14366,8 +14260,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: default; background: #1EA7FD; @@ -14423,8 +14315,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; @@ -14660,8 +14550,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 9px; cursor: pointer; color: #333333; @@ -14721,8 +14609,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: default; background: #1EA7FD; @@ -14778,8 +14664,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories withRoot 1`] = ` -ms-flex: 1; flex: 1; background: transparent; - -webkit-transition: background 75ms ease-out; - transition: background 75ms ease-out; padding-left: 24px; cursor: pointer; color: #333333; diff --git a/lib/ui/src/components/sidebar/SidebarItem.js b/lib/ui/src/components/sidebar/SidebarItem.js index c8e1625ebe5..72526968f4b 100644 --- a/lib/ui/src/components/sidebar/SidebarItem.js +++ b/lib/ui/src/components/sidebar/SidebarItem.js @@ -60,7 +60,6 @@ export const Item = styled.div( alignItems: 'center', flex: 1, background: 'transparent', - transition: 'background 75ms ease-out', }, ({ depth }) => ({ paddingLeft: depth * 15 + 9, From ced6d407fa4a3e79ea4141f11ad9f1247b08281c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 09:29:00 +0800 Subject: [PATCH 138/249] Merge pull request #5843 from storybooks/tech/improve-theme-creating FIX base theme initialization and theme bootup --- .../knobs/src/components/__tests__/Panel.js | 8 +- examples/official-storybook/config.js | 9 +- lib/theming/src/base.ts | 36 +++ lib/theming/src/create.ts | 220 +++++++++--------- lib/theming/src/ensure.ts | 39 +--- lib/theming/src/tests/create.test.js | 145 ++++++++++++ lib/theming/src/themes/dark.ts | 10 +- lib/theming/src/themes/light.ts | 10 +- lib/ui/package.json | 2 - .../sidebar/SidebarHeading.stories.js | 5 +- lib/ui/src/core/layout.js | 94 +++++--- lib/ui/src/index.js | 2 +- lib/ui/src/settings/shortcuts.test.js | 6 +- scripts/compile-js.js | 4 +- yarn.lock | 5 - 15 files changed, 390 insertions(+), 205 deletions(-) create mode 100644 lib/theming/src/tests/create.test.js diff --git a/addons/knobs/src/components/__tests__/Panel.js b/addons/knobs/src/components/__tests__/Panel.js index 6fc9321af28..60bd11af464 100644 --- a/addons/knobs/src/components/__tests__/Panel.js +++ b/addons/knobs/src/components/__tests__/Panel.js @@ -3,7 +3,7 @@ import { shallow, mount } from 'enzyme'; import { STORY_CHANGED } from '@storybook/core-events'; import { TabsState } from '@storybook/components'; -import { ThemeProvider, themes } from '@storybook/theming'; +import { ThemeProvider, themes, convert } from '@storybook/theming'; import Panel from '../Panel'; import { CHANGE, SET } from '../../shared'; import PropForm from '../PropForm'; @@ -191,7 +191,7 @@ describe('Panel', () => { // We have to do a full mount. const root = mount( - + ); @@ -225,7 +225,7 @@ describe('Panel', () => { it('should have one tab per groupId and an empty ALL tab when all are defined', () => { const root = mount( - + ); @@ -265,7 +265,7 @@ describe('Panel', () => { it('the ALL tab should have its own additional content when there are knobs both with and without a groupId', () => { const root = mount( - + ); diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index 20c4851863b..a3e716b72f2 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -1,6 +1,6 @@ import React from 'react'; import { storiesOf, configure, addDecorator, addParameters } from '@storybook/react'; -import { Global, ThemeProvider, themes, createGlobal } from '@storybook/theming'; +import { Global, ThemeProvider, themes, createReset, create, convert } from '@storybook/theming'; import { withCssResources } from '@storybook/addon-cssresources'; import { withA11y } from '@storybook/addon-a11y'; @@ -32,8 +32,8 @@ addDecorator(withA11y); addDecorator(withNotes); addDecorator(storyFn => ( - - + + {storyFn()} )); @@ -49,9 +49,10 @@ addParameters({ options: { hierarchySeparator: /\/|\./, hierarchyRootSeparator: '|', + theme: create({ colorPrimary: 'hotpink', colorSecondary: 'orangered' }), }, backgrounds: [ - { name: 'storybook app', value: themes.normal.background.app, default: true }, + { name: 'storybook app', value: themes.light.appBg, default: true }, { name: 'light', value: '#eeeeee' }, { name: 'dark', value: '#222222' }, ], diff --git a/lib/theming/src/base.ts b/lib/theming/src/base.ts index 061566cf47f..f89258ea291 100644 --- a/lib/theming/src/base.ts +++ b/lib/theming/src/base.ts @@ -94,6 +94,42 @@ export const typography = { }, }; +export interface ThemeVars { + base: 'light' | 'dark'; + + colorPrimary?: string; + colorSecondary?: string; + + // UI + appBg?: string; + appContentBg?: string; + appBorderColor?: string; + appBorderRadius?: number; + + // Typography + fontBase?: string; + fontCode?: string; + + // Text colors + textColor?: string; + textInverseColor?: string; + + // Toolbar default and active colors + barTextColor?: string; + barSelectedColor?: string; + barBg?: string; + + // Form colors + inputBg?: string; + inputBorder?: string; + inputTextColor?: string; + inputBorderRadius?: number; + + brandTitle?: string; + brandUrl?: string; + brandImage?: string; +} + export type Color = typeof color; export type Background = typeof background; export type Typography = typeof typography; diff --git a/lib/theming/src/create.ts b/lib/theming/src/create.ts index dce9514df68..a4d44f016a3 100644 --- a/lib/theming/src/create.ts +++ b/lib/theming/src/create.ts @@ -1,52 +1,21 @@ // This generates theme variables in the correct shape for the UI - -import { Theme, Brand, color, Color, background, typography } from './base'; -import { easing, animation } from './animation'; -import { create as createSyntax } from './modules/syntax'; import { chromeLight, chromeDark } from 'react-inspector'; import { opacify } from 'polished'; +import lightThemeVars from './themes/light'; +import darkThemeVars from './themes/dark'; + +import { Theme, color, Color, background, typography, ThemeVars } from './base'; +import { easing, animation } from './animation'; +import { create as createSyntax } from './modules/syntax'; + +const themes: { light: ThemeVars; dark: ThemeVars } = { light: lightThemeVars, dark: darkThemeVars }; + interface Rest { [key: string]: any; } -interface ThemeVar { - base?: 'light' | 'dark'; - - colorPrimary?: string; - colorSecondary?: string; - - // UI - appBg?: string; - appContentBg?: string; - appBorderColor?: string; - appBorderRadius?: number; - - // Typography - fontBase?: string; - fontCode?: string; - - // Text colors - textColor?: string; - textInverseColor?: string; - - // Toolbar default and active colors - barTextColor?: string; - barSelectedColor?: string; - barBg?: string; - - // Form colors - inputBg?: string; - inputBorder?: string; - inputTextColor?: string; - inputBorderRadius?: number; - - brandTitle?: string; - brandUrl?: string; - brandImage?: string; -} - -const createColors = (vars: ThemeVar): Color => ({ +const createColors = (vars: ThemeVars): Color => ({ // Changeable colors primary: vars.colorPrimary, secondary: vars.colorSecondary, @@ -110,76 +79,117 @@ const darkSyntaxColors = { blue2: '#00009f', }; -export const create = (vars: ThemeVar, rest?: Rest): Theme => ({ - base: vars.base, - color: createColors(vars), - background: { - app: vars.appBg || background.app, - content: vars.appContentBg || color.lightest, - hoverable: vars.base === 'light' ? 'rgba(0,0,0,.05)' : 'rgba(250,250,252,.1)' || background.hoverable, +export const create = (vars: ThemeVars = { base: 'light' }, rest?: Rest): ThemeVars => { + const inherit: ThemeVars = { + ...themes.light, + ...(themes[vars.base] || {}), + ...vars, + ...{ base: themes[vars.base] ? vars.base : 'light' }, + }; + return { + ...rest, + ...inherit, + ...{ barSelectedColor: vars.barSelectedColor || inherit.colorSecondary }, + }; +}; - positive: background.positive, - negative: background.negative, - warning: background.warning, - }, - typography: { - fonts: { - base: vars.fontBase || typography.fonts.base, - mono: vars.fontCode || typography.fonts.mono, +export const convert = (inherit: ThemeVars = lightThemeVars): Theme => { + const { + base, + colorPrimary, + colorSecondary, + appBg, + appContentBg, + appBorderColor, + appBorderRadius, + fontBase, + fontCode, + textColor, + textInverseColor, + barTextColor, + barSelectedColor, + barBg, + inputBg, + inputBorder, + inputTextColor, + inputBorderRadius, + brandTitle, + brandUrl, + brandImage, + ...rest + } = inherit; + + return { + ...(rest || {}), + + base, + color: createColors(inherit), + background: { + app: appBg, + content: appContentBg, + hoverable: base === 'light' ? 'rgba(0,0,0,.05)' : 'rgba(250,250,252,.1)' || background.hoverable, + + positive: background.positive, + negative: background.negative, + warning: background.warning, }, - weight: typography.weight, - size: typography.size, - }, - animation, - easing, + typography: { + fonts: { + base: fontBase, + mono: fontCode, + }, + weight: typography.weight, + size: typography.size, + }, + animation, + easing, - input: { - border: vars.inputBorder || color.border, - background: vars.inputBg || color.lightest, - color: vars.inputTextColor || color.defaultText, - borderRadius: vars.inputBorderRadius || vars.appBorderRadius || 4, - }, + input: { + border: inputBorder, + background: inputBg, + color: inputTextColor, + borderRadius: inputBorderRadius, + }, - // UI - layoutMargin: 10, - appBorderColor: vars.appBorderColor || color.border, - appBorderRadius: vars.appBorderRadius || 4, + // UI + layoutMargin: 10, + appBorderColor, + appBorderRadius, - // Toolbar default/active colors - barTextColor: vars.barTextColor || color.mediumdark, - barSelectedColor: vars.barSelectedColor || color.secondary, - barBg: vars.barBg || color.lightest, + // Toolbar default/active colors + barTextColor, + barSelectedColor: barSelectedColor || colorSecondary, + barBg, - // Brand logo/text - brand: { - title: vars.brandTitle, - url: vars.brandUrl, - image: vars.brandImage, - }, + // Brand logo/text + brand: { + title: brandTitle, + url: brandUrl, + image: brandImage, + }, - code: createSyntax({ - colors: vars.base === 'light' ? lightSyntaxColors : darkSyntaxColors, - mono: vars.fontCode || typography.fonts.mono, - }), + code: createSyntax({ + colors: base === 'light' ? lightSyntaxColors : darkSyntaxColors, + mono: fontCode, + }), - // Addon actions theme - // API example https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js - addonActionsTheme: { - ...(vars.base === 'light' ? chromeLight : chromeDark), + // Addon actions theme + // API example https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js + addonActionsTheme: { + ...(base === 'light' ? chromeLight : chromeDark), - BASE_FONT_FAMILY: vars.fontCode || typography.fonts.mono, - BASE_FONT_SIZE: typography.size.s2 - 1, - BASE_LINE_HEIGHT: '18px', - BASE_BACKGROUND_COLOR: 'transparent', - BASE_COLOR: vars.textColor || color.darkest, - ARROW_COLOR: opacify(0.2, vars.appBorderColor || color.border), - ARROW_MARGIN_RIGHT: 4, - ARROW_FONT_SIZE: 8, - TREENODE_FONT_FAMILY: vars.fontCode || typography.fonts.mono, - TREENODE_FONT_SIZE: typography.size.s2 - 1, - TREENODE_LINE_HEIGHT: '18px', - TREENODE_PADDING_LEFT: 12, - }, - - ...(rest || {}), -}); + BASE_FONT_FAMILY: fontCode, + BASE_FONT_SIZE: typography.size.s2 - 1, + BASE_LINE_HEIGHT: '18px', + BASE_BACKGROUND_COLOR: 'transparent', + BASE_COLOR: textColor, + ARROW_COLOR: opacify(0.2, appBorderColor), + ARROW_MARGIN_RIGHT: 4, + ARROW_FONT_SIZE: 8, + TREENODE_FONT_FAMILY: fontCode, + TREENODE_FONT_SIZE: typography.size.s2 - 1, + TREENODE_LINE_HEIGHT: '18px', + TREENODE_PADDING_LEFT: 12, + }, + }; +}; diff --git a/lib/theming/src/ensure.ts b/lib/theming/src/ensure.ts index 70fe4771812..7cfb9ea1f99 100644 --- a/lib/theming/src/ensure.ts +++ b/lib/theming/src/ensure.ts @@ -3,42 +3,15 @@ import { logger } from '@storybook/client-logger'; import { deletedDiff } from 'deep-object-diff'; import { stripIndent } from 'common-tags'; -import mergeWith from 'lodash.mergewith'; -import isEqual from 'lodash.isequal'; - import light from './themes/light'; -import { Theme } from './base'; +import { Theme, ThemeVars } from './base'; +import { convert } from './create'; -const base = { - ...light, - animation: {}, - brand: {}, -}; - -// merge with concatenating arrays, but no duplicates -const merge = (a: any, b: any) => - mergeWith({}, a, b, (objValue: any, srcValue: any) => { - if (Array.isArray(srcValue) && Array.isArray(objValue)) { - srcValue.forEach(s => { - const existing = objValue.find(o => o === s || isEqual(o, s)); - if (!existing) { - objValue.push(s); - } - }); - - return objValue; - } - if (Array.isArray(objValue)) { - return objValue; - } - return undefined; - }); - -export const ensure = (input: any): Theme => { +export const ensure = (input: ThemeVars): Theme => { if (!input) { - return light; + return convert(light); } else { - const missing = deletedDiff(base, input); + const missing = deletedDiff(light, input); if (Object.keys(missing).length) { logger.warn( stripIndent` @@ -50,6 +23,6 @@ export const ensure = (input: any): Theme => { ); } - return merge(light, input); + return convert(input); } }; diff --git a/lib/theming/src/tests/create.test.js b/lib/theming/src/tests/create.test.js new file mode 100644 index 00000000000..94494ceea09 --- /dev/null +++ b/lib/theming/src/tests/create.test.js @@ -0,0 +1,145 @@ +import { create, convert } from '../create'; +import darkThemeVars from '../themes/dark'; +import lightThemeVars from '../themes/light'; + +describe('create base', () => { + it('should create a theme with minimal viable theme', () => { + const result = create({ base: 'light' }); + + expect(result).toBeDefined(); + }); + it('should pick `light` when `base` is missing', () => { + const result = create({ base: undefined }); + + expect(result.base).toBe('light'); + }); + it('should pick `light` when nothing is given', () => { + const result = create(); + + expect(result.base).toBe('light'); + }); + it('should pick `dark` when base is dark', () => { + const result = create({ base: 'dark' }); + + expect(result.base).toBe('dark'); + }); + it('should pick `light` when base is a unknown value', () => { + const result = create({ base: 'foobar' }); + + expect(result.base).toBe('light'); + }); +}); + +describe('create merge', () => { + it('should merge colorPrimary', () => { + const result = create({ base: 'light', colorPrimary: 'orange' }); + + expect(result).toHaveProperty('colorPrimary', 'orange'); + }); + it('should merge colorSecondary', () => { + const result = create({ base: 'light', colorSecondary: 'orange' }); + + expect(result).toHaveProperty('colorSecondary', 'orange'); + }); + it('should merge appBg', () => { + const result = create({ base: 'light', appBg: 'orange' }); + + expect(result).toHaveProperty('appBg', 'orange'); + }); +}); + +describe('create brand', () => { + it('should have default', () => { + const result = create({ base: 'light' }); + + expect(result.brandImage).not.toBeDefined(); + expect(result.brandTitle).not.toBeDefined(); + expect(result.brandUrl).not.toBeDefined(); + }); + it('should accept null', () => { + const result = create({ base: 'light', brandTitle: null, brandUrl: null, brandImage: null }); + + expect(result).toMatchObject({ + brandImage: null, + brandTitle: null, + brandUrl: null, + }); + }); + it('should accept values', () => { + const result = create({ + base: 'light', + brandImage: 'https://placehold.it/350x150', + brandTitle: 'my custom storybook', + brandUrl: 'https://example.com', + }); + + expect(result).toMatchObject({ + brandImage: 'https://placehold.it/350x150', + brandTitle: 'my custom storybook', + brandUrl: 'https://example.com', + }); + }); +}); + +describe('create extend', () => { + it('should allow custom props', () => { + const result = create( + { + base: 'light', + }, + { + myCustomProperty: 42, + } + ); + + expect(result.myCustomProperty).toEqual(42); + }); + it('should not allow overriding known properties with custom props', () => { + const result = create( + { + base: 'light', + }, + { + base: 42, + } + ); + + expect(result.base).toEqual('light'); + }); +}); + +describe('convert', () => { + it('should return the default theme when no params', () => { + const result = convert(); + + expect(result.base).toEqual('light'); + }); + it('should return a valid dark theme', () => { + const result = convert(darkThemeVars); + + expect(result.base).toEqual('dark'); + expect(result).toMatchObject({ + color: expect.objectContaining({ + primary: '#FF4785', + secondary: '#1EA7FD', + }), + background: expect.objectContaining({ + app: '#2f2f2f', + }), + }); + }); + it('should return a valid light theme', () => { + const result = convert(lightThemeVars); + + expect(result.base).toEqual('light'); + expect(result).toMatchObject({ + color: expect.objectContaining({ + primary: '#FF4785', + secondary: '#1EA7FD', + }), + background: expect.objectContaining({ + app: '#F6F9FC', + }), + }); + }); +}); diff --git a/lib/theming/src/themes/dark.ts b/lib/theming/src/themes/dark.ts index 5c64255032d..39ed282514f 100644 --- a/lib/theming/src/themes/dark.ts +++ b/lib/theming/src/themes/dark.ts @@ -1,8 +1,6 @@ -import { create } from '../create'; -import { color, typography } from '../base'; +import { color, typography, ThemeVars } from '../base'; -export default create({ - // Is this a light theme or a dark theme? +const theme: ThemeVars = { base: 'dark', // Storybook-specific color palette @@ -33,4 +31,6 @@ export default create({ inputBorder: 'rgba(0,0,0,.3)', inputTextColor: color.lightest, inputBorderRadius: 4, -}); +}; + +export default theme; diff --git a/lib/theming/src/themes/light.ts b/lib/theming/src/themes/light.ts index f635af5ca6b..fec3cd175c3 100644 --- a/lib/theming/src/themes/light.ts +++ b/lib/theming/src/themes/light.ts @@ -1,8 +1,6 @@ -import { create } from '../create'; -import { color, typography, background } from '../base'; +import { color, typography, background, ThemeVars } from '../base'; -export default create({ - // Is this a light theme or a dark theme? +const theme: ThemeVars = { base: 'light', // Storybook-specific color palette @@ -33,4 +31,6 @@ export default create({ inputBorder: color.border, inputTextColor: color.darkest, inputBorderRadius: 4, -}); +}; + +export default theme; diff --git a/lib/ui/package.json b/lib/ui/package.json index c9531bf9a92..4398aa7789c 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -27,9 +27,7 @@ "@storybook/core-events": "5.0.0-rc.10", "@storybook/router": "5.0.0-rc.10", "@storybook/theming": "5.0.0-rc.10", - "eventemitter3": "^3.1.0", "fast-deep-equal": "^2.0.1", - "fuse.js": "^3.3.1", "fuzzy-search": "^3.0.1", "global": "^4.3.2", "history": "^4.7.2", diff --git a/lib/ui/src/components/sidebar/SidebarHeading.stories.js b/lib/ui/src/components/sidebar/SidebarHeading.stories.js index 17f0960d90b..3bd9b36297d 100644 --- a/lib/ui/src/components/sidebar/SidebarHeading.stories.js +++ b/lib/ui/src/components/sidebar/SidebarHeading.stories.js @@ -1,10 +1,11 @@ import React from 'react'; -import { themes, ThemeProvider } from '@storybook/theming'; +import { themes, ThemeProvider, convert } from '@storybook/theming'; import { action } from '@storybook/addon-actions'; import SidebarHeading from './SidebarHeading'; -const { light: theme } = themes; +const { light } = themes; +const theme = convert(light); export default { component: SidebarHeading, diff --git a/lib/ui/src/core/layout.js b/lib/ui/src/core/layout.js index d6bf8ef8ce9..520b863ab67 100644 --- a/lib/ui/src/core/layout.js +++ b/lib/ui/src/core/layout.js @@ -1,14 +1,16 @@ import pick from 'lodash.pick'; import deprecate from 'util-deprecate'; +import deepEqual from 'fast-deep-equal'; -import { create, themes } from '@storybook/theming'; +import { themes } from '@storybook/theming'; import merge from '../libs/merge'; const deprecatedThemeOptions = { name: 'brandTitle', url: 'brandUrl', }; + const deprecatedLayoutOptions = { goFullScreen: 'isFullscreen', showStoriesPanel: 'showNav', @@ -21,15 +23,14 @@ const deprecationMessage = (optionsMap, prefix) => prefix ? `${prefix}'s` : '' } { ${Object.values(optionsMap).join(', ')} } instead.`; -const applyDeprecatedThemeOptions = deprecate(({ name, url, theme }) => { - const vars = { +const applyDeprecatedThemeOptions = deprecate( + ({ name, url }) => ({ brandTitle: name, brandUrl: url, brandImage: null, - }; - - return { theme: create(vars, theme) }; -}, deprecationMessage(deprecatedThemeOptions)); + }), + deprecationMessage(deprecatedThemeOptions) +); const applyDeprecatedLayoutOptions = deprecate(options => { const layoutUpdate = {}; @@ -59,6 +60,23 @@ const checkDeprecatedLayoutOptions = options => { return {}; }; +const initial = { + ui: { + enableShortcuts: true, + sortStoriesByKind: false, + sidebarAnimations: true, + }, + layout: { + isToolshown: true, + isFullscreen: false, + showPanel: true, + showNav: true, + panelPosition: 'bottom', + }, + theme: themes.light, +}; + +let hasSetOptions = false; export default function({ store }) { const api = { toggleFullscreen(toggled) { @@ -132,7 +150,13 @@ export default function({ store }) { }, setOptions: options => { - const { layout, ui, selectedPanel } = store.getState(); + // The very first time the user sets their options, we don't consider what is in the store. + // At this point in time, what is in the store is what we *persisted*. We did that in order + // to avoid a FOUC (e.g. initial rendering the wrong theme while we waited for the stories to load) + // However, we don't want to have a memory about these things, otherwise we see bugs like the + // user setting a name for their storybook, persisting it, then never being able to unset it + // without clearing localstorage. See https://github.com/storybooks/storybook/issues/5857 + const { layout, ui, selectedPanel, theme } = hasSetOptions ? store.getState() : initial; if (options) { const updatedLayout = { @@ -144,40 +168,40 @@ export default function({ store }) { const updatedUi = { ...ui, ...pick(options, Object.keys(ui)), + }; + + const updatedTheme = { + ...theme, + ...options.theme, ...checkDeprecatedThemeOptions(options), }; - store.setState( - { - layout: updatedLayout, - ui: updatedUi, - selectedPanel: options.panel || options.selectedPanel || selectedPanel, - }, - { persistence: 'permanent' } - ); + const modification = {}; + + if (!deepEqual(ui, updatedUi)) { + modification.ui = updatedUi; + } + if (!deepEqual(layout, updatedLayout)) { + modification.layout = updatedLayout; + } + if (!deepEqual(theme, updatedTheme)) { + modification.theme = updatedTheme; + } + if (!deepEqual(selectedPanel, options.selectedPanel)) { + modification.selectedPanel = options.selectedPanel; + } + + if (Object.keys(modification).length) { + store.setState(modification, { persistence: 'permanent' }); + } + + hasSetOptions = true; } }, }; - const fromState = pick(store.getState(), 'layout', 'ui', 'selectedPanel'); - - const initial = { - ui: { - enableShortcuts: true, - sortStoriesByKind: false, - sidebarAnimations: true, - theme: themes.normal, - }, - layout: { - isToolshown: true, - isFullscreen: false, - showPanel: true, - showNav: true, - panelPosition: 'bottom', - }, - }; - - const state = merge(fromState, initial); + const persisted = pick(store.getState(), 'layout', 'ui', 'selectedPanel', 'theme'); + const state = merge(initial, persisted); return { api, state }; } diff --git a/lib/ui/src/index.js b/lib/ui/src/index.js index 990a8cd1312..2e62922d4aa 100644 --- a/lib/ui/src/index.js +++ b/lib/ui/src/index.js @@ -24,7 +24,7 @@ const Root = ({ provider }) => ( {locationData => ( {({ state }) => ( - + )} diff --git a/lib/ui/src/settings/shortcuts.test.js b/lib/ui/src/settings/shortcuts.test.js index c791f10c055..afad8d70ca0 100644 --- a/lib/ui/src/settings/shortcuts.test.js +++ b/lib/ui/src/settings/shortcuts.test.js @@ -2,7 +2,7 @@ import React from 'react'; import { shallow } from 'enzyme'; import { render } from 'react-testing-library'; -import { ThemeProvider, themes } from '@storybook/theming'; +import { ThemeProvider, themes, convert } from '@storybook/theming'; import ShortcutsScreen from './shortcuts'; // A limited set of keys we use in this test file @@ -26,7 +26,7 @@ const makeActions = () => ({ describe('ShortcutsScreen', () => { it('renders correctly', () => { const comp = shallow( - + ); @@ -35,7 +35,7 @@ describe('ShortcutsScreen', () => { it('handles a full mount', () => { const comp = render( - + ); diff --git a/scripts/compile-js.js b/scripts/compile-js.js index 1ebba2962c7..a25c9907aab 100644 --- a/scripts/compile-js.js +++ b/scripts/compile-js.js @@ -34,7 +34,9 @@ function babelify(options = {}) { const { watch = false, silent = true, errorCallback } = options; if (!fs.existsSync('src')) { - if (!silent) console.log('No src dir'); + if (!silent) { + console.log('No src dir'); + } return; } diff --git a/yarn.lock b/yarn.lock index 12d83c5d35e..cbb66f5d7c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9556,11 +9556,6 @@ functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" -fuse.js@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.3.1.tgz#6e4762b1e1219f41bac8b7b723204d2b1d4cb8cf" - integrity sha512-Ranlb3nqh4Scw1ev5HvMoBUNHnhLceTGImSVf7ug87exLI75CfjhpCV5lFr1vHrAEn7fS80KZFaHCOznlGAG4A== - fuzzy-search@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/fuzzy-search/-/fuzzy-search-3.0.1.tgz#14a4964508a9607d6e9a88818e7ff634108260b6" From bced5bf69212a6c06f107c9f9121c604a5e459d2 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 10:08:31 +0800 Subject: [PATCH 139/249] Theming mgiration placeholder Misc migration notes --- MIGRATION.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 1f61a95ee90..2d9f55a3df5 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -2,6 +2,7 @@ - [From version 4.1.x to 5.0.x](#from-version-41x-to-50x) - [Webpack config simplification](#webpack-config-simplification) + - [Theming overhaul](#theming-overhaul) - [Story hierarchy defaults](#story-hierarchy-defaults) - [Options addon deprecated](#options-addon-deprecated) - [Individual story decorators](#individual-story-decorators) @@ -68,6 +69,10 @@ In contrast, the 4.x configuration function accepted either two or three argumen Please see the [current custom webpack documentation](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config. +## Theming overhaul + +Theming has been rewritten in v5. If you used theming in v4, please consult the [theming docs](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/theming/index.md) to learn about the new API. + ## Story hierarchy defaults Storybook's UI contains a hierarchical tree of stories that can be configured by `hierarchySeparator` and `hierarchyRootSeparator` [options](./addons/options/README.md). @@ -202,9 +207,9 @@ addDecorator( { name: `bluetheme`, // Previous code: ``, - picked: false - } - ] + picked: false, + }, + ], }) ); ``` @@ -221,9 +226,9 @@ addDecorator( { id: `bluetheme`, // Renamed code: ``, - picked: false - } - ] + picked: false, + }, + ], }) ); ``` From cf9a855b8f6847a5621352244e75192d085a267d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 10:12:39 +0800 Subject: [PATCH 140/249] 5.0.0-rc.11 changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c681692b1bb..6b14f5a6249 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 5.0.0-rc.11 (March 5, 2019) + +### Bug Fixes + +* UI: Fix base theme initialization and theme bootup ([#5843](https://github.com/storybooks/storybook/pull/5843)) +* UI: Fix SidebarItem feels "laggy" when clicked ([#5850](https://github.com/storybooks/storybook/pull/5850)) +* Addon-viewport: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829)) + +### Maintenance + +* Addon-a11y: Cleanup & document migration ([#5833](https://github.com/storybooks/storybook/pull/5833)) + ## 5.0.0-rc.10 (March 4, 2019) ### Bug Fixes From 2724eb7c21d0d28e9a5cf0abf314f2314f32d594 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 10:13:46 +0800 Subject: [PATCH 141/249] v5.0.0-rc.11 --- addons/a11y/package.json | 12 ++--- addons/actions/package.json | 10 ++-- addons/backgrounds/package.json | 12 ++--- addons/centered/package.json | 2 +- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 10 ++-- addons/knobs/package.json | 10 ++-- addons/links/package.json | 6 +-- addons/notes/package.json | 12 ++--- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 4 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++--- app/angular/package.json | 6 +-- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native/package.json | 14 ++--- app/react/package.json | 8 +-- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 32 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 48 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 26 ++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 26 ++++----- lerna.json | 2 +- lib/addons/package.json | 6 +-- lib/channel-postmessage/package.json | 6 +-- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 54 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 12 ++--- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 14 ++--- 62 files changed, 356 insertions(+), 356 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 1a39cf441c4..96f215d86f8 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -25,11 +25,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "axe-core": "^3.1.2", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 93d295575ba..a704ac34557 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index d8bace1961a..d06101cca11 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,11 +24,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index 1788548fb04..83270bc7a6a 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 290e8c105d6..30823151ea4 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -24,10 +24,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/channels": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/channels": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/events/package.json b/addons/events/package.json index 6087fc40db9..f64f547bced 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -23,9 +23,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "format-json": "^1.0.3", "prop-types": "^15.6.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 522406e170b..3aa4a017561 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -19,8 +19,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "react-ga": "^2.5.3" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index ea637492c50..aaed6fffe13 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index c74f964b3d7..4d179b9cd4e 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "marksy": "^6.1.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index cb01001e54f..8067b2697c0 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -27,10 +27,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "prop-types": "^15.6.2", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 8b0e8589320..bdb3f97baff 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.2", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index bb268ddad3d..720c72dffe9 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 62f0ba16537..bf4cb392d50 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "markdown-to-jsx": "^6.9.1", "prop-types": "^15.6.2", "util-deprecate": "^1.0.2" diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index db71f5679ee..5d4086ce3c9 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-backgrounds", "private": true, - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", "core-js": "^2.6.2", "prop-types": "^15.6.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index b957f95965b..e0025a23483 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-knobs", "private": true, - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", "core-js": "^2.6.2", "deep-equal": "^1.0.1", "prop-types": "^15.6.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index b43a6f1e1a4..bd5c34816df 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-notes", "private": true, - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -19,7 +19,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", "core-js": "^2.6.2", "prop-types": "^15.6.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 7504f344458..33e5f5694e8 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Options addon for storybook", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", "core-js": "^2.6.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 7a02d83498b..e0f39f67982 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -24,7 +24,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", "core-js": "^2.6.2", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 49fa938f314..a946ac57834 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", + "@storybook/node-logger": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", "core-js": "^2.6.2", "jest-image-snapshot": "^2.6.0", "puppeteer": "^1.12.0", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 506d58ffcca..3b4df165682 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -21,10 +21,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "estraverse": "^4.2.0", "loader-utils": "^1.2.1", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 1def1187235..5439946319b 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "core-js": "^2.6.2", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index d91af448627..39ba50f2403 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,8 +25,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", - "@storybook/node-logger": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", + "@storybook/node-logger": "5.0.0-rc.11", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.2", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 7a62c5438ac..ed06592d216 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -23,7 +23,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.3.1", - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 1cd2f1fde0e..76c4d906e31 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 4db8ef03adf..da116568506 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 339a42736b0..2f5f1edf01f 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index cb67dab9577..d165bd3a646 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", diff --git a/app/preact/package.json b/app/preact/package.json index 12af29c506a..70b9dbb543a 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native/package.json b/app/react-native/package.json index 07b3d119a84..ad5c624474f 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/react-native", "private": true, - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/channel-websocket": "5.0.0-rc.10", - "@storybook/channels": "5.0.0-rc.10", - "@storybook/core": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/ui": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/channel-websocket": "5.0.0-rc.11", + "@storybook/channels": "5.0.0-rc.11", + "@storybook/core": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/ui": "5.0.0-rc.11", "babel-loader": "^8.0.4", "babel-plugin-macros": "^2.4.5", "babel-plugin-syntax-async-functions": "^6.13.0", diff --git a/app/react/package.json b/app/react/package.json index 27b62f71f67..a2f9147b4ca 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.0.0-rc.10", - "@storybook/node-logger": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", + "@storybook/node-logger": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.0", "babel-plugin-react-docgen": "^2.0.2", diff --git a/app/riot/package.json b/app/riot/package.json index 065b736ff32..bf130227817 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 1bbf452ca1b..ce0ef88f447 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index d38b8e42b52..9d374ff62d4 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.0.0-rc.10", + "@storybook/core": "5.0.0-rc.11", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 963d9817c1e..4810dbc41c2 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "license": "MIT", "scripts": { @@ -33,18 +33,18 @@ "@angular-devkit/build-angular": "^0.13.1", "@angular/cli": "^7.3.2", "@angular/compiler-cli": "^7.2.1", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-jest": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/angular": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-jest": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/angular": "5.0.0-rc.11", "@types/core-js": "^2.5.0", "@types/jest": "^23.3.13", "@types/node": "~10.12.19", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index ec22608c553..966d3f31231 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build": "react-scripts build", @@ -18,21 +18,21 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.10", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-events": "5.0.0-rc.10", - "@storybook/addon-info": "5.0.0-rc.10", - "@storybook/addon-jest": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/react": "5.0.0-rc.10", + "@storybook/addon-a11y": "5.0.0-rc.11", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-events": "5.0.0-rc.11", + "@storybook/addon-info": "5.0.0-rc.11", + "@storybook/addon-jest": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/react": "5.0.0-rc.11", "enzyme": "^3.7.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.4", diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index ff0415649ff..d0fd776f586 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -19,11 +19,11 @@ "react-dom": "^16.8.1" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-info": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/react": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-info": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/react": "5.0.0-rc.11", "@types/enzyme": "^3.1.15", "@types/react": "^16.7.22", "@types/react-dom": "^16.0.11", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index d5fd17b063b..01b65c9c513 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build": "ember build", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "5.0.0-rc.10", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/ember": "5.0.0-rc.10", + "@storybook/addon-a11y": "5.0.0-rc.11", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/ember": "5.0.0-rc.11", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 21b703f4b48..fb4f4624214 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.10", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-events": "5.0.0-rc.10", - "@storybook/addon-jest": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/core": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/html": "5.0.0-rc.10", + "@storybook/addon-a11y": "5.0.0-rc.11", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-events": "5.0.0-rc.11", + "@storybook/addon-jest": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/core": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/html": "5.0.0-rc.11", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2", diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index a81bb2d0e24..58657715539 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -22,12 +22,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/marko": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/marko": "5.0.0-rc.11", "prettier": "^1.16.4", "webpack": "^4.29.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index b542c68c935..f4ee46c621b 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,18 +10,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/mithril": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/mithril": "5.0.0-rc.11", "webpack": "^4.29.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 58739217fc9..f409203ed61 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -12,29 +12,29 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.0.0-rc.10", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-cssresources": "5.0.0-rc.10", - "@storybook/addon-events": "5.0.0-rc.10", - "@storybook/addon-graphql": "5.0.0-rc.10", - "@storybook/addon-info": "5.0.0-rc.10", - "@storybook/addon-jest": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/node-logger": "5.0.0-rc.10", - "@storybook/react": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addon-a11y": "5.0.0-rc.11", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-cssresources": "5.0.0-rc.11", + "@storybook/addon-events": "5.0.0-rc.11", + "@storybook/addon-graphql": "5.0.0-rc.11", + "@storybook/addon-info": "5.0.0-rc.11", + "@storybook/addon-jest": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storyshots-puppeteer": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/node-logger": "5.0.0-rc.11", + "@storybook/react": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "cors": "^2.8.4", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.4", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index ecc9a9a4a6b..c23c2d354a6 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -9,15 +9,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/polymer": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/polymer": "5.0.0-rc.11", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 5cbcbb05d14..6fb16f8b6a5 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/preact": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/preact": "5.0.0-rc.11", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index a928235646a..996b19ce35d 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/riot": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/riot": "5.0.0-rc.11", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index bdcaab9b0de..33f9c4f54db 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,17 +10,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/svelte": "5.0.0-rc.10" + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/svelte": "5.0.0-rc.11" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index e56ee631be3..39fd051c59e 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-backgrounds": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addon-storysource": "5.0.0-rc.10", - "@storybook/addon-viewport": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/vue": "5.0.0-rc.10", + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-backgrounds": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addon-storysource": "5.0.0-rc.11", + "@storybook/addon-viewport": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/vue": "5.0.0-rc.11", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index e843e523996..10d9b74f493 100644 --- a/lerna.json +++ b/lerna.json @@ -11,5 +11,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.0.0-rc.10" + "version": "5.0.0-rc.11" } diff --git a/lib/addons/package.json b/lib/addons/package.json index a52e2e144e0..4b94704700f 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook addons store", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", "global": "^4.3.2", "util-deprecate": "^1.0.2" }, diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 5edb536bdd8..5945aefd9f4 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "", "keywords": [ "storybook" @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", "global": "^4.3.2", "telejson": "^2.1.0" }, diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index a4138d245dd..d1f00e00ecd 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "", "keywords": [ "storybook" @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.0.0-rc.10", + "@storybook/channels": "5.0.0-rc.11", "global": "^4.3.2", "json-fn": "^1.1.1" }, diff --git a/lib/channels/package.json b/lib/channels/package.json index 96e47ffbe79..e6cb75db3d3 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 12175c376c6..7b01862086a 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -29,7 +29,7 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.0.0-rc.10", + "@storybook/codemod": "5.0.0-rc.11", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.2", @@ -43,31 +43,31 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.0.0-rc.10", - "@storybook/addon-centered": "5.0.0-rc.10", - "@storybook/addon-graphql": "5.0.0-rc.10", - "@storybook/addon-info": "5.0.0-rc.10", - "@storybook/addon-knobs": "5.0.0-rc.10", - "@storybook/addon-links": "5.0.0-rc.10", - "@storybook/addon-notes": "5.0.0-rc.10", - "@storybook/addon-options": "5.0.0-rc.10", - "@storybook/addon-storyshots": "5.0.0-rc.10", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/angular": "5.0.0-rc.10", - "@storybook/channel-postmessage": "5.0.0-rc.10", - "@storybook/channel-websocket": "5.0.0-rc.10", - "@storybook/channels": "5.0.0-rc.10", - "@storybook/ember": "5.0.0-rc.10", - "@storybook/html": "5.0.0-rc.10", - "@storybook/marko": "5.0.0-rc.10", - "@storybook/mithril": "5.0.0-rc.10", - "@storybook/polymer": "5.0.0-rc.10", - "@storybook/preact": "5.0.0-rc.10", - "@storybook/react": "5.0.0-rc.10", - "@storybook/react-native": "5.0.0-rc.10", - "@storybook/riot": "5.0.0-rc.10", - "@storybook/ui": "5.0.0-rc.10", - "@storybook/vue": "5.0.0-rc.10" + "@storybook/addon-actions": "5.0.0-rc.11", + "@storybook/addon-centered": "5.0.0-rc.11", + "@storybook/addon-graphql": "5.0.0-rc.11", + "@storybook/addon-info": "5.0.0-rc.11", + "@storybook/addon-knobs": "5.0.0-rc.11", + "@storybook/addon-links": "5.0.0-rc.11", + "@storybook/addon-notes": "5.0.0-rc.11", + "@storybook/addon-options": "5.0.0-rc.11", + "@storybook/addon-storyshots": "5.0.0-rc.11", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/angular": "5.0.0-rc.11", + "@storybook/channel-postmessage": "5.0.0-rc.11", + "@storybook/channel-websocket": "5.0.0-rc.11", + "@storybook/channels": "5.0.0-rc.11", + "@storybook/ember": "5.0.0-rc.11", + "@storybook/html": "5.0.0-rc.11", + "@storybook/marko": "5.0.0-rc.11", + "@storybook/mithril": "5.0.0-rc.11", + "@storybook/polymer": "5.0.0-rc.11", + "@storybook/preact": "5.0.0-rc.11", + "@storybook/react": "5.0.0-rc.11", + "@storybook/react-native": "5.0.0-rc.11", + "@storybook/riot": "5.0.0-rc.11", + "@storybook/ui": "5.0.0-rc.11", + "@storybook/vue": "5.0.0-rc.11" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index f14d6c346a1..cdb3052eeb9 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook Client API", "keywords": [ "storybook" @@ -19,10 +19,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", "common-tags": "^1.8.0", "eventemitter3": "^3.1.0", "global": "^4.3.2", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 211c2527f9c..a7bb1ba7a8e 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 62de6c7d6b0..6455c15ce5d 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 34e9903af24..fedc071572b 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "global": "^4.3.2", "immer": "^1.12.0", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index e800febe9b5..29667df5a21 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 34800209da8..98308ba1c1b 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -24,15 +24,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.3.1", - "@storybook/addons": "5.0.0-rc.10", - "@storybook/channel-postmessage": "5.0.0-rc.10", - "@storybook/client-api": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/node-logger": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", - "@storybook/ui": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/channel-postmessage": "5.0.0-rc.11", + "@storybook/client-api": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/node-logger": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", + "@storybook/ui": "5.0.0-rc.11", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.7", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 392a440e891..67209bacbfa 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 81956527e9e..625ea29215d 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -20,7 +20,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/theming": "5.0.0-rc.11", "global": "^4.3.2", "memoizerific": "^1.11.3", "qs": "^6.5.2" diff --git a/lib/theming/package.json b/lib/theming/package.json index 1161de01211..8079ba56732 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.7", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.0.0-rc.10", + "@storybook/client-logger": "5.0.0-rc.11", "common-tags": "^1.8.0", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.7", diff --git a/lib/ui/package.json b/lib/ui/package.json index 4398aa7789c..e90f65610f5 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.0.0-rc.10", + "version": "5.0.0-rc.11", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -21,12 +21,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.0.0-rc.10", - "@storybook/client-logger": "5.0.0-rc.10", - "@storybook/components": "5.0.0-rc.10", - "@storybook/core-events": "5.0.0-rc.10", - "@storybook/router": "5.0.0-rc.10", - "@storybook/theming": "5.0.0-rc.10", + "@storybook/addons": "5.0.0-rc.11", + "@storybook/client-logger": "5.0.0-rc.11", + "@storybook/components": "5.0.0-rc.11", + "@storybook/core-events": "5.0.0-rc.11", + "@storybook/router": "5.0.0-rc.11", + "@storybook/theming": "5.0.0-rc.11", "fast-deep-equal": "^2.0.1", "fuzzy-search": "^3.0.1", "global": "^4.3.2", From f0e4b1d03677ff1c37bdfe59d2c7806c0c14356d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 10:37:37 +0800 Subject: [PATCH 142/249] 5.0.0-rc.11 versions.json --- CHANGELOG.md | 5 ----- docs/static/versions.json | 9 ++++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b14f5a6249..a4467aafee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,6 @@ * UI: Fix base theme initialization and theme bootup ([#5843](https://github.com/storybooks/storybook/pull/5843)) * UI: Fix SidebarItem feels "laggy" when clicked ([#5850](https://github.com/storybooks/storybook/pull/5850)) -* Addon-viewport: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829)) - -### Maintenance - -* Addon-a11y: Cleanup & document migration ([#5833](https://github.com/storybooks/storybook/pull/5833)) ## 5.0.0-rc.10 (March 4, 2019) diff --git a/docs/static/versions.json b/docs/static/versions.json index 8c15918ac36..0cfc365fd97 100644 --- a/docs/static/versions.json +++ b/docs/static/versions.json @@ -1 +1,8 @@ -{"next":{"version":"5.0.0-rc.10","info":{"plain":"### Bug Fixes\n\n* Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829))\n* Addon-backgrounds: Remove previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828))\n\n### Maintenance\n\n* Addon-a11y: Cleanup and document migration ([#5833](https://github.com/storybooks/storybook/pull/5833))"}}} \ No newline at end of file +{ + "next": { + "version": "5.0.0-rc.11", + "info": { + "plain": "### Bug Fixes\n\n* UI: Fix base theme initialization and theme bootup ([#5843](https://github.com/storybooks/storybook/pull/5843))\n* UI: Fix SidebarItem feels \"laggy\" when clicked ([#5850](https://github.com/storybooks/storybook/pull/5850))" + } + } +} From 1c659a5055a04c21f2453d346f7b32effca02618 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 13:12:49 +0800 Subject: [PATCH 143/249] Test docs update --- docs/src/pages/basics/introduction/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/pages/basics/introduction/index.md b/docs/src/pages/basics/introduction/index.md index 58ae0b039fb..8d2357c66af 100644 --- a/docs/src/pages/basics/introduction/index.md +++ b/docs/src/pages/basics/introduction/index.md @@ -3,7 +3,7 @@ id: 'introduction' title: 'Introduction' --- -Storybook is a UI development environment and playground for UI components. +Storybook is a user interface development environment and playground for UI components. The tool enables users to create components independently and showcase components interactively in an isolated development environment. Storybook runs outside of the main app so users can develop UI components in isolation without worrying about app specific dependencies and requirements. @@ -15,5 +15,5 @@ A [Static version](/basics/exporting-storybook) of Storybook can also be built a Here are some featured Storybooks to see how it works: -- [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates) -- [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web) +- [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates) +- [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web) From 5d986a7d31926b44d92f9fc8882c6cd318a437e9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 13:33:05 +0800 Subject: [PATCH 144/249] Update storyshots --- .../__snapshots__/index.stories.storyshot | 88 +- .../addon-info.stories.storyshot | 2552 +++++++++++------ .../__snapshots__/storyshots.test.js.snap | 299 +- .../syntaxhighlighter.stories.storyshot | 466 +-- .../tabs/__snapshots__/tabs.stories.storyshot | 1432 ++++----- .../__snapshots__/panel.stories.storyshot | 240 +- .../__snapshots__/preview.stories.storyshot | 666 ++--- .../__snapshots__/about.stories.storyshot | 725 +++-- 8 files changed, 3697 insertions(+), 2771 deletions(-) diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index 43ab3a7cde5..bf2eff4f81c 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -207,24 +207,32 @@ exports[`Storyshots Button with new info 1`] = ` > "Container" Component

    - +
    - - - - - @@ -232,65 +240,81 @@ exports[`Storyshots Button with new info 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    children node + yes + - +
    isAmazing bool + - + false +
    age other + - + { @@ -315,30 +339,38 @@ exports[`Storyshots Button with new info 1`] = ` } +
    title string + - + the best container ever +
    diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot index aabe5f6698f..71f17378224 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot @@ -122,24 +122,32 @@ exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -147,93 +155,117 @@ exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -439,24 +471,32 @@ exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components cor > "BaseButton" Component - +
    - - - - - @@ -464,93 +504,117 @@ exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components cor - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -883,24 +947,32 @@ exports[`Storyshots Addons|Info/JSX Displays JSX in description 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -908,93 +980,117 @@ exports[`Storyshots Addons|Info/JSX Displays JSX in description 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1166,24 +1262,32 @@ exports[`Storyshots Addons|Info/Markdown Displays Markdown in description 1`] = > "BaseButton" Component - +
    - - - - - @@ -1191,93 +1295,117 @@ exports[`Storyshots Addons|Info/Markdown Displays Markdown in description 1`] = - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1429,24 +1557,32 @@ exports[`Storyshots Addons|Info/Markdown From external Markdown file 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -1454,93 +1590,117 @@ exports[`Storyshots Addons|Info/Markdown From external Markdown file 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -1704,24 +1864,32 @@ exports[`Storyshots Addons|Info/Markdown From internal Markdown file 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -1729,93 +1897,117 @@ exports[`Storyshots Addons|Info/Markdown From internal Markdown file 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2131,24 +2323,32 @@ exports[`Storyshots Addons|Info/Options.excludedPropTypes Excludes propTypes tha > "BaseButton" Component - +
    - - - - - @@ -2156,72 +2356,90 @@ exports[`Storyshots Addons|Info/Options.excludedPropTypes Excludes propTypes tha - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2341,24 +2559,32 @@ exports[`Storyshots Addons|Info/Options.header Shows or hides Info Addon header > "BaseButton" Component - +
    - - - - - @@ -2366,93 +2592,117 @@ exports[`Storyshots Addons|Info/Options.header Shows or hides Info Addon header - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2574,24 +2824,32 @@ exports[`Storyshots Addons|Info/Options.inline Inlines component inside story 1` > "BaseButton" Component - +
    - - - - - @@ -2599,93 +2857,117 @@ exports[`Storyshots Addons|Info/Options.inline Inlines component inside story 1` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2818,24 +3100,32 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr > "BaseButton" Component - +
    - - - - - @@ -2843,93 +3133,117 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -2940,24 +3254,32 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr > "FlowTypeButton" Component - +
    - - - - - @@ -2965,49 +3287,61 @@ exports[`Storyshots Addons|Info/Options.propTables Shows additional component pr - - - - - -
    + property + propType + required + default + description
    disabled unknown + - + false +
    onClick unknown + - + onClick +
    @@ -3209,24 +3543,32 @@ exports[`Storyshots Addons|Info/Options.propTablesExclude Exclude component from > "BaseButton" Component - +
    - - - - - @@ -3234,93 +3576,117 @@ exports[`Storyshots Addons|Info/Options.propTablesExclude Exclude component from - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3400,24 +3766,32 @@ exports[`Storyshots Addons|Info/Options.source Shows or hides Info Addon source > "BaseButton" Component - +
    - - - - - @@ -3425,93 +3799,117 @@ exports[`Storyshots Addons|Info/Options.source Shows or hides Info Addon source - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3636,24 +4034,32 @@ exports[`Storyshots Addons|Info/Options.styles Extend info styles with an object > "BaseButton" Component - +
    - - - - - @@ -3661,93 +4067,117 @@ exports[`Storyshots Addons|Info/Options.styles Extend info styles with an object - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -3872,24 +4302,32 @@ exports[`Storyshots Addons|Info/Options.styles Full control over styles using a > "BaseButton" Component - +
    - - - - - @@ -3897,93 +4335,117 @@ exports[`Storyshots Addons|Info/Options.styles Full control over styles using a - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4163,24 +4625,32 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow > "BaseButton" Component - +
    - - - - - @@ -4188,93 +4658,117 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4414,24 +4908,32 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with mar > "BaseButton" Component - +
    - - - - - @@ -4439,93 +4941,117 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with mar - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4646,24 +5172,32 @@ exports[`Storyshots Addons|Info/Parameters Overwriting and extending the paramet > "BaseButton" Component - +
    - - - - - @@ -4671,72 +5205,90 @@ exports[`Storyshots Addons|Info/Parameters Overwriting and extending the paramet - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -4857,24 +5409,32 @@ exports[`Storyshots Addons|Info/Parameters Using paramaters across all stories 1 > "BaseButton" Component - +
    - - - - - @@ -4882,93 +5442,117 @@ exports[`Storyshots Addons|Info/Parameters Using paramaters across all stories 1 - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -5119,24 +5703,32 @@ exports[`Storyshots Addons|Info/React Docgen Comments from Flow declarations 1`] > "FlowTypeButton" Component - +
    - - - - - @@ -5144,49 +5736,61 @@ exports[`Storyshots Addons|Info/React Docgen Comments from Flow declarations 1`] - - - - - -
    + property + propType + required + default + description
    disabled unknown + - + false +
    onClick unknown + - + onClick +
    @@ -5539,24 +6143,32 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations > "DocgenButton" Component - +
    - - - - - @@ -5564,88 +6176,110 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    one other + - + { @@ -5660,25 +6294,31 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    two other + - + { @@ -5723,25 +6363,31 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    obj object + - + { @@ -5756,25 +6402,31 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    shape other + - + { @@ -5833,25 +6485,31 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations } +
    arrayOf other + - + [ @@ -5874,122 +6532,154 @@ exports[`Storyshots Addons|Info/React Docgen Comments from PropType declarations ] +
    msg other + - + {} +
    enm other + - + News +
    enmEval other + - + Photos +
    union other + - + hello +
    optionalString string + - + Default String +
    @@ -6141,24 +6831,32 @@ exports[`Storyshots Addons|Info/React Docgen Comments from component declaration > "BaseButton" Component - +
    - - - - - @@ -6166,93 +6864,117 @@ exports[`Storyshots Addons|Info/React Docgen Comments from component declaration - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -6404,24 +7126,32 @@ exports[`Storyshots Addons|Info/React Docgen Comments from named export componen > "NamedExportButton" Component - +
    - - - - - @@ -6429,93 +7159,117 @@ exports[`Storyshots Addons|Info/React Docgen Comments from named export componen - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -7003,24 +7757,32 @@ exports[`Storyshots Addons|Info/Story Source Array prop 1`] = ` > "TableComponent" Component - +
    - - - - - @@ -7028,26 +7790,32 @@ exports[`Storyshots Addons|Info/Story Source Array prop 1`] = ` - - -
    + property + propType + required + default + description
    propDefinitions other + - + [] +
    @@ -7256,24 +8024,32 @@ exports[`Storyshots Addons|Info/Story Source Children 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -7281,93 +8057,117 @@ exports[`Storyshots Addons|Info/Story Source Children 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -7517,24 +8317,32 @@ exports[`Storyshots Addons|Info/Story Source Many props 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -7542,93 +8350,117 @@ exports[`Storyshots Addons|Info/Story Source Many props 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -7838,24 +8670,32 @@ exports[`Storyshots Addons|Info/Story Source Object prop 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -7863,93 +8703,117 @@ exports[`Storyshots Addons|Info/Story Source Object prop 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -8074,24 +8938,32 @@ exports[`Storyshots Addons|Info/Story Source One prop 1`] = ` > "BaseButton" Component - +
    - - - - - @@ -8099,93 +8971,117 @@ exports[`Storyshots Addons|Info/Story Source One prop 1`] = ` - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    @@ -8357,24 +9253,32 @@ exports[`Storyshots Addons|Info/deprecated Displays Markdown in description 1`] > "BaseButton" Component - +
    - - - - - @@ -8382,93 +9286,117 @@ exports[`Storyshots Addons|Info/deprecated Displays Markdown in description 1`] - - - - - - - - - - - -
    + property + propType + required + default + description
    disabled bool + - + false +
    label string + yes + - +
    onClick func + - + onClick +
    style other + - + {} +
    diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 1534ae76e8a..1748bad582b 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -3328,16 +3328,73 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` } .emotion-8 { - overflow-y: hidden; - overflow-x: auto; color: #999999; - width: 100%; height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; } .emotion-7 { @@ -3350,12 +3407,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + white-space: nowrap; height: 40px; } @@ -3364,7 +3416,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3435,7 +3486,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3465,23 +3515,12 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: block; position: relative; font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-99 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } .emotion-5 { @@ -3820,16 +3859,73 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` } .emotion-8 { - overflow-y: hidden; - overflow-x: auto; color: #999999; - width: 100%; height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; } .emotion-7 { @@ -3842,12 +3938,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + white-space: nowrap; height: 40px; } @@ -3856,7 +3947,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3927,7 +4017,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -3957,23 +4046,12 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` display: block; position: relative; font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-99 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } .emotion-5 { @@ -4303,84 +4381,43 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` >
    -
    -
    -
    - + Keyboard Shortcuts +
    -
    -
    -
    -
    -
    -
    + class="emotion-6" + > + +
    @@ -653,19 +653,6 @@ exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-2 { position: relative; overflow: auto; @@ -821,6 +808,19 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` opacity: 0.7; } +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -1063,32 +1063,6 @@ exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-2 { position: relative; overflow: auto; @@ -1244,6 +1218,32 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` opacity: 0.7; } +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} +
    @@ -1443,19 +1443,6 @@ exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-2 { position: relative; overflow: auto; @@ -1611,6 +1598,19 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` opacity: 0.7; } +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-1 { display: -webkit-box; display: -webkit-flex; @@ -1855,19 +1855,6 @@ exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` `; exports[`Storyshots Basics|SyntaxHighlighter story 1`] = ` -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; -} - .emotion-2 { position: relative; overflow: auto; @@ -2023,6 +2010,19 @@ exports[`Storyshots Basics|SyntaxHighlighter story 1`] = ` opacity: 0.7; } +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-3 { + position: relative; + overflow: hidden; +} + .emotion-1 { display: -webkit-box; display: -webkit-flex; diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index 2d58ee1b12b..172fa52ea43 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -1,6 +1,107 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + .emotion-6 { overflow: hidden; } @@ -103,107 +204,6 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` display: block; } -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - .emotion-11 { display: block; position: relative; @@ -350,6 +350,107 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-7 > * { + margin-left: 15px; +} + .emotion-6 { overflow: hidden; } @@ -452,107 +553,6 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` display: block; } -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - .emotion-11 { display: block; position: relative; @@ -655,6 +655,107 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - static 1`] = ` +.emotion-5 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-5:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-5::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-5:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-5::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-5::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; + white-space: nowrap; + height: 40px; +} + +.emotion-3 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.emotion-3 > * { + margin-left: 15px; +} + .emotion-2 { overflow: hidden; } @@ -757,107 +858,6 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` display: block; } -.emotion-5 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-5:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-5::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-5:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-5::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-5::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-5::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - white-space: nowrap; - height: 40px; -} - -.emotion-3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-3 > * { - margin-left: 15px; -} - .emotion-7 { display: block; position: relative; @@ -918,104 +918,6 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-9 { color: #999999; height: 40px; @@ -1117,6 +1019,116 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` margin-left: 15px; } +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-11 { + display: block; + position: relative; + font-size: 13px; + position: relative; + overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + .emotion-10 { display: none; } @@ -1136,18 +1148,6 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` flex-direction: column; } -.emotion-11 { - display: block; - position: relative; - font-size: 13px; - position: relative; - overflow: auto; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} -
    @@ -1284,104 +1284,6 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-9 { color: #999999; height: 40px; @@ -1483,6 +1385,104 @@ exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` margin-left: 15px; } +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-11 { display: block; position: relative; @@ -1662,104 +1662,6 @@ exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - .emotion-9 { color: #999999; height: 40px; @@ -1861,6 +1763,104 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` margin-left: 15px; } +.emotion-6 { + overflow: hidden; +} + +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { + display: none; +} + +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-11 { display: block; position: relative; @@ -2013,108 +2013,6 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-13 { - display: block; -} - .emotion-10 { color: #999999; height: 40px; @@ -2216,16 +2114,104 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` margin-left: 15px; } -.emotion-12 { - display: block; - position: relative; - font-size: 13px; +.emotion-6 { + overflow: hidden; } -.emotion-11 { +.emotion-6:first-of-type { + margin-left: 0; +} + +.emotion-0 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: inherit; + border-bottom-color: transparent; +} + +.emotion-0:empty { display: none; } +.emotion-0:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + +.emotion-2 { + white-space: normal; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + overflow: hidden; + vertical-align: top; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0 15px; + text-transform: capitalize; + -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; + transition: color 0.2s linear,border-bottom-color 0.2s linear; + height: 40px; + line-height: 12px; + cursor: pointer; + background: transparent; + border: 0 solid transparent; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + font-weight: bold; + font-size: 13px; + color: #1EA7FD; + border-bottom-color: #1EA7FD; +} + +.emotion-2:empty { + display: none; +} + +.emotion-2:focus { + outline: 0 none; + border-bottom-color: #1EA7FD; +} + .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -2244,6 +2230,20 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` margin-right: 15px; } +.emotion-13 { + display: block; +} + +.emotion-12 { + display: block; + position: relative; + font-size: 13px; +} + +.emotion-11 { + display: none; +} +
    diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 39da8a6a008..49acd540911 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -15,16 +15,73 @@ exports[`Storyshots UI|Panel default 1`] = ` } .emotion-12 { - overflow-y: hidden; - overflow-x: auto; color: #999999; - width: 100%; height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-12:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-12::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-12:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-12::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-12::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-12::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; } .emotion-11 { @@ -37,12 +94,7 @@ exports[`Storyshots UI|Panel default 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + white-space: nowrap; height: 40px; } @@ -51,7 +103,6 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -167,7 +218,6 @@ exports[`Storyshots UI|Panel default 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -226,23 +276,12 @@ exports[`Storyshots UI|Panel default 1`] = ` display: block; position: relative; font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-13 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; }
    -
    -
    -
    - + Test 1 + +
    -
    -
    -
    -
    -
    -
    + class="emotion-10" + > + + +
    -
    -
    -
    -
    -
    -
    -
    - - - - - -
    -
    - - - - -
    -
    -
    -
    + + + + + + +
    -
    -
    -
    -
    -
    -
    + class="emotion-21" + > + + + + +
    , .emotion-2 { @@ -365,12 +374,7 @@ Array [ -ms-flex-pack: justify; justify-content: space-between; position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + white-space: nowrap; height: 40px; } @@ -379,7 +383,6 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -495,7 +498,6 @@ Array [ display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -522,16 +524,24 @@ Array [ } .emotion-29 { - overflow-y: hidden; - overflow-x: auto; color: #999999; - width: 100%; height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); position: absolute; left: 0; right: 0; @@ -543,6 +553,55 @@ Array [ tranform: translateY(0px); } +.emotion-29:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-29::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-29:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-29::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-29::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-29::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-8 { height: 40px; background: none; @@ -592,176 +651,135 @@ Array [
    -
    -
    -
    -
    -
    -
    - - - - - - - -
    -
    - - - - -
    -
    -
    + Canvas + + + + +
    + + + + + +
    -
    -
    -
    -
    -
    -
    + class="emotion-27" + > + + + + +
    , .emotion-2 { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 604adef4e1f..bc9c8ce2487 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -15,16 +15,73 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` } .emotion-8 { - overflow-y: hidden; - overflow-x: auto; color: #999999; - width: 100%; height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-8:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-8::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-8:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-8::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-8::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-8::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; } .emotion-7 { @@ -37,12 +94,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` -ms-flex-pack: justify; justify-content: space-between; position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; + white-space: nowrap; height: 40px; } @@ -51,7 +103,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -122,7 +173,6 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - white-space: nowrap; -webkit-flex-basis: auto; -ms-flex-preferred-size: auto; flex-basis: auto; @@ -152,23 +202,12 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` display: block; position: relative; font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-25 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } .emotion-5 { @@ -375,84 +414,43 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` >
    -
    -
    -
    - + About +
    -
    -
    -
    -
    -
    -
    + class="emotion-6" + > + +
    *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } .emotion-5 { @@ -1016,6 +1053,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` .emotion-17 pre.hljs { padding: 15px; margin: 0; + overflow: auto; white-space: pre-wrap; color: #333333; font-size: 13px; @@ -1431,9 +1469,8 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` } .emotion-20 { - overflow-y: auto; - overflow-x: auto; position: relative; + overflow: auto; } .emotion-20 code { @@ -1661,84 +1698,43 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` >
    -
    -
    -
    - + About +
    -
    -
    -
    -
    -
    -
    + class="emotion-6" + > + +
    -
    -
    -
    -
    -
    -
    -
    -
    -                          
    -                            npx npm-check-updates 
    -                            
    -                              '/storybook/'
    -                            
    -                             -u 
    -                            
    -                              &&
    -                            
    -                             yarn
    -                          
    -                        
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + '/storybook/' + + -u + + && + + yarn + +
    -
    -
    -
    -
    -
    -
    -
    -
    -                          
    -                            yarn upgrade-interactive --latest
    -                          
    -                        
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + yarn upgrade-interactive --latest + +
    *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; + position: relative; overflow: auto; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } .emotion-5 { @@ -2502,6 +2455,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` .emotion-17 pre.hljs { padding: 15px; margin: 0; + overflow: auto; white-space: pre-wrap; color: #333333; font-size: 13px; @@ -2898,84 +2852,43 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` >
    -
    -
    -
    - + About +
    -
    -
    -
    -
    -
    -
    + class="emotion-6" + > + +
    Date: Tue, 5 Mar 2019 13:43:07 +0800 Subject: [PATCH 145/249] Fix indentatation --- .circleci/config.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33a990d7839..8b63393d015 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -205,20 +205,20 @@ jobs: steps: - checkout - restore_cache: - name: Restore core dependencies cache - keys: - - core-dependencies-v3-{{ checksum "yarn.lock" }} + name: Restore core dependencies cache + keys: + - core-dependencies-v3-{{ checksum "yarn.lock" }} - run: - name: Install dependencies - run: yarn install + name: Install dependencies + run: yarn install - run: - name: Trigger build - run: ./scripts/build-frontpage.js + name: Trigger build + run: ./scripts/build-frontpage.js - save_cache: - name: Cache core dependencies - key: core-dependencies-v3-{{ checksum "yarn.lock" }} - paths: - - ~/.cache/yarn + name: Cache core dependencies + key: core-dependencies-v3-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn docs: <<: *defaults steps: From 80a8fee2f29dbd358264e8d05b150324c9cef3e7 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 14:03:37 +0800 Subject: [PATCH 146/249] Fix typo --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b63393d015..94662b9b9e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -210,10 +210,10 @@ jobs: - core-dependencies-v3-{{ checksum "yarn.lock" }} - run: name: Install dependencies - run: yarn install + command: yarn install - run: name: Trigger build - run: ./scripts/build-frontpage.js + command: ./scripts/build-frontpage.js - save_cache: name: Cache core dependencies key: core-dependencies-v3-{{ checksum "yarn.lock" }} From 345bc9c8c4e5bbd90363f876bdaeb9a46d16e4f4 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 5 Mar 2019 14:27:51 +0800 Subject: [PATCH 147/249] Hardcode header link --- docs/src/components/Header/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/components/Header/index.js b/docs/src/components/Header/index.js index 5666958f3dd..27f8e2ea7d5 100644 --- a/docs/src/components/Header/index.js +++ b/docs/src/components/Header/index.js @@ -36,9 +36,9 @@ class Header extends React.Component {