From 45d6aee07c4f84711396330eea17ffcf0d77a92b Mon Sep 17 00:00:00 2001 From: Christian Wiedemann Date: Wed, 20 May 2020 16:49:18 +0200 Subject: [PATCH 01/50] Fix typo in projectRoot node_modules detection. --- lib/core/src/server/config/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/server/config/utils.js b/lib/core/src/server/config/utils.js index eefaa827ca9..8a316176af1 100644 --- a/lib/core/src/server/config/utils.js +++ b/lib/core/src/server/config/utils.js @@ -15,7 +15,7 @@ const projectRoot = () => { // } try { - result = result || __dirname.split('node-modules')[0]; + result = result || __dirname.split('node_modules')[0]; } catch (e) { // } From 76cd2650195342759b707d8cfd8b1f133607f0a9 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 22 May 2020 14:12:06 +0200 Subject: [PATCH 02/50] For single-child stories in preview to be in a column (vertical) and thus be full-width && FIX width --- lib/components/src/blocks/Preview.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/components/src/blocks/Preview.tsx b/lib/components/src/blocks/Preview.tsx index 2e510443b12..40e636cc531 100644 --- a/lib/components/src/blocks/Preview.tsx +++ b/lib/components/src/blocks/Preview.tsx @@ -20,7 +20,7 @@ export interface PreviewProps { type layout = 'padded' | 'fullscreen' | 'centered'; const ChildrenContainer = styled.div( - ({ isColumn, columns }) => ({ + ({ isColumn, columns, layout }) => ({ display: isColumn || !columns ? 'block' : 'flex', position: 'relative', flexWrap: 'wrap', @@ -29,11 +29,11 @@ const ChildrenContainer = styled.div *': isColumn ? { - width: '100%', + width: layout !== 'fullscreen' ? 'calc(100% - 20px)' : '100%', display: 'block', } : { - maxWidth: '100%', + maxWidth: layout !== 'fullscreen' ? 'calc(100% - 20px)' : '100%', display: 'inline-block', }, }), @@ -154,7 +154,7 @@ const Relative = styled.div({ position: 'relative', }); -const getLayout = (children: ReactElement[]) => { +const getLayout = (children: ReactElement[]): layout => { return children.reduce((result, c) => { if (result) { return result; @@ -206,7 +206,12 @@ const Preview: FunctionComponent = ({ )} - + {Array.isArray(children) ? ( // eslint-disable-next-line react/no-array-index-key children.map((child, i) =>
{child}
) From 34dcbf7ef334c660a27a00c04432f1f42454be2b Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 22 May 2020 14:13:48 +0200 Subject: [PATCH 03/50] ADD fullscreen layout to app stories --- examples/angular-cli/src/stories/app.component.stories.ts | 3 +++ examples/cra-kitchen-sink/src/stories/App.stories.js | 3 +++ .../vue-kitchen-sink/src/stories/components/app.stories.js | 3 +++ lib/ui/src/app.stories.tsx | 3 +++ 4 files changed, 12 insertions(+) diff --git a/examples/angular-cli/src/stories/app.component.stories.ts b/examples/angular-cli/src/stories/app.component.stories.ts index d9a65e40769..3b5810aa09b 100644 --- a/examples/angular-cli/src/stories/app.component.stories.ts +++ b/examples/angular-cli/src/stories/app.component.stories.ts @@ -3,6 +3,9 @@ import { AppComponent } from '../app/app.component'; export default { title: 'App Component', component: AppComponent, + parameters: { + layout: 'fullscreen', + }, }; export const ComponentWithSeparateTemplate = () => ({ diff --git a/examples/cra-kitchen-sink/src/stories/App.stories.js b/examples/cra-kitchen-sink/src/stories/App.stories.js index 2f773b4b223..2d302a93be7 100644 --- a/examples/cra-kitchen-sink/src/stories/App.stories.js +++ b/examples/cra-kitchen-sink/src/stories/App.stories.js @@ -6,6 +6,9 @@ import App from '../App'; export default { title: 'App', + parameters: { + layout: 'fullscreen', + }, }; export const FullApp = () => ; diff --git a/examples/vue-kitchen-sink/src/stories/components/app.stories.js b/examples/vue-kitchen-sink/src/stories/components/app.stories.js index f26f16823c4..d7e36142412 100644 --- a/examples/vue-kitchen-sink/src/stories/components/app.stories.js +++ b/examples/vue-kitchen-sink/src/stories/components/app.stories.js @@ -3,6 +3,9 @@ import App from '../../App.vue'; export default { title: 'App', component: App, + parameters: { + layout: 'fullscreen', + }, }; export const app = () => ({ diff --git a/lib/ui/src/app.stories.tsx b/lib/ui/src/app.stories.tsx index 78578b95e0a..6f7fbb7ca87 100644 --- a/lib/ui/src/app.stories.tsx +++ b/lib/ui/src/app.stories.tsx @@ -7,6 +7,9 @@ import Provider from './provider'; export default { title: 'UI/App', component: App, + parameters: { + layout: 'fullscreen', + }, }; export const Default = () => ; From 2f43955836ea5b206e8f0039457c88e84ece4787 Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Fri, 22 May 2020 09:57:15 -0400 Subject: [PATCH 04/50] feat: check for workspace.json in nx workspace --- app/angular/src/server/angular-cli_config.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/angular/src/server/angular-cli_config.ts b/app/angular/src/server/angular-cli_config.ts index cc3101f3921..75a305a0061 100644 --- a/app/angular/src/server/angular-cli_config.ts +++ b/app/angular/src/server/angular-cli_config.ts @@ -47,14 +47,19 @@ function getTsConfigOptions(tsConfigPath: Path) { } export function getAngularCliConfig(dirToSearch: string) { - const fname = path.join(dirToSearch, 'angular.json'); + const possibleConfigNames = ['angular.json', 'workspace.json']; + const possibleConfigPaths = possibleConfigNames + .map(name => path.join(dirToSearch, name)) - if (!fs.existsSync(fname)) { - logger.error(`Could not find angular.json using ${fname}`); + const validIndex = possibleConfigPaths + .findIndex(configPath => fs.existsSync(configPath)); + + if (validIndex === -1) { + logger.error(`Could not find angular.json using ${possibleConfigPaths[0]}`); return undefined; } - return JSON.parse(stripJsonComments(fs.readFileSync(fname, 'utf8'))); + return JSON.parse(stripJsonComments(fs.readFileSync(possibleConfigPaths[validIndex], 'utf8'))); } export function getLeadingAngularCliProject(ngCliConfig: any) { From a19d7641c437ab917ac894705a7380a1e25571a4 Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Fri, 22 May 2020 10:58:06 -0400 Subject: [PATCH 05/50] lint: fix lint warnings --- app/angular/src/server/angular-cli_config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/angular/src/server/angular-cli_config.ts b/app/angular/src/server/angular-cli_config.ts index 75a305a0061..7997634ecd8 100644 --- a/app/angular/src/server/angular-cli_config.ts +++ b/app/angular/src/server/angular-cli_config.ts @@ -49,10 +49,10 @@ function getTsConfigOptions(tsConfigPath: Path) { export function getAngularCliConfig(dirToSearch: string) { const possibleConfigNames = ['angular.json', 'workspace.json']; const possibleConfigPaths = possibleConfigNames - .map(name => path.join(dirToSearch, name)) + .map((name) => path.join(dirToSearch, name)) const validIndex = possibleConfigPaths - .findIndex(configPath => fs.existsSync(configPath)); + .findIndex((configPath) => fs.existsSync(configPath)); if (validIndex === -1) { logger.error(`Could not find angular.json using ${possibleConfigPaths[0]}`); From 9266101cd6551e5a686af8e16a2a02377283bcf3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 01:26:32 +0800 Subject: [PATCH 06/50] Core: Support ts/tsx resolution in the manager --- lib/core/src/server/common/babel.js | 16 +++++++++------- .../src/server/manager/babel-loader-manager.js | 10 ++-------- .../src/server/manager/manager-webpack.config.js | 2 +- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/lib/core/src/server/common/babel.js b/lib/core/src/server/common/babel.js index d4a0290899f..10436d77ff8 100644 --- a/lib/core/src/server/common/babel.js +++ b/lib/core/src/server/common/babel.js @@ -17,16 +17,18 @@ export const plugins = [ require.resolve('babel-plugin-macros'), ]; +export const presets = [ + [ + require.resolve('@babel/preset-env'), + { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }, + ], + require.resolve('@babel/preset-typescript'), +]; + export default () => { return { sourceType: 'unambiguous', - presets: [ - [ - require.resolve('@babel/preset-env'), - { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }, - ], - require.resolve('@babel/preset-typescript'), - ], + presets: [...presets], plugins: [ ...plugins, [require.resolve('babel-plugin-emotion'), { sourceMap: true, autoLabel: true }], diff --git a/lib/core/src/server/manager/babel-loader-manager.js b/lib/core/src/server/manager/babel-loader-manager.js index b7dfeab9763..f893b587157 100644 --- a/lib/core/src/server/manager/babel-loader-manager.js +++ b/lib/core/src/server/manager/babel-loader-manager.js @@ -1,5 +1,5 @@ import { includePaths, excludePaths } from '../config/utils'; -import { plugins } from '../common/babel'; +import { plugins, presets } from '../common/babel'; export default () => ({ test: /\.(mjs|tsx?|jsx?)$/, @@ -8,13 +8,7 @@ export default () => ({ loader: require.resolve('babel-loader'), options: { sourceType: 'unambiguous', - presets: [ - [ - require.resolve('@babel/preset-env'), - { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }, - ], - require.resolve('@babel/preset-react'), - ], + presets: [...presets, require.resolve('@babel/preset-react')], plugins: [ ...plugins, // Shoud only be done on manager. Template literals are not meant to be diff --git a/lib/core/src/server/manager/manager-webpack.config.js b/lib/core/src/server/manager/manager-webpack.config.js index 27ff998195a..e72de77946f 100644 --- a/lib/core/src/server/manager/manager-webpack.config.js +++ b/lib/core/src/server/manager/manager-webpack.config.js @@ -129,7 +129,7 @@ export default ({ ], }, resolve: { - extensions: ['.mjs', '.js', '.jsx', '.json', '.cjs'], + extensions: ['.mjs', '.js', '.jsx', '.json', '.cjs', '.ts', '.tsx'], modules: ['node_modules'].concat(raw.NODE_PATH || []), alias: { ...themingPaths, From dd672dbdf9d42985a57689ce70fef439ee3b86b0 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 01:57:23 +0800 Subject: [PATCH 07/50] 6.0.0-beta.13 changelog --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dbd9b6bae1..34633519e5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## 6.0.0-beta.13 (May 23, 2020) + +### Bug Fixes + +* Core: Fix ts/tsx resolution in the manager ([#10886](https://github.com/storybookjs/storybook/pull/10886)) +* Core: Fix typo in projectRoot node_modules detection ([#10848](https://github.com/storybookjs/storybook/pull/10848)) +* Addon-docs: Fix story inline rendering ([#10875](https://github.com/storybookjs/storybook/pull/10875)) +* Core: Fix CRA filter for built-in webpack settings ([#10861](https://github.com/storybookjs/storybook/pull/10861)) +* Addon-docs: Fix react forwardRefs with destructured props ([#10864](https://github.com/storybookjs/storybook/pull/10864)) + +### Maintenance + +* React: Upgrade preset-create-react-app in examples ([#10867](https://github.com/storybookjs/storybook/pull/10867)) +* Core: Close server when e2e test failed ([#10868](https://github.com/storybookjs/storybook/pull/10868)) + +### Dependency Upgrades + +* Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873)) + ## 6.0.0-beta.12 (May 21, 2020) ### Breaking Changes From 9f0fd68d70f9bc8303954b2146608018492a8f0e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 01:57:34 +0800 Subject: [PATCH 08/50] Update peer dependencies to 6.0.0-beta.13 --- addons/storyshots/storyshots-puppeteer/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index ccb799d5b5a..f8d63ebdece 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -42,7 +42,7 @@ "@types/puppeteer": "^2.0.0" }, "peerDependencies": { - "@storybook/addon-storyshots": "6.0.0-beta.12", + "@storybook/addon-storyshots": "6.0.0-beta.13", "puppeteer": "^2.0.0 || ^3.0.0" }, "peerDependenciesMeta": { @@ -61,4 +61,4 @@ ] } } -} +} \ No newline at end of file From e9ba51794ee02048275694bf32f73a205b90ba9f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 02:06:33 +0800 Subject: [PATCH 09/50] v6.0.0-beta.13 --- addons/a11y/package.json | 18 +++---- addons/actions/package.json | 14 ++--- addons/backgrounds/package.json | 14 ++--- addons/cssresources/package.json | 12 ++--- addons/design-assets/package.json | 14 ++--- addons/docs/package.json | 26 +++++----- addons/essentials/package.json | 16 +++--- addons/events/package.json | 12 ++--- addons/google-analytics/package.json | 6 +-- addons/graphql/package.json | 6 +-- addons/jest/package.json | 12 ++--- addons/knobs/package.json | 16 +++--- addons/links/package.json | 10 ++-- addons/queryparams/package.json | 14 ++--- .../storyshots/storyshots-core/package.json | 12 ++--- .../storyshots-puppeteer/package.json | 6 +-- addons/storysource/package.json | 16 +++--- addons/toolbars/package.json | 10 ++-- addons/viewport/package.json | 14 ++--- app/angular/package.json | 8 +-- app/aurelia/package.json | 10 ++-- app/ember/package.json | 4 +- app/html/package.json | 6 +-- app/marionette/package.json | 4 +- app/marko/package.json | 6 +-- app/mithril/package.json | 6 +-- app/preact/package.json | 6 +-- app/rax/package.json | 4 +- app/react/package.json | 10 ++-- app/riot/package.json | 4 +- app/server/package.json | 6 +-- app/svelte/package.json | 6 +-- app/vue/package.json | 6 +-- app/web-components/package.json | 6 +-- dev-kits/addon-decorator/package.json | 6 +-- dev-kits/addon-parameter/package.json | 14 ++--- dev-kits/addon-preview-wrapper/package.json | 4 +- dev-kits/addon-roundtrip/package.json | 16 +++--- examples/angular-cli/package.json | 26 +++++----- examples/aurelia-kitchen-sink/package.json | 26 +++++----- examples/cra-kitchen-sink/package.json | 28 +++++----- examples/cra-react15/package.json | 12 ++--- examples/cra-ts-essentials/package.json | 8 +-- examples/cra-ts-kitchen-sink/package.json | 16 +++--- examples/dev-kits/package.json | 26 +++++----- examples/ember-cli/package.json | 24 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------- examples/marko-cli/package.json | 16 +++--- examples/mithril-kitchen-sink/package.json | 24 ++++----- examples/official-storybook/package.json | 52 +++++++++---------- examples/preact-kitchen-sink/package.json | 24 ++++----- examples/rax-kitchen-sink/package.json | 30 +++++------ examples/react-ts/package.json | 6 +-- examples/riot-kitchen-sink/package.json | 24 ++++----- examples/server-kitchen-sink/package.json | 16 +++--- examples/standalone-preview/package.json | 4 +- examples/svelte-kitchen-sink/package.json | 26 +++++----- examples/vue-cli/package.json | 8 +-- examples/vue-kitchen-sink/package.json | 26 +++++----- .../web-components-kitchen-sink/package.json | 36 ++++++------- lerna.json | 2 +- lib/addons/package.json | 14 ++--- lib/api/package.json | 12 ++--- lib/channel-postmessage/package.json | 8 +-- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli-sb/package.json | 4 +- lib/cli-storybook/package.json | 4 +- lib/cli/package.json | 52 +++++++++---------- lib/client-api/package.json | 12 ++--- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 4 +- lib/components/package.json | 6 +-- lib/core-events/package.json | 2 +- lib/core/package.json | 22 ++++---- lib/node-logger/package.json | 2 +- lib/postinstall/package.json | 2 +- lib/router/package.json | 2 +- lib/source-loader/package.json | 6 +-- lib/theming/package.json | 4 +- lib/ui/package.json | 24 ++++----- 81 files changed, 532 insertions(+), 532 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 601ed7743a7..5b32640b11e 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -33,14 +33,14 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "axe-core": "^3.5.2", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/addons/actions/package.json b/addons/actions/package.json index 7eb12b9f546..30da7379848 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -28,12 +28,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "fast-deep-equal": "^3.1.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index f8cd9ae9283..9eb446907bc 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -32,12 +32,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "memoizerific": "^1.11.3", "react": "^16.8.3", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 59ef5a42ae1..49c681fc053 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -32,11 +32,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 2c51dc50475..1770c3b7d44 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-design-assets", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Design asset preview for storybook", "keywords": [ "addon", @@ -34,12 +34,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/addons/docs/package.json b/addons/docs/package.json index 707d6502d14..a1253932ea8 100644 --- a/addons/docs/package.json +++ b/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Superior documentation for your components", "keywords": [ "addon", @@ -48,17 +48,17 @@ "@mdx-js/loader": "^1.5.1", "@mdx-js/mdx": "^1.5.1", "@mdx-js/react": "^1.5.1", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "@storybook/csf": "0.0.1", - "@storybook/node-logger": "6.0.0-beta.12", - "@storybook/postinstall": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/node-logger": "6.0.0-beta.13", + "@storybook/postinstall": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "acorn": "^7.1.0", "acorn-jsx": "^5.1.0", "acorn-walk": "^7.0.0", @@ -84,8 +84,8 @@ "@babel/core": "^7.9.6", "@emotion/core": "^10.0.20", "@emotion/styled": "^10.0.17", - "@storybook/react": "6.0.0-beta.12", - "@storybook/web-components": "6.0.0-beta.12", + "@storybook/react": "6.0.0-beta.13", + "@storybook/web-components": "6.0.0-beta.13", "@types/cross-spawn": "^6.0.1", "@types/doctrine": "^0.0.3", "@types/enzyme": "^3.10.3", diff --git a/addons/essentials/package.json b/addons/essentials/package.json index 218d0b383b6..1bc3989209b 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", @@ -28,13 +28,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", "core-js": "^3.0.1", "regenerator-runtime": "^0.13.3", "ts-dedent": "^1.1.1" diff --git a/addons/events/package.json b/addons/events/package.json index ec95f8679e7..93319cadab6 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -31,11 +31,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "format-json": "^1.0.3", "lodash": "^4.17.15", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index fbfc0b314c4..cff85aff5bb 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react-ga": "^2.5.7", diff --git a/addons/graphql/package.json b/addons/graphql/package.json index ceb8ba4d433..da700e62cfb 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", @@ -31,8 +31,8 @@ "dependencies": { "@babel/core": "^7.9.0", "@babel/plugin-transform-classes": "^7.9.2", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", "@types/webpack": "^4.41.9", "babel-loader": "^8.0.6", "core-js": "^3.0.1", diff --git a/addons/jest/package.json b/addons/jest/package.json index e323fc93e9c..ced3493d3af 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -35,11 +35,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 04019c09d91..6909d9b8d9b 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -29,13 +29,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "@types/react-color": "^3.0.1", "copy-to-clipboard": "^3.0.8", "core-js": "^3.0.1", diff --git a/addons/links/package.json b/addons/links/package.json index edb0525d870..38dc9149c52 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -29,11 +29,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "@storybook/csf": "0.0.1", - "@storybook/router": "6.0.0-beta.12", + "@storybook/router": "6.0.0-beta.13", "@types/qs": "^6.9.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index b2759ff6ee2..dea53c07475 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-queryparams", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "parameter addon for storybook", "keywords": [ "addon", @@ -30,12 +30,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "qs": "^6.6.0", diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index bcf0f25c0dc..16a01ef549c 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -33,9 +33,9 @@ }, "dependencies": { "@jest/transform": "^26.0.0", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/glob": "^7.1.1", "@types/jest": "^25.1.1", "@types/jest-specific-snapshot": "^0.5.3", @@ -50,8 +50,8 @@ "ts-dedent": "^1.1.1" }, "devDependencies": { - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", "babel-loader": "^8.0.6", "enzyme": "^3.11.0", "enzyme-to-json": "^3.4.1", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index f8d63ebdece..ea310f11d88 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": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Image snapshots addition to StoryShots based on puppeteer", "keywords": [ "addon", @@ -30,7 +30,7 @@ }, "dependencies": { "@storybook/csf": "0.0.1", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/node-logger": "6.0.0-beta.13", "@types/jest-image-snapshot": "^2.8.0", "@wordpress/jest-puppeteer-axe": "^1.5.0", "core-js": "^3.0.1", @@ -61,4 +61,4 @@ ] } } -} \ No newline at end of file +} diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 06e217585db..167f156c4fb 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -29,13 +29,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/router": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/router": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "estraverse": "^4.2.0", "loader-utils": "^2.0.0", diff --git a/addons/toolbars/package.json b/addons/toolbars/package.json index e373a800d48..c0f51e566e1 100644 --- a/addons/toolbars/package.json +++ b/addons/toolbars/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-toolbars", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook toolbars addon", "keywords": [ "addon", @@ -30,10 +30,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", "core-js": "^3.0.1" }, "peerDependencies": { diff --git a/addons/viewport/package.json b/addons/viewport/package.json index fc512961b6a..09ad3f6d7ee 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -29,12 +29,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index bafb4c68b09..b8082f7ff83 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,9 +34,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", "@types/webpack-env": "^1.15.2", "autoprefixer": "^9.7.6", "core-js": "^3.0.1", diff --git a/app/aurelia/package.json b/app/aurelia/package.json index 0906971c646..2d110a9fb56 100644 --- a/app/aurelia/package.json +++ b/app/aurelia/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/aurelia", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Aurelia: Develop Aurelia Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,10 +26,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", "fork-ts-checker-webpack-plugin": "^4.0.3", "global": "^4.3.2", "ts-loader": "^6.0.1", diff --git a/app/ember/package.json b/app/ember/package.json index 661952ded0c..19dce4263e7 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember", "bugs": { @@ -32,7 +32,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.7.0", - "@storybook/core": "6.0.0-beta.12", + "@storybook/core": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "regenerator-runtime": "^0.13.3", diff --git a/app/html/package.json b/app/html/package.json index 05e4ec4e1c5..e98fca65ee9 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,8 +34,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/marionette/package.json b/app/marionette/package.json index 9e785a4c024..b97dc314344 100644 --- a/app/marionette/package.json +++ b/app/marionette/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marionette", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Marionette: Develop Marionette.js component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "6.0.0-beta.12", + "@storybook/core": "6.0.0-beta.13", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 07f076f898b..a69a940923c 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,8 +34,8 @@ }, "dependencies": { "@marko/webpack": "^2.1.0", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "regenerator-runtime": "^0.13.3", diff --git a/app/mithril/package.json b/app/mithril/package.json index c48c20a3216..6078b97393b 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -36,8 +36,8 @@ "dependencies": { "@babel/core": "^7.9.6", "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/mithril": "^2.0.0", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", diff --git a/app/preact/package.json b/app/preact/package.json index 408e5314e58..05c58d8b038 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -35,8 +35,8 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/rax/package.json b/app/rax/package.json index b50042fb716..36455c72a1a 100644 --- a/app/rax/package.json +++ b/app/rax/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/rax", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Rax: Develop Rax Component in isolation.", "keywords": [ "rax", @@ -34,7 +34,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "6.0.0-beta.12", + "@storybook/core": "6.0.0-beta.13", "babel-preset-rax": "^1.0.0-beta.0", "core-js": "^3.0.1", "driver-dom": "^2.0.0", diff --git a/app/react/package.json b/app/react/package.json index 09612ddb8b1..495c515545b 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -37,9 +37,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.6.3", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", "@svgr/webpack": "^5.4.0", "@types/webpack-env": "^1.15.2", "babel-plugin-add-react-displayname": "^0.0.5", @@ -57,7 +57,7 @@ "webpack": "^4.43.0" }, "devDependencies": { - "@storybook/client-api": "6.0.0-beta.12", + "@storybook/client-api": "6.0.0-beta.13", "@types/node": "^13.13.4", "@types/webpack": "^4.41.12" }, diff --git a/app/riot/package.json b/app/riot/package.json index c71913cd58a..8f080d292a8 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,7 +34,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "6.0.0-beta.12", + "@storybook/core": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "raw-loader": "^4.0.1", diff --git a/app/server/package.json b/app/server/package.json index c7a4a15c198..c0b32263f2d 100644 --- a/app/server/package.json +++ b/app/server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,8 +34,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@storybook/node-logger": "^5.2.8", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", diff --git a/app/svelte/package.json b/app/svelte/package.json index a711f548aa1..5159c7c03c0 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,8 +34,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "regenerator-runtime": "^0.13.3", diff --git a/app/vue/package.json b/app/vue/package.json index e83de631608..67ff2765eec 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -34,8 +34,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/web-components/package.json b/app/web-components/package.json index 3e4137e1813..f753c07d6d8 100644 --- a/app/web-components/package.json +++ b/app/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit-html", @@ -38,8 +38,8 @@ "dependencies": { "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-import-meta": "^7.2.0", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", "@types/webpack-env": "^1.15.2", "babel-plugin-bundled-import-meta": "^0.3.1", "core-js": "^3.0.1", diff --git a/dev-kits/addon-decorator/package.json b/dev-kits/addon-decorator/package.json index e234cd5d136..eecc0ed1bf1 100644 --- a/dev-kits/addon-decorator/package.json +++ b/dev-kits/addon-decorator/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-decorator", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "decorator addon for storybook", "keywords": [ "addon", @@ -24,8 +24,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.4.0" }, diff --git a/dev-kits/addon-parameter/package.json b/dev-kits/addon-parameter/package.json index e75738cd197..6a5c259de67 100644 --- a/dev-kits/addon-parameter/package.json +++ b/dev-kits/addon-parameter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-parameter", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "parameter addon for storybook", "keywords": [ "addon", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/dev-kits/addon-preview-wrapper/package.json b/dev-kits/addon-preview-wrapper/package.json index 75815202cc6..8dd99214f9d 100644 --- a/dev-kits/addon-preview-wrapper/package.json +++ b/dev-kits/addon-preview-wrapper/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-preview-wrapper", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "preview wrapper addon for storybook", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", "react": "^16.8.3" }, "publishConfig": { diff --git a/dev-kits/addon-roundtrip/package.json b/dev-kits/addon-roundtrip/package.json index f7672e19156..30d20619b2c 100644 --- a/dev-kits/addon-roundtrip/package.json +++ b/dev-kits/addon-roundtrip/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-roundtrip", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "roundtrip addon for storybook", "keywords": [ "addon", @@ -24,13 +24,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 3aac5897a4e..ae93a77881e 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "license": "MIT", "scripts": { @@ -37,18 +37,18 @@ "@angular/cli": "^9.1.0", "@angular/compiler-cli": "^9.1.0", "@compodoc/compodoc": "^1.1.11", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/angular": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/angular": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "@types/core-js": "^2.5.0", "@types/jest": "^25.1.1", "@types/node": "^13.13.4", diff --git a/examples/aurelia-kitchen-sink/package.json b/examples/aurelia-kitchen-sink/package.json index 2b47ae93857..1e84e1412a7 100644 --- a/examples/aurelia-kitchen-sink/package.json +++ b/examples/aurelia-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "description": "An Aurelia client application.", "repository": { @@ -25,18 +25,18 @@ "@aurelia/jit-html-browser": "^0.6.0", "@aurelia/runtime": "^0.6.0", "@aurelia/webpack-loader": "dev", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/aurelia": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/aurelia": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "@types/node": "^12.0.0", "css-loader": "^3.0.0", "file-loader": "^4.2.0", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 5860102a6e3..aadb369fe23 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "react-scripts build", @@ -18,19 +18,19 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-events": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-events": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "react-scripts": "^3.0.1" }, "storybook": { diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json index 58f33a3b73e..8ee665de329 100644 --- a/examples/cra-react15/package.json +++ b/examples/cra-react15/package.json @@ -1,6 +1,6 @@ { "name": "cra-react15", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "react-scripts build", @@ -18,11 +18,11 @@ "react-scripts": "3.0.1" }, "devDependencies": { - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "babel-core": "6", "babel-runtime": "6" }, diff --git a/examples/cra-ts-essentials/package.json b/examples/cra-ts-essentials/package.json index b7894dae6eb..a194e83aba5 100644 --- a/examples/cra-ts-essentials/package.json +++ b/examples/cra-ts-essentials/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-essentials", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "react-scripts build", @@ -34,10 +34,10 @@ "typescript": "3.8.3" }, "devDependencies": { - "@storybook/addon-essentials": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", + "@storybook/addon-essentials": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", "@storybook/preset-create-react-app": "^3.0.0", - "@storybook/react": "6.0.0-beta.12" + "@storybook/react": "6.0.0-beta.13" }, "storybook": { "chromatic": { diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 0ae8d7ad669..bc8e63902f9 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": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "react-scripts build", @@ -34,14 +34,14 @@ "typescript": "3.8.3" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", "@storybook/preset-create-react-app": "^3.0.0", - "@storybook/react": "6.0.0-beta.12", + "@storybook/react": "6.0.0-beta.13", "@types/enzyme": "^3.9.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.9.1", diff --git a/examples/dev-kits/package.json b/examples/dev-kits/package.json index b84bf479895..7278944a6c3 100644 --- a/examples/dev-kits/package.json +++ b/examples/dev-kits/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/example-devkits", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./", @@ -8,18 +8,18 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-dll" }, "devDependencies": { - "@storybook/addon-decorator": "6.0.0-beta.12", - "@storybook/addon-parameter": "6.0.0-beta.12", - "@storybook/addon-preview-wrapper": "6.0.0-beta.12", - "@storybook/addon-roundtrip": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addon-decorator": "6.0.0-beta.13", + "@storybook/addon-parameter": "6.0.0-beta.13", + "@storybook/addon-preview-wrapper": "6.0.0-beta.13", + "@storybook/addon-roundtrip": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "cors": "^2.8.5", "cross-env": "^7.0.0", "enzyme-to-json": "^3.4.1", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 54766779c45..20e94a43b9a 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "ember build --output-path ember-output", @@ -16,18 +16,18 @@ "devDependencies": { "@babel/core": "^7.9.6", "@ember/optional-features": "^1.3.0", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/ember": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/ember": "6.0.0-beta.13", "@storybook/ember-cli-storybook": "^0.2.1", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/source-loader": "6.0.0-beta.13", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^7.0.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 7211861d342..a247652f985 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "description": "", "keywords": [], @@ -13,23 +13,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-events": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/html": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-events": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/html": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "eventemitter3": "^4.0.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 17d00d7acb0..3e118fa67ce 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -23,13 +23,13 @@ "marko-starter": "^2.1.0" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/marko": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/marko": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "prettier": "^2.0.5", "webpack": "^4.33.0" }, diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index f24a8411dc8..9a63e2c00ff 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,17 +10,17 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/mithril": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/mithril": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "webpack": "^4.33.0" }, "storybook": { diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 2f7ed962b99..f302bfa5ac2 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./", @@ -14,31 +14,31 @@ }, "devDependencies": { "@packtracker/webpack-plugin": "^2.0.1", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-cssresources": "6.0.0-beta.12", - "@storybook/addon-design-assets": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-events": "6.0.0-beta.12", - "@storybook/addon-graphql": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-queryparams": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storyshots-puppeteer": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-toolbars": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/cli": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-cssresources": "6.0.0-beta.13", + "@storybook/addon-design-assets": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-events": "6.0.0-beta.13", + "@storybook/addon-graphql": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-queryparams": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storyshots-puppeteer": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-toolbars": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/cli": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "chromatic": "^4.0.2", "cors": "^2.8.5", "cross-env": "^7.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 17348ca5b4f..81499ada21b 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,17 +15,17 @@ "devDependencies": { "@babel/core": "^7.9.6", "@babel/plugin-transform-runtime": "^7.9.6", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/preact": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/preact": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "babel-loader": "^8.0.4", "cross-env": "^7.0.0", "file-loader": "^6.0.0", diff --git a/examples/rax-kitchen-sink/package.json b/examples/rax-kitchen-sink/package.json index ebc18184a6c..12b63fbd4ea 100644 --- a/examples/rax-kitchen-sink/package.json +++ b/examples/rax-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "rax-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "build-scripts build", @@ -20,20 +20,20 @@ "devDependencies": { "@alib/build-scripts": "^0.1.8", "@babel/preset-react": "^7.7.4", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-events": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/rax": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-events": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/rax": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "babel-eslint": "^10.0.3", "build-plugin-rax-app": "^0.2.0", "stylesheet-loader": "^0.8.0" diff --git a/examples/react-ts/package.json b/examples/react-ts/package.json index c047027b508..2629721e8d5 100644 --- a/examples/react-ts/package.json +++ b/examples/react-ts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/example-react-ts", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./", @@ -8,8 +8,8 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-dll" }, "dependencies": { - "@storybook/addon-essentials": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", + "@storybook/addon-essentials": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", "@types/react": "^16.9.35", "@types/react-dom": "^16.9.8", "prop-types": "15.7.2", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 5a51c226074..c2448b2c985 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,17 +15,17 @@ }, "devDependencies": { "@babel/core": "^7.9.6", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/riot": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/riot": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", "babel-loader": "^8.0.4", "cross-env": "^7.0.0", "file-loader": "^6.0.0", diff --git a/examples/server-kitchen-sink/package.json b/examples/server-kitchen-sink/package.json index 2ea61103511..28656f384d9 100644 --- a/examples/server-kitchen-sink/package.json +++ b/examples/server-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "server-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "description": "", "keywords": [], @@ -14,13 +14,13 @@ "storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", - "@storybook/server": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", + "@storybook/server": "6.0.0-beta.13", "concurrently": "^5.2.0", "cors": "^2.8.5", "express": "~4.17.1", diff --git a/examples/standalone-preview/package.json b/examples/standalone-preview/package.json index 076c7a28b0a..4643b74018b 100644 --- a/examples/standalone-preview/package.json +++ b/examples/standalone-preview/package.json @@ -1,12 +1,12 @@ { "name": "standalone-preview", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "storybook": "parcel ./storybook.html --port 1337" }, "devDependencies": { - "@storybook/react": "6.0.0-beta.12", + "@storybook/react": "6.0.0-beta.13", "parcel": "^1.12.3", "react": "^16.8.4", "react-dom": "^16.8.4" diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index ad4359f48b4..034fa58acc7 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,18 +10,18 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/svelte": "6.0.0-beta.12" + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/svelte": "6.0.0-beta.13" }, "storybook": { "chromatic": { diff --git a/examples/vue-cli/package.json b/examples/vue-cli/package.json index 93c0be94070..208ad9a5476 100644 --- a/examples/vue-cli/package.json +++ b/examples/vue-cli/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "vue-cli-service build", @@ -15,10 +15,10 @@ "vue-property-decorator": "^8.4.1" }, "devDependencies": { - "@storybook/addon-essentials": "6.0.0-beta.12", + "@storybook/addon-essentials": "6.0.0-beta.13", "@storybook/preset-scss": "^1.0.2", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/vue": "6.0.0-beta.12", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/vue": "6.0.0-beta.13", "@vue/cli-plugin-babel": "~4.3.0", "@vue/cli-plugin-typescript": "~4.3.0", "@vue/cli-service": "~4.3.0", diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index b6dbe5cf983..0dc7ee40969 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.9.6", - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/vue": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/vue": "6.0.0-beta.13", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^7.0.0", diff --git a/examples/web-components-kitchen-sink/package.json b/examples/web-components-kitchen-sink/package.json index bca4350f1fc..e1d65ed8477 100644 --- a/examples/web-components-kitchen-sink/package.json +++ b/examples/web-components-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "web-components-kitchen-sink", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "private": true, "description": "", "keywords": [], @@ -12,23 +12,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "6.0.0-beta.12", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-backgrounds": "6.0.0-beta.12", - "@storybook/addon-docs": "6.0.0-beta.12", - "@storybook/addon-events": "6.0.0-beta.12", - "@storybook/addon-jest": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addon-storysource": "6.0.0-beta.12", - "@storybook/addon-viewport": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/core": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/source-loader": "6.0.0-beta.12", - "@storybook/web-components": "6.0.0-beta.12", + "@storybook/addon-a11y": "6.0.0-beta.13", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-backgrounds": "6.0.0-beta.13", + "@storybook/addon-docs": "6.0.0-beta.13", + "@storybook/addon-events": "6.0.0-beta.13", + "@storybook/addon-jest": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addon-storysource": "6.0.0-beta.13", + "@storybook/addon-viewport": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/core": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/source-loader": "6.0.0-beta.13", + "@storybook/web-components": "6.0.0-beta.13", "babel-loader": "^8.0.5", "eventemitter3": "^4.0.0", "format-json": "^1.0.3", diff --git a/lerna.json b/lerna.json index 9ae4debecc1..8d0c842fbec 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "6.0.0-beta.12" + "version": "6.0.0-beta.13" } diff --git a/lib/addons/package.json b/lib/addons/package.json index d6a9b3e73df..b594740fda5 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook addons store", "keywords": [ "storybook" @@ -28,12 +28,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/router": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/api": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/router": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "regenerator-runtime": "^0.13.3" diff --git a/lib/api/package.json b/lib/api/package.json index f53ba382a71..303ab91fa5b 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -28,12 +28,12 @@ }, "dependencies": { "@reach/router": "^1.3.3", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "@storybook/csf": "0.0.1", - "@storybook/router": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/router": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "@types/reach__router": "^1.3.5", "core-js": "^3.0.1", "fast-deep-equal": "^3.1.1", diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 5dee0868377..18a3b269cd1 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "telejson": "^4.0.0" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 4e75d59b32e..3e09124810b 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "", "keywords": [ "storybook" @@ -28,7 +28,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "6.0.0-beta.12", + "@storybook/channels": "6.0.0-beta.13", "core-js": "^3.0.1", "global": "^4.3.2", "telejson": "^4.0.0" diff --git a/lib/channels/package.json b/lib/channels/package.json index 683a5dbbbaa..9407ee13041 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "", "keywords": [ "storybook" diff --git a/lib/cli-sb/package.json b/lib/cli-sb/package.json index 655b10d250b..a295d90330f 100644 --- a/lib/cli-sb/package.json +++ b/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook CLI", "keywords": [ "storybook" @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "6.0.0-beta.12" + "@storybook/cli": "6.0.0-beta.13" }, "publishConfig": { "access": "public" diff --git a/lib/cli-storybook/package.json b/lib/cli-storybook/package.json index 626c3e79af9..fa9986048f6 100644 --- a/lib/cli-storybook/package.json +++ b/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook CLI", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "6.0.0-beta.12" + "@storybook/cli": "6.0.0-beta.13" }, "publishConfig": { "access": "public" diff --git a/lib/cli/package.json b/lib/cli/package.json index 5914c13983a..7efb42141c3 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -40,8 +40,8 @@ "dependencies": { "@babel/core": "^7.9.6", "@babel/preset-env": "^7.9.6", - "@storybook/codemod": "6.0.0-beta.12", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/codemod": "6.0.0-beta.13", + "@storybook/node-logger": "6.0.0-beta.13", "chalk": "^4.0.0", "commander": "^5.0.0", "core-js": "^3.0.1", @@ -63,30 +63,30 @@ "update-notifier": "^4.0.0" }, "devDependencies": { - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-graphql": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/addon-links": "6.0.0-beta.12", - "@storybook/addon-storyshots": "6.0.0-beta.12", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/angular": "6.0.0-beta.12", - "@storybook/channel-postmessage": "6.0.0-beta.12", - "@storybook/channel-websocket": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/ember": "6.0.0-beta.12", - "@storybook/html": "6.0.0-beta.12", - "@storybook/marionette": "6.0.0-beta.12", - "@storybook/marko": "6.0.0-beta.12", - "@storybook/mithril": "6.0.0-beta.12", - "@storybook/preact": "6.0.0-beta.12", - "@storybook/rax": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-graphql": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/addon-links": "6.0.0-beta.13", + "@storybook/addon-storyshots": "6.0.0-beta.13", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/angular": "6.0.0-beta.13", + "@storybook/channel-postmessage": "6.0.0-beta.13", + "@storybook/channel-websocket": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/ember": "6.0.0-beta.13", + "@storybook/html": "6.0.0-beta.13", + "@storybook/marionette": "6.0.0-beta.13", + "@storybook/marko": "6.0.0-beta.13", + "@storybook/mithril": "6.0.0-beta.13", + "@storybook/preact": "6.0.0-beta.13", + "@storybook/rax": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", "@storybook/react-native": "6.0.0-alpha.0", - "@storybook/riot": "6.0.0-beta.12", - "@storybook/svelte": "6.0.0-beta.12", - "@storybook/ui": "6.0.0-beta.12", - "@storybook/vue": "6.0.0-beta.12", - "@storybook/web-components": "6.0.0-beta.12", + "@storybook/riot": "6.0.0-beta.13", + "@storybook/svelte": "6.0.0-beta.13", + "@storybook/ui": "6.0.0-beta.13", + "@storybook/vue": "6.0.0-beta.13", + "@storybook/web-components": "6.0.0-beta.13", "@types/cross-spawn": "^6.0.1", "@types/inquirer": "^6.5.0", "@types/puppeteer-core": "^2.0.0", diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 3aff3e7d704..0ffabd8603f 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook Client API", "keywords": [ "storybook" @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/channel-postmessage": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/channel-postmessage": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "@storybook/csf": "0.0.1", "@types/webpack-env": "^1.15.2", "core-js": "^3.0.1", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index b75cc8c8c44..b02a8a8066c 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 572adf21ef8..ce4fb4de0fd 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" @@ -30,7 +30,7 @@ "dependencies": { "@mdx-js/mdx": "^1.5.1", "@storybook/csf": "0.0.1", - "@storybook/node-logger": "6.0.0-beta.12", + "@storybook/node-logger": "6.0.0-beta.13", "core-js": "^3.0.1", "cross-spawn": "^7.0.0", "globby": "^11.0.0", diff --git a/lib/components/package.json b/lib/components/package.json index 837f687b6b9..91069283898 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -28,9 +28,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "6.0.0-beta.12", + "@storybook/client-logger": "6.0.0-beta.13", "@storybook/csf": "0.0.1", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/theming": "6.0.0-beta.13", "@types/overlayscrollbars": "^1.9.0", "@types/react-color": "^3.0.1", "@types/react-syntax-highlighter": "11.0.4", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 182483ef24c..3d56d0b4d51 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index ac41b9ae836..2f148361a0c 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -48,17 +48,17 @@ "@babel/preset-react": "^7.8.3", "@babel/preset-typescript": "^7.9.0", "@babel/register": "^7.8.3", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/channel-postmessage": "6.0.0-beta.12", - "@storybook/client-api": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/channel-postmessage": "6.0.0-beta.13", + "@storybook/client-api": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", "@storybook/csf": "0.0.1", - "@storybook/node-logger": "6.0.0-beta.12", - "@storybook/router": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", - "@storybook/ui": "6.0.0-beta.12", + "@storybook/node-logger": "6.0.0-beta.13", + "@storybook/router": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", + "@storybook/ui": "6.0.0-beta.13", "@types/node-fetch": "^2.5.4", "airbnb-js-shims": "^2.2.1", "ansi-to-html": "^0.6.11", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 308021151fe..9e514852588 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "", "keywords": [ "storybook" diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json index 29315167ad7..ff7f2bce11b 100644 --- a/lib/postinstall/package.json +++ b/lib/postinstall/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/postinstall", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Storybook addons postinstall utilities", "keywords": [ "api", diff --git a/lib/router/package.json b/lib/router/package.json index 04d25c0b214..d60a47cfcd7 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Core Storybook Router", "keywords": [ "storybook" diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index 8ad35d86ebb..4a314891a51 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/source-loader", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Source loader", "keywords": [ "lib", @@ -29,8 +29,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", "@storybook/csf": "0.0.1", "core-js": "^3.0.1", "estraverse": "^4.2.0", diff --git a/lib/theming/package.json b/lib/theming/package.json index ef63b39cfd9..34e9e042883 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -31,7 +31,7 @@ "@emotion/core": "^10.0.20", "@emotion/is-prop-valid": "^0.8.6", "@emotion/styled": "^10.0.17", - "@storybook/client-logger": "6.0.0-beta.12", + "@storybook/client-logger": "6.0.0-beta.13", "core-js": "^3.0.1", "deep-object-diff": "^1.1.0", "emotion-theming": "^10.0.19", diff --git a/lib/ui/package.json b/lib/ui/package.json index f117fe45344..a793d65a253 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "6.0.0-beta.12", + "version": "6.0.0-beta.13", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -29,14 +29,14 @@ }, "dependencies": { "@emotion/core": "^10.0.20", - "@storybook/addons": "6.0.0-beta.12", - "@storybook/api": "6.0.0-beta.12", - "@storybook/channels": "6.0.0-beta.12", - "@storybook/client-logger": "6.0.0-beta.12", - "@storybook/components": "6.0.0-beta.12", - "@storybook/core-events": "6.0.0-beta.12", - "@storybook/router": "6.0.0-beta.12", - "@storybook/theming": "6.0.0-beta.12", + "@storybook/addons": "6.0.0-beta.13", + "@storybook/api": "6.0.0-beta.13", + "@storybook/channels": "6.0.0-beta.13", + "@storybook/client-logger": "6.0.0-beta.13", + "@storybook/components": "6.0.0-beta.13", + "@storybook/core-events": "6.0.0-beta.13", + "@storybook/router": "6.0.0-beta.13", + "@storybook/theming": "6.0.0-beta.13", "@types/markdown-to-jsx": "^6.11.0", "@types/rfdc": "^1.1.0", "copy-to-clipboard": "^3.0.8", @@ -66,9 +66,9 @@ }, "devDependencies": { "@babel/core": "^7.9.6", - "@storybook/addon-actions": "6.0.0-beta.12", - "@storybook/addon-knobs": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", + "@storybook/addon-actions": "6.0.0-beta.13", + "@storybook/addon-knobs": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", "@testing-library/react": "^10.0.3", "babel-loader": "^8.0.6", "chromatic": "^4.0.2", From fd8b2f8ba93d8954c1b84a32214cef91bc4875d5 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 02:15:35 +0800 Subject: [PATCH 10/50] Update version.ts to 6.0.0-beta.13 --- lib/api/src/version.ts | 2 +- lib/cli/versions.json | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 15ba4a6b5f5..d6a6c905cb4 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '6.0.0-beta.12'; +export const version = '6.0.0-beta.13'; diff --git a/lib/cli/versions.json b/lib/cli/versions.json index 577cc998a90..cfe2f8e95f5 100644 --- a/lib/cli/versions.json +++ b/lib/cli/versions.json @@ -1,17 +1,17 @@ { - "@storybook/angular": "6.0.0-beta.12", - "@storybook/aurelia": "6.0.0-beta.12", - "@storybook/ember": "6.0.0-beta.12", - "@storybook/html": "6.0.0-beta.12", - "@storybook/marionette": "6.0.0-beta.12", - "@storybook/marko": "6.0.0-beta.12", - "@storybook/mithril": "6.0.0-beta.12", - "@storybook/preact": "6.0.0-beta.12", - "@storybook/rax": "6.0.0-beta.12", - "@storybook/react": "6.0.0-beta.12", - "@storybook/riot": "6.0.0-beta.12", - "@storybook/server": "6.0.0-beta.12", - "@storybook/svelte": "6.0.0-beta.12", - "@storybook/vue": "6.0.0-beta.12", - "@storybook/web-components": "6.0.0-beta.12" + "@storybook/angular": "6.0.0-beta.13", + "@storybook/aurelia": "6.0.0-beta.13", + "@storybook/ember": "6.0.0-beta.13", + "@storybook/html": "6.0.0-beta.13", + "@storybook/marionette": "6.0.0-beta.13", + "@storybook/marko": "6.0.0-beta.13", + "@storybook/mithril": "6.0.0-beta.13", + "@storybook/preact": "6.0.0-beta.13", + "@storybook/rax": "6.0.0-beta.13", + "@storybook/react": "6.0.0-beta.13", + "@storybook/riot": "6.0.0-beta.13", + "@storybook/server": "6.0.0-beta.13", + "@storybook/svelte": "6.0.0-beta.13", + "@storybook/vue": "6.0.0-beta.13", + "@storybook/web-components": "6.0.0-beta.13" } \ No newline at end of file From b95f7a5edc731bf80b0d84c1822985f22eb325eb Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 02:18:07 +0800 Subject: [PATCH 11/50] 6.0.0-beta.13 next.json version file --- docs/src/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/versions/next.json b/docs/src/versions/next.json index 314ed0e5769..c46757342b5 100644 --- a/docs/src/versions/next.json +++ b/docs/src/versions/next.json @@ -1 +1 @@ -{"version":"6.0.0-beta.12","info":{"plain":"### Breaking Changes\n\n- Core: Zero-config TypeScript loading ([#10813](https://github.com/storybookjs/storybook/pull/10813))"}} \ No newline at end of file +{"version":"6.0.0-beta.13","info":{"plain":"### Bug Fixes\n\n* Core: Fix ts/tsx resolution in the manager ([#10886](https://github.com/storybookjs/storybook/pull/10886))\n* Core: Fix typo in projectRoot node_modules detection ([#10848](https://github.com/storybookjs/storybook/pull/10848))\n* Addon-docs: Fix story inline rendering ([#10875](https://github.com/storybookjs/storybook/pull/10875))\n* Core: Fix CRA filter for built-in webpack settings ([#10861](https://github.com/storybookjs/storybook/pull/10861))\n* Addon-docs: Fix react forwardRefs with destructured props ([#10864](https://github.com/storybookjs/storybook/pull/10864))\n\n### Maintenance\n\n* React: Upgrade preset-create-react-app in examples ([#10867](https://github.com/storybookjs/storybook/pull/10867))\n* Core: Close server when e2e test failed ([#10868](https://github.com/storybookjs/storybook/pull/10868))\n\n### Dependency Upgrades\n\n* Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873))"}} \ No newline at end of file From efbf7b248e999b26034b79db9dba1a63ea69e680 Mon Sep 17 00:00:00 2001 From: Oleksandr Kovpashko Date: Sat, 23 May 2020 01:32:31 +0300 Subject: [PATCH 12/50] Docs: fix example of story-level decorators with "storiesOf" API --- docs/src/pages/formats/storiesof-api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/formats/storiesof-api/index.md b/docs/src/pages/formats/storiesof-api/index.md index 11c1e08054e..b1480c2b74b 100644 --- a/docs/src/pages/formats/storiesof-api/index.md +++ b/docs/src/pages/formats/storiesof-api/index.md @@ -71,7 +71,7 @@ And finally, story-level decorators are provided via parameters: storiesOf('Button', module).add( 'with text', () => , - { decorators: withKnobs } + { decorators: [withKnobs] } ); ``` From 53bf07fe19174963635a3fd440de58fbf7eb054c Mon Sep 17 00:00:00 2001 From: Mateo Tibaquira Date: Wed, 20 May 2020 12:00:58 -0500 Subject: [PATCH 13/50] docs(addons): additional tip about the ability to compile TSX components --- docs/src/pages/addons/writing-addons/index.md | 38 ++++++++++++++++--- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/addons/writing-addons/index.md b/docs/src/pages/addons/writing-addons/index.md index f675ea18b40..f6e37c24799 100644 --- a/docs/src/pages/addons/writing-addons/index.md +++ b/docs/src/pages/addons/writing-addons/index.md @@ -95,7 +95,7 @@ addons.register(ADDON_ID, api => { }); ``` -### register the addon +#### Register the addon within `.storybook/main.js`: @@ -105,10 +105,37 @@ module.exports = { } ``` -Now restart/rebuild storybook and the addon should show up! +Now restart/rebuild storybook and the addon should show up! When changing stories, the addon's onStoryChange method will be invoked with the new storyId. -#### Note: +#### TSX Addons + +When your addon needs additional typing or you want to keep it locally, you can register it within `.storybook/manager.tsx` +and import there your TSX components to be compiled by webpack, not requiring an external package nor an additional build step. + +```tsx +// manager.tsx + +import React from 'react'; +import { addons } from '@storybook/addons'; +import { AddonPanel } from '@storybook/components'; +import { ADDON_ID, PARAM_KEY, PANEL_ID, MyPanel } from './MyAddon'; + +addons.register(ADDON_ID, api => { + addons.addPanel(PANEL_ID, { + title: 'My Addon', + paramKey: PARAM_KEY, + render: ({ active, key }) => ( + + + + ), + }); +}); +``` + +#### Note + If you get an error similar to: ``` @@ -128,7 +155,8 @@ It is likely because you do not have a `.babelrc` file or do not have it configu If we want to create a more complex addon, one that wraps the component being rendered for example, there are a few more steps. Essentially you can start communicating from and to the manager using the storybook API. -Now we need to create two files, `register.js` and `index.js,`. `register.js` will be loaded by the manager (the outer frame) and `index.js` will be loaded in the iframe/preview. If you want your addon to be framework agnostic, THIS is the file where you need to be careful about that. +Now we need to create two files, `register.js` and `index.js,`. +`register.js` will be loaded by the manager (the outer frame) and `index.js` will be loaded in the iframe/preview. If you want your addon to be framework agnostic, THIS is the file where you need to be careful about that. ## Creating a decorator @@ -266,7 +294,7 @@ defaultView.story = { ### Disabling an addon panel It's possible to disable an addon panel for a particular story. - + To offer that capability, you need to pass the paramKey when you register the panel ```js addons.register(ADDON_ID, () => { From 8b816173dc8e040bc2490aa76285e8f62347463c Mon Sep 17 00:00:00 2001 From: Mateo Tibaquira Date: Thu, 21 May 2020 22:25:29 -0500 Subject: [PATCH 14/50] ci: update dependencies --- yarn.lock | 1398 +++++++++++++++++++++++++++-------------------------- 1 file changed, 710 insertions(+), 688 deletions(-) diff --git a/yarn.lock b/yarn.lock index e9ad4e68a19..f3c2ce5b794 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,29 +24,29 @@ webpack-dev-server "^3.7.2" yargs-parser "^14.0.0" -"@angular-devkit/architect@0.901.6": - version "0.901.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.901.6.tgz#5fb113850b025bdac894d1bb306b4d2ea51f8416" - integrity sha512-0pWzn10gCZxMCrS62NlD38qE2R7l5fPfBuNylntNqvzw9L7iS1ARgqMlAKn8KLaNG6FrXONmgUWHsV987ZICIw== +"@angular-devkit/architect@0.901.7": + version "0.901.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.901.7.tgz#6a09cb076ca92b3202053fca757a456d1f8e4395" + integrity sha512-yW/PUEqle55QihOFbmeNXaVTodhfeXkteoFDUpz+YpX3xiQDXDtNbIJSzKOQTojtBKdSMKMvZkQLr+RAa7/1EA== dependencies: - "@angular-devkit/core" "9.1.6" + "@angular-devkit/core" "9.1.7" rxjs "6.5.4" "@angular-devkit/build-angular@~0.901.0": - version "0.901.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.901.6.tgz#034f7ba5a5adda715fcbcc35f33ff8a7c62dd4a2" - integrity sha512-jgLFKRWSZIZZVb7fiGC0SHzBFYBkDOLTw/MRta8p81o8WzLe0uxGVP4RlIj6fZxv3Vvb1NZI4HHrgt/jASaj4A== + version "0.901.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-0.901.7.tgz#10d55e3c73213971ba7d733f15d66494dfe9918a" + integrity sha512-NiBwapx/XJqYGzSmENff78i6Yif9PjYDJ9BB+59t2eDofkCZUcPFrhQmRgliO7rt6RATvT81lDP89+LBXCTQPw== dependencies: - "@angular-devkit/architect" "0.901.6" - "@angular-devkit/build-optimizer" "0.901.6" - "@angular-devkit/build-webpack" "0.901.6" - "@angular-devkit/core" "9.1.6" + "@angular-devkit/architect" "0.901.7" + "@angular-devkit/build-optimizer" "0.901.7" + "@angular-devkit/build-webpack" "0.901.7" + "@angular-devkit/core" "9.1.7" "@babel/core" "7.9.0" "@babel/generator" "7.9.3" "@babel/preset-env" "7.9.0" "@babel/template" "7.8.6" "@jsdevtools/coverage-istanbul-loader" "3.0.3" - "@ngtools/webpack" "9.1.6" + "@ngtools/webpack" "9.1.7" ajv "6.12.0" autoprefixer "9.7.4" babel-loader "8.0.6" @@ -93,16 +93,16 @@ tree-kill "1.2.2" webpack "4.42.0" webpack-dev-middleware "3.7.2" - webpack-dev-server "3.10.3" + webpack-dev-server "3.11.0" webpack-merge "4.2.2" webpack-sources "1.4.3" webpack-subresource-integrity "1.4.0" worker-plugin "4.0.3" -"@angular-devkit/build-optimizer@0.901.6": - version "0.901.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.901.6.tgz#2dc85c5ae61113df16566949ae3833283864bb8b" - integrity sha512-M0H9SrOq4QOYqGCIguGQDWizf+XL7whJjBtYHxI7jEjtzar3zkTFgzZ/znv49R56Zch1niH0mBgtDxCFFWqarQ== +"@angular-devkit/build-optimizer@0.901.7": + version "0.901.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-optimizer/-/build-optimizer-0.901.7.tgz#e72fc3031207a78aee175a76d3317cdf226984e9" + integrity sha512-Xuce3StdxhcgLYb0BAaFGr3Bzj5EM2OsAqIT15PkikWY1k5cK50vPxoC/BkX4QDL9eXSHtqAfMBfA6h5N422vw== dependencies: loader-utils "2.0.0" source-map "0.7.3" @@ -110,19 +110,19 @@ typescript "3.6.5" webpack-sources "1.4.3" -"@angular-devkit/build-webpack@0.901.6": - version "0.901.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.901.6.tgz#62a0d8cd94c8c61b734b0a6c149c922dd8908c42" - integrity sha512-jEk850AtIFK+xbXXiloVvueXTbJOL1mANR2UBrmWk7V4Bct+gHVerdXjn9vo1Tsd8BgemUYAcqvLldCx9MSDTg== +"@angular-devkit/build-webpack@0.901.7": + version "0.901.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.901.7.tgz#6d93c38756540a02e67d2c3ccfac4220c62962de" + integrity sha512-pTLW5Eqy9cHgv78LKiH0e30lxqKzUPjh1djvNtFsEemOHsfKQdAfjLjikoaQvqMoBKVaUU7r2vmyyS17cH+1yw== dependencies: - "@angular-devkit/architect" "0.901.6" - "@angular-devkit/core" "9.1.6" + "@angular-devkit/architect" "0.901.7" + "@angular-devkit/core" "9.1.7" rxjs "6.5.4" -"@angular-devkit/core@9.1.6": - version "9.1.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-9.1.6.tgz#d108430a48e58bf1efd1b87aa2edb64e3b9241d1" - integrity sha512-lYXoRtsMsfyIrNAa49Hcx79FPRW6ZrWjK2yJ3avON1Q3WEHYb/DIUP+ItyOQAkNUsCVMyK4wkddsu8PsqEW6tg== +"@angular-devkit/core@9.1.7": + version "9.1.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-9.1.7.tgz#f193ccbae4c80b34188bc9cc401c16b3ced50339" + integrity sha512-guvolu9Cl+qYMTtedLZD9wCqustJjdqzJ2psD2C1Sr1LrX9T0mprmDldR/YnhsitThveJEb6sM/0EvqWxoSvKw== dependencies: ajv "6.12.0" fast-json-stable-stringify "2.1.0" @@ -130,25 +130,25 @@ rxjs "6.5.4" source-map "0.7.3" -"@angular-devkit/schematics@9.1.6": - version "9.1.6" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-9.1.6.tgz#759b01ef6815fd2d7366c3f1907d5878403a816e" - integrity sha512-twS8Sxc6NG4A0n7yITugP0snIMJ2Rm6aOGkckomWjZAP1fPo8pup8EFGc5wUBAtAOM3DJBphEnskpwEWCkBaLg== +"@angular-devkit/schematics@9.1.7": + version "9.1.7" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-9.1.7.tgz#45394a1c928db449b412dacf205c3ec78fb5ef0c" + integrity sha512-oeHPJePBcPp/bd94jHQeFUnft93PGF5iJiKV9szxqS8WWC5OMZ5eK7icRY0PwvLyfenspAZxdZcNaqJqPMul5A== dependencies: - "@angular-devkit/core" "9.1.6" + "@angular-devkit/core" "9.1.7" ora "4.0.3" rxjs "6.5.4" "@angular/cli@^9.1.0": - version "9.1.6" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-9.1.6.tgz#9622745d3fdf73b3045048e7df6c44f5aa8e97f5" - integrity sha512-hQnad0LQx0n+FiMRUV2RX9+L0dLsISu7uzimGLjgJVtW6Bc1cVnaTkKhOqHRQG2Q4Iv8adKWf5UL5tMZz/roDA== + version "9.1.7" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-9.1.7.tgz#0532b9c55d267cd6ee3edb79fec8b19c4e64e607" + integrity sha512-NhsIa725S/U/n7nDxp6ForusdYHEXF4aSIvsFRdoK6vbQ889c5e1Rdj+T5EWXLmpQZxeprSKhLI2alNX0nVhhQ== dependencies: - "@angular-devkit/architect" "0.901.6" - "@angular-devkit/core" "9.1.6" - "@angular-devkit/schematics" "9.1.6" - "@schematics/angular" "9.1.6" - "@schematics/update" "0.901.6" + "@angular-devkit/architect" "0.901.7" + "@angular-devkit/core" "9.1.7" + "@angular-devkit/schematics" "9.1.7" + "@schematics/angular" "9.1.7" + "@schematics/update" "0.901.7" "@yarnpkg/lockfile" "1.1.0" ansi-colors "4.1.1" debug "4.1.1" @@ -166,14 +166,14 @@ uuid "7.0.2" "@angular/common@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.1.7.tgz#79ebbe3c08ced0070314beb10bbccfb8927dfe62" - integrity sha512-04ef+J8bnOnjYbdRsm82IdIaaLFZ6QWh4SLtjnYhgCjEe4Stf59g+zRNPMauMFDQYDCp3foPo0djk1CPfEd8AQ== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-9.1.9.tgz#16e77b2db675b80e32f1788a20c538150fd09294" + integrity sha512-y/tJtkuOJhV2kcaXZyrLZH84i4uQ1r+vaaEHvXj+JZYfYfcMMd/TDqMiPcIkUb3RxqghtZ+q0ZNW5D1Nlru3Pw== "@angular/compiler-cli@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.1.7.tgz#ecd1d47b0368ed21dfcef980b3aaeb37085a3612" - integrity sha512-8HT8+UuSohrXlF90eewG2XuhtOEIfJ2UlijnSB10/+ZyroSdTKckoiFSps86nTd/EfrBblqNUMbwjOxIkzac3w== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-9.1.9.tgz#e3c234d888074002fa5f6b7eab4f63f4ddbdb7bd" + integrity sha512-aLr2eaDlREN8XybgTbelvjtSZ8eAkxBPilnkddc700BgiC6ImyUSKaItOwa8bnjQwq4Wlz5eVG0ibsrX+5MXwg== dependencies: canonical-path "1.0.0" chokidar "^3.0.0" @@ -189,29 +189,29 @@ yargs "15.3.0" "@angular/compiler@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.1.7.tgz#e094f99f8742994761adeb1fd8090b21d2abff98" - integrity sha512-BiHJ3rAd00aJkur7ohnXjqBmz2QkSTAAFWLuBTYuHysxP4zJD54y4uUtsrCUReKL+8dkUv8AcfXBAkCBLvBUYg== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-9.1.9.tgz#cbf678ee28a0811a8ef3ee7be565d4911ff28ec7" + integrity sha512-kjFgaTB2ckr9lgmkS1dOGRT7kmzpQueydxsxXSHWgICNVE6F/u1PHyeSOyJRpxW0GnrkLq3QM2EUFnQGGga5bg== "@angular/core@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.1.7.tgz#0465c26d9101389602e3ff9e502f83f3655e9fe1" - integrity sha512-uJSZ+rdGL47gc3A+Fal1XwJYB4WWpYJrNifvoQ2nOs+X5Qu+j0HN6GXPJb4kixoNzjYCGxmLoirdT3xhNZFcfQ== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-9.1.9.tgz#db4241f867d6e14b81ed6e7c50334813c6ebfc10" + integrity sha512-q/DERgVU6vK2LtTcdVCGGBcoO424WsEfImh3Vcuy+P/ZVmthlDUC/+q+tSKt8MMf4hLpxFDQJE8vUSkktj7QEw== "@angular/forms@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.1.7.tgz#cdefbc7c7093fd37b417975f18b875a798cbd2d9" - integrity sha512-/bRs5hSFDUjOrq2vw11HoS25oEu7KYVxPbQiEjeBHJo82yDmSO+1cVukh6ulDi7iv1sJwSzikDtE9+xDx1ocfQ== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-9.1.9.tgz#20c9a79d1dcb2cace45df9e2f304b658e02c1687" + integrity sha512-r675yImnb/0pY7K5W3V2ITa7YETu1I2AS+bRfII6UQ6gthyeFFOHb5noa7YneC2yqQiM6E4DQmF5ig3daPuFNg== "@angular/platform-browser-dynamic@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.1.7.tgz#cf20e8f9ba3512ca906d7f21cf0926f0222a95ad" - integrity sha512-DyUDGxp4kF4majcm9COVzu/9wzmgnfj+d6GUEjYkbqSH9QP05LonJ6wHMNxNMN6qMfawdCxDe0TnNDRPmHUj9w== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-9.1.9.tgz#12f8b05d3c9ef0844df88f3833e29ea1e49ec5e0" + integrity sha512-b9MG5MWne+IuL3uLm8jwPhlJzqYaGBGk/qibOqb17T24j1iyrlO7T5bZ8zO6pUy5iT/TahVfHPnPJC1qTK5OmA== "@angular/platform-browser@^9.1.0": - version "9.1.7" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.1.7.tgz#47e473660c772f80245bcf872aa7e3df9e875a70" - integrity sha512-zwNCnn4Ozax80YrkFcLoQ/7bVR7jPk7+QT++Nf9MmQwsaqa0Ve1IYa6Hg9Y1Kf4wquI9TdxMN17TPKmX8iNIaA== + version "9.1.9" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-9.1.9.tgz#c2fcc50aebfdc268521b407e32dc0d967cb40411" + integrity sha512-V861X3MxJp1AlMTnkUPldpBLIJbApXF3ka0A5Dq2nVJCyOFeteGkaRWSBgqe2jxmq+LVpJbzcNvtDFXw6mQ0jA== "@aurelia/debug@^0.6.0": version "0.6.0" @@ -221,26 +221,26 @@ "@aurelia/kernel" "^0.6.0" "@aurelia/runtime" "^0.6.0" -"@aurelia/debug@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/debug/-/debug-0.8.0-dev.202005131602.tgz#558bbf43f23c4ee55a50f26927f5ba46465de66a" - integrity sha512-UUohzfwygwzzqS2XytM9uSm4pxiGyg5t8ujD67MLf05+RRIrD663QcOPrYXQCpphQAPheGSLK8VK2Y/ozWoFfQ== +"@aurelia/debug@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/debug/-/debug-0.8.0-dev.202005200307.tgz#820d843bc68c8f086d9b5076e3a2d81b796a3e2f" + integrity sha512-6zpGu1c3tlaapJeQ9oKvv5d6iSNeKfQNeifQAfwyBso/WoioxnZmdB3jacwlof1P2hemxB8RI0e/+P5WdTcVWw== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" -"@aurelia/fetch-client@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/fetch-client/-/fetch-client-0.8.0-dev.202005131602.tgz#f3baae50b5156a9f769338b9652679022b8bd4f6" - integrity sha512-M03hf10wPQsnxrYM8lQbF1zd6SR3cxT37bKdgKiumvHctpRAuZAoS5U8WrKH0bN4CVttfBxOeET0nycNfgWGGQ== +"@aurelia/fetch-client@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/fetch-client/-/fetch-client-0.8.0-dev.202005200307.tgz#085da01ab1c11753b971b647520f1ad7310b7624" + integrity sha512-EwnqLm6VnjBQkY2ExShh6X5aAb/GaqjuPrqaFHXJuCkAIUzX3iD9B4LmMUk5LzDawdhUsG5cEunioe0Ww0jQfA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" "@aurelia/jit-html-browser@^0.6.0": version "0.6.0" @@ -254,20 +254,20 @@ "@aurelia/runtime-html" "^0.6.0" "@aurelia/runtime-html-browser" "^0.6.0" -"@aurelia/jit-html-browser@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/jit-html-browser/-/jit-html-browser-0.8.0-dev.202005131602.tgz#3d3580d4fb84d3c195d6af3ffde45e3770cbb6eb" - integrity sha512-irupMBT3Lu1/b5LjcJAUvYPWwWHnABAnD+wHkHYDXXDlH+LfM6zivsld5uubc2NLEsvdYYWOQD7uO/zt/QFrIw== +"@aurelia/jit-html-browser@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/jit-html-browser/-/jit-html-browser-0.8.0-dev.202005200307.tgz#56243740833c82a26b341a7c0486606e86995e90" + integrity sha512-gSdZ4cPrin85eGLf3XMgFjbXf0hYzE1tB081m0WtnEXOtMTxP1bqYd2ZMzekA+NFMpZZQBDUkQ4HcBOsDzWF9A== dependencies: - "@aurelia/jit" "^0.8.0-dev.202005131602" - "@aurelia/jit-html" "^0.8.0-dev.202005131602" - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html-browser" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" - "@aurelia/scheduler-dom" "^0.8.0-dev.202005131602" + "@aurelia/jit" "^0.8.0-dev.202005200307" + "@aurelia/jit-html" "^0.8.0-dev.202005200307" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html-browser" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" + "@aurelia/scheduler-dom" "^0.8.0-dev.202005200307" "@aurelia/jit-html@^0.6.0": version "0.6.0" @@ -279,17 +279,17 @@ "@aurelia/runtime" "^0.6.0" "@aurelia/runtime-html" "^0.6.0" -"@aurelia/jit-html@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/jit-html/-/jit-html-0.8.0-dev.202005131602.tgz#90fee7e612627e21d574de4d3331a26a5d0ff4f6" - integrity sha512-CD2pVMZDRQ7nem+EcfAJ8tTuo+9C47UN17NBWelsznm0urFVFoWh2Lm0cEPmkrYQG6DLroWljmb40l/j0Nfbpw== +"@aurelia/jit-html@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/jit-html/-/jit-html-0.8.0-dev.202005200307.tgz#6060ff20b104a6dbf0f0880c17408a7710d07c4d" + integrity sha512-OjMR1AxynsBMaIcSVsEHOWUa5VZeYJQteC+uWy2lShBQG4wMGozNLcp4OePY8rYuNgvNefRxJSTDQF9bJUmKpQ== dependencies: - "@aurelia/jit" "^0.8.0-dev.202005131602" - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/jit" "^0.8.0-dev.202005200307" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" "@aurelia/jit@^0.6.0": version "0.6.0" @@ -299,62 +299,62 @@ "@aurelia/kernel" "^0.6.0" "@aurelia/runtime" "^0.6.0" -"@aurelia/jit@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/jit/-/jit-0.8.0-dev.202005131602.tgz#e2bdce41407a5ea5a38f4dc8cb010c56c50c67d1" - integrity sha512-61x6dixyPYsz82CIS44plEWqlFuKbk09dPGNGc9COgIMR/OScPcJcuhED5KKlq867IseseTr5lyGZf2bOD4ifw== +"@aurelia/jit@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/jit/-/jit-0.8.0-dev.202005200307.tgz#f6df793cc6911b8b547d3ea17dfab39a97b1ca22" + integrity sha512-/LeYypR37kIZ2DZVLOTsaP8nMc4arlpXEYYSvGOgp80ZkV5GKCe815lCWD07dzuJK6ltCR5OQHyG+DjtcdhLbA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" "@aurelia/kernel@^0.6.0": version "0.6.0" resolved "https://registry.yarnpkg.com/@aurelia/kernel/-/kernel-0.6.0.tgz#665e1dfd2e48e9ab51a3a64a92885b29a9f3cf1c" integrity sha512-BbUecngdQt8D9xs2417llcdGUtVsiFgmpNeavFY5LkbrsJI3wWwphwenc8PCBqmSFxKJL2GnmPyav4e8xwYLFQ== -"@aurelia/kernel@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/kernel/-/kernel-0.8.0-dev.202005131602.tgz#5b2a9a7918868590b5bd0cd913bc8dabd5679e7b" - integrity sha512-iWXzX/jCx43At8tFjUId65oOG+Wo0Sx2xj3iJLUa0JxC100pYN+yqwuYfw2gBjXD+7lBTa1WdSBpmWw5QnBiVA== +"@aurelia/kernel@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/kernel/-/kernel-0.8.0-dev.202005200307.tgz#e70afd984a15141c4f52c90e47f77f36c9d680e6" + integrity sha512-aonZjKeCAOQjF+Ml5YCoByMApo39SXa4obTMxPNJrmSsC5UWQYcWTTmFVKrfDfWl+iA6QFe4Z6SIzbG0ym2XCQ== dependencies: - "@aurelia/metadata" "^0.8.0-dev.202005131602" + "@aurelia/metadata" "^0.8.0-dev.202005200307" -"@aurelia/metadata@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/metadata/-/metadata-0.8.0-dev.202005131602.tgz#62bac023658e34c73c29210540b30e2a5299429c" - integrity sha512-OkXd5kApVg7q2TbUrNpQEj68B2sO2FDY9ttXVSf5uUh7YWrtSih6czBCY+lSiZVyaDKTzJ+zoewol9l/KGWY7g== +"@aurelia/metadata@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/metadata/-/metadata-0.8.0-dev.202005200307.tgz#296276e6978012e8830ce237d9d2b740b9c1efcf" + integrity sha512-qsazQG0Z4klyTBFNJsD50C74p088YI6N3Q3et2eS4zhFTPk+F49f+arAsKZNyB8aA//gKuWJt/QNmr9D1aoSMQ== -"@aurelia/plugin-conventions@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/plugin-conventions/-/plugin-conventions-0.8.0-dev.202005131602.tgz#30c7b1988cdc8be4095df72fc76a25ee87bc7e06" - integrity sha512-ipJJzEzWEeq03KijZrVZrNe5vF1Rz3Oca73Mazfzs96zNJ9CvPxU/a2F1yr7IE9bFnRXekFYSBQVQVIZu1Kk7A== +"@aurelia/plugin-conventions@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/plugin-conventions/-/plugin-conventions-0.8.0-dev.202005200307.tgz#a52d29dacc0f17b6eb46519d0ed82857d1d80db5" + integrity sha512-s+76+WSBqHQxs5Vq6wpQiNjdSPBbztx4P5bbKrYdb8HSr/l3Hm4BRrmF022bK9mL15Z93pFgWgVMeRNeTzRV8g== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" modify-code "^1.2.0" parse5 "^5.1.1" typescript "^3.8.3" -"@aurelia/route-recognizer@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/route-recognizer/-/route-recognizer-0.8.0-dev.202005131602.tgz#36af55ce1295463386482e30506700032ef485ee" - integrity sha512-ANKpx6a2f/DUUcbOv6buOh5AUdpB385cgDu7AECA/Cjrk7yCn+2OUCnaZ+2ojXmUyUdeGXmxrGFuk7gZfb1Jaw== +"@aurelia/route-recognizer@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/route-recognizer/-/route-recognizer-0.8.0-dev.202005200307.tgz#ef4bcb2d799fbbb504a8bf707bf28891c66092aa" + integrity sha512-B73cskP6dDQJQ0WU725hCSRCLFZCCAAW9k5n+K5WP/8cxOO1vy3GdxEUEZQeefNRZUGEBeXCBLbLLfY0G/zx1A== -"@aurelia/router@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/router/-/router-0.8.0-dev.202005131602.tgz#9fdd40483d764f2f3699737e6ff54e693e044a53" - integrity sha512-MiMwvdQS+j3MXfOdaAxUnedFdrzMWteIDsHpQxkRf7kllLs2IYTWKit0D3fTEKCq/RUOYB96fNYzKBjnXCgJcg== +"@aurelia/router@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/router/-/router-0.8.0-dev.202005200307.tgz#30a6937728c0a8ca4349eed5a76c08a7c37b0440" + integrity sha512-dNflKScsSclwBpW6NnfArbqUQGL6QMXO1xWLo+Cv4xz5k9XXZGoZMIKVk2SNbPrtSMSORyBcH9o2dYiuWgb7OA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/route-recognizer" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/route-recognizer" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" "@aurelia/runtime-html-browser@^0.6.0": version "0.6.0" @@ -365,17 +365,17 @@ "@aurelia/runtime" "^0.6.0" "@aurelia/runtime-html" "^0.6.0" -"@aurelia/runtime-html-browser@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/runtime-html-browser/-/runtime-html-browser-0.8.0-dev.202005131602.tgz#f0bebf87121c4c7d9059ee749649da239f0e81f7" - integrity sha512-z3Ch1lMSTyOHhGc7y+uphhD5b7N73J94dqrbrv4thm/7fpkfjaZAlODyam14bsE85srvCpZemEAj6yRRmDQK6g== +"@aurelia/runtime-html-browser@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/runtime-html-browser/-/runtime-html-browser-0.8.0-dev.202005200307.tgz#4294af53075d5d63e8c03201d1b89c6608cdc6d6" + integrity sha512-+eywZ5kaKVIZ5uE+wz2V7TVon61DQOWC6buOHjAONSUI2Ohhs/+ts6CkjMSJ/sJOb315w2jZdwvm0J2XY/8fYw== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" - "@aurelia/scheduler-dom" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" + "@aurelia/scheduler-dom" "^0.8.0-dev.202005200307" "@aurelia/runtime-html@^0.6.0": version "0.6.0" @@ -385,15 +385,15 @@ "@aurelia/kernel" "^0.6.0" "@aurelia/runtime" "^0.6.0" -"@aurelia/runtime-html@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/runtime-html/-/runtime-html-0.8.0-dev.202005131602.tgz#0ce11121a726a11f70e4a73d552c73541b1d90f1" - integrity sha512-PaWHcI865OAOtmbYaxHc5p/whMDbtj0DTbmGrFZ76xWzFbrIELxTX4tSvtMk///HN9asmg4kKc+YDdRn4WEinQ== +"@aurelia/runtime-html@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/runtime-html/-/runtime-html-0.8.0-dev.202005200307.tgz#57f198475d1a0ee959e45f528f6bd394065f3e6f" + integrity sha512-8VrNAg6b3LghldKTX5WGz7hwoiBYbbkR3CXWj14gEqKig1VYjemDt6AVx54rOPIA0uE14hyRo4djCboo/JU7VA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" "@aurelia/runtime@^0.6.0": version "0.6.0" @@ -402,42 +402,42 @@ dependencies: "@aurelia/kernel" "^0.6.0" -"@aurelia/runtime@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/runtime/-/runtime-0.8.0-dev.202005131602.tgz#7bc986294807f67e745c03445046b08d538ff17a" - integrity sha512-qr4fy554W+4BU3NecmrVSxJVAR1UvAJLSzGA5F9le8J1Hpi2VumjDa/Ar8PiqFM+PLCh+OXj1R0aQMfWG/lzkA== +"@aurelia/runtime@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/runtime/-/runtime-0.8.0-dev.202005200307.tgz#83fcf0857f3c333234949b7eaf9544ea6884ecb7" + integrity sha512-EPzk8SWaPwaxklPDWIWx7nXZ+wWSypbpyLomael8ReaVtLIsjFtcGClxzlY50G9D/G5/bSrFlLWGbEHjl7SblA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" -"@aurelia/scheduler-dom@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/scheduler-dom/-/scheduler-dom-0.8.0-dev.202005131602.tgz#c4cbb30de36822a8c98936dfa37c48437c138ecd" - integrity sha512-RClliimZPgpsFXFbGQK+/nbLrskA4IPSNXz94QUouF+AFprvvmKSsEquEhZTvyiQzJ4UoRo3f4S4Vp6uZuSk8w== +"@aurelia/scheduler-dom@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/scheduler-dom/-/scheduler-dom-0.8.0-dev.202005200307.tgz#c1d85d2c8200bde48fae4d2fea441cba49784112" + integrity sha512-OCHF8Dgm5nzZe7eOHr4SLGnUH8/ebEDi+GpUPnEQcy/Z31nEjegPBg2Y8ohMdC719CTi7YUzi5uuJNjvJ+IMow== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" -"@aurelia/scheduler@^0.8.0-dev.202005131602": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/scheduler/-/scheduler-0.8.0-dev.202005131602.tgz#22836b8b9fa039ff287afa503ba7eed9d992d4e6" - integrity sha512-zNxfefZ+2DMKQh21DSlcglW1IgdZ5CFHwwDXvFmmCn0MOy25W6s2JSL2Q9FJV6E5miyK0u22L+qWhcGiCkJyzg== +"@aurelia/scheduler@^0.8.0-dev.202005200307": + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/scheduler/-/scheduler-0.8.0-dev.202005200307.tgz#ba215dcf94c388c50c9360d46917e5a8d2784a02" + integrity sha512-0zUDUd2YicBxrlv6iAy7zWFYpA9l6X9kOklq6ouboomkH7zlaxrdKvvAp0F4/WkJ0YWHUlf6ufA9wo10/aM2rA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" "@aurelia/webpack-loader@dev": - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/@aurelia/webpack-loader/-/webpack-loader-0.8.0-dev.202005131602.tgz#a104df59e7d6c81fce3209306b173f999bbc9f31" - integrity sha512-YPI7XkhoOOLSqsyOGgE58aGlyy7JQZkE+ibl249EWHrv8D4qquX71C4eg3p4qcKLMI7rZpMuOI7stFEowzOKZg== + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/@aurelia/webpack-loader/-/webpack-loader-0.8.0-dev.202005200307.tgz#147b918d362468254f8806b95b24dbae772beeb8" + integrity sha512-dffvCzo8J51oBq0F4ltskxz/SxQnBnnFqiLtGo+wxeWiC1BOIzqJaO22lYwLbu8NgiL2SucQ78099VZyuzEuZA== dependencies: - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/plugin-conventions" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/plugin-conventions" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" loader-utils "^1.2.3" webpack "^4.41.4" @@ -542,7 +542,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.2.2", "@babel/core@^7.3.4", "@babel/core@^7.4.4", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.5", "@babel/core@^7.8.3", "@babel/core@^7.8.4", "@babel/core@^7.9.0", "@babel/core@^7.9.6": +"@babel/core@7.9.6", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.2.2", "@babel/core@^7.3.4", "@babel/core@^7.4.4", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.5", "@babel/core@^7.8.3", "@babel/core@^7.8.4", "@babel/core@^7.9.0", "@babel/core@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== @@ -916,16 +916,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" - integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" - -"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.2.0", "@babel/plugin-proposal-object-rest-spread@^7.9.0", "@babel/plugin-proposal-object-rest-spread@^7.9.6": +"@babel/plugin-proposal-object-rest-spread@7.9.6", "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.2.0", "@babel/plugin-proposal-object-rest-spread@^7.9.0", "@babel/plugin-proposal-object-rest-spread@^7.9.6": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== @@ -2015,14 +2006,14 @@ "@emotion/native@^10.0.14": version "10.0.27" - resolved "https://registry.npmjs.org/@emotion/native/-/native-10.0.27.tgz#67c2c0ceeeed873c849c611d9a6497a006d43a8f" + resolved "https://registry.yarnpkg.com/@emotion/native/-/native-10.0.27.tgz#67c2c0ceeeed873c849c611d9a6497a006d43a8f" integrity sha512-3qxR2XFizGfABKKbX9kAYc0PHhKuCEuyxshoq3TaMEbi9asWHdQVChg32ULpblm4XAf9oxaitAU7J9SfdwFxtw== dependencies: "@emotion/primitives-core" "10.0.27" "@emotion/primitives-core@10.0.27": version "10.0.27" - resolved "https://registry.npmjs.org/@emotion/primitives-core/-/primitives-core-10.0.27.tgz#7a5fae07fe06a046ced597f5c0048f22d5c45842" + resolved "https://registry.yarnpkg.com/@emotion/primitives-core/-/primitives-core-10.0.27.tgz#7a5fae07fe06a046ced597f5c0048f22d5c45842" integrity sha512-fRBEDNPSFFOrBJ0OcheuElayrNTNdLF9DzMxtL0sFgsCFvvadlzwJHhJMSwEJuxwARm9GhVLr1p8G8JGkK98lQ== dependencies: css-to-react-native "^2.2.1" @@ -2288,12 +2279,13 @@ postcss "^7.0.0" "@istanbuljs/load-nyc-config@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" - integrity sha512-ZR0rq/f/E4f4XcgnDvtMWXCUJpi8eO0rssVhmztsZqLIEFA9UUP9zmpE0VxlM+kv/E1ul2I876Fwil2ayptDVg== + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== dependencies: camelcase "^5.3.1" find-up "^4.1.0" + get-package-type "^0.1.0" js-yaml "^3.13.1" resolve-from "^5.0.0" @@ -3504,32 +3496,32 @@ webpack-virtual-modules "^0.1.10" "@mdx-js/loader@^1.5.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.6.1.tgz#2f5fee718574eb24cfba7f51f42948fb0f201f1a" - integrity sha512-v1+q2NEjHQYiMAQVdCw9TA41I9XRJkJYAm8vPKyDIqAqqlq3QAvsAHyHKMpjXldzREfAMW1yckFqIl2ym10AEw== + version "1.6.4" + resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.6.4.tgz#5fc75ba57c1dae99cd53d64ed22c5493f604416f" + integrity sha512-Br+apzC1Dbj5d8adILHgOxiFIuFvYs+1/FAIiMK77FbmgX02xixHd86IPmWvcWX54nFqhJOX7jICF63/UXmMww== dependencies: - "@mdx-js/mdx" "^1.6.1" - "@mdx-js/react" "^1.6.1" + "@mdx-js/mdx" "^1.6.4" + "@mdx-js/react" "^1.6.4" loader-utils "2.0.0" -"@mdx-js/mdx@^1.5.1", "@mdx-js/mdx@^1.6.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.1.tgz#95d53da3bdb0cd9239097e411b5a41ad86dbd059" - integrity sha512-DLnHbYZGoXSzfIHKgEtsO4qP8029YbdyJvC746PwfPNrRyGciPsqgWmfz/nEXt/fg+UMBG/6/cZaZx/hvyxnyg== +"@mdx-js/mdx@^1.5.1", "@mdx-js/mdx@^1.6.4": + version "1.6.4" + resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.4.tgz#9c7be8430b15b18dad7bd48323eded92a01089f3" + integrity sha512-TuKjwVrp0bhuv++SnqHp3k7agawS4d29sSL9p1B6Wv6IxJTfkJPMD1rI+Ahek45qTNY0Sxh4Q6kox9a7cq1tag== dependencies: - "@babel/core" "7.9.0" + "@babel/core" "7.9.6" "@babel/plugin-syntax-jsx" "7.8.3" "@babel/plugin-syntax-object-rest-spread" "7.8.3" - "@mdx-js/util" "^1.6.1" - babel-plugin-apply-mdx-type-prop "^1.6.1" - babel-plugin-extract-import-names "^1.6.1" + "@mdx-js/util" "^1.6.4" + babel-plugin-apply-mdx-type-prop "^1.6.4" + babel-plugin-extract-import-names "^1.6.4" camelcase-css "2.0.1" detab "2.0.3" hast-util-raw "5.0.2" lodash.uniq "4.5.0" - mdast-util-to-hast "8.2.0" + mdast-util-to-hast "9.1.0" remark-footnotes "1.0.0" - remark-mdx "^1.6.1" + remark-mdx "^1.6.4" remark-parse "8.0.2" remark-squeeze-paragraphs "4.0.0" style-to-object "0.3.0" @@ -3537,15 +3529,15 @@ unist-builder "2.0.3" unist-util-visit "2.0.2" -"@mdx-js/react@^1.5.1", "@mdx-js/react@^1.6.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.1.tgz#46e56602c1f513452db2f1f4185f56dc60a4fcb7" - integrity sha512-jXBSWdWFPK2fs3johKb0hQFsf/x/C24XQYQwMhj8FxwlBgf7+NGATwXFs6pGkKd5/JfK9HXmbOcQ78MYoIZyxA== +"@mdx-js/react@^1.5.1", "@mdx-js/react@^1.6.4": + version "1.6.4" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.4.tgz#5e867921a1f0cfcf4ee756630115f1565845b628" + integrity sha512-3SwDgbr2Fc3i5LrOQnahRUTvx0x/wRf+i8+fJM1caGTeq1XwVb6OHztJzaYt3DSizJVzRsBZznReY+l39up5Pg== -"@mdx-js/util@^1.6.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.1.tgz#c1e8480844dfaeecde8b827d0e4bbf8793274659" - integrity sha512-A3TBBjg5iVo8S4TTG0VrW8G9YNLob4+M6rALKjY8Sxr9zPExWQ7iTPUSvJVE7YhF9E08EQMubx1vRal3jtpJ9Q== +"@mdx-js/util@^1.6.4": + version "1.6.4" + resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.4.tgz#ae31e83f2ccb30f122457ee436a015d654ac3c12" + integrity sha512-cVGZ68yZwyJnOMhARAdgD1IhZ0bsbsKCvsj6I/XnJcT9hNV/8WXErSV98zFfZwH3LmSRPde58l9hln+zXdK/mQ== "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" @@ -3560,12 +3552,12 @@ resolved "https://registry.yarnpkg.com/@ngrx/store/-/store-9.1.2.tgz#cc443d08d53440cafd669048a974b05456e95070" integrity sha512-FQXFonF8hSGJDqgLaoWHy2mkeJwVdoa3jLoT1YpkJWxsFMG4U0T6JYG4VrtuymDgo9XwWBBJqIiNpdTgHhofSQ== -"@ngtools/webpack@9.1.6": - version "9.1.6" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-9.1.6.tgz#7fa8763d4e128a4e371bafa9328a64cf1de246dd" - integrity sha512-W/9kENoiYARDGXqXSmOekQddUlQUVxfYP7JgQwqdg7JYktIpThicbV/iLBChZwWnmn9mb7MDw1IPeUTkZzrO2Q== +"@ngtools/webpack@9.1.7": + version "9.1.7" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-9.1.7.tgz#4322757b029e1175a3361183c06b31d0576538d8" + integrity sha512-A7VB2I42Kn+7jl0tDKzGNLAoZLWSqkKo9Hg1bmKpvAAIz+DSbq3uV+JWgGgTprM3tn0lfkVgmqk4H17HKwAOcg== dependencies: - "@angular-devkit/core" "9.1.6" + "@angular-devkit/core" "9.1.7" enhanced-resolve "4.1.1" rxjs "6.5.4" webpack-sources "1.4.3" @@ -3597,21 +3589,21 @@ fastq "^1.6.0" "@octokit/auth-token@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.0.tgz#b64178975218b99e4dfe948253f0673cbbb59d9f" - integrity sha512-eoOVMjILna7FVQf96iWc3+ZtE/ZT6y8ob8ZzcqKY1ibSQCnu4O/B7pJvzMx5cyZ/RjAff6DAdEb0O0Cjcxidkg== + version "2.4.1" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.1.tgz#375d79eebd03750e6a9b0299e80b8167c7c85655" + integrity sha512-NB81O5h39KfHYGtgfWr2booRxp2bWOJoqbWwbyUg2hw6h35ArWYlAST5B3XwAkbdcx13yt84hFXyFP5X0QToWA== dependencies: - "@octokit/types" "^2.0.0" + "@octokit/types" "^4.0.1" "@octokit/core@^2.4.3": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-2.5.0.tgz#4706258893a7ac6ab35d58d2fb9f2d2ba19a41a5" - integrity sha512-uvzmkemQrBgD8xuGbjhxzJN1darJk9L2cS+M99cHrDG2jlSVpxNJVhoV86cXdYBqdHCc9Z995uLCczaaHIYA6Q== + version "2.5.3" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-2.5.3.tgz#dd754e6f5ad9b15631e9b276ae4f00ac2ea2cf9b" + integrity sha512-23AHK9xBW0v79Ck8h5U+5iA4MW7aosqv+Yr6uZXolVGNzzHwryNH5wM386/6+etiKUTwLFZTqyMU9oQpIBZcFA== dependencies: "@octokit/auth-token" "^2.4.0" "@octokit/graphql" "^4.3.1" "@octokit/request" "^5.4.0" - "@octokit/types" "^2.0.0" + "@octokit/types" "^4.0.1" before-after-hook "^2.1.0" universal-user-agent "^5.0.0" @@ -3625,12 +3617,12 @@ universal-user-agent "^5.0.0" "@octokit/graphql@^4.3.1": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.4.0.tgz#4540b48bbf796b837b311ba6ea5104760db530ca" - integrity sha512-Du3hAaSROQ8EatmYoSAJjzAz3t79t9Opj/WY1zUgxVUGfIKn0AEjg+hlOLscF6fv6i/4y/CeUvsWgIfwMkTccw== + version "4.5.0" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.5.0.tgz#e111f841bc15722b1e9887f447fccab700cacdad" + integrity sha512-StJWfn0M1QfhL3NKBz31e1TdDNZrHLLS57J2hin92SIfzlOVBuUaRkp31AGkGOAFOAVtyEX6ZiZcsjcJDjeb5g== dependencies: "@octokit/request" "^5.3.0" - "@octokit/types" "^2.0.0" + "@octokit/types" "^4.0.1" universal-user-agent "^5.0.0" "@octokit/plugin-enterprise-rest@^3.6.1": @@ -3646,11 +3638,11 @@ "@octokit/types" "^2.0.1" "@octokit/plugin-paginate-rest@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.0.tgz#9ae0c14c1b90ec0d96d2ef1b44706b4505a91cee" - integrity sha512-KoNxC3PLNar8UJwR+1VMQOw2IoOrrFdo5YOiDKnBhpVbKpw+zkBKNMNKwM44UWL25Vkn0Sl3nYIEGKY+gW5ebw== + version "2.2.1" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.1.tgz#b95ec46c841d51e5e625f383c579d132ab216d05" + integrity sha512-/tHpIF2XpN40AyhIq295YRjb4g7Q5eKob0qM3thYJ0Z+CgmNsWKM/fWse/SUR8+LdprP1O4ZzSKQE+71TCwK+w== dependencies: - "@octokit/types" "^2.12.1" + "@octokit/types" "^4.0.1" "@octokit/plugin-request-log@^1.0.0": version "1.0.0" @@ -3665,12 +3657,12 @@ "@octokit/types" "^2.0.1" deprecation "^2.3.1" -"@octokit/plugin-rest-endpoint-methods@3.11.0": - version "3.11.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.11.0.tgz#96e69d7904bcbb6172be2bc1c70757ff1377fbfe" - integrity sha512-D31cBYhlOt6Om2xNkCNZUjyWdaDKUfa4HwpLwL8Dnu8aDuVuuOPLUhFMUDE0GvfqlNQFrNtU7n5HaZm+KmRdsw== +"@octokit/plugin-rest-endpoint-methods@^3.12.2": + version "3.12.2" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.12.2.tgz#3da0422531db806204e20ec9a014dea89bec1f29" + integrity sha512-QUfJ6nriHpwTxf8As99kEyDQV4AGQvypsM8Xyx5rsWi6JY7rzjOkZrleRrFq0aiNcQo7acM4bwaXq462OKTJ9w== dependencies: - "@octokit/types" "^2.16.0" + "@octokit/types" "^4.0.0" deprecation "^2.3.1" "@octokit/request-error@^1.0.2": @@ -3683,18 +3675,18 @@ once "^1.4.0" "@octokit/request-error@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.0.tgz#94ca7293373654400fbb2995f377f9473e00834b" - integrity sha512-rtYicB4Absc60rUv74Rjpzek84UbVHGHJRu4fNVlZ1mCcyUPPuzFfG9Rn6sjHrd95DEsmjSt1Axlc699ZlbDkw== + version "2.0.1" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.1.tgz#49bd71e811daffd5bdd06ef514ca47b5039682d1" + integrity sha512-5lqBDJ9/TOehK82VvomQ6zFiZjPeSom8fLkFVLuYL3sKiIb5RB8iN/lenLkY7oBmyQcGP7FBMGiIZTO8jufaRQ== dependencies: - "@octokit/types" "^2.0.0" + "@octokit/types" "^4.0.1" deprecation "^2.0.0" once "^1.4.0" "@octokit/request@^5.2.0", "@octokit/request@^5.3.0", "@octokit/request@^5.4.0": - version "5.4.2" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.2.tgz#74f8e5bbd39dc738a1b127629791f8ad1b3193ee" - integrity sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw== + version "5.4.3" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.3.tgz#85b78ea4ae6e1c4ac2b02528102d4cd776145935" + integrity sha512-RtqMzF3mhqxmWoqVD84x2gdtbqn2inTBU/HPkWf5u0R5r7fBTaLPAcCBgukeI2gjTwD9ChL9Cu0MlTBs7B/tSw== dependencies: "@octokit/endpoint" "^6.0.1" "@octokit/request-error" "^2.0.0" @@ -3728,22 +3720,29 @@ universal-user-agent "^4.0.0" "@octokit/rest@^17.1.1": - version "17.9.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-17.9.0.tgz#48d20196eb3dbe1cb507d0e46e01d17c24cc3d0e" - integrity sha512-Ff2jwS2OizWVaiCozOJevQ97V+mKjlQAt//lU6a/lhWDfHsZLXm/k1RsyTKVbyuiriDi7pg899wCU59nYfKnmQ== + version "17.9.2" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-17.9.2.tgz#725476630c7bc7d59488b8337a0936255d24b7ff" + integrity sha512-UXxiE0HhGQAPB3WDHTEu7lYMHH2uRcs/9f26XyHpGGiiXht8hgHWEk6fA7WglwwEvnj8V7mkJOgIntnij132UA== dependencies: "@octokit/core" "^2.4.3" "@octokit/plugin-paginate-rest" "^2.2.0" "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "3.11.0" + "@octokit/plugin-rest-endpoint-methods" "^3.12.2" -"@octokit/types@^2.0.0", "@octokit/types@^2.0.1", "@octokit/types@^2.11.1", "@octokit/types@^2.12.1", "@octokit/types@^2.16.0": +"@octokit/types@^2.0.0", "@octokit/types@^2.0.1", "@octokit/types@^2.11.1": version "2.16.2" resolved "https://registry.yarnpkg.com/@octokit/types/-/types-2.16.2.tgz#4c5f8da3c6fecf3da1811aef678fda03edac35d2" integrity sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q== dependencies: "@types/node" ">= 8" +"@octokit/types@^4.0.0", "@octokit/types@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-4.0.1.tgz#dd32ff2407699f3a0c909cdd24de17b45b7d7051" + integrity sha512-Ho6h7w2h9y8RRE8r656hIj1oiSbwbIHJGF5r9G5FOwS2VdDPq8QLGvsG4x6pKHpvyGK7j+43sAc2cJKMiFoIJw== + dependencies: + "@types/node" ">= 8" + "@packtracker/webpack-plugin@^2.0.1": version "2.2.0" resolved "https://registry.yarnpkg.com/@packtracker/webpack-plugin/-/webpack-plugin-2.2.0.tgz#eee3e6aa23971208f33c7bd254ccf1b05df0b889" @@ -3813,21 +3812,21 @@ dependencies: any-observable "^0.3.0" -"@schematics/angular@9.1.6": - version "9.1.6" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-9.1.6.tgz#411b45174b3900dc79d061a86aec8539894dd06b" - integrity sha512-Q9lPTf1/pXBWuFOLzwtrU88Gwkfn9JLiSb45xSQZ771cCD68tZyL4V9fH+u7139y3H3ID2xebMs7WiddAERLyw== +"@schematics/angular@9.1.7": + version "9.1.7" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-9.1.7.tgz#b7801a5e20f844da560db81d2971590e8ac090ff" + integrity sha512-ld3WcoMWvup04V3OWioQ+AFGQBzz7IDM4Fxc5+Qc3wILWkDJnNkrc4EmJAow96Ab4/T1+Wl1vof3tV4At0BTzA== dependencies: - "@angular-devkit/core" "9.1.6" - "@angular-devkit/schematics" "9.1.6" + "@angular-devkit/core" "9.1.7" + "@angular-devkit/schematics" "9.1.7" -"@schematics/update@0.901.6": - version "0.901.6" - resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.901.6.tgz#a6bf0ec294983373ec8e9d675d50e8b44c6a7bc7" - integrity sha512-fKDjD/nGOsrPglOeMVNW+/wa8t73XBrsVneaLg3qmWp6c80JQAxwryE+3MTnBP7apZCLR2YZlKySbY54gLRs6w== +"@schematics/update@0.901.7": + version "0.901.7" + resolved "https://registry.yarnpkg.com/@schematics/update/-/update-0.901.7.tgz#164bff4e97383a0a7d266fe5eb2e1bf41f14dfe9" + integrity sha512-6IpQVFvbu47CrXfqqHAzv2vi7AOdfi1S+SiayXU6FWTeA2wV47H8R60VjxurL8JkDGoVhFgC4+lK6KG++g3dQw== dependencies: - "@angular-devkit/core" "9.1.6" - "@angular-devkit/schematics" "9.1.6" + "@angular-devkit/core" "9.1.7" + "@angular-devkit/schematics" "9.1.7" "@yarnpkg/lockfile" "1.1.0" ini "1.3.5" npm-package-arg "^8.0.0" @@ -3859,9 +3858,9 @@ integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== "@sinonjs/commons@^1.7.0": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.7.2.tgz#505f55c74e0272b43f6c52d81946bed7058fc0e2" - integrity sha512-+DUO6pnp3udV/v2VfUWgaY5BIE1IfT7lLfeDzPVeMT1XKkaAp9LgSI9x5RtrFQoZ9Oi0PgXQQHPaoKu7dCjVxw== + version "1.8.0" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.0.tgz#c8d68821a854c555bba172f3b06959a0039b236d" + integrity sha512-wEj54PfsZ5jGSwMX68G8ZXFawcSglQSXqCftWX3ec8MDUzQdHgcKvw97awHbY0efQEL5iKUOAmmVtoYgmrSG4Q== dependencies: type-detect "4.0.8" @@ -3888,7 +3887,7 @@ "@storybook/addons@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/addons/-/addons-6.0.0-alpha.0.tgz#f4416a8c9c081961e5950a7962d7a5102138717e" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.0.0-alpha.0.tgz#f4416a8c9c081961e5950a7962d7a5102138717e" integrity sha512-CrPvlo7pW44t7f/YWoEXMRgafvBKAcDYw9/sbBlltu88nKMHU28qjLf95HiTXtiE6P9AqdkRdVkQtyVWhnqKQA== dependencies: "@storybook/api" "6.0.0-alpha.0" @@ -3901,7 +3900,7 @@ "@storybook/api@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/api/-/api-6.0.0-alpha.0.tgz#9b612f8c41fb8b1f9bbd3c990b5a1b3beb0eb82a" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.0.0-alpha.0.tgz#9b612f8c41fb8b1f9bbd3c990b5a1b3beb0eb82a" integrity sha512-aKYxx39jfakMfYB0FJkFqlqig8Ph/y3K4QaUgmYbL9CSuouvvfBDGh1onhp2mwZpqohrAKl9UAeNZp9HDM0dug== dependencies: "@reach/router" "^1.2.1" @@ -3927,7 +3926,7 @@ "@storybook/channel-postmessage@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/channel-postmessage/-/channel-postmessage-6.0.0-alpha.0.tgz#dec7245e9be7b1303c8bd60e664134a56639ae54" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.0.0-alpha.0.tgz#dec7245e9be7b1303c8bd60e664134a56639ae54" integrity sha512-OX3Ho/MbQ1+wVPh/9gAATf4LxoFN6k62GtmB5qcpkpJkSUhs5AQQPVG70kHpb7eCaRmV6a90b67tiLDRWNyzow== dependencies: "@storybook/channels" "6.0.0-alpha.0" @@ -3938,7 +3937,7 @@ "@storybook/channel-websocket@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/channel-websocket/-/channel-websocket-6.0.0-alpha.0.tgz#81d10287250b76b0ab5856cb96c4827714f31875" + resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.0.0-alpha.0.tgz#81d10287250b76b0ab5856cb96c4827714f31875" integrity sha512-bbTeYoRTXPjh/eybeOtBrnFGKE2YUmu7S2sCLzvyDbbQCLYuE/qlhFBX23d/xJSzZZz4pCkj687E15MOIXQ3eA== dependencies: "@storybook/channels" "6.0.0-alpha.0" @@ -3948,14 +3947,14 @@ "@storybook/channels@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/channels/-/channels-6.0.0-alpha.0.tgz#c86e3bdff2e98444a0e9938a1a4abec503221af4" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.0.0-alpha.0.tgz#c86e3bdff2e98444a0e9938a1a4abec503221af4" integrity sha512-0Va1Cajk2X9tQVJKizdDFLKgBJmYakd3ykV1rIYdlPHi+5DndQQ3EqxKrLGE6nQLcKVoxM84Sq8nCLyC891+mw== dependencies: core-js "^3.0.1" "@storybook/client-api@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/client-api/-/client-api-6.0.0-alpha.0.tgz#9a6766a9878ee1f41b35debd93d480fef50506c2" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.0.0-alpha.0.tgz#9a6766a9878ee1f41b35debd93d480fef50506c2" integrity sha512-G24H5mFxxptS0G2UwNNxPlV8RM+h6vUxQTmXUtqQoangJPQ/IUm+Ts9QgqDiyHEks9pwYEpSGMAdycZf0IUhJA== dependencies: "@storybook/addons" "6.0.0-alpha.0" @@ -3978,14 +3977,14 @@ "@storybook/client-logger@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-6.0.0-alpha.0.tgz#c8dd075d5a4a78158f6acb8ace14cf0492f2af16" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.0.0-alpha.0.tgz#c8dd075d5a4a78158f6acb8ace14cf0492f2af16" integrity sha512-qiML4TiQCFosvxlVGqDbqSy2MA7DuBPclbocliaXEnYAlHzHy5LaQ7OK2SZzigMuim7LOr/eNmqaLAIDVfAjTg== dependencies: core-js "^3.0.1" "@storybook/core-events@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/core-events/-/core-events-6.0.0-alpha.0.tgz#a35d2f96f6d38aba080d7f5f1ec67799325728de" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.0.0-alpha.0.tgz#a35d2f96f6d38aba080d7f5f1ec67799325728de" integrity sha512-BvJvokog7ezWg0rMIYYUA1d1Bi14hy8iZeQyD0s/Q17EMjqZb1ATQ1cPr9lVJ0CpyYOYRJp8IPbvGDnMFkm8YA== dependencies: core-js "^3.0.1" @@ -4067,7 +4066,7 @@ "@storybook/react-native@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/react-native/-/react-native-6.0.0-alpha.0.tgz#e05090a351d41da756fb0cf9a637a05be15babb4" + resolved "https://registry.yarnpkg.com/@storybook/react-native/-/react-native-6.0.0-alpha.0.tgz#e05090a351d41da756fb0cf9a637a05be15babb4" integrity sha512-36lg/YqDTB2AZquRj4xVORVzNPE+A9E0WysJUn6If2yP3LCQ9y0mMucArKxJinYnW6A6UZptw18gZqOmkYatFg== dependencies: "@emotion/core" "^10.0.20" @@ -4083,7 +4082,7 @@ "@storybook/router@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/router/-/router-6.0.0-alpha.0.tgz#c2b9da6c7eba0dccf32228a72e23ecf8875aacac" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.0.0-alpha.0.tgz#c2b9da6c7eba0dccf32228a72e23ecf8875aacac" integrity sha512-jpFaJu8SFiHqTqG5bSab7qOMRcAZb5htFjD6zSTb/1a3km9yLJQqYA0Jk0rFBrc89lwd/ngYVBOuOrn/XJRwoA== dependencies: "@reach/router" "^1.2.1" @@ -4098,7 +4097,7 @@ "@storybook/theming@6.0.0-alpha.0": version "6.0.0-alpha.0" - resolved "https://registry.npmjs.org/@storybook/theming/-/theming-6.0.0-alpha.0.tgz#0a9580cecb1c9609e070c8db7737bd121faf56c3" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.0.0-alpha.0.tgz#0a9580cecb1c9609e070c8db7737bd121faf56c3" integrity sha512-XFFpbX2ls1AvbesF64y1q53kMMZYTd/U5EluFmqDsAvoqXVXXKbh8wcguxnMlEHYvgXoDKmzCww+IpmVbAyYcA== dependencies: "@emotion/core" "^10.0.20" @@ -4348,13 +4347,13 @@ defer-to-connect "^1.0.1" "@testing-library/dom@^7.2.2": - version "7.5.4" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.5.4.tgz#7404d498c0a7400f5bd0684702ef81ccaae31607" - integrity sha512-wubluhNntK0yzDyj0z9x99mUfoI7cITJpajF9KWMOzAiecYGHKEfCcj4PwPNtPeF/b1v7SjvDfjY8On2PyOM9g== + version "7.5.7" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.5.7.tgz#c4bf683a65083d4a78644588cfa4ad684c113fc7" + integrity sha512-835MiwAxQE7xjSrhpeJbv41UQRmsPJQ0tGfzWiJMdZj2LBbdG5cT8Z44Viv11/XucCmJHr/v8q7VpZnuSimscg== dependencies: "@babel/runtime" "^7.9.6" aria-query "^4.0.2" - dom-accessibility-api "^0.4.3" + dom-accessibility-api "^0.4.4" pretty-format "^25.5.0" "@testing-library/react@^10.0.3", "@testing-library/react@^10.0.4": @@ -4509,9 +4508,9 @@ integrity sha512-F9RHpjuPSit4dCCRXgi7XcqA01DAjy9QY+v9yICoxXsjXD9cgQpyZyL2eSZnTkBGXGaQnea8waZOZTogLDB+rA== "@types/cross-spawn@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.1.tgz#60fa0c87046347c17d9735e5289e72b804ca9b63" - integrity sha512-MtN1pDYdI6D6QFDzy39Q+6c9rl2o/xN7aWGe6oZuzqq5N6+YuwFsWiEAv3dNzvzN9YzU+itpN8lBzFpphQKLAw== + version "6.0.2" + resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.2.tgz#168309de311cd30a2b8ae720de6475c2fbf33ac7" + integrity sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw== dependencies: "@types/node" "*" @@ -4606,9 +4605,9 @@ "@types/node" "*" "@types/history@*": - version "4.7.5" - resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.5.tgz#527d20ef68571a4af02ed74350164e7a67544860" - integrity sha512-wLD/Aq2VggCJXSjxEwrMafIP51Z+13H78nXIX0ABEuIGhmB5sNGbR113MOKo+yfw+RDo1ZU3DM6yfnnRF/+ouw== + version "4.7.6" + resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.6.tgz#ed8fc802c45b8e8f54419c2d054e55c9ea344356" + integrity sha512-GRTZLeLJ8ia00ZH8mxMO8t0aC9M1N9bN461Z2eaRurJo6Fpa+utgCwLzI4jQHcrdzuzp5WPN9jRwpsCQ1VhJ5w== "@types/html-minifier-terser@^5.0.0": version "5.1.0" @@ -4629,9 +4628,9 @@ integrity sha512-iTs9HReBu7evG77Q4EC8hZnqRt57irBDkK9nvmHroiOIVwYMQc4IvYvdRgwKfYepunIY7Oh/dBuuld+Gj9uo6w== "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz#42995b446db9a48a11a07ec083499a860e9138ff" - integrity sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg== + version "2.0.2" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.2.tgz#79d7a78bad4219f4c03d6557a1c72d9ca6ba62d5" + integrity sha512-rsZg7eL+Xcxsxk2XlBt9KcG8nOp9iYdKCOikY9x2RFJCyOdNj4MKPQty0e8oZr29vVAzKXr1BmR+kZauti3o1w== "@types/istanbul-lib-report@*": version "3.0.0" @@ -4641,9 +4640,9 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz#7a8cbf6a406f36c8add871625b278eaf0b0d255a" - integrity sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA== + version "1.1.2" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2" + integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" @@ -4663,9 +4662,9 @@ "@types/jest" "*" "@types/jest@*", "@types/jest@^25.1.1": - version "25.2.2" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-25.2.2.tgz#6a752e7a00f69c3e790ea00c345029d5cefa92bf" - integrity sha512-aRctFbG8Pb7DSLzUt/fEtL3q/GKb9mretFuYhRub2J0q6NhzBYbx9HTQzHrWgBNIxYOlxGNVe6Z54cpbUt+Few== + version "25.2.3" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-25.2.3.tgz#33d27e4c4716caae4eced355097a47ad363fdcaf" + integrity sha512-JXc1nK/tXHiDhV55dvfzqtmP4S3sy3T3ouV2tkViZgxY/zeUkcpQcQPGRlgF4KmWzWW5oiWYSZwtCB+2RsE4Fw== dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" @@ -4718,9 +4717,9 @@ integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== "@types/lodash@^4.14.150": - version "4.14.150" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.150.tgz#649fe44684c3f1fcb6164d943c5a61977e8cf0bd" - integrity sha512-kMNLM5JBcasgYscD9x/Gvr6lTAv2NVgsKtet/hm93qMyf/D1pt+7jeEZklKJKxMVmXjxbRVQQGfqDSfipYCO6w== + version "4.14.152" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.152.tgz#7e7679250adce14e749304cdb570969f77ec997c" + integrity sha512-Vwf9YF2x1GE3WNeUMjT5bTHa2DqgUo87ocdgTScupY2JclZ5Nn7W2RLM/N0+oreexUk8uaVugR81NnTY/jNNXg== "@types/markdown-to-jsx@^6.11.0": version "6.11.0" @@ -4729,15 +4728,22 @@ dependencies: "@types/react" "*" +"@types/mdast@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.3.tgz#2d7d671b1cd1ea3deb306ea75036c2a0407d2deb" + integrity sha512-SXPBMnFVQg1s00dlMCc/jCdvPqdE4mXaMMCeRlxLDmTAEoegHT53xKtkDnzDTOcmMHUfcjyf36/YYZ6SxRdnsw== + dependencies: + "@types/unist" "*" + "@types/mime-types@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@types/mime-types/-/mime-types-2.1.0.tgz#9ca52cda363f699c69466c2a6ccdaad913ea7a73" integrity sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM= "@types/mime@*": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.1.tgz#dc488842312a7f075149312905b5e3c0b054c79d" - integrity sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw== + version "2.0.2" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.2.tgz#857a118d8634c84bba7ae14088e4508490cd5da5" + integrity sha512-4kPlzbljFcsttWEq6aBW0OZe6BDajAmyvr2xknBG92tejQnvdGtT9+kXSZ580DqpxY9qG2xeQVF9Dq0ymUTo5Q== "@types/minimatch@*", "@types/minimatch@3.0.3", "@types/minimatch@^3.0.3": version "3.0.3" @@ -4750,9 +4756,9 @@ integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= "@types/mithril@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@types/mithril/-/mithril-2.0.2.tgz#29a6e32103769b29840ae25f5bf75bb382801a15" - integrity sha512-q0W5GGjWNxwmKPcfkkQJqSUIVr7yvMz1zH2enWDab8yDqvZuEgkR4+mcf1O70Wnreawg8OH4axfACDVdg2zskQ== + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/mithril/-/mithril-2.0.3.tgz#f24a764515d9b17095845838b12f2444757d93fa" + integrity sha512-cZHOdO2IiXYeyjeDYdbOisSdfaJRzfmRo3zVzgu33IWTMA0KEQObp9fdvqcuYdPz93iJ1yCl19GcEjo/9yv+yA== "@types/mocha@5.2.7": version "5.2.7" @@ -4773,9 +4779,9 @@ form-data "^3.0.0" "@types/node@*", "@types/node@>= 8": - version "14.0.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.1.tgz#5d93e0a099cd0acd5ef3d5bde3c086e1f49ff68c" - integrity sha512-FAYBGwC+W6F9+huFIDtn43cpy7+SzG+atzRiTfdp3inUKL2hXnd4rG8hylJLIh4+hqrQy1P17kvJByE/z825hA== + version "14.0.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.5.tgz#3d03acd3b3414cf67faf999aed11682ed121f22b" + integrity sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvXHq+5rnCKA== "@types/node@13.13.4": version "13.13.4" @@ -4783,14 +4789,14 @@ integrity sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA== "@types/node@^12.0.0": - version "12.12.39" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.39.tgz#532d25c1e639d89dd6f3aa1d7b3962e3e7fa943d" - integrity sha512-pADGfwnDkr6zagDwEiCVE4yQrv7XDkoeVa4OfA9Ju/zRTk6YNDLGtQbkdL4/56mCQQCs4AhNrBIag6jrp7ZuOg== + version "12.12.42" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.42.tgz#d0d1149336bd07540dd1ea576692829d575dec34" + integrity sha512-R/9QdYFLL9dE9l5cWWzWIZByVGFd7lk7JVOJ7KD+E1SJ4gni7XJRLz9QTjyYQiHIqEAgku9VgxdLjMlhhUaAFg== "@types/node@^13.13.4": - version "13.13.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.6.tgz#caa6756b64d30547a2082235531fa0dd8cba1b6e" - integrity sha512-zqRj8ugfROCjXCNbmPBe2mmQ0fJWP9lQaN519hwunOgpHgVykme4G6FW95++dyNFDvJUk4rtExkVkL0eciu5NA== + version "13.13.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.9.tgz#79df4ae965fb76d31943b54a6419599307a21394" + integrity sha512-EPZBIGed5gNnfWCiwEIwTE2Jdg4813odnG8iNPMQGrqVxrI+wL68SPtPeCX+ZxGBaA6pKAVc6jaKgP/Q0QzfdQ== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -4818,9 +4824,9 @@ integrity sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ== "@types/prettier@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.0.tgz#dc85454b953178cc6043df5208b9e949b54a3bc4" - integrity sha512-/rM+sWiuOZ5dvuVzV37sUuklsbg+JPOP8d+nNFlo2ZtfpzPiPvh1/gc8liWOLBqe+sR+ZM7guPaIcTt6UZTo7Q== + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.1.tgz#b6e98083f13faa1e5231bfa3bdb1b0feff536b6d" + integrity sha512-boy4xPNEtiw6N3abRhBi/e7hNvy3Tt8E9ZRAQrwAGzoCGZS/1wjo9KY7JHhnfnEsG5wSjDbymCozUM9a3ea7OQ== "@types/pretty-hrtime@^1.0.0": version "1.0.0" @@ -4839,10 +4845,17 @@ dependencies: "@types/puppeteer" "*" -"@types/puppeteer@*", "@types/puppeteer@^2.0.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/puppeteer/-/puppeteer-2.1.0.tgz#31367580654632f87f86df565f1bde0533577401" - integrity sha512-QIRQXl0VaSgnwOZ1LwxD321Tfb1jLOzCWuF2BrwjEkWq2IhxSicPOddUywLV7dRSO6mcU4sWKRdoGdci6gk0Aw== +"@types/puppeteer@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/puppeteer/-/puppeteer-3.0.0.tgz#24cdcc131e319477608d893f0017e08befd70423" + integrity sha512-59+fkfHHXHzX5rgoXIMnZyzum7ZLx/Wc3fhsOduFThpTpKbzzdBHMZsrkKGLunimB4Ds/tI5lXTRLALK8Mmnhg== + dependencies: + "@types/node" "*" + +"@types/puppeteer@^2.0.0": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@types/puppeteer/-/puppeteer-2.1.1.tgz#dfbec9de3db4328ec9b66ab2cbb1875033bc22f6" + integrity sha512-FqPZvUtnpTGrqbHvPUn76pvVcBPEVEqZftrdOjr6YRkaaxkjKQ8dQLNaQBjER7Lvd1Q6+0R0XR+N3tYGWBSzNw== dependencies: "@types/node" "*" @@ -4852,14 +4865,14 @@ integrity sha1-vShOV8hPEyXacCur/IKlMoGQwMU= "@types/q@^1.5.1": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" - integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== + version "1.5.4" + resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24" + integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug== "@types/qs@*", "@types/qs@^6.9.0": - version "6.9.2" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.2.tgz#faab98ec4f96ee72c829b7ec0983af4f4d343113" - integrity sha512-a9bDi4Z3zCZf4Lv1X/vwnvbbDYSNz59h3i3KdyuYYN+YrLjSeJD0dnphdULDfySvUv6Exy/O0K6wX/kQpnPQ+A== + version "6.9.3" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.3.tgz#b755a0934564a200d3efdf88546ec93c369abd03" + integrity sha512-7s9EQWupR1fTc2pSMtXRQ9w9gLOcrJn+h7HOXw4evxyvVqMi4f+q7d2tnFe3ng3SNHjtK+0EzGMGFUQX4/AQRA== "@types/range-parser@*": version "1.2.3" @@ -4933,9 +4946,9 @@ "@types/react" "*" "@types/react-transition-group@*": - version "4.2.4" - resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.2.4.tgz#c7416225987ccdb719262766c1483da8f826838d" - integrity sha512-8DMUaDqh0S70TjkqU0DxOu80tFUiiaS9rxkWip/nb7gtvAsbqOXm02UCmR8zdcjWujgeYPiPNTVpVpKzUDotwA== + version "4.4.0" + resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.0.tgz#882839db465df1320e4753e6e9f70ca7e9b4d46d" + integrity sha512-/QfLHGpu+2fQOqQaXh8MG9q03bFENooTb/it4jr5kKaZlDQfWvjqWZg48AwzPVMBHlRuTRAY7hRHCEOXz5kV6w== dependencies: "@types/react" "*" @@ -4981,17 +4994,17 @@ "@types/node" "*" "@types/serve-static@*", "@types/serve-static@^1.13.3": - version "1.13.3" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.3.tgz#eb7e1c41c4468272557e897e9171ded5e2ded9d1" - integrity sha512-oprSwp094zOglVrXdlo/4bAHtKTAxX6VT8FOZlBKrmyLbNvE1zxZyJ6yikMVtHIvwP45+ZQGJn+FdXGKTozq0g== + version "1.13.4" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.4.tgz#6662a93583e5a6cabca1b23592eb91e12fa80e7c" + integrity sha512-jTDt0o/YbpNwZbQmE/+2e+lfjJEJJR0I3OFaKQKPWkASkCoW3i6fsUnqudSMcNAfbtmADGu8f4MV4q+GqULmug== dependencies: "@types/express-serve-static-core" "*" "@types/mime" "*" "@types/shelljs@^0.8.7": - version "0.8.7" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.7.tgz#a2a606b185165abadf8b7995fea5e326e637088e" - integrity sha512-Mg2qGjLIJIieeJ1/NjswAOY9qXDShLeh6JwpD1NZsvUvI0hxdUCNDpnBXv9YQeugKi2EHU+BqkbUE4jpY4GKmQ== + version "0.8.8" + resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.8.tgz#e439c69929b88a2c8123c1a55e09eb708315addf" + integrity sha512-lD3LWdg6j8r0VRBFahJVaxoW0SIcswxKaFUrmKl33RJVeeoNYQAz4uqCJ5Z6v4oIBOsC5GozX+I5SorIKiTcQA== dependencies: "@types/glob" "*" "@types/node" "*" @@ -5005,9 +5018,9 @@ "@types/sinon" "*" "@types/sinon@*": - version "9.0.0" - resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-9.0.0.tgz#5b70a360f55645dd64f205defd2a31b749a59799" - integrity sha512-v2TkYHkts4VXshMkcmot/H+ERZ2SevKa10saGaJPGCJ8vh3lKrC4u663zYEeRZxep+VbG6YRDtQ6gVqw9dYzPA== + version "9.0.4" + resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-9.0.4.tgz#e934f904606632287a6e7f7ab0ce3f08a0dad4b1" + integrity sha512-sJmb32asJZY6Z2u09bl0G2wglSxDlROlAejCjsnor+LzBMz17gu8IU7vKC/vWDnv9zEq2wqADHVXFjf4eE8Gdw== dependencies: "@types/sinonjs__fake-timers" "*" @@ -5075,13 +5088,13 @@ integrity sha512-6IwZ9HzWbCq6XoQWhxLpDjuADodH/MKXRUIDFudvgjcVdjFknvmR+DNsoUeer4XPrEnrZs04Jj+kfV9pFsrhmA== "@types/uglify-js@*": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.9.1.tgz#0ad39d6a72979593f669acdfc7e980d590d3fb94" - integrity sha512-rdBIeMQyRBOXogop/EYBvSkYFn9D9yGxUa5hagBVG55KIdSUbp22EACJSHCs6kmmfunojAhf7zJH+Ds06/qLaQ== + version "3.9.2" + resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.9.2.tgz#01992579debba674e1e359cd6bcb1a1d0ab2e02b" + integrity sha512-d6dIfpPbF+8B7WiCi2ELY7m0w1joD8cRW4ms88Emdb2w062NeEpbNCeWwVCgzLRpVG+5e74VFSg4rgJ2xXjEiQ== dependencies: source-map "^0.6.1" -"@types/unist@^2.0.0", "@types/unist@^2.0.2": +"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== @@ -5097,9 +5110,9 @@ integrity sha512-I2vixiQ+mrmKxfdLNvaa766nulrMVDoUQiSQoNeTjFUNAt8klnMgDh3yy/bH/r275357q30ACOEUaxFOR8YVrA== "@types/uuid@^7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-7.0.3.tgz#45cd03e98e758f8581c79c535afbd4fc27ba7ac8" - integrity sha512-PUdqTZVrNYTNcIhLHkiaYzoOIaUi5LFg/XLerAdgvwQrUCx+oSbtoBze1AMyvYbcwzUSNC+Isl58SM4Sm/6COw== + version "7.0.4" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-7.0.4.tgz#00a5749810b4ad80bff73a61f9cc9d0d521feb3c" + integrity sha512-WGZCqBZZ0mXN2RxvLHL6/7RCu+OWs28jgQMP04LWfpyJlQUMTR6YU9CNJAKDgbw+EV/u687INXuLUc7FuML/4g== "@types/webpack-env@^1.15.0", "@types/webpack-env@^1.15.1", "@types/webpack-env@^1.15.2": version "1.15.2" @@ -5157,22 +5170,22 @@ tsutils "^3.7.0" "@typescript-eslint/eslint-plugin@^2.10.0", "@typescript-eslint/eslint-plugin@^2.30.0": - version "2.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.33.0.tgz#d6c8319d5011b4783bb3d2dadf105d8bdd499bd5" - integrity sha512-QV6P32Btu1sCI/kTqjTNI/8OpCYyvlGjW5vD8MpTIg+HGE5S88HtT1G+880M4bXlvXj/NjsJJG0aGcVh0DdbeQ== + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9" + integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ== dependencies: - "@typescript-eslint/experimental-utils" "2.33.0" + "@typescript-eslint/experimental-utils" "2.34.0" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.33.0", "@typescript-eslint/experimental-utils@^2.5.0": - version "2.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.33.0.tgz#000f1e5f344fbea1323dc91cc174805d75f99a03" - integrity sha512-qzPM2AuxtMrRq78LwyZa8Qn6gcY8obkIrBs1ehqmQADwkYzTE1Pb4y2W+U3rE/iFkSWcWHG2LS6MJfj6SmHApg== +"@typescript-eslint/experimental-utils@2.34.0", "@typescript-eslint/experimental-utils@^2.5.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f" + integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.33.0" + "@typescript-eslint/typescript-estree" "2.34.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -5186,13 +5199,13 @@ eslint-visitor-keys "^1.0.0" "@typescript-eslint/parser@^2.10.0", "@typescript-eslint/parser@^2.30.0": - version "2.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.33.0.tgz#395c0ef229ebef883608f8632a34f0acf02b9bdd" - integrity sha512-AUtmwUUhJoH6yrtxZMHbRUEMsC2G6z5NSxg9KsROOGqNXasM71I8P2NihtumlWTUCRld70vqIZ6Pm4E5PAziEA== + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz#50252630ca319685420e9a39ca05fe185a256bc8" + integrity sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.33.0" - "@typescript-eslint/typescript-estree" "2.33.0" + "@typescript-eslint/experimental-utils" "2.34.0" + "@typescript-eslint/typescript-estree" "2.34.0" eslint-visitor-keys "^1.1.0" "@typescript-eslint/typescript-estree@1.6.0": @@ -5203,10 +5216,10 @@ lodash.unescape "4.0.1" semver "5.5.0" -"@typescript-eslint/typescript-estree@2.33.0": - version "2.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.33.0.tgz#33504c050ccafd38f397a645d4e9534d2eccbb5c" - integrity sha512-d8rY6/yUxb0+mEwTShCQF2zYQdLlqihukNfG9IUlLYz5y1CH6G/9XYbrxQLq3Z14RNvkCC6oe+OcFlyUpwUbkg== +"@typescript-eslint/typescript-estree@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" + integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" @@ -5216,7 +5229,7 @@ semver "^7.3.2" tsutils "^3.17.1" -"@verdaccio/commons-api@^9.4.0": +"@verdaccio/commons-api@9.4.0", "@verdaccio/commons-api@^9.4.0": version "9.4.0" resolved "https://registry.yarnpkg.com/@verdaccio/commons-api/-/commons-api-9.4.0.tgz#74bb922d5d173a1c19cd2719db9f028e8909dac7" integrity sha512-h5DvalAx+fKbCPp9azybvZsvQARBtCeUoMc8jAstUIcOJwbJ0hzMxpM9yY+1cwJvVC7lqTxCZEduWbamfLOQdQ== @@ -5225,13 +5238,13 @@ http-status-codes "1.4.0" "@verdaccio/file-locking@^9.4.0": - version "9.4.0" - resolved "https://registry.yarnpkg.com/@verdaccio/file-locking/-/file-locking-9.4.0.tgz#92bf3d1817ac262f3e2239825ed66f90b006dc47" - integrity sha512-aFoiES8sWv/zKZdPDY16C4c2PyDLE5TQf6f5b2tNSJHssiCkQj3x0FSx/Z8BB0KcWF5t6MLNFZfM+mutD7O0ig== + version "9.5.0" + resolved "https://registry.yarnpkg.com/@verdaccio/file-locking/-/file-locking-9.5.0.tgz#c8ea8d9d5c5902ee82f08fe1fdcb3d09d8d65946" + integrity sha512-Q27WlxeMMFlKxI3x0nNAstiUkn9NfWv7BOFh/Zfvifr4aviNQcDyHincn9d6Pvuy6EBquUoUW0ty3Kv9rt5u5Q== dependencies: lockfile "1.0.4" -"@verdaccio/local-storage@^9.4.0": +"@verdaccio/local-storage@9.4.0": version "9.4.0" resolved "https://registry.yarnpkg.com/@verdaccio/local-storage/-/local-storage-9.4.0.tgz#56c6ba6cb0f36b459208a7aecf59c79e8bad10d7" integrity sha512-rhaMJN5vEzQ03BGoAYUcJTdkA6H4y5v3K2anNPJN5dN5GBV1AsYAkOn9RMXKa3WUdeWkWgNkPPeEqsc2gBR+qA== @@ -5244,7 +5257,7 @@ lodash "4.17.15" mkdirp "1.0.3" -"@verdaccio/readme@^9.4.0": +"@verdaccio/readme@9.4.0": version "9.4.0" resolved "https://registry.yarnpkg.com/@verdaccio/readme/-/readme-9.4.0.tgz#7c099bf8f016a88ec76c1412e855e69ce3ce1a44" integrity sha512-d0AIdph9B4S2ULzMM/rBpSWEWnIYH4ENoNlUyc9JVCCQVUc/+dRG4Pk4C3e5Dfoh2lwL0af4WhlOPHis6kCD6g== @@ -5253,15 +5266,20 @@ jsdom "16.2.1" marked "0.7.0" -"@verdaccio/streams@^9.4.0": +"@verdaccio/streams@9.4.0": version "9.4.0" resolved "https://registry.yarnpkg.com/@verdaccio/streams/-/streams-9.4.0.tgz#8f19b48437a5e320e1f2dd0b3d5c5d756a36ddeb" integrity sha512-Oc02dKPE3/PyDgCU2UPYZx5lfLeYqkQQUY2QDj2s8mLjb4jmKOfLMmnZ564vUVmmswNxjaRs3DTAZAgZQYyGIg== -"@verdaccio/ui-theme@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@verdaccio/ui-theme/-/ui-theme-1.5.0.tgz#748e2db1772106a4de64dbed1152e16cd4b34a7c" - integrity sha512-OLkTTJPnBgUDsRrGqIg5RC3NBmb7wolQEPrTGE1ScuVe0sO3351fw+TFj/hx5Oepbv4PqxknYossmWcrMaSq6Q== +"@verdaccio/streams@^9.4.0": + version "9.5.0" + resolved "https://registry.yarnpkg.com/@verdaccio/streams/-/streams-9.5.0.tgz#01c1e1a654b2085b0711a3e23df5c7b7376d0282" + integrity sha512-Z+04XRPbOJCsaY6GyrVJH6/IWqeh81U3kr9E5XBHkCK+NtybF0D0nnZgVTh/q2GOxhvvOgGv9r3Uvg4GkbnXsQ== + +"@verdaccio/ui-theme@1.7.1": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@verdaccio/ui-theme/-/ui-theme-1.7.1.tgz#d524ff9b8bd9deefa98b264d8eb3ce915d0d0a60" + integrity sha512-a3coH/CdbfKNr/wRoZIdv9HwjmsEtyT9SzlXuuQKLvyspdoIafruRk9JSn2zWRD254oewsnSSDT6FPweDWU6+Q== "@vue/babel-helper-vue-jsx-merge-props@^1.0.0": version "1.0.0" @@ -6746,7 +6764,7 @@ async@0.9.x, async@^0.9.0, async@^0.9.2, async@~0.9.0: async@2.6.1: version "2.6.1" - resolved "https://registry.npmjs.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== dependencies: lodash "^4.17.10" @@ -6794,24 +6812,24 @@ atomic-sleep@^1.0.0: integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== aurelia@dev: - version "0.8.0-dev.202005131602" - resolved "https://registry.yarnpkg.com/aurelia/-/aurelia-0.8.0-dev.202005131602.tgz#b53557bf66ff086a3b5f42b9bcb604b5a9e2b674" - integrity sha512-eAg9AnlHFFTKYkLA0Z2oiTMsr8o0rztB3s5jb04lEt3/E6piAY90MIIS5RqZTxnXr6hCeRYwJPymI6wlpZmYPg== + version "0.8.0-dev.202005200307" + resolved "https://registry.yarnpkg.com/aurelia/-/aurelia-0.8.0-dev.202005200307.tgz#0afaaff3cb5e2ac43c8f14a5856da3a0d81b27e0" + integrity sha512-y8TKxHz7slfWsIUQXd+tqdwDnilzgGtkB+VSvCtUFvdqfQxVZL2r3mlfINKrRdUB8p1/7s4SMDhViWgxiCUVoQ== dependencies: - "@aurelia/debug" "^0.8.0-dev.202005131602" - "@aurelia/fetch-client" "^0.8.0-dev.202005131602" - "@aurelia/jit" "^0.8.0-dev.202005131602" - "@aurelia/jit-html" "^0.8.0-dev.202005131602" - "@aurelia/jit-html-browser" "^0.8.0-dev.202005131602" - "@aurelia/kernel" "^0.8.0-dev.202005131602" - "@aurelia/metadata" "^0.8.0-dev.202005131602" - "@aurelia/route-recognizer" "^0.8.0-dev.202005131602" - "@aurelia/router" "^0.8.0-dev.202005131602" - "@aurelia/runtime" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html" "^0.8.0-dev.202005131602" - "@aurelia/runtime-html-browser" "^0.8.0-dev.202005131602" - "@aurelia/scheduler" "^0.8.0-dev.202005131602" - "@aurelia/scheduler-dom" "^0.8.0-dev.202005131602" + "@aurelia/debug" "^0.8.0-dev.202005200307" + "@aurelia/fetch-client" "^0.8.0-dev.202005200307" + "@aurelia/jit" "^0.8.0-dev.202005200307" + "@aurelia/jit-html" "^0.8.0-dev.202005200307" + "@aurelia/jit-html-browser" "^0.8.0-dev.202005200307" + "@aurelia/kernel" "^0.8.0-dev.202005200307" + "@aurelia/metadata" "^0.8.0-dev.202005200307" + "@aurelia/route-recognizer" "^0.8.0-dev.202005200307" + "@aurelia/router" "^0.8.0-dev.202005200307" + "@aurelia/runtime" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html" "^0.8.0-dev.202005200307" + "@aurelia/runtime-html-browser" "^0.8.0-dev.202005200307" + "@aurelia/scheduler" "^0.8.0-dev.202005200307" + "@aurelia/scheduler-dom" "^0.8.0-dev.202005200307" autoprefixer@9.7.4: version "9.7.4" @@ -6826,20 +6844,7 @@ autoprefixer@9.7.4: postcss "^7.0.26" postcss-value-parser "^4.0.2" -autoprefixer@^9.4.3, autoprefixer@^9.4.9, autoprefixer@^9.6.1, autoprefixer@^9.7.2, autoprefixer@^9.7.6: - version "9.7.6" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.6.tgz#63ac5bbc0ce7934e6997207d5bb00d68fa8293a4" - integrity sha512-F7cYpbN7uVVhACZTeeIeealwdGM6wMtfWARVLTy5xmKtgVdBNJvbDRoCK3YO1orcs7gv/KwYlb3iXwu9Ug9BkQ== - dependencies: - browserslist "^4.11.1" - caniuse-lite "^1.0.30001039" - chalk "^2.4.2" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^7.0.27" - postcss-value-parser "^4.0.3" - -autoprefixer@^9.7.5: +autoprefixer@^9.4.3, autoprefixer@^9.4.9, autoprefixer@^9.6.1, autoprefixer@^9.7.2, autoprefixer@^9.7.5, autoprefixer@^9.7.6: version "9.8.0" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.0.tgz#68e2d2bef7ba4c3a65436f662d0a56a741e56511" integrity sha512-D96ZiIHXbDmU02dBaemyAg53ez+6F5yZmapmgKcjm35yEe1uVDYI8hGW3VYoGRaG290ZFf91YxHrR518vC0u/A== @@ -7260,13 +7265,13 @@ babel-plugin-add-react-displayname@^0.0.5: resolved "https://registry.yarnpkg.com/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5" integrity sha1-M51M3be2X9YtHfnbn+BN4TQSK9U= -babel-plugin-apply-mdx-type-prop@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.1.tgz#7eaf057300f91e2dbce3142001131f578605c843" - integrity sha512-chjmLo1x7fCpDRICGUlbkwf2E6sMVG9jjG6PtPBWnQfMEjgV03Gh0jSVGbZJsEUxcMqOpHSsIXvPz1sYip6X3g== +babel-plugin-apply-mdx-type-prop@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.4.tgz#3336529fb1f5b97811449d995b82d13230878eb5" + integrity sha512-rVtztbgf3zmT1Is6vSNugfbdI2AG3mk/PUS8H71ss5V2XRNyYgeuFgTMX3h0bTDEJnbFG3ilRH566kVhZAkGWg== dependencies: "@babel/helper-plugin-utils" "7.8.3" - "@mdx-js/util" "^1.6.1" + "@mdx-js/util" "^1.6.4" babel-plugin-bundled-import-meta@^0.3.1: version "0.3.2" @@ -7316,12 +7321,12 @@ babel-plugin-ember-data-packages-polyfill@^0.1.2: dependencies: "@ember-data/rfc395-data" "^0.0.4" -babel-plugin-ember-modules-api-polyfill@^2.12.0, babel-plugin-ember-modules-api-polyfill@^2.6.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-2.12.0.tgz#a5e703205ba4e625a7fab9bb1aea64ef3222cf75" - integrity sha512-ZQU4quX0TJ1yYyosPy5PFigKdCFEVHJ6H0b3hwjxekIP9CDwzk0OhQuKhCOPti+d52VWjjCjxu2BrXEih29mFw== +babel-plugin-ember-modules-api-polyfill@^2.13.0, babel-plugin-ember-modules-api-polyfill@^2.6.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-ember-modules-api-polyfill/-/babel-plugin-ember-modules-api-polyfill-2.13.0.tgz#f9d3928d4c40192a44a5b52b67bbdedc4a748ea2" + integrity sha512-Q2i7uZMNSuJFYUV8stEsLQIRfMhQJew62sOnR+ESNjb4vlI7Rj1JlSgymTGwmCTVh+poTBpMidiWCoITDtbiIA== dependencies: - ember-rfc176-data "^0.3.12" + ember-rfc176-data "^0.3.13" babel-plugin-emotion@^10.0.20, babel-plugin-emotion@^10.0.27: version "10.0.33" @@ -7339,10 +7344,10 @@ babel-plugin-emotion@^10.0.20, babel-plugin-emotion@^10.0.27: find-root "^1.1.0" source-map "^0.5.7" -babel-plugin-extract-import-names@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.1.tgz#fc913f9fdb1aa1590ec96269a03c1ce98e8b76b1" - integrity sha512-u0uRrPyygx4RlNva1aqz7DM9UBpsQJQZ4NyakHVJF18s73H/iiyXuc+X7k+9tHeN0WKLsohQUGzGLli6z5a0Zw== +babel-plugin-extract-import-names@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.4.tgz#c38e50a2027df72cd9a960227243f528c4051956" + integrity sha512-oShDRQX9CGDkg61DnNJG7T/ROjIpgzyLTi3mGr3fwbNDP3kiJ6TousEPu6d090qNUm/XiUasQ1ESOnLAb7plqQ== dependencies: "@babel/helper-plugin-utils" "7.8.3" @@ -8367,9 +8372,9 @@ binary-extensions@^2.0.0: integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== "binaryextensions@1 || 2": - version "2.2.0" - resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.2.0.tgz#e7c6ba82d4f5f5758c26078fe8eea28881233311" - integrity sha512-bHhs98rj/7i/RZpCSJ3uk55pLXOItjIrh2sRQZSM6OoktScX+LxJzvlU+FELp9j3TdcddTmmYArLSGptCTwjuw== + version "2.3.0" + resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.3.0.tgz#1d269cbf7e6243ea886aa41453c3651ccbe13c22" + integrity sha512-nAihlQsYGyc5Bwq6+EsubvANYGExeJKHDO3RjnvwU042fawQTQfM3Kxn7IHUXQOz4bzfwsGYYHGSvXyW4zOGLg== bindings@^1.5.0: version "1.5.0" @@ -8421,14 +8426,14 @@ bluebird@3.7.2, bluebird@^3.1.1, bluebird@^3.3.5, bluebird@^3.4.6, bluebird@^3.5 integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0: - version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + version "4.11.9" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828" + integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw== bn.js@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.1.tgz#48efc4031a9c4041b9c99c6941d903463ab62eb5" - integrity sha512-IUTD/REb78Z2eodka1QZyyEk66pciRcP6Sroka0aI3tG/iwIdYLrBD62RsubR7vqdt3WyX8p4jxeatzmRSphtA== + version "5.1.2" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.2.tgz#c9686902d3c9a27729f43ab10f9d79c2004da7b0" + integrity sha512-40rZaf3bUNKTVYu9sIeeEGOg7g14Yvnj9kH7b50EiwX0Q7A6umbvfI5tvHaOERH0XigqKkfLkFQxzb4e6CIXnA== body-parser@1.19.0: version "1.19.0" @@ -9168,9 +9173,9 @@ browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: randombytes "^2.0.1" browserify-sign@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.1.0.tgz#4fe971b379a5aeb4925e06779f9fa1f41d249d70" - integrity sha512-VYxo7cDCeYUoBZ0ZCy4UyEUCP3smyBd4DRQM5nrFS1jJjPJjX7rP3oLRpPoWfkhQfyJ0I9ZbHbKafrFD/SGlrg== + version "4.2.0" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.0.tgz#545d0b1b07e6b2c99211082bf1b12cce7a0b0e11" + integrity sha512-hEZC1KEeYuoHRqhGhTy6gWrpJA3ZDjFWv0DE61643ZnOXAKJb3u7yWcrU0mMc9SwAqK1n7myPGndkp0dFG7NFA== dependencies: bn.js "^5.1.1" browserify-rsa "^4.0.1" @@ -9180,6 +9185,7 @@ browserify-sign@^4.0.0: inherits "^2.0.4" parse-asn1 "^5.1.5" readable-stream "^3.6.0" + safe-buffer "^5.2.0" browserify-zlib@^0.2.0, browserify-zlib@~0.2.0: version "0.2.0" @@ -9803,15 +9809,10 @@ 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.30000939, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30000989, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001035, caniuse-lite@^1.0.30001039, caniuse-lite@^1.0.30001043: - version "1.0.30001058" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001058.tgz#9f8a318389e28f060272274ac93a661d17f8bf0d" - integrity sha512-UiRZmBYd1HdVVdFKy7PuLVx9e2NS7SMyx7QpWvFjiklYrLJKpLd19cRnRNqlw4zYa7vVejS3c8JUVobX241zHQ== - -caniuse-lite@^1.0.30001061: - version "1.0.30001061" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001061.tgz#80ca87ef14eb543a7458e7fd2b5e2face3458c9f" - integrity sha512-SMICCeiNvMZnyXpuoO+ot7FHpMVPlrsR+HmfByj6nY4xYDHXLqMTbgH7ecEkDNXWkH1vaip+ZS0D7VTXwM1KYQ== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30000989, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001035, caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001061: + version "1.0.30001062" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001062.tgz#d814b648338504b315222ace6f1a533d9a55e390" + integrity sha512-ei9ZqeOnN7edDrb24QfJ0OZicpEbsWxv7WusOiQGz/f2SfvBgHHbOEwBJ8HKGVSyx8Z6ndPjxzR6m0NQq+0bfw== canonical-path@1.0.0: version "1.0.0" @@ -9992,7 +9993,7 @@ cheerio@^1.0.0-rc.2, cheerio@^1.0.0-rc.3: lodash "^4.15.0" parse5 "^3.0.1" -"chokidar@>=2.0.0 <4.0.0", chokidar@^3.0.0, chokidar@^3.1.1, chokidar@^3.2.2, chokidar@^3.3.0, chokidar@^3.3.1: +"chokidar@>=2.0.0 <4.0.0", chokidar@^3.0.0, chokidar@^3.1.1, chokidar@^3.2.2, chokidar@^3.3.0, chokidar@^3.3.1, chokidar@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8" integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ== @@ -10053,9 +10054,9 @@ chownr@^2.0.0: integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== chromatic@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-4.0.2.tgz#78eb4ff9fcec1c7155329cbf9235196bd9a0e8c9" - integrity sha512-7Et2J6pPEyGqeBdzeDP5rCHyc9gH9VqyTY6pL1p59fxa6k3b+FWqrLA0RXFCk0R8btUKRXPun9a4tTu486G+ZQ== + version "4.0.3" + resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-4.0.3.tgz#3788bdb78b6323190dae2e9714dc0e5934926a45" + integrity sha512-TmtYAblzPxbEhH8vpQvL3aqQ/K2AkxraMliaIdORmOyVHmV4qM1aQHP2zPj4yTSdZ5/Tap5zOPW1xODrkQcI4Q== dependencies: "@babel/preset-react" "^7.9.4" "@babel/runtime" "^7.9.2" @@ -10069,6 +10070,7 @@ chromatic@^4.0.2: enhanced-resolve "^4.1.1" env-ci "^5.0.2" esm "^3.2.25" + execa "^4.0.0" fake-tag "^2.0.0" fs-extra "^9.0.0" is-url "^1.2.4" @@ -10442,9 +10444,9 @@ code-point-at@^1.0.0: integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= codecov@^3.5.0: - version "3.6.5" - resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.6.5.tgz#d73ce62e8a021f5249f54b073e6f2d6a513f172a" - integrity sha512-v48WuDMUug6JXwmmfsMzhCHRnhUf8O3duqXvltaYJKrO1OekZWpB/eH6iIoaxMl8Qli0+u3OxptdsBOYiD7VAQ== + version "3.7.0" + resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.7.0.tgz#4a09939cde24447a43f36d068e8b4e0188dc3f27" + integrity sha512-uIixKofG099NbUDyzRk1HdGtaG8O+PBUAg3wfmjwXw2+ek+PZp+puRvbTohqrVfuudaezivJHFgTtSC3M8MXww== dependencies: argv "0.0.2" ignore-walk "3.0.3" @@ -10476,9 +10478,9 @@ codemirror-graphql@^0.11.6: graphql-language-service-parser "^1.5.2" codemirror@^5.47.0: - version "5.53.2" - resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.53.2.tgz#9799121cf8c50809cca487304e9de3a74d33f428" - integrity sha512-wvSQKS4E+P8Fxn/AQ+tQtJnF1qH5UOlxtugFLpubEZ5jcdH2iXTVinb+Xc/4QjshuOxRm4fUsU2QPF1JJKiyXA== + version "5.54.0" + resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.54.0.tgz#82b6adf662b29eeb7b867fe7839d49e25e4a0b38" + integrity sha512-Pgf3surv4zvw+KaW3doUU7pGjF0BPU8/sj7eglWJjzni46U/DDW8pu3nZY0QgQKUcICDXRkq8jZmq0y6KhxM3Q== collapse-white-space@^1.0.0, collapse-white-space@^1.0.2, collapse-white-space@^1.0.4: version "1.0.6" @@ -10658,9 +10660,9 @@ commondir@^1.0.1: integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= compare-func@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" - integrity sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg= + version "1.3.4" + resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.4.tgz#6b07c4c5e8341119baf44578085bda0f4a823516" + integrity sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q== dependencies: array-ify "^1.0.0" dot-prop "^3.0.0" @@ -11120,15 +11122,7 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cors@2.8.5, cors@^2.8.5: - version "2.8.5" - resolved "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - -cors@latest: +cors@2.8.5, cors@^2.8.5, cors@latest: version "2.8.5" resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== @@ -11519,7 +11513,7 @@ css-selector-tokenizer@^0.7.0, css-selector-tokenizer@^0.7.1: css-to-react-native@^2.2.1: version "2.3.2" - resolved "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-2.3.2.tgz#e75e2f8f7aa385b4c3611c52b074b70a002f2e7d" + resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.3.2.tgz#e75e2f8f7aa385b4c3611c52b074b70a002f2e7d" integrity sha512-VOFaeZA053BqvvvqIA8c9n0+9vFppVBAHCp6JgFTtTMU3Mzi+XnelJ9XC9ul3BqFzZyQ5N+H0SnwsWT2Ebchxw== dependencies: camelize "^1.0.0" @@ -11892,9 +11886,9 @@ date-fns@^1.27.2: integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== date-fns@^2.0.1: - version "2.13.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.13.0.tgz#d7b8a0a2d392e8d88a8024d0a46b980bbfdbd708" - integrity sha512-xm0c61mevGF7f0XpCGtDTGpzEFC/1fpLXHbmFpxZZQJuvByIK2ozm6cSYuU+nxFYOPh2EuCfzUwlTEFwKG+h5w== + version "2.14.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.14.0.tgz#359a87a265bb34ef2e38f93ecf63ac453f9bc7ba" + integrity sha512-1zD+68jhFgDIM0rF05rcwYO8cExdNqxjq4xP1QKM60Q45mnO6zaMWB4tOzrIr4M4GSLntsKeE4c9Bdl2jhL/yw== date-now@^0.1.4: version "0.1.4" @@ -11913,10 +11907,10 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -dayjs@1.8.23: - version "1.8.23" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.23.tgz#07b5a8e759c4d75ae07bdd0ad6977f851c01e510" - integrity sha512-NmYHMFONftoZbeOhVz6jfiXI4zSiPN6NoVWJgC0aZQfYVwzy/ZpESPHuCcI0B8BUMpSJQ08zenHDbofOLKq8hQ== +dayjs@1.8.26: + version "1.8.26" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.26.tgz#c6d62ccdf058ca72a8d14bb93a23501058db9f1e" + integrity sha512-KqtAuIfdNfZR5sJY1Dixr2Is4ZvcCqhb0dZpCOt5dGEFiMzoIbjkTSzUb4QKTCsP+WNpGwUjAFIZrnZvUxxkhw== de-indent@^1.0.2: version "1.0.2" @@ -12466,10 +12460,10 @@ doctypes@^1.1.0: resolved "https://registry.yarnpkg.com/doctypes/-/doctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9" integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk= -dom-accessibility-api@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.4.3.tgz#93ca9002eb222fd5a343b6e5e6b9cf5929411c4c" - integrity sha512-JZ8iPuEHDQzq6q0k7PKMGbrIdsgBB7TRrtVOUm4nSMCExlg5qQG4KXWTH2k90yggjM4tTumRGwTKJSldMzKyLA== +dom-accessibility-api@^0.4.4: + version "0.4.4" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.4.4.tgz#c2f9fb8b591bc19581e7ef3e6fe35baf1967c498" + integrity sha512-XBM62jdDc06IXSujkqw6BugEWiDkp6jphtzVJf1kgPQGvfzaU7/jRtRSF/mxc8DBCIm2LS3bN1dCa5Sfxx982A== dom-converter@^0.2: version "0.2.0" @@ -12559,7 +12553,7 @@ domhandler@^3.0.0: dompurify@2.0.8: version "2.0.8" - resolved "https://registry.npmjs.org/dompurify/-/dompurify-2.0.8.tgz#6ef89d2d227d041af139c7b01d9f67ed59c2eb3c" + resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.0.8.tgz#6ef89d2d227d041af139c7b01d9f67ed59c2eb3c" integrity sha512-vIOSyOXkMx81ghEalh4MLBtDHMx1bhKlaqHDMqM2yeitJ996SLOk5mGdDpI9ifJAgokred8Rmu219fX4OltqXw== domutils@1.5, domutils@1.5.1: @@ -12799,16 +12793,16 @@ ejs@^2.6.1: integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== ejs@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.2.tgz#a9986e6920a60f2a3229e87d4f0f3c073209874c" - integrity sha512-zFuywxrAWtX5Mk2KAuoJNkXXbfezpNA0v7i+YC971QORguPekpjpAgeOv99YWSdKXwj7JxI2QAWDeDkE8fWtXw== + version "3.1.3" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.3.tgz#514d967a8894084d18d3d47bd169a1c0560f093d" + integrity sha512-wmtrUGyfSC23GC/B1SMv2ogAUgbQEtDmTIhfqielrG5ExIM9TP4UoYdi90jLF1aTcsWCJNEO0UrgKzP0y3nTSg== dependencies: jake "^10.6.1" electron-to-chromium@^1.3.247, electron-to-chromium@^1.3.378, electron-to-chromium@^1.3.413, electron-to-chromium@^1.3.47: - version "1.3.437" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.437.tgz#110f1cd407e5d09b43d5585e5f237b71063412cf" - integrity sha512-PBQn2q68ErqMyBUABh9Gh8R6DunGky8aB5y3N5lPM7OVpldwyUbAK5AX9WcwE/5F6ceqvQ+iQLYkJYRysAs6Bg== + version "1.3.448" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.448.tgz#682831ecf3ce505231978f7c795a2813740cae7c" + integrity sha512-WOr3SrZ55lUFYugA6sUu3H3ZoxVIH5o3zTSqYS+2DOJJP4hnHmBiD1w432a2YFW/H2G5FIxE6DB06rv+9dUL5g== elegant-spinner@^1.0.1: version "1.0.1" @@ -12901,9 +12895,9 @@ ember-cli-babel@^6.12.0, ember-cli-babel@^6.16.0: semver "^5.5.0" ember-cli-babel@^7.1.2, ember-cli-babel@^7.11.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.5.0, ember-cli-babel@^7.7.3: - version "7.19.0" - resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.19.0.tgz#e6eddea18a867231fcf90a80689e92b98be9a63b" - integrity sha512-HiWKuoyy35vGEr+iCw6gUnQ3pS5qslyTlKEDW8cVoMbvZNGYBgRxHed5nklVUh+BS74AwR9lsp25BTAagYAP9Q== + version "7.20.0" + resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.20.0.tgz#aa77eadd15036a053534fc68f7933bb97c5a1e25" + integrity sha512-DwV5Cbn8wlRFpG8zQXxYPRb0NRnnaj/2qVDODeUEjM/doDhoDDbTSSaEI5Pf0kIlkVIimyGB8qpGv1fkgj2IfQ== dependencies: "@babel/core" "^7.9.0" "@babel/helper-compilation-targets" "^7.8.7" @@ -12918,7 +12912,7 @@ ember-cli-babel@^7.1.2, ember-cli-babel@^7.11.0, ember-cli-babel@^7.13.2, ember- amd-name-resolver "^1.2.1" babel-plugin-debug-macros "^0.3.0" babel-plugin-ember-data-packages-polyfill "^0.1.2" - babel-plugin-ember-modules-api-polyfill "^2.12.0" + babel-plugin-ember-modules-api-polyfill "^2.13.0" babel-plugin-module-resolver "^3.1.1" broccoli-babel-transpiler "^7.4.0" broccoli-debug "^0.6.4" @@ -13074,9 +13068,9 @@ ember-cli-version-checker@^3.1.3: semver "^5.6.0" ember-cli-version-checker@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-4.1.0.tgz#7fc9836bdbc87451d286ba6a9a89b23591d8bbb7" - integrity sha512-yLf2YqotTSsjiXwx9Dt6H7AU0QcldFn5SLk/pG3Zqb0aHNeanBOPlx4/Ysa46ILGWYIh0fDH34AEVRueXTrQBQ== + version "4.1.1" + resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-4.1.1.tgz#27b938228306cb0dbc4f74e95c536cdd6448e499" + integrity sha512-bzEWsTMXUGEJfxcAGWPe6kI7oHEGD3jaxUWDYPTqzqGhNkgPwXTBgoWs9zG1RaSMaOPFnloWuxRcoHi4TrYS3Q== dependencies: resolve-package-path "^2.0.0" semver "^6.3.0" @@ -13196,7 +13190,7 @@ ember-resolver@^7.0.0: ember-cli-version-checker "^3.1.3" resolve "^1.14.0" -ember-rfc176-data@^0.3.1, ember-rfc176-data@^0.3.12: +ember-rfc176-data@^0.3.1, ember-rfc176-data@^0.3.13: version "0.3.13" resolved "https://registry.yarnpkg.com/ember-rfc176-data/-/ember-rfc176-data-0.3.13.tgz#ed1712a26e65fec703655f35410414aa1982cf3b" integrity sha512-m9JbwQlT6PjY7x/T8HslnXP7Sz9bx/pz3FrNfNi2NesJnbNISly0Lix6NV1fhfo46572cpq4jrM+/6yYlMefTQ== @@ -13386,7 +13380,7 @@ enhanced-resolve@4.1.1, enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.0, enhanc memory-fs "^0.5.0" tapable "^1.0.0" -enquirer@^2.3.4, enquirer@^2.3.5: +enquirer@^2.3.5: version "2.3.5" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.5.tgz#3ab2b838df0a9d8ab9e7dff235b0e8712ef92381" integrity sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA== @@ -13426,12 +13420,7 @@ env-paths@^2.2.0: resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== -envinfo@7.5.0: - version "7.5.0" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.5.0.tgz#91410bb6db262fb4f1409bd506e9ff57e91023f4" - integrity sha512-jDgnJaF/Btomk+m3PZDTTCb5XIIIX3zYItnCRfF73zVgvinLoRomuhi75Y4su0PtQxWz4v66XnLLckyvyJTOIQ== - -envinfo@^7.3.1, envinfo@^7.5.1: +envinfo@7.5.1, envinfo@^7.3.1, envinfo@^7.5.1: version "7.5.1" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.5.1.tgz#93c26897225a00457c75e734d354ea9106a72236" integrity sha512-hQBkDf2iO4Nv0CNHpCuSBeaSrveU6nThVxFGTrq/eDlV716UQk09zChaJae4mZRsos1x4YLY2TaH3LHUae3ZmQ== @@ -13894,9 +13883,9 @@ eslint-plugin-import@^2.20.2: resolve "^1.12.0" eslint-plugin-jest@^23.8.2: - version "23.11.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.11.0.tgz#6e01d83ea74c1eefd60811655bbc288bd8ab2e7d" - integrity sha512-qedvh6mcMgoLFHjITtG40yKOCu5Fa1GMYesDOclU30ZvtVkf+DaH0fnCn1ysOX/QMdk2SGhQvxvYLowcLaM0GA== + version "23.13.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.13.1.tgz#b2ce83f76064ad8ba1f1f26f322b86a86e44148e" + integrity sha512-TRLJH6M6EDvGocD98a7yVThrAOCK9WJfo9phuUb0MJptcrOYZeCKzC9aOzZCD93sxXCsiJVZywaTHdI/mAi0FQ== dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" @@ -14397,7 +14386,7 @@ execa@^3.2.0, execa@^3.3.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" -execa@^4.0.0: +execa@^4.0.0, execa@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.1.tgz#988488781f1f0238cd156f7aaede11c3e853b4c1" integrity sha512-SCjM/zlBdOK8Q5TIjOn6iEHZaPHFsMoTxXQ2nvUvtPnuohz3H2dIozSg+etNR98dGoYUp2ENSKLL/XaMmbxVgw== @@ -14667,7 +14656,7 @@ fast-deep-equal@^1.0.0: fast-deep-equal@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= fast-deep-equal@^3.1.1: @@ -15134,9 +15123,9 @@ flatten@^1.0.2: integrity sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg== flow-parser@0.*: - version "0.124.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.124.0.tgz#b0ff07cba91ffe5f58a95867fb86cf0d1bdc37ff" - integrity sha512-ftEG23+ieFYxpBnwJXLZiSmAjrtVU7J2NmEqv7OZbwPWgqsqKsSD73RwBxdEFhUdyfvceDRZ7GbQrYZJ0YKuFg== + version "0.125.1" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.125.1.tgz#8e6174c0ad8bce8c4e8dbe3c2cfe30235eb0d080" + integrity sha512-vrnK98a85yyaPqcZTQmHlrzb4PAiF/WgkI8xZCmyn5sT6/bAKAFbUB+VQqfzTpnvq2VwZ5SThi/xuz3zMLTFRw== flush-promises@^1.0.2: version "1.0.2" @@ -15249,20 +15238,7 @@ fork-ts-checker-webpack-plugin@3.1.1, fork-ts-checker-webpack-plugin@^3.1.1: tapable "^1.0.0" worker-rpc "^0.1.0" -fork-ts-checker-webpack-plugin@^4.0.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.3.tgz#306f1566fc1c916816830b3de4e53da8d6d6a9e2" - integrity sha512-ErA8cFsPfAIOx2UFoRlMraGVB1Ye3bXQTdNW6lmeKQDuNnkORqJmA9bcReNxJj5kVHeKkKcNZv3f6PMyeugO+w== - dependencies: - babel-code-frame "^6.22.0" - chalk "^2.4.1" - micromatch "^3.1.10" - minimatch "^3.0.4" - semver "^5.6.0" - tapable "^1.0.0" - worker-rpc "^0.1.0" - -fork-ts-checker-webpack-plugin@^4.1.4: +fork-ts-checker-webpack-plugin@^4.0.3, fork-ts-checker-webpack-plugin@^4.1.4: version "4.1.4" resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.4.tgz#f0dc3ece19ec5b792d7b8ecd2a7f43509a5285ce" integrity sha512-R0nTlZSyV0uCCzYe1kgR7Ve8mXyDvMm1pJwUFb6zzRVF5rTNb24G6gn2DFQy+W5aJYp2eq8aexpCOO+1SCyCSA== @@ -15658,6 +15634,11 @@ get-own-enumerable-property-symbols@^3.0.0: resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + get-pkg-repo@^1.0.0: version "1.4.0" resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" @@ -16343,7 +16324,7 @@ har-schema@^2.0.0: har-validator@~5.0.3: version "5.0.3" - resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" integrity sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0= dependencies: ajv "^5.1.0" @@ -17023,7 +17004,7 @@ http-proxy-agent@^4.0.0: agent-base "6" debug "4" -http-proxy-middleware@0.19.1, http-proxy-middleware@^0.19.1: +http-proxy-middleware@0.19.1: version "0.19.1" resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== @@ -17033,10 +17014,20 @@ http-proxy-middleware@0.19.1, http-proxy-middleware@^0.19.1: lodash "^4.17.11" micromatch "^3.1.10" -http-proxy@^1.13.1, http-proxy@^1.17.0, http-proxy@^1.18.0, http-proxy@^1.8.1: - version "1.18.0" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a" - integrity sha512-84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPpQ== +http-proxy-middleware@^0.19.1: + version "0.19.2" + resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.2.tgz#ee73dcc8348165afefe8de2ff717751d181608ee" + integrity sha512-aYk1rTKqLTus23X3L96LGNCGNgWpG4cG0XoZIT1GUPhhulEHX/QalnO6Vbo+WmKWi4AL2IidjuC0wZtbpg0yhQ== + dependencies: + http-proxy "^1.18.1" + is-glob "^4.0.0" + lodash "^4.17.11" + micromatch "^3.1.10" + +http-proxy@^1.13.1, http-proxy@^1.17.0, http-proxy@^1.18.0, http-proxy@^1.18.1, http-proxy@^1.8.1: + version "1.18.1" + resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== dependencies: eventemitter3 "^4.0.0" follow-redirects "^1.0.0" @@ -19899,7 +19890,7 @@ jscodeshift@^0.7.0: jsdom@16.2.1: version "16.2.1" - resolved "https://registry.npmjs.org/jsdom/-/jsdom-16.2.1.tgz#df934649ab9175daeeff3e6f1e2b2268ed1470cd" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.2.1.tgz#df934649ab9175daeeff3e6f1e2b2268ed1470cd" integrity sha512-3p0gHs5EfT7PxW9v8Phz3mrq//4Dy8MQenU/PoKxhdT+c45S7NjIjKbGT3Ph0nkICweE1r36+yaknXA5WfVNAg== dependencies: abab "^2.0.3" @@ -20142,7 +20133,7 @@ json-buffer@3.0.0: json-fn@^1.1.1: version "1.1.1" - resolved "https://registry.npmjs.org/json-fn/-/json-fn-1.1.1.tgz#4293c9198a482d6697d334a6e32cd0d221121e80" + resolved "https://registry.yarnpkg.com/json-fn/-/json-fn-1.1.1.tgz#4293c9198a482d6697d334a6e32cd0d221121e80" integrity sha1-QpPJGYpILWaX0zSm4yzQ0iESHoA= json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: @@ -20479,7 +20470,7 @@ kind-of@^5.0.0: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== -kind-of@^6.0.0, kind-of@^6.0.2: +kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -21029,18 +21020,18 @@ linkify-it@~1.2.0: uc.micro "^1.0.1" lint-staged@^10.2.1: - version "10.2.2" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.2.2.tgz#901403c120eb5d9443a0358b55038b04c8a7db9b" - integrity sha512-78kNqNdDeKrnqWsexAmkOU3Z5wi+1CsQmUmfCuYgMTE8E4rAIX8RHW7xgxwAZ+LAayb7Cca4uYX4P3LlevzjVg== + version "10.2.4" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.2.4.tgz#0ed5d1cf06bdac0d3fbb003931bb6df3771fbf42" + integrity sha512-doTMGKXQAT34c3S3gwDrTnXmCZp/z1/92D8suPqqh755sKPT18ew1NoPNHxJdrvv1D4WrJ7CEnx79Ns3EdEFbg== dependencies: chalk "^4.0.0" - commander "^5.0.0" + commander "^5.1.0" cosmiconfig "^6.0.0" debug "^4.1.1" dedent "^0.7.0" - execa "^4.0.0" - listr2 "1.3.8" - log-symbols "^3.0.0" + execa "^4.0.1" + listr2 "^2.0.2" + log-symbols "^4.0.0" micromatch "^4.0.2" normalize-path "^3.0.0" please-upgrade-node "^3.2.0" @@ -21081,23 +21072,23 @@ listr-verbose-renderer@^0.5.0: date-fns "^1.27.2" figures "^2.0.0" -listr2@1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/listr2/-/listr2-1.3.8.tgz#30924d79de1e936d8c40af54b6465cb814a9c828" - integrity sha512-iRDRVTgSDz44tBeBBg/35TQz4W+EZBWsDUq7hPpqeUHm7yLPNll0rkwW3lIX9cPAK7l+x95mGWLpxjqxftNfZA== +listr2@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-2.0.4.tgz#b39100b0a227ec5659dcf76ddc516211fc168d61" + integrity sha512-oJaAcplPsa72rKW0eg4P4LbEJjhH+UO2I8uqR/I2wzHrVg16ohSfUy0SlcHS21zfYXxtsUpL8YXGHjyfWMR0cg== dependencies: "@samverschueren/stream-to-observable" "^0.3.0" - chalk "^3.0.0" + chalk "^4.0.0" cli-cursor "^3.1.0" cli-truncate "^2.1.0" elegant-spinner "^2.0.0" - enquirer "^2.3.4" + enquirer "^2.3.5" figures "^3.2.0" indent-string "^4.0.0" log-update "^4.0.0" p-map "^4.0.0" pad "^3.2.0" - rxjs "^6.3.3" + rxjs "^6.5.5" through "^2.3.8" uuid "^7.0.2" @@ -21295,9 +21286,9 @@ lock-verify@^2.0.2: semver "^5.4.1" lockfile-lint-api@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/lockfile-lint-api/-/lockfile-lint-api-5.1.2.tgz#f680f36b2eb5894f0a676e5385b765b417028616" - integrity sha512-ePXCaoGFxXf8ggGPw+rxaopOMQaBm4HrV5iILVvx8qR406R4HEW9MyReEVHaP0IGxp45rzPm/euimkS78icbGg== + version "5.1.6" + resolved "https://registry.yarnpkg.com/lockfile-lint-api/-/lockfile-lint-api-5.1.6.tgz#74d1e14c0c8270232607eb11e518a92f6f6b1ddd" + integrity sha512-liJ1p/NkHbE2Wx5fRw8T1io+x2b2DttVvXpHLm4x7QC8pW3Lc6sHqV4T7cM6rAOs4fF2O9sAt7SEtuN2sX91qA== dependencies: "@yarnpkg/lockfile" "^1.1.0" debug "^4.1.1" @@ -21671,6 +21662,13 @@ log-symbols@^2.1.0, log-symbols@^2.2.0: dependencies: chalk "^2.0.1" +log-symbols@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" + integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA== + dependencies: + chalk "^4.0.0" + log-update@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" @@ -22074,9 +22072,9 @@ marko-starter@^2.1.0: try-require "^1.2.1" marko@^4.1.1, marko@^4.10.0, marko@^4.18.39: - version "4.21.9" - resolved "https://registry.yarnpkg.com/marko/-/marko-4.21.9.tgz#c379bfdcbbe37fe6da5ab5e2ebde0b10bc96753d" - integrity sha512-vFYrue+Hr1gDhU1Kh+pGkNPSm1qva/zzYtv5KFpgqZdflbGc7XUpkoBGnP+/lb6a/anfkPGqIOR7AuiQafgZ0w== + version "4.21.10" + resolved "https://registry.yarnpkg.com/marko/-/marko-4.21.10.tgz#c33e7b407ad7b5850a13ac28f524110d93381ada" + integrity sha512-OeK56Z7Zt4ERAzIS9t+jr2hjPsjl34DieJYaADgyPSCy0JS8ymHzd6AgSg7tYCY+BlGe1Su6roebwrLwFwFeKQ== dependencies: app-module-path "^2.2.0" argly "^1.0.0" @@ -22184,19 +22182,28 @@ mdast-util-definitions@^2.0.0: dependencies: unist-util-visit "^2.0.0" +mdast-util-definitions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-3.0.1.tgz#06af6c49865fc63d6d7d30125569e2f7ae3d0a86" + integrity sha512-BAv2iUm/e6IK/b2/t+Fx69EL/AGcq/IG2S+HxHjDJGfLJtd6i9SZUS76aC9cig+IEucsqxKTR0ot3m933R3iuA== + dependencies: + unist-util-visit "^2.0.0" + mdast-util-heading-style@^1.0.2: version "1.0.6" resolved "https://registry.yarnpkg.com/mdast-util-heading-style/-/mdast-util-heading-style-1.0.6.tgz#6410418926fd5673d40f519406b35d17da10e3c5" integrity sha512-8ZuuegRqS0KESgjAGW8zTx4tJ3VNIiIaGFNEzFpRSAQBavVc7AvOo9I4g3crcZBfYisHs4seYh0rAVimO6HyOw== -mdast-util-to-hast@8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-8.2.0.tgz#adf9f824defcd382e53dd7bace4282a45602ac67" - integrity sha512-WjH/KXtqU66XyTJQ7tg7sjvTw1OQcVV0hKdFh3BgHPwZ96fSBCQ/NitEHsN70Mmnggt+5eUUC7pCnK+2qGQnCA== +mdast-util-to-hast@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-9.1.0.tgz#6ef121dd3cd3b006bf8650b1b9454da0faf79ffe" + integrity sha512-Akl2Vi9y9cSdr19/Dfu58PVwifPXuFt1IrHe7l+Crme1KvgUT+5z+cHLVcQVGCiNTZZcdqjnuv9vPkGsqWytWA== dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.3" collapse-white-space "^1.0.0" detab "^2.0.0" - mdast-util-definitions "^2.0.0" + mdast-util-definitions "^3.0.0" mdurl "^1.0.0" trim-lines "^1.0.0" unist-builder "^2.0.0" @@ -22605,12 +22612,13 @@ minimist-options@^3.0.1: is-plain-obj "^1.1.0" minimist-options@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.0.2.tgz#29c4021373ded40d546186725e57761e4b1984a7" - integrity sha512-seq4hpWkYSUh1y7NXxzucwAN9yVlBc3Upgdjz8vLCP97jG8kaOmzYrVH/m7tQ1NYD1wdtZbSLfdy4zFmRWuc/w== + version "4.1.0" + resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" + integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== dependencies: arrify "^1.0.1" is-plain-obj "^1.1.0" + kind-of "^6.0.3" minimist@1.2.5, minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" @@ -22798,9 +22806,9 @@ moment@2.24.0: integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== moment@>=1.6.0, moment@^2.10.6, moment@^2.18.1: - version "2.25.3" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.25.3.tgz#252ff41319cf41e47761a1a88cab30edfe9808c0" - integrity sha512-PuYv0PHxZvzc15Sp8ybUCoQ+xpyPWvjOuK72a5ovzp2LI32rJXOiIfyoFoYvG3s6EwwrdkMyWuRiEHSZRLJNdg== + version "2.26.0" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.26.0.tgz#5e1f82c6bafca6e83e808b30c8705eed0dcbd39a" + integrity sha512-oIixUO+OamkUkwjhAVE18rAMfRJNsNe/Stid/gwHSOfHrOtw9EhAY2AHvdKZ/k/MggcYELFCJz/Sn2pL8b8JMw== moo@^0.5.0: version "0.5.1" @@ -23251,9 +23259,9 @@ node-notifier@^7.0.0: which "^2.0.2" node-releases@^1.1.29, node-releases@^1.1.52, node-releases@^1.1.53: - version "1.1.55" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.55.tgz#8af23b7c561d8e2e6e36a46637bab84633b07cee" - integrity sha512-H3R3YR/8TjT5WPin/wOoHOUPHgvj8leuU/Keta/rwelEQN9pA/S2Dx8/se4pZ2LBxSd0nAGzsNzhqwa77v7F1w== + version "1.1.56" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.56.tgz#bc054a417d316e3adac90eafb7e1932802f28705" + integrity sha512-EVo605FhWLygH8a64TjgpjyHYOihkxECwX1bHHr8tETJKWEiWS2YJjPbvsX2jFjnjTNEgBCmk9mLjKG1Mf11cw== node-sass@^4.12.0, node-sass@^4.14.0: version "4.14.1" @@ -23662,13 +23670,12 @@ object.assign@^4.1.0: object-keys "^1.0.11" object.entries@^1.1.0, object.entries@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.1.tgz#ee1cf04153de02bb093fec33683900f57ce5399b" - integrity sha512-ilqR7BgdyZetJutmDPfXCDffGa0/Yzl2ivVNpbx/g4UeWrCdRnFDUBrKJGLhGieRHDATnyZXWBeCb29k9CJysQ== + version "1.1.2" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.2.tgz#bc73f00acb6b6bb16c203434b10f9a7e797d3add" + integrity sha512-BQdB9qKmb/HyNdMNWVr7O3+z5MUIx3aiegEIJqjMBbBf0YT9RRxTJSim4mzFqtyr7PDAHigq0N9dO0m0tRakQA== dependencies: define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" - function-bind "^1.1.1" + es-abstract "^1.17.5" has "^1.0.3" object.fromentries@^2.0.0, "object.fromentries@^2.0.0 || ^1.0.0", object.fromentries@^2.0.2: @@ -23777,7 +23784,7 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -open@7.0.3, open@^7.0.2, open@^7.0.3: +open@7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/open/-/open-7.0.3.tgz#db551a1af9c7ab4c7af664139930826138531c48" integrity sha512-sP2ru2v0P290WFfv49Ap8MF6PkzGNnGlAwHweB4WR4mr5d2d0woiCluUeJ218w7/+PmoBy9JmYgD5A4mLcWOFA== @@ -23792,6 +23799,14 @@ open@^6.3.0: dependencies: is-wsl "^1.1.0" +open@^7.0.2, open@^7.0.3: + version "7.0.4" + resolved "https://registry.yarnpkg.com/open/-/open-7.0.4.tgz#c28a9d315e5c98340bf979fdcb2e58664aa10d83" + integrity sha512-brSA+/yq+b08Hsr4c8fsEW2CRzk1BmfN3SAK/5VCHQ9bdoZJ4qa/+AfR0xHjlbbZUyPkUHs1b8x1RqdyZdkVqQ== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + opencollective-postinstall@^2.0.0, opencollective-postinstall@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" @@ -26141,9 +26156,9 @@ psl@^1.1.24, psl@^1.1.28, psl@^1.1.33: integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== pstree.remy@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.7.tgz#c76963a28047ed61542dc361aa26ee55a7fa15f3" - integrity sha512-xsMgrUwRpuGskEzBFkH8NmTimbZ5PcPup0LA8JJkHIm2IMUbQcpo3yeLNWVrufEYjh8YwtSVh0xz6UeWc5Oh5A== + version "1.1.8" + resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" + integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== public-encrypt@^4.0.0: version "4.0.3" @@ -27005,7 +27020,7 @@ react-moment-proptypes@^1.7.0: react-native-swipe-gestures@^1.0.4: version "1.0.5" - resolved "https://registry.npmjs.org/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.5.tgz#a172cb0f3e7478ccd681fd36b8bfbcdd098bde7c" + resolved "https://registry.yarnpkg.com/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.5.tgz#a172cb0f3e7478ccd681fd36b8bfbcdd098bde7c" integrity sha512-Ns7Bn9H/Tyw278+5SQx9oAblDZ7JixyzeOczcBK8dipQk2pD7Djkcfnf1nB/8RErAmMLL9iXgW0QHqiII8AhKw== react-popper-tooltip@^2.11.0: @@ -27942,16 +27957,16 @@ remark-lint@^7.0.0: dependencies: remark-message-control "^6.0.0" -remark-mdx@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.1.tgz#693aa40d0c98afdd556e7e50f2ca263d0a845e19" - integrity sha512-UyCqqYFv9l5dstX29QpdqMprBHyUYUEQHOUe0MdFUIm1XATxfVGHbRPtVBFz4ccd5NV1UL/rmsruo9WOswwmpQ== +remark-mdx@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.4.tgz#51c6eba0abb97591f0926c195e088bdb025c0b8a" + integrity sha512-tJ/CGNNLVC8nOm0C3EjDQH4Vl3YhawgR2f3J+RaalrMDrT4s5ZzOqoNesV1cnF/DsoOxKlYkExOpNSOa6rkAtQ== dependencies: - "@babel/core" "7.9.0" + "@babel/core" "7.9.6" "@babel/helper-plugin-utils" "7.8.3" - "@babel/plugin-proposal-object-rest-spread" "7.9.5" + "@babel/plugin-proposal-object-rest-spread" "7.9.6" "@babel/plugin-syntax-jsx" "7.8.3" - "@mdx-js/util" "^1.6.1" + "@mdx-js/util" "^1.6.4" is-alphabetical "1.0.4" remark-parse "8.0.2" unified "9.0.0" @@ -28116,7 +28131,7 @@ request-promise-native@^1.0.5, request-promise-native@^1.0.7, request-promise-na request@2.87.0: version "2.87.0" - resolved "https://registry.npmjs.org/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" + resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" integrity sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw== dependencies: aws-sign2 "~0.7.0" @@ -28986,7 +29001,7 @@ semver@7.1.3: semver@7.2.1: version "7.2.1" - resolved "https://registry.npmjs.org/semver/-/semver-7.2.1.tgz#d997aa36bdbb00b501ae4ac4c7d17e9f7a587ae5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.2.1.tgz#d997aa36bdbb00b501ae4ac4c7d17e9f7a587ae5" integrity sha512-aHhm1pD02jXXkyIpq25qBZjr3CQgg8KST8uX0OWXch3xE6jw+1bfbWnCjzMwojsTquroUmKFHNzU6x26mEiRxw== semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2: @@ -29157,7 +29172,7 @@ shallow-copy@~0.0.1: shallow-equal@^1.1.0: version "1.2.1" - resolved "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da" + resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da" integrity sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA== shallowequal@^1.1.0: @@ -30529,9 +30544,9 @@ svelte-loader@^2.13.4: svelte-dev-helper "^1.1.9" svelte@^3.18.1: - version "3.22.2" - resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.22.2.tgz#06585244191bf7a112af2a0025610f33d77c3715" - integrity sha512-DxumO0+vvHA6NSc2jtVty08I8lFI43q8P2zX6JxZL8J1kqK5NVjad6TRM/twhnWXC+QScnwkZ15O6X1aTsEKTA== + version "3.22.3" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.22.3.tgz#6af3bdcfea44c2fadbf17a32c479f49bdf1aba4b" + integrity sha512-DumSy5eWPFPlMUGf3+eHyFSkt5yLqyAmMdCuXOE4qc5GtFyLxwTAGKZmgKmW2jmbpTTeFQ/fSQfDBQbl9Eo7yw== svg-parser@^2.0.0, svg-parser@^2.0.2: version "2.0.4" @@ -30694,7 +30709,7 @@ teeny-request@6.0.1: telejson@^3.2.0: version "3.3.0" - resolved "https://registry.npmjs.org/telejson/-/telejson-3.3.0.tgz#6d814f3c0d254d5c4770085aad063e266b56ad03" + resolved "https://registry.yarnpkg.com/telejson/-/telejson-3.3.0.tgz#6d814f3c0d254d5c4770085aad063e266b56ad03" integrity sha512-er08AylQ+LEbDLp1GRezORZu5wKOHaBczF6oYJtgC3Idv10qZ8A3p6ffT+J5BzDKkV9MqBvu8HAKiIIOp6KJ2w== dependencies: "@types/is-function" "^1.0.0" @@ -30864,9 +30879,9 @@ terser@^3.16.1, terser@^3.17.0, terser@^3.7.3: source-map-support "~0.5.10" terser@^4.1.2, terser@^4.3.8, terser@^4.3.9, terser@^4.4.3, terser@^4.6.12, terser@^4.6.13, terser@^4.6.3: - version "4.6.13" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.13.tgz#e879a7364a5e0db52ba4891ecde007422c56a916" - integrity sha512-wMvqukYgVpQlymbnNbabVZbtM6PN63AzqexpwJL8tbh/mRT9LE5o+ruVduAGL7D6Fpjl+Q+06U5I9Ul82odAhw== + version "4.7.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.7.0.tgz#15852cf1a08e3256a80428e865a2fa893ffba006" + integrity sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -31062,9 +31077,9 @@ tiny-inflate@^1.0.0, tiny-inflate@^1.0.2: integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== tiny-json-http@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/tiny-json-http/-/tiny-json-http-7.1.2.tgz#620e189849bab08992ec23fada7b48c7c61637b4" - integrity sha512-XB9Bu+ohdQso6ziPFNVqK+pcTt0l8BSRkW/CCBq0pUVlLxcYDsorpo7ae5yPhu2CF1xYgJuKVLF7cfOGeLCTlA== + version "7.2.0" + resolved "https://registry.yarnpkg.com/tiny-json-http/-/tiny-json-http-7.2.0.tgz#1bc51d3c4ac0fe617b2c523319ca87d58934e703" + integrity sha512-blMwK3w6R+9/ZCMAlrAw4/yOmym6SNaF8LNHqjVnugtDAWNK/+HxK9AgEy8ynagRniMIiWhUcVst16Qumf66QQ== tiny-lr@^1.1.1: version "1.1.1" @@ -31255,7 +31270,7 @@ tough-cookie@^3.0.1: tough-cookie@~2.3.3: version "2.3.4" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" integrity sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA== dependencies: punycode "^1.4.1" @@ -31699,9 +31714,9 @@ typescript@^2.4.2: integrity sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w== typescript@^3.0.0, typescript@^3.2.4, typescript@^3.4.0, typescript@^3.5.3, typescript@^3.8.0-dev.20200111, typescript@^3.8.3, typescript@^3.9.2, typescript@latest: - version "3.9.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.2.tgz#64e9c8e9be6ea583c54607677dd4680a1cf35db9" - integrity sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw== + version "3.9.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" + integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ== ua-parser-js@^0.7.18: version "0.7.21" @@ -32439,9 +32454,9 @@ uuid@^7.0.2, uuid@^7.0.3: integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg== uuid@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c" - integrity sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw== + version "8.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.1.0.tgz#6f1536eb43249f473abc6bd58ff983da1ca30d8d" + integrity sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg== v8-compile-cache@2.0.3: version "2.0.3" @@ -32487,7 +32502,7 @@ vendors@^1.0.0: resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e" integrity sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w== -verdaccio-audit@^9.4.0: +verdaccio-audit@9.4.0: version "9.4.0" resolved "https://registry.yarnpkg.com/verdaccio-audit/-/verdaccio-audit-9.4.0.tgz#1a06ccf30290e1563f7f578dc9c19811b73dc029" integrity sha512-oXHYg/1L+f+iOcdD38gXN/OVmE+cW+fCsX/1Apg/0G6JHpl4msTpJ5DTeP3QdcggXwVHKMvU1NM8PNJBpxpfnQ== @@ -32496,16 +32511,16 @@ verdaccio-audit@^9.4.0: request "2.88.0" verdaccio-auth-memory@^9.4.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/verdaccio-auth-memory/-/verdaccio-auth-memory-9.4.0.tgz#180320aaed36ec85f06a321bbe90097656488b70" - integrity sha512-0G3CxYSnESFxlV8xP7kubMPEbKnLX9UOt/qwRsxBh42gqU9uvgOU0lvaf8eAzr+0Gi67EygmOi3o/hHWLyQrXg== + version "9.5.0" + resolved "https://registry.yarnpkg.com/verdaccio-auth-memory/-/verdaccio-auth-memory-9.5.0.tgz#de8fd820405776c3c7e78856f63675887b13e2bd" + integrity sha512-N5nruT05U9AFwo38SW4fYlXH+QYTWxCBoZkjqlAHK1ws/fWwkYFXeM21C1YxVckyK6VeM7c9tgCS8a/x0G9BjQ== dependencies: "@verdaccio/commons-api" "^9.4.0" -verdaccio-htpasswd@^9.4.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/verdaccio-htpasswd/-/verdaccio-htpasswd-9.4.0.tgz#e89aa3e1a5c74515c4d5c6528f60c31be5da7f58" - integrity sha512-bdoJLGod4/Q4GGY5ne6toEXFLX3JsW5JqaKTYIuox3664QyP25Hxfw/ID5qQeRUR3tBTc0xdygxPqlUvSCCIMg== +verdaccio-htpasswd@9.4.1: + version "9.4.1" + resolved "https://registry.yarnpkg.com/verdaccio-htpasswd/-/verdaccio-htpasswd-9.4.1.tgz#44f9e57083d34c740a56654fa4210cb66bec9fc5" + integrity sha512-d7WkEErQWPB4xeMaWV0AQTafJoK8gFFmOiyJ+lBENN+hyLtb9tUUnqcbJYBzx/5swkisAmH4I+x7523ikq30SA== dependencies: "@verdaccio/file-locking" "^9.4.0" apache-md5 "1.1.2" @@ -32514,15 +32529,15 @@ verdaccio-htpasswd@^9.4.0: unix-crypt-td-js "1.1.4" verdaccio@^4.5.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/verdaccio/-/verdaccio-4.6.1.tgz#edaee0d1b9a5978663dd5c226a6983a30feda22f" - integrity sha512-u8jt4TVl6oiPBkmThB1lQn0iI68DtuGVrX4QsWx2rz5yjTwXSRFH2QqCfN+odaY2HfIXWW7OVmRRn8zTlCY3Wg== + version "4.6.2" + resolved "https://registry.yarnpkg.com/verdaccio/-/verdaccio-4.6.2.tgz#1d90628a8f386ca4417804b29f490b8f4d346c86" + integrity sha512-VFiplHOxQXofInyEUjUhGODMQCTwpT5a2uNtvWJ7JDebIUlJPNgoPqjbfsMCE0gCTqgAL6b+Q/SZQfowRGLl9Q== dependencies: - "@verdaccio/commons-api" "^9.4.0" - "@verdaccio/local-storage" "^9.4.0" - "@verdaccio/readme" "^9.4.0" - "@verdaccio/streams" "^9.4.0" - "@verdaccio/ui-theme" "1.5.0" + "@verdaccio/commons-api" "9.4.0" + "@verdaccio/local-storage" "9.4.0" + "@verdaccio/readme" "9.4.0" + "@verdaccio/streams" "9.4.0" + "@verdaccio/ui-theme" "1.7.1" JSONStream "1.3.5" async "3.2.0" body-parser "1.19.0" @@ -32531,8 +32546,8 @@ verdaccio@^4.5.1: compression "1.7.4" cookies "0.8.0" cors "2.8.5" - dayjs "1.8.23" - envinfo "7.5.0" + dayjs "1.8.26" + envinfo "7.5.1" express "4.17.1" handlebars "4.7.6" http-errors "1.7.3" @@ -32550,8 +32565,8 @@ verdaccio@^4.5.1: pkginfo "0.4.1" request "2.87.0" semver "7.2.1" - verdaccio-audit "^9.4.0" - verdaccio-htpasswd "^9.4.0" + verdaccio-audit "9.4.0" + verdaccio-htpasswd "9.4.1" verror@1.10.0: version "1.10.0" @@ -32598,9 +32613,9 @@ vfile-statistics@^1.1.0: integrity sha512-lXhElVO0Rq3frgPvFBwahmed3X03vjPF8OcjKMy8+F1xU/3Q3QU3tKEDp743SFtb74PdF0UWpxPvtOP0GCLheA== vfile@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.1.0.tgz#d79248957f43225d57ff67a56effc67bef08946e" - integrity sha512-BaTPalregj++64xbGK6uIlsurN3BCRNM/P2Pg8HezlGzKd1O9PrwIac6bd9Pdx2uTb0QHoioZ+rXKolbVXEgJg== + version "4.1.1" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.1.1.tgz#282d28cebb609183ac51703001bc18b3e3f17de9" + integrity sha512-lRjkpyDGjVlBA7cDQhQ+gNcvB1BGaTHYuSOcY3S7OhDmBtnzX95FhtZZDecSTDm6aajFymyve6S5DN4ZHGezdQ== dependencies: "@types/unist" "^2.0.0" is-buffer "^2.0.0" @@ -32665,9 +32680,9 @@ vue-class-component@^7.1.0, vue-class-component@^7.2.3: integrity sha512-oEqYpXKaFN+TaXU+mRLEx8dX0ah85aAJEe61mpdoUrq0Bhe/6sWhyZX1JjMQLhVsHAkncyhedhmCdDVSasUtDw== vue-docgen-api@^4.7.0: - version "4.22.3" - resolved "https://registry.yarnpkg.com/vue-docgen-api/-/vue-docgen-api-4.22.3.tgz#82f345f1507a77e5bcacd31997919dcfcfb54ddd" - integrity sha512-yh+qji+IxpDFC5Ud2I7+tYfDgIMZbtK2PNQwCj3H23c5/6U6OE9B1EGBsEOEmitWS5QwSeYtX6qMfci2LP45Ow== + version "4.23.1" + resolved "https://registry.yarnpkg.com/vue-docgen-api/-/vue-docgen-api-4.23.1.tgz#52fc432ee2810343a08bbbba7c57507f8fd667f5" + integrity sha512-0S+Fi2bbta/bPfoKIqfO3GronnE0EzmA9OJ1I8ltqmAVC/XaSedT1pmIIQCIsySHKx8jEb6Yn2AhKccmZ8b/Ng== dependencies: "@babel/parser" "^7.6.0" "@babel/types" "^7.6.0" @@ -32848,14 +32863,23 @@ watch-detector@^1.0.0: silent-error "^1.1.1" tmp "^0.1.0" -watchpack@^1.5.0, watchpack@^1.6.0, watchpack@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.1.tgz#280da0a8718592174010c078c7585a74cd8cd0e2" - integrity sha512-+IF9hfUFOrYOOaKyfaI7h7dquUIOgyEMoQMLA7OP5FxegKA2+XdXThAZ9TU2kucfhDH7rfMHs1oPYziVGWRnZA== +watchpack-chokidar2@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz#9948a1866cbbd6cb824dea13a7ed691f6c8ddff0" + integrity sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA== dependencies: chokidar "^2.1.8" + +watchpack@^1.5.0, watchpack@^1.6.0, watchpack@^1.6.1: + version "1.7.2" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.2.tgz#c02e4d4d49913c3e7e122c3325365af9d331e9aa" + integrity sha512-ymVbbQP40MFTp+cNMvpyBpBtygHnPzPkHqoIwRRj/0B8KhqQwV8LaKjtbaxF2lK4vl8zN9wCxS46IFCU5K4W0g== + dependencies: graceful-fs "^4.1.2" neo-async "^2.5.0" + optionalDependencies: + chokidar "^3.4.0" + watchpack-chokidar2 "^2.0.0" wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" @@ -32927,9 +32951,9 @@ webidl-conversions@^6.0.0: integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== webpack-bundle-analyzer@^3.4.1, webpack-bundle-analyzer@^3.6.1: - version "3.7.0" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.7.0.tgz#84da434e89442899b884d9ad38e466d0db02a56f" - integrity sha512-mETdjZ30a3Yf+NTB/wqTgACK7rAYQl5uxKK0WVTNmF0sM3Uv8s3R58YZMW7Rhu0Lk2Rmuhdj5dcH5Q76zCDVdA== + version "3.8.0" + resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.8.0.tgz#ce6b3f908daf069fd1f7266f692cbb3bded9ba16" + integrity sha512-PODQhAYVEourCcOuU+NiYI7WdR8QyELZGgPvB1y2tjbUpbmcQOt5Q7jEK+ttd5se0KSBKD9SXHCEozS++Wllmw== dependencies: acorn "^7.1.1" acorn-walk "^7.1.1" @@ -33020,43 +33044,7 @@ webpack-dev-server@3.10.3: ws "^6.2.1" yargs "12.0.5" -webpack-dev-server@3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.2.1.tgz#1b45ce3ecfc55b6ebe5e36dab2777c02bc508c4e" - integrity sha512-sjuE4mnmx6JOh9kvSbPYw3u/6uxCLHNWfhWaIPwcXWsvWOPN+nc5baq4i9jui3oOBRXGonK9+OI0jVkaz6/rCw== - 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 "^4.1.1" - del "^3.0.0" - express "^4.16.2" - html-entities "^1.2.0" - http-proxy-middleware "^0.19.1" - import-local "^2.0.0" - internal-ip "^4.2.0" - 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" - semver "^5.6.0" - serve-index "^1.7.2" - sockjs "0.3.19" - sockjs-client "1.3.0" - spdy "^4.0.0" - strip-ansi "^3.0.0" - supports-color "^6.1.0" - url "^0.11.0" - webpack-dev-middleware "^3.5.1" - webpack-log "^2.0.0" - yargs "12.0.2" - -webpack-dev-server@^3.10.3, webpack-dev-server@^3.7.2, webpack-dev-server@^3.8.2: +webpack-dev-server@3.11.0, webpack-dev-server@^3.10.3, webpack-dev-server@^3.7.2, webpack-dev-server@^3.8.2: version "3.11.0" resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.0.tgz#8f154a3bce1bcfd1cc618ef4e703278855e7ff8c" integrity sha512-PUxZ+oSTxogFQgkTtFndEtJIPNmml7ExwufBZ9L2/Xyyd5PnOL5UreWe5ZT7IU25DSdykL9p1MLQzmLh2ljSeg== @@ -33095,6 +33083,42 @@ webpack-dev-server@^3.10.3, webpack-dev-server@^3.7.2, webpack-dev-server@^3.8.2 ws "^6.2.1" yargs "^13.3.2" +webpack-dev-server@3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.2.1.tgz#1b45ce3ecfc55b6ebe5e36dab2777c02bc508c4e" + integrity sha512-sjuE4mnmx6JOh9kvSbPYw3u/6uxCLHNWfhWaIPwcXWsvWOPN+nc5baq4i9jui3oOBRXGonK9+OI0jVkaz6/rCw== + 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 "^4.1.1" + del "^3.0.0" + express "^4.16.2" + html-entities "^1.2.0" + http-proxy-middleware "^0.19.1" + import-local "^2.0.0" + internal-ip "^4.2.0" + 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" + semver "^5.6.0" + serve-index "^1.7.2" + sockjs "0.3.19" + sockjs-client "1.3.0" + spdy "^4.0.0" + strip-ansi "^3.0.0" + supports-color "^6.1.0" + url "^0.11.0" + webpack-dev-middleware "^3.5.1" + webpack-log "^2.0.0" + yargs "12.0.2" + webpack-hot-middleware@^2.25.0: version "2.25.0" resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz#4528a0a63ec37f8f8ef565cf9e534d57d09fe706" @@ -33877,11 +33901,9 @@ yam@^1.0.0: lodash.merge "^4.6.0" yaml@^1.7.2: - version "1.9.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.9.2.tgz#f0cfa865f003ab707663e4f04b3956957ea564ed" - integrity sha512-HPT7cGGI0DuRcsO51qC1j9O16Dh1mZ2bnXwsi0jrSpsLz0WxOLSLXfkABVl6bZO629py3CU+OMJtpNHDLB97kg== - dependencies: - "@babel/runtime" "^7.9.2" + version "1.10.0" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" + integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg== yargs-parser@18.x, yargs-parser@^18.1.0, yargs-parser@^18.1.1, yargs-parser@^18.1.3: version "18.1.3" From 65d29af5cbdb50b7a2c3c6b6c3f828323ca661bf Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 11:48:13 +0800 Subject: [PATCH 15/50] Core: Fix double rendering on startup --- lib/client-api/src/story_store.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/client-api/src/story_store.ts b/lib/client-api/src/story_store.ts index c208474c0b9..5e41686ef44 100644 --- a/lib/client-api/src/story_store.ts +++ b/lib/client-api/src/story_store.ts @@ -156,10 +156,6 @@ export default class StoryStore { this._configuring = false; this.pushToManager(); - if (this._channel) { - this._channel.emit(Events.RENDER_CURRENT_STORY); - } - const { globalArgs: initialGlobalArgs, globalArgTypes } = this._globalMetadata.parameters; const defaultGlobalArgs: Args = globalArgTypes From a34e608a2bab952e757c039b42e3fc97affe4c38 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 23 May 2020 11:58:48 +0800 Subject: [PATCH 16/50] Story store: Fix event tests --- lib/client-api/src/story_store.test.ts | 29 ++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/lib/client-api/src/story_store.test.ts b/lib/client-api/src/story_store.test.ts index ae38923f404..f550243dbfa 100644 --- a/lib/client-api/src/story_store.test.ts +++ b/lib/client-api/src/story_store.test.ts @@ -794,14 +794,14 @@ describe('preview.story_store', () => { }); describe('RENDER_CURRENT_STORY', () => { - it('is emitted when setError is called', () => { + it('is NOT emitted when setError is called', () => { const onRenderCurrentStory = jest.fn(); channel.on(Events.RENDER_CURRENT_STORY, onRenderCurrentStory); const store = new StoryStore({ channel }); store.setError(new Error('Something is bad!') as ErrorLike); store.finishConfiguring(); - expect(onRenderCurrentStory).toHaveBeenCalled(); + expect(onRenderCurrentStory).not.toHaveBeenCalled(); }); it('is NOT emitted when setSelection is called during configuration', () => { @@ -813,13 +813,13 @@ describe('preview.story_store', () => { expect(onRenderCurrentStory).not.toHaveBeenCalled(); }); - it('is emitted when configuration ends', () => { + it('is NOT emitted when configuration ends', () => { const onRenderCurrentStory = jest.fn(); channel.on(Events.RENDER_CURRENT_STORY, onRenderCurrentStory); const store = new StoryStore({ channel }); store.finishConfiguring(); - expect(onRenderCurrentStory).toHaveBeenCalled(); + expect(onRenderCurrentStory).not.toHaveBeenCalled(); }); it('is emitted when setSelection is called outside of configuration', () => { @@ -833,4 +833,25 @@ describe('preview.story_store', () => { expect(onRenderCurrentStory).toHaveBeenCalled(); }); }); + + describe('GLOBAL_ARGS_UPDATED', () => { + it('is emitted when setError is called', () => { + const onGlobalArgsUpdated = jest.fn(); + channel.on(Events.GLOBAL_ARGS_UPDATED, onGlobalArgsUpdated); + const store = new StoryStore({ channel }); + + store.setError(new Error('Something is bad!') as ErrorLike); + store.finishConfiguring(); + expect(onGlobalArgsUpdated).toHaveBeenCalled(); + }); + + it('is emitted when configuration ends', () => { + const onGlobalArgsUpdated = jest.fn(); + channel.on(Events.GLOBAL_ARGS_UPDATED, onGlobalArgsUpdated); + const store = new StoryStore({ channel }); + + store.finishConfiguring(); + expect(onGlobalArgsUpdated).toHaveBeenCalled(); + }); + }); }); From 7edfcc01da199b31cbf40fc6b24502bf69ea143b Mon Sep 17 00:00:00 2001 From: Mateo Tibaquira Date: Sat, 23 May 2020 10:26:52 -0500 Subject: [PATCH 17/50] fix(components): centered toolbar icon button. Closes #10870 --- lib/components/src/bar/button.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/components/src/bar/button.tsx b/lib/components/src/bar/button.tsx index a37d7868251..c69d6ef9e59 100644 --- a/lib/components/src/bar/button.tsx +++ b/lib/components/src/bar/button.tsx @@ -77,6 +77,8 @@ export interface IconButtonProps { export const IconButton = styled(ButtonOrLink, { shouldForwardProp: isPropValid })( ({ theme }) => ({ display: 'inline-flex', + justifyContent: 'center', + alignItems: 'center', height: 40, background: 'none', color: 'inherit', From 6e75747db35ff83acc00cdff2eb84823d8c63d7a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sun, 24 May 2020 05:14:44 +0800 Subject: [PATCH 18/50] Improve props tables docs --- addons/docs/README.md | 7 +-- addons/docs/angular/README.md | 5 +- addons/docs/docs/props-tables.md | 71 ++++------------------------ addons/docs/ember/README.md | 5 +- addons/docs/react/README.md | 70 +++++++++++++++++++++++++-- addons/docs/vue/README.md | 5 +- addons/docs/web-components/README.md | 13 +++-- 7 files changed, 99 insertions(+), 77 deletions(-) diff --git a/addons/docs/README.md b/addons/docs/README.md index 4d319a183f9..7982236550f 100644 --- a/addons/docs/README.md +++ b/addons/docs/README.md @@ -226,12 +226,7 @@ addParameters({ ## TypeScript configuration -SB Docs for React uses `babel-plugin-react-docgen` to extract Docgen comments from your code automatically. However, if you're using TypeScript, some extra configuration maybe required to get this information included in your docs. - -1. You can add [react-docgen-typescript-loader](https://www.npmjs.com/package/react-docgen-typescript-loader) to your project by following the instructions there. -2. You can use [@storybook/preset-typescript](https://www.npmjs.com/package/@storybook/preset-typescript) which includes `react-docgen-typescript-loader`. - -Install the preset with care. If you've already configured Typescript manually, that configuration may conflict with the preset. You can [debug your final webpack configuration with `--debug-webpack`](https://storybook.js.org/docs/configurations/custom-webpack-config/#debug-the-default-webpack-config). +As of SB6 [TypeScript is zero-config](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/configurations/typescript-config/index.md) and should work with SB Docs out of the box. For advanced configuration options, refer to the [Props documentation](./docs/props-tables.md). ## More resources diff --git a/addons/docs/angular/README.md b/addons/docs/angular/README.md index cd840af897d..822d20f6ca1 100644 --- a/addons/docs/angular/README.md +++ b/addons/docs/angular/README.md @@ -12,6 +12,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m - [Installation](#installation) - [DocsPage](#docspage) +- [Props tables](#props-tables) - [MDX](#mdx) - [IFrame height](#iframe-height) - [More resources](#more-resources) @@ -36,7 +37,9 @@ module.exports = { When you [install docs](#installation) you should get basic [DocsPage](../docs/docspage.md) documentation automagically for all your stories, available in the `Docs` tab of the Storybook UI. -Props tables for your components requires a few more steps. Docs for Angular relies on [Compodoc](https://compodoc.app/), the excellent API documentation tool. It supports `inputs`, `outputs`, `properties`, `methods`, `view/content child/children` as first class prop types. +## Props tables + +Getting [Props tables](../docs/props-tables.md) for your components requires a few more steps. Docs for Angular relies on [Compodoc](https://compodoc.app/), the excellent API documentation tool. It supports `inputs`, `outputs`, `properties`, `methods`, `view/content child/children` as first class prop types. To get this, you'll first need to install Compodoc: diff --git a/addons/docs/docs/props-tables.md b/addons/docs/docs/props-tables.md index 3e1c9399296..cd5305263e0 100644 --- a/addons/docs/docs/props-tables.md +++ b/addons/docs/docs/props-tables.md @@ -7,20 +7,13 @@ Storybook Docs automatically generates props tables for components in supported frameworks. This document is a consolidated summary of prop tables, provides instructions for reporting bugs, and list known limitations for each framework. - [Usage](#usage) -- [Args Controls](#args-controls) +- [Controls](#controls) - [DocsPage](#docspage) - [MDX](#mdx) - [Controls customization](#controls-customization) - [Rows customization](#rows-customization) - [Reporting a bug](#reporting-a-bug) - [Known limitations](#known-limitations) - - [React](#react) - - [Fully support React.FC](#fully-support-reactfc) - - [Imported types](#imported-types) - - [Vue](#vue) - - [Angular](#angular) - - [Web components](#web-components) - - [Ember](#ember) - [More resources](#more-resources) ## Usage @@ -52,9 +45,9 @@ import { MyComponent } from './MyComponent'; ``` -## Args Controls +## Controls -Starting in SB 6.0, the `Props` block has built-in controls (formerly known as "knobs") for editing stories dynamically. +Starting in SB 6.0, the `Props` block has built-in `Controls` (formerly known as "knobs") for editing stories dynamically.
@@ -197,57 +190,13 @@ If the problem appears to be an issue with the sub-package, please file an issue This package relies on a variety of sub-packages to extract property information from components. Many of the bugs in this package correspond to bugs in a sub-package. Since we don't maintain the sub-packages, the best we can do for now is (1) document these limitations, (2) provide clean reproductions to the sub-package, (3) optionally provide PRs to those packages to fix the problems. -### React - -SB Docs for React uses `babel-plugin-react-docgen`/`react-docgen` for both JS PropTypes prop tables and, as of 6.0, TypeScript-driven props tables. - -#### Fully support React.FC - -The biggest known issue is https://github.com/reactjs/react-docgen/issues/387, which means that the following common pattern **DOESN'T WORK**: - -```tsx -import React, { FC } from 'react'; -interface IProps { ... }; -const MyComponent: FC = ({ ... }) => ... -``` - -The following workaround is needed: - -```tsx -const MyComponent: FC = ({ ... }: IProps) => ... -``` - -Please upvote https://github.com/reactjs/react-docgen/issues/387 if this is affecting your productivity, or better yet, submit a fix! - -#### Imported types - -Another major issue is support for imported types. - -```js -import React, { FC } from 'react'; -import SomeType from './someFile'; - -type NewType = SomeType & { foo: string }; -const MyComponent: FC = ... -``` - -This was also an issue in RDTL so it doesn't get worse with `react-docgen`. There's an open PR for this https://github.com/reactjs/react-docgen/pull/352 which you can upvote if it affects you. - -### Vue - -SB Docs for Vue uses `vue-docgen-loader`/`vue-docgen-api` for SFC and JSX components. - -### Angular - -SB Docs for Angular uses `compodoc` for prop table information. - -### Web components - -SB Docs for Web-components uses `custom-elements.json` for prop table information. - -### Ember - -SB Docs for Ember uses `yui-doc` for prop table information. +| Framework | Underlying library | Docs | Open issues | +| -------------- | ---------------------------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| React | `react-docgen` `react-docgen-typescript` | [Docs](../react/README.md#props-tables) | [Open issues](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22block%3A+props%22+label%3Abug+label%3A%22app%3A+react%22) | +| Vue | `vue-docgen-api` | [Docs](../vue/README.md#props-tables) | [Open issues](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22block%3A+props%22+label%3Abug+label%3A%22app%3A+vue%22) | +| Angular | `compodoc` | [Docs](../angular/README.md#props-tables) | [Open issues](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22block%3A+props%22+label%3Abug+label%3A%22app%3A+angular%22) | +| Web-components | `custom-elements.json` | [Docs](../web-components/README.md#props-tables) | [Open issues](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22block%3A+props%22+label%3Abug+label%3A%22app%3A+web-components%22) | +| Ember | `yui-doc` | [Docs](../ember/README.md#props-tables) | [Open issues](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22block%3A+props%22+label%3Abug+label%3A%22app%3A+ember%22) | ## More resources diff --git a/addons/docs/ember/README.md b/addons/docs/ember/README.md index 57185d961e5..e3be15651e1 100644 --- a/addons/docs/ember/README.md +++ b/addons/docs/ember/README.md @@ -8,6 +8,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m - [Installation](#installation) - [DocsPage](#docspage) +- [Props tables](#props-tables) - [MDX](#mdx) - [IFrame height](#iframe-height) - [More resources](#more-resources) @@ -32,7 +33,9 @@ module.exports = { When you [install docs](#installation) you should get basic [DocsPage](../docs/docspage.md) documentation automagically for all your stories, available in the `Docs` tab of the Storybook UI. -Props tables for your components requires a few more steps. Docs for Ember relies on [@storybook/ember-cli-storybook addon](https://github.com/storybookjs/ember-cli-storybook), to extract documentation comments from your component source files. If you're using Storybook with Ember, you should already have this addon installed, you will just need to enable it by adding the following config block in your `ember-cli-build.js` file: +## Props tables + +Getting [Props tables](../docs/props-tables.md) for your components requires a few more steps. Docs for Ember relies on [@storybook/ember-cli-storybook addon](https://github.com/storybookjs/ember-cli-storybook), to extract documentation comments from your component source files. If you're using Storybook with Ember, you should already have this addon installed, you will just need to enable it by adding the following config block in your `ember-cli-build.js` file: ```js let app = new EmberApp(defaults, { diff --git a/addons/docs/react/README.md b/addons/docs/react/README.md index a36862577cc..fc64be592f2 100644 --- a/addons/docs/react/README.md +++ b/addons/docs/react/README.md @@ -12,8 +12,10 @@ To learn more about Storybook Docs, read the [general documentation](../README.m - [Installation](#installation) - [DocsPage](#docspage) +- [Props tables](#props-tables) - [MDX](#mdx) -- [Inline Stories](#inline-stories) +- [Inline stories](#inline-stories) +- [TypeScript props with `react-docgen`](#typescript-props-with-react-docgen) - [More resources](#more-resources) ## Installation @@ -37,7 +39,9 @@ module.exports = { When you [install docs](#installation) you should get basic [DocsPage](../docs/docspage.md) documentation automagically for all your stories, available in the `Docs` tab of the Storybook UI. -To show the props table for your component, be sure to fill in the `component` field in your story metadata: +## Props tables + +Storybook Docs automatically generates [Props tables](../docs/props-tables.md) for your components based on either `PropTypes` or `TypeScript` types. To show the props table for your component, be sure to fill in the `component` field in your story metadata: ```ts import { Button } from './Button'; @@ -98,7 +102,7 @@ Some **markdown** description, or whatever you want. ``` -## Inline Stories +## Inline stories Storybook Docs renders all React stories inline on the page by default. If you want to render stories in an `iframe` so that they are better isolated. To do this, update `.storybook/preview.js`: @@ -112,6 +116,66 @@ addParameters({ }); ``` +## TypeScript props with `react-docgen` + +If you're using TypeScript, there are two different options for generating props: `react-docgen-typescript` (default) or `react-docgen`. + +You can add the following lines to your `.storybook/main.js` to switch between the two (or disable docgen): + +```js +module.exports = { + typescript: { + // also valid 'react-docgen-typescript' | false + reactDocgen: 'react-docgen', + }, +}; +``` + +Neither option is perfect, so here's everything you should know if you're thinking about using `react-docgen` for TypeScript. + +| | `react-docgen-typescript` | `react-docgen` | +| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| **Features** | **Great**. The analysis produces great results which gives the best props table experience. | **OK**. React-docgen produces basic results that are fine for most use cases. | +| **Performance** | **Slow**. It's doing a lot more work to produce those results, and may also have an inefficient implementation. | **Blazing fast**. Adding it to your project increases build time negligibly. | +| **Bugs** | **Many**. There are a lot of corner cases that are not handled properly, and are annoying for developers. | **Few**. But there's a dealbreaker, which is lack for imported types (see below). | +| **SB docs** | **Good**. Our prop tables have supported `react-docgen-typescript` results from the beginning, so it's relatively stable. | **OK**. There are some obvious improvements to fully support `react-docgen`, and they're coming soon. | + +**Performance** is a common question, so here are build times from a random project to quantify. Your mileage may vary: + +| Docgen | Build time | +| ----------------------- | ---------- | +| react-docgen-typescript | 59s | +| react-docgen | 29s | +| none | 28s | + +The biggest limitation of `react-docgen` is lack of support for imported types. What that means is that when a component uses a type defined in another file or package, `react-docgen` is unable to extract props information for that type. + +```tsx +import React, { FC } from 'react'; +import SomeType from './someFile'; + +type NewType = SomeType & { foo: string }; +const MyComponent: FC = ... +``` + +So in the previous example, `SomeType` would simply be ignored! There's an [open PR for this in the `react-docgen` repo](https://github.com/reactjs/react-docgen/pull/352) which you can upvote if it affects you. + +Another common pitfall when switching to `react-docgen` is [lack of support for `React.FC`](https://github.com/reactjs/react-docgen/issues/387). This means that the following common pattern **DOESN'T WORK**: + +```tsx +import React, { FC } from 'react'; +interface IProps { ... }; +const MyComponent: FC = ({ ... }) => ... +``` + +Fortunately, the following workaround works: + +```tsx +const MyComponent: FC = ({ ... }: IProps) => ... +``` + +Please upvote [the issue](https://github.com/reactjs/react-docgen/issues/387) if this is affecting your productivity, or better yet, submit a fix! + ## More resources Want to learn more? Here are some more articles on Storybook Docs: diff --git a/addons/docs/vue/README.md b/addons/docs/vue/README.md index 6a2bfbf9f91..a14f3b920e3 100644 --- a/addons/docs/vue/README.md +++ b/addons/docs/vue/README.md @@ -13,6 +13,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m - [Installation](#installation) - [Preset options](#preset-options) - [DocsPage](#docspage) +- [Props tables](#props-tables) - [MDX](#mdx) - [Inline Stories](#inline-stories) - [More resources](#more-resources) @@ -62,7 +63,9 @@ The `vueDocgenOptions` is an object for configuring `vue-docgen-api`. See [`vue- When you [install docs](#installation) you should get basic [DocsPage](../docs/docspage.md) documentation automagically for all your stories, available in the `Docs` tab of the Storybook UI. -Props tables for your components requires a few more steps. Docs for Vue relies on [`vue-docgen-loader`](https://github.com/pocka/vue-docgen-loader). It supports `props`, `events`, and `slots` as first class prop types. +## Props tables + +Getting [Props tables](../docs/props-tables.md) for your components requires a few more steps. Docs for Vue relies on [`vue-docgen-loader`](https://github.com/pocka/vue-docgen-loader). It supports `props`, `events`, and `slots` as first class prop types. Finally, be sure to fill in the `component` field in your story metadata: diff --git a/addons/docs/web-components/README.md b/addons/docs/web-components/README.md index fdcb145b473..0f5cfb8c641 100644 --- a/addons/docs/web-components/README.md +++ b/addons/docs/web-components/README.md @@ -1,4 +1,9 @@ -# Storybook Docs for Web Components +

Storybook Docs for Web Components

+ +- [Installation](#installation) +- [Props tables](#props-tables) +- [Stories not inline](#stories-not-inline) +- [More resources](#more-resources) ## Installation @@ -22,9 +27,9 @@ }; ``` -### custom-elements.json +## Props tables -In order to get documentation for web-components you will need to have a [custom-elements.json](https://github.com/webcomponents/custom-elements-json) file. +In order to get [Props tables](..docs/../../docs/props-tables.md) documentation for web-components you will need to have a [custom-elements.json](https://github.com/webcomponents/custom-elements-json) file. You can hand write it or better generate it. Depending on the web components sugar you are choosing your milage may vary. @@ -44,7 +49,7 @@ To generate this file with Stencil, add `docs-vscode` to outputTargets in `stenc }, ``` -The file looks somewthing like this: +The file looks something like this: ```json { From bdd35c1c1f4fc100104efc5e7dfcf3c5d60be577 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sun, 24 May 2020 12:40:10 +0800 Subject: [PATCH 19/50] 5.3.19 changelog --- CHANGELOG.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34633519e5a..67d2980bbfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,31 @@ +## 5.3.19 (May 24, 2020) + +### Bug Fixes + +- UI: Fix search stories ([#10539](https://github.com/storybookjs/storybook/pull/10539)) + +### Security + +- Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873)) + ## 6.0.0-beta.13 (May 23, 2020) ### Bug Fixes -* Core: Fix ts/tsx resolution in the manager ([#10886](https://github.com/storybookjs/storybook/pull/10886)) -* Core: Fix typo in projectRoot node_modules detection ([#10848](https://github.com/storybookjs/storybook/pull/10848)) -* Addon-docs: Fix story inline rendering ([#10875](https://github.com/storybookjs/storybook/pull/10875)) -* Core: Fix CRA filter for built-in webpack settings ([#10861](https://github.com/storybookjs/storybook/pull/10861)) -* Addon-docs: Fix react forwardRefs with destructured props ([#10864](https://github.com/storybookjs/storybook/pull/10864)) +- Core: Fix ts/tsx resolution in the manager ([#10886](https://github.com/storybookjs/storybook/pull/10886)) +- Core: Fix typo in projectRoot node_modules detection ([#10848](https://github.com/storybookjs/storybook/pull/10848)) +- Addon-docs: Fix story inline rendering ([#10875](https://github.com/storybookjs/storybook/pull/10875)) +- Core: Fix CRA filter for built-in webpack settings ([#10861](https://github.com/storybookjs/storybook/pull/10861)) +- Addon-docs: Fix react forwardRefs with destructured props ([#10864](https://github.com/storybookjs/storybook/pull/10864)) ### Maintenance -* React: Upgrade preset-create-react-app in examples ([#10867](https://github.com/storybookjs/storybook/pull/10867)) -* Core: Close server when e2e test failed ([#10868](https://github.com/storybookjs/storybook/pull/10868)) +- React: Upgrade preset-create-react-app in examples ([#10867](https://github.com/storybookjs/storybook/pull/10867)) +- Core: Close server when e2e test failed ([#10868](https://github.com/storybookjs/storybook/pull/10868)) ### Dependency Upgrades -* Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873)) +- Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873)) ## 6.0.0-beta.12 (May 21, 2020) From 98ec36d11eb493a0fc802b75cebca02772376c3a Mon Sep 17 00:00:00 2001 From: tooppaaa Date: Sun, 24 May 2020 14:52:58 +0200 Subject: [PATCH 20/50] Core: fix yarn test command on windows --- scripts/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.js b/scripts/test.js index fd9313ac377..3b4f42c1368 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -174,7 +174,7 @@ selection ? '' : `--projects ${jestProjects.join(' ')}`; - const cmd = `node --max_old_space_size=4096 ${jest} ${projectsParam} ${extraParams}`; + const cmd = `cross-env NODE_OPTIONS=--max_old_space_size=4096 ${jest} ${projectsParam} ${extraParams}`; spawn(cmd); } From 5a357681830acc70c2065c6ee0996f3b3fde3513 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 11:18:54 +0800 Subject: [PATCH 21/50] Core: Update CSF loader to hoist/deprecate .story annotations --- .../stories/addon-a11y/base-button.stories.js | 8 ++--- lib/core/src/client/preview/loadCsf.ts | 33 ++++++++++++++++--- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/examples/official-storybook/stories/addon-a11y/base-button.stories.js b/examples/official-storybook/stories/addon-a11y/base-button.stories.js index 64f1aded15c..ff3dd0145b2 100644 --- a/examples/official-storybook/stories/addon-a11y/base-button.stories.js +++ b/examples/official-storybook/stories/addon-a11y/base-button.stories.js @@ -20,15 +20,11 @@ export const InvalidContrast = () => ( // FIXME: has no effect on score ); -InvalidContrast.story = { - name: 'Invalid contrast', -}; +InvalidContrast.storyName = 'Invalid contrast'; export const delayedRender = () => ( ); -delayedRender.story = { - name: 'delayed render', -}; +delayedRender.storyName = 'delayed render'; diff --git a/lib/core/src/client/preview/loadCsf.ts b/lib/core/src/client/preview/loadCsf.ts index 357a7569d79..0bfdc86f5f6 100644 --- a/lib/core/src/client/preview/loadCsf.ts +++ b/lib/core/src/client/preview/loadCsf.ts @@ -2,6 +2,7 @@ import { ConfigApi, ClientApi, StoryStore } from '@storybook/client-api'; import { isExportStory, storyNameFromExport, toId } from '@storybook/csf'; import { logger } from '@storybook/client-logger'; import dedent from 'ts-dedent'; +import deprecate from 'util-deprecate'; import { Loadable, LoaderFunction, RequireContext } from './types'; @@ -117,8 +118,10 @@ const loadStories = ( const storyExports = Object.keys(exports); if (storyExports.length === 0) { logger.warn( - dedent`Found a story file for "${kindName}" but no exported stories. - Check the docs for reference: https://storybook.js.org/docs/formats/component-story-format/` + dedent` + Found a story file for "${kindName}" but no exported stories. + Check the docs for reference: https://storybook.js.org/docs/formats/component-story-format/ + ` ); return; } @@ -126,7 +129,29 @@ const loadStories = ( storyExports.forEach((key) => { if (isExportStory(key, meta)) { const storyFn = exports[key]; - const { name, parameters, decorators, args, argTypes } = storyFn.story || {}; + const { story } = storyFn; + if (story) { + deprecate( + () => {}, + dedent` + CSF .story annotations deprecated; annotate story functions directly: + - StoryFn.story.name => StoryFn.storyName + - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) + See https://github.com/storybookjs/storybook/issues/10906 for details and codemod. + ` + )(); + } + + // storyFn.x takes precedence over storyFn.story.x, but + // mixtures are supported + const { + storyName = story?.name, + parameters = story?.parameters, + decorators = story?.decorators, + args = story?.args, + argTypes = story?.argTypes, + } = storyFn; + const decoratorParams = decorators ? { decorators } : null; const exportName = storyNameFromExport(key); const idParams = { __id: toId(componentId || kindName, exportName) }; @@ -138,7 +163,7 @@ const loadStories = ( args, argTypes, }; - kind.add(name || exportName, storyFn, storyParams); + kind.add(storyName || exportName, storyFn, storyParams); } }); }); From b1deaa91c5bb4844c36bad730e3bfda22d2c254a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 13:24:57 +0800 Subject: [PATCH 22/50] CSF: Codemod to upgrade stories to hoisted annotations --- .../basic.input.js | 25 +++++ .../basic.output.snapshot | 27 ++++++ .../overrides.input.js | 25 +++++ .../overrides.output.snapshot | 28 ++++++ .../transforms/csf-hoist-story-annotations.js | 95 +++++++++++++++++++ 5 files changed, 200 insertions(+) create mode 100644 lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/basic.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/basic.output.snapshot create mode 100644 lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/overrides.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/overrides.output.snapshot create mode 100644 lib/codemod/src/transforms/csf-hoist-story-annotations.js diff --git a/lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/basic.input.js b/lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/basic.input.js new file mode 100644 index 00000000000..7a8a3eaa071 --- /dev/null +++ b/lib/codemod/src/transforms/__testfixtures__/csf-hoist-story-annotations/basic.input.js @@ -0,0 +1,25 @@ +import React from 'react'; +import Button from './Button'; +import { action } from '@storybook/addon-actions'; + +export default { + title: 'Button', +}; + +export const story1 = () => ); -withSomeEmoji.story = { - name: 'with some emoji', -}; +withSomeEmoji.storyName = 'with some emoji'; diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js b/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js index df42de0bc96..c1ffd1fbe5c 100644 --- a/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js +++ b/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js @@ -13,6 +13,4 @@ export default { export const toStorybook = () => ; -toStorybook.story = { - name: 'to Storybook', -}; +toStorybook.storyName = 'to Storybook'; diff --git a/examples/cra-kitchen-sink/src/stories/App.stories.js b/examples/cra-kitchen-sink/src/stories/App.stories.js index 2f773b4b223..211c774d1cb 100644 --- a/examples/cra-kitchen-sink/src/stories/App.stories.js +++ b/examples/cra-kitchen-sink/src/stories/App.stories.js @@ -10,6 +10,4 @@ export default { export const FullApp = () => ; -FullApp.story = { - name: 'full app', -}; +FullApp.storyName = 'full app'; diff --git a/examples/cra-kitchen-sink/src/stories/button.stories.js b/examples/cra-kitchen-sink/src/stories/button.stories.js index d4045dc185b..f1e3145ef49 100644 --- a/examples/cra-kitchen-sink/src/stories/button.stories.js +++ b/examples/cra-kitchen-sink/src/stories/button.stories.js @@ -8,11 +8,10 @@ export default { }; export const Story1 = () => ; -Story1.story = { - name: 'with text', - parameters: { - options: { selectedPanel: 'storybook/actions/panel' }, - }, +Story1.storyName = 'with text'; + +Story1.parameters = { + options: { selectedPanel: 'storybook/actions/panel' }, }; export const Story2 = () => ( @@ -22,9 +21,8 @@ export const Story2 = () => ( ); -Story2.story = { - name: 'with some emoji', - parameters: { - options: { selectedPanel: 'storybook/actions/panel' }, - }, +Story2.storyName = 'with some emoji'; + +Story2.parameters = { + options: { selectedPanel: 'storybook/actions/panel' }, }; diff --git a/examples/cra-kitchen-sink/src/stories/long-description.stories.js b/examples/cra-kitchen-sink/src/stories/long-description.stories.js index 3d5438a3b9d..d456dfd3810 100644 --- a/examples/cra-kitchen-sink/src/stories/long-description.stories.js +++ b/examples/cra-kitchen-sink/src/stories/long-description.stories.js @@ -7,4 +7,4 @@ export default { }; export const Story1 = () => ; -Story1.story = { name: 'with text' }; +Story1.storyName = 'with text'; diff --git a/examples/cra-react15/src/stories/button.stories.js b/examples/cra-react15/src/stories/button.stories.js index 1b35a0e35f1..49cb4cabd47 100644 --- a/examples/cra-react15/src/stories/button.stories.js +++ b/examples/cra-react15/src/stories/button.stories.js @@ -10,7 +10,7 @@ export default { }; export const Story1 = () => ; -Story1.story = { name: 'with text' }; +Story1.storyName = 'with text'; export const Story2 = () => ( ); -Story2.story = { name: 'with some emoji' }; +Story2.storyName = 'with some emoji'; diff --git a/examples/ember-cli/stories/addon-a11y.stories.js b/examples/ember-cli/stories/addon-a11y.stories.js index e09bf7c19b1..5ef46b92224 100644 --- a/examples/ember-cli/stories/addon-a11y.stories.js +++ b/examples/ember-cli/stories/addon-a11y.stories.js @@ -15,6 +15,4 @@ export const Disabled = () => hbs``; -InvalidContrast.story = { - name: 'Invalid contrast', -}; +InvalidContrast.storyName = 'Invalid contrast'; diff --git a/examples/ember-cli/stories/addon-backgrounds.stories.js b/examples/ember-cli/stories/addon-backgrounds.stories.js index 99c2f23f97d..70ea6f30c4c 100644 --- a/examples/ember-cli/stories/addon-backgrounds.stories.js +++ b/examples/ember-cli/stories/addon-backgrounds.stories.js @@ -18,14 +18,10 @@ export const Story1 = () => ({ template: hbs``, }); -Story1.story = { - name: 'story 1', -}; +Story1.storyName = 'story 1'; export const Story2 = () => ({ template: hbs``, }); -Story2.story = { - name: 'story 2', -}; +Story2.storyName = 'story 2'; diff --git a/examples/ember-cli/stories/addon-knobs.stories.js b/examples/ember-cli/stories/addon-knobs.stories.js index 662974eb20a..29c9e12b595 100644 --- a/examples/ember-cli/stories/addon-knobs.stories.js +++ b/examples/ember-cli/stories/addon-knobs.stories.js @@ -34,6 +34,4 @@ export const WithText = () => ({ }, }); -WithText.story = { - name: 'with text', -}; +WithText.storyName = 'with text'; diff --git a/examples/ember-cli/stories/addon-links.stories.js b/examples/ember-cli/stories/addon-links.stories.js index 65135dca4af..11c4ca811a0 100644 --- a/examples/ember-cli/stories/addon-links.stories.js +++ b/examples/ember-cli/stories/addon-links.stories.js @@ -12,6 +12,4 @@ export const GoToWelcome = () => ({ }, }); -GoToWelcome.story = { - name: 'Go to welcome', -}; +GoToWelcome.storyName = 'Go to welcome'; diff --git a/examples/html-kitchen-sink/stories/addon-a11y.stories.js b/examples/html-kitchen-sink/stories/addon-a11y.stories.js index 2e28d26daf7..781ab23595a 100644 --- a/examples/html-kitchen-sink/stories/addon-a11y.stories.js +++ b/examples/html-kitchen-sink/stories/addon-a11y.stories.js @@ -14,7 +14,7 @@ export const Label = () => ``; export const Disabled = () => ``; export const Story4 = () => ``; -Story4.story = { name: 'Invalid contrast' }; +Story4.storyName = 'Invalid contrast'; export const Story5 = () => { const div = document.createElement('div'); @@ -23,4 +23,4 @@ export const Story5 = () => { }, 1000); return div; }; -Story5.story = { name: 'Delayed render' }; +Story5.storyName = 'Delayed render'; diff --git a/examples/html-kitchen-sink/stories/addon-actions.stories.js b/examples/html-kitchen-sink/stories/addon-actions.stories.js index e30ed8c27bc..1ed26062f38 100644 --- a/examples/html-kitchen-sink/stories/addon-actions.stories.js +++ b/examples/html-kitchen-sink/stories/addon-actions.stories.js @@ -7,42 +7,38 @@ export default { }; export const Story1 = buttonStory(); -Story1.story = { - name: 'Hello World', - parameters: { - actions: { - handles: ['click'], - }, +Story1.storyName = 'Hello World'; + +Story1.parameters = { + actions: { + handles: ['click'], }, }; export const Story2 = buttonStory(); -Story2.story = { - name: 'Multiple actions', - parameters: { - actions: { - handles: ['click', 'contextmenu'], - }, +Story2.storyName = 'Multiple actions'; + +Story2.parameters = { + actions: { + handles: ['click', 'contextmenu'], }, }; export const Story3 = buttonStory(); -Story3.story = { - name: 'Multiple actions + config', - parameters: { - actions: { - handles: ['click', 'contextmenu', { clearOnStoryChange: false }], - }, +Story3.storyName = 'Multiple actions + config'; + +Story3.parameters = { + actions: { + handles: ['click', 'contextmenu', { clearOnStoryChange: false }], }, }; export const Story4 = buttonStory(); -Story4.story = { - name: 'Multiple actions, object', - parameters: { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }], - }, +Story4.storyName = 'Multiple actions, object'; + +Story4.parameters = { + actions: { + handles: [{ click: 'clicked', contextmenu: 'right clicked' }], }, }; @@ -51,45 +47,39 @@ export const Story5 = () => ` Clicks on this button will be logged: `; -Story5.story = { - name: 'Multiple actions, selector', - parameters: { - actions: { - handles: [{ 'click .btn': 'clicked', contextmenu: 'right clicked' }], - }, +Story5.storyName = 'Multiple actions, selector'; + +Story5.parameters = { + actions: { + handles: [{ 'click .btn': 'clicked', contextmenu: 'right clicked' }], }, }; export const Story6 = buttonStory(); -Story6.story = { - name: 'Multiple actions, object + config', - parameters: { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }, { clearOnStoryChange: false }], - }, +Story6.storyName = 'Multiple actions, object + config'; + +Story6.parameters = { + actions: { + handles: [{ click: 'clicked', contextmenu: 'right clicked' }, { clearOnStoryChange: false }], }, }; export const DeprecatedDecoratorsStory1 = buttonStory(); -DeprecatedDecoratorsStory1.story = { - name: 'Deprecated decorators - Single action', - decorators: [withActions('click')], -}; +DeprecatedDecoratorsStory1.storyName = 'Deprecated decorators - Single action'; +DeprecatedDecoratorsStory1.decorators = [withActions('click')]; export const DeprecatedDecoratorsStory2 = buttonStory(); -DeprecatedDecoratorsStory2.story = { - name: 'Deprecated decorators - Multiple actions', - decorators: [withActions('click', 'contextmenu')], -}; +DeprecatedDecoratorsStory2.storyName = 'Deprecated decorators - Multiple actions'; +DeprecatedDecoratorsStory2.decorators = [withActions('click', 'contextmenu')]; export const DeprecatedDecoratorsStory3 = buttonStory(); -DeprecatedDecoratorsStory3.story = { - name: 'Deprecated decorators - Multiple actions + config', - decorators: [withActions('click', 'contextmenu', { clearOnStoryChange: false })], -}; +DeprecatedDecoratorsStory3.storyName = 'Deprecated decorators - Multiple actions + config'; +DeprecatedDecoratorsStory3.decorators = [ + withActions('click', 'contextmenu', { clearOnStoryChange: false }), +]; export const DeprecatedDecoratorsStory4 = buttonStory(); -DeprecatedDecoratorsStory4.story = { - name: 'Deprecated decorators - Multiple actions, object', - decorators: [withActions({ click: 'clicked', contextmenu: 'right clicked' })], -}; +DeprecatedDecoratorsStory4.storyName = 'Deprecated decorators - Multiple actions, object'; +DeprecatedDecoratorsStory4.decorators = [ + withActions({ click: 'clicked', contextmenu: 'right clicked' }), +]; diff --git a/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js b/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js index 534e8dd553c..91b21d9d6c1 100644 --- a/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js +++ b/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js @@ -13,7 +13,7 @@ export default { export const Story1 = () => 'You should be able to switch backgrounds for this story'; -Story1.story = { name: 'story 1' }; +Story1.storyName = 'story 1'; export const Story2 = () => 'This one too!'; -Story2.story = { name: 'story 2' }; +Story2.storyName = 'story 2'; diff --git a/examples/html-kitchen-sink/stories/addon-knobs.stories.js b/examples/html-kitchen-sink/stories/addon-knobs.stories.js index 59d29c4393d..fa02754df05 100644 --- a/examples/html-kitchen-sink/stories/addon-knobs.stories.js +++ b/examples/html-kitchen-sink/stories/addon-knobs.stories.js @@ -42,7 +42,7 @@ export const Story3 = () => { cachedContainer.style.color = textColor; return cachedContainer; }; -Story3.story = { name: 'CSS transitions' }; +Story3.storyName = 'CSS transitions'; export const Story4 = () => { const name = text('Name', 'Jane'); @@ -85,7 +85,7 @@ export const Story4 = () => { `; }; -Story4.story = { name: 'All knobs' }; +Story4.storyName = 'All knobs'; export const Story5 = () => text('Rendered string', ''); -Story5.story = { name: 'XSS safety' }; +Story5.storyName = 'XSS safety'; diff --git a/examples/html-kitchen-sink/stories/source-loader.stories.js b/examples/html-kitchen-sink/stories/source-loader.stories.js index 719618c0aa6..f1170d8293b 100644 --- a/examples/html-kitchen-sink/stories/source-loader.stories.js +++ b/examples/html-kitchen-sink/stories/source-loader.stories.js @@ -11,11 +11,9 @@ export default { }; export const Button = () => button; -Button.story = { - parameters: { - storySource: { - source: `source: ${button}`, - }, +Button.parameters = { + storySource: { + source: `source: ${button}`, }, }; @@ -25,6 +23,4 @@ export const SimpleStory = () => This is a fragment of HTML

`; -SimpleStory.story = { - name: 'Very simple story', -}; +SimpleStory.storyName = 'Very simple story'; diff --git a/examples/mithril-kitchen-sink/src/stories/addon-actions.stories.js b/examples/mithril-kitchen-sink/src/stories/addon-actions.stories.js index 08272345ffe..32970a6e5b6 100644 --- a/examples/mithril-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/addon-actions.stories.js @@ -11,14 +11,14 @@ export default { export const Story1 = () => ({ view: () => , }); -Story1.story = { name: 'Action only' }; +Story1.storyName = 'Action only'; export const Story2 = () => ({ view: () => ( ), }); -Story2.story = { name: 'Multiple actions' }; +Story2.storyName = 'Multiple actions'; export const Story3 = () => ({ view: () => ( @@ -27,7 +27,7 @@ export const Story3 = () => ({ ), }); -Story3.story = { name: 'Multiple actions, object' }; +Story3.storyName = 'Multiple actions, object'; export const Story4 = () => ({ view: () => ( @@ -41,4 +41,4 @@ export const Story4 = () => ({ ), }); -Story4.story = { name: 'Action and method' }; +Story4.storyName = 'Action and method'; diff --git a/examples/mithril-kitchen-sink/src/stories/addon-backgrounds.stories.js b/examples/mithril-kitchen-sink/src/stories/addon-backgrounds.stories.js index e8dc6aa7dc4..c3266da180b 100644 --- a/examples/mithril-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/addon-backgrounds.stories.js @@ -19,9 +19,9 @@ export default { export const Story1 = () => ({ view: () => , }); -Story1.story = { name: 'story 1' }; +Story1.storyName = 'story 1'; export const Story2 = () => ({ view: () => , }); -Story2.story = { name: 'story 2' }; +Story2.storyName = 'story 2'; diff --git a/examples/mithril-kitchen-sink/src/stories/addon-knobs.stories.js b/examples/mithril-kitchen-sink/src/stories/addon-knobs.stories.js index b93da61d8ff..4551f50da97 100644 --- a/examples/mithril-kitchen-sink/src/stories/addon-knobs.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/addon-knobs.stories.js @@ -75,9 +75,9 @@ export const Story2 = () => { ), }; }; -Story2.story = { name: 'All knobs' }; +Story2.storyName = 'All knobs'; export const Story3 = () => ({ view: () => text('Rendered string', ''), }); -Story3.story = { name: 'XSS safety' }; +Story3.storyName = 'XSS safety'; diff --git a/examples/mithril-kitchen-sink/src/stories/addon-links.stories.js b/examples/mithril-kitchen-sink/src/stories/addon-links.stories.js index ea20da6fa52..d75aaf9773b 100644 --- a/examples/mithril-kitchen-sink/src/stories/addon-links.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/addon-links.stories.js @@ -12,4 +12,4 @@ export default { export const Story1 = () => ({ view: () => , }); -Story1.story = { name: 'Go to welcome' }; +Story1.storyName = 'Go to welcome'; diff --git a/examples/mithril-kitchen-sink/src/stories/button.stories.js b/examples/mithril-kitchen-sink/src/stories/button.stories.js index 7831ab815ed..0da88220da7 100644 --- a/examples/mithril-kitchen-sink/src/stories/button.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/button.stories.js @@ -14,7 +14,7 @@ export default { export const Story1 = () => ({ view: () => m(Button, { onclick: action('clicked') }, 'Hello Button'), }); -Story1.story = { name: 'with text' }; +Story1.storyName = 'with text'; export const Story2 = () => ({ view: () => @@ -24,4 +24,4 @@ export const Story2 = () => ({ m('span', { role: 'img', ariaLabel: 'so cool' }, '😀 😎 👍 💯') ), }); -Story2.story = { name: 'with some emoji' }; +Story2.storyName = 'with some emoji'; diff --git a/examples/mithril-kitchen-sink/src/stories/welcome.stories.js b/examples/mithril-kitchen-sink/src/stories/welcome.stories.js index c30203e117c..2469dda9f7c 100644 --- a/examples/mithril-kitchen-sink/src/stories/welcome.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/welcome.stories.js @@ -10,4 +10,4 @@ export default { export const Story1 = () => ({ view: () => m(Welcome, { showApp: linkTo('Button') }), }); -Story1.story = { name: 'to Storybook' }; +Story1.storyName = 'to Storybook'; diff --git a/examples/official-storybook/stories/addon-a11y/button.stories.js b/examples/official-storybook/stories/addon-a11y/button.stories.js index a59bd7a4860..ba4521b7192 100644 --- a/examples/official-storybook/stories/addon-a11y/button.stories.js +++ b/examples/official-storybook/stories/addon-a11y/button.stories.js @@ -16,6 +16,4 @@ export const Content = () => ); -ArgTypesExample.story = { - argTypes: { - onClick: { action: 'clicked!' }, - onFocus: { action: true }, - }, +ArgTypesExample.argTypes = { + onClick: { action: 'clicked!' }, + onFocus: { action: true }, }; export const ArgTypesRegexExample = (args, context) => { @@ -35,24 +33,18 @@ export const ArgTypesRegexExample = (args, context) => { ); }; -ArgTypesRegexExample.story = { - parameters: { actions: { argTypesRegex: '^on.*' } }, - argTypes: { someFunction: {}, onClick: {}, onFocus: {} }, -}; +ArgTypesRegexExample.parameters = { actions: { argTypesRegex: '^on.*' } }; +ArgTypesRegexExample.argTypes = { someFunction: {}, onClick: {}, onFocus: {} }; export const BasicExample = () => ; -BasicExample.story = { - name: 'Basic example', -}; +BasicExample.storyName = 'Basic example'; export const MultipleActions = () => ( ); -MultipleActions.story = { - name: 'Multiple actions', -}; +MultipleActions.storyName = 'Multiple actions'; export const MultipleActionsConfig = () => ( ); -MultipleActionsConfig.story = { - name: 'Multiple actions + config', -}; +MultipleActionsConfig.storyName = 'Multiple actions + config'; export const MultipleActionsAsObject = () => ( ); -MultipleActionsAsObject.story = { - name: 'Multiple actions as object', -}; +MultipleActionsAsObject.storyName = 'Multiple actions as object'; export const MultipleActionsObjectConfig = () => ( ); -MultipleActionsObjectConfig.story = { - name: 'Multiple actions, object + config', -}; +MultipleActionsObjectConfig.storyName = 'Multiple actions, object + config'; export const CircularPayload = () => { const circular = { foo: {} }; @@ -90,15 +76,11 @@ export const CircularPayload = () => { return ; }; -CircularPayload.story = { - name: 'Circular Payload', -}; +CircularPayload.storyName = 'Circular Payload'; export const ReservedKeywordAsName = () => ; -ReservedKeywordAsName.story = { - name: 'Reserved keyword as name', -}; +ReservedKeywordAsName.storyName = 'Reserved keyword as name'; export const AllTypes = () => { function A() {} @@ -166,9 +148,7 @@ export const AllTypes = () => { ); }; -AllTypes.story = { - name: 'All types', -}; +AllTypes.storyName = 'All types'; export const ConfigureActionsDepth = () => { configureActions({ @@ -191,9 +171,7 @@ export const PersistingTheActionLogger = () => ( ); -PersistingTheActionLogger.story = { - name: 'Persisting the action logger', -}; +PersistingTheActionLogger.storyName = 'Persisting the action logger'; export const LimitActionOutput = () => { configureActions({ @@ -207,18 +185,14 @@ export const LimitActionOutput = () => { ); }; -LimitActionOutput.story = { - name: 'Limit Action Output', -}; +LimitActionOutput.storyName = 'Limit Action Output'; export const SkippedViaDisableTrue = () => ( ); -SkippedViaDisableTrue.story = { - name: 'skipped via disable:true', +SkippedViaDisableTrue.storyName = 'skipped via disable:true'; - parameters: { - actions: { disable: true }, - }, +SkippedViaDisableTrue.parameters = { + actions: { disable: true }, }; diff --git a/examples/official-storybook/stories/addon-backgrounds.stories.js b/examples/official-storybook/stories/addon-backgrounds.stories.js index 85ea790cffe..a2094875913 100644 --- a/examples/official-storybook/stories/addon-backgrounds.stories.js +++ b/examples/official-storybook/stories/addon-backgrounds.stories.js @@ -23,27 +23,21 @@ export const Story1 = () => ( ); -Story1.story = { - name: 'story 1', -}; +Story1.storyName = 'story 1'; export const Story2 = () => ; -Story2.story = { - name: 'story 2', -}; +Story2.storyName = 'story 2'; export const Overridden = () => ; -Overridden.story = { - parameters: { - backgrounds: { - default: 'blue', - values: [ - { name: 'pink', value: 'hotpink' }, - { name: 'blue', value: 'deepskyblue' }, - ], - }, +Overridden.parameters = { + backgrounds: { + default: 'blue', + values: [ + { name: 'pink', value: 'hotpink' }, + { name: 'blue', value: 'deepskyblue' }, + ], }, }; @@ -51,20 +45,16 @@ export const SkippedViaDisableTrue = () => ( ); -SkippedViaDisableTrue.story = { - name: 'skipped via disable: true', +SkippedViaDisableTrue.storyName = 'skipped via disable: true'; - parameters: { - backgrounds: { disable: true }, - }, +SkippedViaDisableTrue.parameters = { + backgrounds: { disable: true }, }; export const GridCellSize = () => ( ); -GridCellSize.story = { - parameters: { - grid: { cellSize: 10 }, - }, +GridCellSize.parameters = { + grid: { cellSize: 10 }, }; diff --git a/examples/official-storybook/stories/addon-cssresources.stories.js b/examples/official-storybook/stories/addon-cssresources.stories.js index e0e5b2f0d77..92d4ef7af59 100644 --- a/examples/official-storybook/stories/addon-cssresources.stories.js +++ b/examples/official-storybook/stories/addon-cssresources.stories.js @@ -9,45 +9,43 @@ export const PrimaryLargeButton = () => ( Primary Large Button ); -PrimaryLargeButton.story = { - name: 'Primary Large Button', - parameters: { - cssresources: [ - { - id: `bootstrap v4.1.3`, - code: ``, - picked: true, - }, - { - id: `bootstrap v3.3.5`, - code: ``, - picked: false, - }, - ], - options: { - selectedPanel: 'storybook/cssresources/panel', +PrimaryLargeButton.storyName = 'Primary Large Button'; + +PrimaryLargeButton.parameters = { + cssresources: [ + { + id: `bootstrap v4.1.3`, + code: ``, + picked: true, }, + { + id: `bootstrap v3.3.5`, + code: ``, + picked: false, + }, + ], + options: { + selectedPanel: 'storybook/cssresources/panel', }, }; export const CameraIcon = () => Camera Icon; -CameraIcon.story = { - name: 'Camera Icon', - parameters: { - cssresources: [ - { - id: `fontawesome`, - code: ``, - picked: true, - }, - { - id: `whitetheme`, - code: ``, - picked: false, - }, - ], - options: { - selectedPanel: 'storybook/cssresources/panel', +CameraIcon.storyName = 'Camera Icon'; + +CameraIcon.parameters = { + cssresources: [ + { + id: `fontawesome`, + code: ``, + picked: true, }, + { + id: `whitetheme`, + code: ``, + picked: false, + }, + ], + options: { + selectedPanel: 'storybook/cssresources/panel', }, }; diff --git a/examples/official-storybook/stories/addon-design-assets.stories.js b/examples/official-storybook/stories/addon-design-assets.stories.js index 6d858132d68..aeaab6f4324 100644 --- a/examples/official-storybook/stories/addon-design-assets.stories.js +++ b/examples/official-storybook/stories/addon-design-assets.stories.js @@ -12,76 +12,64 @@ export default { export const SingleImage = () =>
This story should a single image in the assets panel
; -SingleImage.story = { - name: 'single image', +SingleImage.storyName = 'single image'; - parameters: { - assets: ['https://via.placeholder.com/300/09f/fff.png'], - }, +SingleImage.parameters = { + assets: ['https://via.placeholder.com/300/09f/fff.png'], }; export const SingleWebpage = () =>
This story should a single image in the assets panel
; -SingleWebpage.story = { - name: 'single webpage', +SingleWebpage.storyName = 'single webpage'; - parameters: { - assets: ['https://www.example.com'], - }, +SingleWebpage.parameters = { + assets: ['https://www.example.com'], }; export const YoutubeVideo = () =>
This story should a single image in the assets panel
; -YoutubeVideo.story = { - name: 'youtube video', +YoutubeVideo.storyName = 'youtube video'; - parameters: { - assets: ['https://www.youtube.com/embed/p-LFh5Y89eM'], - }, +YoutubeVideo.parameters = { + assets: ['https://www.youtube.com/embed/p-LFh5Y89eM'], }; export const MultipleImages = () => (
This story should a multiple images in the assets panel
); -MultipleImages.story = { - name: 'multiple images', +MultipleImages.storyName = 'multiple images'; - parameters: { - assets: [ - 'https://via.placeholder.com/600/09f/fff.png', - 'https://via.placeholder.com/600/f90/fff.png', - ], - }, +MultipleImages.parameters = { + assets: [ + 'https://via.placeholder.com/600/09f/fff.png', + 'https://via.placeholder.com/600/f90/fff.png', + ], }; export const NamedAssets = () =>
This story should a single image in the assets panel
; -NamedAssets.story = { - name: 'named assets', +NamedAssets.storyName = 'named assets'; - parameters: { - assets: [ - { - name: 'blue', - url: 'https://via.placeholder.com/300/09f/fff.png', - }, - { - name: 'orange', - url: 'https://via.placeholder.com/300/f90/fff.png', - }, - ], - }, +NamedAssets.parameters = { + assets: [ + { + name: 'blue', + url: 'https://via.placeholder.com/300/09f/fff.png', + }, + { + name: 'orange', + url: 'https://via.placeholder.com/300/f90/fff.png', + }, + ], }; export const UrlReplacement = () => (
This story should have a webpge, with within it's url the storyId
); -UrlReplacement.story = { - name: 'url replacement', +UrlReplacement.storyName = 'url replacement'; - parameters: { - assets: ['https://via.placeholder.com/600.png?text={id}'], - }, +UrlReplacement.parameters = { + assets: ['https://via.placeholder.com/600.png?text={id}'], }; diff --git a/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js b/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js index 2d493c35544..83c0a562656 100644 --- a/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js +++ b/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js @@ -33,71 +33,63 @@ export default { export const defDocsPage = () =>
Default docs page
; export const smallDocsPage = () =>
Just primary story,
; -smallDocsPage.story = { - parameters: { - docs: { - page: () => ( - <> - - <Primary /> - </> - ), - }, + +smallDocsPage.parameters = { + docs: { + page: () => ( + <> + <Title /> + <Primary /> + </> + ), }, }; export const checkBoxProps = () => <div>Primary props displayed with a check box </div>; -checkBoxProps.story = { - parameters: { - docs: { - page: () => { - const [showProps, setShowProps] = React.useState(false); - return ( - <> - <Title /> - <Subtitle /> - <Description /> - <Primary /> - <label> - <input - type="checkbox" - checked={showProps} - onChange={() => setShowProps(!showProps)} - /> - <span>display props</span> - </label> - {showProps && <Props />} - </> - ); - }, + +checkBoxProps.parameters = { + docs: { + page: () => { + const [showProps, setShowProps] = React.useState(false); + return ( + <> + <Title /> + <Subtitle /> + <Description /> + <Primary /> + <label> + <input type="checkbox" checked={showProps} onChange={() => setShowProps(!showProps)} /> + <span>display props</span> + </label> + {showProps && <Props />} + </> + ); }, }, }; export const customLabels = () => <div>Display custom title, Subtitle, Description</div>; -customLabels.story = { - parameters: { - docs: { - page: () => ( - <> - <Title>Custom title - Custom sub title - Custom description - - - - - ), - }, + +customLabels.parameters = { + docs: { + page: () => ( + <> + Custom title + Custom sub title + Custom description + + + + + ), }, }; export const customStoriesFilter = () =>
Displays ALL stories (not excluding first one)
; -customStoriesFilter.story = { - parameters: { - docs: { - page: () => , - }, + +customStoriesFilter.parameters = { + docs: { + page: () => , }, }; @@ -109,52 +101,51 @@ export const multipleComponents = () => ( ); -multipleComponents.story = { - name: 'Many Components', - parameters: { - component: ButtonGroup, - subcomponents: { - SubGroup, - 'Docgen Button': DocgenButton, - 'Base Button': BaseButton, - }, - docs: { - page: () => ( - <> - - <Subtitle /> - <Description /> - <Primary name="Many Components" /> - <Props /> - </> - ), - }, +multipleComponents.storyName = 'Many Components'; + +multipleComponents.parameters = { + component: ButtonGroup, + subcomponents: { + SubGroup, + 'Docgen Button': DocgenButton, + 'Base Button': BaseButton, + }, + docs: { + page: () => ( + <> + <Title /> + <Subtitle /> + <Description /> + <Primary name="Many Components" /> + <Props /> + </> + ), }, }; export const componentsProps = () => <div>Display multiple prop tables in tabs</div>; -componentsProps.story = { - subcomponents: { - 'Docgen Button': DocgenButton, - 'Base Button': BaseButton, - }, - parameters: { - docs: { - page: () => ( - <> - <Title>Multiple prop tables - - Here's what happens when your component has some related components - - - - ), - }, + +componentsProps.subcomponents = { + 'Docgen Button': DocgenButton, + 'Base Button': BaseButton, +}; + +componentsProps.parameters = { + docs: { + page: () => ( + <> + Multiple prop tables + + Here's what happens when your component has some related components + + + + ), }, }; diff --git a/examples/official-storybook/stories/addon-docs/addon-docs.stories.js b/examples/official-storybook/stories/addon-docs/addon-docs.stories.js index 7b6da83843c..b559a7a94fd 100644 --- a/examples/official-storybook/stories/addon-docs/addon-docs.stories.js +++ b/examples/official-storybook/stories/addon-docs/addon-docs.stories.js @@ -13,46 +13,38 @@ export default { export const Basic = () =>
Click docs tab to see basic docs
; export const NoDocs = () =>
Click docs tab to see no docs error
; -NoDocs.story = { - name: 'no docs', - parameters: { docs: { page: null } }, -}; +NoDocs.storyName = 'no docs'; +NoDocs.parameters = { docs: { page: null } }; export const WithNotes = () =>
Click docs tab to see DocsPage docs
; -WithNotes.story = { - name: 'with notes', - parameters: { notes }, -}; +WithNotes.storyName = 'with notes'; +WithNotes.parameters = { notes }; export const WithInfo = () =>
Click docs tab to see DocsPage docs
; -WithInfo.story = { - name: 'with info', - parameters: { - info: 'some user info string', - }, +WithInfo.storyName = 'with info'; + +WithInfo.parameters = { + info: 'some user info string', }; export const MdxOverride = () =>
Click docs tab to see MDX-overridden docs
; -MdxOverride.story = { - name: 'mdx override', - parameters: { - docs: { page: mdxNotes }, - }, +MdxOverride.storyName = 'mdx override'; + +MdxOverride.parameters = { + docs: { page: mdxNotes }, }; export const JsxOverride = () =>
Click docs tab to see JSX-overridden docs
; -JsxOverride.story = { - name: 'jsx override', - parameters: { - docs: { page: () =>
Hello docs
}, - }, +JsxOverride.storyName = 'jsx override'; + +JsxOverride.parameters = { + docs: { page: () =>
Hello docs
}, }; export const DocsDisable = () =>
This story shouldn't show up in DocsPage
; -DocsDisable.story = { - parameters: { - docs: { disable: true }, - }, + +DocsDisable.parameters = { + docs: { disable: true }, }; export const LargerThanPreview = () =>
HUGE
; diff --git a/examples/official-storybook/stories/addon-docs/forward-ref.stories.js b/examples/official-storybook/stories/addon-docs/forward-ref.stories.js index 579651ea0e8..414de40982f 100644 --- a/examples/official-storybook/stories/addon-docs/forward-ref.stories.js +++ b/examples/official-storybook/stories/addon-docs/forward-ref.stories.js @@ -11,13 +11,12 @@ const ForwardedButton = React.forwardRef((props = { label: '' }, ref) => ( )); export const DisplaysCorrectly = () => ; -DisplaysCorrectly.story = { name: 'Displays forwarded ref components correctly (default props)' }; +DisplaysCorrectly.storyName = 'Displays forwarded ref components correctly (default props)'; // eslint-disable-next-line react/prop-types const ForwardedDestructuredButton = React.forwardRef(({ label = '', ...props }, ref) => ( )); export const AlsoDisplaysCorrectly = () => ; -AlsoDisplaysCorrectly.story = { - name: 'Displays forwarded ref components correctly (destructured props)', -}; +AlsoDisplaysCorrectly.storyName = + 'Displays forwarded ref components correctly (destructured props)'; diff --git a/examples/official-storybook/stories/addon-docs/react-memo.stories.js b/examples/official-storybook/stories/addon-docs/react-memo.stories.js index b6068770876..8791eb02c32 100644 --- a/examples/official-storybook/stories/addon-docs/react-memo.stories.js +++ b/examples/official-storybook/stories/addon-docs/react-memo.stories.js @@ -10,4 +10,4 @@ export default { }; export const displaysCorrectly = () => ; -displaysCorrectly.story = { name: 'Displays components with memo correctly' }; +displaysCorrectly.storyName = 'Displays components with memo correctly'; diff --git a/examples/official-storybook/stories/addon-events.stories.js b/examples/official-storybook/stories/addon-events.stories.js index fb650d455e2..01d46ac5e83 100644 --- a/examples/official-storybook/stories/addon-events.stories.js +++ b/examples/official-storybook/stories/addon-events.stories.js @@ -77,6 +77,4 @@ export default { }; export const logger = () => ; -logger.story = { - name: 'Logger', -}; +logger.storyName = 'Logger'; diff --git a/examples/official-storybook/stories/addon-graphql.stories.js b/examples/official-storybook/stories/addon-graphql.stories.js index e33908de1ad..52e7465f8c0 100644 --- a/examples/official-storybook/stories/addon-graphql.stories.js +++ b/examples/official-storybook/stories/addon-graphql.stories.js @@ -11,41 +11,40 @@ export default { export const GetPikachu = () =>
hello
; -GetPikachu.story = { - name: 'get Pikachu', - parameters: { - graphiql: { - query: `{ - pokemon(name: "Pikachu") { +GetPikachu.storyName = 'get Pikachu'; + +GetPikachu.parameters = { + graphiql: { + query: `{ + pokemon(name: "Pikachu") { + id + number + name + attacks { + special { + name + type + damage + } + } + evolutions { id number name + weight { + minimum + maximum + } attacks { - special { + fast { name type damage } } - evolutions { - id - number - name - weight { - minimum - maximum - } - attacks { - fast { - name - type - damage - } - } - } } - }`, - url: 'https://graphql-pokemon.now.sh/?', - }, + } + }`, + url: 'https://graphql-pokemon.now.sh/?', }, }; diff --git a/examples/official-storybook/stories/addon-jest.stories.js b/examples/official-storybook/stories/addon-jest.stories.js index e488a6e6f75..5fd60e1b87c 100644 --- a/examples/official-storybook/stories/addon-jest.stories.js +++ b/examples/official-storybook/stories/addon-jest.stories.js @@ -9,6 +9,4 @@ export default { }; export const WithTests = () =>

Hello

; -WithTests.story = { - parameters: { jest: 'addon-jest' }, -}; +WithTests.parameters = { jest: 'addon-jest' }; diff --git a/examples/official-storybook/stories/addon-knobs/with-knobs-decorators.stories.js b/examples/official-storybook/stories/addon-knobs/with-knobs-decorators.stories.js index 99116a51a15..86bfa4c795a 100644 --- a/examples/official-storybook/stories/addon-knobs/with-knobs-decorators.stories.js +++ b/examples/official-storybook/stories/addon-knobs/with-knobs-decorators.stories.js @@ -7,12 +7,10 @@ export default { export const WithDecoratorCallingStoryFunctionMoreThanOnce = () => { return text('Text', 'Hello'); }; -WithDecoratorCallingStoryFunctionMoreThanOnce.story = { - decorators: [ - withKnobs, - (storyFn) => { - storyFn(); - return storyFn(); - }, - ], -}; +WithDecoratorCallingStoryFunctionMoreThanOnce.decorators = [ + withKnobs, + (storyFn) => { + storyFn(); + return storyFn(); + }, +]; diff --git a/examples/official-storybook/stories/addon-knobs/with-knobs-options.stories.js b/examples/official-storybook/stories/addon-knobs/with-knobs-options.stories.js index df29629444b..5e14440af82 100644 --- a/examples/official-storybook/stories/addon-knobs/with-knobs-options.stories.js +++ b/examples/official-storybook/stories/addon-knobs/with-knobs-options.stories.js @@ -11,6 +11,4 @@ export default { }; export const AcceptsOptions = () =>
{text('Rendered string', '

Hello

')}
; -AcceptsOptions.story = { - name: 'accepts options', -}; +AcceptsOptions.storyName = 'accepts options'; diff --git a/examples/official-storybook/stories/addon-knobs/with-knobs.stories.js b/examples/official-storybook/stories/addon-knobs/with-knobs.stories.js index 8593106903b..123549a7d89 100644 --- a/examples/official-storybook/stories/addon-knobs/with-knobs.stories.js +++ b/examples/official-storybook/stories/addon-knobs/with-knobs.stories.js @@ -125,9 +125,7 @@ export const TweaksStaticValues = () => { ); }; -TweaksStaticValues.story = { - name: 'tweaks static values', -}; +TweaksStaticValues.storyName = 'tweaks static values'; export const TweaksStaticValuesOrganizedInGroups = () => { const GROUP_IDS = { @@ -212,9 +210,7 @@ export const TweaksStaticValuesOrganizedInGroups = () => { ); }; -TweaksStaticValuesOrganizedInGroups.story = { - name: 'tweaks static values organized in groups', -}; +TweaksStaticValuesOrganizedInGroups.storyName = 'tweaks static values organized in groups'; export const DynamicKnobs = () => { const showOptional = select('Show optional', ['yes', 'no'], 'yes'); @@ -225,9 +221,7 @@ export const DynamicKnobs = () => { ); }; -DynamicKnobs.story = { - name: 'dynamic knobs', -}; +DynamicKnobs.storyName = 'dynamic knobs'; export const ComplexSelect = () => { const m = select( @@ -249,9 +243,7 @@ export const ComplexSelect = () => { ); }; -ComplexSelect.story = { - name: 'complex select', -}; +ComplexSelect.storyName = 'complex select'; export const OptionsKnob = () => { const valuesRadio = { @@ -352,9 +344,7 @@ export const TriggersActionsViaButton = () => { ); }; -TriggersActionsViaButton.story = { - name: 'triggers actions via button', -}; +TriggersActionsViaButton.storyName = 'triggers actions via button'; export const ButtonWithReactUseState = () => { const [counter, setCounter] = React.useState(0); @@ -371,20 +361,16 @@ export const XssSafety = () => ( }} /> ); -XssSafety.story = { - name: 'XSS safety', -}; +XssSafety.storyName = 'XSS safety'; export const AcceptsStoryParameters = () =>
{text('Rendered string', '

Hello

')}
; -AcceptsStoryParameters.story = { - name: 'accepts story parameters', +AcceptsStoryParameters.storyName = 'accepts story parameters'; - parameters: { - knobs: { escapeHTML: false }, - }, +AcceptsStoryParameters.parameters = { + knobs: { escapeHTML: false }, }; export const WithDuplicateDecorator = () => { return text('Text', 'Hello'); }; -WithDuplicateDecorator.story = { decorators: [withKnobs] }; +WithDuplicateDecorator.decorators = [withKnobs]; diff --git a/examples/official-storybook/stories/addon-links/href.stories.js b/examples/official-storybook/stories/addon-links/href.stories.js index 871da72770b..354a98588d2 100644 --- a/examples/official-storybook/stories/addon-links/href.stories.js +++ b/examples/official-storybook/stories/addon-links/href.stories.js @@ -11,10 +11,8 @@ export const Log = () => { return See action logger; }; -Log.story = { - parameters: { - options: { - panel: 'storybook/actions/panel', - }, +Log.parameters = { + options: { + panel: 'storybook/actions/panel', }, }; diff --git a/examples/official-storybook/stories/addon-options.stories.js b/examples/official-storybook/stories/addon-options.stories.js index b8cafe157fa..0ee37459418 100644 --- a/examples/official-storybook/stories/addon-options.stories.js +++ b/examples/official-storybook/stories/addon-options.stories.js @@ -8,13 +8,11 @@ export const SettingName = () => (
This story should have changed the name of the storybook
); -SettingName.story = { - name: 'setting name', +SettingName.storyName = 'setting name'; - parameters: { - options: { - name: 'Custom Storybook', - }, +SettingName.parameters = { + options: { + name: 'Custom Storybook', }, }; @@ -22,12 +20,10 @@ export const HidingAddonPanel = () => (
This story should have changed hidden the addons panel
); -HidingAddonPanel.story = { - name: 'hiding addon panel', +HidingAddonPanel.storyName = 'hiding addon panel'; - parameters: { - options: { - showPanel: false, - }, +HidingAddonPanel.parameters = { + options: { + showPanel: false, }, }; diff --git a/examples/official-storybook/stories/addon-queryparams.stories.js b/examples/official-storybook/stories/addon-queryparams.stories.js index 469df5f63ec..ee32dbe8275 100644 --- a/examples/official-storybook/stories/addon-queryparams.stories.js +++ b/examples/official-storybook/stories/addon-queryparams.stories.js @@ -15,15 +15,11 @@ export const MockIsTrue = () => (
This story should have an extra url query param: {document.location.search}
); -MockIsTrue.story = { - name: 'mock is true', -}; +MockIsTrue.storyName = 'mock is true'; export const MockIs4 = () => (
This story should have an extra url query param: {document.location.search}
); -MockIs4.story = { - name: 'mock is 4', - parameters: { query: { mock: 4 } }, -}; +MockIs4.storyName = 'mock is 4'; +MockIs4.parameters = { query: { mock: 4 } }; diff --git a/examples/official-storybook/stories/addon-storyshots.stories.js b/examples/official-storybook/stories/addon-storyshots.stories.js index d2dbf6681b1..eaf56417ff5 100644 --- a/examples/official-storybook/stories/addon-storyshots.stories.js +++ b/examples/official-storybook/stories/addon-storyshots.stories.js @@ -21,16 +21,15 @@ export const block = () => { ); }; -block.story = { - name: 'Block story', - parameters: { - async puppeteerTest(page) { - const element = await page.$('[data-test-block]'); - await element.hover(); - const textContent = await element.getProperty('textContent'); - const text = await textContent.jsonValue(); - // eslint-disable-next-line jest/no-standalone-expect - expect(text).toBe('I am hovered'); - }, +block.storyName = 'Block story'; + +block.parameters = { + async puppeteerTest(page) { + const element = await page.$('[data-test-block]'); + await element.hover(); + const textContent = await element.getProperty('textContent'); + const text = await textContent.jsonValue(); + // eslint-disable-next-line jest/no-standalone-expect + expect(text).toBe('I am hovered'); }, }; diff --git a/examples/official-storybook/stories/addon-viewport/custom-default.stories.js b/examples/official-storybook/stories/addon-viewport/custom-default.stories.js index b75528e380b..8b6700546a2 100644 --- a/examples/official-storybook/stories/addon-viewport/custom-default.stories.js +++ b/examples/official-storybook/stories/addon-viewport/custom-default.stories.js @@ -33,14 +33,14 @@ export const OverriddenViaWithViewportParameterizedDecorator = () => ( I respect my parents but I should be looking good on iPad. ); -OverriddenViaWithViewportParameterizedDecorator.story = { - name: 'Overridden via "withViewport" parameterized decorator', - parameters: { viewport: { defaultViewport: 'ipad' } }, +OverriddenViaWithViewportParameterizedDecorator.storyName = + 'Overridden via "withViewport" parameterized decorator'; +OverriddenViaWithViewportParameterizedDecorator.parameters = { + viewport: { defaultViewport: 'ipad' }, }; export const Disabled = () => There should be no viewport selector in the toolbar; -Disabled.story = { - parameters: { - viewport: { disable: true }, - }, + +Disabled.parameters = { + viewport: { disable: true }, }; diff --git a/examples/official-storybook/stories/addon-viewport/default.stories.js b/examples/official-storybook/stories/addon-viewport/default.stories.js index 31c43a42c86..bdd2ee5ed7f 100644 --- a/examples/official-storybook/stories/addon-viewport/default.stories.js +++ b/examples/official-storybook/stories/addon-viewport/default.stories.js @@ -15,4 +15,4 @@ export default { export const DefaultFn = () => ( I don't have problems being rendered using the default viewport. ); -DefaultFn.story = { name: 'default' }; +DefaultFn.storyName = 'default'; diff --git a/examples/official-storybook/stories/core/args.stories.js b/examples/official-storybook/stories/core/args.stories.js index f7d307a549d..a3ce7766810 100644 --- a/examples/official-storybook/stories/core/args.stories.js +++ b/examples/official-storybook/stories/core/args.stories.js @@ -50,9 +50,7 @@ export const PassedToStory = (inputArgs) => { ); }; -PassedToStory.story = { - argTypes: { name: { defaultValue: 'initial' } }, -}; +PassedToStory.argTypes = { name: { defaultValue: 'initial' } }; PassedToStory.propTypes = { args: PropTypes.shape({}).isRequired, diff --git a/examples/official-storybook/stories/core/decorators.stories.js b/examples/official-storybook/stories/core/decorators.stories.js index 78fe3cdc98d..1cb9857999d 100644 --- a/examples/official-storybook/stories/core/decorators.stories.js +++ b/examples/official-storybook/stories/core/decorators.stories.js @@ -27,13 +27,11 @@ export default { }; export const All = () =>

Story

; -All.story = { - decorators: [ - (s) => ( - <> -

Local Decorator

- {s()} - - ), - ], -}; +All.decorators = [ + (s) => ( + <> +

Local Decorator

+ {s()} + + ), +]; diff --git a/examples/official-storybook/stories/core/errors.stories.js b/examples/official-storybook/stories/core/errors.stories.js index df76d23bc9a..727dcf21d92 100644 --- a/examples/official-storybook/stories/core/errors.stories.js +++ b/examples/official-storybook/stories/core/errors.stories.js @@ -10,12 +10,11 @@ export default { export const Exception = () => { throw new Error('storyFn threw an error! WHOOPS'); }; -Exception.story = { - name: 'story throws exception', - parameters: { - storyshots: { disable: true }, - chromatic: { disable: true }, - }, +Exception.storyName = 'story throws exception'; + +Exception.parameters = { + storyshots: { disable: true }, + chromatic: { disable: true }, }; export const badComponent = () => ( @@ -24,19 +23,17 @@ export const badComponent = () => ( ); -badComponent.story = { - name: 'story errors - invariant error', - parameters: { - storyshots: { disable: true }, - chromatic: { disable: true }, - }, +badComponent.storyName = 'story errors - invariant error'; + +badComponent.parameters = { + storyshots: { disable: true }, + chromatic: { disable: true }, }; export const BadStory = () => badOutput; -BadStory.story = { - name: 'story errors - story un-renderable type', - parameters: { - storyshots: { disable: true }, - chromatic: { disable: true }, - }, +BadStory.storyName = 'story errors - story un-renderable type'; + +BadStory.parameters = { + storyshots: { disable: true }, + chromatic: { disable: true }, }; diff --git a/examples/official-storybook/stories/core/events.stories.js b/examples/official-storybook/stories/core/events.stories.js index 7f193d263b3..aabf9192a5a 100644 --- a/examples/official-storybook/stories/core/events.stories.js +++ b/examples/official-storybook/stories/core/events.stories.js @@ -14,4 +14,4 @@ export default { }; export const Force = () => ; -Force.story = { name: 'Force re-render' }; +Force.storyName = 'Force re-render'; diff --git a/examples/official-storybook/stories/core/layout.stories.js b/examples/official-storybook/stories/core/layout.stories.js index b8b20c27efa..72a38024555 100644 --- a/examples/official-storybook/stories/core/layout.stories.js +++ b/examples/official-storybook/stories/core/layout.stories.js @@ -12,22 +12,22 @@ export default { export const Default = () => padded by default; export const PaddedBlock = () => padded; -PaddedBlock.story = { parameters: { layout: 'padded' } }; +PaddedBlock.parameters = { layout: 'padded' }; export const PaddedInline = () => padded; -PaddedInline.story = { parameters: { layout: 'padded' } }; +PaddedInline.parameters = { layout: 'padded' }; export const FullscreenBlock = () => fullscreen; -FullscreenBlock.story = { parameters: { layout: 'fullscreen' } }; +FullscreenBlock.parameters = { layout: 'fullscreen' }; export const FullscreenInline = () => fullscreen; -FullscreenInline.story = { parameters: { layout: 'fullscreen' } }; +FullscreenInline.parameters = { layout: 'fullscreen' }; export const CenteredBlock = () => centered; -CenteredBlock.story = { parameters: { layout: 'centered' } }; +CenteredBlock.parameters = { layout: 'centered' }; export const CenteredInline = () => centered; -CenteredInline.story = { parameters: { layout: 'centered' } }; +CenteredInline.parameters = { layout: 'centered' }; export const Invalid = () => invalid layout value; -Invalid.story = { parameters: { layout: '!invalid!' } }; +Invalid.parameters = { layout: '!invalid!' }; diff --git a/examples/official-storybook/stories/core/parameters.stories.js b/examples/official-storybook/stories/core/parameters.stories.js index 5f69e3e5f3d..f98c478beae 100644 --- a/examples/official-storybook/stories/core/parameters.stories.js +++ b/examples/official-storybook/stories/core/parameters.stories.js @@ -20,7 +20,5 @@ export const Passed = (_args, { parameters: { options, fileName, ...parameters }
{JSON.stringify(parameters, null, 2)}
); -Passed.story = { - name: 'passed to story', - parameters: { storyParameter: 'storyParameter' }, -}; +Passed.storyName = 'passed to story'; +Passed.parameters = { storyParameter: 'storyParameter' }; diff --git a/examples/official-storybook/stories/core/scroll.stories.js b/examples/official-storybook/stories/core/scroll.stories.js index f51ca1eae36..e614c386f62 100644 --- a/examples/official-storybook/stories/core/scroll.stories.js +++ b/examples/official-storybook/stories/core/scroll.stories.js @@ -23,7 +23,7 @@ export const Story1 = () => ( ); -Story1.story = { name: 'story with 100vh padding 1' }; +Story1.storyName = 'story with 100vh padding 1'; export const Story2 = () => ( @@ -35,7 +35,7 @@ export const Story2 = () => ( ); -Story2.story = { name: 'story with 100vh padding 2' }; +Story2.storyName = 'story with 100vh padding 2'; export const Story3 = () => ( @@ -44,7 +44,7 @@ export const Story3 = () => (
END
); -Story3.story = { name: 'story with 100vw+' }; +Story3.storyName = 'story with 100vw+'; export const Story4 = () => ( @@ -53,4 +53,4 @@ export const Story4 = () => (
END
); -Story4.story = { name: 'story with 100vw+ 2' }; +Story4.storyName = 'story with 100vw+ 2'; diff --git a/examples/official-storybook/stories/demo/button.stories.js b/examples/official-storybook/stories/demo/button.stories.js index d641ccae005..710489cf5cf 100644 --- a/examples/official-storybook/stories/demo/button.stories.js +++ b/examples/official-storybook/stories/demo/button.stories.js @@ -14,9 +14,7 @@ export default { }; export const WithText = () => ; -WithText.story = { - name: 'with text', -}; +WithText.storyName = 'with text'; export const WithSomeEmoji = () => ( ); -WithSomeEmoji.story = { - name: 'with some emoji', -}; +WithSomeEmoji.storyName = 'with some emoji'; export const WithCounter = () => { const [counter, setCounter] = useState(0); @@ -35,11 +31,10 @@ export const WithCounter = () => { return ; }; -WithCounter.story = { - name: 'with counter', - parameters: { - docs: { - storyDescription: 'This demonstrates react hooks working inside stories. Go team! 🚀', - }, +WithCounter.storyName = 'with counter'; + +WithCounter.parameters = { + docs: { + storyDescription: 'This demonstrates react hooks working inside stories. Go team! 🚀', }, }; diff --git a/examples/official-storybook/stories/demo/welcome.stories.js b/examples/official-storybook/stories/demo/welcome.stories.js index 775b761ee1c..621ea5cfaa0 100644 --- a/examples/official-storybook/stories/demo/welcome.stories.js +++ b/examples/official-storybook/stories/demo/welcome.stories.js @@ -11,6 +11,4 @@ export default { // - 'other-demo-buttonmdx--with-text' // - 'Other/Demo/ButtonMdx' export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js b/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js index 73131999595..0d1547737d6 100644 --- a/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js @@ -11,17 +11,13 @@ export default { export const ActionOnly = () => ; -ActionOnly.story = { - name: 'Action only', -}; +ActionOnly.storyName = 'Action only'; export const MultipleActions = () => ( ); -MultipleActions.story = { - name: 'Multiple actions', -}; +MultipleActions.storyName = 'Multiple actions'; export const MultipleActionsObject = () => ( ); -MultipleActionsObject.story = { - name: 'Multiple actions, object', -}; +MultipleActionsObject.storyName = 'Multiple actions, object'; export const ActionAndMethod = () => ( ); -ActionAndMethod.story = { - name: 'Action and method', -}; +ActionAndMethod.storyName = 'Action and method'; diff --git a/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js b/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js index 6cdc50b165d..da4fa9902ac 100644 --- a/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ b/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js @@ -22,12 +22,8 @@ export const Example1 = () => ( ); -Example1.story = { - name: 'Example 1', -}; +Example1.storyName = 'Example 1'; export const Example2 = () => ; -Example2.story = { - name: 'Example 2', -}; +Example2.storyName = 'Example 2'; diff --git a/examples/preact-kitchen-sink/src/stories/addon-knobs.stories.js b/examples/preact-kitchen-sink/src/stories/addon-knobs.stories.js index e0024745007..01a976dcdda 100644 --- a/examples/preact-kitchen-sink/src/stories/addon-knobs.stories.js +++ b/examples/preact-kitchen-sink/src/stories/addon-knobs.stories.js @@ -73,6 +73,4 @@ export const AllKnobs = () => { ); }; -AllKnobs.story = { - name: 'All knobs', -}; +AllKnobs.storyName = 'All knobs'; diff --git a/examples/preact-kitchen-sink/src/stories/addon-links.stories.js b/examples/preact-kitchen-sink/src/stories/addon-links.stories.js index e36cdceeed3..a88a2e2f579 100644 --- a/examples/preact-kitchen-sink/src/stories/addon-links.stories.js +++ b/examples/preact-kitchen-sink/src/stories/addon-links.stories.js @@ -14,6 +14,4 @@ export const GoToWelcome = () => ( ); -GoToWelcome.story = { - name: 'Go to welcome', -}; +GoToWelcome.storyName = 'Go to welcome'; diff --git a/examples/preact-kitchen-sink/src/stories/button.stories.js b/examples/preact-kitchen-sink/src/stories/button.stories.js index 8bdbbad0b38..597d5cb4bcf 100644 --- a/examples/preact-kitchen-sink/src/stories/button.stories.js +++ b/examples/preact-kitchen-sink/src/stories/button.stories.js @@ -12,9 +12,7 @@ export default { export const WithText = () => ; -WithText.story = { - name: 'with text', -}; +WithText.storyName = 'with text'; export const WithSomeEmoji = () => ( ); -WithSomeEmoji.story = { - name: 'with some emoji', -}; +WithSomeEmoji.storyName = 'with some emoji'; diff --git a/examples/preact-kitchen-sink/src/stories/welcome.stories.js b/examples/preact-kitchen-sink/src/stories/welcome.stories.js index db0487bfc33..f25999a441c 100644 --- a/examples/preact-kitchen-sink/src/stories/welcome.stories.js +++ b/examples/preact-kitchen-sink/src/stories/welcome.stories.js @@ -14,6 +14,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/examples/rax-kitchen-sink/src/stories/addon-a11y.stories.js b/examples/rax-kitchen-sink/src/stories/addon-a11y.stories.js index 162f5fe8018..6016d0d0164 100644 --- a/examples/rax-kitchen-sink/src/stories/addon-a11y.stories.js +++ b/examples/rax-kitchen-sink/src/stories/addon-a11y.stories.js @@ -10,9 +10,7 @@ export const Basic = () => RAX TEXT NODE; export const WithStyle = () => Styled text; -WithStyle.story = { - name: 'with style', -}; +WithStyle.storyName = 'with style'; export const WithMarkdown = () => ( ); -WithMarkdown.story = { - name: 'with markdown', -}; +WithMarkdown.storyName = 'with markdown'; diff --git a/examples/rax-kitchen-sink/src/stories/addon-actions.stories.js b/examples/rax-kitchen-sink/src/stories/addon-actions.stories.js index 28ff6fbd609..a5d6a1fc053 100644 --- a/examples/rax-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/rax-kitchen-sink/src/stories/addon-actions.stories.js @@ -13,9 +13,7 @@ export const WithText = () => ( ); -WithText.story = { - name: 'with text', -}; +WithText.storyName = 'with text'; export const WithSomeEmoji = () => ( ); -WithSomeEmoji.story = { - name: 'with some emoji', -}; +WithSomeEmoji.storyName = 'with some emoji'; diff --git a/examples/rax-kitchen-sink/src/stories/addon-knobs.stories.js b/examples/rax-kitchen-sink/src/stories/addon-knobs.stories.js index ffeb0093657..2777e6a6e6e 100644 --- a/examples/rax-kitchen-sink/src/stories/addon-knobs.stories.js +++ b/examples/rax-kitchen-sink/src/stories/addon-knobs.stories.js @@ -34,9 +34,7 @@ export const WithAButton = () => { ); }; -WithAButton.story = { - name: 'with a button', -}; +WithAButton.storyName = 'with a button'; export const AsDynamicVariables = () => { const name = text('Name', 'Benjamin Button'); @@ -46,6 +44,4 @@ export const AsDynamicVariables = () => { return {content}; }; -AsDynamicVariables.story = { - name: 'as dynamic variables', -}; +AsDynamicVariables.storyName = 'as dynamic variables'; diff --git a/examples/riot-kitchen-sink/src/stories/addon-actions.stories.js b/examples/riot-kitchen-sink/src/stories/addon-actions.stories.js index cf8196fda11..0c6d41b6324 100644 --- a/examples/riot-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/riot-kitchen-sink/src/stories/addon-actions.stories.js @@ -14,9 +14,7 @@ export const ActionOnly = () => content: 'Click me to log the action', }); -ActionOnly.story = { - name: 'Action only', -}; +ActionOnly.storyName = 'Action only'; export const MultipleActions = () => mount('my-button', { @@ -24,6 +22,4 @@ export const MultipleActions = () => content: 'Double Click me to log the action', }); -MultipleActions.story = { - name: 'Multiple actions', -}; +MultipleActions.storyName = 'Multiple actions'; diff --git a/examples/riot-kitchen-sink/src/stories/addon-backgrounds.stories.js b/examples/riot-kitchen-sink/src/stories/addon-backgrounds.stories.js index 2ca8745ed51..8f658a0bd21 100644 --- a/examples/riot-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ b/examples/riot-kitchen-sink/src/stories/addon-backgrounds.stories.js @@ -22,9 +22,7 @@ export const Story1 = () => { }; }; -Story1.story = { - name: 'story 1', -}; +Story1.storyName = 'story 1'; export const Story2 = () => { const content = 'This one too!'; @@ -35,6 +33,4 @@ export const Story2 = () => { }; }; -Story2.story = { - name: 'story 2', -}; +Story2.storyName = 'story 2'; diff --git a/examples/riot-kitchen-sink/src/stories/addon-knobs.stories.js b/examples/riot-kitchen-sink/src/stories/addon-knobs.stories.js index 2af0880e64d..b2f9b65a0cb 100644 --- a/examples/riot-kitchen-sink/src/stories/addon-knobs.stories.js +++ b/examples/riot-kitchen-sink/src/stories/addon-knobs.stories.js @@ -73,9 +73,7 @@ export const AllKnobs = () => { }; }; -AllKnobs.story = { - name: 'All knobs', -}; +AllKnobs.storyName = 'All knobs'; export const XssSafety = () => ({ tags: [ @@ -87,6 +85,4 @@ export const XssSafety = () => ({ ], }); -XssSafety.story = { - name: 'XSS safety', -}; +XssSafety.storyName = 'XSS safety'; diff --git a/examples/riot-kitchen-sink/src/stories/addon-links.stories.js b/examples/riot-kitchen-sink/src/stories/addon-links.stories.js index 1f2cd630356..bf494beaa88 100644 --- a/examples/riot-kitchen-sink/src/stories/addon-links.stories.js +++ b/examples/riot-kitchen-sink/src/stories/addon-links.stories.js @@ -16,6 +16,4 @@ export const GoToWelcome = () => handleClick: linkTo('Welcome', 'Welcome'), }); -GoToWelcome.story = { - name: 'Go to welcome', -}; +GoToWelcome.storyName = 'Go to welcome'; diff --git a/examples/riot-kitchen-sink/src/stories/core.stories.js b/examples/riot-kitchen-sink/src/stories/core.stories.js index 677542ff57e..124446efd20 100644 --- a/examples/riot-kitchen-sink/src/stories/core.stories.js +++ b/examples/riot-kitchen-sink/src/stories/core.stories.js @@ -24,6 +24,4 @@ export default { export const PassedToStory = (_args, { parameters: { fileName, ...parameters } }) => mount('parameters', { ...parameters, storyParameter }); -PassedToStory.story = { - name: 'passed to story', -}; +PassedToStory.storyName = 'passed to story'; diff --git a/examples/riot-kitchen-sink/src/stories/nested-tags.stories.js b/examples/riot-kitchen-sink/src/stories/nested-tags.stories.js index ab021ebbb88..cb7f0463eda 100644 --- a/examples/riot-kitchen-sink/src/stories/nested-tags.stories.js +++ b/examples/riot-kitchen-sink/src/stories/nested-tags.stories.js @@ -16,9 +16,7 @@ export const ThreeTags = () => ({ ], }); -ThreeTags.story = { - name: 'Three tags', -}; +ThreeTags.storyName = 'Three tags'; export const Matriochka = () => ({ tags: [ diff --git a/examples/riot-kitchen-sink/src/stories/story-code.stories.js b/examples/riot-kitchen-sink/src/stories/story-code.stories.js index 20ef03a408c..86988519a3d 100644 --- a/examples/riot-kitchen-sink/src/stories/story-code.stories.js +++ b/examples/riot-kitchen-sink/src/stories/story-code.stories.js @@ -12,21 +12,15 @@ export const BuiltWithTag = () => tag('test', '
simple test ({ opts.value })
', '', '', () => {}) && mount('test', { value: 'with a parameter' }); -BuiltWithTag.story = { - name: 'built with tag', -}; +BuiltWithTag.storyName = 'built with tag'; export const BuiltAsString = () => ({ tags: ['
simple test
'] }); -BuiltAsString.story = { - name: 'built as string', -}; +BuiltAsString.storyName = 'built as string'; export const BuiltFromRawImport = () => simpleTestCompiled; -BuiltFromRawImport.story = { - name: 'built from raw import', -}; +BuiltFromRawImport.storyName = 'built from raw import'; export const BuiltFromTagsAndTemplate = () => ({ tags: [{ content: SimpleTestRaw, boundAs: 'mustBeUniquePlease' }], @@ -34,9 +28,7 @@ export const BuiltFromTagsAndTemplate = () => ({ '', }); -BuiltFromTagsAndTemplate.story = { - name: 'built from tags and template', -}; +BuiltFromTagsAndTemplate.storyName = 'built from tags and template'; export const TagsTemplateAndTagConstructorAtOnce = () => ({ tags: [ @@ -53,24 +45,16 @@ export const TagsTemplateAndTagConstructorAtOnce = () => ({ }, }); -TagsTemplateAndTagConstructorAtOnce.story = { - name: 'tags, template and tagConstructor at once', -}; +TagsTemplateAndTagConstructorAtOnce.storyName = 'tags, template and tagConstructor at once'; export const BuiltFromThePrecompilation = () => mount('anothertest', {}); -BuiltFromThePrecompilation.story = { - name: 'built from the precompilation', -}; +BuiltFromThePrecompilation.storyName = 'built from the precompilation'; export const TheMountInstructionIsNotNecessary = () => ({ tagName: 'anothertest', opts: {} }); -TheMountInstructionIsNotNecessary.story = { - name: 'the mount instruction is not necessary', -}; +TheMountInstructionIsNotNecessary.storyName = 'the mount instruction is not necessary'; export const TheOptsValueIsNotNecessary = () => ({ tagName: 'anothertest' }); -TheOptsValueIsNotNecessary.story = { - name: 'the opts value is not necessary', -}; +TheOptsValueIsNotNecessary.storyName = 'the opts value is not necessary'; diff --git a/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js b/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js index 1a4ef7f86ee..021dfce78d0 100644 --- a/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js @@ -14,9 +14,7 @@ export const ActionOnViewMethod = () => ({ }, }); -ActionOnViewMethod.story = { - name: 'Action on view method', -}; +ActionOnViewMethod.storyName = 'Action on view method'; export const ActionOnComponentMethod = () => ({ Component: Button, @@ -28,6 +26,4 @@ export const ActionOnComponentMethod = () => ({ }, }); -ActionOnComponentMethod.story = { - name: 'Action on component method', -}; +ActionOnComponentMethod.storyName = 'Action on component method'; diff --git a/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js b/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js index a1265345ccc..24bf9980226 100644 --- a/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ b/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js @@ -17,6 +17,4 @@ export const Story1 = () => ({ Component: ButtonView, }); -Story1.story = { - name: 'story 1', -}; +Story1.storyName = 'story 1'; diff --git a/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js b/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js index f30478f8cd7..74ec418fe8a 100644 --- a/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js +++ b/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js @@ -13,6 +13,4 @@ export const GoToWelcomeView = () => ({ }, }); -GoToWelcomeView.story = { - name: 'Go to welcome view', -}; +GoToWelcomeView.storyName = 'Go to welcome view'; diff --git a/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js b/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js index 1e44abbbab6..2e0ac18b964 100644 --- a/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js +++ b/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js @@ -11,9 +11,7 @@ export const ActionOnly = () => ({ }, }); -ActionOnly.story = { - name: 'Action only', -}; +ActionOnly.storyName = 'Action only'; export const MultipleActions = () => ({ template: @@ -21,9 +19,7 @@ export const MultipleActions = () => ({ methods: actions('click', 'doubleclick'), }); -MultipleActions.story = { - name: 'Multiple actions', -}; +MultipleActions.storyName = 'Multiple actions'; export const MultipleActionsObject = () => ({ template: @@ -31,9 +27,7 @@ export const MultipleActionsObject = () => ({ methods: actions({ click: 'clicked', doubleclick: 'double clicked' }), }); -MultipleActionsObject.story = { - name: 'Multiple actions, object', -}; +MultipleActionsObject.storyName = 'Multiple actions, object'; export const ActionAndMethod = () => ({ template: 'Click me to log the action', @@ -45,6 +39,4 @@ export const ActionAndMethod = () => ({ }, }); -ActionAndMethod.story = { - name: 'Action and method', -}; +ActionAndMethod.storyName = 'Action and method'; diff --git a/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js b/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js index 3d98f338767..5400daf8829 100644 --- a/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ b/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js @@ -19,9 +19,7 @@ export const Story1 = () => { }; }; -Story1.story = { - name: 'story 1', -}; +Story1.storyName = 'story 1'; export const Story2 = () => { const content = 'This one too!'; @@ -31,6 +29,4 @@ export const Story2 = () => { }; }; -Story2.story = { - name: 'story 2', -}; +Story2.storyName = 'story 2'; diff --git a/examples/vue-kitchen-sink/src/stories/addon-knobs.stories.js b/examples/vue-kitchen-sink/src/stories/addon-knobs.stories.js index c63a3f05bda..36fcb6ddc51 100644 --- a/examples/vue-kitchen-sink/src/stories/addon-knobs.stories.js +++ b/examples/vue-kitchen-sink/src/stories/addon-knobs.stories.js @@ -104,9 +104,7 @@ export const AllKnobs = () => { }; }; -AllKnobs.story = { - name: 'All knobs', -}; +AllKnobs.storyName = 'All knobs'; export const XssSafety = () => ({ props: { @@ -115,6 +113,4 @@ export const XssSafety = () => ({ template: '
', }); -XssSafety.story = { - name: 'XSS safety', -}; +XssSafety.storyName = 'XSS safety'; diff --git a/examples/vue-kitchen-sink/src/stories/addon-links.stories.js b/examples/vue-kitchen-sink/src/stories/addon-links.stories.js index a0ea152465a..ff4bf352b05 100644 --- a/examples/vue-kitchen-sink/src/stories/addon-links.stories.js +++ b/examples/vue-kitchen-sink/src/stories/addon-links.stories.js @@ -11,6 +11,4 @@ export const GoToWelcome = () => ({ }, }); -GoToWelcome.story = { - name: 'Go to welcome', -}; +GoToWelcome.storyName = 'Go to welcome'; diff --git a/examples/vue-kitchen-sink/src/stories/components/app.stories.js b/examples/vue-kitchen-sink/src/stories/components/app.stories.js index f26f16823c4..b0a997433fa 100644 --- a/examples/vue-kitchen-sink/src/stories/components/app.stories.js +++ b/examples/vue-kitchen-sink/src/stories/components/app.stories.js @@ -8,4 +8,4 @@ export default { export const app = () => ({ render: (h) => h(App), }); -app.story = { name: 'App' }; +app.storyName = 'App'; diff --git a/examples/vue-kitchen-sink/src/stories/components/button.stories.js b/examples/vue-kitchen-sink/src/stories/components/button.stories.js index 20eec4e2f61..79832e339a7 100644 --- a/examples/vue-kitchen-sink/src/stories/components/button.stories.js +++ b/examples/vue-kitchen-sink/src/stories/components/button.stories.js @@ -12,11 +12,9 @@ export const Rounded = (args) => ({ return args; }, }); -Rounded.story = { - argTypes: { - rounded: { defaultValue: true }, - color: { control: { type: 'color' }, defaultValue: '#f00' }, - }, +Rounded.argTypes = { + rounded: { defaultValue: true }, + color: { control: { type: 'color' }, defaultValue: '#f00' }, }; export const Square = () => ({ diff --git a/examples/vue-kitchen-sink/src/stories/core-errors.stories.js b/examples/vue-kitchen-sink/src/stories/core-errors.stories.js index 400376dde08..3b7dd58f388 100644 --- a/examples/vue-kitchen-sink/src/stories/core-errors.stories.js +++ b/examples/vue-kitchen-sink/src/stories/core-errors.stories.js @@ -6,6 +6,6 @@ export default { export const throwsError = () => { throw new Error('foo'); }; -throwsError.story = { parameters: { storyshots: { disable: true } } }; +throwsError.parameters = { storyshots: { disable: true } }; export const nullError = () => null; diff --git a/examples/vue-kitchen-sink/src/stories/core-template.stories.js b/examples/vue-kitchen-sink/src/stories/core-template.stories.js index 51168bb7673..2cbb8972bab 100644 --- a/examples/vue-kitchen-sink/src/stories/core-template.stories.js +++ b/examples/vue-kitchen-sink/src/stories/core-template.stories.js @@ -5,6 +5,4 @@ export default { export const StringOnly = () => 'A Button with square edges'; -StringOnly.story = { - name: 'string only', -}; +StringOnly.storyName = 'string only'; diff --git a/examples/vue-kitchen-sink/src/stories/core.stories.js b/examples/vue-kitchen-sink/src/stories/core.stories.js index 53e3d385238..7f328fe356e 100644 --- a/examples/vue-kitchen-sink/src/stories/core.stories.js +++ b/examples/vue-kitchen-sink/src/stories/core.stories.js @@ -17,10 +17,8 @@ export const PassedToStory = (_args, { parameters: { fileName, ...parameters } } template: `
Parameters are
${JSON.stringify(parameters, null, 2)}
`, }); -PassedToStory.story = { - name: 'passed to story', +PassedToStory.storyName = 'passed to story'; - parameters: { - storyParameter, - }, +PassedToStory.parameters = { + storyParameter, }; diff --git a/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js b/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js index 33fd142e11d..7d6d97193d7 100644 --- a/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js +++ b/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js @@ -18,9 +18,7 @@ export const RenderComponent = () => ({ }, }); -RenderComponent.story = { - name: 'render + component', -}; +RenderComponent.storyName = 'render + component'; export const Template = () => ({ template: ` @@ -35,9 +33,7 @@ export const TemplateComponent = () => ({ template: 'MyButton rendered in a template', }); -TemplateComponent.story = { - name: 'template + component', -}; +TemplateComponent.storyName = 'template + component'; export const TemplateMethods = () => ({ components: { MyButton }, @@ -51,9 +47,7 @@ export const TemplateMethods = () => ({ }, }); -TemplateMethods.story = { - name: 'template + methods', -}; +TemplateMethods.storyName = 'template + methods'; export const JSX = () => ({ components: { MyButton }, @@ -82,9 +76,7 @@ export const VuexActions = () => ({ }, }); -VuexActions.story = { - name: 'vuex + actions', -}; +VuexActions.storyName = 'vuex + actions'; export const WhateverYouWant = () => ({ components: { MyButton }, @@ -105,9 +97,7 @@ export const WhateverYouWant = () => ({ }, }); -WhateverYouWant.story = { - name: 'whatever you want', -}; +WhateverYouWant.storyName = 'whatever you want'; export const PreRegisteredComponent = () => ({ /* By pre-registering component in config.js, @@ -120,6 +110,4 @@ export const PreRegisteredComponent = () => ({

`, }); -PreRegisteredComponent.story = { - name: 'pre-registered component', -}; +PreRegisteredComponent.storyName = 'pre-registered component'; diff --git a/examples/web-components-kitchen-sink/stories/addon-a11y.stories.js b/examples/web-components-kitchen-sink/stories/addon-a11y.stories.js index 6cd93a1d2b6..2b14aeeeea3 100644 --- a/examples/web-components-kitchen-sink/stories/addon-a11y.stories.js +++ b/examples/web-components-kitchen-sink/stories/addon-a11y.stories.js @@ -16,7 +16,7 @@ export const Disabled = () => html` `; export const Story4 = () => html` `; -Story4.story = { name: 'Invalid contrast' }; +Story4.storyName = 'Invalid contrast'; export const Story5 = () => { const div = document.createElement('div'); @@ -25,4 +25,4 @@ export const Story5 = () => { }, 1000); return div; }; -Story5.story = { name: 'Delayed render' }; +Story5.storyName = 'Delayed render'; diff --git a/examples/web-components-kitchen-sink/stories/addon-actions.stories.js b/examples/web-components-kitchen-sink/stories/addon-actions.stories.js index d9af3b11a6e..019e582adcc 100644 --- a/examples/web-components-kitchen-sink/stories/addon-actions.stories.js +++ b/examples/web-components-kitchen-sink/stories/addon-actions.stories.js @@ -7,42 +7,38 @@ export default { }; export const Story1 = buttonStory(); -Story1.story = { - name: 'Hello World', - parameters: { - actions: { - handles: ['click'], - }, +Story1.storyName = 'Hello World'; + +Story1.parameters = { + actions: { + handles: ['click'], }, }; export const Story2 = buttonStory(); -Story2.story = { - name: 'Multiple actions', - parameters: { - actions: { - handles: ['click', 'contextmenu'], - }, +Story2.storyName = 'Multiple actions'; + +Story2.parameters = { + actions: { + handles: ['click', 'contextmenu'], }, }; export const Story3 = buttonStory(); -Story3.story = { - name: 'Multiple actions + config', - parameters: { - actions: { - handles: ['click', 'contextmenu', { clearOnStoryChange: false }], - }, +Story3.storyName = 'Multiple actions + config'; + +Story3.parameters = { + actions: { + handles: ['click', 'contextmenu', { clearOnStoryChange: false }], }, }; export const Story4 = buttonStory(); -Story4.story = { - name: 'Multiple actions, object', - parameters: { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }], - }, +Story4.storyName = 'Multiple actions, object'; + +Story4.parameters = { + actions: { + handles: [{ click: 'clicked', contextmenu: 'right clicked' }], }, }; @@ -51,21 +47,19 @@ export const Story5 = () => ` Clicks on this button will be logged: `; -Story5.story = { - name: 'Multiple actions, selector', - parameters: { - actions: { - handles: [{ 'click .btn': 'clicked', contextmenu: 'right clicked' }], - }, +Story5.storyName = 'Multiple actions, selector'; + +Story5.parameters = { + actions: { + handles: [{ 'click .btn': 'clicked', contextmenu: 'right clicked' }], }, }; export const Story6 = buttonStory(); -Story6.story = { - name: 'Multiple actions, object + config', - parameters: { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }, { clearOnStoryChange: false }], - }, +Story6.storyName = 'Multiple actions, object + config'; + +Story6.parameters = { + actions: { + handles: [{ click: 'clicked', contextmenu: 'right clicked' }, { clearOnStoryChange: false }], }, }; diff --git a/examples/web-components-kitchen-sink/stories/addon-backgrounds.stories.js b/examples/web-components-kitchen-sink/stories/addon-backgrounds.stories.js index 4cac077c32f..dc78b4d3100 100644 --- a/examples/web-components-kitchen-sink/stories/addon-backgrounds.stories.js +++ b/examples/web-components-kitchen-sink/stories/addon-backgrounds.stories.js @@ -18,7 +18,7 @@ export default { export const Story1 = () => html` You should be able to switch backgrounds for this story `; -Story1.story = { name: 'story 1' }; +Story1.storyName = 'story 1'; export const Story2 = () => html` This one too! `; -Story2.story = { name: 'story 2' }; +Story2.storyName = 'story 2'; diff --git a/examples/web-components-kitchen-sink/stories/addon-knobs.stories.js b/examples/web-components-kitchen-sink/stories/addon-knobs.stories.js index db7aed65b10..c207e45b56f 100644 --- a/examples/web-components-kitchen-sink/stories/addon-knobs.stories.js +++ b/examples/web-components-kitchen-sink/stories/addon-knobs.stories.js @@ -44,7 +44,7 @@ export const Story3 = () => { `; }; -Story3.story = { name: 'Color Selection' }; +Story3.storyName = 'Color Selection'; export const Story4 = () => { const name = text('Name', 'Jane'); @@ -90,7 +90,7 @@ export const Story4 = () => { `; }; -Story4.story = { name: 'All knobs' }; +Story4.storyName = 'All knobs'; export const XssSafety = () => { const content = text('content', ''); diff --git a/lib/cli/src/generators/ANGULAR/template-csf/src/stories/0-Welcome.stories.ts b/lib/cli/src/generators/ANGULAR/template-csf/src/stories/0-Welcome.stories.ts index fb32db9e5f8..058c0cc1355 100644 --- a/lib/cli/src/generators/ANGULAR/template-csf/src/stories/0-Welcome.stories.ts +++ b/lib/cli/src/generators/ANGULAR/template-csf/src/stories/0-Welcome.stories.ts @@ -10,6 +10,4 @@ export const ToStorybook = () => ({ props: {}, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts b/lib/cli/src/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts index 14a3bc258b1..8efda9b2e43 100644 --- a/lib/cli/src/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts +++ b/lib/cli/src/generators/ANGULAR/template-csf/src/stories/1-Button.stories.ts @@ -22,9 +22,7 @@ export const Emoji = () => ({ }, }); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ({ component: Button, @@ -34,10 +32,8 @@ export const WithSomeEmojiAndAction = () => ({ }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ component: Button, @@ -47,6 +43,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/AURELIA/template-csf/src/stories/0-Welcome.stories.ts b/lib/cli/src/generators/AURELIA/template-csf/src/stories/0-Welcome.stories.ts index b8da103c7c3..92ddbc26b27 100644 --- a/lib/cli/src/generators/AURELIA/template-csf/src/stories/0-Welcome.stories.ts +++ b/lib/cli/src/generators/AURELIA/template-csf/src/stories/0-Welcome.stories.ts @@ -10,6 +10,4 @@ export const ToStorybook = () => ({ props: {}, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/AURELIA/template-csf/src/stories/1-Button.stories.ts b/lib/cli/src/generators/AURELIA/template-csf/src/stories/1-Button.stories.ts index 70ec3164258..833f785fa2a 100644 --- a/lib/cli/src/generators/AURELIA/template-csf/src/stories/1-Button.stories.ts +++ b/lib/cli/src/generators/AURELIA/template-csf/src/stories/1-Button.stories.ts @@ -22,9 +22,7 @@ export const Emoji = () => ({ }, }); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ({ component: Button, @@ -34,10 +32,8 @@ export const WithSomeEmojiAndAction = () => ({ }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ component: Button, @@ -47,6 +43,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/EMBER/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/EMBER/template-csf/stories/0-Welcome.stories.js index abe9168a9c4..2b6a7d76243 100644 --- a/lib/cli/src/generators/EMBER/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/EMBER/template-csf/stories/0-Welcome.stories.js @@ -17,6 +17,4 @@ export const ToStorybook = () => ({ }, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/EMBER/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/EMBER/template-csf/stories/1-Button.stories.js index 504ba14f9e2..21ef06ec0cb 100644 --- a/lib/cli/src/generators/EMBER/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/EMBER/template-csf/stories/1-Button.stories.js @@ -26,9 +26,7 @@ export const Emoji = () => ({ }, }); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ({ template: hbs` @@ -43,10 +41,8 @@ export const WithSomeEmojiAndAction = () => ({ }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ template: hbs` @@ -59,6 +55,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js index 2cdb8783378..8c44b0266d1 100644 --- a/lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js @@ -43,6 +43,4 @@ export const ToStorybook = () => `

`; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/HTML/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/HTML/template-csf/stories/1-Button.stories.js index cd1c729019c..cc4d2245bd1 100644 --- a/lib/cli/src/generators/HTML/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/HTML/template-csf/stories/1-Button.stories.js @@ -21,9 +21,7 @@ export const Emoji = () => { return btn; }; -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => { const btn = document.createElement('button'); @@ -33,10 +31,8 @@ export const WithSomeEmojiAndAction = () => { return btn; }; -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => { const btn = document.createElement('button'); @@ -46,6 +42,4 @@ export const ButtonWithLinkToAnotherStory = () => { return btn; }; -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/METEOR/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/METEOR/template-csf/stories/0-Welcome.stories.js index c76f45f3b4b..9920a416e1f 100644 --- a/lib/cli/src/generators/METEOR/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/METEOR/template-csf/stories/0-Welcome.stories.js @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/MITHRIL/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/MITHRIL/template-csf/stories/0-Welcome.stories.js index 3805e37c73c..13a71f805c3 100644 --- a/lib/cli/src/generators/MITHRIL/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/MITHRIL/template-csf/stories/0-Welcome.stories.js @@ -11,6 +11,4 @@ export const ToStorybook = () => ({ view: () => m(Welcome, { showApp: linkTo('Button') }), }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/MITHRIL/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/MITHRIL/template-csf/stories/1-Button.stories.js index 091503902f9..3e3330f6bf2 100644 --- a/lib/cli/src/generators/MITHRIL/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/MITHRIL/template-csf/stories/1-Button.stories.js @@ -21,9 +21,7 @@ export const Emoji = () => ({ ), }); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ({ view: () => @@ -34,15 +32,11 @@ export const WithSomeEmojiAndAction = () => ({ ), }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ view: () => m(Button, { onclick: linkTo('Welcome') }, 'Go to Welcome Story'), }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/PREACT/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/PREACT/template-csf/stories/0-Welcome.stories.js index 94e96aca4bc..1c647ee9741 100644 --- a/lib/cli/src/generators/PREACT/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/PREACT/template-csf/stories/0-Welcome.stories.js @@ -11,6 +11,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/PREACT/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/PREACT/template-csf/stories/1-Button.stories.js index 178bbf9b776..1e6d846cc63 100644 --- a/lib/cli/src/generators/PREACT/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/PREACT/template-csf/stories/1-Button.stories.js @@ -20,9 +20,7 @@ export const Emoji = () => ( ); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ( ); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ( ); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/RAX/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/RAX/template-csf/stories/0-Welcome.stories.js index 36caa134ee4..8dbdb2d533d 100644 --- a/lib/cli/src/generators/RAX/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/RAX/template-csf/stories/0-Welcome.stories.js @@ -10,6 +10,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/RAX/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/RAX/template-csf/stories/1-Button.stories.js index 0835fe53e43..ebf0fd4ac06 100644 --- a/lib/cli/src/generators/RAX/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/RAX/template-csf/stories/1-Button.stories.js @@ -22,9 +22,7 @@ export const Emoji = () => ( ); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ( ); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ( ); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/REACT/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/REACT/template-csf/stories/0-Welcome.stories.js index c76f45f3b4b..9920a416e1f 100644 --- a/lib/cli/src/generators/REACT/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/REACT/template-csf/stories/0-Welcome.stories.js @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/REACT/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/REACT/template-csf/stories/1-Button.stories.js index 1197038fc86..383864b23ad 100644 --- a/lib/cli/src/generators/REACT/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/REACT/template-csf/stories/1-Button.stories.js @@ -18,9 +18,7 @@ export const Emoji = () => ( ); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ( ); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ( ); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/0-Welcome.stories.js b/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/0-Welcome.stories.js index c76f45f3b4b..9920a416e1f 100644 --- a/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/0-Welcome.stories.js @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/1-Button.stories.js b/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/1-Button.stories.js index 1197038fc86..383864b23ad 100644 --- a/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/1-Button.stories.js +++ b/lib/cli/src/generators/REACT_SCRIPTS/template-csf/src/stories/1-Button.stories.js @@ -18,9 +18,7 @@ export const Emoji = () => ( ); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ( ); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ( ); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/RIOT/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/RIOT/template-csf/stories/0-Welcome.stories.js index 87952621919..7ba50551fcc 100644 --- a/lib/cli/src/generators/RIOT/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/RIOT/template-csf/stories/0-Welcome.stories.js @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => mount('welcome', { showApp: () => linkTo('Button') }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/RIOT/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/RIOT/template-csf/stories/1-Button.stories.js index c8baf5395e6..aa0ce8211b1 100644 --- a/lib/cli/src/generators/RIOT/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/RIOT/template-csf/stories/1-Button.stories.js @@ -25,9 +25,7 @@ export const WithSomeEmojiAndAction = () => onClick: action('This was clicked'), }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; export const ButtonWithLinkToAnotherStory = () => mount('my-button', { @@ -35,6 +33,4 @@ export const ButtonWithLinkToAnotherStory = () => onClick: linkTo('Welcome'), }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/0-Welcome.stories.js b/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/0-Welcome.stories.js index cb6e0190695..6496e9b1864 100644 --- a/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/0-Welcome.stories.js @@ -13,6 +13,4 @@ export const ToStorybook = () => ({ methods: { action: linkTo('Button') }, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/1-Button.stories.js b/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/1-Button.stories.js index 25bb8d287e5..f13f6caead4 100644 --- a/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/1-Button.stories.js +++ b/lib/cli/src/generators/SFC_VUE/template-csf/src/stories/1-Button.stories.js @@ -28,10 +28,8 @@ export const WithSomeEmojiAndAction = () => ({ methods: { action: action('This was clicked') }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ components: { MyButton }, @@ -39,6 +37,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ methods: { action: linkTo('Welcome') }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/SVELTE/template-csf/stories/0-welcome.stories.js b/lib/cli/src/generators/SVELTE/template-csf/stories/0-welcome.stories.js index 50efe67d1c0..35008941746 100644 --- a/lib/cli/src/generators/SVELTE/template-csf/stories/0-welcome.stories.js +++ b/lib/cli/src/generators/SVELTE/template-csf/stories/0-welcome.stories.js @@ -10,6 +10,4 @@ export const ToStorybook = () => ({ props: {}, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/SVELTE/template-csf/stories/1-button.stories.js b/lib/cli/src/generators/SVELTE/template-csf/stories/1-button.stories.js index 5ab76bba6ff..39b335c9b37 100644 --- a/lib/cli/src/generators/SVELTE/template-csf/stories/1-button.stories.js +++ b/lib/cli/src/generators/SVELTE/template-csf/stories/1-button.stories.js @@ -22,9 +22,7 @@ export const Emoji = () => ({ on: { click: action('clicked') }, }); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ({ Component: Button, @@ -36,10 +34,8 @@ export const WithSomeEmojiAndAction = () => ({ }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ Component: Button, @@ -51,6 +47,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/VUE/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/VUE/template-csf/stories/0-Welcome.stories.js index 35c1beef731..751d3002ef6 100644 --- a/lib/cli/src/generators/VUE/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/VUE/template-csf/stories/0-Welcome.stories.js @@ -13,6 +13,4 @@ export const ToStorybook = () => ({ methods: { action: linkTo('Button') }, }); -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/VUE/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/VUE/template-csf/stories/1-Button.stories.js index 270f06bb2a5..4f5e09d1640 100644 --- a/lib/cli/src/generators/VUE/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/VUE/template-csf/stories/1-Button.stories.js @@ -28,10 +28,8 @@ export const WithSomeEmojiAndAction = () => ({ methods: { action: action('This was clicked') }, }); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ({ components: { MyButton }, @@ -39,6 +37,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ methods: { action: linkTo('Welcome') }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/WEB-COMPONENTS/template/stories/0-Welcome.stories.js b/lib/cli/src/generators/WEB-COMPONENTS/template/stories/0-Welcome.stories.js index de56afdc9f1..95a394760d5 100644 --- a/lib/cli/src/generators/WEB-COMPONENTS/template/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/WEB-COMPONENTS/template/stories/0-Welcome.stories.js @@ -44,6 +44,4 @@ export const ToStorybook = () => html`

`; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/WEB-COMPONENTS/template/stories/1-Button.stories.js b/lib/cli/src/generators/WEB-COMPONENTS/template/stories/1-Button.stories.js index b87d698a5e1..b4e941552ad 100644 --- a/lib/cli/src/generators/WEB-COMPONENTS/template/stories/1-Button.stories.js +++ b/lib/cli/src/generators/WEB-COMPONENTS/template/stories/1-Button.stories.js @@ -18,9 +18,7 @@ export const Emoji = () => html` `; -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => html` `; -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => html``; -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/0-Welcome.stories.js b/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/0-Welcome.stories.js index c76f45f3b4b..9920a416e1f 100644 --- a/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/0-Welcome.stories.js +++ b/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/0-Welcome.stories.js @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/1-Button.stories.js b/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/1-Button.stories.js index 1197038fc86..383864b23ad 100644 --- a/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/1-Button.stories.js +++ b/lib/cli/src/generators/WEBPACK_REACT/template-csf/stories/1-Button.stories.js @@ -18,9 +18,7 @@ export const Emoji = () => ( ); -Emoji.story = { - parameters: { notes: 'My notes on a button with emojis' }, -}; +Emoji.parameters = { notes: 'My notes on a button with emojis' }; export const WithSomeEmojiAndAction = () => ( ); -WithSomeEmojiAndAction.story = { - name: 'with some emoji and action', - parameters: { notes: 'My notes on a button with emojis' }, -}; +WithSomeEmojiAndAction.storyName = 'with some emoji and action'; +WithSomeEmojiAndAction.parameters = { notes: 'My notes on a button with emojis' }; export const ButtonWithLinkToAnotherStory = () => ( ); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; From 6470c9e831f3742063deb96ec9d354f26cac3d10 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 13:34:55 +0800 Subject: [PATCH 24/50] CSF: Upgrade TS stories to hoisted story annotations --- .../angular-cli/src/stories/addon-actions.stories.ts | 8 ++------ .../angular-cli/src/stories/addon-jest.stories.ts | 8 +++----- .../angular-cli/src/stories/addon-knobs.stories.ts | 12 +++--------- .../angular-cli/src/stories/addon-links.stories.ts | 4 +--- .../angular-cli/src/stories/app.component.stories.ts | 6 ++---- .../component-with-di/di.component.stories.ts | 10 +++------- .../component-with-style/styled.component.stories.ts | 4 +--- examples/angular-cli/src/stories/core.stories.ts | 6 ++---- .../angular-cli/src/stories/custom-pipes.stories.ts | 10 +++------- .../src/stories/custom-providers.stories.ts | 10 +++------- .../angular-cli/src/stories/custom-styles.stories.ts | 10 +++------- .../custom-cva-component.stories.ts | 4 +--- .../src/stories/inheritance/inheritance.stories.ts | 8 ++------ .../src/stories/metadata-combined.stories.ts | 8 ++------ .../src/stories/metadata-individual.stories.ts | 8 ++------ .../src/stories/metadata-shared.stories.ts | 8 ++------ .../src/stories/on-push/on-push.stories.ts | 5 ++--- 17 files changed, 37 insertions(+), 92 deletions(-) diff --git a/examples/angular-cli/src/stories/addon-actions.stories.ts b/examples/angular-cli/src/stories/addon-actions.stories.ts index d3679f1771a..6592b17ded0 100644 --- a/examples/angular-cli/src/stories/addon-actions.stories.ts +++ b/examples/angular-cli/src/stories/addon-actions.stories.ts @@ -13,9 +13,7 @@ export const ActionOnly = () => ({ }, }); -ActionOnly.story = { - name: 'Action only', -}; +ActionOnly.storyName = 'Action only'; export const ActionAndMethod = () => ({ component: Button, @@ -29,6 +27,4 @@ export const ActionAndMethod = () => ({ }, }); -ActionAndMethod.story = { - name: 'Action and method', -}; +ActionAndMethod.storyName = 'Action and method'; diff --git a/examples/angular-cli/src/stories/addon-jest.stories.ts b/examples/angular-cli/src/stories/addon-jest.stories.ts index b5ca229ef1b..56cb245801c 100644 --- a/examples/angular-cli/src/stories/addon-jest.stories.ts +++ b/examples/angular-cli/src/stories/addon-jest.stories.ts @@ -18,10 +18,8 @@ export const AppComponentWithJestTests = () => ({ props: {}, }); -AppComponentWithJestTests.story = { - name: 'app.component with jest tests', +AppComponentWithJestTests.storyName = 'app.component with jest tests'; - parameters: { - jest: 'app.component', - }, +AppComponentWithJestTests.parameters = { + jest: 'app.component', }; diff --git a/examples/angular-cli/src/stories/addon-knobs.stories.ts b/examples/angular-cli/src/stories/addon-knobs.stories.ts index 36501f9165b..3970fc6e5e5 100644 --- a/examples/angular-cli/src/stories/addon-knobs.stories.ts +++ b/examples/angular-cli/src/stories/addon-knobs.stories.ts @@ -53,9 +53,7 @@ export const Simple = () => { }; }; -Simple.story = { - name: 'Simple', -}; +Simple.storyName = 'Simple'; export const AllKnobs = () => { const name = text('name', 'Jane'); @@ -101,14 +99,10 @@ export const AllKnobs = () => { }; }; -AllKnobs.story = { - name: 'All knobs', -}; +AllKnobs.storyName = 'All knobs'; export const XssSafety = () => ({ template: text('Rendered string', ''), }); -XssSafety.story = { - name: 'XSS safety', -}; +XssSafety.storyName = 'XSS safety'; diff --git a/examples/angular-cli/src/stories/addon-links.stories.ts b/examples/angular-cli/src/stories/addon-links.stories.ts index 065d4df9841..ced0b104b61 100644 --- a/examples/angular-cli/src/stories/addon-links.stories.ts +++ b/examples/angular-cli/src/stories/addon-links.stories.ts @@ -13,6 +13,4 @@ export const ButtonWithLinkToAnotherStory = () => ({ }, }); -ButtonWithLinkToAnotherStory.story = { - name: 'button with link to another story', -}; +ButtonWithLinkToAnotherStory.storyName = 'button with link to another story'; diff --git a/examples/angular-cli/src/stories/app.component.stories.ts b/examples/angular-cli/src/stories/app.component.stories.ts index d9a65e40769..cb2ecd38fe1 100644 --- a/examples/angular-cli/src/stories/app.component.stories.ts +++ b/examples/angular-cli/src/stories/app.component.stories.ts @@ -10,7 +10,5 @@ export const ComponentWithSeparateTemplate = () => ({ props: {}, }); -ComponentWithSeparateTemplate.story = { - name: 'Component with separate template', - parameters: { docs: { iframeHeight: 400 } }, -}; +ComponentWithSeparateTemplate.storyName = 'Component with separate template'; +ComponentWithSeparateTemplate.parameters = { docs: { iframeHeight: 400 } }; 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 59e2734db89..57158e6f0e0 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 @@ -12,9 +12,7 @@ export const InputsAndInjectDependencies = () => ({ }, }); -InputsAndInjectDependencies.story = { - name: 'inputs and inject dependencies', -}; +InputsAndInjectDependencies.storyName = 'inputs and inject dependencies'; export const InputsAndInjectDependenciesWithKnobs = () => ({ component: DiComponent, @@ -23,7 +21,5 @@ export const InputsAndInjectDependenciesWithKnobs = () => ({ }, }); -InputsAndInjectDependenciesWithKnobs.story = { - name: 'inputs and inject dependencies with knobs', - decorators: [withKnobs], -}; +InputsAndInjectDependenciesWithKnobs.storyName = 'inputs and inject dependencies with knobs'; +InputsAndInjectDependenciesWithKnobs.decorators = [withKnobs]; diff --git a/examples/angular-cli/src/stories/component-with-style/styled.component.stories.ts b/examples/angular-cli/src/stories/component-with-style/styled.component.stories.ts index 868e6dd3548..0295f6e0992 100644 --- a/examples/angular-cli/src/stories/component-with-style/styled.component.stories.ts +++ b/examples/angular-cli/src/stories/component-with-style/styled.component.stories.ts @@ -8,6 +8,4 @@ export const ComponentWithStyles = () => ({ component: StyledComponent, }); -ComponentWithStyles.story = { - name: 'Component with styles', -}; +ComponentWithStyles.storyName = 'Component with styles'; diff --git a/examples/angular-cli/src/stories/core.stories.ts b/examples/angular-cli/src/stories/core.stories.ts index 7c5509bac0f..42b151282cd 100644 --- a/examples/angular-cli/src/stories/core.stories.ts +++ b/examples/angular-cli/src/stories/core.stories.ts @@ -22,7 +22,5 @@ export const PassedToStory = (_args, { parameters: { fileName, ...parameters } } }, }); -PassedToStory.story = { - name: 'passed to story', - parameters: { storyParameter }, -}; +PassedToStory.storyName = 'passed to story'; +PassedToStory.parameters = { storyParameter }; diff --git a/examples/angular-cli/src/stories/custom-pipes.stories.ts b/examples/angular-cli/src/stories/custom-pipes.stories.ts index f0c9d379fce..37b4b25d6de 100644 --- a/examples/angular-cli/src/stories/custom-pipes.stories.ts +++ b/examples/angular-cli/src/stories/custom-pipes.stories.ts @@ -23,9 +23,7 @@ export const Simple = () => ({ }, }); -Simple.story = { - name: 'Simple', -}; +Simple.storyName = 'Simple'; export const WithKnobsStory = () => ({ component: NameComponent, @@ -34,7 +32,5 @@ export const WithKnobsStory = () => ({ }, }); -WithKnobsStory.story = { - name: 'With Knobs', - decorators: [withKnobs], -}; +WithKnobsStory.storyName = 'With Knobs'; +WithKnobsStory.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 86b2c209379..6281acdb74d 100644 --- a/examples/angular-cli/src/stories/custom-providers.stories.ts +++ b/examples/angular-cli/src/stories/custom-providers.stories.ts @@ -23,9 +23,7 @@ export const Simple = () => ({ }, }); -Simple.story = { - name: 'Simple', -}; +Simple.storyName = 'Simple'; export const WithKnobsStory = () => { const name = text('name', 'Dynamic knob'); @@ -38,7 +36,5 @@ export const WithKnobsStory = () => { }; }; -WithKnobsStory.story = { - name: 'With knobs', - decorators: [withKnobs], -}; +WithKnobsStory.storyName = 'With knobs'; +WithKnobsStory.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 207e818174c..b956bdd941a 100644 --- a/examples/angular-cli/src/stories/custom-styles.stories.ts +++ b/examples/angular-cli/src/stories/custom-styles.stories.ts @@ -28,9 +28,7 @@ export const DefaultStory = () => ({ ], }); -DefaultStory.story = { - name: 'Default', -}; +DefaultStory.storyName = 'Default'; export const WithKnobsStory = () => ({ template: ``, @@ -48,7 +46,5 @@ export const WithKnobsStory = () => ({ ], }); -WithKnobsStory.story = { - name: 'With Knobs', - decorators: [withKnobs], -}; +WithKnobsStory.storyName = 'With Knobs'; +WithKnobsStory.decorators = [withKnobs]; diff --git a/examples/angular-cli/src/stories/customControlValueAccessor/custom-cva-component.stories.ts b/examples/angular-cli/src/stories/customControlValueAccessor/custom-cva-component.stories.ts index e4a7ae06b43..4c9a4310d2e 100644 --- a/examples/angular-cli/src/stories/customControlValueAccessor/custom-cva-component.stories.ts +++ b/examples/angular-cli/src/stories/customControlValueAccessor/custom-cva-component.stories.ts @@ -13,6 +13,4 @@ export const CustomControlValueAccessor = () => ({ }, }); -CustomControlValueAccessor.story = { - name: 'custom ControlValueAccessor', -}; +CustomControlValueAccessor.storyName = 'custom ControlValueAccessor'; diff --git a/examples/angular-cli/src/stories/inheritance/inheritance.stories.ts b/examples/angular-cli/src/stories/inheritance/inheritance.stories.ts index 37060f32ca9..211046788f1 100644 --- a/examples/angular-cli/src/stories/inheritance/inheritance.stories.ts +++ b/examples/angular-cli/src/stories/inheritance/inheritance.stories.ts @@ -13,9 +13,7 @@ export const IconButton = () => ({ }, }); -IconButton.story = { - name: 'icon button', -}; +IconButton.storyName = 'icon button'; export const BaseButton = () => ({ component: BaseButtonComponent, @@ -24,6 +22,4 @@ export const BaseButton = () => ({ }, }); -BaseButton.story = { - name: 'base button', -}; +BaseButton.storyName = 'base button'; diff --git a/examples/angular-cli/src/stories/metadata-combined.stories.ts b/examples/angular-cli/src/stories/metadata-combined.stories.ts index a1af3919269..06372207c96 100644 --- a/examples/angular-cli/src/stories/metadata-combined.stories.ts +++ b/examples/angular-cli/src/stories/metadata-combined.stories.ts @@ -29,9 +29,7 @@ export const Combined1 = () => ({ }, }); -Combined1.story = { - name: 'Combined 1', -}; +Combined1.storyName = 'Combined 1'; export const Combined2 = () => ({ template: ``, @@ -43,6 +41,4 @@ export const Combined2 = () => ({ }, }); -Combined2.story = { - name: 'Combined 2', -}; +Combined2.storyName = 'Combined 2'; diff --git a/examples/angular-cli/src/stories/metadata-individual.stories.ts b/examples/angular-cli/src/stories/metadata-individual.stories.ts index d70c0306f69..de99e41153a 100644 --- a/examples/angular-cli/src/stories/metadata-individual.stories.ts +++ b/examples/angular-cli/src/stories/metadata-individual.stories.ts @@ -21,9 +21,7 @@ export const Individual1 = () => ({ }, }); -Individual1.story = { - name: 'Individual 1', -}; +Individual1.storyName = 'Individual 1'; export const Individual2 = () => ({ template: ``, @@ -43,6 +41,4 @@ export const Individual2 = () => ({ }, }); -Individual2.story = { - name: 'Individual 2', -}; +Individual2.storyName = 'Individual 2'; diff --git a/examples/angular-cli/src/stories/metadata-shared.stories.ts b/examples/angular-cli/src/stories/metadata-shared.stories.ts index 9748a174f30..073ec13beaa 100644 --- a/examples/angular-cli/src/stories/metadata-shared.stories.ts +++ b/examples/angular-cli/src/stories/metadata-shared.stories.ts @@ -28,14 +28,10 @@ export const Shared1 = () => ({ }, }); -Shared1.story = { - name: 'Shared 1', -}; +Shared1.storyName = 'Shared 1'; export const Shared2 = () => ({ template: ``, }); -Shared2.story = { - name: 'Shared 2', -}; +Shared2.storyName = 'Shared 2'; diff --git a/examples/angular-cli/src/stories/on-push/on-push.stories.ts b/examples/angular-cli/src/stories/on-push/on-push.stories.ts index 543a6187e63..fe5c49c319c 100644 --- a/examples/angular-cli/src/stories/on-push/on-push.stories.ts +++ b/examples/angular-cli/src/stories/on-push/on-push.stories.ts @@ -14,6 +14,5 @@ export const ClassSpecifiedComponentWithOnPushAndKnobs = () => ({ }, }); -ClassSpecifiedComponentWithOnPushAndKnobs.story = { - name: 'Class-specified component with OnPush and Knobs', -}; +ClassSpecifiedComponentWithOnPushAndKnobs.storyName = + 'Class-specified component with OnPush and Knobs'; From 39bd026385c2082b13a206a0f3c79e74803a31a9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 13:39:27 +0800 Subject: [PATCH 25/50] CSF: Upgrade TSX stories to hoisted story annotations --- .../cra-ts-essentials/src/stories/0-Welcome.stories.tsx | 4 +--- .../cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx | 4 +--- .../template-csf-ts/src/stories/0-Welcome.stories.tsx | 4 +--- lib/components/src/blocks/DocsPage.stories.tsx | 4 ++-- lib/ui/src/containers/panel.stories.tsx | 8 +++----- 5 files changed, 8 insertions(+), 16 deletions(-) diff --git a/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx b/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx index fa267f24c31..29a1920ce69 100644 --- a/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx +++ b/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx @@ -9,6 +9,4 @@ export default { export const toStorybook = () => ; -toStorybook.story = { - name: 'to Storybook', -}; +toStorybook.storyName = 'to Storybook'; diff --git a/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx b/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx index c76f45f3b4b..9920a416e1f 100644 --- a/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx +++ b/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/cli/src/generators/REACT_SCRIPTS/template-csf-ts/src/stories/0-Welcome.stories.tsx b/lib/cli/src/generators/REACT_SCRIPTS/template-csf-ts/src/stories/0-Welcome.stories.tsx index c76f45f3b4b..9920a416e1f 100644 --- a/lib/cli/src/generators/REACT_SCRIPTS/template-csf-ts/src/stories/0-Welcome.stories.tsx +++ b/lib/cli/src/generators/REACT_SCRIPTS/template-csf-ts/src/stories/0-Welcome.stories.tsx @@ -9,6 +9,4 @@ export default { export const ToStorybook = () => ; -ToStorybook.story = { - name: 'to Storybook', -}; +ToStorybook.storyName = 'to Storybook'; diff --git a/lib/components/src/blocks/DocsPage.stories.tsx b/lib/components/src/blocks/DocsPage.stories.tsx index 535c20f918e..61280d1875e 100644 --- a/lib/components/src/blocks/DocsPage.stories.tsx +++ b/lib/components/src/blocks/DocsPage.stories.tsx @@ -33,7 +33,7 @@ export const withSubtitle = () => ( {sourceStories.jsx()} ); -withSubtitle.story = { name: 'with subtitle' }; +withSubtitle.storyName = 'with subtitle'; export const empty = () => ( <> @@ -51,7 +51,7 @@ export const noText = () => ( {sourceStories.jsx()} ); -noText.story = { name: 'no text' }; +noText.storyName = 'no text'; export const text = () => ( <> diff --git a/lib/ui/src/containers/panel.stories.tsx b/lib/ui/src/containers/panel.stories.tsx index e78a7b9640c..1669a915a40 100644 --- a/lib/ui/src/containers/panel.stories.tsx +++ b/lib/ui/src/containers/panel.stories.tsx @@ -7,9 +7,7 @@ export default { export const AllAddons = () =>
By default all addon panels are rendered
; export const FilteredAddons = () =>
By default all addon panels are rendered
; -FilteredAddons.story = { - parameters: { - a11y: { disabled: true }, - actions: { disabled: true }, - }, +FilteredAddons.parameters = { + a11y: { disabled: true }, + actions: { disabled: true }, }; From 6beb8703f46b627ea0086e72023b9ba644b18b9e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 13:48:22 +0800 Subject: [PATCH 26/50] CSF: Upgrade misc stories to hoisted story annotations --- .../src/stories/custom-element.stories.ts | 12 +++--------- .../src/stories/cra-dynamic-import.stories.js | 3 +-- .../stories/other-dirname.stories.js | 10 ++-------- examples/vue-cli/src/button/Button.stories.ts | 6 ++---- lib/ui/src/settings/shortcuts.stories.tsx | 2 +- 5 files changed, 9 insertions(+), 24 deletions(-) diff --git a/examples/aurelia-kitchen-sink/src/stories/custom-element.stories.ts b/examples/aurelia-kitchen-sink/src/stories/custom-element.stories.ts index 84262ae36b0..22419789948 100644 --- a/examples/aurelia-kitchen-sink/src/stories/custom-element.stories.ts +++ b/examples/aurelia-kitchen-sink/src/stories/custom-element.stories.ts @@ -7,7 +7,7 @@ import { CoolButton } from '../cool-button/cool-button'; import 'bootstrap/scss/bootstrap.scss'; type StoryType = StoryFn> & { - story: { name: string }; + storyName: string; }; export default { @@ -22,15 +22,9 @@ export const SimpleCoolButtonStory: StoryType = () => ({ buttonText: text('Button Text', 'Aurelia Rocks!'), }, }); - -SimpleCoolButtonStory.story = { - name: 'Cool Button Story', -}; +SimpleCoolButtonStory.storyName = 'Cool Button Story'; export const AutoGenerateStory: StoryType = () => ({ customElement: CoolButton, }); - -AutoGenerateStory.story = { - name: 'Auto Generate Knobs Story', -}; +AutoGenerateStory.storyName = 'Auto Generate Knobs Story'; diff --git a/examples/cra-kitchen-sink/src/stories/cra-dynamic-import.stories.js b/examples/cra-kitchen-sink/src/stories/cra-dynamic-import.stories.js index 24b6f340196..8e0e22e94b2 100644 --- a/examples/cra-kitchen-sink/src/stories/cra-dynamic-import.stories.js +++ b/examples/cra-kitchen-sink/src/stories/cra-dynamic-import.stories.js @@ -19,5 +19,4 @@ export const Story1 = () => { return Hello Button; }; - -Story1.story = { name: 'Dynamic import' }; +Story1.storyName = 'Dynamic import'; diff --git a/examples/official-storybook/stories/other-dirname.stories.js b/examples/official-storybook/stories/other-dirname.stories.js index ed0f1e6540f..734a8a8912b 100644 --- a/examples/official-storybook/stories/other-dirname.stories.js +++ b/examples/official-storybook/stories/other-dirname.stories.js @@ -4,13 +4,7 @@ import base from 'paths.macro'; import BaseButton from '../components/BaseButton'; export const story1 = () => ; - -story1.story = { - name: 'story 1', -}; +story1.storyName = 'story 1'; export const story2 = () => ; - -story2.story = { - name: 'story 2', -}; +story2.storyName = 'story 2'; diff --git a/examples/vue-cli/src/button/Button.stories.ts b/examples/vue-cli/src/button/Button.stories.ts index 0724b37f531..e4bd7d2995a 100644 --- a/examples/vue-cli/src/button/Button.stories.ts +++ b/examples/vue-cli/src/button/Button.stories.ts @@ -13,8 +13,6 @@ export const ButtonWithProps = (args: any) => ({ return args; }, }); -ButtonWithProps.story = { - argTypes: { - size: { control: { type: 'options', options: ButtonSizes } }, - }, +ButtonWithProps.argTypes = { + size: { control: { type: 'options', options: ButtonSizes } }, }; diff --git a/lib/ui/src/settings/shortcuts.stories.tsx b/lib/ui/src/settings/shortcuts.stories.tsx index 39a64af7183..2682fec3a43 100644 --- a/lib/ui/src/settings/shortcuts.stories.tsx +++ b/lib/ui/src/settings/shortcuts.stories.tsx @@ -51,4 +51,4 @@ export default { }; export const defaults = () => ; -defaults.story = { name: 'default shortcuts' }; +defaults.storyName = 'default shortcuts'; From 49b0f21a64c3fde5176733f7d867c4eab167d010 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 13:48:40 +0800 Subject: [PATCH 27/50] CSF: Better debugging for deprecated story annotations --- lib/core/src/client/preview/loadCsf.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/src/client/preview/loadCsf.ts b/lib/core/src/client/preview/loadCsf.ts index 0bfdc86f5f6..9d3f8554cf0 100644 --- a/lib/core/src/client/preview/loadCsf.ts +++ b/lib/core/src/client/preview/loadCsf.ts @@ -131,6 +131,7 @@ const loadStories = ( const storyFn = exports[key]; const { story } = storyFn; if (story) { + logger.debug('deprecated story', story); deprecate( () => {}, dedent` From ecfaa1146a07e7026f70d8e46e4b49dbbd32dfb3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 15:04:54 +0800 Subject: [PATCH 28/50] MDX: Upgrade MDX compiler to use hoisted CSF story annotations --- .../component-args.output.snapshot | 5 ++--- .../component-id.output.snapshot | 5 ++--- .../decorators.output.snapshot | 7 +++---- .../docs-only.output.snapshot | 2 +- .../meta-quotes-in-title.output.snapshot | 2 +- .../non-story-exports.output.snapshot | 10 ++++------ .../parameters.output.snapshot | 10 ++++------ .../__testfixtures__/previews.output.snapshot | 10 ++++------ .../story-args.output.snapshot | 9 ++++----- .../story-def-text-only.output.snapshot | 5 ++--- .../story-definitions.output.snapshot | 20 ++++++++----------- .../story-function-var.output.snapshot | 5 ++--- .../story-function.output.snapshot | 5 ++--- .../story-multiple-children.output.snapshot | 5 ++--- .../story-object.output.snapshot | 5 ++--- .../title-template-string.output.snapshot | 2 +- addons/docs/src/mdx/mdx-compiler-plugin.js | 15 +++++++------- 17 files changed, 51 insertions(+), 71 deletions(-) diff --git a/addons/docs/src/mdx/__testfixtures__/component-args.output.snapshot b/addons/docs/src/mdx/__testfixtures__/component-args.output.snapshot index 9085d6b4284..b65eeb6621b 100644 --- a/addons/docs/src/mdx/__testfixtures__/component-args.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/component-args.output.snapshot @@ -49,9 +49,8 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const componentNotes = () => ; -componentNotes.story = {}; -componentNotes.story.name = 'component notes'; -componentNotes.story.parameters = { storySource: { source: '' } }; +componentNotes.storyName = 'component notes'; +componentNotes.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', diff --git a/addons/docs/src/mdx/__testfixtures__/component-id.output.snapshot b/addons/docs/src/mdx/__testfixtures__/component-id.output.snapshot index 99349f78adf..c0ce6f96d3f 100644 --- a/addons/docs/src/mdx/__testfixtures__/component-id.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/component-id.output.snapshot @@ -33,9 +33,8 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const componentNotes = () => ; -componentNotes.story = {}; -componentNotes.story.name = 'component notes'; -componentNotes.story.parameters = { storySource: { source: '' } }; +componentNotes.storyName = 'component notes'; +componentNotes.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', diff --git a/addons/docs/src/mdx/__testfixtures__/decorators.output.snapshot b/addons/docs/src/mdx/__testfixtures__/decorators.output.snapshot index 8f5cd338f61..b79d26aa359 100644 --- a/addons/docs/src/mdx/__testfixtures__/decorators.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/decorators.output.snapshot @@ -52,10 +52,9 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const one = () => ; -one.story = {}; -one.story.name = 'one'; -one.story.parameters = { storySource: { source: '' } }; -one.story.decorators = [(storyFn) =>
{storyFn()}
]; +one.storyName = 'one'; +one.parameters = { storySource: { source: '' } }; +one.decorators = [(storyFn) =>
{storyFn()}
]; const componentMeta = { title: 'Button', diff --git a/addons/docs/src/mdx/__testfixtures__/docs-only.output.snapshot b/addons/docs/src/mdx/__testfixtures__/docs-only.output.snapshot index 22b6f0ffd24..9b920702c18 100644 --- a/addons/docs/src/mdx/__testfixtures__/docs-only.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/docs-only.output.snapshot @@ -38,7 +38,7 @@ export const __page = () => { throw new Error('Docs-only story'); }; -__page.story = { parameters: { docsOnly: true } }; +__page.parameters = { docsOnly: true }; const componentMeta = { title: 'docs-only', includeStories: ['__page'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/meta-quotes-in-title.output.snapshot b/addons/docs/src/mdx/__testfixtures__/meta-quotes-in-title.output.snapshot index 8390bcd785c..48f6b3857e4 100644 --- a/addons/docs/src/mdx/__testfixtures__/meta-quotes-in-title.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/meta-quotes-in-title.output.snapshot @@ -32,7 +32,7 @@ export const __page = () => { throw new Error('Docs-only story'); }; -__page.story = { parameters: { docsOnly: true } }; +__page.parameters = { docsOnly: true }; const componentMeta = { title: \\"Addons/Docs/what's in a title?\\", includeStories: ['__page'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/non-story-exports.output.snapshot b/addons/docs/src/mdx/__testfixtures__/non-story-exports.output.snapshot index 636ba74022c..10a7d2266b0 100644 --- a/addons/docs/src/mdx/__testfixtures__/non-story-exports.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/non-story-exports.output.snapshot @@ -40,14 +40,12 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const one = () => ; -one.story = {}; -one.story.name = 'one'; -one.story.parameters = { storySource: { source: '' } }; +one.storyName = 'one'; +one.parameters = { storySource: { source: '' } }; export const helloStory = () => ; -helloStory.story = {}; -helloStory.story.name = 'hello story'; -helloStory.story.parameters = { storySource: { source: '' } }; +helloStory.storyName = 'hello story'; +helloStory.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', includeStories: ['one', 'helloStory'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/parameters.output.snapshot b/addons/docs/src/mdx/__testfixtures__/parameters.output.snapshot index 2997e2174c8..15ef9b0d4cc 100644 --- a/addons/docs/src/mdx/__testfixtures__/parameters.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/parameters.output.snapshot @@ -49,14 +49,12 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const componentNotes = () => ; -componentNotes.story = {}; -componentNotes.story.name = 'component notes'; -componentNotes.story.parameters = { storySource: { source: '' } }; +componentNotes.storyName = 'component notes'; +componentNotes.parameters = { storySource: { source: '' } }; export const storyNotes = () => ; -storyNotes.story = {}; -storyNotes.story.name = 'story notes'; -storyNotes.story.parameters = { +storyNotes.storyName = 'story notes'; +storyNotes.parameters = { storySource: { source: '' }, ...{ notes: 'story notes', diff --git a/addons/docs/src/mdx/__testfixtures__/previews.output.snapshot b/addons/docs/src/mdx/__testfixtures__/previews.output.snapshot index de56c22acaa..17b6711fa28 100644 --- a/addons/docs/src/mdx/__testfixtures__/previews.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/previews.output.snapshot @@ -53,14 +53,12 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const helloButton = () => ; -helloButton.story = {}; -helloButton.story.name = 'hello button'; -helloButton.story.parameters = { storySource: { source: '' } }; +helloButton.storyName = 'hello button'; +helloButton.parameters = { storySource: { source: '' } }; export const two = () => ; -two.story = {}; -two.story.name = 'two'; -two.story.parameters = { storySource: { source: '' } }; +two.storyName = 'two'; +two.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', diff --git a/addons/docs/src/mdx/__testfixtures__/story-args.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-args.output.snapshot index 93181c4aacc..ef73decd103 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-args.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-args.output.snapshot @@ -49,9 +49,8 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const componentNotes = () => ; -componentNotes.story = {}; -componentNotes.story.name = 'component notes'; -componentNotes.story.argTypes = { +componentNotes.storyName = 'component notes'; +componentNotes.argTypes = { a: { name: 'A', }, @@ -59,11 +58,11 @@ componentNotes.story.argTypes = { name: 'B', }, }; -componentNotes.story.args = { +componentNotes.args = { a: 1, b: 2, }; -componentNotes.story.parameters = { storySource: { source: '' } }; +componentNotes.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', includeStories: ['componentNotes'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/story-def-text-only.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-def-text-only.output.snapshot index 2ea1eac8200..b8029e35582 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-def-text-only.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-def-text-only.output.snapshot @@ -33,9 +33,8 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const text = () => 'Plain text'; -text.story = {}; -text.story.name = 'text'; -text.story.parameters = { storySource: { source: \\"'Plain text'\\" } }; +text.storyName = 'text'; +text.parameters = { storySource: { source: \\"'Plain text'\\" } }; const componentMeta = { title: 'Text', includeStories: ['text'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/story-definitions.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-definitions.output.snapshot index 59a02bdedb4..eb138416630 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-definitions.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-definitions.output.snapshot @@ -43,24 +43,20 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const one = () => ; -one.story = {}; -one.story.name = 'one'; -one.story.parameters = { storySource: { source: '' } }; +one.storyName = 'one'; +one.parameters = { storySource: { source: '' } }; export const helloStory = () => ; -helloStory.story = {}; -helloStory.story.name = 'hello story'; -helloStory.story.parameters = { storySource: { source: '' } }; +helloStory.storyName = 'hello story'; +helloStory.parameters = { storySource: { source: '' } }; export const wPunctuation = () => ; -wPunctuation.story = {}; -wPunctuation.story.name = 'w/punctuation'; -wPunctuation.story.parameters = { storySource: { source: '' } }; +wPunctuation.storyName = 'w/punctuation'; +wPunctuation.parameters = { storySource: { source: '' } }; export const _1FineDay = () => ; -_1FineDay.story = {}; -_1FineDay.story.name = '1 fine day'; -_1FineDay.story.parameters = { storySource: { source: '' } }; +_1FineDay.storyName = '1 fine day'; +_1FineDay.parameters = { storySource: { source: '' } }; const componentMeta = { title: 'Button', diff --git a/addons/docs/src/mdx/__testfixtures__/story-function-var.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-function-var.output.snapshot index 1dbc262f146..aa80e8d0d73 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-function-var.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-function-var.output.snapshot @@ -37,9 +37,8 @@ function MDXContent({ components, ...props }) { MDXContent.isMDXComponent = true; export const basic = assertIsFn(basicFn); -basic.story = {}; -basic.story.name = 'basic'; -basic.story.parameters = { storySource: { source: 'basicFn' } }; +basic.storyName = 'basic'; +basic.parameters = { storySource: { source: 'basicFn' } }; const componentMeta = { title: 'story-function-var', includeStories: ['basic'] }; diff --git a/addons/docs/src/mdx/__testfixtures__/story-function.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-function.output.snapshot index 8e22bd13ba9..fd2ebef1d98 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-function.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-function.output.snapshot @@ -39,9 +39,8 @@ export const functionStory = () => { btn.addEventListener('click', action('Click')); return btn; }; -functionStory.story = {}; -functionStory.story.name = 'function'; -functionStory.story.parameters = { +functionStory.storyName = 'function'; +functionStory.parameters = { storySource: { source: \\"() => {\\\\n const btn = document.createElement('button');\\\\n btn.innerHTML = 'Hello Button';\\\\n btn.addEventListener('click', action('Click'));\\\\n return btn;\\\\n}\\", diff --git a/addons/docs/src/mdx/__testfixtures__/story-multiple-children.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-multiple-children.output.snapshot index 90340f85192..e760b63f1e6 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-multiple-children.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-multiple-children.output.snapshot @@ -39,9 +39,8 @@ export const multipleChildren = () => (

Hello Child #2

); -multipleChildren.story = {}; -multipleChildren.story.name = 'multiple children'; -multipleChildren.story.parameters = { +multipleChildren.storyName = 'multiple children'; +multipleChildren.parameters = { storySource: { source: '

Hello Child #1

\\\\n

Hello Child #2

' }, }; diff --git a/addons/docs/src/mdx/__testfixtures__/story-object.output.snapshot b/addons/docs/src/mdx/__testfixtures__/story-object.output.snapshot index 1a3490092c9..aab6752d89d 100644 --- a/addons/docs/src/mdx/__testfixtures__/story-object.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/story-object.output.snapshot @@ -51,9 +51,8 @@ export const toStorybook = () => ({ declarations: [Welcome], }, }); -toStorybook.story = {}; -toStorybook.story.name = 'to storybook'; -toStorybook.story.parameters = { +toStorybook.storyName = 'to storybook'; +toStorybook.parameters = { storySource: { source: '{\\\\n template: \`\`,\\\\n props: {\\\\n showApp: linkTo(\\\\'Button\\\\')\\\\n },\\\\n moduleMetadata: {\\\\n declarations: [Welcome]\\\\n }\\\\n}', diff --git a/addons/docs/src/mdx/__testfixtures__/title-template-string.output.snapshot b/addons/docs/src/mdx/__testfixtures__/title-template-string.output.snapshot index 7d4d463ad80..bf2d68da561 100644 --- a/addons/docs/src/mdx/__testfixtures__/title-template-string.output.snapshot +++ b/addons/docs/src/mdx/__testfixtures__/title-template-string.output.snapshot @@ -33,7 +33,7 @@ export const __page = () => { throw new Error('Docs-only story'); }; -__page.story = { parameters: { docsOnly: true } }; +__page.parameters = { docsOnly: true }; const componentMeta = { title: \`\${titleFunction('template')}\`, includeStories: ['__page'] }; diff --git a/addons/docs/src/mdx/mdx-compiler-plugin.js b/addons/docs/src/mdx/mdx-compiler-plugin.js index 39f36407206..be7d6952ba2 100644 --- a/addons/docs/src/mdx/mdx-compiler-plugin.js +++ b/addons/docs/src/mdx/mdx-compiler-plugin.js @@ -102,16 +102,15 @@ function genStoryExport(ast, context) { } statements.push(`export const ${storyKey} = ${storyVal};`); - statements.push(`${storyKey}.story = {};`); // always preserve the name, since CSF exports can get modified by displayName - statements.push(`${storyKey}.story.name = '${storyName}';`); + statements.push(`${storyKey}.storyName = '${storyName}';`); const argTypes = genAttribute('argTypes', ast.openingElement); - if (argTypes) statements.push(`${storyKey}.story.argTypes = ${argTypes};`); + if (argTypes) statements.push(`${storyKey}.argTypes = ${argTypes};`); const args = genAttribute('args', ast.openingElement); - if (args) statements.push(`${storyKey}.story.args = ${args};`); + if (args) statements.push(`${storyKey}.args = ${args};`); let parameters = getAttr(ast.openingElement, 'parameters'); parameters = parameters && parameters.expression; @@ -119,16 +118,16 @@ function genStoryExport(ast, context) { const sourceParam = `storySource: { source: '${source}' }`; if (parameters) { const { code: params } = generate(parameters, {}); - statements.push(`${storyKey}.story.parameters = { ${sourceParam}, ...${params} };`); + statements.push(`${storyKey}.parameters = { ${sourceParam}, ...${params} };`); } else { - statements.push(`${storyKey}.story.parameters = { ${sourceParam} };`); + statements.push(`${storyKey}.parameters = { ${sourceParam} };`); } let decorators = getAttr(ast.openingElement, 'decorators'); decorators = decorators && decorators.expression; if (decorators) { const { code: decos } = generate(decorators, {}); - statements.push(`${storyKey}.story.decorators = ${decos};`); + statements.push(`${storyKey}.decorators = ${decos};`); } // eslint-disable-next-line no-param-reassign @@ -336,7 +335,7 @@ function extractExports(node, options) { if (metaExport) { if (!storyExports.length) { storyExports.push('export const __page = () => { throw new Error("Docs-only story"); };'); - storyExports.push('__page.story = { parameters: { docsOnly: true } };'); + storyExports.push('__page.parameters = { docsOnly: true };'); includeStories.push('__page'); } } else { From 22f6ed1e3e67c9c55c5a9af88285306a02bf6148 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 15:05:33 +0800 Subject: [PATCH 29/50] CSF: Update examples to use hoisted CSF story nnnotations --- lib/ui/src/components/sidebar/Sidebar.stories.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/ui/src/components/sidebar/Sidebar.stories.tsx b/lib/ui/src/components/sidebar/Sidebar.stories.tsx index 08283f2a8d7..1c3d8f77d75 100644 --- a/lib/ui/src/components/sidebar/Sidebar.stories.tsx +++ b/lib/ui/src/components/sidebar/Sidebar.stories.tsx @@ -114,11 +114,9 @@ export const darkWithRefs = () => ( ); -darkWithRefs.story = { - parameters: { - backgrounds: { - default: 'dark', - values: [{ name: 'dark', value: '#222222', default: true }], - }, +darkWithRefs.parameters = { + backgrounds: { + default: 'dark', + values: [{ name: 'dark', value: '#222222', default: true }], }, }; From a8e419405d1adb296afcac7fd5baf1d77595a1ce Mon Sep 17 00:00:00 2001 From: Paul Grau Date: Mon, 25 May 2020 16:23:55 +0900 Subject: [PATCH 30/50] Remove babel-preset-vue --- app/vue/package.json | 1 - app/vue/src/server/framework-preset-vue.ts | 7 ------- examples/vue-kitchen-sink/.babelrc | 3 +++ examples/vue-kitchen-sink/package.json | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 examples/vue-kitchen-sink/.babelrc diff --git a/app/vue/package.json b/app/vue/package.json index 67ff2765eec..5e4ccf80c4f 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -47,7 +47,6 @@ "devDependencies": { "@types/node": "^13.13.4", "@types/webpack": "^4.41.12", - "babel-preset-vue": "^2.0.2", "vue": "^2.6.8", "vue-loader": "^15.7.0", "vue-template-compiler": "^2.6.8" diff --git a/app/vue/src/server/framework-preset-vue.ts b/app/vue/src/server/framework-preset-vue.ts index 490aa2d9b81..bf6f79b53ad 100644 --- a/app/vue/src/server/framework-preset-vue.ts +++ b/app/vue/src/server/framework-preset-vue.ts @@ -38,10 +38,3 @@ export function webpack(config: Configuration) { }, }; } - -export function babelDefault(config: any) { - return { - ...config, - presets: [...config.presets, require.resolve('babel-preset-vue')], - }; -} diff --git a/examples/vue-kitchen-sink/.babelrc b/examples/vue-kitchen-sink/.babelrc new file mode 100644 index 00000000000..1b11af8a9a9 --- /dev/null +++ b/examples/vue-kitchen-sink/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["babel-preset-vue"] +} \ No newline at end of file diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 0dc7ee40969..bac075811a5 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -28,6 +28,7 @@ "@storybook/vue": "6.0.0-beta.13", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", + "babel-preset-vue": "^2.0.2", "cross-env": "^7.0.0", "file-loader": "^6.0.0", "prop-types": "^15.7.2", From 4d1a3f410674b84d9c895199eb11ae7770ac0855 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 25 May 2020 15:24:48 +0800 Subject: [PATCH 31/50] CSF: Update documentation to use hoisted CSF annotations --- addons/a11y/README.md | 6 +- addons/backgrounds/README.md | 60 ++++---- addons/docs/angular/README.md | 4 +- addons/docs/common/README.md | 4 +- addons/docs/docs/docspage.md | 4 +- addons/docs/docs/props-tables.md | 26 ++-- addons/docs/docs/recipes.md | 20 ++- addons/docs/ember/README.md | 4 +- addons/jest/README.md | 34 ++--- addons/knobs/README.md | 101 ++++++------- addons/storyshots/storyshots-core/README.md | 136 +++++++++--------- .../storyshots/storyshots-puppeteer/README.md | 31 ++-- addons/viewport/README.md | 12 +- docs/src/pages/addons/using-addons/index.md | 17 +-- docs/src/pages/addons/writing-addons/index.md | 52 ++++--- .../src/pages/basics/writing-stories/index.md | 40 +++--- .../formats/component-story-format/index.md | 20 ++- lib/client-api/README.md | 20 ++- 18 files changed, 278 insertions(+), 313 deletions(-) diff --git a/addons/a11y/README.md b/addons/a11y/README.md index 6ac661f2ba9..17295f69933 100755 --- a/addons/a11y/README.md +++ b/addons/a11y/README.md @@ -40,10 +40,8 @@ If you wish to selectively disable `a11y` checks for a subset of stories, you ca ```js export const MyNonCheckedStory = () => ; -MyNonCheckedStory.story = { - parameters: { - a11y: { disable: true }, - }, +MyNonCheckedStory.parameters = { + a11y: { disable: true }, }; ``` diff --git a/addons/backgrounds/README.md b/addons/backgrounds/README.md index ccca679fbf4..666bb34d906 100644 --- a/addons/backgrounds/README.md +++ b/addons/backgrounds/README.md @@ -20,15 +20,16 @@ Add the following content to it: ```js module.exports = { - addons: ['@storybook/addon-backgrounds'] -} + addons: ['@storybook/addon-backgrounds'], +}; ``` ## Usage -Backgrounds requires two parameters: -* `default` - matches the **name** of the value which will be selected by default. -* `values` - an array of elements containing name and value (with a valid css color e.g. HEX, RGBA, etc.) +Backgrounds requires two parameters: + +- `default` - matches the **name** of the value which will be selected by default. +- `values` - an array of elements containing name and value (with a valid css color e.g. HEX, RGBA, etc.) Write your stories like this: @@ -37,7 +38,7 @@ import React from 'react'; /* * Button.stories.js - * Applies backgrounds to the Stories + * Applies backgrounds to the Stories */ export default { title: 'Button', @@ -52,9 +53,7 @@ export default { }, }; -export const defaultView = () => ( - -); +export const defaultView = () => ; ``` You can add the backgrounds to all stories by using `parameters` in `.storybook/preview.js`: @@ -78,42 +77,35 @@ import React from 'react'; export default { title: 'Button', -} +}; -export const defaultView = () => ( - -); +export const defaultView = () => ; -defaultView.story = { - parameters: { - backgrounds: { - default: 'red', - values: [ - { name: 'red', value: 'rgba(255, 0, 0)' }, - ], - }, - } +defaultView.parameters = { + backgrounds: { + default: 'red', + values: [{ name: 'red', value: 'rgba(255, 0, 0)' }], + }, }; ``` Once you have defined backgrounds for your stories (as can be seen in the examples above), you can set a default background per story by passing the `default` property using a name from the available backgrounds: + ```jsx import React from 'react'; /* * Button.stories.js - * Applies default background to the Stories + * Applies default background to the Stories */ export default { title: 'Button', parameters: { backgrounds: { default: 'twitter' }, }, -} +}; -export const twitterColorSelected = () => ( - -); +export const twitterColorSelected = () => ; ``` If you don't want to use backgrounds for a story, you can set the `backgrounds` parameter to `{ disable: true }` to skip the addon: @@ -123,19 +115,15 @@ import React from 'react'; /* * Button.stories.js - * Disables backgrounds for one Story + * Disables backgrounds for one Story */ export default { title: 'Button', -} +}; -export const disabledBackgrounds = () => ( - -); +export const disabledBackgrounds = () => ; -disabledBackgrounds.story = { - parameters: { - backgrounds: { disable: true }, - }, +disabledBackgrounds.parameters = { + backgrounds: { disable: true }, }; ``` diff --git a/addons/docs/angular/README.md b/addons/docs/angular/README.md index 822d20f6ca1..ea386eb9c7b 100644 --- a/addons/docs/angular/README.md +++ b/addons/docs/angular/README.md @@ -195,8 +195,8 @@ For `DocsPage`, you need to update the parameter locally in a story: ```ts export const basic = () => ... -basic.story = { - parameters: { docs: { iframeHeight: 400 } } +basic.parameters = { + docs: { iframeHeight: 400 } } ``` diff --git a/addons/docs/common/README.md b/addons/docs/common/README.md index 714a2cc9cae..7429bd425da 100644 --- a/addons/docs/common/README.md +++ b/addons/docs/common/README.md @@ -80,8 +80,8 @@ For `DocsPage`, you need to update the parameter locally in a story: ```ts export const basic = () => ... -basic.story = { - parameters: { docs: { iframeHeight: 400 } } +basic.parameters = { + docs: { iframeHeight: 400 } } ``` diff --git a/addons/docs/docs/docspage.md b/addons/docs/docs/docspage.md index 5fe763220f2..ad3710ee1fc 100644 --- a/addons/docs/docs/docspage.md +++ b/addons/docs/docs/docspage.md @@ -110,8 +110,8 @@ export default { import { Button } from './Button'; // export default { ... } export const basic => () => -basic.story = { - parameters: { docs: { page: null } } +basic.parameters = { + docs: { page: null } } ``` diff --git a/addons/docs/docs/props-tables.md b/addons/docs/docs/props-tables.md index cd5305263e0..c6bf85a714f 100644 --- a/addons/docs/docs/props-tables.md +++ b/addons/docs/docs/props-tables.md @@ -148,20 +148,18 @@ export const Batch = ({ labels, padding }) => ( In this case, the args are basically unrelated to the underlying component's props, and are instead related to the individual story. To generate a prop table for the story, you can configure the Story's metadata: ```js -Batch.story = { - argTypes: { - labels: { - description: 'A comma-separated list of labels to display', - defaultValue: 'a,b,c', - control: { type: 'array' } - } - padding: { - description: 'The padding to space out labels int he story', - defaultValue: 4, - control: { type: 'range', min: 0, max: 20, step: 2 }, - } - } -} +Batch.argTypes = { + labels: { + description: 'A comma-separated list of labels to display', + defaultValue: 'a,b,c', + control: { type: 'array' }, + }, + padding: { + description: 'The padding to space out labels int he story', + defaultValue: 4, + control: { type: 'range', min: 0, max: 20, step: 2 }, + }, +}; ``` In this case, the user-specified `argTypes` are not a subset of the component's props, so Storybook shows ONLY the user-specified `argTypes`, and shows the component's props (without controls) in a separate tab. diff --git a/addons/docs/docs/recipes.md b/addons/docs/docs/recipes.md index c514e37f036..5ee6a4ee1c5 100644 --- a/addons/docs/docs/recipes.md +++ b/addons/docs/docs/recipes.md @@ -51,8 +51,8 @@ export default { }; export const basic = () => ; -basic.story = { - parameters: { foo: 'bar' }, +basic.parameters = { + foo: 'bar', }; ``` @@ -199,7 +199,7 @@ User defines stories in CSF and renders docs using DocsPage, but wishes to exclu ```js export const foo = () => ; -foo.story = { parameters: { docs: { disable: true } } }; +foo.parameters = { docs: { disable: true } }; ``` ### MDX Stories @@ -220,11 +220,9 @@ Based on user feedback, it's also possible to control the view mode for an indiv ```js export const Foo = () => ; -Foo.story = { - parameters: { - // reset the view mode to "story" whenever the user navigates to this story - viewMode: 'story', - }, +Foo.parameters = { + // reset the view mode to "story" whenever the user navigates to this story + viewMode: 'story', }; ``` @@ -245,10 +243,8 @@ If you override the `docs.source.code` parameter, the `Source` block will render ```js const Example = () => + ); // Knobs as dynamic variables. export const asDynamicVariables = () => { - const name = text("Name", "James"); - const age = number("Age", 35); + const name = text('Name', 'James'); + const age = number('Age', 35); const content = `I am ${name} and I'm ${age} years old.`; return
{content}
; @@ -59,7 +58,9 @@ export const asDynamicVariables = () => { ``` ### With Vue.js + MyButton.story.js: + ```js import { storiesOf } from '@storybook/vue'; import { withKnobs, text, boolean } from '@storybook/addon-knobs'; @@ -67,8 +68,8 @@ import { withKnobs, text, boolean } from '@storybook/addon-knobs'; import MyButton from './MyButton.vue'; export default { - title: "Storybook Knobs", - decorators: [withKnobs] + title: 'Storybook Knobs', + decorators: [withKnobs], }; // Assign `props` to the story's component, calling @@ -80,17 +81,18 @@ export const exampleWithKnobs = () => ({ components: { MyButton }, props: { isDisabled: { - default: boolean('Disabled', false) + default: boolean('Disabled', false), }, text: { - default: text('Text', 'Hello Storybook') - } + default: text('Text', 'Hello Storybook'), + }, }, - template: `{{ text }}` + template: `{{ text }}`, }); ``` MyButton.vue: + ```vue