Merge branch 'next' into addon-highlight

This commit is contained in:
winkerVSbecks 2022-04-11 19:26:41 -04:00
commit 1c478f9ff3
120 changed files with 1541 additions and 1283 deletions

View File

@ -1,3 +1,42 @@
## 6.5.0-alpha.61 (April 11, 2022)
### Features
- UI: Add URL parameters to SB to tweak visible UI ([#17891](https://github.com/storybookjs/storybook/pull/17891))
### Maintenance
- Core: Followup changing CJS entrypoints to ESM ([#17927](https://github.com/storybookjs/storybook/pull/17927))
### Dependency Upgrades
- Export `createCache` from `@storybook/theming` ([#17929](https://github.com/storybookjs/storybook/pull/17929))
## 6.4.21 (April 9, 2022)
### Bug Fixes
- Angular: Do not use default for includePaths ([#17876](https://github.com/storybookjs/storybook/pull/17876))
- Controls: Fix date control width in addons panel ([#17780](https://github.com/storybookjs/storybook/pull/17780))
- CLI: Preserve quote style in automigrate ([#17858](https://github.com/storybookjs/storybook/pull/17858))
- CLI: Update the exclude list for upgrade warnings ([#17909](https://github.com/storybookjs/storybook/pull/17909))
## 6.5.0-alpha.60 (April 9, 2022)
### Features
- Core: Add story preloading to optimize lazy compilation ([#17903](https://github.com/storybookjs/storybook/pull/17903))
### Bug Fixes
- UI: Fix pseudo class potential unsafe warning ([#17911](https://github.com/storybookjs/storybook/pull/17911))
- Core: Fix user-supplied project-level `render` in v6 store ([#17885](https://github.com/storybookjs/storybook/pull/17885))
### Dependency Upgrades
- Upgrade polished to 4.2.2 ([#17913](https://github.com/storybookjs/storybook/pull/17913))
- Bump min vue-loader dependency version ([#17912](https://github.com/storybookjs/storybook/pull/17912))
## 6.5.0-alpha.59 (April 7, 2022) ## 6.5.0-alpha.59 (April 7, 2022)
### Maintenance ### Maintenance
@ -74,6 +113,21 @@
- Core: Restore preview-web composeConfigs export ([#17861](https://github.com/storybookjs/storybook/pull/17861)) - Core: Restore preview-web composeConfigs export ([#17861](https://github.com/storybookjs/storybook/pull/17861))
- CLI: Preserve quote style in automigrate ([#17858](https://github.com/storybookjs/storybook/pull/17858)) - CLI: Preserve quote style in automigrate ([#17858](https://github.com/storybookjs/storybook/pull/17858))
## 6.4.20 (April 1, 2022)
### Bug Fixes
- CLI: Fix vite/jest issue with mocked global ([#17830](https://github.com/storybookjs/storybook/pull/17830))
- Angular: Fix multiple calls of Input setter ([#17633](https://github.com/storybookjs/storybook/pull/17633))
- Web-components: Fix CSS class usage in CLI template ([#17702](https://github.com/storybookjs/storybook/pull/17702))
- UI: Fix composition support in safari ([#17679](https://github.com/storybookjs/storybook/pull/17679))
- Addon-docs: DocsPage story order should match the index ([#17669](https://github.com/storybookjs/storybook/pull/17669))
- Core: Fix core.builder check ([#17606](https://github.com/storybookjs/storybook/pull/17606))
### Maintenance
- CLI: Add automigration to `@storybook/builder-vite` ([#17829](https://github.com/storybookjs/storybook/pull/17829))
## 6.5.0-alpha.54 (April 1, 2022) ## 6.5.0-alpha.54 (April 1, 2022)
### Dependency Upgrades ### Dependency Upgrades
@ -258,6 +312,21 @@
- Build: Fix CRA repro generator and e2e test in PnP mode ([#17375](https://github.com/storybookjs/storybook/pull/17375)) - Build: Fix CRA repro generator and e2e test in PnP mode ([#17375](https://github.com/storybookjs/storybook/pull/17375))
- UI: Add a custom title story for heading component ([#17487](https://github.com/storybookjs/storybook/pull/17487)) - UI: Add a custom title story for heading component ([#17487](https://github.com/storybookjs/storybook/pull/17487))
## 6.4.19 (February 12, 2022)
### Features
- CLI/React: Add interactions to cli template ([#17345](https://github.com/storybookjs/storybook/pull/17345))
- CLI/Angular: Add interactions to cli template ([#17437](https://github.com/storybookjs/storybook/pull/17437))
### Bug Fixes
- Core/CLI: Add `extract` function to `PreviewWeb` and use it in `sb extract` if available ([#17447](https://github.com/storybookjs/storybook/pull/17447))
- Core: Ensure we show an error when `configure()` throws ([#17435](https://github.com/storybookjs/storybook/pull/17435))
- Core: Fix `useParameter` with nullish coalescing ([#17327](https://github.com/storybookjs/storybook/pull/17327))
- Addon-links: Fix export statement in react.d.ts ([#17434](https://github.com/storybookjs/storybook/pull/17434))
- Addon-docs: Fix typo in ArgsTable tooltip ([#17404](https://github.com/storybookjs/storybook/pull/17404))
## 6.5.0-alpha.39 (February 11, 2022) ## 6.5.0-alpha.39 (February 11, 2022)
### Features ### Features

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-a11y", "name": "@storybook/addon-a11y",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Test component compliance with web accessibility standards", "description": "Test component compliance with web accessibility standards",
"keywords": [ "keywords": [
"a11y", "a11y",
@ -45,15 +45,15 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addon-highlight": "6.5.0-alpha.59", "@storybook/addon-highlight": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"axe-core": "^4.2.0", "axe-core": "^4.2.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
@ -82,7 +82,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Accessibility", "displayName": "Accessibility",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-actions", "name": "@storybook/addon-actions",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Get UI feedback when an action is performed on an interactive element", "description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [ "keywords": [
"storybook", "storybook",
@ -41,18 +41,18 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
"global": "^4.4.0", "global": "^4.4.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"polished": "^4.0.5", "polished": "^4.2.2",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react-inspector": "^5.1.0", "react-inspector": "^5.1.0",
"regenerator-runtime": "^0.13.7", "regenerator-runtime": "^0.13.7",
@ -80,7 +80,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Actions", "displayName": "Actions",

View File

@ -25,7 +25,7 @@ const serializeArg = <T>(a: T) => {
); );
e.persist(); e.persist();
const viewDescriptor = Object.getOwnPropertyDescriptor(e, 'view'); const viewDescriptor = Object.getOwnPropertyDescriptor(e, 'view');
// dont send the entire window object over. // don't send the entire window object over.
const view: unknown = viewDescriptor?.value; const view: unknown = viewDescriptor?.value;
if (typeof view === 'object' && view?.constructor.name === 'Window') { if (typeof view === 'object' && view?.constructor.name === 'Window') {
Object.defineProperty(e, 'view', { Object.defineProperty(e, 'view', {

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-backgrounds", "name": "@storybook/addon-backgrounds",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Switch backgrounds to view components in different settings", "description": "Switch backgrounds to view components in different settings",
"keywords": [ "keywords": [
"addon", "addon",
@ -45,13 +45,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"memoizerific": "^1.11.3", "memoizerific": "^1.11.3",
@ -77,7 +77,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Backgrounds", "displayName": "Backgrounds",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-controls", "name": "@storybook/addon-controls",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Interact with component inputs dynamically in the Storybook UI", "description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [ "keywords": [
"addon", "addon",
@ -45,15 +45,15 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"ts-dedent": "^2.0.0" "ts-dedent": "^2.0.0"
@ -73,7 +73,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/manager.js", "sbmodern": "dist/modern/manager.js",
"storybook": { "storybook": {
"displayName": "Controls", "displayName": "Controls",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-docs", "name": "@storybook/addon-docs",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Document component usage and properties in Markdown", "description": "Document component usage and properties in Markdown",
"keywords": [ "keywords": [
"addon", "addon",
@ -59,20 +59,20 @@
"@babel/preset-env": "^7.12.11", "@babel/preset-env": "^7.12.11",
"@jest/transform": "^26.6.2", "@jest/transform": "^26.6.2",
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/mdx1-csf": "canary", "@storybook/mdx1-csf": "canary",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/postinstall": "6.5.0-alpha.59", "@storybook/postinstall": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
@ -108,7 +108,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Docs", "displayName": "Docs",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-essentials", "name": "@storybook/addon-essentials",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Curated addons to bring out the best of Storybook", "description": "Curated addons to bring out the best of Storybook",
"keywords": [ "keywords": [
"addon", "addon",
@ -39,26 +39,26 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-highlight": "6.5.0-alpha.59", "@storybook/addon-highlight": "6.5.0-alpha.61",
"@storybook/addon-measure": "6.5.0-alpha.59", "@storybook/addon-measure": "6.5.0-alpha.61",
"@storybook/addon-outline": "6.5.0-alpha.59", "@storybook/addon-outline": "6.5.0-alpha.61",
"@storybook/addon-toolbars": "6.5.0-alpha.59", "@storybook/addon-toolbars": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7", "regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0" "ts-dedent": "^2.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/vue": "6.5.0-alpha.59", "@storybook/vue": "6.5.0-alpha.61",
"@types/jest": "^26.0.16", "@types/jest": "^26.0.16",
"@types/webpack-env": "^1.16.0" "@types/webpack-env": "^1.16.0"
}, },
@ -121,6 +121,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-highlight", "name": "@storybook/addon-highlight",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Highlight DOM nodes within your stories", "description": "Highlight DOM nodes within your stories",
"keywords": [ "keywords": [
"storybook-addons", "storybook-addons",
@ -43,8 +43,8 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0" "global": "^4.4.0"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-interactions", "name": "@storybook/addon-interactions",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Automate, test and debug user interactions", "description": "Automate, test and debug user interactions",
"keywords": [ "keywords": [
"storybook-addons", "storybook-addons",
@ -41,19 +41,19 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/instrumenter": "6.5.0-alpha.59", "@storybook/instrumenter": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"jest-mock": "^27.0.6", "jest-mock": "^27.0.6",
"polished": "^4.0.5", "polished": "^4.2.2",
"ts-dedent": "^2.2.0" "ts-dedent": "^2.2.0"
}, },
"devDependencies": { "devDependencies": {
@ -76,7 +76,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Interactions", "displayName": "Interactions",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-jest", "name": "@storybook/addon-jest",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "React storybook addon that show component jest report", "description": "React storybook addon that show component jest report",
"keywords": [ "keywords": [
"addon", "addon",
@ -47,12 +47,12 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"react-sizeme": "^3.0.1", "react-sizeme": "^3.0.1",
@ -77,7 +77,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Jest", "displayName": "Jest",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-links", "name": "@storybook/addon-links",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Link stories together to build demos and prototypes with your UI components", "description": "Link stories together to build demos and prototypes with your UI components",
"keywords": [ "keywords": [
"addon", "addon",
@ -41,11 +41,11 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@types/qs": "^6.9.5", "@types/qs": "^6.9.5",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
@ -72,7 +72,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Links", "displayName": "Links",

View File

@ -1 +1,3 @@
module.exports = require('./dist/esm/react'); import LinkTo from './dist/esm/react';
export default LinkTo;

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-measure", "name": "@storybook/addon-measure",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Inspect layouts by visualizing the box model", "description": "Inspect layouts by visualizing the box model",
"keywords": [ "keywords": [
"storybook-addons", "storybook-addons",
@ -44,11 +44,11 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0" "global": "^4.4.0"
@ -71,7 +71,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Measure", "displayName": "Measure",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-outline", "name": "@storybook/addon-outline",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Outline all elements with CSS to help with layout placement and alignment", "description": "Outline all elements with CSS to help with layout placement and alignment",
"keywords": [ "keywords": [
"storybook-addons", "storybook-addons",
@ -47,11 +47,11 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
@ -76,7 +76,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Outline", "displayName": "Outline",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-storyshots", "name": "@storybook/addon-storyshots",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Take a code snapshot of every story automatically with Jest", "description": "Take a code snapshot of every story automatically with Jest",
"keywords": [ "keywords": [
"addon", "addon",
@ -45,12 +45,12 @@
}, },
"dependencies": { "dependencies": {
"@jest/transform": "^26.6.2", "@jest/transform": "^26.6.2",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/babel-plugin-require-context-hook": "1.0.1", "@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@types/glob": "^7.1.3", "@types/glob": "^7.1.3",
"@types/jest": "^26.0.16", "@types/jest": "^26.0.16",
@ -70,11 +70,11 @@
"@angular/core": "^11.2.0", "@angular/core": "^11.2.0",
"@angular/platform-browser-dynamic": "^11.2.0", "@angular/platform-browser-dynamic": "^11.2.0",
"@emotion/jest": "^11.8.0", "@emotion/jest": "^11.8.0",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/angular": "6.5.0-alpha.59", "@storybook/angular": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/vue": "6.5.0-alpha.59", "@storybook/vue": "6.5.0-alpha.61",
"@storybook/vue3": "6.5.0-alpha.59", "@storybook/vue3": "6.5.0-alpha.61",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"enzyme": "^3.11.0", "enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1", "enzyme-to-json": "^3.6.1",
@ -151,7 +151,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"storybook": { "storybook": {
"displayName": "Storyshots", "displayName": "Storyshots",
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png", "icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-storyshots-puppeteer", "name": "@storybook/addon-storyshots-puppeteer",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Image snapshots addition to StoryShots based on puppeteer", "description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [ "keywords": [
"addon", "addon",
@ -42,7 +42,7 @@
"dependencies": { "dependencies": {
"@axe-core/puppeteer": "^4.2.0", "@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@types/jest-image-snapshot": "^4.1.3", "@types/jest-image-snapshot": "^4.1.3",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"jest-image-snapshot": "^4.3.0", "jest-image-snapshot": "^4.3.0",
@ -53,7 +53,7 @@
"@types/puppeteer": "^5.4.0" "@types/puppeteer": "^5.4.0"
}, },
"peerDependencies": { "peerDependencies": {
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"puppeteer": "^2.0.0 || ^3.0.0" "puppeteer": "^2.0.0 || ^3.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
@ -64,5 +64,5 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0" "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-storysource", "name": "@storybook/addon-storysource",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "View a storys source code to see how it works and paste into your app", "description": "View a storys source code to see how it works and paste into your app",
"keywords": [ "keywords": [
"addon", "addon",
@ -41,13 +41,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"estraverse": "^5.2.0", "estraverse": "^5.2.0",
"loader-utils": "^2.0.0", "loader-utils": "^2.0.0",
@ -74,7 +74,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js", "sbmodern": "dist/modern/index.js",
"storybook": { "storybook": {
"displayName": "Storysource", "displayName": "Storysource",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-toolbars", "name": "@storybook/addon-toolbars",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Create your own toolbar items that control story rendering", "description": "Create your own toolbar items that control story rendering",
"keywords": [ "keywords": [
"addon", "addon",
@ -45,11 +45,11 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7" "regenerator-runtime": "^0.13.7"
}, },
@ -68,7 +68,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/manager.js", "sbmodern": "dist/modern/manager.js",
"storybook": { "storybook": {
"displayName": "Toolbars", "displayName": "Toolbars",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addon-viewport", "name": "@storybook/addon-viewport",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Build responsive components by adjusting Storybooks viewport size and orientation", "description": "Build responsive components by adjusting Storybooks viewport size and orientation",
"keywords": [ "keywords": [
"addon", "addon",
@ -42,12 +42,12 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"memoizerific": "^1.11.3", "memoizerific": "^1.11.3",
@ -69,7 +69,7 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/preview.js", "sbmodern": "dist/modern/preview.js",
"storybook": { "storybook": {
"displayName": "Viewport", "displayName": "Viewport",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/angular", "name": "@storybook/angular",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,17 +45,17 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23", "@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14", "@types/react-dom": "^16.9.14",
@ -137,5 +137,5 @@
"access": "public" "access": "public"
}, },
"builders": "dist/ts3.9/builders/builders.json", "builders": "dist/ts3.9/builders/builders.json",
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0" "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/ember", "name": "@storybook/ember",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember", "homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
"bugs": { "bugs": {
@ -42,10 +42,10 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"react": "16.14.0", "react": "16.14.0",
@ -66,6 +66,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/html", "name": "@storybook/html",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,13 +45,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -76,6 +76,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/preact", "name": "@storybook/preact",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Preact: Develop Preact Component in isolation.", "description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -46,11 +46,11 @@
}, },
"dependencies": { "dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12", "@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -76,6 +76,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/react", "name": "@storybook/react",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -49,16 +49,16 @@
"@babel/preset-flow": "^7.12.1", "@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10", "@babel/preset-react": "^7.12.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", "@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/estree": "^0.0.51", "@types/estree": "^0.0.51",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
@ -119,6 +119,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/server", "name": "@storybook/server",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,15 +45,15 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -76,6 +76,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/svelte", "name": "@storybook/svelte",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -46,14 +46,14 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"loader-utils": "^2.0.0", "loader-utils": "^2.0.0",
@ -83,6 +83,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/vue", "name": "@storybook/vue",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,13 +45,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -86,6 +86,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/vue3", "name": "@storybook/vue3",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,12 +45,12 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -63,7 +63,7 @@
"ts-loader": "^8.0.14", "ts-loader": "^8.0.14",
"vue-docgen-api": "^4.44.15", "vue-docgen-api": "^4.44.15",
"vue-docgen-loader": "^1.5.0", "vue-docgen-loader": "^1.5.0",
"vue-loader": "^16.0.0", "vue-loader": "^16.4.1",
"webpack": ">=4.0.0 <6.0.0" "webpack": ">=4.0.0 <6.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -83,6 +83,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/web-components", "name": "@storybook/web-components",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [ "keywords": [
"lit-html", "lit-html",
@ -50,15 +50,15 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.11", "@babel/preset-env": "^7.12.11",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"babel-plugin-bundled-import-meta": "^0.3.1", "babel-plugin-bundled-import-meta": "^0.3.1",
@ -82,6 +82,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/client/index.js" "sbmodern": "dist/modern/client/index.js"
} }

View File

@ -4,7 +4,7 @@ title: 'Add to the addon catalog'
Storybook addons are listed in the [catalog](/addons) and distributed via npm. The catalog is populated by querying npm's registry for Storybook-specific metadata in `package.json`. Storybook addons are listed in the [catalog](/addons) and distributed via npm. The catalog is populated by querying npm's registry for Storybook-specific metadata in `package.json`.
Add your addon to the catalog by publishing an npm package that follows these requirements: Add your addon to the catalog by publishing a npm package that follows these requirements:
- `package.json` with [module information](./writing-addons.md#get-started) and [addon metadata](#addon-metadata) - `package.json` with [module information](./writing-addons.md#get-started) and [addon metadata](#addon-metadata)
- `README.md` file with installation and configuration instructions - `README.md` file with installation and configuration instructions

View File

@ -22,7 +22,7 @@ The **Preview** area is an `iframe` where your stories are rendered.
![Storybook detailed window](./manager-preview.jpg) ![Storybook detailed window](./manager-preview.jpg)
Because both elements run in their own separate `iframes`, they use a communication channel to keep in synch. For example when you select a story in the Manager a event is dispatched across the channel notifying the Preview to render the story. Because both elements run in their own separate `iframes`, they use a communication channel to keep in sync. For example when you select a story in the Manager an event is dispatched across the channel notifying the Preview to render the story.
## Anatomy of an addon ## Anatomy of an addon

View File

@ -110,7 +110,7 @@ yarn start:skip-addons
``` ```
<div class="aside"> <div class="aside">
💡 During the start process if there's an issue with the the documentation, the process will stop and you'll get a notification. 💡 During the start process if there's an issue with the documentation, the process will stop and you'll get a notification.
</div> </div>
Open a browser window to `http://localhost:8000`, click the Docs link, and select your framework from the dropdown. Open a browser window to `http://localhost:8000`, click the Docs link, and select your framework from the dropdown.

View File

@ -11,7 +11,7 @@ Storybook Controls gives you a graphical UI to interact with a component's argum
/> />
</video> </video>
Controls does not require any modification to your components. Stories for controls are: Controls do not require any modification to your components. Stories for controls are:
- Convenient. Auto-generate controls based on React/Vue/Angular/etc. components. - Convenient. Auto-generate controls based on React/Vue/Angular/etc. components.
- Portable. Reuse your interactive stories in documentation, tests, and even in designs. - Portable. Reuse your interactive stories in documentation, tests, and even in designs.

View File

@ -13,7 +13,7 @@ const { Accessible } = composeStories(MyComponentStories);
expect.extend(toHaveNoViolations); expect.extend(toHaveNoViolations);
test('Example accessiblity test', async () => { test('Example accessibility test', async () => {
const { container } = render(<Accessible />); const { container } = render(<Accessible />);
const AxeResults = await axe(container); const AxeResults = await axe(container);

View File

@ -3,7 +3,7 @@
import { Meta } from '@storybook/addon-docs'; import { Meta } from '@storybook/addon-docs';
import Button from './Button.svelte'; import Button from './Button.svelte';
<!-- 👇 Creates specific parameters for the story --> <!-- 👇 Creates specific parameters for the story -->
<Meta <Meta

View File

@ -13,7 +13,7 @@ const { Accessible } = composeStories(MyComponentStories);
expect.extend(toHaveNoViolations); expect.extend(toHaveNoViolations);
test('Example accessiblity test', async () => { test('Example accessibility test', async () => {
const { container } = render(Accessible()); const { container } = render(Accessible());
const AxeResults = await axe(container); const AxeResults = await axe(container);

View File

@ -1 +1 @@
{"version":"6.5.0-alpha.59","info":{"plain":"### Maintenance\n\n- CLI: Update the exclude list for upgrade warnings ([#17909](https://github.com/storybookjs/storybook/pull/17909))\n- Examples: Added an external-docs example to show the basic use case ([#17807](https://github.com/storybookjs/storybook/pull/17807))\n\n### Dependency Upgrades\n\n- Migration to Emotion 11 ([#17640](https://github.com/storybookjs/storybook/pull/17640))"}} {"version":"6.5.0-alpha.61","info":{"plain":"### Features\n\n- UI: Add URL parameters to SB to tweak visible UI ([#17891](https://github.com/storybookjs/storybook/pull/17891))\n\n### Maintenance\n\n- Core: Followup changing CJS entrypoints to ESM ([#17927](https://github.com/storybookjs/storybook/pull/17927))\n\n### Dependency Upgrades\n\n- Export `createCache` from `@storybook/theming` ([#17929](https://github.com/storybookjs/storybook/pull/17929))"}}

View File

@ -119,7 +119,7 @@ Then, update your `tsconfig.json` to include the following:
} }
``` ```
Finally write your custom React component and and update the `docs.page` [parameter](../writing-stories/parameters.md) to render the custom documentation. Finally write your custom React component and update the `docs.page` [parameter](../writing-stories/parameters.md) to render the custom documentation.
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->

View File

@ -150,7 +150,7 @@ Disable accessibility testing for stories or components by adding the following
## Automate accessibility tests with Jest ## Automate accessibility tests with Jest
Accessibility testing with Storybook shortens the feedback loop which means you fix issues faster. Reuse stories in a Jest test and run an accessibility audit on them using the the [jest-axe integration](https://github.com/nickcolley/jest-axe). That also unlocks the ability to integrate accessibility tests into your functional testing pipeline. Accessibility testing with Storybook shortens the feedback loop which means you fix issues faster. Reuse stories in a Jest test and run an accessibility audit on them using the [jest-axe integration](https://github.com/nickcolley/jest-axe). That also unlocks the ability to integrate accessibility tests into your functional testing pipeline.
For example, include the following test file to run an accessibility test on a story: For example, include the following test file to run an accessibility test on a story:

View File

@ -1,6 +1,6 @@
{ {
"name": "angular-cli", "name": "angular-cli",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
@ -39,21 +39,21 @@
"@angular/compiler-cli": "^11.2.14", "@angular/compiler-cli": "^11.2.14",
"@angular/elements": "^11.2.14", "@angular/elements": "^11.2.14",
"@compodoc/compodoc": "^1.1.18", "@compodoc/compodoc": "^1.1.18",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-jest": "6.5.0-alpha.59", "@storybook/addon-jest": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/angular": "6.5.0-alpha.59", "@storybook/angular": "6.5.0-alpha.61",
"@storybook/babel-plugin-require-context-hook": "1.0.1", "@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/jest": "^0.0.5", "@storybook/jest": "^0.0.5",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/testing-library": "^0.0.7", "@storybook/testing-library": "^0.0.7",
"@types/core-js": "^2.5.4", "@types/core-js": "^2.5.4",
"@types/jest": "^26.0.16", "@types/jest": "^26.0.16",

View File

@ -1,6 +1,6 @@
{ {
"name": "cra-kitchen-sink", "name": "cra-kitchen-sink",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "react-scripts build", "build": "react-scripts build",
@ -11,7 +11,7 @@
"test": "react-scripts test --env=jsdom" "test": "react-scripts test --env=jsdom"
}, },
"dependencies": { "dependencies": {
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"global": "^4.4.0", "global": "^4.4.0",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "16.14.0", "react": "16.14.0",
@ -21,19 +21,19 @@
}, },
"devDependencies": { "devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0", "@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
"@storybook/addon-jest": "6.5.0-alpha.59", "@storybook/addon-jest": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/preset-create-react-app": "^3.1.6", "@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"webpack": "4" "webpack": "4"
}, },
"storybook": { "storybook": {

View File

@ -1,6 +1,6 @@
{ {
"name": "cra-react15", "name": "cra-react15",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "react-scripts build", "build": "react-scripts build",
@ -19,14 +19,14 @@
"react-scripts": "3.4.4" "react-scripts": "3.4.4"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0", "@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/preset-create-react-app": "^3.1.6", "@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"babel-core": "6", "babel-core": "6",
"babel-runtime": "6", "babel-runtime": "6",
"webpack": "4" "webpack": "4"

View File

@ -1,6 +1,6 @@
{ {
"name": "cra-ts-essentials", "name": "cra-ts-essentials",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "react-scripts build", "build": "react-scripts build",
@ -23,8 +23,8 @@
] ]
}, },
"dependencies": { "dependencies": {
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@types/jest": "^26.0.16", "@types/jest": "^26.0.16",
"@types/node": "^14.14.20 || ^16.0.0", "@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23", "@types/react": "^16.14.23",
@ -37,12 +37,12 @@
"typescript": "^3.9.7" "typescript": "^3.9.7"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0", "@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/preset-create-react-app": "^3.1.6", "@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/testing-library": "^0.0.9", "@storybook/testing-library": "^0.0.9",
"webpack": "4" "webpack": "4"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "cra-ts-kitchen-sink", "name": "cra-ts-kitchen-sink",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "react-scripts build", "build": "react-scripts build",
@ -34,15 +34,15 @@
"typescript": "^3.9.7" "typescript": "^3.9.7"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0", "@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/preset-create-react-app": "^3.1.6", "@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@types/enzyme": "^3.10.8", "@types/enzyme": "^3.10.8",
"enzyme": "^3.11.0", "enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.9.1", "enzyme-adapter-react-16": "^1.9.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "ember-example", "name": "ember-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "ember build --output-path ember-output", "build": "ember build --output-path ember-output",
@ -17,18 +17,18 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@ember/optional-features": "^2.0.0", "@ember/optional-features": "^2.0.0",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/ember": "6.5.0-alpha.59", "@storybook/ember": "6.5.0-alpha.61",
"@storybook/ember-cli-storybook": "^0.2.1", "@storybook/ember-cli-storybook": "^0.2.1",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"broccoli-asset-rev": "^3.0.0", "broccoli-asset-rev": "^3.0.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/external-docs", "name": "@storybook/external-docs",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./src/.storybook", "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./src/.storybook",
@ -10,13 +10,13 @@
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c ./src/.storybook" "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c ./src/.storybook"
}, },
"dependencies": { "dependencies": {
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.87bc651.0", "@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"formik": "^2.2.9", "formik": "^2.2.9",
"prop-types": "15.7.2", "prop-types": "15.7.2",
"react": "16.14.0", "react": "16.14.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "html-kitchen-sink", "name": "html-kitchen-sink",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"description": "", "description": "",
"keywords": [], "keywords": [],
@ -13,23 +13,23 @@
"storybook": "start-storybook -p 9006 --no-manager-cache" "storybook": "start-storybook -p 9006 --no-manager-cache"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-jest": "6.5.0-alpha.59", "@storybook/addon-jest": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-postcss": "^2.0.0", "@storybook/addon-postcss": "^2.0.0",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/html": "6.5.0-alpha.59", "@storybook/html": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"autoprefixer": "^10.0.1", "autoprefixer": "^10.0.1",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"format-json": "^1.0.3", "format-json": "^1.0.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "official-storybook", "name": "official-storybook",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./", "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
@ -13,32 +13,32 @@
"devDependencies": { "devDependencies": {
"@emotion/jest": "^11.8.0", "@emotion/jest": "^11.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-highlight": "6.5.0-alpha.59", "@storybook/addon-highlight": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-jest": "6.5.0-alpha.59", "@storybook/addon-jest": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.59", "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-toolbars": "6.5.0-alpha.59", "@storybook/addon-toolbars": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/cli": "6.5.0-alpha.59", "@storybook/cli": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/design-system": "^5.4.7", "@storybook/design-system": "^5.4.7",
"@storybook/jest": "^0.0.5", "@storybook/jest": "^0.0.5",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/testing-library": "^0.0.7", "@storybook/testing-library": "^0.0.7",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@testing-library/dom": "^7.31.2", "@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9", "@testing-library/user-event": "^13.1.9",
"chromatic": "^6.0.2", "chromatic": "^6.0.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "preact-example", "name": "preact-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules", "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -15,16 +15,16 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10", "@babel/plugin-transform-runtime": "^7.12.10",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/preact": "6.5.0-alpha.59", "@storybook/preact": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@types/prop-types": "^15.7.3", "@types/prop-types": "^15.7.3",
"@types/react": "^17", "@types/react": "^17",
"@types/react-dom": "^17", "@types/react-dom": "^17",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/example-react-ts-webpack4", "name": "@storybook/example-react-ts-webpack4",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./", "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
@ -8,10 +8,10 @@
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-manager-cache" "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-manager-cache"
}, },
"dependencies": { "dependencies": {
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@types/react": "^16.14.23", "@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14", "@types/react-dom": "^16.9.14",
"prop-types": "15.7.2", "prop-types": "15.7.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/example-react-ts", "name": "@storybook/example-react-ts",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook", "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook",
@ -18,13 +18,13 @@
"@babel/preset-env": "^7.12.11", "@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10", "@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7", "@babel/preset-typescript": "^7.12.7",
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/cli": "6.5.0-alpha.59", "@storybook/cli": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@testing-library/dom": "^7.31.2", "@testing-library/dom": "^7.31.2",
"@testing-library/react": "12.1.2", "@testing-library/react": "12.1.2",
"@testing-library/user-event": "^13.1.9", "@testing-library/user-event": "^13.1.9",

View File

@ -1,6 +1,6 @@
{ {
"name": "server-kitchen-sink", "name": "server-kitchen-sink",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"description": "", "description": "",
"keywords": [], "keywords": [],
@ -14,13 +14,13 @@
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet" "storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/server": "6.5.0-alpha.59", "@storybook/server": "6.5.0-alpha.61",
"concurrently": "^5.3.0", "concurrently": "^5.3.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "~4.17.1", "express": "~4.17.1",

View File

@ -1,15 +1,15 @@
{ {
"name": "standalone-preview", "name": "standalone-preview",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html", "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html",
"storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337" "storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/cli": "6.5.0-alpha.59", "@storybook/cli": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"parcel": "2.0.1", "parcel": "2.0.1",
"react": "16.14.0", "react": "16.14.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "svelte-example", "name": "svelte-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build-storybook": "build-storybook", "build-storybook": "build-storybook",
@ -10,20 +10,20 @@
"global": "^4.4.0" "global": "^4.4.0"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/jest": "^0.0.5", "@storybook/jest": "^0.0.5",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/svelte": "6.5.0-alpha.59", "@storybook/svelte": "6.5.0-alpha.61",
"@storybook/testing-library": "^0.0.7", "@storybook/testing-library": "^0.0.7",
"svelte-jester": "1.3.0", "svelte-jester": "1.3.0",
"svelte-preprocess": "4.6.8" "svelte-preprocess": "4.6.8"

View File

@ -1,6 +1,6 @@
{ {
"name": "vue-3-cli-example", "name": "vue-3-cli-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "vue-cli-service build", "build": "vue-cli-service build",
@ -14,14 +14,14 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/jest": "^0.0.5", "@storybook/jest": "^0.0.5",
"@storybook/testing-library": "^0.0.7", "@storybook/testing-library": "^0.0.7",
"@storybook/vue3": "6.5.0-alpha.59", "@storybook/vue3": "6.5.0-alpha.61",
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0", "@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "~4.5.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "vue-cli-example", "name": "vue-cli-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "vue-cli-service build", "build": "vue-cli-service build",
@ -15,11 +15,11 @@
"vue-property-decorator": "^9.1.2" "vue-property-decorator": "^9.1.2"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/preset-scss": "^1.0.3", "@storybook/preset-scss": "^1.0.3",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/vue": "6.5.0-alpha.59", "@storybook/vue": "6.5.0-alpha.61",
"@vue/cli-plugin-babel": "~4.3.1", "@vue/cli-plugin-babel": "~4.3.1",
"@vue/cli-plugin-typescript": "~4.3.1", "@vue/cli-plugin-typescript": "~4.3.1",
"@vue/cli-service": "~4.3.1", "@vue/cli-service": "~4.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "vue-example", "name": "vue-example",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules", "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -14,21 +14,21 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/jest": "^0.0.5", "@storybook/jest": "^0.0.5",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/testing-library": "^0.0.7", "@storybook/testing-library": "^0.0.7",
"@storybook/vue": "6.5.0-alpha.59", "@storybook/vue": "6.5.0-alpha.61",
"@vue/babel-preset-jsx": "^1.2.4", "@vue/babel-preset-jsx": "^1.2.4",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "web-components-kitchen-sink", "name": "web-components-kitchen-sink",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"private": true, "private": true,
"description": "", "description": "",
"keywords": [], "keywords": [],

View File

@ -2,5 +2,5 @@
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"registry": "https://registry.npmjs.org", "registry": "https://registry.npmjs.org",
"version": "6.5.0-alpha.59" "version": "6.5.0-alpha.61"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/addons", "name": "@storybook/addons",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook addons store", "description": "Storybook addons store",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,13 +40,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
@ -59,6 +59,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/public_api.js" "sbmodern": "dist/modern/public_api.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/api", "name": "@storybook/api",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Core Storybook API & Context", "description": "Core Storybook API & Context",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -38,13 +38,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
"global": "^4.4.0", "global": "^4.4.0",
@ -71,6 +71,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,3 +1,4 @@
import memoize from 'memoizerific';
import React from 'react'; import React from 'react';
import deprecate from 'util-deprecate'; import deprecate from 'util-deprecate';
import dedent from 'ts-dedent'; import dedent from 'ts-dedent';
@ -327,3 +328,17 @@ export function isStory(item: Item): item is Story {
} }
return false; return false;
} }
export const getComponentLookupList = memoize(1)((hash: StoriesHash) => {
return Object.entries(hash).reduce((acc, i) => {
const value = i[1];
if (value.isComponent) {
acc.push([...i[1].children]);
}
return acc;
}, [] as StoryId[][]);
});
export const getStoriesLookupList = memoize(1)((hash: StoriesHash) => {
return Object.keys(hash).filter((k) => !(hash[k].children || Array.isArray(hash[k])));
});

View File

@ -1,6 +1,7 @@
import global from 'global'; import global from 'global';
import { toId, sanitize } from '@storybook/csf'; import { toId, sanitize } from '@storybook/csf';
import { import {
PRELOAD_STORIES,
STORY_PREPARED, STORY_PREPARED,
UPDATE_STORY_ARGS, UPDATE_STORY_ARGS,
RESET_STORY_ARGS, RESET_STORY_ARGS,
@ -22,7 +23,10 @@ import {
isStory, isStory,
isRoot, isRoot,
transformStoryIndexToStoriesHash, transformStoryIndexToStoriesHash,
getComponentLookupList,
getStoriesLookupList,
} from '../lib/stories'; } from '../lib/stories';
import type { import type {
StoriesHash, StoriesHash,
Story, Story,
@ -77,6 +81,12 @@ export interface SubAPI {
updateStoryArgs(story: Story, newArgs: Args): void; updateStoryArgs(story: Story, newArgs: Args): void;
resetStoryArgs: (story: Story, argNames?: string[]) => void; resetStoryArgs: (story: Story, argNames?: string[]) => void;
findLeafStoryId(StoriesHash: StoriesHash, storyId: StoryId): StoryId; findLeafStoryId(StoriesHash: StoriesHash, storyId: StoryId): StoryId;
findSiblingStoryId(
storyId: StoryId,
hash: StoriesHash,
direction: Direction,
toSiblingGroup: boolean // when true, skip over leafs within the same group
): StoryId;
fetchStoryList: () => Promise<void>; fetchStoryList: () => Promise<void>;
setStoryList: (storyList: StoryIndex) => Promise<void>; setStoryList: (storyList: StoryIndex) => Promise<void>;
updateStory: (storyId: StoryId, update: StoryUpdate, ref?: ComposedRef) => Promise<void>; updateStory: (storyId: StoryId, update: StoryUpdate, ref?: ComposedRef) => Promise<void>;
@ -187,26 +197,7 @@ export const init: ModuleFn = ({
} }
const hash = refId ? refs[refId].stories || {} : storiesHash; const hash = refId ? refs[refId].stories || {} : storiesHash;
const result = api.findSiblingStoryId(storyId, hash, direction, true);
const lookupList = Object.entries(hash).reduce((acc, i) => {
const value = i[1];
if (value.isComponent) {
acc.push([...i[1].children]);
}
return acc;
}, []);
const index = lookupList.findIndex((i) => i.includes(storyId));
// cannot navigate beyond fist or last
if (index === lookupList.length - 1 && direction > 0) {
return;
}
if (index === 0 && direction < 0) {
return;
}
const result = lookupList[index + direction][0];
if (result) { if (result) {
api.selectStory(result, undefined, { ref: refId }); api.selectStory(result, undefined, { ref: refId });
@ -227,21 +218,7 @@ export const init: ModuleFn = ({
} }
const hash = story.refId ? refs[story.refId].stories : storiesHash; const hash = story.refId ? refs[story.refId].stories : storiesHash;
const result = api.findSiblingStoryId(storyId, hash, direction, false);
const lookupList = Object.keys(hash).filter(
(k) => !(hash[k].children || Array.isArray(hash[k]))
);
const index = lookupList.indexOf(storyId);
// cannot navigate beyond fist or last
if (index === lookupList.length - 1 && direction > 0) {
return;
}
if (index === 0 && direction < 0) {
return;
}
const result = lookupList[index + direction];
if (result) { if (result) {
api.selectStory(result, undefined, { ref: refId }); api.selectStory(result, undefined, { ref: refId });
@ -332,6 +309,39 @@ export const init: ModuleFn = ({
const childStoryId = storiesHash[storyId].children[0]; const childStoryId = storiesHash[storyId].children[0];
return api.findLeafStoryId(storiesHash, childStoryId); return api.findLeafStoryId(storiesHash, childStoryId);
}, },
findSiblingStoryId(storyId, hash, direction, toSiblingGroup) {
if (toSiblingGroup) {
const lookupList = getComponentLookupList(hash);
const index = lookupList.findIndex((i) => i.includes(storyId));
// cannot navigate beyond fist or last
if (index === lookupList.length - 1 && direction > 0) {
return;
}
if (index === 0 && direction < 0) {
return;
}
if (lookupList[index + direction]) {
// eslint-disable-next-line consistent-return
return lookupList[index + direction][0];
}
return;
}
const lookupList = getStoriesLookupList(hash);
const index = lookupList.indexOf(storyId);
// cannot navigate beyond fist or last
if (index === lookupList.length - 1 && direction > 0) {
return;
}
if (index === 0 && direction < 0) {
return;
}
// eslint-disable-next-line consistent-return
return lookupList[index + direction];
},
updateStoryArgs: (story, updatedArgs) => { updateStoryArgs: (story, updatedArgs) => {
const { id: storyId, refId } = story; const { id: storyId, refId } = story;
fullAPI.emit(UPDATE_STORY_ARGS, { fullAPI.emit(UPDATE_STORY_ARGS, {
@ -448,6 +458,36 @@ export const init: ModuleFn = ({
} }
}); });
fullAPI.on(STORY_PREPARED, function handler({ id, ...update }) {
const { ref, sourceType } = getEventMetadata(this, fullAPI);
fullAPI.updateStory(id, { ...update, prepared: true }, ref);
if (!ref) {
if (!store.getState().hasCalledSetOptions) {
const { options } = update.parameters;
checkDeprecatedOptionParameters(options);
fullAPI.setOptions(options);
store.setState({ hasCalledSetOptions: true });
}
} else {
fullAPI.updateRef(ref.id, { ready: true });
}
if (sourceType === 'local') {
const { storyId, storiesHash } = store.getState();
// create a list of related stories to be preloaded
const toBePreloaded = Array.from(
new Set([
api.findSiblingStoryId(storyId, storiesHash, 1, true),
api.findSiblingStoryId(storyId, storiesHash, -1, true),
])
).filter(Boolean);
fullAPI.emit(PRELOAD_STORIES, toBePreloaded);
}
});
fullAPI.on(SET_STORIES, function handler(data: SetStoriesPayload) { fullAPI.on(SET_STORIES, function handler(data: SetStoriesPayload) {
const { ref } = getEventMetadata(this, fullAPI); const { ref } = getEventMetadata(this, fullAPI);
const stories = data.v ? denormalizeStoryParameters(data) : data.stories; const stories = data.v ? denormalizeStoryParameters(data) : data.stories;
@ -489,22 +529,6 @@ export const init: ModuleFn = ({
} }
); );
fullAPI.on(STORY_PREPARED, function handler({ id, ...update }) {
const { ref } = getEventMetadata(this, fullAPI);
fullAPI.updateStory(id, { ...update, prepared: true }, ref);
if (!ref) {
if (!store.getState().hasCalledSetOptions) {
const { options } = update.parameters;
checkDeprecatedOptionParameters(options);
fullAPI.setOptions(options);
store.setState({ hasCalledSetOptions: true });
}
} else {
fullAPI.updateRef(ref.id, { ready: true });
}
});
fullAPI.on( fullAPI.on(
STORY_ARGS_UPDATED, STORY_ARGS_UPDATED,
function handleStoryArgsUpdated({ storyId, args }: { storyId: StoryId; args: Args }) { function handleStoryArgsUpdated({ storyId, args }: { storyId: StoryId; args: Args }) {

View File

@ -85,8 +85,22 @@ describe('stories API', () => {
}); });
const parameters = {}; const parameters = {};
const storiesHash = { const storiesHash = {
'a--1': { kind: 'a', name: '1', parameters, path: 'a--1', id: 'a--1', args: {} }, 'a--1': {
'a--2': { kind: 'a', name: '2', parameters, path: 'a--2', id: 'a--2', args: {} }, kind: 'a',
name: '1',
parameters,
path: 'a--1',
id: 'a--1',
args: {},
},
'a--2': {
kind: 'a',
name: '2',
parameters,
path: 'a--2',
id: 'a--2',
args: {},
},
'b-c--1': { 'b-c--1': {
kind: 'b/c', kind: 'b/c',
name: '1', name: '1',
@ -703,6 +717,38 @@ describe('stories API', () => {
}); });
}); });
describe('findSiblingStoryId', () => {
it('works forward', () => {
const navigate = jest.fn();
const store = createMockStore();
const storyId = 'a--1';
const {
api: { setStories, findSiblingStoryId },
state,
} = initStories({ store, navigate, storyId, viewMode: 'story', provider });
store.setState(state);
setStories(storiesHash);
const result = findSiblingStoryId(storyId, storiesHash, 1, false);
expect(result).toBe('a--2');
});
it('works forward toSiblingGroup', () => {
const navigate = jest.fn();
const store = createMockStore();
const storyId = 'a--1';
const {
api: { setStories, findSiblingStoryId },
state,
} = initStories({ store, navigate, storyId, viewMode: 'story', provider });
store.setState(state);
setStories(storiesHash);
const result = findSiblingStoryId(storyId, store.getState().storiesHash, 1, true);
expect(result).toBe('b-c--1');
});
});
describe('jumpToComponent', () => { describe('jumpToComponent', () => {
it('works forward', () => { it('works forward', () => {
const navigate = jest.fn(); const navigate = jest.fn();

View File

@ -1 +1 @@
export const version = '6.5.0-alpha.59'; export const version = '6.5.0-alpha.61';

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/builder-webpack4", "name": "@storybook/builder-webpack4",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,22 +40,22 @@
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@storybook/ui": "6.5.0-alpha.59", "@storybook/ui": "6.5.0-alpha.61",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26", "@types/webpack": "^4.41.26",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
@ -106,6 +106,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/builder-webpack5", "name": "@storybook/builder-webpack5",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,21 +40,21 @@
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"babel-plugin-named-exports-order": "^0.0.2", "babel-plugin-named-exports-order": "^0.0.2",
@ -97,6 +97,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/channel-postmessage", "name": "@storybook/channel-postmessage",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,9 +40,9 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"qs": "^6.10.0", "qs": "^6.10.0",
@ -51,6 +51,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/channel-websocket", "name": "@storybook/channel-websocket",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,8 +40,8 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
"telejson": "^5.3.3" "telejson": "^5.3.3"
@ -49,6 +49,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/channels", "name": "@storybook/channels",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -47,6 +47,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "sb", "name": "sb",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook CLI", "description": "Storybook CLI",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -24,10 +24,10 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/cli": "6.5.0-alpha.59" "@storybook/cli": "6.5.0-alpha.61"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0" "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "storybook", "name": "storybook",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook CLI", "description": "Storybook CLI",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -27,10 +27,10 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/cli": "6.5.0-alpha.59" "@storybook/cli": "6.5.0-alpha.61"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0" "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/cli", "name": "@storybook/cli",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook's CLI - easiest method of adding storybook to your projects", "description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [ "keywords": [
"cli", "cli",
@ -47,10 +47,10 @@
"dependencies": { "dependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11", "@babel/preset-env": "^7.12.11",
"@storybook/codemod": "6.5.0-alpha.59", "@storybook/codemod": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/csf-tools": "6.5.0-alpha.59", "@storybook/csf-tools": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"boxen": "^5.1.2", "boxen": "^5.1.2",
"chalk": "^4.1.0", "chalk": "^4.1.0",
@ -75,7 +75,7 @@
"update-notifier": "^5.0.1" "update-notifier": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@types/cross-spawn": "^6.0.2", "@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9", "@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0", "@types/puppeteer-core": "^2.1.0",
@ -91,5 +91,5 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0" "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40"
} }

View File

@ -1,59 +1,59 @@
// auto generated file, do not edit // auto generated file, do not edit
export default { export default {
"@storybook/addon-a11y": "6.5.0-alpha.59", "@storybook/addon-a11y": "6.5.0-alpha.61",
"@storybook/addon-actions": "6.5.0-alpha.59", "@storybook/addon-actions": "6.5.0-alpha.61",
"@storybook/addon-backgrounds": "6.5.0-alpha.59", "@storybook/addon-backgrounds": "6.5.0-alpha.61",
"@storybook/addon-controls": "6.5.0-alpha.59", "@storybook/addon-controls": "6.5.0-alpha.61",
"@storybook/addon-docs": "6.5.0-alpha.59", "@storybook/addon-docs": "6.5.0-alpha.61",
"@storybook/addon-essentials": "6.5.0-alpha.59", "@storybook/addon-essentials": "6.5.0-alpha.61",
"@storybook/addon-interactions": "6.5.0-alpha.59", "@storybook/addon-interactions": "6.5.0-alpha.61",
"@storybook/addon-jest": "6.5.0-alpha.59", "@storybook/addon-jest": "6.5.0-alpha.61",
"@storybook/addon-links": "6.5.0-alpha.59", "@storybook/addon-links": "6.5.0-alpha.61",
"@storybook/addon-measure": "6.5.0-alpha.59", "@storybook/addon-measure": "6.5.0-alpha.61",
"@storybook/addon-outline": "6.5.0-alpha.59", "@storybook/addon-outline": "6.5.0-alpha.61",
"@storybook/addon-storyshots": "6.5.0-alpha.59", "@storybook/addon-storyshots": "6.5.0-alpha.61",
"@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.59", "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.61",
"@storybook/addon-storysource": "6.5.0-alpha.59", "@storybook/addon-storysource": "6.5.0-alpha.61",
"@storybook/addon-toolbars": "6.5.0-alpha.59", "@storybook/addon-toolbars": "6.5.0-alpha.61",
"@storybook/addon-viewport": "6.5.0-alpha.59", "@storybook/addon-viewport": "6.5.0-alpha.61",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/angular": "6.5.0-alpha.59", "@storybook/angular": "6.5.0-alpha.61",
"@storybook/api": "6.5.0-alpha.59", "@storybook/api": "6.5.0-alpha.61",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/builder-webpack5": "6.5.0-alpha.59", "@storybook/builder-webpack5": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/channel-websocket": "6.5.0-alpha.59", "@storybook/channel-websocket": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/cli": "6.5.0-alpha.59", "@storybook/cli": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/codemod": "6.5.0-alpha.59", "@storybook/codemod": "6.5.0-alpha.61",
"@storybook/components": "6.5.0-alpha.59", "@storybook/components": "6.5.0-alpha.61",
"@storybook/core": "6.5.0-alpha.59", "@storybook/core": "6.5.0-alpha.61",
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/core-server": "6.5.0-alpha.59", "@storybook/core-server": "6.5.0-alpha.61",
"@storybook/csf-tools": "6.5.0-alpha.59", "@storybook/csf-tools": "6.5.0-alpha.61",
"@storybook/docs-tools": "6.5.0-alpha.59", "@storybook/docs-tools": "6.5.0-alpha.61",
"@storybook/ember": "6.5.0-alpha.59", "@storybook/ember": "6.5.0-alpha.61",
"@storybook/html": "6.5.0-alpha.59", "@storybook/html": "6.5.0-alpha.61",
"@storybook/instrumenter": "6.5.0-alpha.59", "@storybook/instrumenter": "6.5.0-alpha.61",
"@storybook/manager-webpack4": "6.5.0-alpha.59", "@storybook/manager-webpack4": "6.5.0-alpha.61",
"@storybook/manager-webpack5": "6.5.0-alpha.59", "@storybook/manager-webpack5": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/postinstall": "6.5.0-alpha.59", "@storybook/postinstall": "6.5.0-alpha.61",
"@storybook/preact": "6.5.0-alpha.59", "@storybook/preact": "6.5.0-alpha.61",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/react": "6.5.0-alpha.59", "@storybook/react": "6.5.0-alpha.61",
"@storybook/router": "6.5.0-alpha.59", "@storybook/router": "6.5.0-alpha.61",
"@storybook/server": "6.5.0-alpha.59", "@storybook/server": "6.5.0-alpha.61",
"@storybook/source-loader": "6.5.0-alpha.59", "@storybook/source-loader": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/svelte": "6.5.0-alpha.59", "@storybook/svelte": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@storybook/ui": "6.5.0-alpha.59", "@storybook/ui": "6.5.0-alpha.61",
"@storybook/vue": "6.5.0-alpha.59", "@storybook/vue": "6.5.0-alpha.61",
"@storybook/vue3": "6.5.0-alpha.59", "@storybook/vue3": "6.5.0-alpha.61",
"@storybook/web-components": "6.5.0-alpha.59" "@storybook/web-components": "6.5.0-alpha.61"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/client-api", "name": "@storybook/client-api",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook Client API", "description": "Storybook Client API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,13 +40,13 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/channels": "6.5.0-alpha.59", "@storybook/channels": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/qs": "^6.9.5", "@types/qs": "^6.9.5",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -68,6 +68,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/client-logger", "name": "@storybook/client-logger",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -46,6 +46,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/codemod", "name": "@storybook/codemod",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "A collection of codemod scripts written with JSCodeshift", "description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -44,8 +44,8 @@
"@babel/types": "^7.12.11", "@babel/types": "^7.12.11",
"@mdx-js/mdx": "^1.6.22", "@mdx-js/mdx": "^1.6.22",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/csf-tools": "6.5.0-alpha.59", "@storybook/csf-tools": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"globby": "^11.0.2", "globby": "^11.0.2",
@ -62,6 +62,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1 +1,2 @@
module.exports = require('./dist/esm/html'); // eslint-disable-next-line import/no-unresolved
export * from './dist/esm/html';

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/components", "name": "@storybook/components",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Core Storybook Components", "description": "Core Storybook Components",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,9 +40,9 @@
"prepare": "ts-node ../../scripts/prebundle.ts" "prepare": "ts-node ../../scripts/prebundle.ts"
}, },
"dependencies": { "dependencies": {
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7" "regenerator-runtime": "^0.13.7"
}, },
@ -60,7 +60,7 @@
"markdown-to-jsx": "^7.1.3", "markdown-to-jsx": "^7.1.3",
"memoizerific": "^1.11.3", "memoizerific": "^1.11.3",
"overlayscrollbars": "^1.13.1", "overlayscrollbars": "^1.13.1",
"polished": "^4.0.5", "polished": "^4.2.2",
"prettier": ">=2.2.1 <=2.3.0", "prettier": ">=2.2.1 <=2.3.0",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"qs": "^6.10.0", "qs": "^6.10.0",
@ -80,6 +80,6 @@
"access": "public" "access": "public"
}, },
"bundlerEntrypoint": "./src/index.ts", "bundlerEntrypoint": "./src/index.ts",
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -77,7 +77,7 @@ const Detail = styled.div<{ width: string }>(({ theme, width }) => ({
minWidth: 200, minWidth: 200,
maxWidth: 800, maxWidth: 800,
padding: 15, padding: 15,
// Dont remove the mono fontFamily here even if it seem useless, this is used by the browser to calculate the length of a "ch" unit. // Don't remove the mono fontFamily here even if it seems useless, this is used by the browser to calculate the length of a "ch" unit.
fontFamily: theme.typography.fonts.mono, fontFamily: theme.typography.fonts.mono,
fontSize: theme.typography.size.s1, fontSize: theme.typography.size.s1,
// Most custom stylesheet will reset the box-sizing to "border-box" and will break the tooltip. // Most custom stylesheet will reset the box-sizing to "border-box" and will break the tooltip.

View File

@ -1,5 +1,5 @@
import React, { ComponentProps, FunctionComponent } from 'react'; import React, { ComponentProps, FunctionComponent } from 'react';
import { styled, ThemeProvider, convert, themes } from '@storybook/theming'; import { styled, ThemeProvider, convert, themes, ignoreSsrWarning } from '@storybook/theming';
import { EmptyBlock } from './EmptyBlock'; import { EmptyBlock } from './EmptyBlock';
import { SyntaxHighlighter } from '../syntaxhighlighter/lazy-syntaxhighlighter'; import { SyntaxHighlighter } from '../syntaxhighlighter/lazy-syntaxhighlighter';
@ -52,7 +52,7 @@ const SourceSkeletonPlaceholder = styled.div<{}>(({ theme }) => ({
marginTop: 1, marginTop: 1,
width: '60%', width: '60%',
'&:first-child': { [`&:first-child${ignoreSsrWarning}`]: {
margin: 0, margin: 0,
}, },
})); }));

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/core-client", "name": "@storybook/core-client",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,16 +40,16 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/channel-websocket": "6.5.0-alpha.59", "@storybook/channel-websocket": "6.5.0-alpha.61",
"@storybook/client-api": "6.5.0-alpha.59", "@storybook/client-api": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/preview-web": "6.5.0-alpha.59", "@storybook/preview-web": "6.5.0-alpha.61",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@storybook/ui": "6.5.0-alpha.59", "@storybook/ui": "6.5.0-alpha.61",
"airbnb-js-shims": "^2.2.1", "airbnb-js-shims": "^2.2.1",
"ansi-to-html": "^0.6.11", "ansi-to-html": "^0.6.11",
"core-js": "^3.8.2", "core-js": "^3.8.2",
@ -74,6 +74,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/core-common", "name": "@storybook/core-common",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -62,7 +62,7 @@
"@babel/preset-react": "^7.12.10", "@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7", "@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.1", "@babel/register": "^7.12.1",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"@types/pretty-hrtime": "^1.0.0", "@types/pretty-hrtime": "^1.0.0",
@ -111,6 +111,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/core-events", "name": "@storybook/core-events",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Event names used in storybook core", "description": "Event names used in storybook core",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,6 +45,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -16,6 +16,8 @@ enum events {
FORCE_RE_RENDER = 'forceReRender', FORCE_RE_RENDER = 'forceReRender',
// Force the current story to re-render from scratch, with its initial args // Force the current story to re-render from scratch, with its initial args
FORCE_REMOUNT = 'forceRemount', FORCE_REMOUNT = 'forceRemount',
// Request the story has been loaded into the store, ahead of time, before it's actually
PRELOAD_STORIES = 'preloadStories',
// The story has been loaded into the store, we have parameters/args/etc // The story has been loaded into the store, we have parameters/args/etc
STORY_PREPARED = 'storyPrepared', STORY_PREPARED = 'storyPrepared',
// The next 6 events are emitted by the StoryRenderer when rendering the current story // The next 6 events are emitted by the StoryRenderer when rendering the current story
@ -71,6 +73,7 @@ export const {
STORY_PREPARED, STORY_PREPARED,
STORY_CHANGED, STORY_CHANGED,
STORY_UNCHANGED, STORY_UNCHANGED,
PRELOAD_STORIES,
STORY_RENDERED, STORY_RENDERED,
STORY_MISSING, STORY_MISSING,
STORY_ERRORED, STORY_ERRORED,

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/core-server", "name": "@storybook/core-server",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,16 +40,16 @@
}, },
"dependencies": { "dependencies": {
"@discoveryjs/json-ext": "^0.5.3", "@discoveryjs/json-ext": "^0.5.3",
"@storybook/builder-webpack4": "6.5.0-alpha.59", "@storybook/builder-webpack4": "6.5.0-alpha.61",
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/csf-tools": "6.5.0-alpha.59", "@storybook/csf-tools": "6.5.0-alpha.61",
"@storybook/manager-webpack4": "6.5.0-alpha.59", "@storybook/manager-webpack4": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/semver": "^7.3.2", "@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"@types/node-fetch": "^2.5.7", "@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0", "@types/pretty-hrtime": "^1.0.0",
@ -85,7 +85,7 @@
"x-default-browser": "^0.4.0" "x-default-browser": "^0.4.0"
}, },
"devDependencies": { "devDependencies": {
"@storybook/builder-webpack5": "6.5.0-alpha.59", "@storybook/builder-webpack5": "6.5.0-alpha.61",
"@types/compression": "^1.7.0", "@types/compression": "^1.7.0",
"@types/ip": "^1.1.0", "@types/ip": "^1.1.0",
"@types/serve-favicon": "^2.5.2", "@types/serve-favicon": "^2.5.2",
@ -110,6 +110,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,3 +1,2 @@
// @storybook/core was split into core-client and core-server. This file is for backwards-compat. // @storybook/core was split into core-client and core-server. This file is for backwards-compat.
// TODO: remove in 7.0 export * from './dist/esm/index';
module.exports = require('./dist/esm/index');

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/core", "name": "@storybook/core",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,8 +40,8 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-server": "6.5.0-alpha.59" "@storybook/core-server": "6.5.0-alpha.61"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@ -62,6 +62,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/csf-tools", "name": "@storybook/csf-tools",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -71,6 +71,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/docs-tools", "name": "@storybook/docs-tools",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Shared utility functions for frameworks to implement docs", "description": "Shared utility functions for frameworks to implement docs",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -42,7 +42,7 @@
"dependencies": { "dependencies": {
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"doctrine": "^3.0.0", "doctrine": "^3.0.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
@ -55,6 +55,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/instrumenter", "name": "@storybook/instrumenter",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,15 +40,15 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0" "global": "^4.4.0"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/manager-webpack4", "name": "@storybook/manager-webpack4",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,12 +45,12 @@
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@babel/plugin-transform-template-literals": "^7.12.1", "@babel/plugin-transform-template-literals": "^7.12.1",
"@babel/preset-react": "^7.12.10", "@babel/preset-react": "^7.12.10",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@storybook/ui": "6.5.0-alpha.59", "@storybook/ui": "6.5.0-alpha.61",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26", "@types/webpack": "^4.41.26",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
@ -96,6 +96,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/manager-webpack5", "name": "@storybook/manager-webpack5",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook framework-agnostic API", "description": "Storybook framework-agnostic API",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -45,12 +45,12 @@
"@babel/core": "^7.12.10", "@babel/core": "^7.12.10",
"@babel/plugin-transform-template-literals": "^7.12.1", "@babel/plugin-transform-template-literals": "^7.12.1",
"@babel/preset-react": "^7.12.10", "@babel/preset-react": "^7.12.10",
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/core-client": "6.5.0-alpha.59", "@storybook/core-client": "6.5.0-alpha.61",
"@storybook/core-common": "6.5.0-alpha.59", "@storybook/core-common": "6.5.0-alpha.61",
"@storybook/node-logger": "6.5.0-alpha.59", "@storybook/node-logger": "6.5.0-alpha.61",
"@storybook/theming": "6.5.0-alpha.59", "@storybook/theming": "6.5.0-alpha.61",
"@storybook/ui": "6.5.0-alpha.59", "@storybook/ui": "6.5.0-alpha.61",
"@types/node": "^14.0.10 || ^16.0.0", "@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"case-sensitive-paths-webpack-plugin": "^2.3.0", "case-sensitive-paths-webpack-plugin": "^2.3.0",
@ -93,6 +93,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/node-logger", "name": "@storybook/node-logger",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -52,6 +52,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/postinstall", "name": "@storybook/postinstall",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Storybook addons postinstall utilities", "description": "Storybook addons postinstall utilities",
"keywords": [ "keywords": [
"api", "api",
@ -51,6 +51,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/preview-web", "name": "@storybook/preview-web",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "", "description": "",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,12 +40,12 @@
"prepare": "node ../../scripts/prepare.js" "prepare": "node ../../scripts/prepare.js"
}, },
"dependencies": { "dependencies": {
"@storybook/addons": "6.5.0-alpha.59", "@storybook/addons": "6.5.0-alpha.61",
"@storybook/channel-postmessage": "6.5.0-alpha.59", "@storybook/channel-postmessage": "6.5.0-alpha.61",
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"@storybook/core-events": "6.5.0-alpha.59", "@storybook/core-events": "6.5.0-alpha.61",
"@storybook/csf": "0.0.2--canary.7c6c115.0", "@storybook/csf": "0.0.2--canary.7c6c115.0",
"@storybook/store": "6.5.0-alpha.59", "@storybook/store": "6.5.0-alpha.61",
"ansi-to-html": "^0.6.11", "ansi-to-html": "^0.6.11",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"global": "^4.4.0", "global": "^4.4.0",
@ -64,6 +64,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

View File

@ -1022,6 +1022,18 @@ describe('PreviewWeb', () => {
}); });
}); });
describe('onPreloadStories', () => {
it('loads stories', async () => {
document.location.search = '?id=component-one--a&viewMode=docs';
const preview = await createAndRenderPreview();
await waitForRender();
importFn.mockClear();
await preview.onPreloadStories(['component-two--c']);
expect(importFn).toHaveBeenCalledWith('./src/ComponentTwo.stories.js');
});
});
describe('onResetArgs', () => { describe('onResetArgs', () => {
it('emits STORY_ARGS_UPDATED', async () => { it('emits STORY_ARGS_UPDATED', async () => {
document.location.search = '?id=component-one--a'; document.location.search = '?id=component-one--a';

View File

@ -4,7 +4,7 @@ import global from 'global';
import Events, { IGNORED_EXCEPTION } from '@storybook/core-events'; import Events, { IGNORED_EXCEPTION } from '@storybook/core-events';
import { logger } from '@storybook/client-logger'; import { logger } from '@storybook/client-logger';
import { AnyFramework, StoryId, ProjectAnnotations, Args, Globals } from '@storybook/csf'; import { AnyFramework, StoryId, ProjectAnnotations, Args, Globals } from '@storybook/csf';
import { import type {
ModuleImportFn, ModuleImportFn,
Selection, Selection,
Story, Story,
@ -66,6 +66,7 @@ export class PreviewWeb<TFramework extends AnyFramework> extends Preview<TFramew
this.channel.on(Events.SET_CURRENT_STORY, this.onSetCurrentStory.bind(this)); this.channel.on(Events.SET_CURRENT_STORY, this.onSetCurrentStory.bind(this));
this.channel.on(Events.UPDATE_QUERY_PARAMS, this.onUpdateQueryParams.bind(this)); this.channel.on(Events.UPDATE_QUERY_PARAMS, this.onUpdateQueryParams.bind(this));
this.channel.on(Events.PRELOAD_STORIES, this.onPreloadStories.bind(this));
} }
initializeWithProjectAnnotations(projectAnnotations: WebProjectAnnotations<TFramework>) { initializeWithProjectAnnotations(projectAnnotations: WebProjectAnnotations<TFramework>) {
@ -208,6 +209,10 @@ export class PreviewWeb<TFramework extends AnyFramework> extends Preview<TFramew
if (this.currentRender instanceof DocsRender) await this.currentRender.rerender(); if (this.currentRender instanceof DocsRender) await this.currentRender.rerender();
} }
async onPreloadStories(ids: string[]) {
await Promise.all(ids.map((id) => this.storyStore.loadStory({ storyId: id })));
}
// RENDERING // RENDERING
// We can either have: // We can either have:

View File

@ -1,6 +1,6 @@
{ {
"name": "@storybook/router", "name": "@storybook/router",
"version": "6.5.0-alpha.59", "version": "6.5.0-alpha.61",
"description": "Core Storybook Router", "description": "Core Storybook Router",
"keywords": [ "keywords": [
"storybook" "storybook"
@ -40,7 +40,7 @@
"prepare": "ts-node ../../scripts/prebundle.ts" "prepare": "ts-node ../../scripts/prebundle.ts"
}, },
"dependencies": { "dependencies": {
"@storybook/client-logger": "6.5.0-alpha.59", "@storybook/client-logger": "6.5.0-alpha.61",
"core-js": "^3.8.2", "core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7" "regenerator-runtime": "^0.13.7"
}, },
@ -64,6 +64,6 @@
"access": "public" "access": "public"
}, },
"bundlerEntrypoint": "./src/index.ts", "bundlerEntrypoint": "./src/index.ts",
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0", "gitHead": "ed6c89be975f7cd6ea28605efbb5597685b68d40",
"sbmodern": "dist/modern/index.js" "sbmodern": "dist/modern/index.js"
} }

Some files were not shown because too many files have changed in this diff Show More