Merge branch 'next' into pr/18809

This commit is contained in:
domyen 2022-08-11 18:31:53 -04:00
commit 59f9f4983b
171 changed files with 2597 additions and 1538 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ dist
junit.xml
/repros
/sandbox
.verdaccio-cache
# Yarn stuff
/**/.yarn/*

View File

@ -1,3 +1,35 @@
## 7.0.0-alpha.18 (August 2, 2022)
#### Features
- CLI: Add temporary sb repro-next command that only degits repros [#18834](https://github.com/storybooks/storybook/pull/18834)
- Interactions: Add step function to play context [#18673](https://github.com/storybooks/storybook/pull/18673)
- UI: Add preloading to stories highlighted in the sidebar [#17964](https://github.com/storybooks/storybook/pull/17964)
#### Bug Fixes
- UI: Fix refs with authentication being broken if the fetch for `iframe.html` succeeds (but with a request to authenticate) [#18160](https://github.com/storybooks/storybook/pull/18160)
- HTML: Fix missing ability to set `docs.extractArgTypes` [#18831](https://github.com/storybooks/storybook/pull/18831)
- React: Fix callback behavior in `react@18` [#18737](https://github.com/storybooks/storybook/pull/18737)
- CLI: Throw error on failure in sb init [#18816](https://github.com/storybooks/storybook/pull/18816)
- CLI: Fix package.json version detection [#18806](https://github.com/storybooks/storybook/pull/18806)
#### Maintenance
- Build: Use ts-up to build `addon-outline` [#18842](https://github.com/storybooks/storybook/pull/18842)
- Core: Fix default framework options handling [#18676](https://github.com/storybooks/storybook/pull/18676)
- Build: Use tsup to build `addon-measure` and fix related imports in `examples/official-storybook` [#18837](https://github.com/storybooks/storybook/pull/18837)
- Build: Use tsup to build addon-jest [#18836](https://github.com/storybooks/storybook/pull/18836)
- Examples: Use `repro-next` in the example script! [#18839](https://github.com/storybooks/storybook/pull/18839)
- Examples: Rename `example` => `sandbox` [#18838](https://github.com/storybooks/storybook/pull/18838)
- Examples: Use a set of test components in addon stories [#18825](https://github.com/storybooks/storybook/pull/18825)
- Examples: Copy example stories over from renderer + addons [#18824](https://github.com/storybooks/storybook/pull/18824)
- Examples: Set `resolve.symlinks` based on node option [#18827](https://github.com/storybooks/storybook/pull/18827)
- Examples: Add command to publish repros + GH action [#18800](https://github.com/storybooks/storybook/pull/18800)
- Examples: Create a new `yarn example` command [#18781](https://github.com/storybooks/storybook/pull/18781)
- Build: Fix yarn build command [#18817](https://github.com/storybooks/storybook/pull/18817)
- Build: Use tsup to build core-event [#18798](https://github.com/storybooks/storybook/pull/18798)
## 7.0.0-alpha.17 (July 27, 2022)
#### Features

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@ -62,15 +62,15 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"axe-core": "^4.2.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -105,7 +105,7 @@
"./src/preview.tsx"
]
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Accessibility",
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
@ -35,13 +35,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"dequal": "^2.0.2",
"global": "^4.4.0",
@ -73,7 +73,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
@ -62,13 +62,13 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
@ -100,7 +100,7 @@
"./src/preview.tsx"
]
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Backgrounds",
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
@ -57,16 +57,16 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/blocks": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/blocks": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/store": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
@ -93,7 +93,7 @@
],
"platform": "browser"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@ -53,22 +53,22 @@
"@babel/preset-env": "^7.12.11",
"@jest/transform": "^26.6.2",
"@mdx-js/react": "^1.6.22",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/blocks": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/blocks": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/csf-tools": "7.0.0-alpha.17",
"@storybook/docs-tools": "7.0.0-alpha.17",
"@storybook/csf-tools": "7.0.0-alpha.18",
"@storybook/docs-tools": "7.0.0-alpha.18",
"@storybook/mdx1-csf": "0.0.5-canary.13.9ce928a.0",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/postinstall": "7.0.0-alpha.17",
"@storybook/preview-web": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/postinstall": "7.0.0-alpha.18",
"@storybook/preview-web": "7.0.0-alpha.18",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/store": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"babel-loader": "^8.2.5",
"core-js": "^3.8.2",
"dequal": "^2.0.2",
@ -104,7 +104,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Docs",
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@ -33,25 +33,25 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-measure": "7.0.0-alpha.17",
"@storybook/addon-outline": "7.0.0-alpha.17",
"@storybook/addon-toolbars": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-measure": "7.0.0-alpha.18",
"@storybook/addon-outline": "7.0.0-alpha.18",
"@storybook/addon-toolbars": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/vue": "7.0.0-alpha.17",
"@storybook/vue": "7.0.0-alpha.18",
"@types/jest": "^26.0.16",
"typescript": "~4.6.3"
},
@ -99,5 +99,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
@ -37,8 +37,8 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0"
},
@ -49,7 +49,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Highlight",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@ -36,15 +36,15 @@
},
"dependencies": {
"@devtools-ds/object-inspector": "^1.1.2",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/instrumenter": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/instrumenter": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"jest-mock": "^27.0.6",
@ -72,7 +72,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Interactions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -59,12 +59,12 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react-sizeme": "^3.0.1",
@ -95,7 +95,7 @@
],
"platform": "browser"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Jest",
"icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg",

View File

@ -1 +1 @@
import './dist/esm/manager';
import './dist/manager';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Link stories together to build demos and prototypes with your UI components",
"keywords": [
"addon",
@ -21,9 +21,37 @@
"url": "https://opencollective.com/storybook"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./manager": {
"require": "./dist/manager.js",
"import": "./dist/manager.mjs",
"types": "./dist/manager.d.ts"
},
"./preview": {
"require": "./dist/preview.js",
"import": "./dist/preview.mjs",
"types": "./dist/preview.d.ts"
},
"./react": {
"require": "./dist/react/index.js",
"import": "./dist/react/index.mjs",
"types": "./dist/react.d.ts"
},
"./register.js": {
"require": "./dist/manager.js",
"import": "./dist/manager.mjs",
"types": "./dist/manager.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
@ -32,14 +60,14 @@
],
"scripts": {
"check": "tsc --noEmit",
"prepare": "node ../../../scripts/prepare.js"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"prop-types": "^15.7.2",
@ -63,7 +91,15 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"bundler": {
"entries": [
"./src/index.ts",
"./src/manager.ts",
"./src/preview.ts",
"./src/react/index.ts"
]
},
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Links",
"icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png",

View File

@ -1 +1 @@
export * from './dist/esm/preview';
export * from './dist/preview';

View File

@ -1,3 +1,3 @@
import LinkTo from './dist/esm/react';
import LinkTo from './dist/react';
export default LinkTo;

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-measure",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Inspect layouts by visualizing the box model",
"keywords": [
"storybook-addons",
@ -61,11 +61,11 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"core-js": "^3.8.2",
"global": "^4.4.0"
@ -95,7 +95,7 @@
"./src/preview.tsx"
]
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Measure",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-outline",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Outline all elements with CSS to help with layout placement and alignment",
"keywords": [
"storybook-addons",
@ -64,11 +64,11 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -99,7 +99,7 @@
"./src/preset/preview.tsx"
]
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Outline",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@ -38,12 +38,12 @@
},
"dependencies": {
"@jest/transform": "^26.6.2",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "7.0.0-alpha.17",
"@storybook/core-client": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-webpack": "7.0.0-alpha.17",
"@storybook/client-api": "7.0.0-alpha.18",
"@storybook/core-client": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-webpack": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.16",
@ -62,11 +62,11 @@
"@angular/core": "^13.3.6",
"@angular/platform-browser-dynamic": "^13.3.6",
"@emotion/jest": "^11.8.0",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/angular": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/vue": "7.0.0-alpha.17",
"@storybook/vue3": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/angular": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/vue": "7.0.0-alpha.18",
"@storybook/vue3": "7.0.0-alpha.18",
"babel-loader": "^8.2.5",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
@ -144,7 +144,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"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": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [
"addon",
@ -35,7 +35,7 @@
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.18",
"@types/jest-image-snapshot": "^4.1.3",
"core-js": "^3.8.2",
"jest-image-snapshot": "^4.3.0"
@ -45,7 +45,7 @@
"puppeteer": "^2.0.0 || ^3.0.0"
},
"peerDependencies": {
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"puppeteer": ">=2.0.0"
},
"peerDependenciesMeta": {
@ -56,5 +56,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "View a storys source code to see how it works and paste into your app",
"keywords": [
"addon",
@ -35,13 +35,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/router": "7.0.0-alpha.18",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"estraverse": "^5.2.0",
"prop-types": "^15.7.2",
@ -67,7 +67,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Storysource",
"icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",

View File

@ -1 +1 @@
import './dist/esm/manager';
import './dist/manager';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-toolbars",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Create your own toolbar items that control story rendering",
"keywords": [
"addon",
@ -25,9 +25,27 @@
"url": "https://opencollective.com/storybook"
},
"license": "MIT",
"main": "dist/cjs/manager.js",
"module": "dist/esm/manager.js",
"types": "dist/types/manager.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./manager": {
"require": "./dist/manager.js",
"import": "./dist/manager.mjs",
"types": "./dist/manager.d.ts"
},
"./register.js": {
"require": "./dist/manager.js",
"import": "./dist/manager.mjs",
"types": "./dist/manager.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
@ -36,14 +54,14 @@
],
"scripts": {
"check": "tsc --noEmit",
"prepare": "node ../../../scripts/prepare.js"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2"
},
"devDependencies": {
@ -64,7 +82,14 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"bundler": {
"entries": [
"./src/index.ts",
"./src/manager.tsx"
],
"platform": "browser"
},
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Toolbars",
"icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png",

View File

@ -0,0 +1 @@
export {};

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Build responsive components by adjusting Storybooks viewport size and orientation",
"keywords": [
"addon",
@ -36,12 +36,12 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
@ -65,7 +65,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b",
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53",
"storybook": {
"displayName": "Viewport",
"icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png",

View File

@ -1,6 +1,6 @@
{
"name": "angular-cli",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"license": "MIT",
"workspaces": {
@ -44,22 +44,22 @@
"@angular/compiler-cli": "^13.3.6",
"@angular/elements": "^13.3.6",
"@compodoc/compodoc": "^1.1.18",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-interactions": "7.0.0-alpha.17",
"@storybook/addon-jest": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/angular": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-interactions": "7.0.0-alpha.18",
"@storybook/addon-jest": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/angular": "7.0.0-alpha.18",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/jest": "^0.0.10",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/testing-library": "0.0.14-next.0",
"@types/core-js": "^2.5.4",
"@types/jest": "^26.0.16",
@ -72,7 +72,7 @@
"jest": "^26.6.3",
"jest-preset-angular": "^8.3.2",
"protractor": "~7.0.0",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"storybook-addon-angular-ivy": "^0.0.1",
"ts-jest": "^26.4.4",
"ts-node": "^10.4.0",

View File

@ -4,4 +4,4 @@ import { Meta } from '@storybook/addon-docs';
# Legacy examples
Example of sotry still supported by storybook but no longer recommended or deprecated
Example of story still supported by storybook but no longer recommended or deprecated

View File

@ -1,4 +1,4 @@
import { create } from '@storybook/theming';
import { create } from '@storybook/theming/create';
import { addons } from '@storybook/addons';
addons.setConfig({

View File

@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -11,7 +11,7 @@
"test": "react-scripts test --env=jsdom"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.18",
"global": "^4.4.0",
"prop-types": "^15.7.2",
"react": "16.14.0",
@ -21,21 +21,21 @@
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-jest": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-jest": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/preset-create-react-app": "^4.1.0",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"storybook": "7.0.0-alpha.18",
"webpack": "5"
},
"storybook": {

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-essentials",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -23,8 +23,8 @@
]
},
"dependencies": {
"@storybook/components": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"@types/jest": "^26.0.16",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23",
@ -37,14 +37,14 @@
"typescript": "~4.6.3"
},
"devDependencies": {
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/preset-create-react-app": "^4.1.0",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/testing-library": "^0.0.9",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"ts-node": "^10.4.0",
"webpack": "5"
},

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-kitchen-sink",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -34,23 +34,23 @@
"typescript": "~4.6.3"
},
"devDependencies": {
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/preset-create-react-app": "^4.1.0",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@types/enzyme": "^3.10.8",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.9.1",
"enzyme-to-json": "^3.6.1",
"fork-ts-checker-webpack-plugin": "^7.2.6",
"react-moment-proptypes": "^1.7.0",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"ts-node": "^10.4.0",
"webpack": "5"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/example-doc-blocks",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb build",
@ -15,20 +15,20 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/cli": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/cli": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"@types/babel__preset-env": "^7",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
"cross-env": "^7.0.3",
"lodash": "^4.17.21",
"sb": "7.0.0-alpha.17",
"sb": "7.0.0-alpha.18",
"typescript": "~4.6.3",
"webpack": "5"
},

View File

@ -1,6 +1,6 @@
{
"name": "ember-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"--build-storybook": "yarn storybook-prebuild && storybook build",
@ -17,19 +17,19 @@
"devDependencies": {
"@babel/core": "^7.12.10",
"@ember/optional-features": "^2.0.0",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/ember": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/ember": "7.0.0-alpha.18",
"@storybook/ember-cli-storybook": "^0.2.1",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.18",
"babel-loader": "^8.2.5",
"broccoli-asset-rev": "^3.0.0",
"browserify-zlib": "^0.2.0",
@ -49,7 +49,7 @@
"loader.js": "^4.7.0",
"os-browserify": "^0.3.0",
"shx": "^0.3.2",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"stream-browserify": "^3.0.0",
"vm-browserify": "^1.1.2",
"webpack": "5",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/external-docs",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "next build",
@ -11,15 +11,15 @@
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook dev -p 9011 --no-manager-cache -c .storybook"
},
"dependencies": {
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/blocks": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/blocks": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/preview-web": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/preview-web": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"formik": "^2.2.9",
"next": "^12.1.0",
"nextra": "^1.1.0",
@ -38,7 +38,7 @@
"cross-env": "^7.0.3",
"eslint": "8.7.0",
"eslint-config-next": "12.0.8",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"typescript": "~4.6.3",
"webpack": "5"
}

View File

@ -1,6 +1,6 @@
{
"name": "html-kitchen-sink",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"description": "",
"keywords": [],
@ -13,31 +13,31 @@
"storybook": "storybook dev -p 9006 --no-manager-cache"
},
"devDependencies": {
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-jest": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-jest": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/client-api": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/html": "7.0.0-alpha.17",
"@storybook/html-webpack5": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/client-api": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/html": "7.0.0-alpha.18",
"@storybook/html-webpack5": "7.0.0-alpha.18",
"@storybook/source-loader": "7.0.0-alpha.18",
"autoprefixer": "^10.0.1",
"eventemitter3": "^4.0.7",
"format-json": "^1.0.3",
"global": "^4.4.0",
"postcss": "^8.2.4",
"postcss-color-rebeccapurple": "^6.0.0",
"storybook": "7.0.0-alpha.17"
"storybook": "7.0.0-alpha.18"
},
"storybook": {
"chromatic": {

View File

@ -1,6 +1,6 @@
{
"name": "official-storybook",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook build -c ./",
@ -13,33 +13,33 @@
"devDependencies": {
"@emotion/jest": "^11.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-interactions": "7.0.0-alpha.17",
"@storybook/addon-jest": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storyshots-puppeteer": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-toolbars": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/cli": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-interactions": "7.0.0-alpha.18",
"@storybook/addon-jest": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storyshots-puppeteer": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-toolbars": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/cli": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/design-system": "^5.4.7",
"@storybook/jest": "^0.0.10",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/router": "7.0.0-alpha.18",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/testing-library": "0.0.14-next.0",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"chromatic": "^6.0.2",
@ -55,7 +55,7 @@
"prop-types": "^15.7.2",
"react": "16.14.0",
"react-dom": "16.14.0",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"terser-webpack-plugin": "^5.3.1",
"uuid-browser": "^3.1.0",
"webpack": "5"

View File

@ -2,7 +2,7 @@
import React from 'react';
const text = 'Testing the a11y addon';
const image = 'http://place-hold.it/350x150';
const image = 'https://storybook.js.org/images/placeholders/350x150.png';
export default {
title: 'Addons/A11y/Image',

View File

@ -98,7 +98,7 @@ Action.args = {
export const ImageFileControl = (args) => <img src={args.imageUrls[0]} alt="Your Example Story" />;
ImageFileControl.args = {
imageUrls: ['http://place-hold.it/350x150'],
imageUrls: ['https://storybook.js.org/images/placeholders/350x150.png'],
};
export const CustomControls = Template.bind({});

View File

@ -1,6 +1,6 @@
{
"name": "preact-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -14,18 +14,18 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/preact": "7.0.0-alpha.17",
"@storybook/preact-webpack5": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/preact": "7.0.0-alpha.18",
"@storybook/preact-webpack5": "7.0.0-alpha.18",
"@storybook/source-loader": "7.0.0-alpha.18",
"@types/prop-types": "^15.7.3",
"@types/react": "^17",
"@types/react-dom": "^17",
@ -38,7 +38,7 @@
"raw-loader": "^4.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"svg-url-loader": "^7.1.1",
"webpack": "5",
"webpack-dev-server": "^4.8.1"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook build",
@ -17,15 +17,15 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/cli": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/cli": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"@testing-library/dom": "^7.31.2",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "^13.1.9",
@ -34,7 +34,7 @@
"@types/react-dom": "^16.9.14",
"cross-env": "^7.0.3",
"lodash": "^4.17.21",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"typescript": "~4.6.3",
"webpack": "5"
}

View File

@ -1,6 +1,6 @@
{
"name": "server-kitchen-sink",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"description": "",
"keywords": [],
@ -14,15 +14,15 @@
"storybook": "SERVER_PORT=1137 storybook dev -p 9006 --quiet"
},
"devDependencies": {
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/server": "7.0.0-alpha.17",
"@storybook/server-webpack5": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/server": "7.0.0-alpha.18",
"@storybook/server-webpack5": "7.0.0-alpha.18",
"concurrently": "^5.3.0",
"cors": "^2.8.5",
"express": "~4.17.1",
@ -30,6 +30,6 @@
"nodemon": "^2.0.7",
"pug": "^3.0.0",
"safe-identifier": "^0.4.1",
"storybook": "7.0.0-alpha.17"
"storybook": "7.0.0-alpha.18"
}
}

View File

@ -1,20 +1,20 @@
{
"name": "standalone-preview",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook dev -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": "7.0.0-alpha.17",
"@storybook/cli": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/react-webpack5": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/cli": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@storybook/react-webpack5": "7.0.0-alpha.18",
"cross-env": "^7.0.3",
"parcel": "2.0.1",
"react": "16.14.0",
"react-dom": "16.14.0",
"storybook": "7.0.0-alpha.17"
"storybook": "7.0.0-alpha.18"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "svelte-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build-storybook": "storybook build",
@ -10,24 +10,24 @@
"global": "^4.4.0"
},
"devDependencies": {
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-interactions": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-interactions": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/jest": "^0.0.10",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/svelte": "7.0.0-alpha.17",
"@storybook/svelte-webpack5": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/svelte": "7.0.0-alpha.18",
"@storybook/svelte-webpack5": "7.0.0-alpha.18",
"@storybook/testing-library": "0.0.14-next.0",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^4.10.6"
},

View File

@ -1,6 +1,6 @@
{
"name": "vue-3-cli-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@ -14,21 +14,21 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/addon-interactions": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/addon-interactions": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/jest": "^0.0.10",
"@storybook/testing-library": "0.0.14-next.0",
"@storybook/vue3": "7.0.0-alpha.17",
"@storybook/vue3-webpack5": "7.0.0-alpha.17",
"@storybook/vue3": "7.0.0-alpha.18",
"@storybook/vue3-webpack5": "7.0.0-alpha.18",
"@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-typescript": "^5.0.4",
"@vue/cli-service": "^5.0.4",
"@vue/compiler-sfc": "^3.2.36",
"babel-loader": "^8.2.5",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"typescript": "~4.6.3",
"vue-jest": "^5.0.0-alpha.8",
"vue-loader": "^16.0.0"

View File

@ -1,6 +1,6 @@
{
"name": "vue-cli-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@ -15,16 +15,16 @@
"vue-property-decorator": "^9.1.2"
},
"devDependencies": {
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-essentials": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-essentials": "7.0.0-alpha.18",
"@storybook/preset-scss": "^1.0.3",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/vue": "7.0.0-alpha.17",
"@storybook/vue-webpack5": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/vue": "7.0.0-alpha.18",
"@storybook/vue-webpack5": "7.0.0-alpha.18",
"@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-typescript": "^5.0.4",
"@vue/cli-service": "^5.0.4",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"typescript": "~4.6.3",
"vue-template-compiler": "^2.6.14"
}

View File

@ -1,6 +1,6 @@
{
"name": "vue-example",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -14,29 +14,29 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/addon-a11y": "7.0.0-alpha.17",
"@storybook/addon-actions": "7.0.0-alpha.17",
"@storybook/addon-backgrounds": "7.0.0-alpha.17",
"@storybook/addon-controls": "7.0.0-alpha.17",
"@storybook/addon-docs": "7.0.0-alpha.17",
"@storybook/addon-highlight": "7.0.0-alpha.17",
"@storybook/addon-interactions": "7.0.0-alpha.17",
"@storybook/addon-links": "7.0.0-alpha.17",
"@storybook/addon-storyshots": "7.0.0-alpha.17",
"@storybook/addon-storysource": "7.0.0-alpha.17",
"@storybook/addon-viewport": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/addon-a11y": "7.0.0-alpha.18",
"@storybook/addon-actions": "7.0.0-alpha.18",
"@storybook/addon-backgrounds": "7.0.0-alpha.18",
"@storybook/addon-controls": "7.0.0-alpha.18",
"@storybook/addon-docs": "7.0.0-alpha.18",
"@storybook/addon-highlight": "7.0.0-alpha.18",
"@storybook/addon-interactions": "7.0.0-alpha.18",
"@storybook/addon-links": "7.0.0-alpha.18",
"@storybook/addon-storyshots": "7.0.0-alpha.18",
"@storybook/addon-storysource": "7.0.0-alpha.18",
"@storybook/addon-viewport": "7.0.0-alpha.18",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/jest": "^0.0.10",
"@storybook/source-loader": "7.0.0-alpha.17",
"@storybook/source-loader": "7.0.0-alpha.18",
"@storybook/testing-library": "0.0.14-next.0",
"@storybook/vue": "7.0.0-alpha.17",
"@storybook/vue-webpack5": "7.0.0-alpha.17",
"@storybook/vue": "7.0.0-alpha.18",
"@storybook/vue-webpack5": "7.0.0-alpha.18",
"@vue/babel-preset-jsx": "^1.2.4",
"babel-loader": "^8.2.5",
"cross-env": "^7.0.3",
"file-loader": "^6.2.0",
"prop-types": "^15.7.2",
"storybook": "7.0.0-alpha.17",
"storybook": "7.0.0-alpha.18",
"svg-url-loader": "^7.1.1",
"vue-loader": "^15.9.6",
"vue-style-loader": "^4.1.3",

View File

@ -1,6 +1,6 @@
{
"name": "web-components-kitchen-sink",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"private": true,
"description": "",
"keywords": [],

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
"keywords": [
"storybook",
@ -34,19 +34,19 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-client": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/core-server": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-client": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/core-server": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/docs-tools": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/docs-tools": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/semver": "^7.3.2",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
@ -128,5 +128,5 @@
"access": "public"
},
"builders": "dist/types/builders/builders.json",
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/ember",
"bugs": {
@ -30,11 +30,11 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-client": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/docs-tools": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-client": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/docs-tools": "7.0.0-alpha.18",
"@storybook/store": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react": "16.14.0",
@ -58,5 +58,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/html": "7.0.0-alpha.17",
"@storybook/preset-html-webpack": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/html": "7.0.0-alpha.18",
"@storybook/preset-html-webpack": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -79,5 +79,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preact": "7.0.0-alpha.17",
"@storybook/preset-preact-webpack": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preact": "7.0.0-alpha.18",
"@storybook/preset-preact-webpack": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"react": "16.14.0",
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,9 +51,9 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/preset-react-webpack": "7.0.0-alpha.17",
"@storybook/react": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/preset-react-webpack": "7.0.0-alpha.18",
"@storybook/react": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2"
},
@ -87,5 +87,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/server-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preset-server-webpack": "7.0.0-alpha.17",
"@storybook/server": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preset-server-webpack": "7.0.0-alpha.18",
"@storybook/server": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"react": "16.14.0",
@ -75,5 +75,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,10 +51,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preset-svelte-webpack": "7.0.0-alpha.17",
"@storybook/svelte": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preset-svelte-webpack": "7.0.0-alpha.18",
"@storybook/svelte": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -82,5 +82,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preset-vue-webpack": "7.0.0-alpha.17",
"@storybook/vue": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preset-vue-webpack": "7.0.0-alpha.18",
"@storybook/vue": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"react": "16.14.0",
@ -86,5 +86,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.17",
"@storybook/vue3": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.18",
"@storybook/vue3": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"react": "16.14.0",
@ -83,5 +83,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit-html",
@ -53,10 +53,10 @@
},
"dependencies": {
"@babel/preset-env": "^7.12.11",
"@storybook/builder-webpack5": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.17",
"@storybook/web-components": "7.0.0-alpha.17",
"@storybook/builder-webpack5": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.18",
"@storybook/web-components": "7.0.0-alpha.18",
"@types/node": "^14.14.20 || ^16.0.0",
"core-js": "^3.8.2",
"react": "16.14.0",
@ -82,5 +82,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "7.0.0-alpha.17"
"version": "7.0.0-alpha.18"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -34,13 +34,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/api": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"@types/webpack-env": "^1.16.4",
"core-js": "^3.8.2",
"global": "^4.4.0"
@ -52,5 +52,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/api",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@ -32,13 +32,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.18",
"@storybook/semver": "^7.3.2",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"dequal": "^2.0.2",
"global": "^4.4.0",
@ -65,5 +65,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,7 +1,7 @@
import global from 'global';
import pick from 'lodash/pick';
import { dequal as deepEqual } from 'dequal';
import { create } from '@storybook/theming';
import { create } from '@storybook/theming/create';
import { SET_CONFIG } from '@storybook/core-events';
import type { ThemeVars } from '@storybook/theming';
import { once } from '@storybook/client-logger';

View File

@ -162,8 +162,6 @@ export const init: ModuleFn<SubAPI, SubState, true> = ({
if (parameters) {
return parameterName ? parameters[parameterName] : parameters;
}
return {};
}
return null;

View File

@ -1 +1 @@
export const version = '7.0.0-alpha.17';
export const version = '7.0.0-alpha.18';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/blocks",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook Doc Blocks",
"keywords": [
"storybook"
@ -41,16 +41,16 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/api": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/docs-tools": "7.0.0-alpha.17",
"@storybook/preview-web": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/docs-tools": "7.0.0-alpha.18",
"@storybook/preview-web": "7.0.0-alpha.18",
"@storybook/store": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"color-convert": "^2.0.1",
"core-js": "^3.8.2",
"dequal": "^2.0.2",
@ -64,7 +64,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/addons": "7.0.0-alpha.17"
"@storybook/addons": "7.0.0-alpha.18"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
@ -77,5 +77,5 @@
"./src/index.ts"
]
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -10,7 +10,7 @@ const markdownCaption = `
The group looked like tall, exotic grazing animals, swaying gracefully and unconsciously with the movement of the train, their high heels like polished hooves against the gray metal of the Flatline as a construct, a hardwired ROM cassette replicating a dead mans skills, obsessions, kneejerk responses.
![An image](http://place-hold.it/350x150)
![An image](https://storybook.js.org/images/placeholders/350x150.png)
He stared at the clinic, Molly took him to the Tank War, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a skyscraper canyon.
`;

View File

@ -2,7 +2,7 @@
The group looked like tall, exotic grazing animals, swaying gracefully and unconsciously with the movement of the train, their high heels like polished hooves against the gray metal of the Flatline as a construct, a hardwired ROM cassette replicating a dead mans skills, obsessions, kneejerk responses.
![An image](http://place-hold.it/350x150)
![An image](https://storybook.js.org/images/placeholders/350x150.png)
He stared at the clinic, Molly took him to the Tank War, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a skyscraper canyon. Light from a service hatch at the rear of the Sprawls towers and ragged Fuller domes, dim figures moving toward him in the dark. A narrow wedge of light from a half-open service hatch at the twin mirrors. Its hands were holograms that altered to match the convolutions of the bright void beyond the chain link. Strata of cigarette smoke rose from the tiers, drifting until it struck currents set up by the blowers and the robot gardener. Still it was a steady pulse of pain midway down his spine. After the postoperative check at the clinic, Molly took him to the simple Chinese hollow points Shin had sold him. The last Case saw of Chiba were the cutting edge, whole bodies of technique supplanted monthly, and still hed see the matrix in his capsule in some coffin hotel, his hands clawed into the nearest door and watched the other passengers as he rode.

View File

@ -2,7 +2,7 @@
The group looked like tall, exotic grazing animals, swaying gracefully and unconsciously with the movement of the train, their high heels like polished hooves against the gray metal of the Flatline as a construct, a hardwired ROM cassette replicating a dead mans skills, obsessions, kneejerk responses.
![An image](http://place-hold.it/350x150)
![An image](https://storybook.js.org/images/placeholders/350x150.png)
He stared at the clinic, Molly took him to the Tank War, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a skyscraper canyon. Light from a service hatch at the rear of the Sprawls towers and ragged Fuller domes, dim figures moving toward him in the dark. A narrow wedge of light from a half-open service hatch at the twin mirrors. Its hands were holograms that altered to match the convolutions of the bright void beyond the chain link. Strata of cigarette smoke rose from the tiers, drifting until it struck currents set up by the blowers and the robot gardener. Still it was a steady pulse of pain midway down his spine. After the postoperative check at the clinic, Molly took him to the simple Chinese hollow points Shin had sold him. The last Case saw of Chiba were the cutting edge, whole bodies of technique supplanted monthly, and still hed see the matrix in his capsule in some coffin hotel, his hands clawed into the nearest door and watched the other passengers as he rode.

View File

@ -21,10 +21,10 @@ export const DefaultStyle = () => (
<ExampleIcon icon="facehappy" />
</IconItem>
<IconItem name="bar">
<img src="https://place-hold.it/50x50" alt="example" />
<img src="https://storybook.js.org/images/placeholders/50x50.png" alt="example" />
</IconItem>
<IconItem name="bar">
<img src="https://place-hold.it/50x50" alt="example" />
<img src="https://storybook.js.org/images/placeholders/50x50.png" alt="example" />
</IconItem>
</IconGallery>
);

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-manager",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook manager builder",
"keywords": [
"storybook"
@ -42,9 +42,9 @@
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/ui": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/ui": "7.0.0-alpha.18",
"@types/ejs": "^3.1.1",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
"browser-assert": "^1.2.1",
@ -69,5 +69,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -39,7 +39,16 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
outdir: join(options.outputDir || './', 'sb-addons'),
format: 'esm',
outExtension: { '.js': '.mjs' },
loader: { '.js': 'jsx' },
loader: {
'.js': 'jsx',
'.png': 'dataurl',
'.gif': 'dataurl',
'.jpg': 'dataurl',
'.jpeg': 'dataurl',
'.svg': 'dataurl',
'.webp': 'dataurl',
'.webm': 'dataurl',
},
target: ['chrome100'],
platform: 'browser',
bundle: true,

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -34,23 +34,23 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/api": "7.0.0-alpha.17",
"@storybook/channel-postmessage": "7.0.0-alpha.17",
"@storybook/channel-websocket": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/components": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/core-webpack": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/preview-web": "7.0.0-alpha.17",
"@storybook/router": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/api": "7.0.0-alpha.18",
"@storybook/channel-postmessage": "7.0.0-alpha.18",
"@storybook/channel-websocket": "7.0.0-alpha.18",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/components": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/core-webpack": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/preview-web": "7.0.0-alpha.18",
"@storybook/router": "7.0.0-alpha.18",
"@storybook/semver": "^7.3.2",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.18",
"@storybook/theming": "7.0.0-alpha.18",
"@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.2.5",
"babel-plugin-named-exports-order": "^0.0.2",
@ -95,5 +95,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "",
"keywords": [
"storybook"
@ -34,9 +34,9 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"qs": "^6.10.0",
@ -48,5 +48,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "",
"keywords": [
"storybook"
@ -34,8 +34,8 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"global": "^4.4.0",
"telejson": "^6.0.8"
@ -46,5 +46,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "",
"keywords": [
"storybook"
@ -20,9 +20,17 @@
},
"license": "MIT",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
@ -31,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prepare": "node ../../../scripts/prepare.js"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"core-js": "^3.8.2",
@ -44,5 +52,10 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"bundler": {
"entries": [
"./src/index.ts"
]
},
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "sb",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -25,7 +25,7 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.17"
"@storybook/cli": "7.0.0-alpha.18"
},
"devDependencies": {
"typescript": "~4.6.3"
@ -33,5 +33,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -28,7 +28,7 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.17"
"@storybook/cli": "7.0.0-alpha.18"
},
"devDependencies": {
"typescript": "~4.6.3"
@ -36,5 +36,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -49,13 +49,13 @@
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@storybook/codemod": "7.0.0-alpha.17",
"@storybook/core-common": "7.0.0-alpha.17",
"@storybook/core-server": "7.0.0-alpha.17",
"@storybook/csf-tools": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/codemod": "7.0.0-alpha.18",
"@storybook/core-common": "7.0.0-alpha.18",
"@storybook/core-server": "7.0.0-alpha.18",
"@storybook/csf-tools": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/semver": "^7.3.2",
"@storybook/telemetry": "7.0.0-alpha.17",
"@storybook/telemetry": "7.0.0-alpha.18",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
"commander": "^6.2.1",
@ -82,7 +82,7 @@
"update-notifier": "^5.0.1"
},
"devDependencies": {
"@storybook/client-api": "7.0.0-alpha.17",
"@storybook/client-api": "7.0.0-alpha.18",
"@types/cross-spawn": "^6.0.2",
"@types/degit": "^2.8.3",
"@types/prompts": "^2.0.9",
@ -97,5 +97,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -6,6 +6,7 @@ import { mainjsFramework } from './mainjsFramework';
import { eslintPlugin } from './eslint-plugin';
import { builderVite } from './builder-vite';
import { npm7 } from './npm7';
import { sbScripts } from './sb-scripts';
import { Fix } from '../types';
export * from '../types';
@ -18,4 +19,5 @@ export const fixes: Fix[] = [
eslintPlugin,
builderVite,
npm7,
sbScripts,
];

View File

@ -0,0 +1,218 @@
import { JsPackageManager } from '../../js-package-manager';
import { sbScripts, getStorybookScripts } from './sb-scripts';
const checkSbScripts = async ({ packageJson }) => {
const packageManager = {
retrievePackageJson: () => ({ dependencies: {}, devDependencies: {}, ...packageJson }),
} as JsPackageManager;
return sbScripts.check({ packageManager });
};
describe('getStorybookScripts', () => {
it('detects default storybook scripts', () => {
expect(
getStorybookScripts({
start: 'server start',
storybook: 'start-storybook',
'build-storybook': 'build-storybook',
})
).toEqual({
official: {
storybook: 'start-storybook',
'build-storybook': 'build-storybook',
},
custom: {},
});
});
it('skips non-storybook scripts', () => {
expect(
getStorybookScripts({
start: 'server start',
'storybook:start-ci': 'CI=true yarn start-storybook',
'storybook:build-ci': 'CI=true yarn build-storybook',
})
).toEqual({
custom: {
'storybook:start-ci': 'CI=true yarn start-storybook',
'storybook:build-ci': 'CI=true yarn build-storybook',
},
official: {},
});
});
it('works with custom storybook scripts', () => {
expect(
getStorybookScripts({
'sb:start': 'start-storybook',
'sb:mocked': 'MOCKS=true start-storybook',
'sb:build': 'build-storybook',
})
).toEqual({
custom: {
'sb:start': 'start-storybook',
'sb:mocked': 'MOCKS=true start-storybook',
'sb:build': 'build-storybook',
},
official: {},
});
});
});
describe('sb scripts fix', () => {
describe('sb < 7.0', () => {
describe('does nothing', () => {
const packageJson = { dependencies: { '@storybook/react': '^6.2.0' } };
it('should no-op', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toBeFalsy();
});
});
});
describe('sb >= 7.0', () => {
describe('with old scripts', () => {
const packageJson = {
dependencies: {
'@storybook/react': '^7.0.0-alpha.0',
},
scripts: {
storybook: 'start-storybook -p 6006',
'build-storybook': 'build-storybook -o build/storybook',
},
};
it('should update scripts to new format', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toEqual(
expect.objectContaining({
storybookScripts: {
official: {
storybook: 'storybook dev -p 6006',
'build-storybook': 'storybook build -o build/storybook',
},
custom: {},
},
storybookVersion: '^7.0.0-alpha.0',
})
);
});
});
describe('with old custom scripts', () => {
const packageJson = {
dependencies: {
'@storybook/react': '^7.0.0-alpha.0',
},
scripts: {
'sb:start': 'start-storybook -p 6006',
'sb:mocked': 'MOCKS=true sb:start',
'sb:start-ci': 'sb:start --ci',
'sb:build': 'build-storybook -o buid/storybook',
'sb:build-mocked': 'MOCKS=true sb:build',
'test-storybook:ci':
'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent" "wait-on tcp:6006 && yarn test-storybook"',
},
};
it('should update scripts to new format', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toEqual(
expect.objectContaining({
storybookScripts: {
custom: {
'sb:start': 'start-storybook -p 6006',
'sb:build': 'build-storybook -o buid/storybook',
'test-storybook:ci':
'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent" "wait-on tcp:6006 && yarn test-storybook"',
},
official: {},
},
storybookVersion: '^7.0.0-alpha.0',
})
);
});
describe('with old official and custom scripts', () => {
const packageJson = {
dependencies: {
'@storybook/react': '^7.0.0-alpha.0',
},
scripts: {
storybook: 'start-storybook -p 6006',
'storybook:mocked': 'MOCKS=true storybook',
'storybook:ci': 'yarn storybook --ci',
'storybook:build': 'build-storybook -o buid/storybook',
'storybook:build-mocked': 'MOCKS=true yarn storybook:build',
'test-storybook:ci':
'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent" "wait-on tcp:6006 && yarn test-storybook"',
},
};
it('should update scripts to new format', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toEqual(
expect.objectContaining({
storybookScripts: {
custom: {
'storybook:build': 'build-storybook -o buid/storybook',
'test-storybook:ci':
'concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent" "wait-on tcp:6006 && yarn test-storybook"',
},
official: {
storybook: 'storybook dev -p 6006',
},
},
storybookVersion: '^7.0.0-alpha.0',
})
);
});
});
describe('with storybook lib installed', () => {
const packageJson = {
dependencies: {
'@storybook/react': '^7.0.0-alpha.0',
storybook: '^7.0.0-alpha.0',
},
};
it('should no-op', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toBeFalsy();
});
});
describe('already containing new scripts', () => {
const packageJson = {
dependencies: {
'@storybook/react': '^7.0.0-alpha.0',
storybook: '^7.0.0-alpha.0',
},
scripts: {
storybook: 'npx sb dev -p 6006',
'build-storybook': 'npx sb build -o build/storybook',
},
};
it('should no-op', async () => {
await expect(
checkSbScripts({
packageJson,
})
).resolves.toBeFalsy();
});
});
});
});
});

View File

@ -0,0 +1,152 @@
import chalk from 'chalk';
import { dedent } from 'ts-dedent';
import semver from '@storybook/semver';
import { getStorybookInfo } from '@storybook/core-common';
import { Fix } from '../types';
import { getStorybookVersionSpecifier } from '../../helpers';
import { PackageJsonWithDepsAndDevDeps } from '../../js-package-manager';
interface SbScriptsRunOptions {
storybookScripts: {
custom: Record<string, string>;
official: Record<string, string>;
};
storybookVersion: string;
packageJson: PackageJsonWithDepsAndDevDeps;
}
const logger = console;
export const getStorybookScripts = (scripts: Record<string, string>) => {
const storybookScripts: SbScriptsRunOptions['storybookScripts'] = {
custom: {},
official: {},
};
Object.keys(scripts).forEach((key) => {
if (key === 'storybook' || key === 'build-storybook') {
storybookScripts.official[key] = scripts[key];
} else if (scripts[key].match(/start-storybook/) || scripts[key].match(/build-storybook/)) {
storybookScripts.custom[key] = scripts[key];
}
});
return storybookScripts;
};
/**
* Is the user using start-storybook
*
* If so:
* - Add storybook dependency
* - Change start-storybook and build-storybook scripts
*/
export const sbScripts: Fix<SbScriptsRunOptions> = {
id: 'sb-scripts',
async check({ packageManager }) {
const packageJson = packageManager.retrievePackageJson();
const { scripts = {}, devDependencies, dependencies } = packageJson;
const { version: storybookVersion } = getStorybookInfo(packageJson);
const allDeps = { ...dependencies, ...devDependencies };
const storybookCoerced = storybookVersion && semver.coerce(storybookVersion)?.version;
if (!storybookCoerced) {
logger.warn(dedent`
Unable to determine storybook version, skipping ${chalk.cyan('sb-scripts')} fix.
🤔 Are you running automigrate from your project directory?
`);
return null;
}
if (allDeps.sb || allDeps.storybook) {
return null;
}
const storybookScripts = getStorybookScripts(scripts);
if (
Object.keys(storybookScripts.official).length === 0 &&
Object.keys(storybookScripts.custom).length === 0
) {
return null;
}
Object.keys(storybookScripts.official).forEach((key) => {
storybookScripts.official[key] = storybookScripts.official[key]
.replace('start-storybook', 'storybook dev')
.replace('build-storybook', 'storybook build');
});
return semver.gte(storybookCoerced, '7.0.0')
? { packageJson, storybookScripts, storybookVersion }
: null;
},
prompt({ storybookVersion }) {
const sbFormatted = chalk.cyan(`Storybook ${storybookVersion}`);
const explanationMessage = [
`Starting in Storybook 7, the ${chalk.yellow('start-storybook')} and ${chalk.yellow(
'build-storybook'
)} binaries have changed to ${chalk.magenta('storybook dev')} and ${chalk.magenta(
'storybook build'
)} respectively.`,
`In order to work with ${sbFormatted}, Storybook's ${chalk.magenta(
'storybook'
)} binary has to be installed and your storybook scripts have to be adjusted to use the binary. We can install the storybook binary and attempt to adjust your scripts for you.`,
].join('\n');
return [
`We've detected you are using ${sbFormatted} with scripts from previous versions of Storybook.`,
explanationMessage,
`More info: ${chalk.yellow(
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#start-storybook--build-storybook-binaries-removed'
)}`,
]
.filter(Boolean)
.join('\n\n');
},
async run({ result: { storybookScripts, packageJson }, packageManager, dryRun }) {
logger.log();
logger.info(`Adding 'storybook' as dev dependency`);
logger.log();
if (!dryRun) {
const versionToInstall = getStorybookVersionSpecifier(packageJson);
packageManager.addDependencies({ installAsDevDependencies: true }, [
`storybook@${versionToInstall}`,
]);
}
logger.info(`Updating scripts in package.json`);
logger.log();
if (!dryRun && Object.keys(storybookScripts.official).length > 0) {
const message = [
`Migrating your scripts to:`,
chalk.yellow(JSON.stringify(storybookScripts.official, null, 2)),
].join('\n');
logger.log(message);
logger.log();
packageManager.addScripts(storybookScripts.official);
}
if (!dryRun && Object.keys(storybookScripts.custom).length > 0) {
const message = [
`We detected custom scripts that we can't automigrate:`,
chalk.yellow(JSON.stringify(storybookScripts.custom, null, 2)),
'\n',
`Please manually migrate the ones applicable and use the documentation below for reference: ${chalk.yellow(
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#start-storybook--build-storybook-binaries-removed'
)}`,
].join('\n');
logger.log(message);
logger.log();
}
},
};

View File

@ -152,6 +152,7 @@ program
.description('Create a reproduction from a set of possible templates')
.option('-o --output <outDir>', 'Define an output directory')
.option('-b --branch <branch>', 'Define the branch to degit from', 'next')
.option('--no-init', 'Whether to download a template without an initialized Storybook', false)
.action((filterValue, options) =>
reproNext({ filterValue, ...options }).catch((e) => {
logger.error(e);

View File

@ -108,4 +108,28 @@ describe('Helpers', () => {
helpers.copyComponents(framework, SupportedLanguage.JAVASCRIPT)
).rejects.toThrowError(expectedMessage);
});
describe('getStorybookVersionSpecifier', () => {
it(`should return the specifier if storybook lib exists in package.json`, () => {
expect(
helpers.getStorybookVersionSpecifier({
dependencies: {},
devDependencies: {
'@storybook/react': '^x.x.x',
},
})
).toEqual('^x.x.x');
});
it(`should throw an error if no package is found`, () => {
expect(() => {
helpers.getStorybookVersionSpecifier({
dependencies: {},
devDependencies: {
'something-else': '^x.x.x',
},
});
}).toThrowError("Couldn't find any official storybook packages in package.json");
});
});
});

View File

@ -9,6 +9,7 @@ import stripJsonComments from 'strip-json-comments';
import { SupportedRenderers, SupportedLanguage } from './project_types';
import { JsPackageManager, PackageJson, PackageJsonWithDepsAndDevDeps } from './js-package-manager';
import { getBaseDir } from './dirs';
import storybookMonorepoPackages from './versions';
const logger = console;
@ -222,3 +223,20 @@ export async function copyComponents(framework: SupportedRenderers, language: Su
overwrite: true,
});
}
// Given a package.json, finds any official storybook package within it
// and if it exists, returns the version of that package from the specified package.json
export function getStorybookVersionSpecifier(packageJson: PackageJsonWithDepsAndDevDeps) {
const allDeps = { ...packageJson.dependencies, ...packageJson.devDependencies };
const storybookPackage = Object.keys(allDeps).find(
(name: keyof typeof storybookMonorepoPackages) => {
return storybookMonorepoPackages[name];
}
);
if (!storybookPackage) {
throw new Error(`Couldn't find any official storybook packages in package.json`);
}
return allDeps[storybookPackage];
}

View File

@ -130,6 +130,50 @@ export abstract class JsPackageManager {
}
}
/**
* Remove dependencies from a project using `yarn remove` or `npm uninstall`.
*
* @param {Object} options contains `skipInstall`, `packageJson` and `installAsDevDependencies` which we use to determine how we install packages.
* @param {Array} dependencies contains a list of packages to remove.
* @example
* removeDependencies(options, [
* `@storybook/react`,
* `@storybook/addon-actions`,
* ]);
*/
public removeDependencies(
options: {
skipInstall?: boolean;
packageJson?: PackageJson;
},
dependencies: string[]
): void {
const { skipInstall } = options;
if (skipInstall) {
const { packageJson } = options;
dependencies.forEach((dep) => {
if (packageJson.devDependencies) {
delete packageJson.devDependencies[dep];
}
if (packageJson.dependencies) {
delete packageJson.dependencies[dep];
}
});
writePackageJson(packageJson);
} else {
try {
this.runRemoveDeps(dependencies);
} catch (e) {
logger.error('An error occurred while removing dependencies.');
logger.log(e.message);
process.exit(1);
}
}
}
/**
* Return an array of strings matching following format: `<package_name>@<package_latest_version>`
*
@ -268,6 +312,8 @@ export abstract class JsPackageManager {
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean): void;
protected abstract runRemoveDeps(dependencies: string[]): void;
/**
* Get the latest or all versions of the input package available on npmjs.com
*

View File

@ -1,4 +1,5 @@
import { NPMProxy } from './NPMProxy';
import * as PackageJsonHelper from './PackageJsonHelper';
describe('NPM Proxy', () => {
let npmProxy: NPMProxy;
@ -75,6 +76,63 @@ describe('NPM Proxy', () => {
});
});
describe('removeDependencies', () => {
describe('npm6', () => {
it('with devDep it should run `npm uninstall @storybook/addons`', () => {
const executeCommandSpy = jest.spyOn(npmProxy, 'executeCommand').mockReturnValue('6.0.0');
npmProxy.removeDependencies({}, ['@storybook/addons']);
expect(executeCommandSpy).toHaveBeenLastCalledWith(
'npm',
['uninstall', '@storybook/addons'],
expect.any(String)
);
});
});
describe('npm7', () => {
it('with devDep it should run `npm uninstall @storybook/addons`', () => {
const executeCommandSpy = jest.spyOn(npmProxy, 'executeCommand').mockReturnValue('7.0.0');
npmProxy.removeDependencies({}, ['@storybook/addons']);
expect(executeCommandSpy).toHaveBeenLastCalledWith(
'npm',
['uninstall', '--legacy-peer-deps', '@storybook/addons'],
expect.any(String)
);
});
});
describe('skipInstall', () => {
it('should only change package.json without running install', () => {
const executeCommandSpy = jest.spyOn(npmProxy, 'executeCommand').mockReturnValue('7.0.0');
const writePackageSpy = jest
.spyOn(PackageJsonHelper, 'writePackageJson')
.mockImplementation(jest.fn);
npmProxy.removeDependencies(
{
skipInstall: true,
packageJson: {
devDependencies: {
'@storybook/manager-webpack5': 'x.x.x',
'@storybook/react': 'x.x.x',
},
},
},
['@storybook/manager-webpack5']
);
expect(writePackageSpy).toHaveBeenCalledWith({
devDependencies: {
'@storybook/react': 'x.x.x',
},
});
expect(executeCommandSpy).not.toHaveBeenCalled();
});
});
});
describe('latestVersion', () => {
it('without constraint it returns the latest version', async () => {
const executeCommandSpy = jest.spyOn(npmProxy, 'executeCommand').mockReturnValue('"5.3.19"');

View File

@ -6,6 +6,8 @@ export class NPMProxy extends JsPackageManager {
installArgs: string[] | undefined;
uninstallArgs: string[] | undefined;
initPackageJson() {
return this.executeCommand('npm', ['init', '-y']);
}
@ -49,6 +51,15 @@ export class NPMProxy extends JsPackageManager {
return this.installArgs;
}
getUninstallArgs(): string[] {
if (!this.uninstallArgs) {
this.uninstallArgs = this.needsLegacyPeerDeps(this.getNpmVersion())
? ['uninstall', '--legacy-peer-deps']
: ['uninstall'];
}
return this.uninstallArgs;
}
protected runInstall(): void {
this.executeCommand('npm', this.getInstallArgs(), 'inherit');
}
@ -63,6 +74,12 @@ export class NPMProxy extends JsPackageManager {
this.executeCommand('npm', [...this.getInstallArgs(), ...args], 'inherit');
}
protected runRemoveDeps(dependencies: string[]): void {
const args = [...dependencies];
this.executeCommand('npm', [...this.getUninstallArgs(), ...args], 'inherit');
}
protected runGetVersions<T extends boolean>(
packageName: string,
fetchAllVersions: T

View File

@ -1,4 +1,5 @@
import { Yarn1Proxy } from './Yarn1Proxy';
import * as PackageJsonHelper from './PackageJsonHelper';
describe('Yarn 1 Proxy', () => {
let yarn1Proxy: Yarn1Proxy;
@ -45,6 +46,47 @@ describe('Yarn 1 Proxy', () => {
});
});
describe('removeDependencies', () => {
it('should run `yarn remove --ignore-workspace-root-check @storybook/addons`', () => {
const executeCommandSpy = jest.spyOn(yarn1Proxy, 'executeCommand').mockReturnValue('');
yarn1Proxy.removeDependencies({}, ['@storybook/addons']);
expect(executeCommandSpy).toHaveBeenCalledWith(
'yarn',
['remove', '--ignore-workspace-root-check', '@storybook/addons'],
expect.any(String)
);
});
it('skipInstall should only change package.json without running install', () => {
const executeCommandSpy = jest.spyOn(yarn1Proxy, 'executeCommand').mockReturnValue('7.0.0');
const writePackageSpy = jest
.spyOn(PackageJsonHelper, 'writePackageJson')
.mockImplementation(jest.fn);
yarn1Proxy.removeDependencies(
{
skipInstall: true,
packageJson: {
devDependencies: {
'@storybook/manager-webpack5': 'x.x.x',
'@storybook/react': 'x.x.x',
},
},
},
['@storybook/manager-webpack5']
);
expect(writePackageSpy).toHaveBeenCalledWith({
devDependencies: {
'@storybook/react': 'x.x.x',
},
});
expect(executeCommandSpy).not.toHaveBeenCalled();
});
});
describe('latestVersion', () => {
it('without constraint it returns the latest version', async () => {
const executeCommandSpy = jest

View File

@ -29,6 +29,12 @@ export class Yarn1Proxy extends JsPackageManager {
this.executeCommand('yarn', ['add', ...args], 'inherit');
}
protected runRemoveDeps(dependencies: string[]): void {
const args = ['--ignore-workspace-root-check', ...dependencies];
this.executeCommand('yarn', ['remove', ...args], 'inherit');
}
protected runGetVersions<T extends boolean>(
packageName: string,
fetchAllVersions: T

View File

@ -1,6 +1,7 @@
import { Yarn2Proxy } from './Yarn2Proxy';
import * as PackageJsonHelper from './PackageJsonHelper';
describe('Yarn 1 Proxy', () => {
describe('Yarn 2 Proxy', () => {
let yarn2Proxy: Yarn2Proxy;
beforeEach(() => {
@ -45,6 +46,47 @@ describe('Yarn 1 Proxy', () => {
});
});
describe('removeDependencies', () => {
it('it should run `yarn remove @storybook/addons`', () => {
const executeCommandSpy = jest.spyOn(yarn2Proxy, 'executeCommand').mockReturnValue('');
yarn2Proxy.removeDependencies({}, ['@storybook/addons']);
expect(executeCommandSpy).toHaveBeenCalledWith(
'yarn',
['remove', '@storybook/addons'],
expect.any(String)
);
});
it('skipInstall should only change package.json without running install', () => {
const executeCommandSpy = jest.spyOn(yarn2Proxy, 'executeCommand').mockReturnValue('7.0.0');
const writePackageSpy = jest
.spyOn(PackageJsonHelper, 'writePackageJson')
.mockImplementation(jest.fn);
yarn2Proxy.removeDependencies(
{
skipInstall: true,
packageJson: {
devDependencies: {
'@storybook/manager-webpack5': 'x.x.x',
'@storybook/react': 'x.x.x',
},
},
},
['@storybook/manager-webpack5']
);
expect(writePackageSpy).toHaveBeenCalledWith({
devDependencies: {
'@storybook/react': 'x.x.x',
},
});
expect(executeCommandSpy).not.toHaveBeenCalled();
});
});
describe('latestVersion', () => {
it('without constraint it returns the latest version', async () => {
const executeCommandSpy = jest

View File

@ -29,6 +29,12 @@ export class Yarn2Proxy extends JsPackageManager {
this.executeCommand('yarn', ['add', ...args], 'inherit');
}
protected runRemoveDeps(dependencies: string[]): void {
const args = [...dependencies];
this.executeCommand('yarn', ['remove', ...args], 'inherit');
}
protected runGetVersions<T extends boolean>(
packageName: string,
fetchAllVersions: T

View File

@ -1,11 +1,11 @@
import prompts from 'prompts';
import fs from 'fs';
import path from 'path';
import chalk from 'chalk';
import boxen from 'boxen';
import { dedent } from 'ts-dedent';
import degit from 'degit';
import { existsSync } from 'fs-extra';
import TEMPLATES from './repro-templates';
const logger = console;
@ -14,12 +14,18 @@ interface ReproOptions {
filterValue?: string;
output?: string;
branch?: string;
init?: boolean;
}
type Choice = keyof typeof TEMPLATES;
const toChoices = (c: Choice): prompts.Choice => ({ title: TEMPLATES[c].name, value: c });
export const reproNext = async ({ output: outputDirectory, filterValue, branch }: ReproOptions) => {
export const reproNext = async ({
output: outputDirectory,
filterValue,
branch,
init,
}: ReproOptions) => {
const keys = Object.keys(TEMPLATES) as Choice[];
// get value from template and reduce through TEMPLATES to filter out the correct template
const choices = keys.reduce<Choice[]>((acc, group) => {
@ -50,9 +56,10 @@ export const reproNext = async ({ output: outputDirectory, filterValue, branch }
boxen(
dedent`
🔎 You filtered out all templates. 🔍
After filtering all the templates with "${chalk.yellow(
filterValue
)}", we found no templates.
)}", we found no results. Please try again with a different filter.
Available templates:
${keys.map((key) => chalk.blue`- ${key}`).join('\n')}
@ -60,7 +67,7 @@ export const reproNext = async ({ output: outputDirectory, filterValue, branch }
{ borderStyle: 'round', padding: 1, borderColor: '#F1618C' } as any
)
);
return;
process.exit(1);
}
let selectedTemplate: Choice | null = null;
@ -100,14 +107,19 @@ export const reproNext = async ({ output: outputDirectory, filterValue, branch }
}
let selectedDirectory = outputDirectory;
const outputDirectoryName = outputDirectory || selectedTemplate;
if (selectedDirectory && existsSync(`${selectedDirectory}`)) {
logger.info(`⚠️ ${selectedDirectory} already exists! Overwriting...`);
}
if (!selectedDirectory) {
const { directory } = await prompts({
type: 'text',
message: 'Enter the output directory',
name: 'directory',
initial: selectedTemplate,
validate: (directoryName) =>
fs.existsSync(directoryName)
initial: outputDirectoryName,
validate: async (directoryName) =>
existsSync(directoryName)
? `${directoryName} already exists. Please choose another name.`
: true,
});
@ -115,33 +127,38 @@ export const reproNext = async ({ output: outputDirectory, filterValue, branch }
}
try {
const cwd = path.isAbsolute(selectedDirectory)
const templateDestination = path.isAbsolute(selectedDirectory)
? selectedDirectory
: path.join(process.cwd(), selectedDirectory);
logger.info(`🏃 Adding ${selectedConfig.name} into ${cwd}`);
logger.info(`🏃 Adding ${selectedConfig.name} into ${templateDestination}`);
logger.log('📦 Downloading repro template...');
try {
const templateType = init ? 'after-storybook' : 'before-storybook';
// Download the repro based on subfolder "after-storybook" and selected branch
await degit(
`storybookjs/repro-templates-temp/${selectedTemplate}/after-storybook#${branch}`,
`storybookjs/repro-templates-temp/${selectedTemplate}/${templateType}#${branch}`,
{
force: true,
}
).clone(selectedTemplate.replace('/', '-'));
).clone(templateDestination);
} catch (err) {
logger.error(`🚨 Failed to download repro template: ${err.message}`);
return;
throw err;
}
const initMessage = init
? chalk.yellow(`yarn storybook`)
: `Recreate your setup, then ${chalk.yellow(`run npx storybook init`)}`;
logger.info(
boxen(
dedent`
🎉 Your Storybook reproduction project is ready to use! 🎉
${chalk.yellow(`cd ${selectedDirectory}`)}
${chalk.yellow(`yarn storybook`)}
${initMessage}
Once you've recreated the problem you're experiencing, please:

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook Client API",
"keywords": [
"storybook"
@ -34,13 +34,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/channel-postmessage": "7.0.0-alpha.17",
"@storybook/channels": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/channel-postmessage": "7.0.0-alpha.18",
"@storybook/channels": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.18",
"@types/qs": "^6.9.5",
"@types/webpack-env": "^1.16.4",
"core-js": "^3.8.2",
@ -64,5 +64,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "",
"keywords": [
"storybook"
@ -43,5 +43,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@ -45,8 +45,8 @@
"@babel/types": "^7.12.11",
"@mdx-js/mdx": "^1.6.22",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/csf-tools": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/csf-tools": "7.0.0-alpha.18",
"@storybook/node-logger": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
@ -63,5 +63,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -98,7 +98,7 @@ storiesOf('Button').addWithInfo(
</a>
</p>
<p>
<img src="http://place-hold.it/350x150" />
<img src="https://storybook.js.org/images/placeholders/350x150.png" />
</p>
</div>,
() => (
@ -128,7 +128,7 @@ storiesOf('Button').addWithInfo(
</a>
</p>
<p>
<img src="http://place-hold.it/350x150" />
<img src="https://storybook.js.org/images/placeholders/350x150.png" />
</p>
</div>,
() => <Button label="The Button" onClick={action('onClick')} />,

View File

@ -98,7 +98,7 @@ storiesOf('Button').add('simple usage (JSX description)', withInfo(<div>
</a>
</p>
<p>
<img src=\\"http://place-hold.it/350x150\\" />
<img src=\\"https://storybook.js.org/images/placeholders/350x150.png\\" />
</p>
</div>)(() => (
<div>
@ -125,7 +125,7 @@ storiesOf('Button').add('simple usage (inline JSX description)', withInfo({
</a>
</p>
<p>
<img src=\\"http://place-hold.it/350x150\\" />
<img src=\\"https://storybook.js.org/images/placeholders/350x150.png\\" />
</p>
</div>,

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -51,9 +51,9 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/theming": "7.0.0-alpha.17",
"@storybook/theming": "7.0.0-alpha.18",
"core-js": "^3.8.2",
"memoizerific": "^1.11.3",
"qs": "^6.10.0",
@ -100,5 +100,5 @@
],
"platform": "neutral"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-client",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -34,16 +34,16 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.17",
"@storybook/channel-postmessage": "7.0.0-alpha.17",
"@storybook/channel-websocket": "7.0.0-alpha.17",
"@storybook/client-api": "7.0.0-alpha.17",
"@storybook/client-logger": "7.0.0-alpha.17",
"@storybook/core-events": "7.0.0-alpha.17",
"@storybook/addons": "7.0.0-alpha.18",
"@storybook/channel-postmessage": "7.0.0-alpha.18",
"@storybook/channel-websocket": "7.0.0-alpha.18",
"@storybook/client-api": "7.0.0-alpha.18",
"@storybook/client-logger": "7.0.0-alpha.18",
"@storybook/core-events": "7.0.0-alpha.18",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/preview-web": "7.0.0-alpha.17",
"@storybook/store": "7.0.0-alpha.17",
"@storybook/ui": "7.0.0-alpha.17",
"@storybook/preview-web": "7.0.0-alpha.18",
"@storybook/store": "7.0.0-alpha.18",
"@storybook/ui": "7.0.0-alpha.18",
"ansi-to-html": "^0.6.11",
"core-js": "^3.8.2",
"global": "^4.4.0",
@ -64,5 +64,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-common",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -69,7 +69,7 @@
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.1",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/node-logger": "7.0.0-alpha.17",
"@storybook/node-logger": "7.0.0-alpha.18",
"@storybook/semver": "^7.3.2",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
@ -125,5 +125,5 @@
],
"platform": "node"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "7.0.0-alpha.17",
"version": "7.0.0-alpha.18",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@ -55,5 +55,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}

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