Merge branch 'tech/bundling-router' into tech/bundling-ui

# Conflicts:
#	lib/ui/package.json
#	yarn.lock
This commit is contained in:
Norbert de Langen 2022-01-28 14:24:55 +01:00
commit fb2fb4a8a2
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
99 changed files with 1342 additions and 1313 deletions

View File

@ -1,3 +1,38 @@
## 6.5.0-alpha.26 (January 28, 2022)
### Bug Fixes
* Revert "Core: Rename `generated-stories-entry` to `cjs` extension so require works" ([#17361](https://github.com/storybookjs/storybook/pull/17361))
## 6.5.0-alpha.25 (January 28, 2022)
### Maintenance
- Build: Overhaul dev script & compile-babel & compile-tsc ([#17338](https://github.com/storybookjs/storybook/pull/17338))
## 6.4.15 (January 28, 2022)
### Bug Fixes
- Angular: Fix runCompodoc for Windows, local Compodoc, and user specified tsconfig ([#16728](https://github.com/storybookjs/storybook/pull/16728))
- Core: Fix negated glob support ([#17328](https://github.com/storybookjs/storybook/pull/17328))
### Maintenance
- Build: Upgrade main yarn ([#17323](https://github.com/storybookjs/storybook/pull/17323))
- CLI: Add version update argument to generate-sb-packages-versions utility ([#17356](https://github.com/storybookjs/storybook/pull/17356))
## 6.5.0-alpha.24 (January 28, 2022)
### Bug Fixes
- Core: Fix negated glob support ([#17328](https://github.com/storybookjs/storybook/pull/17328))
### Maintenance
- CLI/Svelte: Revert template stories from svelte-native to CSF ([#17340](https://github.com/storybookjs/storybook/pull/17340))
- CLI: Add version update argument to generate-sb-packages-versions utility ([#17356](https://github.com/storybookjs/storybook/pull/17356))
## 6.5.0-alpha.23 (January 25, 2022)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@ -45,14 +45,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/channels": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/channels": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.26",
"axe-core": "^4.2.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -81,7 +81,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Accessibility",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
@ -41,12 +41,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
@ -79,7 +79,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Actions",

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@ -64,21 +64,21 @@
"@mdx-js/loader": "^1.6.22",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/builder-webpack4": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/builder-webpack4": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/csf-tools": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/postinstall": "6.5.0-alpha.23",
"@storybook/preview-web": "6.5.0-alpha.23",
"@storybook/source-loader": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/csf-tools": "6.5.0-alpha.26",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/postinstall": "6.5.0-alpha.26",
"@storybook/preview-web": "6.5.0-alpha.26",
"@storybook/source-loader": "6.5.0-alpha.26",
"@storybook/store": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"acorn": "^7.4.1",
"acorn-jsx": "^5.3.1",
"acorn-walk": "^7.2.0",
@ -107,11 +107,11 @@
"@babel/core": "^7.12.10",
"@emotion/core": "^10.3.1",
"@emotion/styled": "^10.0.27",
"@storybook/angular": "6.5.0-alpha.23",
"@storybook/html": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/vue": "6.5.0-alpha.23",
"@storybook/web-components": "6.5.0-alpha.23",
"@storybook/angular": "6.5.0-alpha.26",
"@storybook/html": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"@storybook/vue": "6.5.0-alpha.26",
"@storybook/web-components": "6.5.0-alpha.26",
"@types/cross-spawn": "^6.0.2",
"@types/doctrine": "^0.0.3",
"@types/enzyme": "^3.10.8",
@ -142,12 +142,12 @@
"zone.js": "^0.11.3"
},
"peerDependencies": {
"@storybook/angular": "6.5.0-alpha.23",
"@storybook/html": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/vue": "6.5.0-alpha.23",
"@storybook/vue3": "6.5.0-alpha.23",
"@storybook/web-components": "6.5.0-alpha.23",
"@storybook/angular": "6.5.0-alpha.26",
"@storybook/html": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"@storybook/vue": "6.5.0-alpha.26",
"@storybook/vue3": "6.5.0-alpha.26",
"@storybook/web-components": "6.5.0-alpha.26",
"lit": "^2.0.0",
"lit-html": "^1.4.1 || ^2.0.0",
"react": "^16.8.0 || ^17.0.0",
@ -204,7 +204,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Docs",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@ -39,31 +39,31 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "6.5.0-alpha.23",
"@storybook/addon-backgrounds": "6.5.0-alpha.23",
"@storybook/addon-controls": "6.5.0-alpha.23",
"@storybook/addon-docs": "6.5.0-alpha.23",
"@storybook/addon-measure": "6.5.0-alpha.23",
"@storybook/addon-outline": "6.5.0-alpha.23",
"@storybook/addon-toolbars": "6.5.0-alpha.23",
"@storybook/addon-viewport": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/addon-actions": "6.5.0-alpha.26",
"@storybook/addon-backgrounds": "6.5.0-alpha.26",
"@storybook/addon-controls": "6.5.0-alpha.26",
"@storybook/addon-docs": "6.5.0-alpha.26",
"@storybook/addon-measure": "6.5.0-alpha.26",
"@storybook/addon-outline": "6.5.0-alpha.26",
"@storybook/addon-toolbars": "6.5.0-alpha.26",
"@storybook/addon-viewport": "6.5.0-alpha.26",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/node-logger": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/vue": "6.5.0-alpha.23",
"@storybook/vue": "6.5.0-alpha.26",
"@types/jest": "^26.0.16",
"@types/webpack-env": "^1.16.0"
},
"peerDependencies": {
"@babel/core": "^7.9.6",
"@storybook/vue": "6.5.0-alpha.23",
"@storybook/web-components": "6.5.0-alpha.23",
"@storybook/vue": "6.5.0-alpha.26",
"@storybook/web-components": "6.5.0-alpha.26",
"babel-loader": "^8.0.0",
"lit-html": "^1.4.1 || ^2.0.0-rc.3",
"react": "^16.8.0 || ^17.0.0",
@ -93,6 +93,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@ -41,14 +41,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/instrumenter": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/instrumenter": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"global": "^4.4.0",
"jest-mock": "^27.0.6",
"polished": "^4.0.5",
@ -74,7 +74,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Interactions",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -47,11 +47,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react-sizeme": "^3.0.1",
@ -76,7 +76,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Jest",

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@ -45,12 +45,12 @@
},
"dependencies": {
"@jest/transform": "^26.6.2",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-client": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-client": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.16",
@ -69,11 +69,11 @@
"devDependencies": {
"@angular/core": "^11.2.0",
"@angular/platform-browser-dynamic": "^11.2.0",
"@storybook/addon-docs": "6.5.0-alpha.23",
"@storybook/angular": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/vue": "6.5.0-alpha.23",
"@storybook/vue3": "6.5.0-alpha.23",
"@storybook/addon-docs": "6.5.0-alpha.26",
"@storybook/angular": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"@storybook/vue": "6.5.0-alpha.26",
"@storybook/vue3": "6.5.0-alpha.26",
"babel-loader": "^8.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
@ -151,7 +151,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"storybook": {
"displayName": "Storyshots",
"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",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [
"addon",
@ -42,7 +42,7 @@
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.26",
"@types/jest-image-snapshot": "^4.1.3",
"core-js": "^3.8.2",
"jest-image-snapshot": "^4.3.0",
@ -53,7 +53,7 @@
"@types/puppeteer": "^5.4.0"
},
"peerDependencies": {
"@storybook/addon-storyshots": "6.5.0-alpha.23",
"@storybook/addon-storyshots": "6.5.0-alpha.26",
"puppeteer": "^2.0.0 || ^3.0.0"
},
"peerDependenciesMeta": {
@ -64,5 +64,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b"
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01"
}

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-toolbars",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Create your own toolbar items that control story rendering",
"keywords": [
"addon",
@ -45,10 +45,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7"
},
@ -67,7 +67,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/register.js",
"storybook": {
"displayName": "Toolbars",

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -45,15 +45,15 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"autoprefixer": "^9.8.6",
@ -129,5 +129,5 @@
"access": "public"
},
"builders": "dist/ts3.9/builders/builders.json",
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b"
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
"bugs": {
@ -43,9 +43,9 @@
},
"dependencies": {
"@ember/test-helpers": "^2.1.4",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/store": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react": "16.14.0",
@ -66,6 +66,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -45,13 +45,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/client-api": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/preview-web": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/preview-web": "6.5.0-alpha.26",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@ -72,6 +72,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -46,11 +46,11 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@ -75,6 +75,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -49,14 +49,14 @@
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"babel-plugin-add-react-displayname": "^0.0.5",
@ -73,7 +73,7 @@
"webpack": ">=4.43.0 <6.0.0"
},
"devDependencies": {
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.26",
"@types/prompts": "^2.0.9",
"webpack": "4"
},
@ -96,6 +96,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -45,11 +45,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react": "16.14.0",
@ -75,6 +75,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -45,11 +45,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@ -83,6 +83,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -45,11 +45,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@ -81,6 +81,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit-html",
@ -50,13 +50,13 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.11",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/core": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/client-api": "6.5.0-alpha.26",
"@storybook/core": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/preview-web": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/preview-web": "6.5.0-alpha.26",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"babel-plugin-bundled-import-meta": "^0.3.1",
@ -80,6 +80,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/client/index.js"
}

View File

@ -145,6 +145,6 @@ npx sb@next link --local /path/to/local-repro-directory
<summary>`yarn build --all --watch` watches everything but is resource-intensive</summary>
It's troublesome to know which packages you're going to change ahead of time, and watching all of them can be highly demanding, even on modern machines. If you're working on a powerful enough machine, you can use `yarn dev` instead of `yarn build`.
It's troublesome to know which packages you're going to change ahead of time, and watching all of them can be highly demanding, even on modern machines. If you're working on a powerful enough machine, you can use `yarn build --all --watch` instead of `yarn build`.
</details>

View File

@ -1 +1 @@
{"version":"6.5.0-alpha.23","info":{"plain":"### Features\n\n- Vue: Add CSF3 default render function ([#17279](https://github.com/storybookjs/storybook/pull/17279))\n\n### Bug Fixes\n\n- Core: Rename `generated-stories-entry` to `cjs` extension so require works ([#16727](https://github.com/storybookjs/storybook/pull/16727))\n- Addon-docs: Fix `BuilderConfig` can be an object ([#17320](https://github.com/storybookjs/storybook/pull/17320))\n\n### Maintenance\n\n- Core: Remove useless unfetch ([#17306](https://github.com/storybookjs/storybook/pull/17306))\n- Build: Regen lockfile ([#17283](https://github.com/storybookjs/storybook/pull/17283))\n\n### Dependency Upgrades\n\n- Upgrade node-fetch to latest version ([#17317](https://github.com/storybookjs/storybook/pull/17317))"}}
{"version":"6.5.0-alpha.26","info":{"plain":"### Bug Fixes\n\n* Revert \"Core: Rename `generated-stories-entry` to `cjs` extension so require works\" ([#17361](https://github.com/storybookjs/storybook/pull/17361))"}}

View File

@ -30,8 +30,6 @@ Update your Storybook configuration (in `.storybook/main.js`) to include the int
<!-- prettier-ignore-end -->
![Storybook's addon-interaction controls](./storybook-addon-interaction-controls.gif)
## Writing stories with the play function
Storybook's `play` functions are small code snippets that run once the story finishes rendering. Aided by the `addon-interactions`, it allows you to build component interactions and test scenarios that were impossible without user intervention. For example, if you were working on a registration form and wanted to validate it, you could write the following story with the `play` function:
@ -212,4 +210,4 @@ By default, each interaction you write inside your `play` function will be execu
<!-- prettier-ignore-end -->
Applying these changes to your stories can provide a performance boost and improved error handling with [`addon-interactions`](/addons/@storybook/addon-interactions/).
Applying these changes to your stories can provide a performance boost and improved error handling with [`addon-interactions`](/addons/@storybook/addon-interactions/).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

View File

@ -65,16 +65,6 @@ Below is an abridged API for user-event. For more, check out the [official user-
| `type` | Writes text inside inputs, or textareas <br/>`userEvent.type(await within(canvasElement).getByRole('my-input'),'Some text');` |
| `unhover` | Unhovers out of element <br/>`userEvent.unhover(await within(canvasElement).getByLabelText(/Example/i));` |
### Debugging
The [`@storybook/addon-interactions`](/addons/@storybook/addon-interactions/) addon includes a set of UI controls to allow you control over the test execution flow. At any time, you can pause, resume, rewind, and step through each interaction. Also, providing you with an easy-to-use debugger for errors.
![Storybook addon interactions preview](./addon-interactions-preview.png)
Open your `Interactions` panel and click on an individual step to jump to the exact state of the component when the interaction was triggered.
![Storybook addon interactions click steps](./addon-interactions-individual-states.gif)
### Permalinks for reproductions
The `play` function is executed after the story is rendered. If theres an error, itll be shown in the interaction addon panel to help with debugging.

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-essentials",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -34,12 +34,12 @@
"typescript": "^3.9.7"
},
"devDependencies": {
"@storybook/addon-essentials": "6.5.0-alpha.23",
"@storybook/addon-essentials": "6.5.0-alpha.26",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/builder-webpack4": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/builder-webpack4": "6.5.0-alpha.26",
"@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.26",
"webpack": "4"
},
"storybook": {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts-webpack4",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"private": true,
"scripts": {
"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"
},
"dependencies": {
"@storybook/addon-controls": "6.5.0-alpha.23",
"@storybook/addon-essentials": "6.5.0-alpha.23",
"@storybook/builder-webpack4": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/addon-controls": "6.5.0-alpha.26",
"@storybook/addon-essentials": "6.5.0-alpha.26",
"@storybook/builder-webpack4": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"@types/react": "^16.14.2",
"@types/react-dom": "^16.9.10",
"prop-types": "15.7.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"private": true,
"scripts": {
"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-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@storybook/addon-essentials": "6.5.0-alpha.23",
"@storybook/addon-storyshots": "6.5.0-alpha.23",
"@storybook/addon-storysource": "6.5.0-alpha.23",
"@storybook/cli": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/addon-essentials": "6.5.0-alpha.26",
"@storybook/addon-storyshots": "6.5.0-alpha.26",
"@storybook/addon-storysource": "6.5.0-alpha.26",
"@storybook/cli": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"@types/babel__preset-env": "^7",

View File

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

View File

@ -1,15 +1,15 @@
{
"name": "standalone-preview",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"private": true,
"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-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337"
},
"devDependencies": {
"@storybook/addon-docs": "6.5.0-alpha.23",
"@storybook/cli": "6.5.0-alpha.23",
"@storybook/react": "6.5.0-alpha.23",
"@storybook/addon-docs": "6.5.0-alpha.26",
"@storybook/cli": "6.5.0-alpha.26",
"@storybook/react": "6.5.0-alpha.26",
"cross-env": "^7.0.3",
"parcel": "2.0.1",
"react": "16.14.0",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1 +1 @@
export const version = '6.5.0-alpha.23';
export const version = '6.5.0-alpha.26';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack4",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -60,22 +60,22 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/channel-postmessage": "6.5.0-alpha.23",
"@storybook/channels": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/preview-web": "6.5.0-alpha.23",
"@storybook/router": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/channel-postmessage": "6.5.0-alpha.26",
"@storybook/channels": "6.5.0-alpha.26",
"@storybook/client-api": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/preview-web": "6.5.0-alpha.26",
"@storybook/router": "6.5.0-alpha.26",
"@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/ui": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"@storybook/ui": "6.5.0-alpha.26",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26",
"autoprefixer": "^9.8.6",
@ -128,6 +128,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -59,21 +59,21 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/channel-postmessage": "6.5.0-alpha.23",
"@storybook/channels": "6.5.0-alpha.23",
"@storybook/client-api": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/preview-web": "6.5.0-alpha.23",
"@storybook/router": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/channel-postmessage": "6.5.0-alpha.26",
"@storybook/channels": "6.5.0-alpha.26",
"@storybook/client-api": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/preview-web": "6.5.0-alpha.26",
"@storybook/router": "6.5.0-alpha.26",
"@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@storybook/theming": "6.5.0-alpha.26",
"@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-named-exports-order": "^0.0.2",
@ -115,6 +115,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -128,8 +128,6 @@ export default async (options: Options & Record<string, any>): Promise<Configura
const clientApi = storybookPaths['@storybook/client-api'];
const clientLogger = storybookPaths['@storybook/client-logger'];
// NOTE: although this file is also from the `dist/cjs` directory, it is actually a ESM
// file, see https://github.com/storybookjs/storybook/pull/16727#issuecomment-986485173
virtualModuleMapping[`${configFilename}-generated-config-entry.js`] = interpolate(
entryTemplate,
{
@ -144,10 +142,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
const storyTemplate = await readTemplate(
path.join(__dirname, 'virtualModuleStory.template.js')
);
// NOTE: this file has a `.cjs` extension as it is a CJS file (from `dist/cjs`) and runs
// in the user's webpack mode, which may be strict about the use of require/import.
// See https://github.com/storybookjs/storybook/issues/14877
const storiesFilename = path.resolve(path.join(workingDir, `generated-stories-entry.cjs`));
const storiesFilename = path.resolve(path.join(workingDir, `generated-stories-entry.js`));
virtualModuleMapping[storiesFilename] = interpolate(storyTemplate, { frameworkImportPath })
// Make sure we also replace quotes for this one
.replace("'{{stories}}'", stories.map(toRequireContextString).join(','));

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -47,6 +47,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "sb",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -24,10 +24,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "6.5.0-alpha.23"
"@storybook/cli": "6.5.0-alpha.26"
},
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b"
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01"
}

View File

@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -27,10 +27,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "6.5.0-alpha.23"
"@storybook/cli": "6.5.0-alpha.26"
},
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b"
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01"
}

View File

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

9
lib/cli/scripts/generate-sb-packages-versions.js Normal file → Executable file
View File

@ -1,6 +1,9 @@
#!/usr/bin/env node
const { readJson, writeFile } = require('fs-extra');
const path = require('path');
const globby = require('globby');
const semver = require('@storybook/semver');
const { default: dedent } = require('ts-dedent');
const rootDirectory = path.join(__dirname, '..', '..', '..');
@ -8,6 +11,10 @@ const rootDirectory = path.join(__dirname, '..', '..', '..');
const logger = console;
const run = async () => {
const updatedVersion = process.argv[process.argv.length - 1];
if (!semver.valid(updatedVersion)) throw new Error(`Invalid version: ${updatedVersion}`);
const storybookPackagesPaths = await globby(
`${rootDirectory}/@(app|addons|lib)/**/package.json`,
{
@ -31,7 +38,7 @@ const run = async () => {
.filter(({ name }) => /@storybook/.test(name))
// As some previous steps are asynchronous order is not always the same so sort them to avoid that
.sort((package1, package2) => package1.name.localeCompare(package2.name))
.reduce((acc, { name, version }) => ({ ...acc, [name]: version }), {});
.reduce((acc, { name }) => ({ ...acc, [name]: updatedVersion }), {});
await writeFile(
path.join(__dirname, '..', 'src', 'versions.ts'),

View File

@ -0,0 +1,51 @@
import Button from './Button.svelte';
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
// More on argTypes: https://storybook.js.org/docs/svelte/api/argtypes
export default {
title: 'Example/Button',
component: Button,
argTypes: {
backgroundColor: { control: 'color' },
label: { control: 'text' },
onClick: { action: 'onClick' },
primary: { control: 'boolean' },
size: {
control: { type: 'select' },
options: ['small', 'medium', 'large'],
},
},
};
// More on component templates: https://storybook.js.org/docs/svelte/writing-stories/introduction#using-args
const Template = (args) => ({
Component: Button,
props: args,
on: {
click: args.onClick,
},
});
// More on args: https://storybook.js.org/docs/svelte/writing-stories/args
export const Primary = Template.bind({});
Primary.args = {
primary: true,
label: 'Button',
};
export const Secondary = Template.bind({});
Secondary.args = {
label: 'Button',
};
export const Large = Template.bind({});
Large.args = {
size: 'large',
label: 'Button',
};
export const Small = Template.bind({});
Small.args = {
size: 'small',
label: 'Button',
};

View File

@ -1,57 +0,0 @@
<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import Button from "./Button.svelte";
</script>
<!-- More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export -->
<!-- More on argTypes: https://storybook.js.org/docs/svelte/api/argtypes -->
<Meta
title="Example/Button"
component={Button}
argTypes={{
backgroundColor: { control: "color" },
label: { control: "text" },
onClick: { action: "onClick" },
primary: { control: "boolean" },
size: {
control: { type: 'select' },
options: ['small', 'medium', 'large'],
},
}}
/>
<!-- More on component templates: https://storybook.js.org/docs/svelte/writing-stories/introduction#using-args -->
<Template let:args>
<Button {...args} on:click={args.onClick} />
</Template>
<!-- More on args: https://storybook.js.org/docs/svelte/writing-stories/args -->
<Story
name="Primary"
args={{
primary: true,
label: "Button",
}}
/>
<Story
name="Secondary"
args={{
label: "Button",
}}
/>
<Story
name="Large"
args={{
size: "large",
label: "Button",
}}
/>
<Story
name="Small"
args={{
size: "small",
label: "Button",
}}
/>

View File

@ -0,0 +1,29 @@
import Header from './Header.svelte';
export default {
title: 'Example/Header',
component: Header,
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
onCreateAccount: { action: 'onCreateAccount' },
},
};
const Template = (args) => ({
Component: Header,
props: args,
on: {
login: args.onLogin,
logout: args.onLogout,
createAccount: args.onCreateAccount,
},
});
export const LoggedIn = Template.bind({});
LoggedIn.args = {
user: {},
};
export const LoggedOut = Template.bind({});
LoggedOut.args = {};

View File

@ -1,32 +0,0 @@
<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import Header from "./Header.svelte";
</script>
<Meta
title="Example/Header"
component={Header}
argTypes={{
onLogin: { action: "onLogin" },
onLogout: { action: "onLogout" },
onCreateAccount: { action: "onCreateAccount" },
}}
/>
<Template let:args>
<Header
{...args}
on:login={args.onLogin}
on:logout={args.onLogout}
on:createAccount={args.onCreateAccount}
/>
</Template>
<Story
name="LoggedIn"
args={{
user: {},
}}
/>
<Story name="LoggedOut" args={{}} />

View File

@ -0,0 +1,29 @@
import Page from './Page.svelte';
export default {
title: 'Example/Page',
component: Page,
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
onCreateAccount: { action: 'onCreateAccount' },
},
};
const Template = (args) => ({
Component: Page,
props: args,
on: {
login: args.onLogin,
logout: args.onLogout,
createAccount: args.onCreateAccount,
},
});
export const LoggedIn = Template.bind({});
LoggedIn.args = {
user: {},
};
export const LoggedOut = Template.bind({});
LoggedOut.args = {};

View File

@ -1,32 +0,0 @@
<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import Page from "./Page.svelte";
</script>
<Meta
title="Example/Page"
component={Page}
argTypes={{
onLogin: { action: "onLogin" },
onLogout: { action: "onLogout" },
onCreateAccount: { action: "onCreateAccount" },
}}
/>
<Template let:args>
<Page
{...args}
on:login={args.onLogin}
on:logout={args.onLogout}
on:createAccount={args.onCreateAccount}
/>
</Template>
<Story
name="LoggedIn"
args={{
user: {},
}}
/>
<Story name="LoggedOut" args={{}} />

View File

@ -35,7 +35,6 @@ const generator: Generator = async (packageManager, npmOptions, options) => {
await baseGenerator(packageManager, npmOptions, options, 'svelte', {
extraPackages: ['svelte', 'svelte-loader'],
extraAddons: ['@storybook/addon-svelte-csf'],
extensions: ['js', 'jsx', 'ts', 'tsx', 'svelte'],
extraMain,
commonJs,

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -46,6 +46,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -41,9 +41,9 @@
},
"dependencies": {
"@popperjs/core": "^2.6.0",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.26",
"@types/color-convert": "^2.0.0",
"@types/overlayscrollbars": "^1.12.0",
"@types/react-syntax-highlighter": "11.0.5",
@ -77,6 +77,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

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

View File

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

View File

@ -283,4 +283,27 @@ describe('normalizeStoriesEntry', () => {
}
`);
});
it('globs with negation', () => {
const specifier = normalizeStoriesEntry('../!(negation)/*.stories.mdx', options);
expect(specifier).toMatchInlineSnapshot(`
{
"titlePrefix": "",
"directory": ".",
"files": "!(negation)/*.stories.mdx",
"importPathMatcher": {}
}
`);
expect(specifier.importPathMatcher).toMatchPaths([
'./path/file.stories.mdx',
'./second-path/file.stories.mdx',
]);
expect(specifier.importPathMatcher).not.toMatchPaths([
'./path/file.stories.js',
'./path/to/file.stories.mdx',
'./file.stories.mdx',
'../file.stories.mdx',
]);
});
});

View File

@ -59,35 +59,29 @@ export const normalizeStoriesEntry = (
let specifierWithoutMatcher: Omit<NormalizedStoriesSpecifier, 'importPathMatcher'>;
if (typeof entry === 'string') {
if (!entry.includes('*')) {
if (isDirectory(configDir, entry)) {
specifierWithoutMatcher = {
titlePrefix: DEFAULT_TITLE_PREFIX,
directory: entry,
files: DEFAULT_FILES,
};
} else {
specifierWithoutMatcher = {
titlePrefix: DEFAULT_TITLE_PREFIX,
directory: path.dirname(entry),
files: path.basename(entry),
};
}
} else {
const fixedEntry = detectBadGlob(entry);
const globResult = scan(fixedEntry);
const directory = globResult.isGlob
? globResult.prefix + globResult.base
: path.dirname(fixedEntry);
const filesFallback =
directory !== '.' ? fixedEntry.substr(directory.length + 1) : fixedEntry;
const files = globResult.isGlob ? globResult.glob : filesFallback;
const fixedEntry = detectBadGlob(entry);
const globResult = scan(fixedEntry);
if (globResult.isGlob) {
const directory = globResult.prefix + globResult.base;
const files = globResult.glob;
specifierWithoutMatcher = {
titlePrefix: DEFAULT_TITLE_PREFIX,
directory,
files,
};
} else if (isDirectory(configDir, entry)) {
specifierWithoutMatcher = {
titlePrefix: DEFAULT_TITLE_PREFIX,
directory: entry,
files: DEFAULT_FILES,
};
} else {
specifierWithoutMatcher = {
titlePrefix: DEFAULT_TITLE_PREFIX,
directory: path.dirname(entry),
files: path.basename(entry),
};
}
} else {
specifierWithoutMatcher = {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@ -45,6 +45,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-server",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -40,16 +40,16 @@
},
"dependencies": {
"@discoveryjs/json-ext": "^0.5.3",
"@storybook/builder-webpack4": "6.5.0-alpha.23",
"@storybook/core-client": "6.5.0-alpha.23",
"@storybook/core-common": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/builder-webpack4": "6.5.0-alpha.26",
"@storybook/core-client": "6.5.0-alpha.26",
"@storybook/core-common": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/csf-tools": "6.5.0-alpha.23",
"@storybook/manager-webpack4": "6.5.0-alpha.23",
"@storybook/node-logger": "6.5.0-alpha.23",
"@storybook/csf-tools": "6.5.0-alpha.26",
"@storybook/manager-webpack4": "6.5.0-alpha.26",
"@storybook/node-logger": "6.5.0-alpha.26",
"@storybook/semver": "^7.3.2",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0",
@ -85,7 +85,7 @@
"x-default-browser": "^0.4.0"
},
"devDependencies": {
"@storybook/builder-webpack5": "6.5.0-alpha.23",
"@storybook/builder-webpack5": "6.5.0-alpha.26",
"@types/compression": "^1.7.0",
"@types/ip": "^1.1.0",
"@types/serve-favicon": "^2.5.2",
@ -93,8 +93,8 @@
"jest-specific-snapshot": "^4.0.0"
},
"peerDependencies": {
"@storybook/builder-webpack5": "6.5.0-alpha.23",
"@storybook/manager-webpack5": "6.5.0-alpha.23",
"@storybook/builder-webpack5": "6.5.0-alpha.26",
"@storybook/manager-webpack5": "6.5.0-alpha.26",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
@ -112,6 +112,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -40,11 +40,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core-client": "6.5.0-alpha.23",
"@storybook/core-server": "6.5.0-alpha.23"
"@storybook/core-client": "6.5.0-alpha.26",
"@storybook/core-server": "6.5.0-alpha.26"
},
"peerDependencies": {
"@storybook/builder-webpack5": "6.5.0-alpha.23",
"@storybook/builder-webpack5": "6.5.0-alpha.26",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"webpack": "*"
@ -60,6 +60,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/csf-tools",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -65,6 +65,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -52,6 +52,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/postinstall",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Storybook addons postinstall utilities",
"keywords": [
"api",
@ -51,6 +51,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preview-web",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -40,12 +40,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/channel-postmessage": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/channel-postmessage": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/store": "6.5.0-alpha.23",
"@storybook/store": "6.5.0-alpha.26",
"ansi-to-html": "^0.6.11",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -64,6 +64,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/router",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Core Storybook Router",
"keywords": [
"storybook"
@ -40,7 +40,7 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.26",
"core-js": "^3.8.2"
},
"devDependencies": {
@ -63,6 +63,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.ts",
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/source-loader",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Source loader",
"keywords": [
"lib",
@ -41,8 +41,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"core-js": "^3.8.2",
"estraverse": "^5.2.0",
@ -59,6 +59,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/store",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "",
"keywords": [
"storybook"
@ -40,9 +40,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
@ -63,6 +63,6 @@
"publishConfig": {
"access": "public"
},
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -40,7 +40,7 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.26",
"core-js": "^3.8.2"
},
"devDependencies": {
@ -64,6 +64,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.ts",
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ui",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"description": "Core Storybook UI",
"keywords": [
"storybook"
@ -40,15 +40,15 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
"@storybook/addons": "6.5.0-alpha.23",
"@storybook/api": "6.5.0-alpha.23",
"@storybook/channels": "6.5.0-alpha.23",
"@storybook/client-logger": "6.5.0-alpha.23",
"@storybook/components": "6.5.0-alpha.23",
"@storybook/core-events": "6.5.0-alpha.23",
"@storybook/router": "6.5.0-alpha.23",
"@storybook/addons": "6.5.0-alpha.26",
"@storybook/api": "6.5.0-alpha.26",
"@storybook/channels": "6.5.0-alpha.26",
"@storybook/client-logger": "6.5.0-alpha.26",
"@storybook/components": "6.5.0-alpha.26",
"@storybook/core-events": "6.5.0-alpha.26",
"@storybook/router": "6.5.0-alpha.26",
"@storybook/semver": "^7.3.2",
"@storybook/theming": "6.5.0-alpha.23",
"@storybook/theming": "6.5.0-alpha.26",
"core-js": "^3.8.2",
"resolve-from": "^5.0.0"
},
@ -83,6 +83,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.tsx",
"gitHead": "0006ec45ff04e42229dbee92cc49764699477e1b",
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
"sbmodern": "dist/modern/index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/root",
"version": "6.5.0-alpha.23",
"version": "6.5.0-alpha.26",
"private": true,
"description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.",
"keywords": [

1010
yarn.lock

File diff suppressed because it is too large Load Diff