mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 23:01:16 +08:00
Merge branch 'next' into perf/esm-dist
This commit is contained in:
commit
bf0bb282b1
32
CHANGELOG.md
32
CHANGELOG.md
@ -1,3 +1,35 @@
|
||||
## 6.1.11 (December 12, 2020)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- UI: Fix null ref in sidebar ([#13423](https://github.com/storybookjs/storybook/pull/13423))
|
||||
- Addon-docs: Handle svelte docgen failures gracefully ([#13386](https://github.com/storybookjs/storybook/pull/13386))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
- Update react-popper-tooltip and @popperjs/core for react17 ([#13434](https://github.com/storybookjs/storybook/pull/13434))
|
||||
|
||||
## 6.2.0-alpha.6 (December 12, 2020)
|
||||
|
||||
### Features
|
||||
|
||||
* Main.js: Add previewHead, previewBody, managerHead presets ([#13432](https://github.com/storybookjs/storybook/pull/13432))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Core: Fix `modulesCount` cache storage and retrieval ([#13431](https://github.com/storybookjs/storybook/pull/13431))
|
||||
* UI: Fix null ref in sidebar ([#13423](https://github.com/storybookjs/storybook/pull/13423))
|
||||
|
||||
### Maintenance
|
||||
|
||||
* Components: Cleanup circular dependencies ([#13439](https://github.com/storybookjs/storybook/pull/13439))
|
||||
* Core: Generate bundle size report for prebuilt manager ([#13425](https://github.com/storybookjs/storybook/pull/13425))
|
||||
* CI: Speed up CircleCI workflows ([#13320](https://github.com/storybookjs/storybook/pull/13320))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
* Update react-popper-tooltip and @popperjs/core for react17 ([#13434](https://github.com/storybookjs/storybook/pull/13434))
|
||||
|
||||
## 6.2.0-alpha.5 (December 8, 2020)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -161,7 +161,7 @@ Please also file an issue if you need to opt out. We plan to remove the legacy r
|
||||
|
||||
In 6.1 we introduced an unintentional breaking change to `addon-backgrounds`.
|
||||
|
||||
The addon uses decorators which are set up automatically by a preset. The required preset is ignored if you register the addon in `main.js` withe the the `/register` entry point. This used to be valid in `v6.0.x` and earlier:
|
||||
The addon uses decorators which are set up automatically by a preset. The required preset is ignored if you register the addon in `main.js` with the `/register` entry point. This used to be valid in `v6.0.x` and earlier:
|
||||
```js
|
||||
module.exports = {
|
||||
stories: ['../**/*.stories.js'],
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "a11y addon for storybook",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -40,14 +40,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"axe-core": "^4.0.1",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -76,5 +76,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Action Logger addon for storybook",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,12 +35,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
"global": "^4.3.2",
|
||||
@ -72,5 +72,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,12 +39,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -70,5 +70,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-controls",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Controls for component properties",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,12 +39,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-cssresources",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,11 +39,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
@ -66,5 +66,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-design-assets",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Design asset preview for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-docs",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Superior documentation for your components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -55,18 +55,18 @@
|
||||
"@mdx-js/loader": "^1.6.19",
|
||||
"@mdx-js/mdx": "^1.6.19",
|
||||
"@mdx-js/react": "^1.6.19",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/postinstall": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/postinstall": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"acorn": "^7.1.0",
|
||||
"acorn-jsx": "^5.1.0",
|
||||
"acorn-walk": "^7.0.0",
|
||||
@ -92,9 +92,9 @@
|
||||
"@babel/core": "^7.12.3",
|
||||
"@emotion/core": "^10.1.1",
|
||||
"@emotion/styled": "^10.0.23",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/web-components": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"@storybook/web-components": "6.2.0-alpha.6",
|
||||
"@types/cross-spawn": "^6.0.1",
|
||||
"@types/doctrine": "^0.0.3",
|
||||
"@types/enzyme": "^3.10.3",
|
||||
@ -123,7 +123,7 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.11.5",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0",
|
||||
@ -154,5 +154,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -35,28 +35,28 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/webpack-env": "^1.15.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0",
|
||||
@ -79,5 +79,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -38,11 +38,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"format-json": "^1.0.3",
|
||||
"lodash": "^4.17.15",
|
||||
@ -69,5 +69,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,21 +1,11 @@
|
||||
{
|
||||
"name": "@storybook/addon-google-analytics",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
"storybook"
|
||||
],
|
||||
"main": "dist/cjs/register.js",
|
||||
"module": "dist/esm/register.js",
|
||||
"types": "dist/ts3.9/register.d.ts",
|
||||
"typesVersions": {
|
||||
"<3.8": {
|
||||
"*": [
|
||||
"dist/ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/master/addons/google-analytics",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
@ -26,12 +16,22 @@
|
||||
"directory": "addons/google-analytics"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/cjs/register.js",
|
||||
"module": "dist/esm/register.js",
|
||||
"types": "dist/ts3.9/register.d.ts",
|
||||
"typesVersions": {
|
||||
"<3.8": {
|
||||
"*": [
|
||||
"dist/ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react-ga": "^2.5.7",
|
||||
@ -52,5 +52,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-graphql",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -38,8 +38,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/plugin-transform-classes": "^7.12.1",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@types/webpack": "^4.41.24",
|
||||
"babel-loader": "^8.0.6",
|
||||
"core-js": "^3.0.1",
|
||||
@ -65,5 +65,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -42,11 +42,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react-sizeme": "^2.5.2",
|
||||
@ -71,5 +71,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-knobs",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook Addon Prop Editor Component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -36,13 +36,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"core-js": "^3.0.1",
|
||||
"escape-html": "^1.0.3",
|
||||
@ -80,5 +80,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Story Links addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -36,11 +36,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@types/qs": "^6.9.0",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -67,5 +67,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-queryparams",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,12 +37,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"qs": "^6.6.0",
|
||||
@ -67,5 +67,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -40,9 +40,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^26.0.0",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/glob": "^7.1.1",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/jest-specific-snapshot": "^0.5.3",
|
||||
@ -58,8 +58,8 @@
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.6",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
@ -99,5 +99,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,7 +37,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@types/jest-image-snapshot": "^2.8.0",
|
||||
"@wordpress/jest-puppeteer-axe": "^1.5.0",
|
||||
"core-js": "^3.0.1",
|
||||
@ -49,7 +49,7 @@
|
||||
"@types/puppeteer": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"puppeteer": "^2.0.0 || ^3.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@ -60,5 +60,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Stories addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -36,13 +36,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^2.0.0",
|
||||
@ -70,5 +70,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-toolbars",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook toolbars addon",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -26,9 +26,9 @@
|
||||
"<3.8": {
|
||||
"*": [
|
||||
"dist/ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"README.md",
|
||||
@ -39,10 +39,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@ -60,5 +60,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -23,9 +23,9 @@
|
||||
"<3.8": {
|
||||
"*": [
|
||||
"dist/ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"README.md",
|
||||
@ -36,12 +36,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"autoprefixer": "^9.7.6",
|
||||
"core-js": "^3.0.1",
|
||||
@ -98,5 +98,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/aurelia",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Aurelia: Develop Aurelia Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,10 +35,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@aurelia/webpack-loader": "^0.7.0",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"fork-ts-checker-webpack-plugin": "^4.0.3",
|
||||
"global": "^4.3.2",
|
||||
"react": "16.13.1",
|
||||
@ -69,5 +69,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -39,7 +39,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^2.1.0",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "16.13.1",
|
||||
@ -60,5 +60,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marionette",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Marionette: Develop Marionette.js component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,7 +34,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -59,5 +59,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marko",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,8 +42,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@marko/webpack": "^6.2.8",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "16.13.1",
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/mithril",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -43,8 +43,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.1",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/mithril": "^2.0.0",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"core-js": "^3.0.1",
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,8 +42,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.1",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -66,5 +66,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/rax",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Rax: Develop Rax Component in isolation.",
|
||||
"keywords": [
|
||||
"rax",
|
||||
@ -42,7 +42,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"babel-preset-rax": "^1.0.0-beta.0",
|
||||
"core-js": "^3.0.1",
|
||||
"driver-dom": "^2.0.0",
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,9 +45,9 @@
|
||||
"@babel/preset-flow": "^7.12.1",
|
||||
"@babel/preset-react": "^7.12.1",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.2",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
@ -66,7 +66,7 @@
|
||||
"webpack": "^4.44.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@types/node": "^14.0.10",
|
||||
"@types/prompts": "^2.0.0",
|
||||
"@types/webpack": "^4.41.24"
|
||||
@ -90,5 +90,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,7 +42,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"raw-loader": "^4.0.1",
|
||||
@ -72,5 +72,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/server",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,11 +41,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -65,5 +65,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,8 +41,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "16.13.1",
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,8 +41,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
@ -78,5 +78,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/web-components",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -46,9 +46,9 @@
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
"babel-plugin-bundled-import-meta": "^0.3.1",
|
||||
"core-js": "^3.0.1",
|
||||
@ -73,5 +73,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-decorator",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "decorator addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,13 +25,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-parameter",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,12 +25,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -39,5 +39,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-preview-wrapper",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "preview wrapper addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,11 +25,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"react": "^16.8.0 || ^17.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-roundtrip",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "roundtrip addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,13 +25,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -40,5 +40,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
75
docs/addons/addon-catalog.md
Normal file
75
docs/addons/addon-catalog.md
Normal file
@ -0,0 +1,75 @@
|
||||
---
|
||||
title: 'Add to the addon catalog'
|
||||
---
|
||||
|
||||
<div class="aside">
|
||||
|
||||
The addon catalog is in <strong>beta</strong>. Please [report any issues](https://github.com/storybookjs/frontpage/issues) you find.
|
||||
|
||||
</div>
|
||||
|
||||
Storybook addons are listed in the [catalog](/addons) and distributed via npm. The catalog is populated by querying npm's registry for Storybook-specific metadata in `package.json`.
|
||||
|
||||
Add your addon to the catalog by publishing an npm package that follows these requirements:
|
||||
|
||||
- `package.json` with [module information](writing-addons.md#get-started) and [addon metadata](#addon-metadata)
|
||||
- `README.md` file with installation and configuration instructions
|
||||
- `/dist` directory containing transpiled ES5 code
|
||||
- `preset.js` file written as an ES5 module at the root level
|
||||
|
||||
<div class="aside">
|
||||
|
||||
Get a refresher on how to [write a Storybook addon](./writing-addons.md).
|
||||
|
||||
</div>
|
||||
|
||||
## Addon metadata
|
||||
|
||||
We rely on metadata to organize your addon in the catalog. You must add the <code>storybook-addons</code> as the first keyword, followed by your addon's category. Additional keywords will be used in search and as tags.
|
||||
|
||||
| Property | Description | Example |
|
||||
| ------------- | -------------------------------------- | ------------------------------------------------------------------------- |
|
||||
| `name` | Addon package name | storybook-addon-outline |
|
||||
| `description` | Addon description | Outline all elements with CSS to help with layout placement and alignment |
|
||||
| `author` | Name of the author | winkerVSbecks |
|
||||
| `keywords` | List of keywords to describe the addon | `["storybook-addons","style","debug"]` |
|
||||
| `repository` | Addon repository | `{"type": "git","url": "https://github.com/someone/my-addon" }` |
|
||||
|
||||
Customize your addon's appearance by adding the `storybook` property with the following fields.
|
||||
|
||||
| Property | Description | Example |
|
||||
| ----------------------- | --------------------------------- | ------------------------------------- |
|
||||
| `displayName` | Display name | Outline |
|
||||
| `icon` | Link to custom icon for the addon | https://yoursite.com/outline-icon.png |
|
||||
| `unsupportedFrameworks` | List of unsupported frameworks | `["Vue"]` |
|
||||
| `supportedFrameworks` | List of supported frameworks | `["React", "Angular"]` |
|
||||
|
||||
```json
|
||||
{
|
||||
// package.json
|
||||
|
||||
"name": "storybook-addon-outline",
|
||||
"version": "1.0.0",
|
||||
"description": "Outline all elements with CSS to help with layout placement and alignment",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/chromaui/storybook-outline"
|
||||
},
|
||||
"author": "winkerVSbecks",
|
||||
"keywords": ["storybook-addons", "style", "debug", "layout", "css"],
|
||||
"storybook": {
|
||||
"displayName": "Outline",
|
||||
"unsupportedFrameworks": ["Vue"],
|
||||
"supportedFrameworks": ["React", "Angular"],
|
||||
"icon": "https://yoursite.com/outline-icon.png"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The `package.json` above appears like below in the catalog. See an example of a production package.json [here](https://github.com/chromaui/storybook-outline/blob/main/package.json).
|
||||
|
||||

|
||||
|
||||
#### How long does it take for my addon to show up in the catalog?
|
||||
|
||||
Once you publish the addon, it will appear in the catalog. There may be a delay between the time you publish your addon and when it's listed in the catalog. If your addon doesn't show up within 24 hours, [open an issue](https://github.com/storybookjs/frontpage/issues).
|
BIN
docs/addons/addon-display.png
Normal file
BIN
docs/addons/addon-display.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@ -217,7 +217,7 @@ This auto-registers the addon without any additional configuration from the user
|
||||
|
||||
Now that you've seen how to create a bare-bones addon, let's see how to share it with the community. Before we begin, make sure your addon meets the following requirements:
|
||||
|
||||
- `package.json file` with metadata about the addon
|
||||
- `package.json` file with metadata about the addon
|
||||
- Peer dependencies of `react` and `@storybook/addons`
|
||||
- `preset.js` file at the root level written as an ES5 module
|
||||
- `src` directory containing the ES6 addon code
|
||||
@ -225,7 +225,9 @@ Now that you've seen how to create a bare-bones addon, let's see how to share it
|
||||
- [GitHub](https://github.com/) account to host your code
|
||||
- [NPM](https://www.npmjs.com/) account to publish the addon
|
||||
|
||||
For example, check out [storybook-addon-outline](https://www.npmjs.com/package/storybook-addon-outline) to see a project that meets these requirements.
|
||||
Reference the [storybook-addon-outline](https://www.npmjs.com/package/storybook-addon-outline) to see a project that meets these requirements.
|
||||
|
||||
Learn how to [add to the addon catalog](./addon-catalog.md).
|
||||
|
||||
### More guides and tutorials
|
||||
|
||||
|
@ -177,6 +177,24 @@ If it doesn't exist yet, create a file `.storybook/main.js`:
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
### Preview/Manager templates
|
||||
|
||||
It's also possible to to programmatically modify the preview head/body HTML using a preset, similar to the way `preview-head.html`/`preview-body.html` can be used to [configure story rendering](../configure/story-rendering.md). The `previewHead` and `previewBody` functions accept a string, which is the existing head/body, and return a modified string.
|
||||
|
||||
For example, the following snippet adds a style tag to the preview head programatically:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<CodeSnippets
|
||||
paths={[
|
||||
'common/storybook-main-preview-head.js.mdx',
|
||||
]}
|
||||
/>
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
Similarly, the `managerHead` can be used to modify the surrounding "manager" UI, analogous to `manager-head.html`.
|
||||
|
||||
## Sharing advanced configuration
|
||||
|
||||
Change your `main.js` file to:
|
||||
|
14
docs/snippets/common/storybook-main-preview-head.js.mdx
Normal file
14
docs/snippets/common/storybook-main-preview-head.js.mdx
Normal file
@ -0,0 +1,14 @@
|
||||
```js
|
||||
// .storybook/main.js
|
||||
|
||||
module.exports = {
|
||||
previewHead: (head) => (`
|
||||
${head}
|
||||
<style>
|
||||
#main {
|
||||
background-color: yellow;
|
||||
}
|
||||
</style>
|
||||
`);
|
||||
};
|
||||
```
|
@ -335,6 +335,11 @@ module.exports = {
|
||||
title: 'Write a preset',
|
||||
type: 'link',
|
||||
},
|
||||
{
|
||||
pathSegment: 'addon-catalog',
|
||||
title: 'Add to catalog',
|
||||
type: 'link',
|
||||
},
|
||||
{
|
||||
pathSegment: 'addon-types',
|
||||
title: 'Types of addons',
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.2.0-alpha.5","info":{"plain":"### Bug Fixes\n\n- Core: Fix `--static-dir` with absolute path on Windows ([#13344](https://github.com/storybookjs/storybook/pull/13344))"}}
|
||||
{"version":"6.2.0-alpha.6","info":{"plain":"### Features\n\n* Main.js: Add previewHead, previewBody, managerHead presets ([#13432](https://github.com/storybookjs/storybook/pull/13432))\n\n### Bug Fixes\n\n* Core: Fix `modulesCount` cache storage and retrieval ([#13431](https://github.com/storybookjs/storybook/pull/13431))\n* UI: Fix null ref in sidebar ([#13423](https://github.com/storybookjs/storybook/pull/13423))\n\n### Maintenance\n\n* Components: Cleanup circular dependencies ([#13439](https://github.com/storybookjs/storybook/pull/13439))\n* Core: Generate bundle size report for prebuilt manager ([#13425](https://github.com/storybookjs/storybook/pull/13425))\n* CI: Speed up CircleCI workflows ([#13320](https://github.com/storybookjs/storybook/pull/13320))\n\n### Dependency Upgrades\n\n* Update react-popper-tooltip and @popperjs/core for react17 ([#13434](https://github.com/storybookjs/storybook/pull/13434))"}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -37,19 +37,19 @@
|
||||
"@angular/cli": "^11.0.1",
|
||||
"@angular/compiler-cli": "^11.0.0",
|
||||
"@compodoc/compodoc": "^1.1.11",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/angular": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/angular": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/node": "^14.0.10",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "aurelia-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"description": "An Aurelia client application.",
|
||||
"repository": {
|
||||
@ -22,18 +22,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aurelia/webpack-loader": "^0.7.0",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/aurelia": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/aurelia": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@types/node": "^14.0.10",
|
||||
"css-loader": "^3.0.0",
|
||||
"file-loader": "^4.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,19 +18,19 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"react-scripts": "^3.0.1"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,11 +18,11 @@
|
||||
"react-scripts": "3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,10 +34,10 @@
|
||||
"typescript": "^3.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/preset-create-react-app": "^3.1.5",
|
||||
"@storybook/react": "6.2.0-alpha.5"
|
||||
"@storybook/react": "6.2.0-alpha.6"
|
||||
},
|
||||
"storybook": {
|
||||
"chromatic": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,14 +34,14 @@
|
||||
"typescript": "^3.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/preset-create-react-app": "^3.1.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@types/enzyme": "^3.9.0",
|
||||
"enzyme": "^3.9.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-devkits",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,18 +8,18 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-decorator": "6.2.0-alpha.5",
|
||||
"@storybook/addon-parameter": "6.2.0-alpha.5",
|
||||
"@storybook/addon-preview-wrapper": "6.2.0-alpha.5",
|
||||
"@storybook/addon-roundtrip": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addon-decorator": "6.2.0-alpha.6",
|
||||
"@storybook/addon-parameter": "6.2.0-alpha.6",
|
||||
"@storybook/addon-preview-wrapper": "6.2.0-alpha.6",
|
||||
"@storybook/addon-roundtrip": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
@ -17,19 +17,19 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@ember/optional-features": "^1.3.0",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/ember": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/ember": "6.2.0-alpha.6",
|
||||
"@storybook/ember-cli-storybook": "^0.2.1",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^7.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,24 +13,24 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/html": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/html": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"format-json": "^1.0.3",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marko-cli",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -23,13 +23,13 @@
|
||||
"marko-starter": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/marko": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/marko": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"prettier": "~2.0.5",
|
||||
"webpack": "^4.44.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,17 +10,17 @@
|
||||
"mithril": "^1.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/mithril": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/mithril": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"webpack": "^4.44.2"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -14,33 +14,33 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@packtracker/webpack-plugin": "^2.0.1",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-cssresources": "6.2.0-alpha.5",
|
||||
"@storybook/addon-design-assets": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-graphql": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-queryparams": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/cli": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-cssresources": "6.2.0-alpha.6",
|
||||
"@storybook/addon-design-assets": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-graphql": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-queryparams": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/cli": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/design-system": "^5.1.0",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"chromatic": "^5.0.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,17 +15,17 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/plugin-transform-runtime": "^7.12.1",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/preact": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/preact": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^6.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rax-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "build-scripts build",
|
||||
@ -20,20 +20,20 @@
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.8",
|
||||
"@babel/preset-react": "^7.12.1",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/rax": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/rax": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"build-plugin-rax-app": "^0.2.0",
|
||||
"stylesheet-loader": "^0.8.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,9 +8,9 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@types/react": "^16.9.35",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,17 +15,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/riot": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/riot": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^6.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,13 +14,13 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/server": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/server": "6.2.0-alpha.6",
|
||||
"concurrently": "^5.2.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.17.1",
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"parcel": "^1.12.3",
|
||||
"react": "16.13.1",
|
||||
"react-dom": "16.13.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,19 +10,19 @@
|
||||
"global": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/svelte": "6.2.0-alpha.5"
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/svelte": "6.2.0-alpha.6"
|
||||
},
|
||||
"storybook": {
|
||||
"chromatic": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-cli-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -15,11 +15,11 @@
|
||||
"vue-property-decorator": "^9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.6",
|
||||
"@storybook/preset-scss": "^1.0.2",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"@vue/cli-plugin-babel": "~4.3.0",
|
||||
"@vue/cli-plugin-typescript": "~4.3.0",
|
||||
"@vue/cli-service": "~4.3.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,19 +14,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"@vue/babel-preset-jsx": "^1.1.2",
|
||||
"babel-loader": "^8.0.5",
|
||||
"cross-env": "^7.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "web-components-kitchen-sink",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -12,24 +12,24 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/web-components": "6.2.0-alpha.5",
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/web-components": "6.2.0-alpha.6",
|
||||
"babel-loader": "^8.0.5",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -2,5 +2,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "6.2.0-alpha.5"
|
||||
"version": "6.2.0-alpha.6"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,12 +36,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
@ -53,5 +53,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,13 +36,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.3.3",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"@types/reach__router": "^1.3.5",
|
||||
"core-js": "^3.0.1",
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = '6.2.0-alpha.5';
|
||||
export const version = '6.2.0-alpha.6';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,9 +36,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"qs": "^6.6.0",
|
||||
@ -47,5 +47,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,7 +36,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^5.0.2"
|
||||
@ -44,5 +44,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -43,5 +43,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -22,10 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.2.0-alpha.5"
|
||||
"@storybook/cli": "6.2.0-alpha.6"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -23,10 +23,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.2.0-alpha.5"
|
||||
"@storybook/cli": "6.2.0-alpha.6"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -45,8 +45,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@storybook/codemod": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/codemod": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"chalk": "^4.0.0",
|
||||
"commander": "^6.2.0",
|
||||
@ -63,13 +63,13 @@
|
||||
"leven": "^3.1.0",
|
||||
"prompts": "^2.0.0",
|
||||
"puppeteer-core": "^2.0.0",
|
||||
"shelljs": "^0.8.4",
|
||||
"read-pkg-up": "^7.0.1",
|
||||
"shelljs": "^0.8.4",
|
||||
"strip-json-comments": "^3.0.1",
|
||||
"update-notifier": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@types/cross-spawn": "^6.0.1",
|
||||
"@types/inquirer": "^6.5.0",
|
||||
"@types/prompts": "^2.0.0",
|
||||
@ -84,5 +84,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ const generator: Generator = async (packageManager, npmOptions, options) => {
|
||||
extraPackages: ['@storybook/node-logger'],
|
||||
staticDir: fs.existsSync(path.resolve('./public')) ? 'public' : undefined,
|
||||
addBabel: false,
|
||||
addESLint: true,
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -16,6 +16,7 @@ export interface FrameworkOptions {
|
||||
addScripts?: boolean;
|
||||
addComponents?: boolean;
|
||||
addBabel?: boolean;
|
||||
addESLint?: boolean;
|
||||
}
|
||||
|
||||
export type Generator = (
|
||||
@ -31,6 +32,7 @@ const defaultOptions: FrameworkOptions = {
|
||||
addScripts: true,
|
||||
addComponents: true,
|
||||
addBabel: true,
|
||||
addESLint: false,
|
||||
};
|
||||
|
||||
export async function baseGenerator(
|
||||
@ -40,7 +42,15 @@ export async function baseGenerator(
|
||||
framework: SupportedFrameworks,
|
||||
options: FrameworkOptions = defaultOptions
|
||||
) {
|
||||
const { extraAddons, extraPackages, staticDir, addScripts, addComponents, addBabel } = {
|
||||
const {
|
||||
extraAddons,
|
||||
extraPackages,
|
||||
staticDir,
|
||||
addScripts,
|
||||
addComponents,
|
||||
addBabel,
|
||||
addESLint,
|
||||
} = {
|
||||
...defaultOptions,
|
||||
...options,
|
||||
};
|
||||
@ -81,4 +91,8 @@ export async function baseGenerator(
|
||||
staticFolder: staticDir,
|
||||
});
|
||||
}
|
||||
|
||||
if (addESLint) {
|
||||
packageManager.addESLintConfig();
|
||||
}
|
||||
}
|
||||
|
@ -202,6 +202,25 @@ export abstract class JsPackageManager {
|
||||
});
|
||||
}
|
||||
|
||||
public addESLintConfig() {
|
||||
const packageJson = this.retrievePackageJson();
|
||||
writePackageJson({
|
||||
...packageJson,
|
||||
eslintConfig: {
|
||||
...packageJson.eslintConfig,
|
||||
overrides: [
|
||||
...(packageJson.eslintConfig.overrides || []),
|
||||
{
|
||||
files: ['**/*.stories.*'],
|
||||
rules: {
|
||||
'import/no-anonymous-default-export': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
public addScripts(scripts: Record<string, string>) {
|
||||
const packageJson = this.retrievePackageJson();
|
||||
writePackageJson({
|
||||
|
@ -3,6 +3,7 @@ export type PackageJson = {
|
||||
devDependencies?: Record<string, string>;
|
||||
peerDependencies?: Record<string, string>;
|
||||
scripts?: Record<string, string>;
|
||||
eslintConfig?: any;
|
||||
};
|
||||
|
||||
export type PackageJsonWithDepsAndDevDeps = PackageJson &
|
||||
|
@ -1,55 +1,55 @@
|
||||
{
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.5",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.5",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.5",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.5",
|
||||
"@storybook/addon-cssresources": "6.2.0-alpha.5",
|
||||
"@storybook/addon-design-assets": "6.2.0-alpha.5",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.5",
|
||||
"@storybook/addon-events": "6.2.0-alpha.5",
|
||||
"@storybook/addon-google-analytics": "6.2.0-alpha.5",
|
||||
"@storybook/addon-graphql": "6.2.0-alpha.5",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.5",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.5",
|
||||
"@storybook/addon-links": "6.2.0-alpha.5",
|
||||
"@storybook/addon-queryparams": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.0-alpha.5",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.5",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.5",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/angular": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/aurelia": "6.2.0-alpha.5",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.5",
|
||||
"@storybook/channel-websocket": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/cli": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/codemod": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/ember": "6.2.0-alpha.5",
|
||||
"@storybook/html": "6.2.0-alpha.5",
|
||||
"@storybook/marionette": "6.2.0-alpha.5",
|
||||
"@storybook/marko": "6.2.0-alpha.5",
|
||||
"@storybook/mithril": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/postinstall": "6.2.0-alpha.5",
|
||||
"@storybook/preact": "6.2.0-alpha.5",
|
||||
"@storybook/rax": "6.2.0-alpha.5",
|
||||
"@storybook/react": "6.2.0-alpha.5",
|
||||
"@storybook/riot": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/server": "6.2.0-alpha.5",
|
||||
"@storybook/source-loader": "6.2.0-alpha.5",
|
||||
"@storybook/svelte": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/ui": "6.2.0-alpha.5",
|
||||
"@storybook/vue": "6.2.0-alpha.5",
|
||||
"@storybook/web-components": "6.2.0-alpha.5"
|
||||
"@storybook/addon-a11y": "6.2.0-alpha.6",
|
||||
"@storybook/addon-actions": "6.2.0-alpha.6",
|
||||
"@storybook/addon-backgrounds": "6.2.0-alpha.6",
|
||||
"@storybook/addon-controls": "6.2.0-alpha.6",
|
||||
"@storybook/addon-cssresources": "6.2.0-alpha.6",
|
||||
"@storybook/addon-design-assets": "6.2.0-alpha.6",
|
||||
"@storybook/addon-docs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-essentials": "6.2.0-alpha.6",
|
||||
"@storybook/addon-events": "6.2.0-alpha.6",
|
||||
"@storybook/addon-google-analytics": "6.2.0-alpha.6",
|
||||
"@storybook/addon-graphql": "6.2.0-alpha.6",
|
||||
"@storybook/addon-jest": "6.2.0-alpha.6",
|
||||
"@storybook/addon-knobs": "6.2.0-alpha.6",
|
||||
"@storybook/addon-links": "6.2.0-alpha.6",
|
||||
"@storybook/addon-queryparams": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.0-alpha.6",
|
||||
"@storybook/addon-storysource": "6.2.0-alpha.6",
|
||||
"@storybook/addon-toolbars": "6.2.0-alpha.6",
|
||||
"@storybook/addon-viewport": "6.2.0-alpha.6",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/angular": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/aurelia": "6.2.0-alpha.6",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.6",
|
||||
"@storybook/channel-websocket": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/cli": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/codemod": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/ember": "6.2.0-alpha.6",
|
||||
"@storybook/html": "6.2.0-alpha.6",
|
||||
"@storybook/marionette": "6.2.0-alpha.6",
|
||||
"@storybook/marko": "6.2.0-alpha.6",
|
||||
"@storybook/mithril": "6.2.0-alpha.6",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/postinstall": "6.2.0-alpha.6",
|
||||
"@storybook/preact": "6.2.0-alpha.6",
|
||||
"@storybook/rax": "6.2.0-alpha.6",
|
||||
"@storybook/react": "6.2.0-alpha.6",
|
||||
"@storybook/riot": "6.2.0-alpha.6",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@storybook/server": "6.2.0-alpha.6",
|
||||
"@storybook/source-loader": "6.2.0-alpha.6",
|
||||
"@storybook/svelte": "6.2.0-alpha.6",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"@storybook/ui": "6.2.0-alpha.6",
|
||||
"@storybook/vue": "6.2.0-alpha.6",
|
||||
"@storybook/web-components": "6.2.0-alpha.6"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,11 +36,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@types/qs": "^6.9.0",
|
||||
"@types/webpack-env": "^1.15.3",
|
||||
@ -62,5 +62,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,5 +42,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -39,7 +39,7 @@
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.6.19",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"core-js": "^3.0.1",
|
||||
"cross-spawn": "^7.0.0",
|
||||
"globby": "^11.0.0",
|
||||
@ -56,5 +56,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,10 +36,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.4.4",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@popperjs/core": "^2.5.4",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"@types/overlayscrollbars": "^1.9.0",
|
||||
"@types/react-color": "^3.0.1",
|
||||
"@types/react-syntax-highlighter": "11.0.4",
|
||||
@ -52,7 +52,7 @@
|
||||
"overlayscrollbars": "^1.10.2",
|
||||
"polished": "^3.4.4",
|
||||
"react-color": "^2.17.0",
|
||||
"react-popper-tooltip": "^3.1.0",
|
||||
"react-popper-tooltip": "^3.1.1",
|
||||
"react-syntax-highlighter": "^13.5.0",
|
||||
"react-textarea-autosize": "^8.1.1",
|
||||
"ts-dedent": "^2.0.0"
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { ReactElement, useEffect, useState } from 'react';
|
||||
import { styled } from '@storybook/theming';
|
||||
import { browserSupportsCssZoom } from './Zoom';
|
||||
import { browserSupportsCssZoom } from './browserSupportsCssZoom';
|
||||
|
||||
const ZoomElementWrapper = styled.div<{ scale: number; height: number }>(({ scale = 1, height }) =>
|
||||
browserSupportsCssZoom()
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, ReactElement } from 'react';
|
||||
import { browserSupportsCssZoom } from './Zoom';
|
||||
import { browserSupportsCssZoom } from './browserSupportsCssZoom';
|
||||
|
||||
export type IZoomIFrameProps = {
|
||||
scale: number;
|
||||
|
9
lib/components/src/Zoom/browserSupportsCssZoom.ts
Normal file
9
lib/components/src/Zoom/browserSupportsCssZoom.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import window from 'global';
|
||||
|
||||
export function browserSupportsCssZoom(): boolean {
|
||||
try {
|
||||
return window.document.implementation.createHTMLDocument('').body.style.zoom !== undefined;
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,5 +41,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -60,20 +60,20 @@
|
||||
"@babel/preset-react": "^7.12.1",
|
||||
"@babel/preset-typescript": "^7.12.1",
|
||||
"@babel/register": "^7.12.1",
|
||||
"@storybook/addons": "6.2.0-alpha.5",
|
||||
"@storybook/api": "6.2.0-alpha.5",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.5",
|
||||
"@storybook/channels": "6.2.0-alpha.5",
|
||||
"@storybook/client-api": "6.2.0-alpha.5",
|
||||
"@storybook/client-logger": "6.2.0-alpha.5",
|
||||
"@storybook/components": "6.2.0-alpha.5",
|
||||
"@storybook/core-events": "6.2.0-alpha.5",
|
||||
"@storybook/addons": "6.2.0-alpha.6",
|
||||
"@storybook/api": "6.2.0-alpha.6",
|
||||
"@storybook/channel-postmessage": "6.2.0-alpha.6",
|
||||
"@storybook/channels": "6.2.0-alpha.6",
|
||||
"@storybook/client-api": "6.2.0-alpha.6",
|
||||
"@storybook/client-logger": "6.2.0-alpha.6",
|
||||
"@storybook/components": "6.2.0-alpha.6",
|
||||
"@storybook/core-events": "6.2.0-alpha.6",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.0-alpha.5",
|
||||
"@storybook/router": "6.2.0-alpha.5",
|
||||
"@storybook/node-logger": "6.2.0-alpha.6",
|
||||
"@storybook/router": "6.2.0-alpha.6",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.2.0-alpha.5",
|
||||
"@storybook/ui": "6.2.0-alpha.5",
|
||||
"@storybook/theming": "6.2.0-alpha.6",
|
||||
"@storybook/ui": "6.2.0-alpha.6",
|
||||
"@types/glob-base": "^0.3.0",
|
||||
"@types/micromatch": "^4.0.1",
|
||||
"@types/node-fetch": "^2.5.4",
|
||||
@ -170,5 +170,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ export const getReleaseNotesData = async (
|
||||
): Promise<ReleaseNotesData> => {
|
||||
let result;
|
||||
try {
|
||||
const fromCache = await fileSystemCache.get('releaseNotesData', []);
|
||||
const fromCache = (await fileSystemCache.get('releaseNotesData', []).catch(() => {})) || [];
|
||||
const releaseNotesVersion = getReleaseNotesVersion(currentVersionToParse);
|
||||
const versionHasNotBeenSeen = !fromCache.includes(releaseNotesVersion);
|
||||
|
||||
|
@ -192,7 +192,7 @@ const useProgressReporting = async (
|
||||
reportProgress(progress);
|
||||
};
|
||||
|
||||
const modulesCount = (await options.cache?.get('modulesCount')) || 1000;
|
||||
const modulesCount = (await options.cache?.get('modulesCount').catch(() => {})) || 1000;
|
||||
new ProgressPlugin({ handler, modulesCount }).apply(compiler);
|
||||
};
|
||||
|
||||
@ -200,7 +200,7 @@ const useManagerCache = async (fsc: FileSystemCache, managerConfig: webpack.Conf
|
||||
// Drop the `cache` property because it'll change as a result of writing to the cache.
|
||||
const { cache: _, ...baseConfig } = managerConfig;
|
||||
const configString = stringify(baseConfig);
|
||||
const cachedConfig = await fsc.get('managerConfig');
|
||||
const cachedConfig = await fsc.get('managerConfig').catch(() => {});
|
||||
await fsc.set('managerConfig', configString);
|
||||
return configString === cachedConfig;
|
||||
};
|
||||
|
@ -35,6 +35,10 @@ export default async ({
|
||||
}: ManagerWebpackOptions): Promise<Configuration> => {
|
||||
const { raw, stringified } = loadEnv();
|
||||
const logLevel = await presets.apply('logLevel', undefined);
|
||||
const headHtmlSnippet = await presets.apply(
|
||||
'managerHead',
|
||||
getManagerHeadHtml(configDir, process.env)
|
||||
);
|
||||
const isProd = configType === 'PRODUCTION';
|
||||
const refsTemplate = fse.readFileSync(path.join(__dirname, 'virtualModuleRef.template.js'), {
|
||||
encoding: 'utf8',
|
||||
@ -89,7 +93,7 @@ export default async ({
|
||||
DOCS_MODE: docsMode, // global docs mode
|
||||
PREVIEW_URL: previewUrl, // global preview URL
|
||||
},
|
||||
headHtmlSnippet: getManagerHeadHtml(configDir, process.env),
|
||||
headHtmlSnippet,
|
||||
}),
|
||||
template: require.resolve(`../templates/index.ejs`),
|
||||
}),
|
||||
|
@ -59,7 +59,15 @@ export default async ({
|
||||
typescriptOptions,
|
||||
}: any) => {
|
||||
const logLevel = await presets.apply('logLevel', undefined);
|
||||
const frameworkOptions = await presets.apply(`${framework}Options`, {}, {});
|
||||
const frameworkOptions = await presets.apply(`${framework}Options`, {});
|
||||
const headHtmlSnippet = await presets.apply(
|
||||
'previewHead',
|
||||
getPreviewHeadHtml(configDir, process.env)
|
||||
);
|
||||
const bodyHtmlSnippet = await presets.apply(
|
||||
'previewBody',
|
||||
getPreviewBodyHtml(configDir, process.env)
|
||||
);
|
||||
const { raw, stringified } = loadEnv({ production: true });
|
||||
const babelLoader = createBabelLoader(babelOptions, framework);
|
||||
const isProd = configType === 'PRODUCTION';
|
||||
@ -139,8 +147,8 @@ export default async ({
|
||||
LOGLEVEL: logLevel,
|
||||
FRAMEWORK_OPTIONS: frameworkOptions,
|
||||
},
|
||||
headHtmlSnippet: getPreviewHeadHtml(configDir, process.env),
|
||||
bodyHtmlSnippet: getPreviewBodyHtml(configDir, process.env),
|
||||
headHtmlSnippet,
|
||||
bodyHtmlSnippet,
|
||||
}),
|
||||
minify: {
|
||||
collapseWhitespace: true,
|
||||
|
@ -66,7 +66,7 @@ describe('server.getPreviewBodyHtml', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('when .storybook/preview-pre-body.html exists', () => {
|
||||
describe('when .storybook/preview-body.html exists', () => {
|
||||
beforeEach(() => {
|
||||
mock({
|
||||
[`${__dirname}/../templates/base-preview-body.html`]: BASE_BODY_HTML_CONTENTS,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/node-logger",
|
||||
"version": "6.2.0-alpha.5",
|
||||
"version": "6.2.0-alpha.6",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -48,5 +48,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "850a0d8b98f2ddab1cd4d652e9beac11e21a369c"
|
||||
"gitHead": "e741f5e3af491b8515668abd5a31fb8e2c201770"
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user