diff --git a/.babelrc.js b/.babelrc.js
index cb85c9eb2b75..252bdc33b896 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -31,6 +31,7 @@ module.exports = {
},
],
['@babel/plugin-proposal-class-properties', { loose: true }],
+ ['@babel/plugin-proposal-private-methods', { loose: true }],
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-object-rest-spread', { loose: true, useBuiltIns: true }],
@@ -43,18 +44,11 @@ module.exports = {
overrides: [
{
test: './examples/vue-kitchen-sink',
- presets: ['babel-preset-vue'],
+ presets: ['@vue/babel-preset-jsx'],
env: {
test: withTests,
},
},
- {
- test: './examples/rax-kitchen-sink',
- presets: [
- ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }],
- ['babel-preset-rax', { development: process.env.BABEL_ENV === 'development' }],
- ],
- },
{
test: './lib',
presets: [
@@ -75,11 +69,6 @@ module.exports = {
test: withTests,
},
},
- {
- test: './app/react-native',
- presets: ['module:metro-react-native-babel-preset'],
- plugins: ['babel-plugin-macros', ['emotion', { sourceMap: true, autoLabel: true }]],
- },
{
test: [
'./lib/node-logger',
@@ -104,6 +93,10 @@ module.exports = {
plugins: [
'emotion',
'babel-plugin-macros',
+ '@babel/plugin-transform-arrow-functions',
+ '@babel/plugin-transform-shorthand-properties',
+ '@babel/plugin-transform-block-scoping',
+ '@babel/plugin-transform-destructuring',
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-export-default-from',
diff --git a/.ci/danger/dangerfile.ts b/.ci/danger/dangerfile.ts
index 2a1223028e31..e7d267591d89 100644
--- a/.ci/danger/dangerfile.ts
+++ b/.ci/danger/dangerfile.ts
@@ -3,7 +3,9 @@ import { execSync } from 'child_process';
execSync('npm install lodash');
-const { flatten, intersection, isEmpty } = require('lodash');
+const flatten = require('lodash/flatten');
+const intersection = require('lodash/intersection');
+const isEmpty = require('lodash/isEmpty');
const pkg = require('../../package.json'); // eslint-disable-line import/newline-after-import
const prLogConfig = pkg['pr-log'];
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 211098ee8415..3658e56fe2fe 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -4,33 +4,29 @@ aliases:
- &defaults
working_directory: /tmp/storybook
docker:
- - image: circleci/node:10
+ - image: circleci/node:10-browsers
jobs:
- build:
+ install:
<<: *defaults
steps:
- checkout
- restore_cache:
name: Restore core dependencies cache
keys:
- - core-dependencies-v4-{{ checksum "yarn.lock" }}
+ - core-dependencies-v5-{{ checksum "yarn.lock" }}
+ - core-dependencies-v5-
- run:
name: Install dependencies
command: yarn install
- run:
name: Check that yarn.lock is not corrupted
command: yarn repo-dirty-check
- - run:
- name: Bootstrap
- command: yarn bootstrap --core
- save_cache:
name: Cache core dependencies
- key: core-dependencies-v4-{{ checksum "yarn.lock" }}
+ key: core-dependencies-v5-{{ checksum "yarn.lock" }}
paths:
- - ~/.cache
- node_modules
- - /root/.cache
- persist_to_workspace:
root: .
paths:
@@ -40,67 +36,34 @@ jobs:
- dev-kits
- app
- lib
- chromatic:
+ build:
<<: *defaults
steps:
- checkout
- attach_workspace:
at: .
- run:
- name: Run chromatic on the pre-built official example
- command: yarn chromatic --storybook-build-dir="built-storybooks/official-storybook" --exit-zero-on-changes --app-code="ab7m45tp9p"
- - run:
- name: Run chromatic on the pre-built angular example
- command: yarn chromatic --storybook-build-dir="built-storybooks/angular-cli" --app-code="tl92yzsj6w"
- - run:
- name: Run chromatic on the pre-built cra-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/cra-kitchen-sink" --app-code="tg55gajmdt"
- - run:
- name: Run chromatic on the pre-built cra-react15 example
- command: yarn chromatic --storybook-build-dir="built-storybooks/cra-react15" --app-code="gxk7iqej3wt"
- - run:
- name: Run chromatic on the pre-built cra-ts-essentials example
- command: yarn chromatic --storybook-build-dir="built-storybooks/cra-ts-essentials" --app-code="b311ypk6of"
- - run:
- name: Run chromatic on the pre-built cra-ts-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/cra-ts-kitchen-sink" --app-code="19whyj1tlac"
- - run:
- name: Run chromatic on the pre-built dev-kits example
- command: yarn chromatic --storybook-build-dir="built-storybooks/dev-kits" --app-code="7yykp9ifdxx"
- - run:
- name: Run chromatic on the pre-built ember-cli example
- command: yarn chromatic --storybook-build-dir="built-storybooks/ember-cli" --app-code="19z23qxndju"
- - run:
- name: Run chromatic on the pre-built html-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/html-kitchen-sink" --app-code="e8zolxoyg8o"
- - run:
- name: Run chromatic on the pre-built marko-cli example
- command: yarn chromatic --storybook-build-dir="built-storybooks/marko-cli" --app-code="qaegx64axu"
- - run:
- name: Run chromatic on the pre-built mithril-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/mithril-kitchen-sink" --app-code="8adgm46jzk8"
- - run:
- name: Run chromatic on the pre-built polymer-cli example
- command: yarn chromatic --storybook-build-dir="built-storybooks/polymer-cli" --app-code="o6jl9kmh0qd"
- - run:
- name: Run chromatic on the pre-built preact-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/preact-kitchen-sink" --app-code="ls0ikhnwqt"
- - run:
- name: Run chromatic on the pre-built rax-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/rax-kitchen-sink" --app-code="4co6vptx8qo"
- - run:
- name: Run chromatic on the pre-built riot-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/riot-kitchen-sink" --app-code="g2dp3lnr34a"
- - run:
- name: Run chromatic on the pre-built svelte-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/svelte-kitchen-sink" --app-code="8ob73wgl995"
- - run:
- name: Run chromatic on the pre-built vue-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/vue-kitchen-sink" --app-code="cyxj0e38bqj"
+ name: Bootstrap
+ command: yarn bootstrap --core
+ - persist_to_workspace:
+ root: .
+ paths:
+ - examples
+ - addons
+ - dev-kits
+ - app
+ - lib
+ chromatic:
+ <<: *defaults
+ parallelism: 11
+ steps:
+ - checkout
+ - attach_workspace:
+ at: .
- run:
- name: Run chromatic on the pre-built web-components-kitchen-sink example
- command: yarn chromatic --storybook-build-dir="built-storybooks/web-components-kitchen-sink" --app-code="npm5gsofwkf"
-
+ name: examples
+ command: |
+ yarn run-chromatics
packtracker:
<<: *defaults
steps:
@@ -114,7 +77,7 @@ jobs:
yarn packtracker
examples:
<<: *defaults
- parallelism: 4
+ parallelism: 11
steps:
- checkout
- attach_workspace:
@@ -127,26 +90,89 @@ jobs:
root: .
paths:
- built-storybooks
- e2e:
+ publish:
+ <<: *defaults
+ steps:
+ - checkout
+ - attach_workspace:
+ at: .
+ - run:
+ name: running local registry
+ command: yarn local-registry --publish
+ - persist_to_workspace:
+ root: .
+ paths:
+ - .verdaccio-cache
+ examples-v2:
+ docker:
+ - image: cypress/included:4.7.0
+ environment:
+ TERM: xterm
working_directory: /tmp/storybook
+ parallelism: 10
+ steps:
+ - checkout
+ - attach_workspace:
+ at: .
+ - run:
+ name: running local registry
+ command: yarn local-registry --port 6000 --open
+ background: true
+ - run:
+ name: wait for registry
+ command: yarn wait-on http://localhost:6000
+ - run:
+ name: set registry
+ command: yarn config set registry http://localhost:6000/
+ - run:
+ name: test local registry
+ command: yarn info @storybook/core
+ - run:
+ name: run e2e tests
+ command: yarn test:e2e-framework
+ - store_artifacts:
+ path: /tmp/storybook/cypress
+ destination: cypress
+ examples-v2-yarn-2:
docker:
- - image: cypress/base:8
+ - image: cypress/included:4.7.0
environment:
TERM: xterm
+ working_directory: /tmp/storybook
+ # parallelism: 10
steps:
- checkout
- attach_workspace:
at: .
- run:
- name: install cypress
- command: yarn cypress install
- - save_cache:
- name: Cache core dependencies
- key: core-dependencies-v4-{{ checksum "yarn.lock" }}
- paths:
- - ~/.cache
- - node_modules
- - /root/.cache
+ name: running local registry
+ command: yarn local-registry --port 6000 --open
+ background: true
+ - run:
+ name: wait for registry
+ command: yarn wait-on http://localhost:6000
+ - run:
+ name: set registry
+ command: yarn config set registry http://localhost:6000/
+ - run:
+ name: test local registry
+ command: yarn info @storybook/core
+ - run:
+ name: run e2e tests
+ command: yarn test:e2e-framework yarn2Cra
+ - store_artifacts:
+ path: /tmp/storybook/cypress
+ destination: cypress
+ e2e:
+ working_directory: /tmp/storybook
+ docker:
+ - image: cypress/included:4.7.0
+ environment:
+ TERM: xterm
+ steps:
+ - checkout
+ - attach_workspace:
+ at: .
- run:
name: running example
command: yarn serve-storybooks
@@ -156,7 +182,7 @@ jobs:
command: yarn await-serve-storybooks
- run:
name: cypress run
- command: yarn cypress run
+ command: yarn test:e2e
smoke-tests:
<<: *defaults
@@ -194,11 +220,6 @@ jobs:
command: |
cd examples/ember-cli
yarn storybook --smoke-test --quiet
- - run:
- name: Run polymer-cli (smoke test)
- command: |
- cd examples/polymer-cli
- yarn storybook --smoke-test --quiet
- run:
name: Run marko-cli (smoke test)
command: |
@@ -229,24 +250,6 @@ jobs:
command: |
cd examples/cra-react15
yarn storybook --smoke-test --quiet
- native-smoke-tests:
- <<: *defaults
- steps:
- - checkout
- - attach_workspace:
- at: .
- - run:
- name: Bootstrap
- command: yarn bootstrap --core
- - run:
- name: Run React-Native-App example
- command: |
- cd examples-native/crna-kitchen-sink
- yarn storybook --smoke-test
- - run:
- name: Publish React-Native-App example
- command: |
- ./scripts/crna-publish.js
frontpage:
<<: *defaults
steps:
@@ -254,7 +257,7 @@ jobs:
- restore_cache:
name: Restore core dependencies cache
keys:
- - core-dependencies-v4-{{ checksum "yarn.lock" }}
+ - core-dependencies-v5-{{ checksum "yarn.lock" }}
- run:
name: Install dependencies
command: yarn bootstrap --install
@@ -265,10 +268,6 @@ jobs:
<<: *defaults
steps:
- checkout
- - restore_cache:
- name: Restore docs dependencies cache
- keys:
- - docs-dependencies-v2-{{ checksum "docs/yarn.lock" }}
- run:
name: Install dependencies
command: |
@@ -279,11 +278,6 @@ jobs:
command: |
cd docs
yarn build
- - save_cache:
- name: Cache docs dependencies
- key: docs-dependencies-v2-{{ checksum "docs/yarn.lock" }}
- paths:
- - ~/.cache
lint:
<<: *defaults
steps:
@@ -315,10 +309,14 @@ jobs:
- run:
name: Upload coverage
command: yarn coverage
+
workflows:
test:
jobs:
- - build
+ - install
+ - build:
+ requires:
+ - install
- lint:
requires:
- build
@@ -334,9 +332,6 @@ workflows:
- packtracker:
requires:
- build
- - native-smoke-tests:
- requires:
- - build
- test:
requires:
- build
@@ -346,6 +341,15 @@ workflows:
- chromatic:
requires:
- examples
+ - publish:
+ requires:
+ - build
+ - examples-v2:
+ requires:
+ - publish
+ - examples-v2-yarn-2:
+ requires:
+ - publish
deploy:
jobs:
- docs
diff --git a/.eslintignore b/.eslintignore
index ad542e107759..a2f20ebea5a3 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -18,7 +18,9 @@ examples/cra-ts-kitchen-sink/*.json
examples/cra-ts-kitchen-sink/public/*
examples/cra-ts-essentials/*.json
examples/cra-ts-essentials/public/*
-
+examples/rax-kitchen-sink/src/document/*
+ember-output
+.yarn
!.remarkrc.js
!.babelrc.js
!.eslintrc.js
diff --git a/.eslintrc.js b/.eslintrc.js
index 3c53e6faad79..99d83c78c2f6 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,45 +1,12 @@
module.exports = {
root: true,
extends: ['@storybook/eslint-config-storybook'],
- rules: {
- 'import/extensions': [
- 'error',
- 'never',
- { ignorePackages: true, md: 'always', svg: 'always', json: 'always', tag: 'always' },
- ],
- 'import/no-unresolved': ['error', { ignore: ['@storybook'] }],
- 'react/state-in-constructor': 'off',
- 'react/static-property-placement': 'off',
- 'react/jsx-props-no-spreading': 'off',
- 'react/jsx-fragments': 'off',
- '@typescript-eslint/ban-ts-ignore': 'off',
- '@typescript-eslint/no-object-literal-type-assertion': 'off',
- 'react/sort-comp': [
- 'error',
- {
- order: [
- 'staticLifecycle',
- 'static-methods',
- 'instance-variables',
- 'lifecycle',
- '/^on.+$/',
- '/^(get|set)(?!(DerivedStateFromProps|SnapshotBeforeUpdate$)).+$/',
- 'instance-methods',
- 'instance-variables',
- 'everything-else',
- 'render',
- ],
- groups: {
- staticLifecycle: ['displayName', 'propTypes', 'defaultProps', 'getDerivedStateFromProps'],
- },
- },
- ],
- 'max-classes-per-file': 'off',
- },
overrides: [
{
files: [
'**/__tests__/**',
+ 'scripts/**',
+ '**/__testfixtures__/**',
'**/*.test.*',
'**/*.stories.*',
'**/storyshots/**/stories/**',
@@ -51,7 +18,16 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
},
},
+ {
+ files: ['**/__testfixtures__/**'],
+ rules: {
+ 'react/forbid-prop-types': 'off',
+ 'react/no-unused-prop-types': 'off',
+ 'react/require-default-props': 'off',
+ },
+ },
{ files: '**/.storybook/config.js', rules: { 'global-require': 'off' } },
+ { files: 'cypress/**', rules: { 'jest/expect-expect': 'off' } },
{
files: ['**/*.stories.*'],
rules: {
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..5ea62bf2933c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+.yarn/releases/yarn-*.js linguist-generated=true
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index c23f1075713c..79a552730113 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -4,7 +4,6 @@
/addons/a11y/ @jbovenschen @codebyalex
/addons/actions/ @rhalff
/addons/backgrounds/ @ndelangen
-/addons/centered/ @kazupon
/addons/events/ @z4o4z @ndelangen
/addons/graphql/ @mnmtanish
/addons/info/ @theinterned @z4o4z @UsulPro @dangreenisrael
@@ -18,9 +17,7 @@
/addons/viewport/ @saponifi3d
/app/angular/ @alterx @igor-dv
-/app/polymer/ @ndelangen @naipath @leonrodenburg
/app/react/ @xavcz @shilman @thomasbertet
-/app/react-native/ @rmevans9 @Gongreg @tmeasday
/app/vue/ @thomasbertet @kazupon
/app/svelte/ @plumpNation
@@ -30,7 +27,6 @@
/examples/cra-kitchen-sink/ @ndelangen @UsulPro
/examples/cra-ts-kitchen-sink/ @mucsi96
/examples/official-storybook/ @UsulPro
-/examples/polymer-cli/ @naipath @igor-dv
/examples/vue-kitchen-sink/ @igor-dv @alexandrebodin
/examples/svelte-kitchen-sink/ @plumpNation
diff --git a/.github/autolabeler.yml b/.github/autolabeler.yml
index 4a4e5cf97216..79cae78e118e 100644
--- a/.github/autolabeler.yml
+++ b/.github/autolabeler.yml
@@ -1,7 +1,6 @@
'addon: a11y': ["addons/a11y/**"]
'addon: actions': ["addons/actions/**"]
'addon: backgrounds': ["addons/backgrounds/**"]
-'addon: centered': ["addons/centered/**"]
'addon: events ': ["addons/events/**"]
'addon: graphql ': ["addons/graphql/**"]
'addon: info': ["addons/info/**"]
@@ -13,9 +12,8 @@
'addon: storyshots': ["addons/storyshots/**"]
'addon: viewport': ["addons/viewport/**"]
'app: angular': ["app/angular/**"]
-'app: polymer ': ["app/polymer/**"]
'app: preact': ["app/preact/**"]
-'app: react-native': ["app/react-native/**"]
+'app: rax': ["app/rax/**"]
'app: react': ["app/react/**"]
'app: vue': ["app/vue/**"]
'app: svelte': ["app/svelte/**"]
diff --git a/.github/automention.yml b/.github/automention.yml
index 4e3688c40d4e..4ca3b6a6256f 100644
--- a/.github/automention.yml
+++ b/.github/automention.yml
@@ -2,18 +2,15 @@
'app: ember': ['gabrielcsapo']
'app: html': ['Hypnosphi']
'app: marko': ['nm123github']
-'app: polymer': ['stijnkoopal', 'ndelangen']
'app: preact': ['BartWaardenburg']
-'app: react-native': ['benoitdion', 'gongreg']
-'app: react-native-server': ['benoitdion', 'gongreg']
-'app: svelte': ['rixo', 'cam-stitt', 'plumpNation']
+'app: rax': ['SoloJiang']
+'app: svelte': ['rixo', 'plumpNation']
'app: vue': ['backbone87', 'elevatebart', 'pksunkara', 'Aaron-Pool', 'pocka']
'app: web-components': ['daKmoR']
'api: addons': ['ndelangen']
'addon: a11y': ['CodeByAlex', 'Armanio', 'jsomsanith']
-'addon: contexts': ['leoyli']
-'addon: docs': ['shilman', 'elevatebart', 'jeroenreumkens']
-'addon: info': ['shilman', 'elevatebart']
+'addon: toolbars': ['shilman']
+'addon: docs': ['shilman', 'patricklafrance']
'addon: knobs': ['leoyli', 'Armanio']
'addon: storysource': ['igor-dv', 'libetl']
typescript: ['kroeder', 'gaetanmaisse', 'ndelangen', 'emilio-martinez']
diff --git a/.github/workflows/tests-cli.yml b/.github/workflows/tests-cli.yml
index db599cf0f080..3b5a154a4c6f 100644
--- a/.github/workflows/tests-cli.yml
+++ b/.github/workflows/tests-cli.yml
@@ -1,6 +1,6 @@
name: CLI tests
-on:
+on:
push
# push:
# disabled for now:
@@ -17,22 +17,44 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
- key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
+ key: build-v2-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
- ${{ runner.OS }}-build-${{ env.cache-name }}-
- ${{ runner.OS }}-build-
- ${{ runner.OS }}-
+ build-v2-${{ env.cache-name }}-
+ build-v2-
- name: install, bootstrap
run: |
yarn bootstrap --core
- name: cli
run: |
yarn test --cli
+ cli-yarn-2:
+ name: CLI Fixtures with Yarn 2
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/setup-node@v1
+ with:
+ node-version: '10.x'
+ - uses: actions/checkout@v2
+ - name: Cache node modules
+ uses: actions/cache@v1
+ with:
+ path: node_modules
+ key: build-v2-${{ hashFiles('**/yarn.lock') }}
+ restore-keys: |
+ build-v2-${{ env.cache-name }}-
+ build-v2-
+ - name: install, bootstrap
+ run: |
+ yarn bootstrap --core
+ - name: cli with Yarn 2
+ run: |
+ cd lib/cli
+ yarn test-yarn-2
latest-cra:
name: Latest CRA
runs-on: ubuntu-latest
@@ -40,10 +62,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: install, bootstrap
run: |
yarn bootstrap --core
- name: latest-cra
run: |
- yarn test-latest-cra
\ No newline at end of file
+ yarn test-latest-cra
diff --git a/.github/workflows/tests-puppeteer.yml b/.github/workflows/tests-puppeteer.yml
deleted file mode 100644
index e7590c6e644d..000000000000
--- a/.github/workflows/tests-puppeteer.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: Puppeteer & A11y tests
-
-on: [push]
-
-jobs:
- build:
-
- name: Puppeteer & A11y tests
- runs-on: ubuntu-latest
- steps:
- - uses: actions/setup-node@v1
- with:
- node-version: '10.x'
- - uses: actions/checkout@v1
- - name: Cache node modules
- uses: actions/cache@v1
- with:
- path: node_modules
- key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.OS }}-build-${{ env.cache-name }}-
- ${{ runner.OS }}-build-
- ${{ runner.OS }}-
- - name: install, bootstrap
- run: |
- yarn bootstrap --core
- - name: build storybook
- run: |
- yarn --cwd examples/official-storybook build-storybook
- - name: test
- run: |
- yarn test --puppeteer
diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml
index f3eb332e5d51..f32b2f80343b 100644
--- a/.github/workflows/tests-unit.yml
+++ b/.github/workflows/tests-unit.yml
@@ -4,23 +4,21 @@ on: [push]
jobs:
build:
-
- name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
+ name: Core Unit Tests
+ runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
- key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
+ key: build-v2-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
- ${{ runner.OS }}-build-${{ env.cache-name }}-
- ${{ runner.OS }}-build-
- ${{ runner.OS }}-
+ build-v2-${{ env.cache-name }}-
+ build-v2-
- name: install, bootstrap
run: |
yarn bootstrap --core
diff --git a/.gitignore b/.gitignore
index ffe460ac8a41..834e9ba0455b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,15 +2,13 @@ node_modules
*.log
.idea
*.iml
-.vscode/*
-!.vscode/launch.json
*.sw*
npm-shrinkwrap.json
dist
+ts3.5
.tern-port
*.DS_Store
.cache
-junit.xml
coverage/
*.lerna_backup
build
@@ -26,12 +24,11 @@ integration/__image_snapshots__/__diff_output__
/examples/cra-kitchen-sink/src/__image_snapshots__/__diff_output__/
lib/*.jar
lib/**/dll
-.expo/packager-info.json
-scripts/storage
-htpasswd
/false
-storybook-out
/addons/docs/common/config-*
built-storybooks
cypress/videos
cypress/screenshots
+examples/ember-cli/ember-output
+.verdaccio-cache
+tsconfig.tsbuildinfo
diff --git a/.prettierrc b/.prettierrc
index 6c3f240ceef7..d033feea7ad5 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -3,5 +3,6 @@
"tabWidth": 2,
"bracketSpacing": true,
"trailingComma": "es5",
- "singleQuote": true
+ "singleQuote": true,
+ "arrowParens": "always"
}
diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt
deleted file mode 100644
index bd6ad004d7b4..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt
+++ /dev/null
@@ -1,81 +0,0 @@
-package OpenSourceProjects_Storybook.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher
-import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script
-import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs
-import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.retryBuild
-import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger
-
-object OpenSourceProjects_Storybook_Bootstrap : BuildType({
- uuid = "9f9177e7-9ec9-4e2e-aabb-d304fd667712"
- id = "OpenSourceProjects_Storybook_Bootstrap"
- name = "Bootstrap"
-
- artifactRules = """
- addons/*/dist/** => dist.zip/addons
- addons/storyshots/*/dist/** => dist.zip/addons/storyshots
- app/*/dist/** => dist.zip/app
- dev-kits/*/dist/** => dist.zip/dev-kits
- lib/*/dist/** => dist.zip/lib
- lib/core/dll/** => dist.zip/lib/core/dll
- """.trimIndent()
-
- vcs {
- root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster)
- }
-
- steps {
- script {
- name = "Bootstrap"
- scriptContent = """
- #!/bin/sh
-
- set -e -x
-
- yarn
- yarn bootstrap --core
- """.trimIndent()
- dockerImage = "node:%docker.node.version%"
- }
- }
-
- triggers {
- vcs {
- quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
- triggerRules = "-:comment=^TeamCity change:**"
- branchFilter = """
- +:pull/*
- +:release/*
- +:master
- +:next
- +:snyk-fix-*
- """.trimIndent()
- enabled = false
- }
- retryBuild {
- delaySeconds = 60
- enabled = false
- }
- }
-
- features {
- commitStatusPublisher {
- publisher = github {
- githubUrl = "https://api.github.com"
- authType = personalToken {
- token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa"
- }
- }
- param("github_oauth_user", "Hypnosphi")
- }
- }
-
- requirements {
- doesNotContain("env.OS", "Windows")
- }
-
- cleanup {
- artifacts(days = 1)
- }
-})
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts
deleted file mode 100644
index 6d597e5164e2..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '1bda59b5-d08d-4fd8-b317-953e7d79d881' (id = 'OpenSourceProjects_Storybook_Docs')
-accordingly, and delete the patch script.
-*/
-changeBuildType("1bda59b5-d08d-4fd8-b317-953e7d79d881") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts
deleted file mode 100644
index 4b5795b0d563..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6' (id = 'OpenSourceProjects_Storybook_SmokeTests')
-accordingly, and delete the patch script.
-*/
-changeBuildType("1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts
deleted file mode 100644
index aef79086061a..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '2b9c73e2-0a6e-47ca-95ae-729cac42be2b' (id = 'OpenSourceProjects_Storybook_Build_2')
-accordingly, and delete the patch script.
-*/
-changeBuildType("2b9c73e2-0a6e-47ca-95ae-729cac42be2b") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts
deleted file mode 100644
index 5b232f2b6803..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '42cfbb9a-f35b-4f96-afae-0b508927a737' (id = 'OpenSourceProjects_Storybook_Lint')
-accordingly, and delete the patch script.
-*/
-changeBuildType("42cfbb9a-f35b-4f96-afae-0b508927a737") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts
deleted file mode 100644
index 927328468594..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '42cfbb9a-f35b-4f96-afae-0b508927a738' (id = 'OpenSourceProjects_Storybook_Lint_Warnings')
-accordingly, and delete the patch script.
-*/
-changeBuildType("42cfbb9a-f35b-4f96-afae-0b508927a738") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts
deleted file mode 100644
index a9c7f3490508..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular' (id = 'OpenSourceProjects_Storybook_Angular')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts
deleted file mode 100644
index 8d0deb7df109..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic' (id = 'OpenSourceProjects_Storybook_Chromatic')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts
deleted file mode 100644
index 4c072da0e310..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra' (id = 'OpenSourceProjects_Storybook_CRA')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts
deleted file mode 100644
index 0ea4f527f639..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15' (id = 'OpenSourceProjects_Storybook_CRA_REACT15')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts
deleted file mode 100644
index a508334eb457..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts' (id = 'OpenSourceProjects_Storybook_CRA_TS')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts
deleted file mode 100644
index ab0514e623c5..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember' (id = 'OpenSourceProjects_Storybook_Ember')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts
deleted file mode 100644
index 039eed95efe6..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html' (id = 'OpenSourceProjects_Storybook_HTML')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts
deleted file mode 100644
index 754da521c8f3..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko' (id = 'OpenSourceProjects_Storybook_Marko')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts
deleted file mode 100644
index bd0913a8a04d..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril' (id = 'OpenSourceProjects_Storybook_Mithril')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts
deleted file mode 100644
index 7ed9e87651fe..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer' (id = 'OpenSourceProjects_Storybook_Polymer')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts
deleted file mode 100644
index 7f169a3828fd..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact' (id = 'OpenSourceProjects_Storybook_Preact')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts
deleted file mode 100644
index c484eca68e59..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot' (id = 'OpenSourceProjects_Storybook_Riot')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts
deleted file mode 100644
index 221d31ccf7b1..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte' (id = 'OpenSourceProjects_Storybook_Svelte')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts
deleted file mode 100644
index 9c9fc3530876..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue' (id = 'OpenSourceProjects_Storybook_Vue')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts
deleted file mode 100644
index 1fce2cf575d8..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6' (id = 'OpenSourceProjects_Storybook_Examples')
-accordingly, and delete the patch script.
-*/
-changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts
deleted file mode 100644
index 7b41f2e260a0..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts
+++ /dev/null
@@ -1,22 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '9f9177e7-9ec9-4e2e-aabb-d304fd667711' (id = 'OpenSourceProjects_Storybook_Test')
-accordingly, and delete the patch script.
-*/
-changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667711") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-
- params {
- add {
- param("docker.node.version", "10.13")
- }
- }
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts
deleted file mode 100644
index 6a63ab84d5c4..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = '9f9177e7-9ec9-4e2e-aabb-d304fd667712' (id = 'OpenSourceProjects_Storybook_Bootstrap')
-accordingly, and delete the patch script.
-*/
-changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667712") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts
deleted file mode 100644
index 7e2fb0801929..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.patches.buildTypes
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the buildType with uuid = 'd4320bd8-6094-4dd6-9bed-e13d6f0d12e2' (id = 'OpenSourceProjects_Storybook_CliTestLatestCra')
-accordingly, and delete the patch script.
-*/
-changeBuildType("d4320bd8-6094-4dd6-9bed-e13d6f0d12e2") {
- check(paused == false) {
- "Unexpected paused: '$paused'"
- }
- paused = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts b/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts
deleted file mode 100644
index a357d89ba726..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts
+++ /dev/null
@@ -1,17 +0,0 @@
-package OpenSourceProjects_Storybook.patches.projects
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.Project
-import jetbrains.buildServer.configs.kotlin.v2017_2.ui.*
-
-/*
-This patch script was generated by TeamCity on settings change in UI.
-To apply the patch, change the project with uuid = '69382d9b-7791-418a-9ff6-1c83b86ed6b5' (id = 'OpenSourceProjects_Storybook')
-accordingly, and delete the patch script.
-*/
-changeProject("69382d9b-7791-418a-9ff6-1c83b86ed6b5") {
- check(archived == false) {
- "Unexpected archived: '$archived'"
- }
- archived = true
-}
diff --git a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt
deleted file mode 100644
index ee7951d8b573..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt
+++ /dev/null
@@ -1,20 +0,0 @@
-package OpenSourceProjects_Storybook.vcsRoots
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.vcs.GitVcsRoot
-
-object OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster : GitVcsRoot({
- uuid = "cec03c4b-d52c-42a0-8e9e-53bde85d6b33"
- id = "OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster"
- name = "Main root"
- url = "git@github.com:storybookjs/storybook.git"
- branch = "refs/heads/next"
- branchSpec = """
- +:refs/(pull/*)/head
- +:refs/heads/*
- """.trimIndent()
- authMethod = uploadedKey {
- userName = "git"
- uploadedKey = "Storybook bot"
- }
-})
diff --git a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt
deleted file mode 100644
index 7daa8d93aa1f..000000000000
--- a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt
+++ /dev/null
@@ -1,16 +0,0 @@
-package OpenSourceProjects_Storybook.vcsRoots
-
-import jetbrains.buildServer.configs.kotlin.v2017_2.*
-import jetbrains.buildServer.configs.kotlin.v2017_2.vcs.GitVcsRoot
-
-object OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1 : GitVcsRoot({
- uuid = "5cacf90a-381a-4c73-9aa3-57f6439b545e"
- id = "OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1"
- name = "https://github.com/storybookjs/storybook#refs/heads/master (1)"
- url = "git@github.com:storybookjs/storybook.git"
- branch = "refs/heads/next"
- authMethod = uploadedKey {
- userName = "git"
- uploadedKey = "Storybook bot"
- }
-})
diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml
new file mode 100644
index 000000000000..b98e212b6d2d
--- /dev/null
+++ b/.teamcity/pom.xml
@@ -0,0 +1,107 @@
+
+
+ 4.0.0
+ Hosted_Root Config DSL Script
+ Hosted_Root
+ Hosted_Root_dsl
+ 1.0-SNAPSHOT
+
+
+ org.jetbrains.teamcity
+ configs-dsl-kotlin-parent
+ 1.0-SNAPSHOT
+
+
+
+
+ jetbrains-all
+ https://download.jetbrains.com/teamcity-repository
+
+ true
+
+
+
+ teamcity-server
+ https://storybook.beta.teamcity.com/app/dsl-plugins-repository
+
+ true
+
+
+
+
+
+
+ JetBrains
+ https://download.jetbrains.com/teamcity-repository
+
+
+
+
+ ${basedir}
+
+
+ kotlin-maven-plugin
+ org.jetbrains.kotlin
+ ${kotlin.version}
+
+
+
+
+ compile
+ process-sources
+
+ compile
+
+
+
+ test-compile
+ process-test-sources
+
+ test-compile
+
+
+
+
+
+ org.jetbrains.teamcity
+ teamcity-configs-maven-plugin
+ ${teamcity.dsl.version}
+
+ kotlin
+ target/generated-configs
+
+
+
+
+
+
+
+ org.jetbrains.teamcity
+ configs-dsl-kotlin
+ ${teamcity.dsl.version}
+ compile
+
+
+ org.jetbrains.teamcity
+ configs-dsl-kotlin-plugins
+ 1.0-SNAPSHOT
+ pom
+ compile
+
+
+ org.jetbrains.kotlin
+ kotlin-stdlib-jdk8
+ ${kotlin.version}
+ compile
+
+
+ org.jetbrains.kotlin
+ kotlin-script-runtime
+ ${kotlin.version}
+ compile
+
+
+
+ 2019.2.2-SNAPSHOT
+
+
\ No newline at end of file
diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts
new file mode 100644
index 000000000000..2826c1006979
--- /dev/null
+++ b/.teamcity/settings.kts
@@ -0,0 +1,614 @@
+import jetbrains.buildServer.configs.kotlin.v2019_2.*
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.commitStatusPublisher
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.swabra
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.ScriptBuildStep
+import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script
+import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.BuildFailureOnMetric
+import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.failOnMetricChange
+import jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures.buildReportTab
+import jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures.githubConnection
+import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.VcsTrigger
+import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs
+
+/*
+The settings script is an entry point for defining a TeamCity
+project hierarchy. The script should contain a single call to the
+project() function with a Project instance or an init function as
+an argument.
+
+VcsRoots, BuildTypes, Templates, and subprojects can be
+registered inside the project using the vcsRoot(), buildType(),
+template(), and subProject() methods respectively.
+
+To debug settings scripts in command-line, run the
+
+ mvnDebug org.jetbrains.teamcity:teamcity-configs-maven-plugin:generate
+
+command and attach your debugger to the port 8000.
+
+To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View
+-> Tool Windows -> Maven Projects), find the generate task node
+(Plugins -> teamcity-configs -> teamcity-configs:generate), the
+'Debug' option is available in the context menu for the task.
+*/
+
+version = "2019.2"
+
+project {
+ template(Common)
+ defaultTemplate = Common
+
+ buildType(TestWorkflow)
+
+ buildType(Build)
+ buildType(E2E)
+ buildType(SmokeTests)
+ buildType(Frontpage)
+ buildType(Docs)
+ buildType(Lint)
+ buildType(Test)
+ buildType(Coverage)
+
+ subProject(ExamplesProject)
+
+ buildTypesOrderIds = arrayListOf(
+ RelativeId("TestWorkflow"),
+ RelativeId("Build"),
+ RelativeId("E2E"),
+ RelativeId("SmokeTests"),
+ RelativeId("Frontpage"),
+ RelativeId("Docs"),
+ RelativeId("Lint"),
+ RelativeId("Test"),
+ RelativeId("Coverage")
+ )
+
+
+ features {
+ githubConnection {
+ id = "PROJECT_EXT_6"
+ displayName = "GitHub.com"
+ clientId = "800d730c725f771d6d2a"
+ clientSecret = "credentialsJSON:d1a5af15-1200-46c6-b0f1-f35bd466d909"
+ }
+ buildReportTab {
+ id = "PROJECT_EXT_8"
+ title = "Official"
+ startPage = "built-storybooks.tar.gz!official-storybook/index.html"
+ }
+ }
+}
+
+object Common: Template({
+ name = "Common"
+
+ vcs {
+ root(DslContext.settingsRoot)
+ checkoutMode = CheckoutMode.ON_AGENT
+ checkoutDir = "storybook/%teamcity.build.branch%"
+ }
+
+ features {
+ commitStatusPublisher {
+ id = "Commit status publisher"
+ publisher = github {
+ githubUrl = "https://api.github.com"
+ authType = personalToken {
+ token = "credentialsJSON:5273320e-14be-4317-951e-a54c4dcca35d"
+ }
+ }
+ param("github_oauth_user", "Hypnosphi")
+ }
+ swabra {
+ id = "swabra"
+ verbose = true
+ paths = """
+ -:.cache
+ -:node_modules
+ -:**/node_modules
+ """.trimIndent()
+ }
+ pullRequests {
+ id = "Pull requests"
+ provider = github {
+ authType = vcsRoot()
+ filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
+ }
+ }
+ }
+})
+
+object Build : BuildType({
+ name = "Build"
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+ yarn repo-dirty-check
+ yarn bootstrap --core
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ artifactRules = """
+ +:**/dist/** => dist.tar.gz
+ +:**/dll/** => dist.tar.gz
+ -:**/node_modules/** => dist.tar.gz
+ """.trimIndent()
+})
+
+object ExamplesProject : Project({
+ name = "Examples"
+
+ template(ExamplesTemplate)
+
+ buildType(Examples1)
+ buildType(Examples2)
+ buildType(Examples3)
+ buildType(Examples4)
+ buildType(Examples5)
+ buildType(AggregateExamples)
+})
+
+object ExamplesTemplate : Template({
+ name = "Examples Template"
+
+ dependencies {
+ dependency(Build) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "dist.tar.gz!** => ."
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+ rm -rf built-storybooks
+ mkdir -p built-storybooks
+
+ yarn build-storybooks
+ """.trimIndent()
+ dockerImage = "buildkite/puppeteer"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ artifactRules = "built-storybooks => built-storybooks.tar.gz"
+
+ params {
+ param("env.CIRCLE_NODE_TOTAL", "5")
+ }
+})
+
+object Examples1 : BuildType({
+ name = "Examples 1"
+ templates = listOf(ExamplesTemplate)
+
+ params {
+ param("env.CIRCLE_NODE_INDEX", "0")
+ }
+
+ disableSettings("Commit status publisher")
+})
+
+object Examples2 : BuildType({
+ name = "Examples 2"
+ templates = listOf(ExamplesTemplate)
+
+ params {
+ param("env.CIRCLE_NODE_INDEX", "1")
+ }
+
+ disableSettings("Commit status publisher")
+})
+
+object Examples3 : BuildType({
+ name = "Examples 3"
+ templates = listOf(ExamplesTemplate)
+
+ params {
+ param("env.CIRCLE_NODE_INDEX", "2")
+ }
+
+ disableSettings("Commit status publisher")
+})
+
+object Examples4 : BuildType({
+ name = "Examples 4"
+ templates = listOf(ExamplesTemplate)
+
+ params {
+ param("env.CIRCLE_NODE_INDEX", "3")
+ }
+
+ disableSettings("Commit status publisher")
+})
+
+object Examples5 : BuildType({
+ name = "Examples 5"
+ templates = listOf(ExamplesTemplate)
+
+ params {
+ param("env.CIRCLE_NODE_INDEX", "4")
+ }
+
+ disableSettings("Commit status publisher")
+})
+
+object AggregateExamples : BuildType({
+ name = "Aggregate Examples"
+
+ dependencies {
+ dependency(Examples1) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ dependency(Examples2) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ dependency(Examples3) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ dependency(Examples4) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ dependency(Examples5) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ }
+
+ artifactRules = "built-storybooks => built-storybooks.tar.gz"
+})
+
+object E2E : BuildType({
+ name = "E2E"
+
+ dependencies {
+ dependency(AggregateExamples) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "built-storybooks.tar.gz!** => built-storybooks"
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+ yarn cypress install
+ yarn serve-storybooks &
+ yarn await-serve-storybooks
+ yarn cypress run --reporter teamcity || :
+ yarn ts-node --transpile-only cypress/report-teamcity-metadata.ts || :
+ """.trimIndent()
+ dockerImage = "cypress/base:10.18.1"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ artifactRules = """
+ cypress/screenshots => screenshots.tar.gz
+ cypress/videos => videos.tar.gz
+ """.trimIndent()
+
+ failureConditions {
+ failOnMetricChange {
+ metric = BuildFailureOnMetric.MetricType.TEST_COUNT
+ units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT
+ comparison = BuildFailureOnMetric.MetricComparison.LESS
+ compareTo = value()
+ }
+ }
+})
+
+object SmokeTests : BuildType({
+ name = "Smoke Tests"
+
+ dependencies {
+ dependency(Build) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "dist.tar.gz!** => ."
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+
+ cd examples/cra-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../cra-ts-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../vue-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../svelte-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../angular-cli
+ yarn storybook --smoke-test --quiet
+
+ cd ../ember-cli
+ yarn storybook --smoke-test --quiet
+
+ cd ../marko-cli
+ yarn storybook --smoke-test --quiet
+
+ cd ../official-storybook
+ yarn storybook --smoke-test --quiet
+
+ cd ../mithril-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../riot-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../preact-kitchen-sink
+ yarn storybook --smoke-test --quiet
+
+ cd ../cra-react15
+ yarn storybook --smoke-test --quiet
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+})
+
+object Frontpage : BuildType({
+ name = "Frontpage"
+ type = Type.DEPLOYMENT
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn bootstrap --install
+ node ./scripts/build-frontpage.js
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ triggers {
+ vcs {
+ quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
+ triggerRules = "-:.teamcity/**"
+ branchFilter = "+:master"
+ }
+ }
+})
+
+object Docs : BuildType({
+ name = "Docs"
+ type = Type.DEPLOYMENT
+
+ steps {
+ script {
+ workingDir = "docs"
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+ yarn build
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ triggers {
+ vcs {
+ quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
+ triggerRules = "-:.teamcity/**"
+ branchFilter = """
+ +:
+ +:next
+ +:master
+ +:pull/*
+ """.trimIndent()
+ }
+ }
+})
+
+object Lint : BuildType({
+ name = "Lint"
+
+ dependencies {
+ dependency(Build) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "dist.tar.gz!** => ."
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+
+ # TODO remove after merging
+ mkdir temp-eslint-teamcity
+ cd temp-eslint-teamcity
+ yarn init -y
+ yarn add -D eslint-teamcity
+ cd ..
+
+ yarn lint:js --format ./temp-eslint-teamcity/node_modules/eslint-teamcity/index.js .
+ yarn lint:md .
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ failureConditions {
+ failOnMetricChange {
+ metric = BuildFailureOnMetric.MetricType.INSPECTION_ERROR_COUNT
+ threshold = 0
+ units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT
+ comparison = BuildFailureOnMetric.MetricComparison.MORE
+ compareTo = value()
+ }
+ }
+})
+
+object Test : BuildType({
+ name = "Test"
+
+ dependencies {
+ dependency(Build) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "dist.tar.gz!** => ."
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+
+ # TODO remove after merging
+ mkdir temp-jest-teamcity
+ cd temp-jest-teamcity
+ yarn init -y
+ yarn add -D jest-teamcity
+ cd ..
+
+ yarn jest --coverage -w 2 --reporters=${'$'}PWD/temp-jest-teamcity/node_modules/jest-teamcity
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+
+ artifactRules = "coverage => coverage.tar.gz"
+})
+
+object Coverage : BuildType({
+ name = "Coverage"
+
+ dependencies {
+ dependency(Test) {
+ snapshot {
+ onDependencyFailure = FailureAction.CANCEL
+ }
+ artifacts {
+ artifactRules = "coverage.tar.gz!** => coverage"
+ }
+ }
+ }
+
+ steps {
+ script {
+ scriptContent = """
+ #!/bin/bash
+ set -e -x
+
+ yarn install
+ yarn coverage
+ """.trimIndent()
+ dockerImage = "node:10"
+ dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
+ }
+ }
+})
+
+object TestWorkflow : BuildType({
+ name = "Test Workflow"
+ type = Type.COMPOSITE
+ maxRunningBuilds = 2
+
+ dependencies {
+ snapshot(E2E) {}
+ snapshot(SmokeTests) {}
+ snapshot(Lint) {}
+ snapshot(Coverage) {}
+ }
+
+ triggers {
+ vcs {
+ quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT
+ triggerRules = "-:.teamcity/**"
+ branchFilter = """
+ +:
+ +:next
+ +:master
+ +:pull/*
+ """.trimIndent()
+ }
+ }
+})
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 50ef06713aca..daa7997bc064 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -17,6 +17,22 @@
"skipFiles": [
"/**"
]
- },
+ }, {
+ "type": "node",
+ "request": "launch",
+ "name": "cli html",
+ "cwd": "${workspaceFolder}/lib/cli/stories",
+ "runtimeArgs": [
+ "--inspect-brk",
+ "${workspaceFolder}/lib/cli/bin/index.js",
+ "init",
+ "--type",
+ "html"
+ ],
+ "port": 9229,
+ "skipFiles": [
+ "/**"
+ ]
+ }
]
}
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000000..66d2c072fcdb
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "deepscan.enable": true
+}
\ No newline at end of file
diff --git a/ADDONS_SUPPORT.md b/ADDONS_SUPPORT.md
index a87bcfb68bc5..cdad86428e7a 100644
--- a/ADDONS_SUPPORT.md
+++ b/ADDONS_SUPPORT.md
@@ -1,25 +1,32 @@
## Addon / Framework Support Table
-| | [React](app/react)|[React Native](app/react-native)|[Vue](app/vue)|[Angular](app/angular)| [Polymer](app/polymer)| [Mithril](app/mithril)| [HTML](app/html)| [Marko](app/marko)| [Svelte](app/svelte)| [Riot](app/riot)| [Ember](app/ember)| [Preact](app/preact)|
-| ----------- |:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|
-|[a11y](addons/a11y) |+| |+|+|+|+|+|+|+|+|+|+|
-|[actions](addons/actions) |+|+*|+|+|+|+|+|+|+|+|+|+|
-|[backgrounds](addons/backgrounds) |+|*|+|+|+|+|+|+|+|+|+|+|
-|[centered](addons/centered) |+| |+|+| |+|+| |+| |+|+|
-|[contexts](addons/contexts) |+| |+| | | | | | | | |+|
-|[events](addons/events) |+| |+|+|+|+|+|+| | |+|+|
-|[design assets](addons/design-assets) |+| |+|+|+|+|+|+|+|+|+|+|
-|[graphql](addons/graphql) |+| | | | | | | | | | | |
-|[google-analytics](addons/google-analytics) |+|+|+|+|+|+|+|+|+|+|+|+|
-|[info](addons/info) |+| | | | | | | | | | | |
-|[jest](addons/jest) |+|+|+|+|+|+|+|+|+|+|+|+|
-|[knobs](addons/knobs) |+|+*|+|+|+|+|+|+|+|+|+|+|
-|[links](addons/links) |+|+|+|+|+|+|+| |+|+|+|+|
-|[notes](addons/notes) |+|+*|+|+|+|+|+| |+|+|+|+|
-|[options](addons/options) |+|+|+|+|+|+|+| |+|+|+|+|
-|[cssresources](addons/cssresources) |+| |+|+|+|+|+|+|+|+|+|+|
-|[storyshots](addons/storyshots) |+|+|+|+| | |+| |+|+| |+|
-|[storysource](addons/storysource) |+| |+|+|+|+|+|+|+|+|+|+|
-|[viewport](addons/viewport) |+| |+|+|+|+|+|+|+|+|+|+|
+| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | [Rax](app/rax) |
+| ------------------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -------------- |
+| [a11y](addons/a11y) | + | | + | + | + | + | + | + | + | + | + | + |
+| [actions](addons/actions) | + | +\* | + | + | + | + | + | + | + | + | + | + |
+| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + | + |
+| [cssresources](addons/cssresources) | + | | + | + | + | + | + | + | + | + | + | + |
+| [design assets](addons/design-assets) | + | | + | + | + | + | + | + | + | + | + | + |
+| [docs](addons/docs) | + | | + | + | + | + | + | + | + | + | + | + |
+| [events](addons/events) | + | | + | + | + | + | + | | | + | + | + |
+| [google-analytics](addons/google-analytics) | + | + | + | + | + | + | + | + | + | + | + | + |
+| [graphql](addons/graphql) | + | | | | | | | | | | | |
+| [jest](addons/jest) | + | + | + | + | + | + | + | + | + | + | + | + |
+| [knobs](addons/knobs) | + | +\* | + | + | + | + | + | + | + | + | + | + |
+| [links](addons/links) | + | + | + | + | + | + | | + | + | + | + | + |
+| [options](addons/options) | + | + | + | + | + | + | | + | + | + | + | + |
+| [query params](addons/queryparams) | + | | + | + | + | + | + | + | + | + | + | + |
+| [storyshots](addons/storyshots) | + | + | + | + | | + | | + | + | | + | + |
+| [storysource](addons/storysource) | + | | + | + | + | + | + | + | + | + | + | + |
+| [viewport](addons/viewport) | + | | + | + | + | + | + | + | + | + | + | + |
-`*` - React Native on device addon (addons/onDevice-\)
+`*` - React Native on device addon (addons/onDevice-\)
+
+## Deprecated Addons
+
+| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) | [Rax](app/rax) |
+| ------------------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: | -------------- |
+| [info](https://github.com/storybookjs/storybook/tree/master/addons/info) | + | | | | | | | | | | | |
+| [notes](https://github.com/storybookjs/storybook/tree/master/addons/notes) | + | +\* | + | + | + | + | | + | + | + | + | + |
+
+`*` - React Native on device addon (addons/onDevice-\)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e34b8bb52cf..ed9e7f29f00b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,27 +1,1325 @@
+## 6.0.0-beta.21 (June 4, 2020)
+
+### Breaking Changes
+
+- Preact: Update Preact version ([#10978](https://github.com/storybookjs/storybook/pull/10978))
+
+### Features
+
+- Addon-docs: Angular ArgTypes for pipes, injectables, classes ([#11016](https://github.com/storybookjs/storybook/pull/11016))
+- TypeScript: Add warning for setup issues and fix Babel config ([#10998](https://github.com/storybookjs/storybook/pull/10998))
+- Core: Add logLevel preset property to filter logging ([#10370](https://github.com/storybookjs/storybook/pull/10370))
+
+### Bug Fixes
+
+- Addon-controls: Fix initialization logic; remove react-select ([#11024](https://github.com/storybookjs/storybook/pull/11024))
+- CLI: Fix `sb init` in Yarn workspace environment ([#10985](https://github.com/storybookjs/storybook/pull/10985))
+
+### Maintenance
+
+- React: Remove argsStory helper function ([#11036](https://github.com/storybookjs/storybook/pull/11036))
+- Addon-controls: Remove residual options-type controls ([#11015](https://github.com/storybookjs/storybook/pull/11015))
+
+## 6.0.0-beta.20 (June 1, 2020)
+
+### Bug Fixes
+
+- Addon-controls: Fix `options` control types ([#11003](https://github.com/storybookjs/storybook/pull/11003))
+- Addon-controls: Fix no-control handling ([#11001](https://github.com/storybookjs/storybook/pull/11001))
+- Addon-docs: Fix function argType inference in react-docgen-typescript ([#10997](https://github.com/storybookjs/storybook/pull/10997))
+
+### Maintenance
+
+- Addon-controls/a11y: Fix PARAM_KEY export for consistency ([#10988](https://github.com/storybookjs/storybook/pull/10988))
+
+## 6.0.0-beta.19 (May 30, 2020)
+
+### Features
+
+- Addon-controls: Add warning to controls tab on no-args story ([#10986](https://github.com/storybookjs/storybook/pull/10986))
+
+### Bug Fixes
+
+- Addon-docs: Handle JSON.parse exception for Angular union types ([#10984](https://github.com/storybookjs/storybook/pull/10984))
+
+## 6.0.0-beta.18 (May 29, 2020)
+
+### Bug Fixes
+
+- Core: Fix HMR for navigation sidebar in UI ([#10981](https://github.com/storybookjs/storybook/pull/10981))
+- Core: Fix `register.tsx` as manager code in preset heuristic ([#10980](https://github.com/storybookjs/storybook/pull/10980))
+- Core: Send global args with set stories ([#10910](https://github.com/storybookjs/storybook/pull/10910))
+- Core: Log swallowed errors when requiring stories ([#10974](https://github.com/storybookjs/storybook/pull/10974))
+- Core: Support valid globs ([#10926](https://github.com/storybookjs/storybook/pull/10926))
+
+## 6.0.0-beta.17 (May 28, 2020)
+
+### Features
+
+- Addon-controls: Angular support ([#10946](https://github.com/storybookjs/storybook/pull/10946))
+- Addon-controls: Web-components support ([#10953](https://github.com/storybookjs/storybook/pull/10953))
+
+## 6.0.0-beta.16 (May 28, 2020)
+
+### Bug Fixes
+
+- Core: Add missing babel plugin ([#10941](https://github.com/storybookjs/storybook/pull/10941))
+
+### Maintenance
+
+- CI: Stabilize E2E tests ([#10888](https://github.com/storybookjs/storybook/pull/10888))
+
+## 6.0.0-beta.15 (May 27, 2020)
+
+### Features
+
+- Addon-Controls: Next-generation knobs ([#10834](https://github.com/storybookjs/storybook/pull/10834))
+
+### Bug Fixes
+
+- Core: Avoid re-render on HMR of other stories ([#10908](https://github.com/storybookjs/storybook/pull/10908))
+- Core: Fix auth for refs ([#10845](https://github.com/storybookjs/storybook/pull/10845))
+
+### Dependency Upgrades
+
+- Bump react-syntax-highlighter from 11.0.2 to 12.2.1 ([#10919](https://github.com/storybookjs/storybook/pull/10919))
+
+## 6.0.0-beta.14 (May 25, 2020)
+
+### Breaking Changes
+
+- CSF: Hoist story annotation object ([#10907](https://github.com/storybookjs/storybook/pull/10907))
+- Vue: Remove babel-preset-vue ([#10909](https://github.com/storybookjs/storybook/pull/10909))
+
+### Features
+
+- Angular: Support `workspace.json` in nx workspace ([#10881](https://github.com/storybookjs/storybook/pull/10881))
+
+### Bug Fixes
+
+- Addon-docs: Fix single item width in Preview block ([#10877](https://github.com/storybookjs/storybook/pull/10877))
+- UI: Center toolbar icon buttons ([#10897](https://github.com/storybookjs/storybook/pull/10897))
+- Core: Fix double rendering on startup ([#10892](https://github.com/storybookjs/storybook/pull/10892))
+
+### Maintenance
+
+- Core: Use dedicated loader for es6 modules ([#10783](https://github.com/storybookjs/storybook/pull/10783))
+- Core: Fix yarn test command on windows ([#10904](https://github.com/storybookjs/storybook/pull/10904))
+
+## 5.3.19 (May 24, 2020)
+
+### Bug Fixes
+
+- UI: Fix search stories ([#10539](https://github.com/storybookjs/storybook/pull/10539))
+
+### Security
+
+- Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873))
+
+## 6.0.0-beta.13 (May 23, 2020)
+
+### Bug Fixes
+
+- Core: Fix ts/tsx resolution in the manager ([#10886](https://github.com/storybookjs/storybook/pull/10886))
+- Core: Fix typo in projectRoot node_modules detection ([#10848](https://github.com/storybookjs/storybook/pull/10848))
+- Addon-docs: Fix story inline rendering ([#10875](https://github.com/storybookjs/storybook/pull/10875))
+- Core: Fix CRA filter for built-in webpack settings ([#10861](https://github.com/storybookjs/storybook/pull/10861))
+- Addon-docs: Fix react forwardRefs with destructured props ([#10864](https://github.com/storybookjs/storybook/pull/10864))
+
+### Maintenance
+
+- React: Upgrade preset-create-react-app in examples ([#10867](https://github.com/storybookjs/storybook/pull/10867))
+- Core: Close server when e2e test failed ([#10868](https://github.com/storybookjs/storybook/pull/10868))
+
+### Dependency Upgrades
+
+- Upgrade markdown-to-jsx to 6.11.4 ([#10873](https://github.com/storybookjs/storybook/pull/10873))
+
+## 6.0.0-beta.12 (May 21, 2020)
+
+### Breaking Changes
+
+- Core: Zero-config TypeScript loading ([#10813](https://github.com/storybookjs/storybook/pull/10813))
+
+## 6.0.0-beta.11 (May 21, 2020)
+
+Failed publish
+
+## 6.0.0-beta.10 (May 21, 2020)
+
+Failed publish
+
+## 6.0.0-beta.9 (May 21, 2020)
+
+### Bug Fixes
+
+- UI: Avoid full refresh when on some tab changes ([#10838](https://github.com/storybookjs/storybook/pull/10838))
+- Composition: Fix refs not authenticating ([#10819](https://github.com/storybookjs/storybook/pull/10819))
+- Core: Fix global args initial state for addon-toolbars ([#10833](https://github.com/storybookjs/storybook/pull/10833))
+- Addon-a11y: Add deprecated withA11y ([#10814](https://github.com/storybookjs/storybook/pull/10814))
+- Core: Transpile minimum node_modules ([#10725](https://github.com/storybookjs/storybook/pull/10725))
+- UI: Change default view to Canvas on mobile ([#10818](https://github.com/storybookjs/storybook/pull/10818))
+- Docs: Improve Preview zoom handling ([#10801](https://github.com/storybookjs/storybook/pull/10801))
+
+### Maintenance
+
+- CI: example overhaul clean ([#10702](https://github.com/storybookjs/storybook/pull/10702))
+- CLI: Migrate CLI to TypeScript ([#10802](https://github.com/storybookjs/storybook/pull/10802))
+
+### Dependency Upgrades
+
+- Upgrade and add some missing dependencies in core, router, api ([#10825](https://github.com/storybookjs/storybook/pull/10825))
+
+## 6.0.0-beta.8 (May 17, 2020)
+
+### Features
+
+- Addon-toolbars: Show tool icons for all viewModes ([#10810](https://github.com/storybookjs/storybook/pull/10810))
+
+### Bug Fixes
+
+- Addon-docs: Eval argTypes default value ([#10812](https://github.com/storybookjs/storybook/pull/10812))
+
+### Maintenance
+
+- Scripts: parallel execution on build package scripts ([#10808](https://github.com/storybookjs/storybook/pull/10808))
+
+## 6.0.0-beta.7 (May 15, 2020)
+
+### Breaking changes
+
+- Cleanup: Remove support for babel-loader < 8 ([#10781](https://github.com/storybookjs/storybook/pull/10781))
+
+### Features
+
+- Composition: Zero-config composition from dependencies ([#10753](https://github.com/storybookjs/storybook/pull/10753))
+
+### Bug Fixes
+
+- Core: Detect local addons for windows machine ([#10786](https://github.com/storybookjs/storybook/pull/10786))
+- Composition: Rename `mapper` to `storyMapper` and fix loading bugs ([#10780](https://github.com/storybookjs/storybook/pull/10780))
+
+### Maintenance
+
+- CLI: HTML stories homogenization ([#10705](https://github.com/storybookjs/storybook/pull/10705))
+- CLI: web-components stories homogenization ([#10703](https://github.com/storybookjs/storybook/pull/10703))
+
+### Dependency Upgrades
+
+- Update jest-preset-angular to 8.2.0 ([#10778](https://github.com/storybookjs/storybook/pull/10778))
+
+## 6.0.0-beta.6 (May 12, 2020)
+
+### Breaking Changes
+
+- Essentials: Update configuration heuristics for main.js ([#10737](https://github.com/storybookjs/storybook/pull/10737))
+
+### Features
+
+- Essentials: Add addon-actions ([#10748](https://github.com/storybookjs/storybook/pull/10748))
+- Essentials: Add addon-docs ([#10729](https://github.com/storybookjs/storybook/pull/10729))
+
+### Bug Fixes
+
+- UI: Reset layout properties when switching stories ([#10643](https://github.com/storybookjs/storybook/pull/10643))
+
+### Maintenance
+
+- CLI: react stories homogenization ([#10711](https://github.com/storybookjs/storybook/pull/10711))
+- CLI: vue stories homogenization ([#10708](https://github.com/storybookjs/storybook/pull/10708))
+- CLI: webpack react stories homogenization ([#10709](https://github.com/storybookjs/storybook/pull/10709))
+- CLI: svelte stories homogenization ([#10704](https://github.com/storybookjs/storybook/pull/10704))
+- CLI: react-scripts stories homogenization ([#10710](https://github.com/storybookjs/storybook/pull/10710))
+- CLI: mithril stories homogenization ([#10707](https://github.com/storybookjs/storybook/pull/10707))
+- CLI: rax stories homogenization ([#10706](https://github.com/storybookjs/storybook/pull/10706))
+- CLI: riot stories homogenization ([#10715](https://github.com/storybookjs/storybook/pull/10715))
+- CLI: ember stories homogenization ([#10713](https://github.com/storybookjs/storybook/pull/10713))
+- CLI: preact stories homogenization ([#10712](https://github.com/storybookjs/storybook/pull/10712))
+- CLI: sfc_vue stories homogenization ([#10714](https://github.com/storybookjs/storybook/pull/10714))
+
+### Dependency Upgrades
+
+- Revert "Change reference for jest-preset-angular/build/setupJest as per migration guide" ([#10727](https://github.com/storybookjs/storybook/pull/10727))
+
+## 6.0.0-beta.5 (May 11, 2020)
+
+### Bug Fixes
+
+- Core: Fix error handling on load ([#10659](https://github.com/storybookjs/storybook/pull/10659))
+
+### Maintenance
+
+- Storyshots: Change reference for jest-preset-angular/build/setupJest ([#10699](https://github.com/storybookjs/storybook/pull/10699))
+- CLI: Remove CRA fixtures from Yarn 2 tests run ([#10720](https://github.com/storybookjs/storybook/pull/10720))
+- Fix: Set private package on Aurelia example ([#10688](https://github.com/storybookjs/storybook/pull/10688))
+
+## 6.0.0-beta.4 (May 8, 2020)
+
+### Features
+
+- React: Add `argsStory` convenience function ([#10685](https://github.com/storybookjs/storybook/pull/10685))
+
+### Dependency Upgrades
+
+- Build: Upgrade jest to 26 ([#10669](https://github.com/storybookjs/storybook/pull/10669))
+
+## 6.0.0-beta.3 (May 7, 2020)
+
+### Breaking Changes
+
+- Addon-backgrounds: Simplified parameters API ([#10634](https://github.com/storybookjs/storybook/pull/10634))
+
+### Bug Fixes
+
+- Core: Fix `globalArgs` initialization from global parameters ([#10566](https://github.com/storybookjs/storybook/pull/10566))
+- Core: Fix DLL context for IE11 ([#106444]https://github.com/storybookjs/storybook/pull/10644))
+
+### Dependency Upgrades
+
+- Addon-storyshots: Upgrade to jest 26 ([#10642](https://github.com/storybookjs/storybook/pull/10642))
+- Bump terser-webpack-plugin from 2.3.6 to 3.0.0 ([#10650](https://github.com/storybookjs/storybook/pull/10650))
+
+## 6.0.0-beta.2 (May 4, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Fix broken props logic for no-args stories ([#10633](https://github.com/storybookjs/storybook/pull/10633))
+- Addon-docs: Fix custom source manual override ([#10632](https://github.com/storybookjs/storybook/pull/10632))
+- Addon-docs: Fix MDX stories with multiple children ([#9531](https://github.com/storybookjs/storybook/pull/9531))
+- Addon-docs: Fix object array in Props ([#10621](https://github.com/storybookjs/storybook/pull/10621))
+- Actions: Fix import of `uuid` ([#10625](https://github.com/storybookjs/storybook/pull/10625))
+
+### Maintenance
+
+- Core: Fix Args test to not use different code path ([#10607](https://github.com/storybookjs/storybook/pull/10607))
+
+## 6.0.0-beta.1 (May 2, 2020)
+
+### Features
+
+- CLI: Add automatic detection for svelte ([#10623](https://github.com/storybookjs/storybook/pull/10623))
+
+### Bug Fixes
+
+- Addon-docs: Fix no-props logic in Source block ([#10619](https://github.com/storybookjs/storybook/pull/10619))
+- Props: Fix subcomponents ([#10608](https://github.com/storybookjs/storybook/pull/10608))
+
+### Maintenance
+
+- Yarn 2: Fix dependencies issues for compatibility ([#10613](https://github.com/storybookjs/storybook/pull/10613))
+- CLI: Fix cli when working with Yarn 2 and Node 10 ([#10550](https://github.com/storybookjs/storybook/pull/10550))
+
+## 6.0.0-beta.0 (April 29, 2020)
+
+Storybook 6.0 is in beta. 🎉🎉🎉
+
+Hundreds of improvements and fixes, including:
+
+- **Args** - Dynamic story data with automatic prop controls and actions.
+- **Composition** - Compose storybooks for better documentation, performance, and multi-framework support.
+- **Server** - Enabling Storybook for Rails and other server-side components.
+- **Yarn 2** - Supporting next generation package management.
+
+Track the release in the Github: [Storybook 6.0 Release 🏆](https://github.com/storybookjs/storybook/issues/9311)
+
+## 6.0.0-alpha.46 (April 29, 2020)
+
+### Breaking Changes
+
+- Core: Normalize parameters in store/channel ([#10373](https://github.com/storybookjs/storybook/pull/10373))
+- React: Remove deprecated CRA preset ([#10571](https://github.com/storybookjs/storybook/pull/10571))
+
+### Features
+
+- Addon-docs: Props controls for Vue ([#10559](https://github.com/storybookjs/storybook/pull/10559))
+
+### Bug Fixes
+
+- Addon-docs: Add subcomponents prop to Meta block ([#10573](https://github.com/storybookjs/storybook/pull/10573))
+
+## 6.0.0-alpha.45 (April 28, 2020)
+
+## Breaking changes
+
+- Core: Pass args first to stories by default ([#10452](https://github.com/storybookjs/storybook/pull/10452))
+
+## 6.0.0-alpha.44 (April 27, 2020)
+
+### Features
+
+- CLI: Automatically detect typescript in `sb init` ([#10547](https://github.com/storybookjs/storybook/pull/10547))
+
+### Bug Fixes
+
+- UI: Fix `viewMode` parameter handling ([#10292](https://github.com/storybookjs/storybook/pull/10292))
+
+## 6.0.0-alpha.43 (April 24, 2020)
+
+### Features
+
+- Addon-a11y: Use channel to highlight elements in preview ([#10456](https://github.com/storybookjs/storybook/pull/10456))
+- Storyshots: Support react hooks ([#10529](https://github.com/storybookjs/storybook/pull/10529))
+
+### Bug Fixes
+
+- Core: Transform for/of in dlls for IE11 compatibility ([#10471](https://github.com/storybookjs/storybook/pull/10471))
+
+### Maintenance
+
+- Addon-contexts: Move to deprecated-addons repo ([#10479](https://github.com/storybookjs/storybook/pull/10479))
+
+## 6.0.0-alpha.42 (April 23, 2020)
+
+### Bug Fixes
+
+- Build: Fix misc warnings that trip up Chromatic ([#10521](https://github.com/storybookjs/storybook/pull/10521))
+- Composition: Update UI for refs ([#10504](https://github.com/storybookjs/storybook/pull/10504))
+
+### Maintenance
+
+- Addon-docs: Rename `formatSource` to `transformSource` ([#10503](https://github.com/storybookjs/storybook/pull/10503))
+
+## 6.0.0-alpha.41 (April 21, 2020)
+
+### Features
+
+- Addon-docs: Reset styles in Preview component ([#10274](https://github.com/storybookjs/storybook/pull/10274))
+
+### Bug Fixes
+
+- Addon-docs: Port Vue to ArgsTable ([#10482](https://github.com/storybookjs/storybook/pull/10482))
+- Addon-docs: Fix Props controls to point to primary story ([#10480](https://github.com/storybookjs/storybook/pull/10480))
+- Core: Fix addon tab in react-native-server ([#10468](https://github.com/storybookjs/storybook/pull/10468))
+
+### Dependency Upgrades
+
+- Misc upgrades ([#10460](https://github.com/storybookjs/storybook/pull/10460))
+
+## 6.0.0-alpha.40 (April 20, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Fix controls column display logic ([#10473](https://github.com/storybookjs/storybook/pull/10473))
+
+## 6.0.0-alpha.39 (April 18, 2020)
+
+### Breaking Changes
+
+- Addon-docs: Inline stories in Vue by default ([#10463](https://github.com/storybookjs/storybook/pull/10463))
+
+### Features
+
+- Addon-docs: Provide better props include/exclude features ([#10464](https://github.com/storybookjs/storybook/pull/10464))
+- UI: Improve loading state ([#10444](https://github.com/storybookjs/storybook/pull/10444))
+
+### Bug Fixes
+
+- UI: Fix bad shortcutpage layout ([#10445](https://github.com/storybookjs/storybook/pull/10445))
+
+## 6.0.0-alpha.38 (April 18, 2020)
+
+Failed publish
+
+## 6.0.0-alpha.37 (April 17, 2020)
+
+### Features
+
+- Addon-actions: Make arg auto-generation more aggressive ([#10451](https://github.com/storybookjs/storybook/pull/10451))
+
+### Maintenance
+
+- Examples: Format stringified parameters ([#10435](https://github.com/storybookjs/storybook/pull/10435))
+
+### Dependency Upgrades
+
+- Bump recast from 0.16.2 to 0.19.0 ([#10415](https://github.com/storybookjs/storybook/pull/10415))
+
+## 6.0.0-alpha.36 (April 16, 2020)
+
+### Bug Fixes
+
+- Server: Fix serialization of knobs params back to server ([#10391](https://github.com/storybookjs/storybook/pull/10391))
+- Core: Serve correctly hashed static files with the Cache-Control header ([#10390](https://github.com/storybookjs/storybook/pull/10390))
+- Addon-a11y: Fix default a11y parameters ([#10439](https://github.com/storybookjs/storybook/pull/10439))
+- Core: Fix event source handling ([#10416](https://github.com/storybookjs/storybook/pull/10416))
+
+### Maintenance
+
+- Addon-docs: Add blocks typings ([#10441](https://github.com/storybookjs/storybook/pull/10441))
+
+## 6.0.0-alpha.35 (April 16, 2020)
+
+### Bug Fixes
+
+- Core: Fix static build with DLL ([#10377](https://github.com/storybookjs/storybook/pull/10377))
+- Addon-Docs: Fix Args table generation for story with no component ([#10436](https://github.com/storybookjs/storybook/pull/10436))
+
+### Maintenance
+
+- Yarn 2: Fix compatibility with `.storybook/preview.js` file ([#10342](https://github.com/storybookjs/storybook/pull/10342))
+- Official-storybook: Fix passArgsFirst problems ([#10432](https://github.com/storybookjs/storybook/pull/10432))
+
+## 6.0.0-alpha.34 (April 15, 2020)
+
+### Breaking Changes
+
+- Addon-A11y: Remove decorator in favor of parameter configuration ([#10381](https://github.com/storybookjs/storybook/pull/10381))
+
+### Features
+
+- Addon-docs: Add controls to ArgsTable ([#10354](https://github.com/storybookjs/storybook/pull/10354))
+- CLI: Reuse existing chromium tab if possible ([#10329](https://github.com/storybookjs/storybook/pull/10329))
+
+### Bug Fixes
+
+- Core: Fix main.js `stories` regex to glob conversion ([#10400](https://github.com/storybookjs/storybook/pull/10400))
+- Composition: Fix ref getSourceType for URL paths with index.html ([#10421](https://github.com/storybookjs/storybook/pull/10421))
+- Core: Add .cjs files for main.js config ([#10358](https://github.com/storybookjs/storybook/pull/10358))
+
+### Dependency Upgrades
+
+- Bump @types/react-select from 2.0.19 to 3.0.11 ([#10262](https://github.com/storybookjs/storybook/pull/10262))
+- Bump strip-json-comments from 3.0.1 to 3.1.0 ([#10334](https://github.com/storybookjs/storybook/pull/10334))
+- Bump axe version to 3.5.3 ([#10375](https://github.com/storybookjs/storybook/pull/10375))
+- Bump markdown-to-jsx from 6.11.0 to 6.11.1 ([#10331](https://github.com/storybookjs/storybook/pull/10331))
+- Bump semver from 7.1.3 to 7.2.2 ([#10385](https://github.com/storybookjs/storybook/pull/10385))
+
+## 6.0.0-alpha.33 (April 14, 2020)
+
+### Breaking prerelease
+
+- Core: Rename ParameterEnhancer to ArgsEnhancer ([#10398](https://github.com/storybookjs/storybook/pull/10398))
+
+### Bug Fixes
+
+- Core: Fix `webpackFinal` being called twice ([#10402](https://github.com/storybookjs/storybook/pull/10402))
+- Core: Fix legacy redirect ([#10404](https://github.com/storybookjs/storybook/pull/10404))
+
+### Maintenance
+
+- CLI: Update fixtures used for CLI tests ([#10396](https://github.com/storybookjs/storybook/pull/10396))
+- Build: Update bootstrap to install optional deps on CI ([#10408](https://github.com/storybookjs/storybook/pull/10408))
+- Addon-docs: Format source at render time ([#10383](https://github.com/storybookjs/storybook/pull/10383))
+
+## 6.0.0-alpha.32 (April 11, 2020)
+
+### Features
+
+- CSF: Warn when there are no exported stories ([#10357](https://github.com/storybookjs/storybook/pull/10357))
+
+### Bug Fixes
+
+- Marko: Always destroy old component when switching stories ([#10345](https://github.com/storybookjs/storybook/pull/10345))
+
+### Maintenance
+
+- Dev: Build script for package development ([#10343](https://github.com/storybookjs/storybook/pull/10343))
+
+## 6.0.0-alpha.31 (April 7, 2020)
+
+### Bug Fixes
+
+- Core: Fix ie11 compatibility ([#10281](https://github.com/storybookjs/storybook/pull/10281))
+- Core: Add .cjs & .mjs to interpret-files ([#10288](https://github.com/storybookjs/storybook/pull/10288))
+- Core: Fix source-map strategy for production ([#10290](https://github.com/storybookjs/storybook/pull/10290))
+- Addon-knobs: Allow `text` and `number` to take undefined values ([#10101](https://github.com/storybookjs/storybook/pull/10101))
+
+### Maintenance
+
+- Core: Warn about deprecated config files ([#10097](https://github.com/storybookjs/storybook/pull/10097))
+- Yarn 2: rework imports in webpack preview virtual module to fix compatibility ([#10305](https://github.com/storybookjs/storybook/pull/10305))
+- Addon-centered: Move to deprecated-addons ([#10300](https://github.com/storybookjs/storybook/pull/10300))
+
+## 5.3.18 (March 31, 2020)
+
+### Bug Fixes
+
+- Core: Fix manager assets to be routed in express ([#9646](https://github.com/storybookjs/storybook/pull/9646))
+- Storyshots: Fix MDX transform ([#10223](https://github.com/storybookjs/storybook/pull/10223))
+- Addon-docs: Restore IE11 compat on Windows by transpiling acorn-jsx ([#9790](https://github.com/storybookjs/storybook/pull/9790))
+- Addon-docs: Ensure visibility of links within prop descriptions ([#10210](https://github.com/storybookjs/storybook/pull/10210))
+
+## 6.0.0-alpha.30 (March 31, 2020)
+
+### Breaking Changes
+
+- Misc: remove deprecations for 6.0.0 ([#10216](https://github.com/storybookjs/storybook/pull/10216))
+- DocsPage: Remove slots for 6.0 ([#10259](https://github.com/storybookjs/storybook/pull/10259))
+- Addon-actions: Add preset and configure with parameters ([#9933](https://github.com/storybookjs/storybook/pull/9933))
+
+### Features
+
+- MDX: Add args/argTypes/component/subcomponents support ([#10258](https://github.com/storybookjs/storybook/pull/10258))
+- Addon-docs: Add linear gradient support to ColorPalette block ([#10237](https://github.com/storybookjs/storybook/pull/10237))
+
+### Bug Fixes
+
+- Addon-a11y: Performance fix ([#10219](https://github.com/storybookjs/storybook/pull/10219))
+- API: Fix local addon handling ([#10254](https://github.com/storybookjs/storybook/pull/10254))
+- Core: Fix URL load failure due to missing base ([#10228](https://github.com/storybookjs/storybook/pull/10228))
+- Storyshots: Fix MDX transform ([#10223](https://github.com/storybookjs/storybook/pull/10223))
+
+### Maintenance
+
+- Build: Add puppeteer libs so teamcity can build examples ([#10235](https://github.com/storybookjs/storybook/pull/10235))
+
+### Dependency Upgrades
+
+- Misc upgrades ([#10236](https://github.com/storybookjs/storybook/pull/10236))
+
+## 6.0.0-alpha.29 (March 26, 2020)
+
+### Features
+
+- Core: Composition - load remote storybooks ([#9210](https://github.com/storybookjs/storybook/pull/9210))
+- CLI: extract-storybook bin ([#10146](https://github.com/storybookjs/storybook/pull/10146))
+
+### Bug Fixes
+
+- Addon-docs: Ensure visibility of links within prop descriptions ([#10210](https://github.com/storybookjs/storybook/pull/10210))
+
+### Maintenance
+
+- Core: Remove useStoryState ([#10187](https://github.com/storybookjs/storybook/pull/10187))
+- Addon-jest: Title case panel name ([#10161](https://github.com/storybookjs/storybook/pull/10161))
+
+### Dependency Upgrades
+
+- Bump semver from 6.3.0 to 7.1.3 ([#9864](https://github.com/storybookjs/storybook/pull/9864))
+- Bump @types/jest from 25.1.3 to 25.1.4 ([#10133](https://github.com/storybookjs/storybook/pull/10133))
+
+## 6.0.0-alpha.28 (March 23, 2020)
+
+### Features
+
+- UI: Form/textarea maxHeight : 400 ([#9860](https://github.com/storybookjs/storybook/pull/9860))
+
+### Bug Fixes
+
+- Addon-docs: Make source resilient to bad story ID's ([#10184](https://github.com/storybookjs/storybook/pull/10184))
+- Core: Don't persist theme to localStorage ([#9076](https://github.com/storybookjs/storybook/pull/9076))
+- Core: Fix to load Storybook in IE11 ([#9942](https://github.com/storybookjs/storybook/pull/9942))
+
+### Maintenance
+
+- Server: Simplify server addons ([#9931](https://github.com/storybookjs/storybook/pull/9931))
+- Core: FIX error of load order when using configure in preview|config.js ([#10159](https://github.com/storybookjs/storybook/pull/10159))
+- Build: Experiment to make CircleCI tests a faster and more stable ([#9969](https://github.com/storybookjs/storybook/pull/9969))
+- Vue: Fix webpack config when excute 'yarn workspace vue-example dev' ([#9704](https://github.com/storybookjs/storybook/pull/9704))
+- Core: Re-enable failing args tests ([#10126](https://github.com/storybookjs/storybook/pull/10126))
+- Build: Add script & parallelization for running chromatic on examples ([#10125](https://github.com/storybookjs/storybook/pull/10125))
+
+### Dependency Upgrades
+
+- Addon-a11y: Move react to peer dependency ([#9957](https://github.com/storybookjs/storybook/pull/9957))
+
+## 5.3.17 (March 14, 2020)
+
+### Bug Fixes
+
+- Components: Change react-syntax-highlighter from esm to cjs ([#9780](https://github.com/storybookjs/storybook/pull/9780))
+
+## 5.3.16 (March 14, 2020)
+
+Failed NPM publish
+
+## 5.3.15 (March 14, 2020)
+
+### Bug Fixes
+
+- Core: Disables html-webpack-plugin's option to remove script tag types ([#10042](https://github.com/storybookjs/storybook/pull/10042))
+- Addon-actions: Style ActionLogger to preserve whitespace ([#10046](https://github.com/storybookjs/storybook/pull/10046))
+
+### Maintenance
+
+- CI: Fix GitHub unit test workflow ([#9971](https://github.com/storybookjs/storybook/pull/9971))
+
+### Dependency Upgrades
+
+- Security: Remove usage of a vulnerable version of serialize-javascript ([#10071](https://github.com/storybookjs/storybook/pull/10071))
+
+## 6.0.0-alpha.27 (March 13, 2020)
+
+### Features
+
+- Addon-toolbars: Global args support in the toolbar ([#10028](https://github.com/storybookjs/storybook/pull/10028))
+- Addon-actions: Add Storybook Args support ([#10029](https://github.com/storybookjs/storybook/pull/10029))
+- Core: Add globalArgs/globalArgTypes `preview.js` exports ([#10123](https://github.com/storybookjs/storybook/pull/10123))
+
+## 6.0.0-alpha.26 (March 12, 2020)
+
+### Breaking Changes
+
+- Remove deprecated decorators and loaders ([#9951](https://github.com/storybookjs/storybook/pull/9951))
+
+### Features
+
+- Core: Improve support for main.ts/preview.ts files ([#10099](https://github.com/storybookjs/storybook/pull/10099))
+- Addon-docs: Theme with `docs.theme` parameter ([#10114](https://github.com/storybookjs/storybook/pull/10114))
+- Addon-docs: Svelte example ([#7673](https://github.com/storybookjs/storybook/pull/7673))
+
+### Maintenance
+
+- CSF: Promote args/argTypes to first-class metadata ([#10117](https://github.com/storybookjs/storybook/pull/10117))
+
+## 6.0.0-alpha.25 (March 11, 2020)
+
+NOTE: `6.0.0-alpha.24` broken due to bad merge. Sorry!
+
+### Bug Fixes
+
+- Core: Fix initialization of global args ([#10106](https://github.com/storybookjs/storybook/pull/10106))
+
+## 6.0.0-alpha.24 (March 11, 2020)
+
+### Features
+
+- Addon-docs: formatSource snippet customization function ([#10089](https://github.com/storybookjs/storybook/pull/10089))
+- Core: Add global args feature ([#10015](https://github.com/storybookjs/storybook/pull/10015))
+- UI: Migrate from simplebar to overlaybars ([#9375](https://github.com/storybookjs/storybook/pull/9375))
+
+### Bug Fixes
+
+- Core: Fix StoryInput parameters typings ([#10013](https://github.com/storybookjs/storybook/pull/10013))
+- Changed import of react-syntax-highlighter from esm to cjs ([#9292](https://github.com/storybookjs/storybook/pull/9292))
+
+### Maintenance
+
+- Buidld: Setup TeamCity Cloud ([#9875](https://github.com/storybookjs/storybook/pull/9875))
+- Tech/improvements ([#10096](https://github.com/storybookjs/storybook/pull/10096))
+- Core: Move event handlers into module init ([#10085](https://github.com/storybookjs/storybook/pull/10085))
+
+### Dependency Upgrades
+
+- Bump axe-core from 3.5.1 to 3.5.2 ([#10090](https://github.com/storybookjs/storybook/pull/10090))
+
+## 6.0.0-alpha.23 (March 11, 2020)
+
+Failed publish
+
+## 6.0.0-alpha.22 (March 10, 2020)
+
+### Breaking Changes
+
+- MDX: Compile to improved source-loader format ([#10084](https://github.com/storybookjs/storybook/pull/10084))
+
+### Features
+
+- Core: Add args feature ([#10014](https://github.com/storybookjs/storybook/pull/10014))
+
+### Maintenance
+
+- Tech/improvements ([#10083](https://github.com/storybookjs/storybook/pull/10083))
+- Few minor improvements extracted from the inception feature PR ([#10072](https://github.com/storybookjs/storybook/pull/10072))
+- Tech/improvements ([#10070](https://github.com/storybookjs/storybook/pull/10070))
+
+### Dependency Upgrades
+
+- Yarn 2: Add missing dependencies ([#10012](https://github.com/storybookjs/storybook/pull/10012))
+- Security: Remove usage of a vulnerable version of serialize-javascript ([#10071](https://github.com/storybookjs/storybook/pull/10071))
+
+## 6.0.0-alpha.21 (March 5, 2020)
+
+### Breaking Changes
+
+- Core: Overhaul start.js and event emitting/listening ([#9914](https://github.com/storybookjs/storybook/pull/9914))
+
+### Features
+
+- CLI: Support js / jsx / ts / tsx stories in React CSF template ([#10003](https://github.com/storybookjs/storybook/pull/10003))
+- Cra-kitchen-sink : Add Named Color Palette Example(MDX) ([#9709](https://github.com/storybookjs/storybook/pull/9709))
+- Addon-Queryparams: Add addon preset ([#9949](https://github.com/storybookjs/storybook/pull/9949))
+
+### Bug Fixes
+
+- Addon-actions: Style ActionLogger to preserve whitespace ([#10046](https://github.com/storybookjs/storybook/pull/10046))
+- Core: Disables html-webpack-plugin's option to remove script tag types ([#10042](https://github.com/storybookjs/storybook/pull/10042))
+
+### Maintenance
+
+- Tech: Misc improvements ([#10052](https://github.com/storybookjs/storybook/pull/10052))
+- Tech: Misc improvements extracted from composition ([#10040](https://github.com/storybookjs/storybook/pull/10040))
+- CI: change parallelism ([#10041](https://github.com/storybookjs/storybook/pull/10041))
+- Storybook-official: try moving options to `manager.js` ([#9323](https://github.com/storybookjs/storybook/pull/9323))
+- Misc: Add missing dependencies ([#9965](https://github.com/storybookjs/storybook/pull/9965))
+- CI: Fix GitHub unit test workflow ([#9971](https://github.com/storybookjs/storybook/pull/9971))
+
+### Dependency Upgrades
+
+- Upgrade reach router ([#10016](https://github.com/storybookjs/storybook/pull/10016))
+
+## 6.0.0-alpha.20 (February 27, 2020)
+
+### Bug Fixes
+
+- Core: Fix `configFilename` containing backticks ([#9960](https://github.com/storybookjs/storybook/pull/9960))
+
+### Maintenance
+
+- Core: Add stories to demonstrate `layout` ([#9940](https://github.com/storybookjs/storybook/pull/9940))
+
+## 5.3.14 (February 25, 2020)
+
+### Bug Fixes
+
+- Centered: remove `typesVersions` attribute ([#9907](https://github.com/storybookjs/storybook/pull/9907))
+- Props: Fix typescript unspecified default value ([#9873](https://github.com/storybookjs/storybook/pull/9873))
+- Core: Use telejson for websockets channel ([#9867](https://github.com/storybookjs/storybook/pull/9867))
+- Storyshots: Fix support for jsx/tsx config files ([#9834](https://github.com/storybookjs/storybook/pull/9834))
+- MDX: Fix custom classes getting stripped ([#8897](https://github.com/storybookjs/storybook/pull/8897))
+- Typescript: Add downlevel dts for 3.5 ([#9847](https://github.com/storybookjs/storybook/pull/9847))
+
+## 6.0.0-alpha.19 (February 24, 2020)
+
+### Features
+
+- Addon-links: Add preset ([#9932](https://github.com/storybookjs/storybook/pull/9932))
+
+### Bug Fixes
+
+- Addon-docs: Restore IE11 compat on Windows by transpiling acorn-jsx ([#9790](https://github.com/storybookjs/storybook/pull/9790))
+
+## 6.0.0-alpha.18 (February 22, 2020)
+
+### Features
+
+- Addon-knobs: Add `disableForceUpdate` option ([#9447](https://github.com/storybookjs/storybook/pull/9447))
+
+## 6.0.0-alpha.17 (February 21, 2020)
+
+### Bug Fixes
+
+- Props: Fix typescript unspecified default value ([#9873](https://github.com/storybookjs/storybook/pull/9873))
+- Centered: remove `typesVersions` attribute ([#9907](https://github.com/storybookjs/storybook/pull/9907))
+
+### Maintenance
+
+- Misc: Add missing dependencies or peerDependencies ([#9916](https://github.com/storybookjs/storybook/pull/9916))
+
+## 6.0.0-alpha.16 (February 21, 2020)
+
+Failed NPM publish
+
+## 6.0.0-alpha.15 (February 20, 2020)
+
+### Breaking Changes
+
+- Refactor Client API: pull metadata handling code into the store. ([#9877](https://github.com/storybookjs/storybook/pull/9877))
+
+### Features
+
+- Core: Add skip dispose option to ClientApi ([#9868](https://github.com/storybookjs/storybook/pull/9868))
+
+## 6.0.0-alpha.14 (February 19, 2020)
+
+### Features
+
+- CLI: Add Yarn 2 compatibility ([#9866](https://github.com/storybookjs/storybook/pull/9866))
+
+### Bug Fixes
+
+- Typescript: Add downlevel dts for TS3.5 support ([#9902](https://github.com/storybookjs/storybook/pull/9902))
+- CLI: capture unknown arguments the native way ([#9888](https://github.com/storybookjs/storybook/pull/9888))
+- Core: Use telejson for websockets channel ([#9867](https://github.com/storybookjs/storybook/pull/9867))
+
+### Maintenance
+
+- Build: Upgrade to latest version of eslint config ([#9882](https://github.com/storybookjs/storybook/pull/9882))
+- Typescript: Misc improvements ([#9879](https://github.com/storybookjs/storybook/pull/9879))
+- Misc: Project root cleanup ([#9880](https://github.com/storybookjs/storybook/pull/9880))
+
+### Dependency Upgrades
+
+- Bump webpack-cli from 3.3.10 to 3.3.11 ([#9895](https://github.com/storybookjs/storybook/pull/9895))
+- Migrate to leven ([#9881](https://github.com/storybookjs/storybook/pull/9881))
+
+## 6.0.0-alpha.13 (February 15, 2020)
+
+### Bug Fixes
+
+- CLI: fix React Scripts csf-ts story templates ([#9863](https://github.com/storybookjs/storybook/pull/9863))
+- Addon-viewports: Fix Galaxy S9's viewport size ([#9797](https://github.com/storybookjs/storybook/pull/9797))
+- Storyshots: Fix support for jsx/tsx config files ([#9834](https://github.com/storybookjs/storybook/pull/9834))
+
+### Maintenance
+
+- Addon-docs: Snapshot testing and bug reporting for props tables ([#9838](https://github.com/storybookjs/storybook/pull/9838))
+- Typescript: Remove prop types in lib/components ([#9747](https://github.com/storybookjs/storybook/pull/9747))
+- Typescript: Better api consumer ([#9861](https://github.com/storybookjs/storybook/pull/9861))
+
+### Dependency Upgrades
+
+- Bump marko from 4.18.42 to 4.18.45 ([#9839](https://github.com/storybookjs/storybook/pull/9839))
+
+## 6.0.0-alpha.12 (February 14, 2020)
+
+### Maintenance
+
+- Typescript: Improve @storybook/ui types ([#9820](https://github.com/storybookjs/storybook/pull/9820))
+- Misc: Fix deepscan issues ([#9843](https://github.com/storybookjs/storybook/pull/9843)) ([#9842](https://github.com/storybookjs/storybook/pull/9842))
+
+## 6.0.0-alpha.11 (February 13, 2020)
+
+### Breaking Changes
+
+- Core: Remove legacy data from Story Store ([#9810](https://github.com/storybookjs/storybook/pull/9810))
+
+### Bug Fixes
+
+- Addon-docs: Preserve HTML element classes in MDX ([#8897](https://github.com/storybookjs/storybook/pull/8897))
+
+### Maintenance
+
+- CLI: transpile `@storybook/cli` to CJS ([#9807](https://github.com/storybookjs/storybook/pull/9807))
+
+## 5.3.13 (February 12, 2020)
+
+### Bug Fixes
+
+- React: Remove `MiniCssExtractPlugin` for CRA ([#9759](https://github.com/storybookjs/storybook/pull/9759))
+
+### Maintenance
+
+- Build: Fix DLL generation race condition ([#9770](https://github.com/storybookjs/storybook/pull/9770))
+
+## 6.0.0-alpha.10 (February 11, 2020)
+
+### Maintenance
+
+- Typescript: Migrate @storybook/ui ([#9791](https://github.com/storybookjs/storybook/pull/9791))
+
+## 6.0.0-alpha.9 (February 9, 2020)
+
+### Features
+
+- Addon-docs: Add preset options for vue-docgen-api ([#9699](https://github.com/storybookjs/storybook/pull/9699))
+- UI: Add initialActive option parameter ([#9141](https://github.com/storybookjs/storybook/pull/9141))
+
+### Bug Fixes
+
+- Components: Import react-syntax-highlighter/create-element from cjs ([#9795](https://github.com/storybookjs/storybook/pull/9795))
+
+### Maintenance
+
+- Examples: Change main.js to main.ts to show it's possible ([#9775](https://github.com/storybookjs/storybook/pull/9775))
+
+## 6.0.0-alpha.8 (February 8, 2020)
+
+### Maintenance
+
+- Replace lodash named imports with specific imports ([#9787](https://github.com/storybookjs/storybook/pull/9787))
+
+## 6.0.0-alpha.7 (February 7, 2020)
+
+### Bug Fixes
+
+- Core: Support custom addons using JSX ([#9648](https://github.com/storybookjs/storybook/pull/9648))
+- Components: Change react-syntax-highlighter from esm to cjs ([#9780](https://github.com/storybookjs/storybook/pull/9780))
+- Core: Fix manager assets to be routed in express ([#9646](https://github.com/storybookjs/storybook/pull/9646))
+
+### Maintenance
+
+- Examples: Remove addon-notes remnants ([#9782](https://github.com/storybookjs/storybook/pull/9782))
+- Build: Fix DLL generation race condition ([#9770](https://github.com/storybookjs/storybook/pull/9770))
+
+## 6.0.0-alpha.6 (February 5, 2020)
+
+### Bug Fixes
+
+- Core: Fix dev server error - back out bad change ([#9753](https://github.com/storybookjs/storybook/pull/9753))
+- CLI: Fix file path for the Button story ([#9325](https://github.com/storybookjs/storybook/pull/9325))
+
+## 5.3.12 (February 5, 2020)
+
+### Bug Fixes
+
+- Core: Fix dev server error - back out bad change ([#9753](https://github.com/storybookjs/storybook/pull/9753))
+
+## 5.3.11 (February 4, 2020)
+
+### Bug Fixes
+
+- Svelte: Fix Svelte 3 slots for decorators ([#9724](https://github.com/storybookjs/storybook/pull/9724))
+- CLI: Fix file path for Button story ([#9325](https://github.com/storybookjs/storybook/pull/9325))
+- Angular: Emit decorator metadata by default ([#9701](https://github.com/storybookjs/storybook/pull/9701))
+- Storyshots: Fix config via main.ts ([#9577](https://github.com/storybookjs/storybook/pull/9577))
+
+## 6.0.0-alpha.5 (February 4, 2020)
+
+### Features
+
+- Core: Add Yarn 2 compatibility ([#9667](https://github.com/storybookjs/storybook/pull/9667))
+- Addon-a11y: Add preset ([#9697](https://github.com/storybookjs/storybook/pull/9697))
+- Server: Initial support for @storybook/server ([#9722](https://github.com/storybookjs/storybook/pull/9722))
+
+### Bug Fixes
+
+- Svelte: Fix Svelte 3 slots for decorators ([#9724](https://github.com/storybookjs/storybook/pull/9724))
+
+### Maintenance
+
+- Cra-ts-kitchen-sink: Fix stories glob pattern ([#9706](https://github.com/storybookjs/storybook/pull/9706))
+
+## 6.0.0-alpha.4 (February 3, 2020)
+
+### Bug Fixes
+
+- Angular: Emit decorator metadata by default ([#9701](https://github.com/storybookjs/storybook/pull/9701))
+- Addon-centered: Fix clash with addon-docs for react ([#8388](https://github.com/storybookjs/storybook/pull/8388))
+
+### Maintenance
+
+- Add angular 8 and 9 cli fixtures ([#8769](https://github.com/storybookjs/storybook/pull/8769))
+
+### Dependency Upgrades
+
+- Misc upgrades ([#9688](https://github.com/storybookjs/storybook/pull/9688))
+
+## 5.3.10 (February 2, 2020)
+
+### Bug Fixes
+
+- Core: Upgrade `min-css-extract-plugin` to fix SASS loading ([#9652](https://github.com/storybookjs/storybook/pull/9652))
+- CRA: Fix jsconfig support ([#9324](https://github.com/storybookjs/storybook/pull/9324))
+- Web-components: Fix default value for docs prop table ([#9655](https://github.com/storybookjs/storybook/pull/9655))
+- Web-components: Fix types to play nicely with lit-element ([#9557](https://github.com/storybookjs/storybook/pull/9557))
+- UI: Add support for className prop on Form.Field ([#9665](https://github.com/storybookjs/storybook/pull/9665))
+- Addon-storyshots: Remove excess slashes from jest transform warning ([#9616](https://github.com/storybookjs/storybook/pull/9616))
+
+### Maintenance
+
+- Ember: Migrate to new "import { hbs } from 'ember-cli-htmlbars'" ([#9633](https://github.com/storybookjs/storybook/pull/9633))
+- Build: Netlify for examples again ([#9585](https://github.com/storybookjs/storybook/pull/9585))
+- Publish: Remove docs to reduce package size ([#9612](https://github.com/storybookjs/storybook/pull/9612))
+
+## 6.0.0-alpha.3 (February 2, 2020)
+
+### Bug Fixes
+
+- CRA: Fix jsconfig support ([#9324](https://github.com/storybookjs/storybook/pull/9324))
+- UI: Check if docsOnly is set to hide the addon panels ([#9687](https://github.com/storybookjs/storybook/pull/9687))
+
+### Maintenance
+
+- Addon-notes, addon-info: Move to deprecated-addons repo ([#9673](https://github.com/storybookjs/storybook/pull/9673))
+
+## 6.0.0-alpha.2 (January 30, 2020)
+
+### Features
+
+- UI: Configure tabs title, visibility, order and disable ([#9095](https://github.com/storybookjs/storybook/pull/9095))
+- Addon-cssresources: Add hideCode option ([#9627](https://github.com/storybookjs/storybook/pull/9627))
+- UI: Add `viewMode` parameter to control story nav UI ([#9090](https://github.com/storybookjs/storybook/pull/9090))
+
+### Bug Fixes
+
+- Web-components: Fix default value for prop table docs ([#9655](https://github.com/storybookjs/storybook/pull/9655))
+- Web-components: Make TypeScript types play nicely with lit-element ([#9557](https://github.com/storybookjs/storybook/pull/9557))
+- UI: Fix tabs to scroll horizontally ([#9383](https://github.com/storybookjs/storybook/pull/9383))
+- UI: Add support for className prop on Form.Field ([#9665](https://github.com/storybookjs/storybook/pull/9665))
+- Core: Upgrade `min-css-extract-plugin` to fix SASS loading ([#9652](https://github.com/storybookjs/storybook/pull/9652))
+- Adon-docs: Fix ColorPalette styling ([#9643](https://github.com/storybookjs/storybook/pull/9643))
+- Addon-storyshots: Remove excess slashes from jest transform warning ([#9616](https://github.com/storybookjs/storybook/pull/9616))
+
+### Maintenance
+
+- Source-loader: Overhaul to remove decorators, support user-configurable source ([#9547](https://github.com/storybookjs/storybook/pull/9547))
+- Build: Use Netlify for examples again ([#9585](https://github.com/storybookjs/storybook/pull/9585))
+- Ember: Migrate to new "import { hbs } from 'ember-cli-htmlbars'" ([#9633](https://github.com/storybookjs/storybook/pull/9633))
+- Publish: Remove docs to reduce package size ([#9612](https://github.com/storybookjs/storybook/pull/9612))
+
+## 5.3.9 (January 24, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Revert breaking source indentation fix ([#9609](https://github.com/storybookjs/storybook/pull/9609))
+
+## 6.0.0-alpha.1 (January 23, 2020)
+
+### Features
+
+- Core: Enable HMR logging in browser console ([#9535](https://github.com/storybookjs/storybook/pull/9535))
+
+### Bug Fixes
+
+- Addon-knobs: Fix broken link to repo in empty panel ([#9530](https://github.com/storybookjs/storybook/pull/9530))
+- Typescript: Export IStory in `@storybook/angular` ([#9097](https://github.com/storybookjs/storybook/pull/9097))
+
+### Maintenance
+
+- React-native: Extract to its own repo ([#9599](https://github.com/storybookjs/storybook/pull/9599))
+- Polymer: Extract to its own repo ([#9596](https://github.com/storybookjs/storybook/pull/9596))
+- Build: Fix some dependencies & ts problems ([#9603](https://github.com/storybookjs/storybook/pull/9603))
+
+## 5.3.8 (January 22, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Fix TS false default value in prop table ([#9560](https://github.com/storybookjs/storybook/pull/9560))
+- Addon-knobs: Fix broken repo link in empty panel ([#9530](https://github.com/storybookjs/storybook/pull/9530))
+- Typescript: Export IStory in `@storybook/angular` ([#9097](https://github.com/storybookjs/storybook/pull/9097))
+- Fixed Angular button example story ([#9540](https://github.com/storybookjs/storybook/pull/9540))
+- Clean usage of `@types/webpack-env` dep in all packages ([#9536](https://github.com/storybookjs/storybook/pull/9536))
+
+## 6.0.0-alpha.0 (January 21, 2020)
+
+### Features
+
+- API: Add useSharedState, useStoryState ([#9566](https://github.com/storybookjs/storybook/pull/9566))
+- Addon-docs: Named colors with ColorPalette ([#9453](https://github.com/storybookjs/storybook/pull/9453))
+- Core: Add preview layouts ([#9229](https://github.com/storybookjs/storybook/pull/9229))
+- Marionette: Add marionette support ([#7981](https://github.com/storybookjs/storybook/pull/7981))
+- Addon-a11y: Support manual run ([#8883](https://github.com/storybookjs/storybook/pull/8883))
+- Addon-cssresources: Disable SyntaxHighlighter for long code ([#9360](https://github.com/storybookjs/storybook/pull/9360))
+- Core: Improve monorepo support ([#8822](https://github.com/storybookjs/storybook/pull/8822))
+
+### Bug Fixes
+
+- Addon-docs: Fix TS false default value in prop table ([#9560](https://github.com/storybookjs/storybook/pull/9560))
+- Addon-docs: Remove hard-coded lineHeight in Typeset block ([#9567](https://github.com/storybookjs/storybook/pull/9567))
+- Fixed Angular button example story ([#9540](https://github.com/storybookjs/storybook/pull/9540))
+- Core: Fix generated entry to import at top of file ([#9398](https://github.com/storybookjs/storybook/pull/9398))
+- Preact: Fix story function typescript type ([#9123](https://github.com/storybookjs/storybook/pull/9123))
+- UI: Make canvas link a link ([#9257](https://github.com/storybookjs/storybook/pull/9257))
+
+### Maintenance
+
+- Build: the build-storybooks script ([#9569](https://github.com/storybookjs/storybook/pull/9569))
+- CLI: Improve Rax template ([#9574](https://github.com/storybookjs/storybook/pull/9574))
+- Typescript: Migrate polymer ([#9565](https://github.com/storybookjs/storybook/pull/9565))
+- Typescript: Migrate ember ([#9020](https://github.com/storybookjs/storybook/pull/9020))
+- Next 6.0.0 ([#9212](https://github.com/storybookjs/storybook/pull/9212))
+- REMOVE subscription_store ([#9228](https://github.com/storybookjs/storybook/pull/9228))
+
+### Dependency Upgrades
+
+- Update husky to v4 ([#9509](https://github.com/storybookjs/storybook/pull/9509))
+- Bumped react-dev-utils dependency to v10. ([#9579](https://github.com/storybookjs/storybook/pull/9579))
+- Bump babel-plugin-macros from 2.7.1 to 2.8.0 ([#9236](https://github.com/storybookjs/storybook/pull/9236))
+- Bump babel-plugin-emotion from 10.0.23 to 10.0.27 ([#9239](https://github.com/storybookjs/storybook/pull/9239))
+- Bump @babel/runtime from 7.7.4 to 7.7.7 ([#9277](https://github.com/storybookjs/storybook/pull/9277))
+- Bump corejs-upgrade-webpack-plugin from 2.2.0 to 3.0.1 ([#9427](https://github.com/storybookjs/storybook/pull/9427))
+- Bump terser-webpack-plugin from 2.2.1 to 2.3.2 ([#9386](https://github.com/storybookjs/storybook/pull/9386))
+
+## 5.3.7 (January 20, 2020)
+
+### Bug Fixes
+
+- Node-logger: Move `@types/npmlog` to dependencies ([#9538](https://github.com/storybookjs/storybook/pull/9538))
+- Core: Fix legacy story URLs ([#9545](https://github.com/storybookjs/storybook/pull/9545))
+- Addon-docs: Convert default prop value to string ([#9525](https://github.com/storybookjs/storybook/pull/9525))
+- Addon-docs: Preserve Source indentation by default ([#9513](https://github.com/storybookjs/storybook/pull/9513))
+
+## 5.3.6 (January 17, 2020)
+
+### Bug Fixes
+
+- Source-loader: Bypass if file has no exports ([#9505](https://github.com/storybookjs/storybook/pull/9505))
+- Core: Fix default sorting of docs-only stories ([#9504](https://github.com/storybookjs/storybook/pull/9504))
+
+## 5.3.5 (January 17, 2020)
+
+### Bug Fixes
+
+- Core: Fix typo for loading addon-notes/register-panel ([#9497](https://github.com/storybookjs/storybook/pull/9497))
+- Source-loader: Add imports to top of file ([#9492](https://github.com/storybookjs/storybook/pull/9492))
+
+## 5.3.4 (January 16, 2020)
+
+### Bug Fixes
+
+- Core: Fix presets register panel ([#9486](https://github.com/storybookjs/storybook/pull/9486))
+- Core: Fix addon/preset detection for local addons ([#9485](https://github.com/storybookjs/storybook/pull/9485))
+- Core: Fix default story sort ([#9482](https://github.com/storybookjs/storybook/pull/9482))
+
+## 5.3.3 (January 14, 2020)
+
+### Bug Fixes
+
+- UI: Fix edge case where only one legacy separator is defined ([#9425](https://github.com/storybookjs/storybook/pull/9425))
+- Core: Preserve kind load order on HMR when no sortFn is provided ([#9424](https://github.com/storybookjs/storybook/pull/9424))
+- Angular: Fix missing architect properties ([#9390](https://github.com/storybookjs/storybook/pull/9390))
+- Addon-knobs: Fix null knob values in select ([#9416](https://github.com/storybookjs/storybook/pull/9416))
+- Source-loader: Disable linting altogether ([#9417](https://github.com/storybookjs/storybook/pull/9417))
+
+## 5.3.2 (January 13, 2020)
+
+### Bug Fixes
+
+- Source-loader: Disable eslint entirely for generated code ([#9410](https://github.com/storybookjs/storybook/pull/9410))
+
+## 5.3.1 (January 12, 2020)
+
+### Bug Fixes
+
+- Core: Fix generated entry to import at top of file ([#9398](https://github.com/storybookjs/storybook/pull/9398))
+
+## 5.3.0 (January 11, 2020)
+
+Storybook 5.3 is here!
+
+- 📝 [Custom documentation in MDX](https://medium.com/storybookjs/rich-docs-with-storybook-mdx-61bc145ae7bc)
+- 🎨 [Multi-framework SB Docs (React, Vue, Angular, WC, Ember)](https://medium.com/storybookjs/storybook-docs-for-new-frameworks-b1f6090ee0ea)
+- 📦 [Web-components framework support](https://dev.to/open-wc/storybook-for-web-components-on-steroids-4h29)
+- 🔼 [Main.js declarative configuration](https://medium.com/storybookjs/declarative-storybook-configuration-49912f77b78)
+
+ 5.3 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.3.0-alpha.*`, `5.3.0-beta.*`, and `5.3.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to upgrade from `5.0` or earlier.
+
+## 5.3.0-rc.14 (January 11, 2020)
+
+- Merge `master` into `next` for 5.3.0 release ([#9388](https://github.com/storybookjs/storybook/pull/9388))
+
+## 5.3.0-rc.13 (January 11, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Fix link CORS errors using channel navigate event ([#9381](https://github.com/storybookjs/storybook/pull/9381))
+- CLI: Fix `sb init` to use spawn.sync if creating package.json ([#9359](https://github.com/storybookjs/storybook/pull/9359))
+
+### Maintenance
+
+- Official-storybook: Prop table example for multiple named exports ([#9364](https://github.com/storybookjs/storybook/pull/9364))
+- Addon-docs / web-components: Rename 'props' to 'properties' in props table ([#9362](https://github.com/storybookjs/storybook/pull/9362))
+
+### Dependency Upgrades
+
+- Upgrade @types/webpack-env and @types/node to fix conflicting types ([#9365](https://github.com/storybookjs/storybook/pull/9365))
+
+## 5.3.0-rc.12 (January 8, 2020)
+
+### Bug Fixes
+
+- Nav UI: Nodes are components only if they contain ALL leaf nodes ([#9356](https://github.com/storybookjs/storybook/pull/9356))
+- Core: Fix HMR for global decorators in main.js config ([#9354](https://github.com/storybookjs/storybook/pull/9354))
+- Presets: Fix register.js addons entry ([#9347](https://github.com/storybookjs/storybook/pull/9347))
+- React: Check CRA is installed before showing warning ([#9346](https://github.com/storybookjs/storybook/pull/9346))
+
+## 5.3.0-rc.11 (January 7, 2020)
+
+### Bug Fixes
+
+- Addon-Docs: Handle leaf/non-leaf mixture in docs-mode navigation ([#9321](https://github.com/storybookjs/storybook/pull/9321))
+
+### Dependency Upgrades
+
+- Axe storyshots: move to original @wordpress/jest-puppeteer-axe package ([#9337](https://github.com/storybookjs/storybook/pull/9337))
+
+## 5.3.0-rc.10 (January 6, 2020)
+
+### Bug Fixes
+
+- Revert "Source-loader: Disable no-implicit-any linting" ([#9333](https://github.com/storybookjs/storybook/pull/9333))
+- Addon-docs: Fix scroll behavior on page navigation ([#9331](https://github.com/storybookjs/storybook/pull/9331))
+
+## 5.3.0-rc.9 (January 4, 2020)
+
+### Features
+
+- CSF: Use `__namedExportsOrder` array in loader if provided ([#9315](https://github.com/storybookjs/storybook/pull/9315))
+
+### Bug Fixes
+
+- Router: Add storyNameFromExport to avoid breaking changes ([#9320](https://github.com/storybookjs/storybook/pull/9320))
+
+## 5.3.0-rc.8 (January 3, 2020)
+
+### Bug Fixes
+
+- Addon-docs: Tweak props table paragraph spacing ([#9307](https://github.com/storybookjs/storybook/pull/9307))
+
+### Maintenance
+
+- Add minimal typescript component to official-storybook ([#9308](https://github.com/storybookjs/storybook/pull/9308))
+
+### Dependency Upgrades
+
+- React: Upgrade babel-plugin-react-docgen to 4.0.0 ([#9303](https://github.com/storybookjs/storybook/pull/9303))
+
+## 5.3.0-rc.7 (January 2, 2020)
+
+### Bug Fixes
+
+- Core: Fix babel.js to disable simplify ([#9280](https://github.com/storybookjs/storybook/pull/9280))
+- Storyshots-Puppeteer: Don't infer story ID from its name ([#9291](https://github.com/storybookjs/storybook/pull/9291))
+
+## 5.3.0-rc.6 (December 31, 2019)
+
+This is significant change to `main.js` aka tri-config, dramatically simplifying how addons and presets are registered. See the maintenannce PR for details.
+
+### Maintenance
+
+- Main.js: Combine presets/registers in `addons` field ([#9246](https://github.com/storybookjs/storybook/pull/9246))
+
+## 5.3.0-rc.5 (December 31, 2019)
+
+### Bug Fixes
+
+- Addon-docs: Hide stories block when there are no stories ([#9271](https://github.com/storybookjs/storybook/pull/9271))
+- Source-loader: Disable no-implicit-any linting ([#9272](https://github.com/storybookjs/storybook/pull/9272))
+
+## 5.3.0-rc.4 (December 28, 2019)
+
+### Bug Fixes
+
+- Addon-docs: Fix MDX story rendering with dynamic component titles ([#9248](https://github.com/storybookjs/storybook/pull/9248))
+
+### Maintenance
+
+- Ignore testfixtures directory in storybook publish ([#9244](https://github.com/storybookjs/storybook/pull/9244))
+
+## 5.3.0-rc.3 (December 26, 2019)
+
+### Bug Fixes
+
+- Addon-docs: Include ember files in addon-docs publish ([#9230](https://github.com/storybookjs/storybook/pull/9230))
+
+### Maintenance
+
+- Standalone CSF example ([#9223](https://github.com/storybookjs/storybook/pull/9223))
+
+### Dependency Upgrades
+
+- Addon-info: Upgrade marksy for security ([#9234](https://github.com/storybookjs/storybook/pull/9234))
+
+## 5.3.0-rc.2 (December 26, 2019)
+
+Failed NPM publish
+
+## 5.3.0-rc.1 (December 23, 2019)
+
+### Bug Fixes
+
+- Angular: Add default value to the budgets property ([#9207](https://github.com/storybookjs/storybook/pull/9207))
+- DocsPage: Fix title with new path separator scheme ([#9204](https://github.com/storybookjs/storybook/pull/9204))
+
+### Maintenance
+
+- CLI: Make template `stories` glob more permissive ([#9224](https://github.com/storybookjs/storybook/pull/9224))
+
## 5.3.0-rc.0 (December 19, 2019)
### Features
-* CSF: Use `__orderedExports` in loader if provided ([#9181](https://github.com/storybookjs/storybook/pull/9181))
+- CSF: Use `__orderedExports` in loader if provided ([#9181](https://github.com/storybookjs/storybook/pull/9181))
### Bug Fixes
-* Addon-a11y: Fix selected blindness color filter ([#9179](https://github.com/storybookjs/storybook/pull/9179))
+- Addon-a11y: Fix selected blindness color filter ([#9179](https://github.com/storybookjs/storybook/pull/9179))
### Maintenance
-* Addon-essentials: Remove actions, links, knobs ([#9184](https://github.com/storybookjs/storybook/pull/9184))
+- Addon-essentials: Remove actions, links, knobs ([#9184](https://github.com/storybookjs/storybook/pull/9184))
## 5.3.0-beta.31 (December 16, 2019)
### Features
-* React: Add support for CRA without overrides ([#9157](https://github.com/storybookjs/storybook/pull/9157))
-* Addon-docs: Add fontFamily prop to Typeset component ([#9158](https://github.com/storybookjs/storybook/pull/9158))
+- React: Add support for CRA without overrides ([#9157](https://github.com/storybookjs/storybook/pull/9157))
+- Addon-docs: Add fontFamily prop to Typeset component ([#9158](https://github.com/storybookjs/storybook/pull/9158))
### Bug Fixes
-* Core: Emit store render event synchronously if we can ([#9087](https://github.com/storybookjs/storybook/pull/9087))
+- Core: Emit store render event synchronously if we can ([#9087](https://github.com/storybookjs/storybook/pull/9087))
## 5.3.0-beta.30 (December 16, 2019)
@@ -47,11 +1345,11 @@ Failed NPM publish
### Bug Fixes
-* Addon-docs: Hide addons on docs-only stories ([#9125](https://github.com/storybookjs/storybook/pull/9125))
+- Addon-docs: Hide addons on docs-only stories ([#9125](https://github.com/storybookjs/storybook/pull/9125))
### Dependency Upgrades
-* Upgrade vue-docgen-loader to 1.3.0-beta.0 ([#9155](https://github.com/storybookjs/storybook/pull/9155))
+- Upgrade vue-docgen-loader to 1.3.0-beta.0 ([#9155](https://github.com/storybookjs/storybook/pull/9155))
## 5.3.0-beta.24 (December 15, 2019)
@@ -61,82 +1359,82 @@ Failed NPM publish
### Features
-* Addon-docs: Render components as leaves in `--docs` mode ([#7700](https://github.com/storybookjs/storybook/pull/7700))
+- Addon-docs: Render components as leaves in `--docs` mode ([#7700](https://github.com/storybookjs/storybook/pull/7700))
### Bug Fixes
-* Addon-viewport: Allow viewports config to be optional ([#9137](https://github.com/storybookjs/storybook/pull/9137))
+- Addon-viewport: Allow viewports config to be optional ([#9137](https://github.com/storybookjs/storybook/pull/9137))
## 5.3.0-beta.22 (December 12, 2019)
### Bug Fixes
-* React: Fix CRA preset check ([#9142](https://github.com/storybookjs/storybook/pull/9142))
+- React: Fix CRA preset check ([#9142](https://github.com/storybookjs/storybook/pull/9142))
### Maintenance
-* Build: Change CI to chromatic on all examples ([#9114](https://github.com/storybookjs/storybook/pull/9114))
-* Web-components: Clean up example `custom-elements.json` and expose `defaultValue` ([#9107](https://github.com/storybookjs/storybook/pull/9107))
+- Build: Change CI to chromatic on all examples ([#9114](https://github.com/storybookjs/storybook/pull/9114))
+- Web-components: Clean up example `custom-elements.json` and expose `defaultValue` ([#9107](https://github.com/storybookjs/storybook/pull/9107))
### Dependency Upgrades
-* Restore main jscodeshift package ([#9140](https://github.com/storybookjs/storybook/pull/9140))
+- Restore main jscodeshift package ([#9140](https://github.com/storybookjs/storybook/pull/9140))
## 5.3.0-beta.21 (December 11, 2019)
### Features
-* CLI: Add Yarn workspaces support for init command ([#9104](https://github.com/storybookjs/storybook/pull/9104))
+- CLI: Add Yarn workspaces support for init command ([#9104](https://github.com/storybookjs/storybook/pull/9104))
### Bug Fixes
-* Addon-docs: Update MDX compiler to fix knobs ([#9118](https://github.com/storybookjs/storybook/pull/9118))
-* CLI: Add web-components to sb init ([#9106](https://github.com/storybookjs/storybook/pull/9106))
+- Addon-docs: Update MDX compiler to fix knobs ([#9118](https://github.com/storybookjs/storybook/pull/9118))
+- CLI: Add web-components to sb init ([#9106](https://github.com/storybookjs/storybook/pull/9106))
### Maintenance
-* UI: Remove css usage ([#9003](https://github.com/storybookjs/storybook/pull/9003))
+- UI: Remove css usage ([#9003](https://github.com/storybookjs/storybook/pull/9003))
## 5.3.0-beta.20 (December 9, 2019)
### Features
-* Addon-essentials: Remove docs from essentials ([#9093](https://github.com/storybookjs/storybook/pull/9093))
+- Addon-essentials: Remove docs from essentials ([#9093](https://github.com/storybookjs/storybook/pull/9093))
### Bug Fixes
-* Source-loader: Handle includeStories/excludeStories in CSF ([#9100](https://github.com/storybookjs/storybook/pull/9100))
-* Source-loader: Support function declaration story exports ([#9092](https://github.com/storybookjs/storybook/pull/9092))
+- Source-loader: Handle includeStories/excludeStories in CSF ([#9100](https://github.com/storybookjs/storybook/pull/9100))
+- Source-loader: Support function declaration story exports ([#9092](https://github.com/storybookjs/storybook/pull/9092))
### Maintenance
-* CSF: Refactor router utils into CSF library ([#9099](https://github.com/storybookjs/storybook/pull/9099))
+- CSF: Refactor router utils into CSF library ([#9099](https://github.com/storybookjs/storybook/pull/9099))
## 5.3.0-beta.19 (December 7, 2019)
### Features
-* Addon-essentials ([#9019](https://github.com/storybookjs/storybook/pull/9019))
+- Addon-essentials ([#9019](https://github.com/storybookjs/storybook/pull/9019))
### Bug Fixes
-* Addon-docs: Fix prop table default value for web-components ([#9086](https://github.com/storybookjs/storybook/pull/9086))
+- Addon-docs: Fix prop table default value for web-components ([#9086](https://github.com/storybookjs/storybook/pull/9086))
## 5.3.0-beta.18 (December 6, 2019)
### Features
-* CLI: Change generators to Triconfig ([#9075](https://github.com/storybookjs/storybook/pull/9075))
-* Addon-docs: Add Props for Ember ([#9067](https://github.com/storybookjs/storybook/pull/9067))
-* MDX: Handle quotes / template literals in title ([#9069](https://github.com/storybookjs/storybook/pull/9069))
+- CLI: Change generators to Triconfig ([#9075](https://github.com/storybookjs/storybook/pull/9075))
+- Addon-docs: Add Props for Ember ([#9067](https://github.com/storybookjs/storybook/pull/9067))
+- MDX: Handle quotes / template literals in title ([#9069](https://github.com/storybookjs/storybook/pull/9069))
### Bug Fixes
-* Addon-docs: MDX Octicon anchors should not be tabbable ([#9063](https://github.com/storybookjs/storybook/pull/9063))
+- Addon-docs: MDX Octicon anchors should not be tabbable ([#9063](https://github.com/storybookjs/storybook/pull/9063))
### Dependency Upgrades
-* Addon-docs: Upgrade vue-docgen-loader ([#9082](https://github.com/storybookjs/storybook/pull/9082))
+- Addon-docs: Upgrade vue-docgen-loader ([#9082](https://github.com/storybookjs/storybook/pull/9082))
## 5.3.0-beta.17 (December 6, 2019)
@@ -146,145 +1444,145 @@ NPM publish failed
### Features
-* Addon-docs: DocsPage Heading and Subheading anchor links ([#9060](https://github.com/storybookjs/storybook/pull/9060))
+- Addon-docs: DocsPage Heading and Subheading anchor links ([#9060](https://github.com/storybookjs/storybook/pull/9060))
### Bug Fixes
-* Core: Fix `api.selectStory` for component permalinks ([#9054](https://github.com/storybookjs/storybook/pull/9054))
-* Storyshots: Escape Windows fileNames ([#9061](https://github.com/storybookjs/storybook/pull/9061))
+- Core: Fix `api.selectStory` for component permalinks ([#9054](https://github.com/storybookjs/storybook/pull/9054))
+- Storyshots: Escape Windows fileNames ([#9061](https://github.com/storybookjs/storybook/pull/9061))
### Dependency Upgrades
-* Addon-docs: Upgrade vue-docgen-api ([#9066](https://github.com/storybookjs/storybook/pull/9066))
+- Addon-docs: Upgrade vue-docgen-api ([#9066](https://github.com/storybookjs/storybook/pull/9066))
## 5.3.0-beta.15 (December 4, 2019)
### Features
-* Addon-docs: MDX Linking ([#9051](https://github.com/storybookjs/storybook/pull/9051))
+- Addon-docs: MDX Linking ([#9051](https://github.com/storybookjs/storybook/pull/9051))
## 5.2.8 (December 2, 2019)
### Bug Fixes
-* UI: Fix layout of Preview container ([#8628](https://github.com/storybookjs/storybook/pull/8628))
-* Core: Use `stable` package to ensure story sorting is stable ([#8795](https://github.com/storybookjs/storybook/pull/8795))
-* Source-loader: Warn if applied to non-stories file ([#8773](https://github.com/storybookjs/storybook/pull/8773))
+- UI: Fix layout of Preview container ([#8628](https://github.com/storybookjs/storybook/pull/8628))
+- Core: Use `stable` package to ensure story sorting is stable ([#8795](https://github.com/storybookjs/storybook/pull/8795))
+- Source-loader: Warn if applied to non-stories file ([#8773](https://github.com/storybookjs/storybook/pull/8773))
## 5.3.0-beta.14 (December 2, 2019)
### Features
-* Addon-docs: Increase Props summary and func length ([#8998](https://github.com/storybookjs/storybook/pull/8998))
+- Addon-docs: Increase Props summary and func length ([#8998](https://github.com/storybookjs/storybook/pull/8998))
### Bug Fixes
-* Addon-docs: Restore IE11 compat by transpiling acorn-jsx ([#9021](https://github.com/storybookjs/storybook/pull/9021))
-* Source-loader: Handle template strings in CSF title ([#8995](https://github.com/storybookjs/storybook/pull/8995))
-* CLI: Fix various storiesof-to-csf cases based on chromatic stories upgrade ([#9013](https://github.com/storybookjs/storybook/pull/9013))
+- Addon-docs: Restore IE11 compat by transpiling acorn-jsx ([#9021](https://github.com/storybookjs/storybook/pull/9021))
+- Source-loader: Handle template strings in CSF title ([#8995](https://github.com/storybookjs/storybook/pull/8995))
+- CLI: Fix various storiesof-to-csf cases based on chromatic stories upgrade ([#9013](https://github.com/storybookjs/storybook/pull/9013))
## 5.2.7 (November 30, 2019)
### Bug Fixes
-* Addon-contexts: Fix 'cannot read property h of undefined' in preact ([#9001](https://github.com/storybookjs/storybook/pull/9001))
-* Addon-viewports: Fix missing TypeScript types ([#8848](https://github.com/storybookjs/storybook/pull/8848))
-* Addon-A11y: Show errors, reset config properly ([#8779](https://github.com/storybookjs/storybook/pull/8779))
-* UI: Store layout state in sessionStorage ([#8786](https://github.com/storybookjs/storybook/pull/8786))
-* UI: Fix MobileLayout component error on master ([#8941](https://github.com/storybookjs/storybook/pull/8941))
-* Addon-analytics: Fix 'path is required in .pageview()' ([#8468](https://github.com/storybookjs/storybook/pull/8468))
+- Addon-contexts: Fix 'cannot read property h of undefined' in preact ([#9001](https://github.com/storybookjs/storybook/pull/9001))
+- Addon-viewports: Fix missing TypeScript types ([#8848](https://github.com/storybookjs/storybook/pull/8848))
+- Addon-A11y: Show errors, reset config properly ([#8779](https://github.com/storybookjs/storybook/pull/8779))
+- UI: Store layout state in sessionStorage ([#8786](https://github.com/storybookjs/storybook/pull/8786))
+- UI: Fix MobileLayout component error on master ([#8941](https://github.com/storybookjs/storybook/pull/8941))
+- Addon-analytics: Fix 'path is required in .pageview()' ([#8468](https://github.com/storybookjs/storybook/pull/8468))
## 5.3.0-beta.13 (November 30, 2019)
### Bug Fixes
-* Addon-contexts: Fix 'cannot read property h of undefined' in preact ([#9001](https://github.com/storybookjs/storybook/pull/9001))
+- Addon-contexts: Fix 'cannot read property h of undefined' in preact ([#9001](https://github.com/storybookjs/storybook/pull/9001))
### Maintenance
-* CLI: Code cleanup ([#9004](https://github.com/storybookjs/storybook/pull/9004))
+- CLI: Code cleanup ([#9004](https://github.com/storybookjs/storybook/pull/9004))
## 5.3.0-beta.12 (November 29, 2019)
### Features
-* Storyshots: Support a11y tests, generic tests ([#8934](https://github.com/storybookjs/storybook/pull/8934))
+- Storyshots: Support a11y tests, generic tests ([#8934](https://github.com/storybookjs/storybook/pull/8934))
### Maintenance
-* Dev: Add vscode launch.json for debugging ([#8993](https://github.com/storybookjs/storybook/pull/8993))
-* UI: viewMode proptypes changed to any string ([#8994](https://github.com/storybookjs/storybook/pull/8994))
-* Addon-docs: Remove deprecated framework-specific docs presets ([#8985](https://github.com/storybookjs/storybook/pull/8985))
+- Dev: Add vscode launch.json for debugging ([#8993](https://github.com/storybookjs/storybook/pull/8993))
+- UI: viewMode proptypes changed to any string ([#8994](https://github.com/storybookjs/storybook/pull/8994))
+- Addon-docs: Remove deprecated framework-specific docs presets ([#8985](https://github.com/storybookjs/storybook/pull/8985))
### Dependency Upgrades
-* Addon-docs: Upgrade MDX dependencies ([#8991](https://github.com/storybookjs/storybook/pull/8991))
+- Addon-docs: Upgrade MDX dependencies ([#8991](https://github.com/storybookjs/storybook/pull/8991))
## 5.3.0-beta.11 (November 28, 2019)
### Features
-* UI: Escape hatch CSS on for "active" tablist buttons ([#8989](https://github.com/storybookjs/storybook/pull/8989))
-* Addon-docs: Added dark theme option to source component ([#8732](https://github.com/storybookjs/storybook/pull/8732))
-* Triconfig: Configure UI options overhaul ([#8871](https://github.com/storybookjs/storybook/pull/8871))
+- UI: Escape hatch CSS on for "active" tablist buttons ([#8989](https://github.com/storybookjs/storybook/pull/8989))
+- Addon-docs: Added dark theme option to source component ([#8732](https://github.com/storybookjs/storybook/pull/8732))
+- Triconfig: Configure UI options overhaul ([#8871](https://github.com/storybookjs/storybook/pull/8871))
### Bug Fixes
-* Addon-docs: Fix vertical alignment of props expandable ([#8953](https://github.com/storybookjs/storybook/pull/8953))
-* Addon-links: Fix return type of linkTo and examples ([#8975](https://github.com/storybookjs/storybook/pull/8975))
+- Addon-docs: Fix vertical alignment of props expandable ([#8953](https://github.com/storybookjs/storybook/pull/8953))
+- Addon-links: Fix return type of linkTo and examples ([#8975](https://github.com/storybookjs/storybook/pull/8975))
## 5.3.0-beta.10 (November 27, 2019)
### Features
-* MDX: Allow user to override `docs.container` parameter ([#8968](https://github.com/storybookjs/storybook/pull/8968))
-* Addon-docs: Increase docs content wrapper max-width to 1000px ([#8970](https://github.com/storybookjs/storybook/pull/8970))
-* Addon-docs: Prop table support for Angular directives ([#8922](https://github.com/storybookjs/storybook/pull/8922))
-* Addon-docs: Increase width of props table type column ([#8950](https://github.com/storybookjs/storybook/pull/8950))
+- MDX: Allow user to override `docs.container` parameter ([#8968](https://github.com/storybookjs/storybook/pull/8968))
+- Addon-docs: Increase docs content wrapper max-width to 1000px ([#8970](https://github.com/storybookjs/storybook/pull/8970))
+- Addon-docs: Prop table support for Angular directives ([#8922](https://github.com/storybookjs/storybook/pull/8922))
+- Addon-docs: Increase width of props table type column ([#8950](https://github.com/storybookjs/storybook/pull/8950))
### Bug Fixes
-* Addon-docs: Fix `Preview` theming escape hatch ([#8969](https://github.com/storybookjs/storybook/pull/8969))
-* Core: Don't try to require .ts files from dist ([#8971](https://github.com/storybookjs/storybook/pull/8971))
-* Core: Use logger in base-webpack.config.js ([#8966](https://github.com/storybookjs/storybook/pull/8966))
+- Addon-docs: Fix `Preview` theming escape hatch ([#8969](https://github.com/storybookjs/storybook/pull/8969))
+- Core: Don't try to require .ts files from dist ([#8971](https://github.com/storybookjs/storybook/pull/8971))
+- Core: Use logger in base-webpack.config.js ([#8966](https://github.com/storybookjs/storybook/pull/8966))
### Maintenance
-* Examples: Add "debug" script for storybook-official ([#8973](https://github.com/storybookjs/storybook/pull/8973))
-* Build: Upgrade to node 10 on netlify ([#8967](https://github.com/storybookjs/storybook/pull/8967))
-* Core/triconfig everywhere: migrate examples ([#8942](https://github.com/storybookjs/storybook/pull/8942))
+- Examples: Add "debug" script for storybook-official ([#8973](https://github.com/storybookjs/storybook/pull/8973))
+- Build: Upgrade to node 10 on netlify ([#8967](https://github.com/storybookjs/storybook/pull/8967))
+- Core/triconfig everywhere: migrate examples ([#8942](https://github.com/storybookjs/storybook/pull/8942))
## 5.3.0-beta.9 (November 26, 2019)
### Features
-* Storyshots: Remove abandoned storyshots when run with `-u` flag ([#8889](https://github.com/storybookjs/storybook/pull/8889))
+- Storyshots: Remove abandoned storyshots when run with `-u` flag ([#8889](https://github.com/storybookjs/storybook/pull/8889))
### Bug Fixes
-* Addon-docs: Support subcomponents as a top-level default export ([#8931](https://github.com/storybookjs/storybook/pull/8931))
+- Addon-docs: Support subcomponents as a top-level default export ([#8931](https://github.com/storybookjs/storybook/pull/8931))
### Dependency Upgrades
-* Core: Add missing dependencies ([#8945](https://github.com/storybookjs/storybook/pull/8945))
+- Core: Add missing dependencies ([#8945](https://github.com/storybookjs/storybook/pull/8945))
## 5.3.0-beta.8 (November 26, 2019)
### Features
-* Storyshots-puppeteer: Add afterScreenshot handler ([#8092](https://github.com/storybookjs/storybook/pull/8092))
+- Storyshots-puppeteer: Add afterScreenshot handler ([#8092](https://github.com/storybookjs/storybook/pull/8092))
### Bug Fixes
-* Core: Upgrade telejson to fix cross-origin frame error ([#8940](https://github.com/storybookjs/storybook/pull/8940))
+- Core: Upgrade telejson to fix cross-origin frame error ([#8940](https://github.com/storybookjs/storybook/pull/8940))
### Maintenance
-* Build: Fix image snapshots setup in official-storybook ([#8932](https://github.com/storybookjs/storybook/pull/8932))
+- Build: Fix image snapshots setup in official-storybook ([#8932](https://github.com/storybookjs/storybook/pull/8932))
### Dependency Upgrades
-* Core: Add @babel/core peer dependency to @storybook/core ([#8933](https://github.com/storybookjs/storybook/pull/8933))
+- Core: Add @babel/core peer dependency to @storybook/core ([#8933](https://github.com/storybookjs/storybook/pull/8933))
## 5.3.0-beta.7 (November 26, 2019)
@@ -294,21 +1592,21 @@ Failed npm publish
### Features
-* Presets: dynamic preset injection ([#8921](https://github.com/storybookjs/storybook/pull/8921))
+- Presets: dynamic preset injection ([#8921](https://github.com/storybookjs/storybook/pull/8921))
### Bug Fixes
-* Revert "feat: use `puppeteer-core` instead of `puppeteer`" ([#8925](https://github.com/storybookjs/storybook/pull/8925))
-* Addon-docs: Fix props detail tooltip to prevent cutting end of content ([#8923](https://github.com/storybookjs/storybook/pull/8923))
+- Revert "feat: use `puppeteer-core` instead of `puppeteer`" ([#8925](https://github.com/storybookjs/storybook/pull/8925))
+- Addon-docs: Fix props detail tooltip to prevent cutting end of content ([#8923](https://github.com/storybookjs/storybook/pull/8923))
### Maintenance
-* Addon-docs: Base code to improve the props table for TS ([#8905](https://github.com/storybookjs/storybook/pull/8905))
-* Build: Fix now deploy ([#8929](https://github.com/storybookjs/storybook/pull/8929))
+- Addon-docs: Base code to improve the props table for TS ([#8905](https://github.com/storybookjs/storybook/pull/8905))
+- Build: Fix now deploy ([#8929](https://github.com/storybookjs/storybook/pull/8929))
### Dependency Upgrades
-* Miscellaneous upgrades ([#8912](https://github.com/storybookjs/storybook/pull/8912))
+- Miscellaneous upgrades ([#8912](https://github.com/storybookjs/storybook/pull/8912))
## 5.3.0-beta.5 (November 23, 2019)
@@ -322,47 +1620,47 @@ Failed npm publish
### Features
-* Addon-docs: Rich props table UI ([#8887](https://github.com/storybookjs/storybook/pull/8887))
-* Addon-docs: Improve basic support for Flow props ([#8890](https://github.com/storybookjs/storybook/pull/8890))
-* CLI: Avoid id changes after `storiesof-to-csf` migration ([#8856](https://github.com/storybookjs/storybook/pull/8856))
+- Addon-docs: Rich props table UI ([#8887](https://github.com/storybookjs/storybook/pull/8887))
+- Addon-docs: Improve basic support for Flow props ([#8890](https://github.com/storybookjs/storybook/pull/8890))
+- CLI: Avoid id changes after `storiesof-to-csf` migration ([#8856](https://github.com/storybookjs/storybook/pull/8856))
### Bug Fixes
-* Addon-docs: Fix props table for sections props ([#8904](https://github.com/storybookjs/storybook/pull/8904))
-* Addon-docs: Fix Description block when no component provided ([#8902](https://github.com/storybookjs/storybook/pull/8902))
-* Angular: Fix project without `architect.build` option ([#6737](https://github.com/storybookjs/storybook/pull/6737))
+- Addon-docs: Fix props table for sections props ([#8904](https://github.com/storybookjs/storybook/pull/8904))
+- Addon-docs: Fix Description block when no component provided ([#8902](https://github.com/storybookjs/storybook/pull/8902))
+- Angular: Fix project without `architect.build` option ([#6737](https://github.com/storybookjs/storybook/pull/6737))
### Maintenance
-* Addon-docs: Docgen lib maintenance ([#8896](https://github.com/storybookjs/storybook/pull/8896))
-* Examples: Fix stories glob in official-storybook ([#8888](https://github.com/storybookjs/storybook/pull/8888))
+- Addon-docs: Docgen lib maintenance ([#8896](https://github.com/storybookjs/storybook/pull/8896))
+- Examples: Fix stories glob in official-storybook ([#8888](https://github.com/storybookjs/storybook/pull/8888))
## 5.3.0-beta.2 (November 19, 2019)
### Features
-* Addon-docs: Customizable DocPage doc blocks ([#8855](https://github.com/storybookjs/storybook/pull/8855))
+- Addon-docs: Customizable DocPage doc blocks ([#8855](https://github.com/storybookjs/storybook/pull/8855))
### Bug Fixes
-* Addon-docs: Add back Props "exclude" support ([#8868](https://github.com/storybookjs/storybook/pull/8868))
-* Addon-docs: Fix MDX component permalinking ([#8872](https://github.com/storybookjs/storybook/pull/8872))
-* Addon-docs: Fix regression to @ignore in Props ([#8867](https://github.com/storybookjs/storybook/pull/8867))
+- Addon-docs: Add back Props "exclude" support ([#8868](https://github.com/storybookjs/storybook/pull/8868))
+- Addon-docs: Fix MDX component permalinking ([#8872](https://github.com/storybookjs/storybook/pull/8872))
+- Addon-docs: Fix regression to @ignore in Props ([#8867](https://github.com/storybookjs/storybook/pull/8867))
### Maintenance
-* Addon-docs: Add tests for prop types default value ([#8869](https://github.com/storybookjs/storybook/pull/8869))
+- Addon-docs: Add tests for prop types default value ([#8869](https://github.com/storybookjs/storybook/pull/8869))
## 5.3.0-beta.1 (November 18, 2019)
### Features
-* Addon-google-analytics: Add gaOption config ([#8859](https://github.com/storybookjs/storybook/pull/8859))
+- Addon-google-analytics: Add gaOption config ([#8859](https://github.com/storybookjs/storybook/pull/8859))
### Bug Fixes
-* Addon-docs: Fix props table props sorting for PropTypes ([#8857](https://github.com/storybookjs/storybook/pull/8857))
-* Fix layout of Preview container ([#8628](https://github.com/storybookjs/storybook/pull/8628))
+- Addon-docs: Fix props table props sorting for PropTypes ([#8857](https://github.com/storybookjs/storybook/pull/8857))
+- Fix layout of Preview container ([#8628](https://github.com/storybookjs/storybook/pull/8628))
## 5.3.0-beta.0 (November 16, 2019)
@@ -379,294 +1677,294 @@ See the [latest changelog](https://github.com/storybookjs/storybook/blob/next/CH
### Features
-* Triconfig: Declarative story definition in main.js ([#8748](https://github.com/storybookjs/storybook/pull/8748))
-* Storyshots: Triconfig support ([#8765](https://github.com/storybookjs/storybook/pull/8765))
+- Triconfig: Declarative story definition in main.js ([#8748](https://github.com/storybookjs/storybook/pull/8748))
+- Storyshots: Triconfig support ([#8765](https://github.com/storybookjs/storybook/pull/8765))
### Bug Fixes
-* Addon-viewports: Fix missing TypeScript types ([#8848](https://github.com/storybookjs/storybook/pull/8848))
+- Addon-viewports: Fix missing TypeScript types ([#8848](https://github.com/storybookjs/storybook/pull/8848))
### Dependency Upgrades
-* Dependency upgrades ([#8847](https://github.com/storybookjs/storybook/pull/8847))
+- Dependency upgrades ([#8847](https://github.com/storybookjs/storybook/pull/8847))
## 5.3.0-alpha.46 (November 16, 2019)
### Features
-* Core: allow uppercase path names in url query param ([#8516](https://github.com/storybookjs/storybook/pull/8516))
+- Core: allow uppercase path names in url query param ([#8516](https://github.com/storybookjs/storybook/pull/8516))
### Bug Fixes
-* Core: Fix null version check bug ([#8806](https://github.com/storybookjs/storybook/pull/8806))
-* Addon-notes: Fix anchor links ([#8132](https://github.com/storybookjs/storybook/pull/8132))
+- Core: Fix null version check bug ([#8806](https://github.com/storybookjs/storybook/pull/8806))
+- Addon-notes: Fix anchor links ([#8132](https://github.com/storybookjs/storybook/pull/8132))
### Maintenance
-* Refactor: remove useless variables from eslint config ([#8843](https://github.com/storybookjs/storybook/pull/8843))
+- Refactor: remove useless variables from eslint config ([#8843](https://github.com/storybookjs/storybook/pull/8843))
### Dependency Upgrades
-* Addon-docs: Replace `storybook-addon-vue-info` with `vue-docgen-loader` ([#8831](https://github.com/storybookjs/storybook/pull/8831))
+- Addon-docs: Replace `storybook-addon-vue-info` with `vue-docgen-loader` ([#8831](https://github.com/storybookjs/storybook/pull/8831))
## 5.3.0-alpha.45 (November 14, 2019)
### Breaking Changes
-* CSF: Deprecate displayName parameter ([#8775](https://github.com/storybookjs/storybook/pull/8775))
+- CSF: Deprecate displayName parameter ([#8775](https://github.com/storybookjs/storybook/pull/8775))
### Features
-* Addon-docs: Rich prop tables ([#8826](https://github.com/storybookjs/storybook/pull/8826))
-* Core: Simplified hierarchy separators ([#8796](https://github.com/storybookjs/storybook/pull/8796))
-* CLI: Upgrade hierarchy separator codemod + examples ([#8818](https://github.com/storybookjs/storybook/pull/8818))
-* CLI: Addon postinstall hooks ([#8700](https://github.com/storybookjs/storybook/pull/8700))
-* CSF/MDX: Add component id for permalinks ([#8808](https://github.com/storybookjs/storybook/pull/8808))
-* Addon-knobs: Add object[] support for select ([#7957](https://github.com/storybookjs/storybook/pull/7957))
+- Addon-docs: Rich prop tables ([#8826](https://github.com/storybookjs/storybook/pull/8826))
+- Core: Simplified hierarchy separators ([#8796](https://github.com/storybookjs/storybook/pull/8796))
+- CLI: Upgrade hierarchy separator codemod + examples ([#8818](https://github.com/storybookjs/storybook/pull/8818))
+- CLI: Addon postinstall hooks ([#8700](https://github.com/storybookjs/storybook/pull/8700))
+- CSF/MDX: Add component id for permalinks ([#8808](https://github.com/storybookjs/storybook/pull/8808))
+- Addon-knobs: Add object[] support for select ([#7957](https://github.com/storybookjs/storybook/pull/7957))
### Bug Fixes
-* Addon-A11y: Show errors, reset config properly ([#8779](https://github.com/storybookjs/storybook/pull/8779))
+- Addon-A11y: Show errors, reset config properly ([#8779](https://github.com/storybookjs/storybook/pull/8779))
## 5.3.0-alpha.44 (November 13, 2019)
### Features
-* React-native: Add theming to ondevice-addons ([#8738](https://github.com/storybookjs/storybook/pull/8738))
+- React-native: Add theming to ondevice-addons ([#8738](https://github.com/storybookjs/storybook/pull/8738))
### Bug Fixes
-* UI: Store layout state in sessionStorage ([#8786](https://github.com/storybookjs/storybook/pull/8786))
-* Core: Use `stable` package to ensure story sorting is stable ([#8795](https://github.com/storybookjs/storybook/pull/8795))
+- UI: Store layout state in sessionStorage ([#8786](https://github.com/storybookjs/storybook/pull/8786))
+- Core: Use `stable` package to ensure story sorting is stable ([#8795](https://github.com/storybookjs/storybook/pull/8795))
### Maintenance
-* Svelte: Migrate @storybook/svelte to Typescript ([#8770](https://github.com/storybookjs/storybook/pull/8770))
+- Svelte: Migrate @storybook/svelte to Typescript ([#8770](https://github.com/storybookjs/storybook/pull/8770))
## 5.3.0-alpha.43 (November 11, 2019)
### Bug Fixes
-* Source-loader: Warn if applied to non-stories file ([#8773](https://github.com/storybookjs/storybook/pull/8773))
+- Source-loader: Warn if applied to non-stories file ([#8773](https://github.com/storybookjs/storybook/pull/8773))
### Maintenance
-* Presets / Addon-docs: Cleanup framework-specific presets ([#8782](https://github.com/storybookjs/storybook/pull/8782))
-* Add @babel/runtime to workspace ([#8774](https://github.com/storybookjs/storybook/pull/8774))
+- Presets / Addon-docs: Cleanup framework-specific presets ([#8782](https://github.com/storybookjs/storybook/pull/8782))
+- Add @babel/runtime to workspace ([#8774](https://github.com/storybookjs/storybook/pull/8774))
## 5.2.6 (November 9, 2019)
### Bug Fixes
-* Addon-info: Remove jsnext:main ([#8764](https://github.com/storybookjs/storybook/pull/8764))
-* Addon-info: Fix "The prop 'children' is marked as required in 'Td'" ([#8745](https://github.com/storybookjs/storybook/pull/8745))
-* UI: Fix unmount components on Canvas/Docs tab switch ([#8625](https://github.com/storybookjs/storybook/pull/8625))
-* Addon-docs: Fix code style inside LI ([#8708](https://github.com/storybookjs/storybook/pull/8708))
-* Remove min-height CSS rule from DocsPage wrapper ([#8366](https://github.com/storybookjs/storybook/pull/8366))
-* Core: Revert webpack rebuild changes in node_modules ([#8657](https://github.com/storybookjs/storybook/pull/8657))
-* Addon-notes: Add key to render function ([#8633](https://github.com/storybookjs/storybook/pull/8633))
-* Addon-docs: Fix story scroll-to heuristics ([#8629](https://github.com/storybookjs/storybook/pull/8629))
-* React-native-server: Changed default port to number in CLI options ([#8584](https://github.com/storybookjs/storybook/pull/8584))
-* Increase TooltipLinkList max-height to accommodate more links ([#8545](https://github.com/storybookjs/storybook/pull/8545))
-* Prevent form submission as search is done while typing ([#8546](https://github.com/storybookjs/storybook/pull/8546))
-* Ondevice-knobs: Fix peer dep ([#8644](https://github.com/storybookjs/storybook/pull/8644))
+- Addon-info: Remove jsnext:main ([#8764](https://github.com/storybookjs/storybook/pull/8764))
+- Addon-info: Fix "The prop 'children' is marked as required in 'Td'" ([#8745](https://github.com/storybookjs/storybook/pull/8745))
+- UI: Fix unmount components on Canvas/Docs tab switch ([#8625](https://github.com/storybookjs/storybook/pull/8625))
+- Addon-docs: Fix code style inside LI ([#8708](https://github.com/storybookjs/storybook/pull/8708))
+- Remove min-height CSS rule from DocsPage wrapper ([#8366](https://github.com/storybookjs/storybook/pull/8366))
+- Core: Revert webpack rebuild changes in node_modules ([#8657](https://github.com/storybookjs/storybook/pull/8657))
+- Addon-notes: Add key to render function ([#8633](https://github.com/storybookjs/storybook/pull/8633))
+- Addon-docs: Fix story scroll-to heuristics ([#8629](https://github.com/storybookjs/storybook/pull/8629))
+- React-native-server: Changed default port to number in CLI options ([#8584](https://github.com/storybookjs/storybook/pull/8584))
+- Increase TooltipLinkList max-height to accommodate more links ([#8545](https://github.com/storybookjs/storybook/pull/8545))
+- Prevent form submission as search is done while typing ([#8546](https://github.com/storybookjs/storybook/pull/8546))
+- Ondevice-knobs: Fix peer dep ([#8644](https://github.com/storybookjs/storybook/pull/8644))
## 5.3.0-alpha.42 (November 9, 2019)
### Bug Fixes
-* Addon-info: Remove jsnext:main ([#8764](https://github.com/storybookjs/storybook/pull/8764))
-* Addon-info: Fix "The prop 'children' is marked as required in 'Td'" ([#8745](https://github.com/storybookjs/storybook/pull/8745))
+- Addon-info: Remove jsnext:main ([#8764](https://github.com/storybookjs/storybook/pull/8764))
+- Addon-info: Fix "The prop 'children' is marked as required in 'Td'" ([#8745](https://github.com/storybookjs/storybook/pull/8745))
### Maintenance
-* React-native: Update compilation target - it was compiled for old browsers ([#8698](https://github.com/storybookjs/storybook/pull/8698))
+- React-native: Update compilation target - it was compiled for old browsers ([#8698](https://github.com/storybookjs/storybook/pull/8698))
## 5.3.0-alpha.41 (November 7, 2019)
### Features
-* Addon-docs: Render array of shape properly in props table ([#8707](https://github.com/storybookjs/storybook/pull/8707))
-* Addon-docs: Render params description in props table, support @ignore ([#8702](https://github.com/storybookjs/storybook/pull/8702))
+- Addon-docs: Render array of shape properly in props table ([#8707](https://github.com/storybookjs/storybook/pull/8707))
+- Addon-docs: Render params description in props table, support @ignore ([#8702](https://github.com/storybookjs/storybook/pull/8702))
### Bug Fixes
-* Addon-docs: Fix "Cannot read property 'props'" ([#8731](https://github.com/storybookjs/storybook/pull/8731))
-* UI: Fix unmount components on Canvas/Docs tab switch ([#8625](https://github.com/storybookjs/storybook/pull/8625))
-* Angular: Fix loading baseConfig if no angular.json found ([#8727](https://github.com/storybookjs/storybook/pull/8727))
+- Addon-docs: Fix "Cannot read property 'props'" ([#8731](https://github.com/storybookjs/storybook/pull/8731))
+- UI: Fix unmount components on Canvas/Docs tab switch ([#8625](https://github.com/storybookjs/storybook/pull/8625))
+- Angular: Fix loading baseConfig if no angular.json found ([#8727](https://github.com/storybookjs/storybook/pull/8727))
## 5.3.0-alpha.40 (November 6, 2019)
### Features
-* TriConfig configuration refactor ([#8597](https://github.com/storybookjs/storybook/pull/8597))
-* Presets: Ability to combine presets into another preset ([#6828](https://github.com/storybookjs/storybook/pull/6828))
+- TriConfig configuration refactor ([#8597](https://github.com/storybookjs/storybook/pull/8597))
+- Presets: Ability to combine presets into another preset ([#6828](https://github.com/storybookjs/storybook/pull/6828))
### Bug Fixes
-* Theming: Fix invisible hr styles in typography ([#8659](https://github.com/storybookjs/storybook/pull/8659))
+- Theming: Fix invisible hr styles in typography ([#8659](https://github.com/storybookjs/storybook/pull/8659))
### Maintenance
-* Build: caching to github workflows ([#8724](https://github.com/storybookjs/storybook/pull/8724))
+- Build: caching to github workflows ([#8724](https://github.com/storybookjs/storybook/pull/8724))
## 5.3.0-alpha.39 (November 5, 2019)
### Breaking Changes
-* React-native: Require user-provided async storage ([#7801](https://github.com/storybookjs/storybook/pull/7801))
+- React-native: Require user-provided async storage ([#7801](https://github.com/storybookjs/storybook/pull/7801))
### Features
-* Addon-docs: Inline rendering for web-components as default ([#8705](https://github.com/storybookjs/storybook/pull/8705))
+- Addon-docs: Inline rendering for web-components as default ([#8705](https://github.com/storybookjs/storybook/pull/8705))
### Bug Fixes
-* Addon-docs: Fix recipe to use `notes` as component description ([#8718](https://github.com/storybookjs/storybook/pull/8718))
-* Addon-docs: Fix code style inside LI ([#8708](https://github.com/storybookjs/storybook/pull/8708))
-* React Native: Fix on-device-notes ([#8692](https://github.com/storybookjs/storybook/pull/8692))
-* React Native: On Device Knobs Groups Fix ([#8694](https://github.com/storybookjs/storybook/pull/8694))
-* React-native: Fix event listening for story navigation ([#8690](https://github.com/storybookjs/storybook/pull/8690))
-* React-Native: Add safe area wrapper for iphone x and later ([#8679](https://github.com/storybookjs/storybook/pull/8679))
+- Addon-docs: Fix recipe to use `notes` as component description ([#8718](https://github.com/storybookjs/storybook/pull/8718))
+- Addon-docs: Fix code style inside LI ([#8708](https://github.com/storybookjs/storybook/pull/8708))
+- React Native: Fix on-device-notes ([#8692](https://github.com/storybookjs/storybook/pull/8692))
+- React Native: On Device Knobs Groups Fix ([#8694](https://github.com/storybookjs/storybook/pull/8694))
+- React-native: Fix event listening for story navigation ([#8690](https://github.com/storybookjs/storybook/pull/8690))
+- React-Native: Add safe area wrapper for iphone x and later ([#8679](https://github.com/storybookjs/storybook/pull/8679))
## 5.3.0-alpha.38 (November 3, 2019)
### Bug Fixes
-* React-native: Patch rn-host-detect ([#8683](https://github.com/storybookjs/storybook/pull/8683))
-* React-native: Fix layout in RN61 so addons no longer initially displayed ([#8681](https://github.com/storybookjs/storybook/pull/8681))
+- React-native: Patch rn-host-detect ([#8683](https://github.com/storybookjs/storybook/pull/8683))
+- React-native: Fix layout in RN61 so addons no longer initially displayed ([#8681](https://github.com/storybookjs/storybook/pull/8681))
### Maintenance
-* React-native: Catch touch events when preview is minimized ([#8680](https://github.com/storybookjs/storybook/pull/8680))
-* React-native: Make menu bar have its own position instead of absolute ([#8678](https://github.com/storybookjs/storybook/pull/8678))
+- React-native: Catch touch events when preview is minimized ([#8680](https://github.com/storybookjs/storybook/pull/8680))
+- React-native: Make menu bar have its own position instead of absolute ([#8678](https://github.com/storybookjs/storybook/pull/8678))
## 5.3.0-alpha.37 (November 2, 2019)
### Bug Fixes
-* Source-loader: Fix Typescript support ([#8499](https://github.com/storybookjs/storybook/pull/8499))
+- Source-loader: Fix Typescript support ([#8499](https://github.com/storybookjs/storybook/pull/8499))
## 5.3.0-alpha.36 (November 2, 2019)
### Features
-* Addon-docs: Angular DocsPage props table ([#8621](https://github.com/storybookjs/storybook/pull/8621))
-* Addon-docs: Support jsdoc params to describe function signature ([#8660](https://github.com/storybookjs/storybook/pull/8660))
+- Addon-docs: Angular DocsPage props table ([#8621](https://github.com/storybookjs/storybook/pull/8621))
+- Addon-docs: Support jsdoc params to describe function signature ([#8660](https://github.com/storybookjs/storybook/pull/8660))
### Bug Fixes
-* Addon-docs: Remove min-height CSS rule from DocsPage wrapper ([#8366](https://github.com/storybookjs/storybook/pull/8366))
-* Addon-docs: Check component propTypes before unwrapping ([#8665](https://github.com/storybookjs/storybook/pull/8665))
+- Addon-docs: Remove min-height CSS rule from DocsPage wrapper ([#8366](https://github.com/storybookjs/storybook/pull/8366))
+- Addon-docs: Check component propTypes before unwrapping ([#8665](https://github.com/storybookjs/storybook/pull/8665))
## 5.3.0-alpha.35 (November 1, 2019)
### Bug Fixes
-* Core: Revert webpack rebuild changes in node_modules ([#8657](https://github.com/storybookjs/storybook/pull/8657))
-* Ondevice-knobs: Fix peer dep ([#8643](https://github.com/storybookjs/storybook/pull/8643))
+- Core: Revert webpack rebuild changes in node_modules ([#8657](https://github.com/storybookjs/storybook/pull/8657))
+- Ondevice-knobs: Fix peer dep ([#8643](https://github.com/storybookjs/storybook/pull/8643))
## 5.3.0-alpha.34 (October 30, 2019)
### Bug Fixes
-* Addon-notes: Add key to render function ([#8633](https://github.com/storybookjs/storybook/pull/8633))
-* Addon-docs: Fix story scroll-to heuristics ([#8629](https://github.com/storybookjs/storybook/pull/8629))
-* Addon-docs: Fix props table in no props case ([#8632](https://github.com/storybookjs/storybook/pull/8632))
-* Addon-docs/web-components: Add attributes to props table ([#8598](https://github.com/storybookjs/storybook/pull/8598))
-* CLI: Fix package.json update ([#8615](https://github.com/storybookjs/storybook/pull/8615))
-* React-native: Fix background style ([#8480](https://github.com/storybookjs/storybook/pull/8480))
+- Addon-notes: Add key to render function ([#8633](https://github.com/storybookjs/storybook/pull/8633))
+- Addon-docs: Fix story scroll-to heuristics ([#8629](https://github.com/storybookjs/storybook/pull/8629))
+- Addon-docs: Fix props table in no props case ([#8632](https://github.com/storybookjs/storybook/pull/8632))
+- Addon-docs/web-components: Add attributes to props table ([#8598](https://github.com/storybookjs/storybook/pull/8598))
+- CLI: Fix package.json update ([#8615](https://github.com/storybookjs/storybook/pull/8615))
+- React-native: Fix background style ([#8480](https://github.com/storybookjs/storybook/pull/8480))
### Maintenance
-* Channel: Clean up test ([#8627](https://github.com/storybookjs/storybook/pull/8627))
-* RAX: Fix example app ([#8617](https://github.com/storybookjs/storybook/pull/8617))
+- Channel: Clean up test ([#8627](https://github.com/storybookjs/storybook/pull/8627))
+- RAX: Fix example app ([#8617](https://github.com/storybookjs/storybook/pull/8617))
### Dependency Upgrades
-* Misc. dependency upgrades ([#8612](https://github.com/storybookjs/storybook/pull/8612))
+- Misc. dependency upgrades ([#8612](https://github.com/storybookjs/storybook/pull/8612))
## 5.3.0-alpha.33 (October 28, 2019)
### Maintenance
-* Web-components: Move custom-elements utils to app ([#8592](https://github.com/storybookjs/storybook/pull/8592))
+- Web-components: Move custom-elements utils to app ([#8592](https://github.com/storybookjs/storybook/pull/8592))
## 5.3.0-alpha.32 (October 28, 2019)
### Features
-* Addon-docs: Props / Description for web-components ([#8585](https://github.com/storybookjs/storybook/pull/8585))
-* Core: Global addDecorator/addParameters ([#8573](https://github.com/storybookjs/storybook/pull/8573))
-* Addon-docs: Generalize Description doc block ([#8590](https://github.com/storybookjs/storybook/pull/8590))
+- Addon-docs: Props / Description for web-components ([#8585](https://github.com/storybookjs/storybook/pull/8585))
+- Core: Global addDecorator/addParameters ([#8573](https://github.com/storybookjs/storybook/pull/8573))
+- Addon-docs: Generalize Description doc block ([#8590](https://github.com/storybookjs/storybook/pull/8590))
### Bug Fixes
-* React-native-server: Changed default port to number in CLI options ([#8584](https://github.com/storybookjs/storybook/pull/8584))
+- React-native-server: Changed default port to number in CLI options ([#8584](https://github.com/storybookjs/storybook/pull/8584))
### Maintenance
-* Typescript: Use native package types now available ([#8588](https://github.com/storybookjs/storybook/pull/8588))
-* Build: Fix now deploy maybe ([#8589](https://github.com/storybookjs/storybook/pull/8589))
+- Typescript: Use native package types now available ([#8588](https://github.com/storybookjs/storybook/pull/8588))
+- Build: Fix now deploy maybe ([#8589](https://github.com/storybookjs/storybook/pull/8589))
## 5.3.0-alpha.31 (October 27, 2019)
### Dependency Upgrades
-* Upgrade babel-plugin-react-docgen to 4.0.0-beta.1 ([#8581](https://github.com/storybookjs/storybook/pull/8581))
+- Upgrade babel-plugin-react-docgen to 4.0.0-beta.1 ([#8581](https://github.com/storybookjs/storybook/pull/8581))
## 5.3.0-alpha.30 (October 27, 2019)
### Features
-* Addon-docs: Modify Typeset doc block to accept units ([#8574](https://github.com/storybookjs/storybook/pull/8574))
+- Addon-docs: Modify Typeset doc block to accept units ([#8574](https://github.com/storybookjs/storybook/pull/8574))
### Bug Fixes
-* Web-components: Use framework id 'web-components' ([#8579](https://github.com/storybookjs/storybook/pull/8579))
+- Web-components: Use framework id 'web-components' ([#8579](https://github.com/storybookjs/storybook/pull/8579))
### Maintenance
-* WC-kitchen-sink: Add babel-loader dependency ([#8578](https://github.com/storybookjs/storybook/pull/8578))
+- WC-kitchen-sink: Add babel-loader dependency ([#8578](https://github.com/storybookjs/storybook/pull/8578))
### Dependency Upgrades
-* Upgrade babel-plugin-react-docgen to 3.2.0 ([#8580](https://github.com/storybookjs/storybook/pull/8580))
+- Upgrade babel-plugin-react-docgen to 3.2.0 ([#8580](https://github.com/storybookjs/storybook/pull/8580))
## 5.3.0-alpha.29 (October 25, 2019)
### Features
-* Addon-docs: Add props loader to vue preset ([#8567](https://github.com/storybookjs/storybook/pull/8567))
+- Addon-docs: Add props loader to vue preset ([#8567](https://github.com/storybookjs/storybook/pull/8567))
### Dependency Upgrades
-* Angular: bump zone.js version in peer dependencies ([#8558](https://github.com/storybookjs/storybook/pull/8558))
+- Angular: bump zone.js version in peer dependencies ([#8558](https://github.com/storybookjs/storybook/pull/8558))
## 5.3.0-alpha.28 (October 25, 2019)
### Features
-* Addon-docs: Publish web-components preset ([#8563](https://github.com/storybookjs/storybook/pull/8563))
-* Addon-docs: Vue slots/events props table + generalization ([#8489](https://github.com/storybookjs/storybook/pull/8489))
+- Addon-docs: Publish web-components preset ([#8563](https://github.com/storybookjs/storybook/pull/8563))
+- Addon-docs: Vue slots/events props table + generalization ([#8489](https://github.com/storybookjs/storybook/pull/8489))
## 5.3.0-alpha.27 (October 24, 2019)
### Features
-* Core: Allow linking to kind/component ID ([#7648](https://github.com/storybookjs/storybook/pull/7648))
-* Addon-docs: Jest MDX transform for storyshots ([#8189](https://github.com/storybookjs/storybook/pull/8189))
-* CLI: Add flag to disable version checks ([#8488](https://github.com/storybookjs/storybook/pull/8488))
-* Typescript: add types for react demo ([#8517](https://github.com/storybookjs/storybook/pull/8517))
+- Core: Allow linking to kind/component ID ([#7648](https://github.com/storybookjs/storybook/pull/7648))
+- Addon-docs: Jest MDX transform for storyshots ([#8189](https://github.com/storybookjs/storybook/pull/8189))
+- CLI: Add flag to disable version checks ([#8488](https://github.com/storybookjs/storybook/pull/8488))
+- Typescript: add types for react demo ([#8517](https://github.com/storybookjs/storybook/pull/8517))
### Bug Fixes
-* UI: Increase TooltipLinkList max-height to accommodate more links ([#8545](https://github.com/storybookjs/storybook/pull/8545))
-* UI: Prevent form submission as search is done while typing ([#8546](https://github.com/storybookjs/storybook/pull/8546))
+- UI: Increase TooltipLinkList max-height to accommodate more links ([#8545](https://github.com/storybookjs/storybook/pull/8545))
+- UI: Prevent form submission as search is done while typing ([#8546](https://github.com/storybookjs/storybook/pull/8546))
### Dependency Upgrades
-* Remove outdated and unused `jsx-to-string` library ([#8549](https://github.com/storybookjs/storybook/pull/8549))
+- Remove outdated and unused `jsx-to-string` library ([#8549](https://github.com/storybookjs/storybook/pull/8549))
## 5.3.0-alpha.26 (October 23, 2019)
@@ -676,150 +1974,150 @@ Fix web-components storybook dependencies
### Features
-* Web-components: New storybook app ([#8400](https://github.com/storybookjs/storybook/pull/8400))
-* Core: Allow custom postcss config ([#8498](https://github.com/storybookjs/storybook/pull/8498))
+- Web-components: New storybook app ([#8400](https://github.com/storybookjs/storybook/pull/8400))
+- Core: Allow custom postcss config ([#8498](https://github.com/storybookjs/storybook/pull/8498))
## 5.3.0-alpha.24 (October 22, 2019)
### Features
-* Docs: Highlight ts and tsx syntax ([#8493](https://github.com/storybookjs/storybook/pull/8493))
+- Docs: Highlight ts and tsx syntax ([#8493](https://github.com/storybookjs/storybook/pull/8493))
### Bug Fixes
-* React-native-server: Convert port to number in CLI options ([#8491](https://github.com/storybookjs/storybook/pull/8491))
+- React-native-server: Convert port to number in CLI options ([#8491](https://github.com/storybookjs/storybook/pull/8491))
### Maintenance
-* Automate codemod tests as jest snapshots ([#8506](https://github.com/storybookjs/storybook/pull/8506))
+- Automate codemod tests as jest snapshots ([#8506](https://github.com/storybookjs/storybook/pull/8506))
### Dependency Upgrades
-* Add "@types/react-textarea-autosize" to dependencies ([#8503](https://github.com/storybookjs/storybook/pull/8503))
+- Add "@types/react-textarea-autosize" to dependencies ([#8503](https://github.com/storybookjs/storybook/pull/8503))
## 5.2.5 (October 22, 2019)
### Bug Fixes
-* UI: Fix React15 support ([#8454](https://github.com/storybookjs/storybook/pull/8454))
-* React-native-server: Convert port to number in CLI options ([#8491](https://github.com/storybookjs/storybook/pull/8491))
-* Addon-docs: Fix React.forwardedRef/memo props ([#8445](https://github.com/storybookjs/storybook/pull/8445))
-* MDX: Handle `` name starting with number ([#8469](https://github.com/storybookjs/storybook/pull/8469))
-* React: Fix custom themes breaking the welcome demo ([#8259](https://github.com/storybookjs/storybook/pull/8259))
-* Addon-jest: Make withTests type generic ([#8410](https://github.com/storybookjs/storybook/pull/8410))
+- UI: Fix React15 support ([#8454](https://github.com/storybookjs/storybook/pull/8454))
+- React-native-server: Convert port to number in CLI options ([#8491](https://github.com/storybookjs/storybook/pull/8491))
+- Addon-docs: Fix React.forwardedRef/memo props ([#8445](https://github.com/storybookjs/storybook/pull/8445))
+- MDX: Handle `` name starting with number ([#8469](https://github.com/storybookjs/storybook/pull/8469))
+- React: Fix custom themes breaking the welcome demo ([#8259](https://github.com/storybookjs/storybook/pull/8259))
+- Addon-jest: Make withTests type generic ([#8410](https://github.com/storybookjs/storybook/pull/8410))
### Dependency Upgrades
-* [Security] Bump lodash from 4.17.11 to 4.17.15 ([#8351](https://github.com/storybookjs/storybook/pull/8351))
+- [Security] Bump lodash from 4.17.11 to 4.17.15 ([#8351](https://github.com/storybookjs/storybook/pull/8351))
### Dependency Upgrades
-* Add "@types/react-textarea-autosize" to dependencies ([#8503](https://github.com/storybookjs/storybook/pull/8503))
+- Add "@types/react-textarea-autosize" to dependencies ([#8503](https://github.com/storybookjs/storybook/pull/8503))
## 5.3.0-alpha.23 (October 19, 2019)
### Features
-* Webpack: Enabled error details ([#8391](https://github.com/storybookjs/storybook/pull/8391))
+- Webpack: Enabled error details ([#8391](https://github.com/storybookjs/storybook/pull/8391))
### Bug Fixes
-* Addon-docs: Fix React.forwardedRef/memo props ([#8445](https://github.com/storybookjs/storybook/pull/8445))
-* MDX: Handle `` name starting with number ([#8469](https://github.com/storybookjs/storybook/pull/8469))
+- Addon-docs: Fix React.forwardedRef/memo props ([#8445](https://github.com/storybookjs/storybook/pull/8445))
+- MDX: Handle `` name starting with number ([#8469](https://github.com/storybookjs/storybook/pull/8469))
### Maintenance
-* ADD a step in circleci to upload storybook for angular ([#8477](https://github.com/storybookjs/storybook/pull/8477))
-* Core: Check module type in configure ([#8412](https://github.com/storybookjs/storybook/pull/8412))
-* Angular: Convert angular-cli stories to CSF ([#7668](https://github.com/storybookjs/storybook/pull/7668))
-* Typescript: Migrate @storybook/mithril ([#8320](https://github.com/storybookjs/storybook/pull/8320))
+- ADD a step in circleci to upload storybook for angular ([#8477](https://github.com/storybookjs/storybook/pull/8477))
+- Core: Check module type in configure ([#8412](https://github.com/storybookjs/storybook/pull/8412))
+- Angular: Convert angular-cli stories to CSF ([#7668](https://github.com/storybookjs/storybook/pull/7668))
+- Typescript: Migrate @storybook/mithril ([#8320](https://github.com/storybookjs/storybook/pull/8320))
## 5.3.0-alpha.22 (October 18, 2019)
### Features
-* CLI: Add component meta to framework templates ([#8462](https://github.com/storybookjs/storybook/pull/8462))
+- CLI: Add component meta to framework templates ([#8462](https://github.com/storybookjs/storybook/pull/8462))
### Maintenance
-* Build: Add cypress to Storybook CI ([#8397](https://github.com/storybookjs/storybook/pull/8397))
-* Incorrect minimal required node version ([#8427](https://github.com/storybookjs/storybook/pull/8427))
+- Build: Add cypress to Storybook CI ([#8397](https://github.com/storybookjs/storybook/pull/8397))
+- Incorrect minimal required node version ([#8427](https://github.com/storybookjs/storybook/pull/8427))
## 5.3.0-alpha.21 (October 17, 2019)
### Features
-* CLI: React-scripts TS template & test ([#8451](https://github.com/storybookjs/storybook/pull/8451))
-* Addon-storysource: Add preset ([#8437](https://github.com/storybookjs/storybook/pull/8437))
+- CLI: React-scripts TS template & test ([#8451](https://github.com/storybookjs/storybook/pull/8451))
+- Addon-storysource: Add preset ([#8437](https://github.com/storybookjs/storybook/pull/8437))
### Bug Fixes
-* UI: Fix React15 support ([#8454](https://github.com/storybookjs/storybook/pull/8454))
-* Addon-centered: Fix zoom issues for non-Firefox browsers ([#8442](https://github.com/storybookjs/storybook/pull/8442))
-* CLI: Add CRA preset to MDX template ([#8452](https://github.com/storybookjs/storybook/pull/8452))
-* CLI: Add preset-create-react-app to CRA presets template ([#8449](https://github.com/storybookjs/storybook/pull/8449))
-* CLI: Fix CRA-ts fixture package name ([#8457](https://github.com/storybookjs/storybook/pull/8457))
+- UI: Fix React15 support ([#8454](https://github.com/storybookjs/storybook/pull/8454))
+- Addon-centered: Fix zoom issues for non-Firefox browsers ([#8442](https://github.com/storybookjs/storybook/pull/8442))
+- CLI: Add CRA preset to MDX template ([#8452](https://github.com/storybookjs/storybook/pull/8452))
+- CLI: Add preset-create-react-app to CRA presets template ([#8449](https://github.com/storybookjs/storybook/pull/8449))
+- CLI: Fix CRA-ts fixture package name ([#8457](https://github.com/storybookjs/storybook/pull/8457))
## 5.3.0-alpha.20 (October 15, 2019)
### Features
-* Addon-docs: Support MDX source in Preview w/ no Story blocks ([#7966](https://github.com/storybookjs/storybook/pull/7966))
+- Addon-docs: Support MDX source in Preview w/ no Story blocks ([#7966](https://github.com/storybookjs/storybook/pull/7966))
### Bug Fixes
-* Addon-docs: Fix react inline stories ([#8419](https://github.com/storybookjs/storybook/pull/8419))
-* React: Fix custom themes breaking welcome demo ([#8259](https://github.com/storybookjs/storybook/pull/8259))
+- Addon-docs: Fix react inline stories ([#8419](https://github.com/storybookjs/storybook/pull/8419))
+- React: Fix custom themes breaking welcome demo ([#8259](https://github.com/storybookjs/storybook/pull/8259))
## 5.3.0-alpha.19 (October 15, 2019)
### Features
-* React: Move Create React App support to external preset ([#8416](https://github.com/storybookjs/storybook/pull/8416))
-* CLI: MDX template support ([#8396](https://github.com/storybookjs/storybook/pull/8396))
+- React: Move Create React App support to external preset ([#8416](https://github.com/storybookjs/storybook/pull/8416))
+- CLI: MDX template support ([#8396](https://github.com/storybookjs/storybook/pull/8396))
### Bug Fixes
-* Addon-jest: Make withTests type generic ([#8410](https://github.com/storybookjs/storybook/pull/8410))
-* Addon-docs: Don't error in React when there's no `prepareForInline` ([#8415](https://github.com/storybookjs/storybook/pull/8415))
+- Addon-jest: Make withTests type generic ([#8410](https://github.com/storybookjs/storybook/pull/8410))
+- Addon-docs: Don't error in React when there's no `prepareForInline` ([#8415](https://github.com/storybookjs/storybook/pull/8415))
### Dependency Upgrades
-* [Security] Bump lodash from 4.17.11 to 4.17.15 ([#8351](https://github.com/storybookjs/storybook/pull/8351))
+- [Security] Bump lodash from 4.17.11 to 4.17.15 ([#8351](https://github.com/storybookjs/storybook/pull/8351))
## 5.3.0-alpha.18 (October 14, 2019)
### Bug Fixes
-* CSF: Warn when CSF and `storiesOf` mixed in one file ([#8411](https://github.com/storybookjs/storybook/pull/8411))
-* Addon API: Clean preview hooks when removing a story ([#8408](https://github.com/storybookjs/storybook/pull/8408))
-* Addon-docs: Fix typo in default config ([#8403](https://github.com/storybookjs/storybook/pull/8403))
-* Angular: Fix angular2-template-loader / raw-loader version conflicts ([#8269](https://github.com/storybookjs/storybook/pull/8269))
-* CLI: Update button.svelte template ([#8369](https://github.com/storybookjs/storybook/pull/8369))
+- CSF: Warn when CSF and `storiesOf` mixed in one file ([#8411](https://github.com/storybookjs/storybook/pull/8411))
+- Addon API: Clean preview hooks when removing a story ([#8408](https://github.com/storybookjs/storybook/pull/8408))
+- Addon-docs: Fix typo in default config ([#8403](https://github.com/storybookjs/storybook/pull/8403))
+- Angular: Fix angular2-template-loader / raw-loader version conflicts ([#8269](https://github.com/storybookjs/storybook/pull/8269))
+- CLI: Update button.svelte template ([#8369](https://github.com/storybookjs/storybook/pull/8369))
### Maintenance
-* Official-storybook: Add a story with duplicate decorators ([#8407](https://github.com/storybookjs/storybook/pull/8407))
+- Official-storybook: Add a story with duplicate decorators ([#8407](https://github.com/storybookjs/storybook/pull/8407))
## 5.2.4 (October 14, 2019)
### Bug Fixes
-* Angular: Fix angular2-template-loader / raw-loader version conflicts ([#8269](https://github.com/storybookjs/storybook/pull/8269))
-* CSF: Warn when CSF and `storiesOf` mixed in one file ([#8411](https://github.com/storybookjs/storybook/pull/8411))
-* Addon API: Clean preview hooks when removing a story ([#8408](https://github.com/storybookjs/storybook/pull/8408))
-* Update button.svelte ([#8369](https://github.com/storybookjs/storybook/pull/8369))
-* CSF: Ignore __esModule export ([#8317](https://github.com/storybookjs/storybook/pull/8317))
+- Angular: Fix angular2-template-loader / raw-loader version conflicts ([#8269](https://github.com/storybookjs/storybook/pull/8269))
+- CSF: Warn when CSF and `storiesOf` mixed in one file ([#8411](https://github.com/storybookjs/storybook/pull/8411))
+- Addon API: Clean preview hooks when removing a story ([#8408](https://github.com/storybookjs/storybook/pull/8408))
+- Update button.svelte ([#8369](https://github.com/storybookjs/storybook/pull/8369))
+- CSF: Ignore \_\_esModule export ([#8317](https://github.com/storybookjs/storybook/pull/8317))
### Maintenance
-* Publish top-level .js and .d.ts files ([#8354](https://github.com/storybookjs/storybook/pull/8354))
+- Publish top-level .js and .d.ts files ([#8354](https://github.com/storybookjs/storybook/pull/8354))
## 5.3.0-alpha.17 (October 10, 2019)
### Maintenance
-* Publish top-level .js and .d.ts files ([#8354](https://github.com/storybookjs/storybook/pull/8354))
+- Publish top-level .js and .d.ts files ([#8354](https://github.com/storybookjs/storybook/pull/8354))
## 5.3.0-alpha.16 (October 10, 2019)
@@ -829,11 +2127,11 @@ Publish failed
### Features
-* Addon-docs: support vue inline rendering ([#7929](https://github.com/storybookjs/storybook/pull/7929))
+- Addon-docs: support vue inline rendering ([#7929](https://github.com/storybookjs/storybook/pull/7929))
### Maintenance
-* Typescript: Migrate addon-storyshots ([#7674](https://github.com/storybookjs/storybook/pull/7674))
+- Typescript: Migrate addon-storyshots ([#7674](https://github.com/storybookjs/storybook/pull/7674))
## 5.3.0-alpha.14 (October 8, 2019)
@@ -843,92 +2141,92 @@ NPM publish failed
### Features
-* MDX: Better ergonomics for documenting CSF ([#8312](https://github.com/storybookjs/storybook/pull/8312))
-* Addon-docs: Story parameter for disabling docs ([#8313](https://github.com/storybookjs/storybook/pull/8313))
+- MDX: Better ergonomics for documenting CSF ([#8312](https://github.com/storybookjs/storybook/pull/8312))
+- Addon-docs: Story parameter for disabling docs ([#8313](https://github.com/storybookjs/storybook/pull/8313))
### Dependency Upgrades
-* Remove redundant dependency on hoist-non-react-statics (#6349) ([#8310](https://github.com/storybookjs/storybook/pull/8310))
+- Remove redundant dependency on hoist-non-react-statics (#6349) ([#8310](https://github.com/storybookjs/storybook/pull/8310))
## 5.3.0-alpha.12 (October 7, 2019)
### Features
-* CSF: Allow multiple CSF with same title ([#8133](https://github.com/storybookjs/storybook/pull/8133))
+- CSF: Allow multiple CSF with same title ([#8133](https://github.com/storybookjs/storybook/pull/8133))
### Bug Fixes
-* CSF: Ignore __esModule export ([#8317](https://github.com/storybookjs/storybook/pull/8317))
-* React: Improve type of storyFn ([#8197](https://github.com/storybookjs/storybook/pull/8197))
+- CSF: Ignore \_\_esModule export ([#8317](https://github.com/storybookjs/storybook/pull/8317))
+- React: Improve type of storyFn ([#8197](https://github.com/storybookjs/storybook/pull/8197))
## 5.2.3 (October 7, 2019)
### Bug Fixes
-* Core: Fix lib/core whitelist ([#8182](https://github.com/storybookjs/storybook/pull/8182))
+- Core: Fix lib/core whitelist ([#8182](https://github.com/storybookjs/storybook/pull/8182))
## 5.2.2 (October 7, 2019)
### Bug Fixes
-* Storyshots: First-class CSF support ([#8000](https://github.com/storybookjs/storybook/pull/8000))
-* UI: Move addon dependencies to devDependencies ([#8206](https://github.com/storybookjs/storybook/pull/8206))
-* Addon-docs: CSS classes for escape-hatch theming wrapper/content ([#8061](https://github.com/storybookjs/storybook/pull/8061))
-* CLI: Fix variable collisions in storiesof-to-csf ([#8106](https://github.com/storybookjs/storybook/pull/8106))
-* Addon-knobs: Add missing type def #8105 ([#8118](https://github.com/storybookjs/storybook/pull/8118))
-* Dependencies: add @types/webpack-env to apps that depend on it ([#8119](https://github.com/storybookjs/storybook/pull/8119))
-* Core: Show exception rather than error on react error boundary ([#8100](https://github.com/storybookjs/storybook/pull/8100))
-* UI: Fix inline code styling for dark theme ([#8260](https://github.com/storybookjs/storybook/pull/8260))
-* Addon-ondevice-notes: Validate the state content ([#8261](https://github.com/storybookjs/storybook/pull/8261))
-* Telejson: New version with typings and bugfixes ([#8228](https://github.com/storybookjs/storybook/pull/8228))
-* React: Add DecoratorFn type to exports ([#8121](https://github.com/storybookjs/storybook/pull/8121))
-* Addon-knobs: Handle undefined array value ([#8006](https://github.com/storybookjs/storybook/pull/8006))
-* Preact: Allow JSX.Element story ([#8159](https://github.com/storybookjs/storybook/pull/8159))
-* Storyshots: Fix STORYBOOK_HOOKS_CONTEXT error ([#8163](https://github.com/storybookjs/storybook/pull/8163))
-* Update react-draggable to 4.0.3 ([#8145](https://github.com/storybookjs/storybook/pull/8145))
+- Storyshots: First-class CSF support ([#8000](https://github.com/storybookjs/storybook/pull/8000))
+- UI: Move addon dependencies to devDependencies ([#8206](https://github.com/storybookjs/storybook/pull/8206))
+- Addon-docs: CSS classes for escape-hatch theming wrapper/content ([#8061](https://github.com/storybookjs/storybook/pull/8061))
+- CLI: Fix variable collisions in storiesof-to-csf ([#8106](https://github.com/storybookjs/storybook/pull/8106))
+- Addon-knobs: Add missing type def #8105 ([#8118](https://github.com/storybookjs/storybook/pull/8118))
+- Dependencies: add @types/webpack-env to apps that depend on it ([#8119](https://github.com/storybookjs/storybook/pull/8119))
+- Core: Show exception rather than error on react error boundary ([#8100](https://github.com/storybookjs/storybook/pull/8100))
+- UI: Fix inline code styling for dark theme ([#8260](https://github.com/storybookjs/storybook/pull/8260))
+- Addon-ondevice-notes: Validate the state content ([#8261](https://github.com/storybookjs/storybook/pull/8261))
+- Telejson: New version with typings and bugfixes ([#8228](https://github.com/storybookjs/storybook/pull/8228))
+- React: Add DecoratorFn type to exports ([#8121](https://github.com/storybookjs/storybook/pull/8121))
+- Addon-knobs: Handle undefined array value ([#8006](https://github.com/storybookjs/storybook/pull/8006))
+- Preact: Allow JSX.Element story ([#8159](https://github.com/storybookjs/storybook/pull/8159))
+- Storyshots: Fix STORYBOOK_HOOKS_CONTEXT error ([#8163](https://github.com/storybookjs/storybook/pull/8163))
+- Update react-draggable to 4.0.3 ([#8145](https://github.com/storybookjs/storybook/pull/8145))
## 5.3.0-alpha.11 (October 6, 2019)
### Bug Fixes
-* Storyshots: Update `read-pkg-up` usage to work with version `7` ([#8299](https://github.com/storybookjs/storybook/pull/8299))
+- Storyshots: Update `read-pkg-up` usage to work with version `7` ([#8299](https://github.com/storybookjs/storybook/pull/8299))
### Maintenance
-* Remove `weak` dependency Node 12 ([#8300](https://github.com/storybookjs/storybook/pull/8300))
+- Remove `weak` dependency Node 12 ([#8300](https://github.com/storybookjs/storybook/pull/8300))
## 5.3.0-alpha.10 (October 5, 2019)
### Bug Fixes
-* Storyshots: First-class CSF support ([#8000](https://github.com/storybookjs/storybook/pull/8000))
+- Storyshots: First-class CSF support ([#8000](https://github.com/storybookjs/storybook/pull/8000))
### Maintenance
-* Build: Add CLI test in github actions ([#8064](https://github.com/storybookjs/storybook/pull/8064))
+- Build: Add CLI test in github actions ([#8064](https://github.com/storybookjs/storybook/pull/8064))
## 5.3.0-alpha.9 (October 4, 2019)
### Features
-* API: Add method to set manager config ([#8232](https://github.com/storybookjs/storybook/pull/8232))
+- API: Add method to set manager config ([#8232](https://github.com/storybookjs/storybook/pull/8232))
### Bug Fixes
-* Core: Show exception rather than error on react error boundary ([#8100](https://github.com/storybookjs/storybook/pull/8100))
-* Addon-knobs: Fix issues caused by rerenders ([#8287](https://github.com/storybookjs/storybook/pull/8287))
+- Core: Show exception rather than error on react error boundary ([#8100](https://github.com/storybookjs/storybook/pull/8100))
+- Addon-knobs: Fix issues caused by rerenders ([#8287](https://github.com/storybookjs/storybook/pull/8287))
### Maintenance
-* Fix local `yarn lint` ([#8289](https://github.com/storybookjs/storybook/pull/8289))
-* Fix button knob story ([#8282](https://github.com/storybookjs/storybook/pull/8282))
-* Official examples: apply babel-preset-minify only in production mode ([#8283](https://github.com/storybookjs/storybook/pull/8283))
-* Build: Upgrade chromatic to test ([#8246](https://github.com/storybookjs/storybook/pull/8246))
+- Fix local `yarn lint` ([#8289](https://github.com/storybookjs/storybook/pull/8289))
+- Fix button knob story ([#8282](https://github.com/storybookjs/storybook/pull/8282))
+- Official examples: apply babel-preset-minify only in production mode ([#8283](https://github.com/storybookjs/storybook/pull/8283))
+- Build: Upgrade chromatic to test ([#8246](https://github.com/storybookjs/storybook/pull/8246))
### Dependency Upgrades
-* Upgrade regenerator-runtime to 0.13 in all packages ([#8258](https://github.com/storybookjs/storybook/pull/8258))
-* Misc upgrades ([#8280](https://github.com/storybookjs/storybook/pull/8280))
+- Upgrade regenerator-runtime to 0.13 in all packages ([#8258](https://github.com/storybookjs/storybook/pull/8258))
+- Misc upgrades ([#8280](https://github.com/storybookjs/storybook/pull/8280))
## 5.3.0-alpha.9 (October 4, 2019)
@@ -938,103 +2236,103 @@ NPM publish failed
### Features
-* UI: Preferred color scheme awareness ([#8271](https://github.com/storybookjs/storybook/pull/8271))
+- UI: Preferred color scheme awareness ([#8271](https://github.com/storybookjs/storybook/pull/8271))
### Bug Fixes
-* UI: Fix inline code styling for dark theme ([#8260](https://github.com/storybookjs/storybook/pull/8260))
+- UI: Fix inline code styling for dark theme ([#8260](https://github.com/storybookjs/storybook/pull/8260))
### Maintenance
-* Regenerate lockfile ([#8263](https://github.com/storybookjs/storybook/pull/8263))
+- Regenerate lockfile ([#8263](https://github.com/storybookjs/storybook/pull/8263))
## 5.3.0-alpha.6 (October 1, 2019)
### Bug Fixes
-* Addon-ondevice-notes: Validate the state content ([#8261](https://github.com/storybookjs/storybook/pull/8261))
-* API: Fix require cycles in addons hooks ([#8236](https://github.com/storybookjs/storybook/pull/8236))
-* API: Fix missing `channel.off` ([#8234](https://github.com/storybookjs/storybook/pull/8234))
-* Telejson: New version with typings and bugfixes ([#8228](https://github.com/storybookjs/storybook/pull/8228))
-* Addon-links: Update linkTo type to accept function ([#8117](https://github.com/storybookjs/storybook/pull/8117))
-* React: Add DecoratorFn type to exports ([#8121](https://github.com/storybookjs/storybook/pull/8121))
+- Addon-ondevice-notes: Validate the state content ([#8261](https://github.com/storybookjs/storybook/pull/8261))
+- API: Fix require cycles in addons hooks ([#8236](https://github.com/storybookjs/storybook/pull/8236))
+- API: Fix missing `channel.off` ([#8234](https://github.com/storybookjs/storybook/pull/8234))
+- Telejson: New version with typings and bugfixes ([#8228](https://github.com/storybookjs/storybook/pull/8228))
+- Addon-links: Update linkTo type to accept function ([#8117](https://github.com/storybookjs/storybook/pull/8117))
+- React: Add DecoratorFn type to exports ([#8121](https://github.com/storybookjs/storybook/pull/8121))
### Maintenance
-* Update angular example to v8 ([#7747](https://github.com/storybookjs/storybook/pull/7747))
-* Hitting some flakiness in now deploys, this might help ([#8200](https://github.com/storybookjs/storybook/pull/8200))
-* Remov hooks from extracted StoryItem ([#8256](https://github.com/storybookjs/storybook/pull/8256))
+- Update angular example to v8 ([#7747](https://github.com/storybookjs/storybook/pull/7747))
+- Hitting some flakiness in now deploys, this might help ([#8200](https://github.com/storybookjs/storybook/pull/8200))
+- Remov hooks from extracted StoryItem ([#8256](https://github.com/storybookjs/storybook/pull/8256))
### Dependency Upgrades
-* Bump react-native-swipe-gestures to 1.0.4 ([#8235](https://github.com/storybookjs/storybook/pull/8235))
+- Bump react-native-swipe-gestures to 1.0.4 ([#8235](https://github.com/storybookjs/storybook/pull/8235))
## 5.3.0-alpha.5 (September 27, 2019)
### Maintenance
-* UI: Improve code indentation ([#8218](https://github.com/storybookjs/storybook/pull/8218))
-* Use the extracted linting configs ([#8213](https://github.com/storybookjs/storybook/pull/8213))
+- UI: Improve code indentation ([#8218](https://github.com/storybookjs/storybook/pull/8218))
+- Use the extracted linting configs ([#8213](https://github.com/storybookjs/storybook/pull/8213))
## 5.3.0-alpha.4 (September 26, 2019)
### Bug Fixes
-* UI: Move addon dependencies to devDependencies ([#8206](https://github.com/storybookjs/storybook/pull/8206))
-* Addon-knobs: Handle undefined array value ([#8006](https://github.com/storybookjs/storybook/pull/8006))
+- UI: Move addon dependencies to devDependencies ([#8206](https://github.com/storybookjs/storybook/pull/8206))
+- Addon-knobs: Handle undefined array value ([#8006](https://github.com/storybookjs/storybook/pull/8006))
### Maintenance
-* Build: Upgrade from node8 to node10 ([#8207](https://github.com/storybookjs/storybook/pull/8207))
+- Build: Upgrade from node8 to node10 ([#8207](https://github.com/storybookjs/storybook/pull/8207))
## 5.3.0-alpha.3 (September 25, 2019)
### Bug Fixes
-* Dependencies: add @types/webpack-env to apps that depend on it ([#8119](https://github.com/storybookjs/storybook/pull/8119))
-* UI: Removes default CSS margins on viewport ([#7742](https://github.com/storybookjs/storybook/pull/7742))
+- Dependencies: add @types/webpack-env to apps that depend on it ([#8119](https://github.com/storybookjs/storybook/pull/8119))
+- UI: Removes default CSS margins on viewport ([#7742](https://github.com/storybookjs/storybook/pull/7742))
## 5.3.0-alpha.2 (September 24, 2019)
### Bug Fixes
-* Core: Fix lib/core files ([#8182](https://github.com/storybookjs/storybook/pull/8182))
+- Core: Fix lib/core files ([#8182](https://github.com/storybookjs/storybook/pull/8182))
## 5.3.0-alpha.1 (September 23, 2019)
### Bug Fixes
-* Preact: Allow JSX.Element story ([#8159](https://github.com/storybookjs/storybook/pull/8159))
-* Addon-docs: CSS classes for escape-hatch theming wrapper/content ([#8061](https://github.com/storybookjs/storybook/pull/8061))
-* CLI: Fix variable collisions in storiesof-to-csf ([#8106](https://github.com/storybookjs/storybook/pull/8106))
-* Storyshots: Fix STORYBOOK_HOOKS_CONTEXT error ([#8163](https://github.com/storybookjs/storybook/pull/8163))
-* Addon-contexts: Remove peer dependencies ([#7675](https://github.com/storybookjs/storybook/pull/7675))
-* Addon-knobs: Add missing type def ([#8118](https://github.com/storybookjs/storybook/pull/8118))
+- Preact: Allow JSX.Element story ([#8159](https://github.com/storybookjs/storybook/pull/8159))
+- Addon-docs: CSS classes for escape-hatch theming wrapper/content ([#8061](https://github.com/storybookjs/storybook/pull/8061))
+- CLI: Fix variable collisions in storiesof-to-csf ([#8106](https://github.com/storybookjs/storybook/pull/8106))
+- Storyshots: Fix STORYBOOK_HOOKS_CONTEXT error ([#8163](https://github.com/storybookjs/storybook/pull/8163))
+- Addon-contexts: Remove peer dependencies ([#7675](https://github.com/storybookjs/storybook/pull/7675))
+- Addon-knobs: Add missing type def ([#8118](https://github.com/storybookjs/storybook/pull/8118))
### Dependency Upgrades
-* Update react-draggable to 4.0.3 ([#8145](https://github.com/storybookjs/storybook/pull/8145))
+- Update react-draggable to 4.0.3 ([#8145](https://github.com/storybookjs/storybook/pull/8145))
## 5.2.1 (September 17, 2019)
### Bug Fixes
-* Core: Fix error handling ([#8097](https://github.com/storybookjs/storybook/pull/8097))
+- Core: Fix error handling ([#8097](https://github.com/storybookjs/storybook/pull/8097))
## 5.3.0-alpha.0 (September 16, 2019)
### Features
-* UI: Debounce sidebar search filter ([#8032](https://github.com/storybookjs/storybook/pull/8032))
+- UI: Debounce sidebar search filter ([#8032](https://github.com/storybookjs/storybook/pull/8032))
### Bug Fixes
-* Core: Fix error handling ([#8097](https://github.com/storybookjs/storybook/pull/8097))
+- Core: Fix error handling ([#8097](https://github.com/storybookjs/storybook/pull/8097))
### Maintenance
-* CLI: Add wrapper packages: sb & storybook ([#8034](https://github.com/storybookjs/storybook/pull/8034))
-* Build: Update now config ([#8049](https://github.com/storybookjs/storybook/pull/8049))
+- CLI: Add wrapper packages: sb & storybook ([#8034](https://github.com/storybookjs/storybook/pull/8034))
+- Build: Update now config ([#8049](https://github.com/storybookjs/storybook/pull/8049))
## 5.2.0 (September 13, 2019)
@@ -1045,40 +2343,40 @@ Storybook 5.2 is here!
- 🖼 Design System: Best practice component development
- 🧩 Addon API: Simplified w/ hooks
-5.2 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.2.0-alpha.*`, `5.2.0-beta.*`, and `5.2.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to upgrade from `5.0` or earlier.
+ 5.2 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.2.0-alpha.*`, `5.2.0-beta.*`, and `5.2.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to upgrade from `5.0` or earlier.
## 5.2.0-rc.11 (September 10, 2019)
### Features
-* DocsPage: show docs.storyDescription above story ([#8037](https://github.com/storybookjs/storybook/pull/8037))
+- DocsPage: show docs.storyDescription above story ([#8037](https://github.com/storybookjs/storybook/pull/8037))
### Maintenance
-* Migrate to new github actions ([#8045](https://github.com/storybookjs/storybook/pull/8045))
+- Migrate to new github actions ([#8045](https://github.com/storybookjs/storybook/pull/8045))
## 5.2.0-rc.10 (September 9, 2019)
### Bug Fixes
-* Angular: remove webpack-env from tsconfig types ([#8036](https://github.com/storybookjs/storybook/pull/8036))
+- Angular: remove webpack-env from tsconfig types ([#8036](https://github.com/storybookjs/storybook/pull/8036))
### Documentation
-* Guides: Update all guides to CSF ([#8030](https://github.com/storybookjs/storybook/pull/8030))
+- Guides: Update all guides to CSF ([#8030](https://github.com/storybookjs/storybook/pull/8030))
## 5.2.0-rc.9 (September 7, 2019)
### Bug Fixes
-* Addon-knobs: allow array values in select and options knobs ([#8027](https://github.com/storybookjs/storybook/pull/8027))
+- Addon-knobs: allow array values in select and options knobs ([#8027](https://github.com/storybookjs/storybook/pull/8027))
## 5.2.0-rc.8 (September 6, 2019)
### Bug Fixes
-* Addon-docs: Scroll story into view ([#7994](https://github.com/storybookjs/storybook/pull/7994))
-* Addon-docs: Fix LI styling for dark color theme ([#8015](https://github.com/storybookjs/storybook/pull/8015))
+- Addon-docs: Scroll story into view ([#7994](https://github.com/storybookjs/storybook/pull/7994))
+- Addon-docs: Fix LI styling for dark color theme ([#8015](https://github.com/storybookjs/storybook/pull/8015))
## 5.2.0-rc.7 (September 6, 2019)
@@ -1088,22 +2386,22 @@ Publish failed
### Bug Fixes
-* Addon-docs: Doc blocks fixes for dark theme ([#7991](https://github.com/storybookjs/storybook/pull/7991))
-* API: Fix useEfect in inline Docs ([#7992](https://github.com/storybookjs/storybook/pull/7992))
-* UI: Fix enableShortcuts option ([#7990](https://github.com/storybookjs/storybook/pull/7990))
-* Addon-docs: Error handling for invalid Story id ([#7965](https://github.com/storybookjs/storybook/pull/7965))
+- Addon-docs: Doc blocks fixes for dark theme ([#7991](https://github.com/storybookjs/storybook/pull/7991))
+- API: Fix useEfect in inline Docs ([#7992](https://github.com/storybookjs/storybook/pull/7992))
+- UI: Fix enableShortcuts option ([#7990](https://github.com/storybookjs/storybook/pull/7990))
+- Addon-docs: Error handling for invalid Story id ([#7965](https://github.com/storybookjs/storybook/pull/7965))
## 5.2.0-rc.5 (September 4, 2019)
### Bug Fixes
-* CLI: Force welcome stories to show up first in load order ([#7979](https://github.com/storybookjs/storybook/pull/7979))
+- CLI: Force welcome stories to show up first in load order ([#7979](https://github.com/storybookjs/storybook/pull/7979))
## 5.2.0-rc.4 (September 3, 2019)
### Bug Fixes
-* Addon-docs: Fix MDX theme bleed with reset context ([#7974](https://github.com/storybookjs/storybook/pull/7974))
+- Addon-docs: Fix MDX theme bleed with reset context ([#7974](https://github.com/storybookjs/storybook/pull/7974))
## 5.2.0-rc.3 (September 3, 2019)
@@ -1113,20 +2411,20 @@ Failed publish
### Bug Fixes
-* Addon-docs: Fix inline stories using react hooks ([#7946](https://github.com/storybookjs/storybook/pull/7946))
+- Addon-docs: Fix inline stories using react hooks ([#7946](https://github.com/storybookjs/storybook/pull/7946))
## 5.2.0-rc.1 (August 31, 2019)
### Features
-* Core: Add html lang attribute to iframe ([#7892](https://github.com/storybookjs/storybook/pull/7892))
+- Core: Add html lang attribute to iframe ([#7892](https://github.com/storybookjs/storybook/pull/7892))
### Bug Fixes
-* Source-loader: Fix CSF display name handling ([#7940](https://github.com/storybookjs/storybook/pull/7940))
-* React-native: Resolve deprecated methods ([#7908](https://github.com/storybookjs/storybook/pull/7908))
-* Addon-viewport: keep styles on rotation-change ([#7683](https://github.com/storybookjs/storybook/pull/7683))
-* Addon-viewport: Fix defaultViewport ([#7934](https://github.com/storybookjs/storybook/pull/7934))
+- Source-loader: Fix CSF display name handling ([#7940](https://github.com/storybookjs/storybook/pull/7940))
+- React-native: Resolve deprecated methods ([#7908](https://github.com/storybookjs/storybook/pull/7908))
+- Addon-viewport: keep styles on rotation-change ([#7683](https://github.com/storybookjs/storybook/pull/7683))
+- Addon-viewport: Fix defaultViewport ([#7934](https://github.com/storybookjs/storybook/pull/7934))
## 5.2.0-rc.0 (August 30, 2019)
@@ -1142,22 +2440,22 @@ Track progress on the [5.2 release issue](https://github.com/storybookjs/storybo
### Bug Fixes
-* Addon-docs: Fix docs-only story ID suffix ([#7921](https://github.com/storybookjs/storybook/pull/7921))
+- Addon-docs: Fix docs-only story ID suffix ([#7921](https://github.com/storybookjs/storybook/pull/7921))
### Maintenance
-* Replace favicon with new Storybook icon. ([#7922](https://github.com/storybookjs/storybook/pull/7922))
+- Replace favicon with new Storybook icon. ([#7922](https://github.com/storybookjs/storybook/pull/7922))
### Dependency Upgrades
-* Bump react-draggable from 3.1.1 to 3.3.2 ([#7912](https://github.com/storybookjs/storybook/pull/7912))
+- Bump react-draggable from 3.1.1 to 3.3.2 ([#7912](https://github.com/storybookjs/storybook/pull/7912))
## 5.2.0-beta.47 (August 30, 2019)
### Bug Fixes
-* UI: Optimize treeview render/filter performance ([#7910](https://github.com/storybookjs/storybook/pull/7910))
-* Addon-docs: Fix DocsPage to respect displayName ([#7915](https://github.com/storybookjs/storybook/pull/7915))
+- UI: Optimize treeview render/filter performance ([#7910](https://github.com/storybookjs/storybook/pull/7910))
+- Addon-docs: Fix DocsPage to respect displayName ([#7915](https://github.com/storybookjs/storybook/pull/7915))
## 5.2.0-beta.46 (August 29, 2019)
@@ -1165,18 +2463,18 @@ CSF users: this reverts the `makeDisplayName` change introduced in `5.2.0-beta.4
### Bug Fixes
-* React: Fix missing props in the Welcome.tsx demo ([#7774](https://github.com/storybookjs/storybook/pull/7774))
+- React: Fix missing props in the Welcome.tsx demo ([#7774](https://github.com/storybookjs/storybook/pull/7774))
### Maintenance
-* CSF: Revert `makeDisplayName` & add stable `storyNameFromExport` ([#7901](https://github.com/storybookjs/storybook/pull/7901))
-* Addon-a11y: Upgrade axe to 3.3.2 which adds/mods rules ([#7888](https://github.com/storybookjs/storybook/pull/7888))
+- CSF: Revert `makeDisplayName` & add stable `storyNameFromExport` ([#7901](https://github.com/storybookjs/storybook/pull/7901))
+- Addon-a11y: Upgrade axe to 3.3.2 which adds/mods rules ([#7888](https://github.com/storybookjs/storybook/pull/7888))
## 5.2.0-beta.45 (August 28, 2019)
### Bug Fixes
-* Addon-docs: Fix MDX Story ID to match new CSF ([#7894](https://github.com/storybookjs/storybook/pull/7894))
+- Addon-docs: Fix MDX Story ID to match new CSF ([#7894](https://github.com/storybookjs/storybook/pull/7894))
## 5.2.0-beta.44 (August 28, 2019)
@@ -1187,12 +2485,12 @@ Publish failed
CSF users: This is potentially a breaking change. If you want to opt-out of the new default display name calculation (`lodash.startCase`) you can add the following to your SB config:
```js
-addParameters({ options: { makeDisplayName: key => key }});
+addParameters({ options: { makeDisplayName: (key) => key } });
```
### Features
-* CSF: Transform CSF named exports w/ `makeDisplayName` ([#7878](https://github.com/storybookjs/storybook/pull/7878))
+- CSF: Transform CSF named exports w/ `makeDisplayName` ([#7878](https://github.com/storybookjs/storybook/pull/7878))
## 5.2.0-beta.42 (August 28, 2019)
@@ -1200,69 +2498,69 @@ Addon-docs users: This is a breaking change if you have been hacking the `docs`
### Maintenance
-* Addon-docs: Make config API consistent with other addons ([#7874](https://github.com/storybookjs/storybook/pull/7874))
+- Addon-docs: Make config API consistent with other addons ([#7874](https://github.com/storybookjs/storybook/pull/7874))
## 5.2.0-beta.41 (August 27, 2019)
### Features
-* Addon-info: Add configurable component comparator ([#7409](https://github.com/storybookjs/storybook/pull/7409))
+- Addon-info: Add configurable component comparator ([#7409](https://github.com/storybookjs/storybook/pull/7409))
### Bug Fixes
-* Addon-viewports: Add back default viewports ([#7448](https://github.com/storybookjs/storybook/pull/7448))
-* Core: Pass a separate hooks context per story ([#7860](https://github.com/storybookjs/storybook/pull/7860))
-* UI: Fix TooltipLinkList not scrollable ([#7865](https://github.com/storybookjs/storybook/pull/7865))
+- Addon-viewports: Add back default viewports ([#7448](https://github.com/storybookjs/storybook/pull/7448))
+- Core: Pass a separate hooks context per story ([#7860](https://github.com/storybookjs/storybook/pull/7860))
+- UI: Fix TooltipLinkList not scrollable ([#7865](https://github.com/storybookjs/storybook/pull/7865))
### Maintenance
-* UI: Add ignore `first-child` selector warning flag ([#7861](https://github.com/storybookjs/storybook/pull/7861))
+- UI: Add ignore `first-child` selector warning flag ([#7861](https://github.com/storybookjs/storybook/pull/7861))
## 5.2.0-beta.40 (August 23, 2019)
### Bug Fixes
-* Addon-docs: Fix DocsPage primary story switching ([#7849](https://github.com/storybookjs/storybook/pull/7849))
-* Source-loader: Selectively ignore typescript errors in generated code ([#7845](https://github.com/storybookjs/storybook/pull/7845))
-* Addon-docs: Force hidden attribute on #root element ([#7841](https://github.com/storybookjs/storybook/pull/7841))
+- Addon-docs: Fix DocsPage primary story switching ([#7849](https://github.com/storybookjs/storybook/pull/7849))
+- Source-loader: Selectively ignore typescript errors in generated code ([#7845](https://github.com/storybookjs/storybook/pull/7845))
+- Addon-docs: Force hidden attribute on #root element ([#7841](https://github.com/storybookjs/storybook/pull/7841))
### Maintenance
-* Remove temporarily added --no-dll option on examples ([#7647](https://github.com/storybookjs/storybook/pull/7647))
+- Remove temporarily added --no-dll option on examples ([#7647](https://github.com/storybookjs/storybook/pull/7647))
## 5.2.0-beta.39 (August 22, 2019)
### Bug Fixes
-* React-Native: Fix tabs layout issue on simulator ([#7809](https://github.com/storybookjs/storybook/pull/7809))
-* Source-loader: Selectively ignore typescript errors in generated code ([#7831](https://github.com/storybookjs/storybook/pull/7831))
+- React-Native: Fix tabs layout issue on simulator ([#7809](https://github.com/storybookjs/storybook/pull/7809))
+- Source-loader: Selectively ignore typescript errors in generated code ([#7831](https://github.com/storybookjs/storybook/pull/7831))
## 5.2.0-beta.38 (August 21, 2019)
### Bug Fixes
-* FIX issue where the block of build info (including url) wouldn't show if passed --ci #7821 ([#7822](https://github.com/storybookjs/storybook/pull/7822))
+- FIX issue where the block of build info (including url) wouldn't show if passed --ci #7821 ([#7822](https://github.com/storybookjs/storybook/pull/7822))
### Maintenance
-* CLI: Remove babel-register in favor of esm ([#7823](https://github.com/storybookjs/storybook/pull/7823))
+- CLI: Remove babel-register in favor of esm ([#7823](https://github.com/storybookjs/storybook/pull/7823))
## 5.2.0-beta.37 (August 20, 2019)
### Breaking Changes
-* Addon-docs: Add docsContainer parameter ([#7814](https://github.com/storybookjs/storybook/pull/7814))
+- Addon-docs: Add docsContainer parameter ([#7814](https://github.com/storybookjs/storybook/pull/7814))
## 5.2.0-beta.36 (August 20, 2019)
### Features
-* Addon-docs: Improved "No docs" message ([#7785](https://github.com/storybookjs/storybook/pull/7785))
-* Core: Add .pdf support to file-loader ([#7651](https://github.com/storybookjs/storybook/pull/7651))
+- Addon-docs: Improved "No docs" message ([#7785](https://github.com/storybookjs/storybook/pull/7785))
+- Core: Add .pdf support to file-loader ([#7651](https://github.com/storybookjs/storybook/pull/7651))
### Bug Fixes
-* Preview hooks: trigger effects after story render ([#7791](https://github.com/storybookjs/storybook/pull/7791))
+- Preview hooks: trigger effects after story render ([#7791](https://github.com/storybookjs/storybook/pull/7791))
## 5.2.0-beta.35 (August 20, 2019)
@@ -1276,67 +2574,67 @@ Failed publish
### Features
-* Addon-jest: Add pending & todo items ([#7793](https://github.com/storybookjs/storybook/pull/7793))
+- Addon-jest: Add pending & todo items ([#7793](https://github.com/storybookjs/storybook/pull/7793))
### Bug Fixes
-* Addon-docs: Fix unique key warning ([#7796](https://github.com/storybookjs/storybook/pull/7796))
+- Addon-docs: Fix unique key warning ([#7796](https://github.com/storybookjs/storybook/pull/7796))
## 5.2.0-beta.32 (August 17, 2019)
### Bug Fixes
-* Addon-docs: Fix docs-only story load ([#7787](https://github.com/storybookjs/storybook/pull/7787))
+- Addon-docs: Fix docs-only story load ([#7787](https://github.com/storybookjs/storybook/pull/7787))
### Maintenance
-* Addon-docs: Unwrap doc blocks stories ([#7788](https://github.com/storybookjs/storybook/pull/7788))
+- Addon-docs: Unwrap doc blocks stories ([#7788](https://github.com/storybookjs/storybook/pull/7788))
## 5.2.0-beta.31 (August 16, 2019)
### Features
-* Addon-docs: Add toolbar support to Preview ([#7778](https://github.com/storybookjs/storybook/pull/7778))
+- Addon-docs: Add toolbar support to Preview ([#7778](https://github.com/storybookjs/storybook/pull/7778))
### Bug Fixes
-* Addon-docs: Fix CSS bleed issue in doc blocks ([#7771](https://github.com/storybookjs/storybook/pull/7771))
+- Addon-docs: Fix CSS bleed issue in doc blocks ([#7771](https://github.com/storybookjs/storybook/pull/7771))
## 5.2.0-beta.30 (August 14, 2019)
### Features
-* CLI: Don't output startup information on smoke test ([#6949](https://github.com/storybookjs/storybook/pull/6949))
-* Ondevice-knobs: Expose withKnobs from addon-knobs ([#7555](https://github.com/storybookjs/storybook/pull/7555))
+- CLI: Don't output startup information on smoke test ([#6949](https://github.com/storybookjs/storybook/pull/6949))
+- Ondevice-knobs: Expose withKnobs from addon-knobs ([#7555](https://github.com/storybookjs/storybook/pull/7555))
### Maintenance
-* Addon-Jest: Add flexibility ([#7748](https://github.com/storybookjs/storybook/pull/7748))
+- Addon-Jest: Add flexibility ([#7748](https://github.com/storybookjs/storybook/pull/7748))
## 5.1.11 (August 13, 2019)
### Bug Fixes
-* Core: Add polyfill for fetch ([#7401](https://github.com/storybookjs/storybook/pull/7401))
-* Core: Revert "Fix #7167 addon-centered causes component to disappear when zooming" ([#7750](https://github.com/storybookjs/storybook/pull/7750))
+- Core: Add polyfill for fetch ([#7401](https://github.com/storybookjs/storybook/pull/7401))
+- Core: Revert "Fix #7167 addon-centered causes component to disappear when zooming" ([#7750](https://github.com/storybookjs/storybook/pull/7750))
## 5.2.0-beta.29 (August 13, 2019)
### Breaking Changes
-* Addon-docs: Packaging for 5.2 release ([#7741](https://github.com/storybookjs/storybook/pull/7741))
+- Addon-docs: Packaging for 5.2 release ([#7741](https://github.com/storybookjs/storybook/pull/7741))
### Bug Fixes
-* Core: Revert "Fix #7167 addon-centered causes component to disappear when zooming" ([#7750](https://github.com/storybookjs/storybook/pull/7750))
-* Core: Revert "Addon-centered: Fix disappearing when zoomed" ([#7749](https://github.com/storybookjs/storybook/pull/7749))
+- Core: Revert "Fix #7167 addon-centered causes component to disappear when zooming" ([#7750](https://github.com/storybookjs/storybook/pull/7750))
+- Core: Revert "Addon-centered: Fix disappearing when zoomed" ([#7749](https://github.com/storybookjs/storybook/pull/7749))
## 5.2.0-beta.28 (August 10, 2019)
### Features
-* Core: Disable CRA behaviors when preset detected ([#7696](https://github.com/storybookjs/storybook/pull/7696))
-* Addon-docs: Docs only MDX and navigation UI ([#7719](https://github.com/storybookjs/storybook/pull/7719))
+- Core: Disable CRA behaviors when preset detected ([#7696](https://github.com/storybookjs/storybook/pull/7696))
+- Addon-docs: Docs only MDX and navigation UI ([#7719](https://github.com/storybookjs/storybook/pull/7719))
## 5.2.0-beta.27 (August 10, 2019)
@@ -1346,159 +2644,159 @@ Publish failed
### Features
-* UI: Improved component nav UI ([#7716](https://github.com/storybookjs/storybook/pull/7716))
+- UI: Improved component nav UI ([#7716](https://github.com/storybookjs/storybook/pull/7716))
## 5.2.0-beta.25 (August 8, 2019)
### Features
-* Addon-centered: ability to disable on specific story ([#7709](https://github.com/storybookjs/storybook/pull/7709))
+- Addon-centered: ability to disable on specific story ([#7709](https://github.com/storybookjs/storybook/pull/7709))
### Bug Fixes
-* Addon-jest: fix console warning ([#7705](https://github.com/storybookjs/storybook/pull/7705))
-* Core: Remove Object.append(...) from index.ejs ([#7707](https://github.com/storybookjs/storybook/pull/7707))
+- Addon-jest: fix console warning ([#7705](https://github.com/storybookjs/storybook/pull/7705))
+- Core: Remove Object.append(...) from index.ejs ([#7707](https://github.com/storybookjs/storybook/pull/7707))
## 5.2.0-beta.24 (August 7, 2019)
### Features
-* Addon-docs: DocsPage slots for fine-grained user control ([#7680](https://github.com/storybookjs/storybook/pull/7680))
+- Addon-docs: DocsPage slots for fine-grained user control ([#7680](https://github.com/storybookjs/storybook/pull/7680))
### Bug Fixes
-* Core: Add polyfill for fetch ([#7401](https://github.com/storybookjs/storybook/pull/7401))
+- Core: Add polyfill for fetch ([#7401](https://github.com/storybookjs/storybook/pull/7401))
### Dependency Upgrades
-* Addon-notes: Upgrade markdown-to-jsx dependency ([#7694](https://github.com/storybookjs/storybook/pull/7694))
+- Addon-notes: Upgrade markdown-to-jsx dependency ([#7694](https://github.com/storybookjs/storybook/pull/7694))
## 5.2.0-beta.23 (August 6, 2019)
### Features
-* CLI: Suggest possible matches on invalid command ([#7658](https://github.com/storybookjs/storybook/pull/7658))
-* Core: Allow injecting preview-body.html ([#7417](https://github.com/storybookjs/storybook/pull/7417))
+- CLI: Suggest possible matches on invalid command ([#7658](https://github.com/storybookjs/storybook/pull/7658))
+- Core: Allow injecting preview-body.html ([#7417](https://github.com/storybookjs/storybook/pull/7417))
### Bug Fixes
-* Core: Fix HMR error recovery ([#7684](https://github.com/storybookjs/storybook/pull/7684))
+- Core: Fix HMR error recovery ([#7684](https://github.com/storybookjs/storybook/pull/7684))
## 5.2.0-beta.22 (August 3, 2019)
### Bug Fixes
-* Core: Fix HMR for CSF files ([#7669](https://github.com/storybookjs/storybook/pull/7669))
+- Core: Fix HMR for CSF files ([#7669](https://github.com/storybookjs/storybook/pull/7669))
### Maintenance
-* React: Cleanup CSF stories in cra-kitchen-sink ([#7670](https://github.com/storybookjs/storybook/pull/7670))
+- React: Cleanup CSF stories in cra-kitchen-sink ([#7670](https://github.com/storybookjs/storybook/pull/7670))
## 5.2.0-beta.21 (August 3, 2019)
### Features
-* Addon-jest: Add placeholder info for missing tests ([#7660](https://github.com/storybookjs/storybook/pull/7660))
+- Addon-jest: Add placeholder info for missing tests ([#7660](https://github.com/storybookjs/storybook/pull/7660))
### Bug Fixes
-* Addon-docs: Pass framework configs through babel ([#7667](https://github.com/storybookjs/storybook/pull/7667))
-* Addon-centered: Fix disappearing when zoomed ([#7640](https://github.com/storybookjs/storybook/pull/7640))
+- Addon-docs: Pass framework configs through babel ([#7667](https://github.com/storybookjs/storybook/pull/7667))
+- Addon-centered: Fix disappearing when zoomed ([#7640](https://github.com/storybookjs/storybook/pull/7640))
## 5.2.0-beta.20 (August 1, 2019)
### Bug Fixes
-* Addon-docs: Pass everything through babel & partial TS conversion ([#7653](https://github.com/storybookjs/storybook/pull/7653))
-* Addon-docs: Error on non-string description ([#7650](https://github.com/storybookjs/storybook/pull/7650))
-* CLI: Fix `npx -p @storybook/cli sb migrate` in yarn project ([#7649](https://github.com/storybookjs/storybook/pull/7649))
+- Addon-docs: Pass everything through babel & partial TS conversion ([#7653](https://github.com/storybookjs/storybook/pull/7653))
+- Addon-docs: Error on non-string description ([#7650](https://github.com/storybookjs/storybook/pull/7650))
+- CLI: Fix `npx -p @storybook/cli sb migrate` in yarn project ([#7649](https://github.com/storybookjs/storybook/pull/7649))
## 5.2.0-beta.19 (July 31, 2019)
### Bug Fixes
-* Core: Change webpack-defined variables to globals ([#7622](https://github.com/storybookjs/storybook/pull/7622))
-* Addon-notes: Fix dark theming bug ([#7623](https://github.com/storybookjs/storybook/pull/7623))
-* CLI: Fix usage information ([#7627](https://github.com/storybookjs/storybook/pull/7627))
-* CLI: Show additional package information with `sb info` ([#7624](https://github.com/storybookjs/storybook/pull/7624))
+- Core: Change webpack-defined variables to globals ([#7622](https://github.com/storybookjs/storybook/pull/7622))
+- Addon-notes: Fix dark theming bug ([#7623](https://github.com/storybookjs/storybook/pull/7623))
+- CLI: Fix usage information ([#7627](https://github.com/storybookjs/storybook/pull/7627))
+- CLI: Show additional package information with `sb info` ([#7624](https://github.com/storybookjs/storybook/pull/7624))
### Maintenance
-* Typescript: Migrate Preact ([#7527](https://github.com/storybookjs/storybook/pull/7527))
+- Typescript: Migrate Preact ([#7527](https://github.com/storybookjs/storybook/pull/7527))
## 5.1.10 (July 31, 2019)
### Breaking Changes
-* Core: Remove project root `babel.config.js` loading ([#7573](https://github.com/storybookjs/storybook/pull/7573))
+- Core: Remove project root `babel.config.js` loading ([#7573](https://github.com/storybookjs/storybook/pull/7573))
### Bug Fixes
-* Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141))
-* React-native: Fix react native server ([#7187](https://github.com/storybookjs/storybook/pull/7187))
-* Addon-centered/contexts: Move optionalDependencies to peerDependencies ([#7315](https://github.com/storybookjs/storybook/pull/7315))
-* Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158))
-* Addon-actions: fix serialization performance ([#7256](https://github.com/storybookjs/storybook/pull/7256))
-* Addon-notes: Fix dark theming bug ([#7623](https://github.com/storybookjs/storybook/pull/7623))
-* CLI: Fix usage information ([#7627](https://github.com/storybookjs/storybook/pull/7627))
-* Addon-centered: Fix component disappearing on zoom ([#7400](https://github.com/storybookjs/storybook/pull/7400))
-* Addon-analytics: Fix API signature ([#7410](https://github.com/storybookjs/storybook/pull/7410))
-* UI: Fix Sidebar input refresh on 'Enter' ([#7342](https://github.com/storybookjs/storybook/pull/7342))
-* Addon-knobs: Prevent rerender when a button callback returns false. ([#7197](https://github.com/storybookjs/storybook/pull/7197))
-* Core: Keep story data and legacy data in sync ([#7319](https://github.com/storybookjs/storybook/pull/7319))
-* CLI: Move the free port logic so that loadOptions don't override it ([#7237](https://github.com/storybookjs/storybook/pull/7237))
-* Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173))
+- Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141))
+- React-native: Fix react native server ([#7187](https://github.com/storybookjs/storybook/pull/7187))
+- Addon-centered/contexts: Move optionalDependencies to peerDependencies ([#7315](https://github.com/storybookjs/storybook/pull/7315))
+- Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158))
+- Addon-actions: fix serialization performance ([#7256](https://github.com/storybookjs/storybook/pull/7256))
+- Addon-notes: Fix dark theming bug ([#7623](https://github.com/storybookjs/storybook/pull/7623))
+- CLI: Fix usage information ([#7627](https://github.com/storybookjs/storybook/pull/7627))
+- Addon-centered: Fix component disappearing on zoom ([#7400](https://github.com/storybookjs/storybook/pull/7400))
+- Addon-analytics: Fix API signature ([#7410](https://github.com/storybookjs/storybook/pull/7410))
+- UI: Fix Sidebar input refresh on 'Enter' ([#7342](https://github.com/storybookjs/storybook/pull/7342))
+- Addon-knobs: Prevent rerender when a button callback returns false. ([#7197](https://github.com/storybookjs/storybook/pull/7197))
+- Core: Keep story data and legacy data in sync ([#7319](https://github.com/storybookjs/storybook/pull/7319))
+- CLI: Move the free port logic so that loadOptions don't override it ([#7237](https://github.com/storybookjs/storybook/pull/7237))
+- Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173))
### Maintenance
-* Build: delete tests & snapshots from dist ([#7358](https://github.com/storybookjs/storybook/pull/7358))
+- Build: delete tests & snapshots from dist ([#7358](https://github.com/storybookjs/storybook/pull/7358))
### Dependency Upgrades
-* CLI: replaced merge-dirs dependency by fs-extra ([#7100](https://github.com/storybookjs/storybook/pull/7100))
+- CLI: replaced merge-dirs dependency by fs-extra ([#7100](https://github.com/storybookjs/storybook/pull/7100))
## 5.2.0-beta.18 (July 30, 2019)
### Bug Fixes
-* Addon-docs: Ensure getNotes/getInfo return string ([#7597](https://github.com/storybookjs/storybook/pull/7597))
-* React/Angular/HTML/Vue: Fix typings for `configure` ([#7598](https://github.com/storybookjs/storybook/pull/7598))
+- Addon-docs: Ensure getNotes/getInfo return string ([#7597](https://github.com/storybookjs/storybook/pull/7597))
+- React/Angular/HTML/Vue: Fix typings for `configure` ([#7598](https://github.com/storybookjs/storybook/pull/7598))
### Maintenance
-* Typescript: Migrate Vue ([#7578](https://github.com/storybookjs/storybook/pull/7578))
+- Typescript: Migrate Vue ([#7578](https://github.com/storybookjs/storybook/pull/7578))
### Dependency Upgrades
-* Upgrade corejs-upgrade-webpack-plugin lazy-universal-dotenv ([#7592](https://github.com/storybookjs/storybook/pull/7592))
+- Upgrade corejs-upgrade-webpack-plugin lazy-universal-dotenv ([#7592](https://github.com/storybookjs/storybook/pull/7592))
## 5.2.0-beta.17 (July 29, 2019)
### Bug Fixes
-* CLI: Fix storiesof-to-csf migration w/punctuation ([#7590](https://github.com/storybookjs/storybook/pull/7590))
+- CLI: Fix storiesof-to-csf migration w/punctuation ([#7590](https://github.com/storybookjs/storybook/pull/7590))
## 5.2.0-beta.16 (July 29, 2019)
### Features
-* Addon-docs: Configure jsx automagically ([#7581](https://github.com/storybookjs/storybook/pull/7581))
-* Addon-docs: Add DocsPage automagically ([#7579](https://github.com/storybookjs/storybook/pull/7579))
+- Addon-docs: Configure jsx automagically ([#7581](https://github.com/storybookjs/storybook/pull/7581))
+- Addon-docs: Add DocsPage automagically ([#7579](https://github.com/storybookjs/storybook/pull/7579))
## 5.2.0-beta.15 (July 29, 2019)
### Features
-* CRA: Add support for TSX in config folder ([#7566](https://github.com/storybookjs/storybook/pull/7566))
+- CRA: Add support for TSX in config folder ([#7566](https://github.com/storybookjs/storybook/pull/7566))
### Bug Fixes
-* Addon-info: only render Components in propTables ([#7477](https://github.com/storybookjs/storybook/pull/7477))
+- Addon-info: only render Components in propTables ([#7477](https://github.com/storybookjs/storybook/pull/7477))
### Dependency Upgrades
-* Update telejson dependency to 2.2.2 ([#7586](https://github.com/storybookjs/storybook/pull/7586))
-* Angular: Fix @angular-devkit/build-angular version ([#7585](https://github.com/storybookjs/storybook/pull/7585))
+- Update telejson dependency to 2.2.2 ([#7586](https://github.com/storybookjs/storybook/pull/7586))
+- Angular: Fix @angular-devkit/build-angular version ([#7585](https://github.com/storybookjs/storybook/pull/7585))
## 5.2.0-beta.14 (July 29, 2019)
@@ -1512,18 +2810,18 @@ If you're not using SB Docs, you probably don't have to worry about this.
### Breaking Changes
-* Core: Rename `load` to `configure` ([#7576](https://github.com/storybookjs/storybook/pull/7576))
+- Core: Rename `load` to `configure` ([#7576](https://github.com/storybookjs/storybook/pull/7576))
## 5.2.0-beta.12 (July 27, 2019)
### Bug Fixes
-* Addon-knobs: Fix select knob default selection when using array values ([#7568](https://github.com/storybookjs/storybook/pull/7568))
-* Addon-knobs: Call onChanges only for changed props ([#6884](https://github.com/storybookjs/storybook/pull/6884))
+- Addon-knobs: Fix select knob default selection when using array values ([#7568](https://github.com/storybookjs/storybook/pull/7568))
+- Addon-knobs: Call onChanges only for changed props ([#6884](https://github.com/storybookjs/storybook/pull/6884))
### Maintenance
-* Angular: Print error message if angular.json has no default project specified ([#7574](https://github.com/storybookjs/storybook/pull/7574))
+- Angular: Print error message if angular.json has no default project specified ([#7574](https://github.com/storybookjs/storybook/pull/7574))
## 5.2.0-beta.11 (July 26, 2019)
@@ -1535,25 +2833,25 @@ This is a breaking release that undoes an unintentional breaking change introduc
### Breaking Changes
-* Core: Remove project root `babel.config.js` loading ([#7573](https://github.com/storybookjs/storybook/pull/7573))
+- Core: Remove project root `babel.config.js` loading ([#7573](https://github.com/storybookjs/storybook/pull/7573))
### Features
-* React: Add hooks support to stories ([#7571](https://github.com/storybookjs/storybook/pull/7571))
+- React: Add hooks support to stories ([#7571](https://github.com/storybookjs/storybook/pull/7571))
### Bug Fixes
-* UI: Fix attribute warning on shortcut button click ([#7548](https://github.com/storybookjs/storybook/pull/7548))
+- UI: Fix attribute warning on shortcut button click ([#7548](https://github.com/storybookjs/storybook/pull/7548))
## 5.2.0-beta.9 (July 26, 2019)
### Bug Fixes
-* Angular: Fix automatic module metadata extraction for forRoot imports ([#7224](https://github.com/storybookjs/storybook/pull/7224))
+- Angular: Fix automatic module metadata extraction for forRoot imports ([#7224](https://github.com/storybookjs/storybook/pull/7224))
### Maintenance
-* Rename "Module" to Component Story Format ([#7564](https://github.com/storybookjs/storybook/pull/7564))
+- Rename "Module" to Component Story Format ([#7564](https://github.com/storybookjs/storybook/pull/7564))
## 5.2.0-beta.8 (July 25, 2019)
@@ -1561,34 +2859,34 @@ This is a breaking release that undoes an unintentional breaking change introduc
`source-loader` is now part of `addon-docs` preset. If you're using both the `addon-docs` preset and `source-loader` in your project, you need to update. You can remove `source-loader` and let the preset take care of it. Alternatively, you can disable `source-loader` in the preset by setting `sourceLoaderOptions` to `null`.
-* Addon-docs: Add source-loader to preset ([#7547](https://github.com/storybookjs/storybook/pull/7547))
-* Core: Don't allow duplicate titles ([#7542](https://github.com/storybookjs/storybook/pull/7542))
+- Addon-docs: Add source-loader to preset ([#7547](https://github.com/storybookjs/storybook/pull/7547))
+- Core: Don't allow duplicate titles ([#7542](https://github.com/storybookjs/storybook/pull/7542))
### Bug Fixes
-* Addon-storysource: Add source-loader dep to avoid breaking change ([#7554](https://github.com/storybookjs/storybook/pull/7554))
-* Addon-contexts: Ensure nodes is Array ([#7393](https://github.com/storybookjs/storybook/pull/7393))
+- Addon-storysource: Add source-loader dep to avoid breaking change ([#7554](https://github.com/storybookjs/storybook/pull/7554))
+- Addon-contexts: Ensure nodes is Array ([#7393](https://github.com/storybookjs/storybook/pull/7393))
### Maintenance
-* Angular: Log angular cli config errors ([#7484](https://github.com/storybookjs/storybook/pull/7484))
+- Angular: Log angular cli config errors ([#7484](https://github.com/storybookjs/storybook/pull/7484))
## 5.2.0-beta.7 (July 23, 2019)
### Features
-* Addon-docs: MDX function stories ([#7529](https://github.com/storybookjs/storybook/pull/7529))
-* CLI: update `sb init` to module format for Ember/Marko/Mithril/Rax/Riot/Svelte ([#7504](https://github.com/storybookjs/storybook/pull/7504))
-* CLI: update `sb init` to module format for Angular ([#7502](https://github.com/storybookjs/storybook/pull/7502))
-* CLI: update `sb init` to module format for React ([#7500](https://github.com/storybookjs/storybook/pull/7500))
+- Addon-docs: MDX function stories ([#7529](https://github.com/storybookjs/storybook/pull/7529))
+- CLI: update `sb init` to module format for Ember/Marko/Mithril/Rax/Riot/Svelte ([#7504](https://github.com/storybookjs/storybook/pull/7504))
+- CLI: update `sb init` to module format for Angular ([#7502](https://github.com/storybookjs/storybook/pull/7502))
+- CLI: update `sb init` to module format for React ([#7500](https://github.com/storybookjs/storybook/pull/7500))
### Bug Fixes
-* Ondevice-knobs: Graceful fail on missing default ([#7533](https://github.com/storybookjs/storybook/pull/7533))
+- Ondevice-knobs: Graceful fail on missing default ([#7533](https://github.com/storybookjs/storybook/pull/7533))
### Maintenance
-* Build: Attempt to fix travis timeouts ([#7531](https://github.com/storybookjs/storybook/pull/7531))
+- Build: Attempt to fix travis timeouts ([#7531](https://github.com/storybookjs/storybook/pull/7531))
## 5.2.0-beta.6 (July 23, 2019)
@@ -1598,300 +2896,300 @@ It is now recommended to only use ONE `load` call in your app and it will warn y
### Features
-* Core: Top-level components in MDX/Module formats ([#7524](https://github.com/storybookjs/storybook/pull/7524))
-* Core: Module format `load` accept loader function ([#7518](https://github.com/storybookjs/storybook/pull/7518))
+- Core: Top-level components in MDX/Module formats ([#7524](https://github.com/storybookjs/storybook/pull/7524))
+- Core: Module format `load` accept loader function ([#7518](https://github.com/storybookjs/storybook/pull/7518))
### Bug Fixes
-* Addon-centered: Fix component disappearing on zoom ([#7400](https://github.com/storybookjs/storybook/pull/7400))
+- Addon-centered: Fix component disappearing on zoom ([#7400](https://github.com/storybookjs/storybook/pull/7400))
### Maintenance
-* Addon-knobs: enable Typescript `strict` flag ([#7515](https://github.com/storybookjs/storybook/pull/7515))
+- Addon-knobs: enable Typescript `strict` flag ([#7515](https://github.com/storybookjs/storybook/pull/7515))
## 5.2.0-beta.5 (July 21, 2019)
### Features
-* CLI: update `sb init` to module format for Vue ([#7501](https://github.com/storybookjs/storybook/pull/7501))
-* CLI: update `sb init` to module format for HTML/Polymer ([#7503](https://github.com/storybookjs/storybook/pull/7503))
+- CLI: update `sb init` to module format for Vue ([#7501](https://github.com/storybookjs/storybook/pull/7501))
+- CLI: update `sb init` to module format for HTML/Polymer ([#7503](https://github.com/storybookjs/storybook/pull/7503))
### Bug Fixes
-* Source-loader: Separate server and client code for IE support ([#7510](https://github.com/storybookjs/storybook/pull/7510))
+- Source-loader: Separate server and client code for IE support ([#7510](https://github.com/storybookjs/storybook/pull/7510))
## 5.2.0-beta.4 (July 20, 2019)
### Breaking Changes
-* Core: Module format story decorators ([#7490](https://github.com/storybookjs/storybook/pull/7490))
+- Core: Module format story decorators ([#7490](https://github.com/storybookjs/storybook/pull/7490))
### Features
-* Addon-jest: UI Redesign ([#7424](https://github.com/storybookjs/storybook/pull/7424))
-* Marko: support rerendering ([#7460](https://github.com/storybookjs/storybook/pull/7460))
+- Addon-jest: UI Redesign ([#7424](https://github.com/storybookjs/storybook/pull/7424))
+- Marko: support rerendering ([#7460](https://github.com/storybookjs/storybook/pull/7460))
### Bug Fixes
-* Addon-docs: Fix MDX source string escaping ([#7497](https://github.com/storybookjs/storybook/pull/7497))
+- Addon-docs: Fix MDX source string escaping ([#7497](https://github.com/storybookjs/storybook/pull/7497))
### Dependency Upgrades
-* Marko: Upgrade loader & config ([#7459](https://github.com/storybookjs/storybook/pull/7459))
-* Update core-js in addon-ondevice-actions package.json ([#7491](https://github.com/storybookjs/storybook/pull/7491))
+- Marko: Upgrade loader & config ([#7459](https://github.com/storybookjs/storybook/pull/7459))
+- Update core-js in addon-ondevice-actions package.json ([#7491](https://github.com/storybookjs/storybook/pull/7491))
## 5.2.0-beta.3 (July 19, 2019)
### Features
-* React-native: Add storyId as testID ([#7482](https://github.com/storybookjs/storybook/pull/7482))
+- React-native: Add storyId as testID ([#7482](https://github.com/storybookjs/storybook/pull/7482))
### Bug Fixes
-* React-native: On-device knobs input fixes ([#7475](https://github.com/storybookjs/storybook/pull/7475))
-* React-native: Fix crna-kitchen-sink ([#7200](https://github.com/storybookjs/storybook/pull/7200))
+- React-native: On-device knobs input fixes ([#7475](https://github.com/storybookjs/storybook/pull/7475))
+- React-native: Fix crna-kitchen-sink ([#7200](https://github.com/storybookjs/storybook/pull/7200))
## 5.2.0-beta.2 (July 18, 2019)
### Features
-* CLI: convert mdx to module format ([#7419](https://github.com/storybookjs/storybook/pull/7419))
-* CLI: sb migrate npm & typescript support ([#7463](https://github.com/storybookjs/storybook/pull/7463))
-* Addon-Docs: HTML support & example ([#7454](https://github.com/storybookjs/storybook/pull/7454))
+- CLI: convert mdx to module format ([#7419](https://github.com/storybookjs/storybook/pull/7419))
+- CLI: sb migrate npm & typescript support ([#7463](https://github.com/storybookjs/storybook/pull/7463))
+- Addon-Docs: HTML support & example ([#7454](https://github.com/storybookjs/storybook/pull/7454))
### Bug Fixes
-* Convert-storiesof-to-module: user exports, collisions, reserved keywords ([#7471](https://github.com/storybookjs/storybook/pull/7471))
-* React-native: On-device knobs fixes ([#7470](https://github.com/storybookjs/storybook/pull/7470))
+- Convert-storiesof-to-module: user exports, collisions, reserved keywords ([#7471](https://github.com/storybookjs/storybook/pull/7471))
+- React-native: On-device knobs fixes ([#7470](https://github.com/storybookjs/storybook/pull/7470))
### Dependency Upgrades
-* Addon-docs: Upgrade MDX to 1.1 ([#7476](https://github.com/storybookjs/storybook/pull/7476))
+- Addon-docs: Upgrade MDX to 1.1 ([#7476](https://github.com/storybookjs/storybook/pull/7476))
## 5.2.0-beta.1 (July 18, 2019)
### Features
-* React native: Emit event when story is rendered ([#7449](https://github.com/storybookjs/storybook/pull/7449))
+- React native: Emit event when story is rendered ([#7449](https://github.com/storybookjs/storybook/pull/7449))
### Bug Fixes
-* Addon-knobs: improve types via generics and readonlyarray ([#7411](https://github.com/storybookjs/storybook/pull/7411))
-* Ondevice-backgrounds: use same param key as addon-backgrounds ([#7437](https://github.com/storybookjs/storybook/pull/7437))
+- Addon-knobs: improve types via generics and readonlyarray ([#7411](https://github.com/storybookjs/storybook/pull/7411))
+- Ondevice-backgrounds: use same param key as addon-backgrounds ([#7437](https://github.com/storybookjs/storybook/pull/7437))
## 5.2.0-beta.0 (July 15, 2019)
### Features
-* Codemod: Convert module format to MDX ([#7418](https://github.com/storybookjs/storybook/pull/7418))
+- Codemod: Convert module format to MDX ([#7418](https://github.com/storybookjs/storybook/pull/7418))
## 5.2.0-alpha.44 (July 15, 2019)
### Features
-* CLI: Add migrate command ([#7414](https://github.com/storybookjs/storybook/pull/7414))
+- CLI: Add migrate command ([#7414](https://github.com/storybookjs/storybook/pull/7414))
### Bug Fixes
-* UI: Fix Panel rendered wrong at Docs-page ([#7327](https://github.com/storybookjs/storybook/pull/7327))
+- UI: Fix Panel rendered wrong at Docs-page ([#7327](https://github.com/storybookjs/storybook/pull/7327))
### Maintenance
-* Typescript: Fix types of client-api & storystore ([#7337](https://github.com/storybookjs/storybook/pull/7337))
+- Typescript: Fix types of client-api & storystore ([#7337](https://github.com/storybookjs/storybook/pull/7337))
## 5.2.0-alpha.43 (July 13, 2019)
### Bug Fixes
-* Addon-analytics: Fix API signature ([#7410](https://github.com/storybookjs/storybook/pull/7410))
-* Addon-knobs: fix knobs function return types ([#7391](https://github.com/storybookjs/storybook/pull/7391))
-* UI: Fix proptype for isToolshown ([#7405](https://github.com/storybookjs/storybook/pull/7405))
-* UI: Fix propType warnings ([#7408](https://github.com/storybookjs/storybook/pull/7408))
+- Addon-analytics: Fix API signature ([#7410](https://github.com/storybookjs/storybook/pull/7410))
+- Addon-knobs: fix knobs function return types ([#7391](https://github.com/storybookjs/storybook/pull/7391))
+- UI: Fix proptype for isToolshown ([#7405](https://github.com/storybookjs/storybook/pull/7405))
+- UI: Fix propType warnings ([#7408](https://github.com/storybookjs/storybook/pull/7408))
### Maintenance
-* Addon-actions: Use v4 UUID instead of v1 for action IDs ([#7397](https://github.com/storybookjs/storybook/pull/7397))
-* UI: Remove recompose ([#7385](https://github.com/storybookjs/storybook/pull/7385))
-* UI: FIX & IMPROVE styling interop of addon-background & addon-viewport ([#7385](https://github.com/storybookjs/storybook/pull/7385))
+- Addon-actions: Use v4 UUID instead of v1 for action IDs ([#7397](https://github.com/storybookjs/storybook/pull/7397))
+- UI: Remove recompose ([#7385](https://github.com/storybookjs/storybook/pull/7385))
+- UI: FIX & IMPROVE styling interop of addon-background & addon-viewport ([#7385](https://github.com/storybookjs/storybook/pull/7385))
### Breaking Changes
-* Move grid toolbar feature to background-addon ([#7385](https://github.com/storybookjs/storybook/pull/7385))
+- Move grid toolbar feature to background-addon ([#7385](https://github.com/storybookjs/storybook/pull/7385))
## 5.2.0-alpha.42 (July 12, 2019)
### Breaking Changes
-* Addon-docs: Remove primary parameter ([#7383](https://github.com/storybookjs/storybook/pull/7383))
+- Addon-docs: Remove primary parameter ([#7383](https://github.com/storybookjs/storybook/pull/7383))
### Bug Fixes
-* Addon-docs: Fix default separator inconsistency ([#7382](https://github.com/storybookjs/storybook/pull/7382))
-* UI: Fix placement of notificationistList on docs page ([#7290](https://github.com/storybookjs/storybook/pull/7290))
+- Addon-docs: Fix default separator inconsistency ([#7382](https://github.com/storybookjs/storybook/pull/7382))
+- UI: Fix placement of notificationistList on docs page ([#7290](https://github.com/storybookjs/storybook/pull/7290))
### Maintenance
-* Typescript: Migrate @storybook/html ([#7338](https://github.com/storybookjs/storybook/pull/7338))
+- Typescript: Migrate @storybook/html ([#7338](https://github.com/storybookjs/storybook/pull/7338))
### Dependency Upgrades
-* Bump lodash from 4.17.13 to 4.17.14 ([#7384](https://github.com/storybookjs/storybook/pull/7384))
-* [Security] Bump lodash.defaultsdeep from 4.6.0 to 4.6.1 ([#7370](https://github.com/storybookjs/storybook/pull/7370))
-* [Security] Bump lodash from 4.17.11 to 4.17.13 ([#7374](https://github.com/storybookjs/storybook/pull/7374))
-* [Security] Bump lodash.mergewith from 4.6.1 to 4.6.2 ([#7372](https://github.com/storybookjs/storybook/pull/7372))
-* [Security] Bump lodash.merge from 4.6.1 to 4.6.2 ([#7373](https://github.com/storybookjs/storybook/pull/7373))
-* [Security] Bump lodash-es from 4.17.11 to 4.17.14 ([#7371](https://github.com/storybookjs/storybook/pull/7371))
-* Upgrade react-select dependency to version 3 for addon-knobs ([#7336](https://github.com/storybookjs/storybook/pull/7336))
+- Bump lodash from 4.17.13 to 4.17.14 ([#7384](https://github.com/storybookjs/storybook/pull/7384))
+- [Security] Bump lodash.defaultsdeep from 4.6.0 to 4.6.1 ([#7370](https://github.com/storybookjs/storybook/pull/7370))
+- [Security] Bump lodash from 4.17.11 to 4.17.13 ([#7374](https://github.com/storybookjs/storybook/pull/7374))
+- [Security] Bump lodash.mergewith from 4.6.1 to 4.6.2 ([#7372](https://github.com/storybookjs/storybook/pull/7372))
+- [Security] Bump lodash.merge from 4.6.1 to 4.6.2 ([#7373](https://github.com/storybookjs/storybook/pull/7373))
+- [Security] Bump lodash-es from 4.17.11 to 4.17.14 ([#7371](https://github.com/storybookjs/storybook/pull/7371))
+- Upgrade react-select dependency to version 3 for addon-knobs ([#7336](https://github.com/storybookjs/storybook/pull/7336))
## 5.2.0-alpha.41 (July 11, 2019)
### Features
-* API: Preview hooks ([#6916](https://github.com/storybookjs/storybook/pull/6916))
-* Core: Custom webpack option for standalone storybook ([#6886](https://github.com/storybookjs/storybook/pull/6886))
+- API: Preview hooks ([#6916](https://github.com/storybookjs/storybook/pull/6916))
+- Core: Custom webpack option for standalone storybook ([#6886](https://github.com/storybookjs/storybook/pull/6886))
### Bug Fixes
-* Addon-knobs: Fix TypeError on KnobManager channel ([#7341](https://github.com/storybookjs/storybook/pull/7341))
-* React-native: Explicitly depend on emotion core and theming ([#7362](https://github.com/storybookjs/storybook/pull/7362))
+- Addon-knobs: Fix TypeError on KnobManager channel ([#7341](https://github.com/storybookjs/storybook/pull/7341))
+- React-native: Explicitly depend on emotion core and theming ([#7362](https://github.com/storybookjs/storybook/pull/7362))
### Dependency Upgrades
-* Bump @babel/preset-env from 7.5.0 to 7.5.4 ([#7364](https://github.com/storybookjs/storybook/pull/7364))
-* Update react-test-renderer requirement from 16.5.1 to 16.8.6 in /examples-native/crna-kitchen-sink ([#6372](https://github.com/storybookjs/storybook/pull/6372))
-* Bump rax-text from 0.6.5 to 1.0.0 ([#7346](https://github.com/storybookjs/storybook/pull/7346))
+- Bump @babel/preset-env from 7.5.0 to 7.5.4 ([#7364](https://github.com/storybookjs/storybook/pull/7364))
+- Update react-test-renderer requirement from 16.5.1 to 16.8.6 in /examples-native/crna-kitchen-sink ([#6372](https://github.com/storybookjs/storybook/pull/6372))
+- Bump rax-text from 0.6.5 to 1.0.0 ([#7346](https://github.com/storybookjs/storybook/pull/7346))
## 5.2.0-alpha.40 (July 10, 2019)
### Bug Fixes
-* Addon-knobs: Revert entrypoint deletion ([#7369](https://github.com/storybookjs/storybook/pull/7369))
-* Typescript: Fix types in api package ([#7072](https://github.com/storybookjs/storybook/pull/7072))
-* UI: Fix settings page route (about, shortcuts) ([#7241](https://github.com/storybookjs/storybook/pull/7241))
+- Addon-knobs: Revert entrypoint deletion ([#7369](https://github.com/storybookjs/storybook/pull/7369))
+- Typescript: Fix types in api package ([#7072](https://github.com/storybookjs/storybook/pull/7072))
+- UI: Fix settings page route (about, shortcuts) ([#7241](https://github.com/storybookjs/storybook/pull/7241))
### Maintenance
-* Linting: ADD an ignore for an eslint error about a missing dependency (puppeteer) ([#7239](https://github.com/storybookjs/storybook/pull/7239))
-* CI: ADD travis ([#7252](https://github.com/storybookjs/storybook/pull/7252))
-* Typescript: Migrate @storybook/angular ([#6570](https://github.com/storybookjs/storybook/pull/6570))
+- Linting: ADD an ignore for an eslint error about a missing dependency (puppeteer) ([#7239](https://github.com/storybookjs/storybook/pull/7239))
+- CI: ADD travis ([#7252](https://github.com/storybookjs/storybook/pull/7252))
+- Typescript: Migrate @storybook/angular ([#6570](https://github.com/storybookjs/storybook/pull/6570))
### Dependency Upgrades
-* Bump express-graphql from 0.7.1 to 0.8.0 ([#7345](https://github.com/storybookjs/storybook/pull/7345))
-* Bump react-native-modal-datetime-picker from 6.1.0 to 7.4.2 ([#6844](https://github.com/storybookjs/storybook/pull/6844))
+- Bump express-graphql from 0.7.1 to 0.8.0 ([#7345](https://github.com/storybookjs/storybook/pull/7345))
+- Bump react-native-modal-datetime-picker from 6.1.0 to 7.4.2 ([#6844](https://github.com/storybookjs/storybook/pull/6844))
## 5.2.0-alpha.39 (July 10, 2019)
### Bug Fixes
-* UI: Fix Sidebar input refresh on 'Enter' ([#7342](https://github.com/storybookjs/storybook/pull/7342))
-* Addon-knobs: Fix select options types to allow string[] and null ([#7356](https://github.com/storybookjs/storybook/pull/7356))
+- UI: Fix Sidebar input refresh on 'Enter' ([#7342](https://github.com/storybookjs/storybook/pull/7342))
+- Addon-knobs: Fix select options types to allow string[] and null ([#7356](https://github.com/storybookjs/storybook/pull/7356))
### Maintenance
-* Typescript: Migrate @storybook/react ([#7054](https://github.com/storybookjs/storybook/pull/7054))
-* Build: delete tests & snapshots from dist ([#7358](https://github.com/storybookjs/storybook/pull/7358))
+- Typescript: Migrate @storybook/react ([#7054](https://github.com/storybookjs/storybook/pull/7054))
+- Build: delete tests & snapshots from dist ([#7358](https://github.com/storybookjs/storybook/pull/7358))
## 5.2.0-alpha.38 (July 9, 2019)
### Bug Fixes
-* Addon-storysource: Replace loader with source-loader ([#7272](https://github.com/storybookjs/storybook/pull/7272))
+- Addon-storysource: Replace loader with source-loader ([#7272](https://github.com/storybookjs/storybook/pull/7272))
### Maintenance
-* Typescript: Migrate @storybook/addon-knobs ([#7180](https://github.com/storybookjs/storybook/pull/7180))
+- Typescript: Migrate @storybook/addon-knobs ([#7180](https://github.com/storybookjs/storybook/pull/7180))
### Dependency Upgrades
-* Upgrade all dependencies ([#7329](https://github.com/storybookjs/storybook/pull/7329))
+- Upgrade all dependencies ([#7329](https://github.com/storybookjs/storybook/pull/7329))
## 5.2.0-alpha.37 (July 8, 2019)
### Bug Fixes
-* Addon-docs: Use storyFn instead of getDecorated ([#7334](https://github.com/storybookjs/storybook/pull/7334))
-* Addon-knobs: Prevent rerender when a button callback returns false. ([#7197](https://github.com/storybookjs/storybook/pull/7197))
-* Addons: Fix null parameters in disable addons tab logic ([#7333](https://github.com/storybookjs/storybook/pull/7333))
-* Addon-docs: Fix renaming stories on module / MDX format ([#7319](https://github.com/storybookjs/storybook/pull/7319))
-* Addon-centered/contexts: Move optionalDependencies to peerDependencies ([#7315](https://github.com/storybookjs/storybook/pull/7315))
+- Addon-docs: Use storyFn instead of getDecorated ([#7334](https://github.com/storybookjs/storybook/pull/7334))
+- Addon-knobs: Prevent rerender when a button callback returns false. ([#7197](https://github.com/storybookjs/storybook/pull/7197))
+- Addons: Fix null parameters in disable addons tab logic ([#7333](https://github.com/storybookjs/storybook/pull/7333))
+- Addon-docs: Fix renaming stories on module / MDX format ([#7319](https://github.com/storybookjs/storybook/pull/7319))
+- Addon-centered/contexts: Move optionalDependencies to peerDependencies ([#7315](https://github.com/storybookjs/storybook/pull/7315))
### Maintenance
-* Typescript: migrate client api ([#7147](https://github.com/storybookjs/storybook/pull/7147))
-* Angular-cli: Add addon-docs example ([#7257](https://github.com/storybookjs/storybook/pull/7257))
+- Typescript: migrate client api ([#7147](https://github.com/storybookjs/storybook/pull/7147))
+- Angular-cli: Add addon-docs example ([#7257](https://github.com/storybookjs/storybook/pull/7257))
## 5.2.0-alpha.36 (July 5, 2019)
### Features
-* Addon-docs: Added inline option to Story block ([#7308](https://github.com/storybookjs/storybook/pull/7308))
-* Addon-knobs: Ensure unique knob names across groups ([#6793](https://github.com/storybookjs/storybook/pull/6793))
-* Core: Enable webpack to rebuild changes in node_modules ([#6265](https://github.com/storybookjs/storybook/pull/6265))
-* Addons: Disable option for addon tab ([#6923](https://github.com/storybookjs/storybook/pull/6923))
+- Addon-docs: Added inline option to Story block ([#7308](https://github.com/storybookjs/storybook/pull/7308))
+- Addon-knobs: Ensure unique knob names across groups ([#6793](https://github.com/storybookjs/storybook/pull/6793))
+- Core: Enable webpack to rebuild changes in node_modules ([#6265](https://github.com/storybookjs/storybook/pull/6265))
+- Addons: Disable option for addon tab ([#6923](https://github.com/storybookjs/storybook/pull/6923))
### Bug Fixes
-* Fix lint error from #6923 ([#7311](https://github.com/storybookjs/storybook/pull/7311))
-* Addon-actions: fix serialization performance ([#7256](https://github.com/storybookjs/storybook/pull/7256))
+- Fix lint error from #6923 ([#7311](https://github.com/storybookjs/storybook/pull/7311))
+- Addon-actions: fix serialization performance ([#7256](https://github.com/storybookjs/storybook/pull/7256))
### Maintenance
-* Typescript: Migrate @storybook/addon-event ([#7190](https://github.com/storybookjs/storybook/pull/7190))
-* Typescript: Improve actions type ([#7012](https://github.com/storybookjs/storybook/pull/7012))
+- Typescript: Migrate @storybook/addon-event ([#7190](https://github.com/storybookjs/storybook/pull/7190))
+- Typescript: Improve actions type ([#7012](https://github.com/storybookjs/storybook/pull/7012))
## 5.2.0-alpha.35 (July 3, 2019)
### Bug Fixes
-* React-Native: Fix null story check ([#7243](https://github.com/storybookjs/storybook/pull/7243))
+- React-Native: Fix null story check ([#7243](https://github.com/storybookjs/storybook/pull/7243))
## 5.2.0-alpha.34 (July 2, 2019)
### Bug Fixes
-* CLI: Fix `--preview-url` for static builds ([#7245](https://github.com/storybookjs/storybook/pull/7245))
-* Addon-docs: Fix non-React support & add Vue example ([#7222](https://github.com/storybookjs/storybook/pull/7222))
-* CLI: Move the free port logic so that loadOptions don't override it ([#7237](https://github.com/storybookjs/storybook/pull/7237))
+- CLI: Fix `--preview-url` for static builds ([#7245](https://github.com/storybookjs/storybook/pull/7245))
+- Addon-docs: Fix non-React support & add Vue example ([#7222](https://github.com/storybookjs/storybook/pull/7222))
+- CLI: Move the free port logic so that loadOptions don't override it ([#7237](https://github.com/storybookjs/storybook/pull/7237))
## 5.2.0-alpha.33 (July 1, 2019)
### Features
-* CLI: Add `--preview-url` for custom preview ([#7235](https://github.com/storybookjs/storybook/pull/7235))
+- CLI: Add `--preview-url` for custom preview ([#7235](https://github.com/storybookjs/storybook/pull/7235))
### Bug Fixes
-* React-Native: Upgrade to new `story_store` API ([#7234](https://github.com/storybookjs/storybook/pull/7234))
+- React-Native: Upgrade to new `story_store` API ([#7234](https://github.com/storybookjs/storybook/pull/7234))
## 5.2.0-alpha.32 (June 29, 2019)
### Features
-* Addon-docs: Add .story.mdx support to preset ([#7229](https://github.com/storybookjs/storybook/pull/7229))
+- Addon-docs: Add .story.mdx support to preset ([#7229](https://github.com/storybookjs/storybook/pull/7229))
### Bug Fixes
-* React-native: Fix react native server ([#7187](https://github.com/storybookjs/storybook/pull/7187))
-* Addon-docs: Fix source-loader in monorepo examples ([#7214](https://github.com/storybookjs/storybook/pull/7214))
+- React-native: Fix react native server ([#7187](https://github.com/storybookjs/storybook/pull/7187))
+- Addon-docs: Fix source-loader in monorepo examples ([#7214](https://github.com/storybookjs/storybook/pull/7214))
### Maintenance
-* Addon-docs: Convert repo stories to new module format ([#7175](https://github.com/storybookjs/storybook/pull/7175))
+- Addon-docs: Convert repo stories to new module format ([#7175](https://github.com/storybookjs/storybook/pull/7175))
## 5.2.0-alpha.31 (June 27, 2019)
### Breaking Changes
-* Module format: story field for name/parameters annotation ([#7202](https://github.com/storybookjs/storybook/pull/7202))
+- Module format: story field for name/parameters annotation ([#7202](https://github.com/storybookjs/storybook/pull/7202))
### Features
-* Core: Story sorting ([#6472](https://github.com/storybookjs/storybook/pull/6472))
+- Core: Story sorting ([#6472](https://github.com/storybookjs/storybook/pull/6472))
### Maintenance
-* Addon-docs: Fix source-loader CI errors ([#7203](https://github.com/storybookjs/storybook/pull/7203))
+- Addon-docs: Fix source-loader CI errors ([#7203](https://github.com/storybookjs/storybook/pull/7203))
## 5.2.0-alpha.30 (June 25, 2019)
@@ -1899,70 +3197,70 @@ This release merges `release/docs-technical-preview` branch back into `next` thr
### Features
-* CLI: Add info command to print environment information ([#6937](https://github.com/storybookjs/storybook/pull/6937))
-* CLI: Use process.env.CI if available ([#7118](https://github.com/storybookjs/storybook/pull/7118))
-* Addon-docs: Source loader library ([#7117](https://github.com/storybookjs/storybook/pull/7117))
-* Addon-docs: Support non-story exports in MDX ([#7188](https://github.com/storybookjs/storybook/pull/7188))
-* Addon-docs: Support non-story exports in module format ([#7185](https://github.com/storybookjs/storybook/pull/7185))
-* Addon-docs: Docs mode with `--docs` flag ([#7154](https://github.com/storybookjs/storybook/pull/7154))
-* Addon-docs: Convert to module format codemod ([#7174](https://github.com/storybookjs/storybook/pull/7174))
-* Addon-docs: MDX support ([#7145](https://github.com/storybookjs/storybook/pull/7145))
-* Addon-docs: Component parameter codemod ([#7155](https://github.com/storybookjs/storybook/pull/7155))
-* Addon-docs: DocsPage and doc blocks ([#7119](https://github.com/storybookjs/storybook/pull/7119))
-* Addon-docs: Module story format & framework param ([#7110](https://github.com/storybookjs/storybook/pull/7110))
-* Addon-docs: Basic skeleton, UI viewMode handling ([#7107](https://github.com/storybookjs/storybook/pull/7107))
+- CLI: Add info command to print environment information ([#6937](https://github.com/storybookjs/storybook/pull/6937))
+- CLI: Use process.env.CI if available ([#7118](https://github.com/storybookjs/storybook/pull/7118))
+- Addon-docs: Source loader library ([#7117](https://github.com/storybookjs/storybook/pull/7117))
+- Addon-docs: Support non-story exports in MDX ([#7188](https://github.com/storybookjs/storybook/pull/7188))
+- Addon-docs: Support non-story exports in module format ([#7185](https://github.com/storybookjs/storybook/pull/7185))
+- Addon-docs: Docs mode with `--docs` flag ([#7154](https://github.com/storybookjs/storybook/pull/7154))
+- Addon-docs: Convert to module format codemod ([#7174](https://github.com/storybookjs/storybook/pull/7174))
+- Addon-docs: MDX support ([#7145](https://github.com/storybookjs/storybook/pull/7145))
+- Addon-docs: Component parameter codemod ([#7155](https://github.com/storybookjs/storybook/pull/7155))
+- Addon-docs: DocsPage and doc blocks ([#7119](https://github.com/storybookjs/storybook/pull/7119))
+- Addon-docs: Module story format & framework param ([#7110](https://github.com/storybookjs/storybook/pull/7110))
+- Addon-docs: Basic skeleton, UI viewMode handling ([#7107](https://github.com/storybookjs/storybook/pull/7107))
### Bug Fixes
-* Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173))
-* Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158))
-* Core: Improve HMR error reporting, no refreshes needed for error recovery ([#6972](https://github.com/storybookjs/storybook/pull/6972))
-* Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141))
+- Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173))
+- Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158))
+- Core: Improve HMR error reporting, no refreshes needed for error recovery ([#6972](https://github.com/storybookjs/storybook/pull/6972))
+- Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141))
### Maintenance
-* Typescript: Migrate addon viewport ([#7177](https://github.com/storybookjs/storybook/pull/7177))
+- Typescript: Migrate addon viewport ([#7177](https://github.com/storybookjs/storybook/pull/7177))
### Dependency Upgrades
-* Bump css-loader from 2.1.1 to 3.0.0 ([#7122](https://github.com/storybookjs/storybook/pull/7122))
-* Upgrade core-js to 3.x in devkits ([#7171](https://github.com/storybookjs/storybook/pull/7171))
-* UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151))
+- Bump css-loader from 2.1.1 to 3.0.0 ([#7122](https://github.com/storybookjs/storybook/pull/7122))
+- Upgrade core-js to 3.x in devkits ([#7171](https://github.com/storybookjs/storybook/pull/7171))
+- UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151))
## 5.1.9 (June 20, 2019)
### Bug Fixes
-* Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104))
-* UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105))
+- Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104))
+- UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105))
### Dependency Upgrades
-* Add missing dependencies to ui/react ([#7081](https://github.com/storybookjs/storybook/pull/7081))
-* UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151))
-* Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922))
+- Add missing dependencies to ui/react ([#7081](https://github.com/storybookjs/storybook/pull/7081))
+- UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151))
+- Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922))
## 5.2.0-alpha.29 (June 17, 2019)
### Features
-* Addon-notes: enable multiple sections in notes panel ([#6861](https://github.com/storybookjs/storybook/pull/6861))
-* Addon-context: title fallback ([#7078](https://github.com/storybookjs/storybook/pull/7078))
-* Addon-info: Fix rendering of code block ([#6016](https://github.com/storybookjs/storybook/pull/6016))
+- Addon-notes: enable multiple sections in notes panel ([#6861](https://github.com/storybookjs/storybook/pull/6861))
+- Addon-context: title fallback ([#7078](https://github.com/storybookjs/storybook/pull/7078))
+- Addon-info: Fix rendering of code block ([#6016](https://github.com/storybookjs/storybook/pull/6016))
### Bug Fixes
-* Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104))
-* UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105))
+- Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104))
+- UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105))
### Maintenance
-* Core: Refactor story_store ([#6382](https://github.com/storybookjs/storybook/pull/6382))
-* Core: Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922))
+- Core: Refactor story_store ([#6382](https://github.com/storybookjs/storybook/pull/6382))
+- Core: Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922))
### Dependency Upgrades
-* Bump jest-expo from 32.0.1 to 33.0.2 ([#6996](https://github.com/storybookjs/storybook/pull/6996))
+- Bump jest-expo from 32.0.1 to 33.0.2 ([#6996](https://github.com/storybookjs/storybook/pull/6996))
## 5.2.0-alpha.28 (June 17, 2019)
@@ -1970,20 +3268,20 @@ Publish failed
## 5.2.0-alpha.27 (June 17, 2019)
-* CLI: improve bootstrap list ([#6993](https://github.com/storybookjs/storybook/pull/6993))
-* CLI: replaced merge-dirs dependency by fs-extra ([#7100](https://github.com/storybookjs/storybook/pull/7100))
+- CLI: improve bootstrap list ([#6993](https://github.com/storybookjs/storybook/pull/6993))
+- CLI: replaced merge-dirs dependency by fs-extra ([#7100](https://github.com/storybookjs/storybook/pull/7100))
## 5.1.8 (June 14, 2019)
### Bug Fixes
-* CLI: Fix RN template to not import addons ([#7096](https://github.com/storybookjs/storybook/pull/7096))
+- CLI: Fix RN template to not import addons ([#7096](https://github.com/storybookjs/storybook/pull/7096))
## 5.1.7 (June 14, 2019)
### Bug Fixes
-* UI: Fix warning of loading prop not being a string ([#7080](https://github.com/storybookjs/storybook/pull/7080))
+- UI: Fix warning of loading prop not being a string ([#7080](https://github.com/storybookjs/storybook/pull/7080))
## 5.1.6 (June 14, 2019)
@@ -1993,10 +3291,10 @@ Publish failed
### Bug Fixes
-* Core: Upgrade plugin core-js fix ([#7086](https://github.com/storybookjs/storybook/pull/7086))
-* UI: Fix sidebar loading visibility ([#7073](https://github.com/storybookjs/storybook/pull/7073))
-* UI: Fix unnecessary large bundlesize ([#7091](https://github.com/storybookjs/storybook/pull/7091))
-* Addon-contexts, RN-server: Add core-js dep ([#7094](https://github.com/storybookjs/storybook/pull/7094))
+- Core: Upgrade plugin core-js fix ([#7086](https://github.com/storybookjs/storybook/pull/7086))
+- UI: Fix sidebar loading visibility ([#7073](https://github.com/storybookjs/storybook/pull/7073))
+- UI: Fix unnecessary large bundlesize ([#7091](https://github.com/storybookjs/storybook/pull/7091))
+- Addon-contexts, RN-server: Add core-js dep ([#7094](https://github.com/storybookjs/storybook/pull/7094))
## 5.2.0-alpha.26 (June 14, 2019)
@@ -2013,14 +3311,14 @@ Publish failed
### Bug Fixes
-* Core: Fix core-js 3 errors ([#7051](https://github.com/storybookjs/storybook/pull/7051))
-* UI: Fix syntax highlighter plain text not visible ([#7057](https://github.com/storybookjs/storybook/pull/7057))
-* Addon-actions: Add default options to action(s) ([#6438](https://github.com/storybookjs/storybook/pull/6438))
+- Core: Fix core-js 3 errors ([#7051](https://github.com/storybookjs/storybook/pull/7051))
+- UI: Fix syntax highlighter plain text not visible ([#7057](https://github.com/storybookjs/storybook/pull/7057))
+- Addon-actions: Add default options to action(s) ([#6438](https://github.com/storybookjs/storybook/pull/6438))
### Dependency Upgrades
-* fix: add missing core-js dependency ([#7016](https://github.com/storybookjs/storybook/pull/7016))
-* chore: set react version to 16.8.3 to match react native ([#7008](https://github.com/storybookjs/storybook/pull/7008))
+- fix: add missing core-js dependency ([#7016](https://github.com/storybookjs/storybook/pull/7016))
+- chore: set react version to 16.8.3 to match react native ([#7008](https://github.com/storybookjs/storybook/pull/7008))
## 5.2.0-alpha.24 (June 13, 2019)
@@ -2041,9 +3339,9 @@ Merge in changes from 5.1.3/next branch. Releasing from the addon-docs branch to
### Bug Fixes
-* UI: Fix links that are not working with plain left click ([#6970](https://github.com/storybookjs/storybook/pull/6970))
-* Core: Don't redefine `process` variable ([#6991](https://github.com/storybookjs/storybook/pull/6991))
-* Core: Don't mutate user's babel config ([#6987](https://github.com/storybookjs/storybook/pull/6987))
+- UI: Fix links that are not working with plain left click ([#6970](https://github.com/storybookjs/storybook/pull/6970))
+- Core: Don't redefine `process` variable ([#6991](https://github.com/storybookjs/storybook/pull/6991))
+- Core: Don't mutate user's babel config ([#6987](https://github.com/storybookjs/storybook/pull/6987))
## 5.1.2 (June 6, 2019)
@@ -2058,7 +3356,7 @@ Storybook 5.1 is a juicy upgrade including:
- 🛠 Context addon: New UI for themes, internationalization, & more
- 🎛 Presets: One-line configuration for babel, webpack, & addons
-5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to upgrade from `5.0` or earlier.
+ 5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to upgrade from `5.0` or earlier.
## 5.1.0 (June 5, 2019)
@@ -2068,30 +3366,30 @@ Publish failed
### Features
-* UI: Add copy button for individual story ([#6719](https://github.com/storybookjs/storybook/pull/6719))
+- UI: Add copy button for individual story ([#6719](https://github.com/storybookjs/storybook/pull/6719))
### Bug Fixes
-* UI: Fix canvas rendering issue ([#6968](https://github.com/storybookjs/storybook/pull/6968))
-* Angular: Remove zonejs from devDeps; allow ^0.8.0 || ^0.9.0 ([#6957](https://github.com/storybookjs/storybook/pull/6957))
-* Jest: layout/design fixes ([#6847](https://github.com/storybookjs/storybook/pull/6847))
-* Angular: Add 'addParameters' to index.d.ts ([#6929](https://github.com/storybookjs/storybook/pull/6929))
+- UI: Fix canvas rendering issue ([#6968](https://github.com/storybookjs/storybook/pull/6968))
+- Angular: Remove zonejs from devDeps; allow ^0.8.0 || ^0.9.0 ([#6957](https://github.com/storybookjs/storybook/pull/6957))
+- Jest: layout/design fixes ([#6847](https://github.com/storybookjs/storybook/pull/6847))
+- Angular: Add 'addParameters' to index.d.ts ([#6929](https://github.com/storybookjs/storybook/pull/6929))
### Maintenance
-* FIX race condition in startup of verdaccio && FIX typos ([#6956](https://github.com/storybookjs/storybook/pull/6956))
-* Github org rename to storybookjs ([#6954](https://github.com/storybookjs/storybook/pull/6954))
+- FIX race condition in startup of verdaccio && FIX typos ([#6956](https://github.com/storybookjs/storybook/pull/6956))
+- Github org rename to storybookjs ([#6954](https://github.com/storybookjs/storybook/pull/6954))
## 5.1.0-rc.4 (June 2, 2019)
### Features
-* Core: deep merge global options parameter ([#6900](https://github.com/storybookjs/storybook/pull/6900))
+- Core: deep merge global options parameter ([#6900](https://github.com/storybookjs/storybook/pull/6900))
### Bug Fixes
-* Core: Fix webpack `process.*` variable definitions ([#6946](https://github.com/storybookjs/storybook/pull/6946))
-* Angular: Fix tsconfig.app.json detection for Angular 8 ([#6940](https://github.com/storybookjs/storybook/pull/6940))
+- Core: Fix webpack `process.*` variable definitions ([#6946](https://github.com/storybookjs/storybook/pull/6946))
+- Angular: Fix tsconfig.app.json detection for Angular 8 ([#6940](https://github.com/storybookjs/storybook/pull/6940))
## 5.2.0-alpha.21 (June 2, 2019)
@@ -2107,21 +3405,21 @@ Publish failed
### Features
-* React-native: Add accessibility on searchbar ([#6819](https://github.com/storybookjs/storybook/pull/6819))
+- React-native: Add accessibility on searchbar ([#6819](https://github.com/storybookjs/storybook/pull/6819))
### Bug Fixes
-* Storyshots: make compatible with read-pkg-up version ([#6907](https://github.com/storybookjs/storybook/pull/6907))
-* Addon-info: Fix issue where forwardRefs throw ([#6859](https://github.com/storybookjs/storybook/pull/6859))
-* Addon-notes: Fix whitespace rendering bug ([#6881](https://github.com/storybookjs/storybook/pull/6881))
+- Storyshots: make compatible with read-pkg-up version ([#6907](https://github.com/storybookjs/storybook/pull/6907))
+- Addon-info: Fix issue where forwardRefs throw ([#6859](https://github.com/storybookjs/storybook/pull/6859))
+- Addon-notes: Fix whitespace rendering bug ([#6881](https://github.com/storybookjs/storybook/pull/6881))
### Dependency Upgrades
-* Bump @types/enzyme from 3.9.2 to 3.9.3 ([#6891](https://github.com/storybookjs/storybook/pull/6891))
-* Bump eslint-plugin-import from 2.17.2 to 2.17.3 ([#6894](https://github.com/storybookjs/storybook/pull/6894))
-* Bump mini-css-extract-plugin from 0.6.0 to 0.7.0 ([#6895](https://github.com/storybookjs/storybook/pull/6895))
-* Bump ts-node from 8.1.0 to 8.2.0 ([#6890](https://github.com/storybookjs/storybook/pull/6890))
-* Bump svelte from 3.4.2 to 3.4.4 ([#6892](https://github.com/storybookjs/storybook/pull/6892))
+- Bump @types/enzyme from 3.9.2 to 3.9.3 ([#6891](https://github.com/storybookjs/storybook/pull/6891))
+- Bump eslint-plugin-import from 2.17.2 to 2.17.3 ([#6894](https://github.com/storybookjs/storybook/pull/6894))
+- Bump mini-css-extract-plugin from 0.6.0 to 0.7.0 ([#6895](https://github.com/storybookjs/storybook/pull/6895))
+- Bump ts-node from 8.1.0 to 8.2.0 ([#6890](https://github.com/storybookjs/storybook/pull/6890))
+- Bump svelte from 3.4.2 to 3.4.4 ([#6892](https://github.com/storybookjs/storybook/pull/6892))
## 5.2.0-alpha.19 (May 28, 2019)
@@ -2131,7 +3429,7 @@ Publish failed
### Bug Fixes
-* Core: Fix JS/JSON loading babel config ([#6878](https://github.com/storybookjs/storybook/pull/6878))
+- Core: Fix JS/JSON loading babel config ([#6878](https://github.com/storybookjs/storybook/pull/6878))
## 5.2.0-alpha.18 (May 26, 2019)
@@ -2167,55 +3465,55 @@ Publish failed
### Features
-* Core: Support loglevel for production/ci builds ([#6825](https://github.com/storybookjs/storybook/pull/6825))
+- Core: Support loglevel for production/ci builds ([#6825](https://github.com/storybookjs/storybook/pull/6825))
### Bug Fixes
-* Addon-storysource: Fix link color ([#6876](https://github.com/storybookjs/storybook/pull/6876))
-* Addon-centered: Fix unnecessary scroll bar ([#6862](https://github.com/storybookjs/storybook/pull/6862))
-* UI: Apply customQueryParams to eject iframe button ([#6817](https://github.com/storybookjs/storybook/pull/6817))
-* Theming: resolve paths locally if possible ([#6808](https://github.com/storybookjs/storybook/pull/6808))
-* Addon-links: Fix withLinks decorator ([#6823](https://github.com/storybookjs/storybook/pull/6823))
+- Addon-storysource: Fix link color ([#6876](https://github.com/storybookjs/storybook/pull/6876))
+- Addon-centered: Fix unnecessary scroll bar ([#6862](https://github.com/storybookjs/storybook/pull/6862))
+- UI: Apply customQueryParams to eject iframe button ([#6817](https://github.com/storybookjs/storybook/pull/6817))
+- Theming: resolve paths locally if possible ([#6808](https://github.com/storybookjs/storybook/pull/6808))
+- Addon-links: Fix withLinks decorator ([#6823](https://github.com/storybookjs/storybook/pull/6823))
### Maintenance
-* Addon-contexts: component tests and readability improvements ([#6716](https://github.com/storybookjs/storybook/pull/6716))
+- Addon-contexts: component tests and readability improvements ([#6716](https://github.com/storybookjs/storybook/pull/6716))
### Dependency Upgrades
-* Upgrade CRA preset dependencies to match CRA v3 ([#6589](https://github.com/storybookjs/storybook/pull/6589))
-* Bump schedule from 0.4.0 to 0.5.0 ([#6843](https://github.com/storybookjs/storybook/pull/6843))
-* UPGRADE dependencies & fix a security vulnerability (low-prio) ([#6875](https://github.com/storybookjs/storybook/pull/6875))
-* Bump simplebar-react from 1.0.0-alpha.9 to 1.0.0 ([#6842](https://github.com/storybookjs/storybook/pull/6842))
-* Bump ts-loader from 5.4.5 to 6.0.1 ([#6839](https://github.com/storybookjs/storybook/pull/6839))
-* Bump @types/react from 16.8.17 to 16.8.18 ([#6841](https://github.com/storybookjs/storybook/pull/6841))
-* Bump core-js-pure from 3.1.0 to 3.1.1 ([#6840](https://github.com/storybookjs/storybook/pull/6840))
+- Upgrade CRA preset dependencies to match CRA v3 ([#6589](https://github.com/storybookjs/storybook/pull/6589))
+- Bump schedule from 0.4.0 to 0.5.0 ([#6843](https://github.com/storybookjs/storybook/pull/6843))
+- UPGRADE dependencies & fix a security vulnerability (low-prio) ([#6875](https://github.com/storybookjs/storybook/pull/6875))
+- Bump simplebar-react from 1.0.0-alpha.9 to 1.0.0 ([#6842](https://github.com/storybookjs/storybook/pull/6842))
+- Bump ts-loader from 5.4.5 to 6.0.1 ([#6839](https://github.com/storybookjs/storybook/pull/6839))
+- Bump @types/react from 16.8.17 to 16.8.18 ([#6841](https://github.com/storybookjs/storybook/pull/6841))
+- Bump core-js-pure from 3.1.0 to 3.1.1 ([#6840](https://github.com/storybookjs/storybook/pull/6840))
## 5.1.0-rc.0 (May 21, 2019)
### Bug Fixes
-* UI: Fix initial bottom panel size ([#6822](https://github.com/storybookjs/storybook/pull/6822))
-* UI: Fix syntaxthighlighter themes ([#6814](https://github.com/storybookjs/storybook/pull/6814))
-* Addon-knobs: Fix Boolean knob (#6366) ([#6830](https://github.com/storybookjs/storybook/pull/6830))
-* Theming: Change lib/theming so it no longer depends on react-inspector ([#6818](https://github.com/storybookjs/storybook/pull/6818))
-* Core: Handle loading `.storybook/babel.config.js` (#6633) ([#6634](https://github.com/storybookjs/storybook/pull/6634))
-* CLI: Fix init in create-react-library projects ([#6815](https://github.com/storybookjs/storybook/pull/6815))
-* HTML: support knobs for both cached and uncached nodes ([#6783](https://github.com/storybookjs/storybook/pull/6783))
-* Uncorrupt yarn lock ([#6811](https://github.com/storybookjs/storybook/pull/6811))
-* Core: set a better value for process in manager webpack config ([#6767](https://github.com/storybookjs/storybook/pull/6767))
+- UI: Fix initial bottom panel size ([#6822](https://github.com/storybookjs/storybook/pull/6822))
+- UI: Fix syntaxthighlighter themes ([#6814](https://github.com/storybookjs/storybook/pull/6814))
+- Addon-knobs: Fix Boolean knob (#6366) ([#6830](https://github.com/storybookjs/storybook/pull/6830))
+- Theming: Change lib/theming so it no longer depends on react-inspector ([#6818](https://github.com/storybookjs/storybook/pull/6818))
+- Core: Handle loading `.storybook/babel.config.js` (#6633) ([#6634](https://github.com/storybookjs/storybook/pull/6634))
+- CLI: Fix init in create-react-library projects ([#6815](https://github.com/storybookjs/storybook/pull/6815))
+- HTML: support knobs for both cached and uncached nodes ([#6783](https://github.com/storybookjs/storybook/pull/6783))
+- Uncorrupt yarn lock ([#6811](https://github.com/storybookjs/storybook/pull/6811))
+- Core: set a better value for process in manager webpack config ([#6767](https://github.com/storybookjs/storybook/pull/6767))
### Maintenance
-* Typescript: Migrate addon-centered ([#6772](https://github.com/storybookjs/storybook/pull/6772))
-* Add engine field to package.json in apps ([#6809](https://github.com/storybookjs/storybook/pull/6809))
-* Fix required engine for apps ([#6810](https://github.com/storybookjs/storybook/pull/6810))
+- Typescript: Migrate addon-centered ([#6772](https://github.com/storybookjs/storybook/pull/6772))
+- Add engine field to package.json in apps ([#6809](https://github.com/storybookjs/storybook/pull/6809))
+- Fix required engine for apps ([#6810](https://github.com/storybookjs/storybook/pull/6810))
### Dependency Upgrades
-* Upgrade lodash to latest ([#6832](https://github.com/storybookjs/storybook/pull/6832))
-* Bump svelte from 3.4.1 to 3.4.2 ([#6838](https://github.com/storybookjs/storybook/pull/6838))
-* Misc upgrades ([#6820](https://github.com/storybookjs/storybook/pull/6820))
+- Upgrade lodash to latest ([#6832](https://github.com/storybookjs/storybook/pull/6832))
+- Bump svelte from 3.4.1 to 3.4.2 ([#6838](https://github.com/storybookjs/storybook/pull/6838))
+- Misc upgrades ([#6820](https://github.com/storybookjs/storybook/pull/6820))
## 5.2.0-alpha.12 (May 21, 2019)
@@ -2244,18 +3542,18 @@ Publish failed
### Bug Fixes
-* UI: Scrollbar supports theming again ([#6794](https://github.com/storybookjs/storybook/pull/6794))
-* UI: Fix scrolling styling ([#6785](https://github.com/storybookjs/storybook/pull/6785))
-* UI: Fix iframe refresh ([#6787](https://github.com/storybookjs/storybook/pull/6787))
-* UI: Preserve dimensions on resizing for panel ([#6696](https://github.com/storybookjs/storybook/pull/6696))
+- UI: Scrollbar supports theming again ([#6794](https://github.com/storybookjs/storybook/pull/6794))
+- UI: Fix scrolling styling ([#6785](https://github.com/storybookjs/storybook/pull/6785))
+- UI: Fix iframe refresh ([#6787](https://github.com/storybookjs/storybook/pull/6787))
+- UI: Preserve dimensions on resizing for panel ([#6696](https://github.com/storybookjs/storybook/pull/6696))
### Maintenance
-* Move chromatic to circle ci ([#6752](https://github.com/storybookjs/storybook/pull/6752))
+- Move chromatic to circle ci ([#6752](https://github.com/storybookjs/storybook/pull/6752))
### Dependency Upgrades
-* Bump fs-extra from 7.0.1 to 8.0.1 ([#6776](https://github.com/storybookjs/storybook/pull/6776))
+- Bump fs-extra from 7.0.1 to 8.0.1 ([#6776](https://github.com/storybookjs/storybook/pull/6776))
## 5.2.0-alpha.8 (May 15, 2019)
@@ -2297,7 +3595,7 @@ After:
#### Breaking changes
- Doc blocks & presets have moved. Update your MDX stories and `presets.js` file accordingly:
- - `import { Preview, Story } from '@storybook/addon-docs/blocks';
+ - `import { Preview, Story } from '@storybook/addon-docs/blocks';`
- `module.exports = ['@storybook/addon-docs/common/preset'];`
## 5.1.0-beta.0 (May 10, 2019)
@@ -9201,57 +10499,57 @@ Storybook 3.0 is our first fully community-driven release! Notable changes:
## v2.35.3
-Allow customConfig to override devtool. [PR668](https://github.com/storybookjs/react-storybook/pull/668)
+Allow customConfig to override devtool. [PR668](https://github.com/storybookjs/storybook/pull/668)
## v2.35.2
03-January-2017
-Fixes issue [#601](https://github.com/storybookjs/react-storybook/issues/601) where it throws error when introduce a propType with a hypen. Add a [fix](https://github.com/kadirahq/babel-plugin-react-docgen/pull/23) to [`babel-plugin-react-docgen`](https://github.com/kadirahq/babel-plugin-react-docgen) to fix this issue.
+Fixes issue [#601](https://github.com/storybookjs/storybook/issues/601) where it throws error when introduce a propType with a hypen. Add a [fix](https://github.com/kadirahq/babel-plugin-react-docgen/pull/23) to [`babel-plugin-react-docgen`](https://github.com/kadirahq/babel-plugin-react-docgen) to fix this issue.
This release comes with the updated `babel-plugin-react-docgen`.
## v2.35.1
-- Revert [PR653](https://github.com/storybookjs/react-storybook/pull/653) where it's causing HMR to not working properly.
+- Revert [PR653](https://github.com/storybookjs/storybook/pull/653) where it's causing HMR to not working properly.
## v2.35.0
18-December-2016
-- Using file-loader to load all the extensions [PR653](https://github.com/storybookjs/react-storybook/pull/653)
-- Update css-loader dependency [PR648](https://github.com/storybookjs/react-storybook/pull/648)
-- Check if stories are loaded from Jest [PR644](https://github.com/storybookjs/react-storybook/pull/644)
+- Using file-loader to load all the extensions [PR653](https://github.com/storybookjs/storybook/pull/653)
+- Update css-loader dependency [PR648](https://github.com/storybookjs/storybook/pull/648)
+- Check if stories are loaded from Jest [PR644](https://github.com/storybookjs/storybook/pull/644)
## v2.34.0
05-December-2016
-Open the express router for developers (middleware.js file). [PR435](https://github.com/storybookjs/react-storybook/pull/435)
+Open the express router for developers (middleware.js file). [PR435](https://github.com/storybookjs/storybook/pull/435)
## v2.33.1
01-December-2016
-Update Typescript definition file for global addDecorator. [PR634](https://github.com/storybookjs/react-storybook/pull/634)
+Update Typescript definition file for global addDecorator. [PR634](https://github.com/storybookjs/storybook/pull/634)
## v2.33.0
28-November-2016
-Completely avoid re-rendering the preview iframe. [PR631](https://github.com/storybookjs/react-storybook/pull/631)
+Completely avoid re-rendering the preview iframe. [PR631](https://github.com/storybookjs/storybook/pull/631)
## v2.32.2
28-November-2016
-Update postmsg channel module version [PR627](https://github.com/storybookjs/react-storybook/pull/627)
+Update postmsg channel module version [PR627](https://github.com/storybookjs/storybook/pull/627)
## v2.32.1
22-November-2016
-Add support for react_perf comes with React 15.4.0. [PR623](https://github.com/storybookjs/react-storybook/pull/623)
+Add support for react_perf comes with React 15.4.0. [PR623](https://github.com/storybookjs/storybook/pull/623)
## v2.32.0
@@ -9261,13 +10559,13 @@ Incorrect publish (error when running `npm publish`)
20-November-2016
-Add the react-storybook version to the build output. [PR621](https://github.com/storybookjs/react-storybook/pull/621)
+Add the react-storybook version to the build output. [PR621](https://github.com/storybookjs/storybook/pull/621)
## v2.30.1
17-November-2016
-Update the postmsg channel module to fix issue [#555](https://github.com/storybookjs/react-storybook/issues/555) with [PR611](https://github.com/storybookjs/react-storybook/pull/611)
+Update the postmsg channel module to fix issue [#555](https://github.com/storybookjs/storybook/issues/555) with [PR611](https://github.com/storybookjs/storybook/pull/611)
## v2.30.0
@@ -9285,19 +10583,19 @@ Update @kadira/storybook-ui to the latest.
10-November-2016
-Fix a typo in the story syntax error messages. [PR610](https://github.com/storybookjs/react-storybook/pull/610)
+Fix a typo in the story syntax error messages. [PR610](https://github.com/storybookjs/storybook/pull/610)
## v2.29.5
09-November-2016
-Check if regex and regex.test is available before calling it. [PR608](https://github.com/storybookjs/react-storybook/pull/608)
+Check if regex and regex.test is available before calling it. [PR608](https://github.com/storybookjs/storybook/pull/608)
## v2.29.3
08-November-2016
-Update webpack-hot-middleware to version 2.13.2 to fix the issue [#543](https://github.com/storybookjs/react-storybook/issues/543).
+Update webpack-hot-middleware to version 2.13.2 to fix the issue [#543](https://github.com/storybookjs/storybook/issues/543).
## v2.29.3
@@ -9312,11 +10610,11 @@ There was a text called undefined listed always on the top of the preview.
Add various fixes.
-- Use webpack chunkhash to enable long-term caching. [PR597](https://github.com/storybookjs/react-storybook/pull/597)
-- Fixed json loader testing for when test is multiple. [PR598](https://github.com/storybookjs/react-storybook/pull/598)
-- Fix usage of custom favicon [PR592](https://github.com/storybookjs/react-storybook/pull/592)
-- Update postcss-loader to v1.1.0 [PR599](https://github.com/storybookjs/react-storybook/pull/599)
-- fix for `module.hot` is not available in a static build [PR600](https://github.com/storybookjs/react-storybook/pull/600)
+- Use webpack chunkhash to enable long-term caching. [PR597](https://github.com/storybookjs/storybook/pull/597)
+- Fixed json loader testing for when test is multiple. [PR598](https://github.com/storybookjs/storybook/pull/598)
+- Fix usage of custom favicon [PR592](https://github.com/storybookjs/storybook/pull/592)
+- Update postcss-loader to v1.1.0 [PR599](https://github.com/storybookjs/storybook/pull/599)
+- fix for `module.hot` is not available in a static build [PR600](https://github.com/storybookjs/storybook/pull/600)
## v2.29.1
@@ -9335,13 +10633,13 @@ This will fix some of the compilation issues such as #580.
28-October-2016
-Remove preview decorator support. [PR583](https://github.com/storybookjs/react-storybook/pull/583).
+Remove preview decorator support. [PR583](https://github.com/storybookjs/storybook/pull/583).
## v2.28.0
28-October-2016
-Add preview decorator support. [PR582](https://github.com/storybookjs/react-storybook/pull/582).
+Add preview decorator support. [PR582](https://github.com/storybookjs/storybook/pull/582).
This will help us bring storybook designer with some great power.
## v2.27.0
@@ -9350,11 +10648,11 @@ This will help us bring storybook designer with some great power.
Add a few usability improvements to Storybook.
-- Display storybook version. [PR559](https://github.com/storybookjs/react-storybook/pull/559)
-- Make the storybooks cacheable. [PR578](https://github.com/storybookjs/react-storybook/pull/578)
-- Change the devtool to eval and remove the use of source maps. [PR577](https://github.com/storybookjs/react-storybook/pull/577)
-- Update `babel-preset-react-app` to the latest. [PR576](https://github.com/storybookjs/react-storybook/pull/576)
-- Ship `json-loader` by default. [PR575](https://github.com/storybookjs/react-storybook/pull/575)
+- Display storybook version. [PR559](https://github.com/storybookjs/storybook/pull/559)
+- Make the storybooks cacheable. [PR578](https://github.com/storybookjs/storybook/pull/578)
+- Change the devtool to eval and remove the use of source maps. [PR577](https://github.com/storybookjs/storybook/pull/577)
+- Update `babel-preset-react-app` to the latest. [PR576](https://github.com/storybookjs/storybook/pull/576)
+- Ship `json-loader` by default. [PR575](https://github.com/storybookjs/storybook/pull/575)
## v2.26.0
@@ -9362,21 +10660,21 @@ Add a few usability improvements to Storybook.
Get some new features from CRA.
-- Add jsx as a resolve extension [PR563](https://github.com/storybookjs/react-storybook/pull/563)
-- Allow to use postcss for CSS @imports [PR564](https://github.com/storybookjs/react-storybook/pull/564)
-- Use process.env as a proper object [PR565](https://github.com/storybookjs/react-storybook/pull/565)
+- Add jsx as a resolve extension [PR563](https://github.com/storybookjs/storybook/pull/563)
+- Allow to use postcss for CSS @imports [PR564](https://github.com/storybookjs/storybook/pull/564)
+- Use process.env as a proper object [PR565](https://github.com/storybookjs/storybook/pull/565)
## v2.25.1
23-October-2016
-Add a potential fix to [558](https://github.com/storybookjs/react-storybook/issues/558) by updating babel-plugin-react-docgen to the latest(v1.3.2).
+Add a potential fix to [558](https://github.com/storybookjs/storybook/issues/558) by updating babel-plugin-react-docgen to the latest(v1.3.2).
## v2.25.0
21-October-2016
-Add react docgen info into React classes with the react-docgen babel plugin. [PR557](https://github.com/storybookjs/react-storybook/pull/557).
+Add react docgen info into React classes with the react-docgen babel plugin. [PR557](https://github.com/storybookjs/storybook/pull/557).
With this:
- We could get docgen info with any React component class using `ClassName.__docgenInfo`.
@@ -9388,19 +10686,19 @@ Additionally, added `yarn.lock`.
19-October-2016
-Do not show git command output. [PR554](https://github.com/storybookjs/react-storybook/pull/554)
+Do not show git command output. [PR554](https://github.com/storybookjs/storybook/pull/554)
## v2.24.0
07-October-2016
-- Export git repository info to support custom tool integrations [PR536](https://github.com/storybookjs/react-storybook/pull/536)
+- Export git repository info to support custom tool integrations [PR536](https://github.com/storybookjs/storybook/pull/536)
## v2.23.0
06-October-2016
-- Remove the experimental database addon from react-storybook [PR535](https://github.com/storybookjs/react-storybook/pull/535)
+- Remove the experimental database addon from react-storybook [PR535](https://github.com/storybookjs/storybook/pull/535)
## v2.22.0
@@ -9408,142 +10706,142 @@ Do not show git command output. [PR554](https://github.com/storybookjs/react-sto
Add some nice development experiment based on suggestion from Dan Abramov.
-- Set a color to the Storybook URL in the console. [PR533](https://github.com/storybookjs/react-storybook/pull/533)
-- Add better error message when there's no React element in the story. [PR534](https://github.com/storybookjs/react-storybook/pull/534)
+- Set a color to the Storybook URL in the console. [PR533](https://github.com/storybookjs/storybook/pull/533)
+- Add better error message when there's no React element in the story. [PR534](https://github.com/storybookjs/storybook/pull/534)
## v2.21.0
05-October-2016
-- Get the latest features from CRA including NODE_PATH support, public folder support and some other minor changes. [#468](https://github.com/storybookjs/react-storybook/issues/468)
+- Get the latest features from CRA including NODE_PATH support, public folder support and some other minor changes. [#468](https://github.com/storybookjs/storybook/issues/468)
- Also bumped `@kadira/storybook-channel-postmsg` to `^1.0.3`
## v2.20.1
28-September-2016
-- Fix story kind order bug [PR499](https://github.com/storybookjs/react-storybook/pull/499)
-- Prefix config environment variables [PR503](https://github.com/storybookjs/react-storybook/pull/503)
+- Fix story kind order bug [PR499](https://github.com/storybookjs/storybook/pull/499)
+- Prefix config environment variables [PR503](https://github.com/storybookjs/storybook/pull/503)
## v2.20.0
26-September-2016
-- Use postMessage channel [PR498](https://github.com/storybookjs/react-storybook/pull/498)
-- Support dynamic panel titles [PR497](https://github.com/storybookjs/react-storybook/pull/497)
+- Use postMessage channel [PR498](https://github.com/storybookjs/storybook/pull/498)
+- Support dynamic panel titles [PR497](https://github.com/storybookjs/storybook/pull/497)
## v2.19.0
26-September-2016
-- Support layout options [PR494](https://github.com/storybookjs/react-storybook/pull/494)
-- Update Typescript definitions [PR491](https://github.com/storybookjs/react-storybook/pull/491) and [PR493](https://github.com/storybookjs/react-storybook/pull/493)
+- Support layout options [PR494](https://github.com/storybookjs/storybook/pull/494)
+- Update Typescript definitions [PR491](https://github.com/storybookjs/storybook/pull/491) and [PR493](https://github.com/storybookjs/storybook/pull/493)
## v2.18.1
23-September-2016
-- Stop uglifyjs from mangling names [PR483](https://github.com/storybookjs/react-storybook/pull/483)
+- Stop uglifyjs from mangling names [PR483](https://github.com/storybookjs/storybook/pull/483)
## v2.18.0
23-September-2016
-- Remove `STORYBOOK_` prefix from config env [PR481](https://github.com/storybookjs/react-storybook/pull/481)
+- Remove `STORYBOOK_` prefix from config env [PR481](https://github.com/storybookjs/storybook/pull/481)
## v2.17.0
22-September-2016
-- Add support for StoryShots. [PR479](https://github.com/storybookjs/react-storybook/pull/479)
-- Fix some typos: [PR477](https://github.com/storybookjs/react-storybook/pull/477) & [PR478](https://github.com/storybookjs/react-storybook/pull/478)
+- Add support for StoryShots. [PR479](https://github.com/storybookjs/storybook/pull/479)
+- Fix some typos: [PR477](https://github.com/storybookjs/storybook/pull/477) & [PR478](https://github.com/storybookjs/storybook/pull/478)
## v2.16.1
21-September-2016
-- Fix the 404 error for `addon-db.json` file [PR472](https://github.com/storybookjs/react-storybook/pull/472)
-- Serve/Bundle the storybook favicon [PR473](https://github.com/storybookjs/react-storybook/pull/473)
+- Fix the 404 error for `addon-db.json` file [PR472](https://github.com/storybookjs/storybook/pull/472)
+- Serve/Bundle the storybook favicon [PR473](https://github.com/storybookjs/storybook/pull/473)
## v2.16.0
21-September-2016
-- Move the babel config loading logic into a seperate file. [PR469](https://github.com/storybookjs/react-storybook/pull/469)
+- Move the babel config loading logic into a seperate file. [PR469](https://github.com/storybookjs/storybook/pull/469)
- Update airbnd eslint rules to the latest.
## v2.15.1
19-September-2016
-Add a fix to webpack custom resolve.alias not working. [PR465](https://github.com/storybookjs/react-storybook/pull/465)
+Add a fix to webpack custom resolve.alias not working. [PR465](https://github.com/storybookjs/storybook/pull/465)
## v2.15.0
19-September-2016
-- Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. [PR462](https://github.com/storybookjs/react-storybook/pull/462)
+- Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. [PR462](https://github.com/storybookjs/storybook/pull/462)
## v2.14.0
14-September-2016
-- Watch missing NPM modules and force webpack rebuild. [PR446](https://github.com/storybookjs/react-storybook/pull/446)
-- Fix issue on error message hanging after even it solved. [PR447](https://github.com/storybookjs/react-storybook/pull/447)
-- Allow to reload if HMR goes crazy. [PR448](https://github.com/storybookjs/react-storybook/pull/448)
-- Add support to get custom env variables. [PR450](https://github.com/storybookjs/react-storybook/pull/450)
+- Watch missing NPM modules and force webpack rebuild. [PR446](https://github.com/storybookjs/storybook/pull/446)
+- Fix issue on error message hanging after even it solved. [PR447](https://github.com/storybookjs/storybook/pull/447)
+- Allow to reload if HMR goes crazy. [PR448](https://github.com/storybookjs/storybook/pull/448)
+- Add support to get custom env variables. [PR450](https://github.com/storybookjs/storybook/pull/450)
## v2.13.1
14-September-2016
-- Fix 404 error when db file does not exist [PR449](https://github.com/storybookjs/react-storybook/pull/449)
+- Fix 404 error when db file does not exist [PR449](https://github.com/storybookjs/storybook/pull/449)
## v2.13.0
9-September-2016
-- Fix [#443](https://github.com/storybookjs/react-storybook/issues/443) where the static version of Storybook doesn't like Safari.
+- Fix [#443](https://github.com/storybookjs/storybook/issues/443) where the static version of Storybook doesn't like Safari.
- Update postcss-loader to 0.13.0.
## v2.12.1
8-September-2016
-- Parse static directory provided by env as a list. [PR436](https://github.com/storybookjs/react-storybook/pull/436)
+- Parse static directory provided by env as a list. [PR436](https://github.com/storybookjs/storybook/pull/436)
## v2.12.0
8-September-2016
-- Do not include addon register file on preview. [PR426](https://github.com/storybookjs/react-storybook/pull/426)
-- Update css-loader to version 0.25.0. [PR427](https://github.com/storybookjs/react-storybook/pull/427)
-- Get the head.html values for every page request. [PR432](https://github.com/storybookjs/react-storybook/pull/432)
+- Do not include addon register file on preview. [PR426](https://github.com/storybookjs/storybook/pull/426)
+- Update css-loader to version 0.25.0. [PR427](https://github.com/storybookjs/storybook/pull/427)
+- Get the head.html values for every page request. [PR432](https://github.com/storybookjs/storybook/pull/432)
## v2.11.0
4-September-2016
- Remove babel-polyfill since we don't use it.
-- Update versions with the help from greenkeeper. [PR421](https://github.com/storybookjs/react-storybook/pull/421)
+- Update versions with the help from greenkeeper. [PR421](https://github.com/storybookjs/storybook/pull/421)
## v2.10.0
3-September-2016
-- Adding airbnb-js-shims again. [PR419](https://github.com/storybookjs/react-storybook/pull/419)
+- Adding airbnb-js-shims again. [PR419](https://github.com/storybookjs/storybook/pull/419)
## v2.9.1
2-September-2016.
-- Use the config directory to store the addon database file [PR418](https://github.com/storybookjs/react-storybook/pull/418).
+- Use the config directory to store the addon database file [PR418](https://github.com/storybookjs/storybook/pull/418).
## v2.9.0
2-September-2016.
-- Copy the addon-db.json file when building static storybooks [PR417](https://github.com/storybookjs/react-storybook/pull/417).
+- Copy the addon-db.json file when building static storybooks [PR417](https://github.com/storybookjs/storybook/pull/417).
## v2.8.0
@@ -9555,25 +10853,25 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co
1-September-2016
-- Add addon database feature [PR415](https://github.com/storybookjs/react-storybook/pull/415).
+- Add addon database feature [PR415](https://github.com/storybookjs/storybook/pull/415).
## v2.6.1
31-August-2016
-- Bring back HMR dev logs. [PR412](https://github.com/storybookjs/react-storybook/pull/412).
+- Bring back HMR dev logs. [PR412](https://github.com/storybookjs/storybook/pull/412).
## v2.6.0
30-August-2016
-- Allow start/build params from env variables. [PR413](https://github.com/storybookjs/react-storybook/pull/413)
+- Allow start/build params from env variables. [PR413](https://github.com/storybookjs/storybook/pull/413)
## v2.5.2
29-August-2016
-- Remove the use of babel-runtime/core-js modules. [PR410](https://github.com/storybookjs/react-storybook/pull/410)
+- Remove the use of babel-runtime/core-js modules. [PR410](https://github.com/storybookjs/storybook/pull/410)
## v2.5.1
@@ -9585,13 +10883,13 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co
24-August-2016
-- We are no longer shipping extra polyfills anymore. [PR402](https://github.com/storybookjs/react-storybook/pull/402)
+- We are no longer shipping extra polyfills anymore. [PR402](https://github.com/storybookjs/storybook/pull/402)
## v2.4.2
24-August-2016
-- Allow file-loader URLs to work on subpaths. [PR401](https://github.com/storybookjs/react-storybook/pull/401)
+- Allow file-loader URLs to work on subpaths. [PR401](https://github.com/storybookjs/storybook/pull/401)
## v2.4.1
@@ -9603,34 +10901,34 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co
23-August-2016
-- Simplify the option to stop tracking. [PR399](https://github.com/storybookjs/react-storybook/pull/399)
-- Use JSON5 instead of CJSON to parse .babelrc. [PR398](https://github.com/storybookjs/react-storybook/pull/398)
-- Add webpack2 support by changing the use of OccurenceOrderPlugin. [PR397](https://github.com/storybookjs/react-storybook/pull/397)
+- Simplify the option to stop tracking. [PR399](https://github.com/storybookjs/storybook/pull/399)
+- Use JSON5 instead of CJSON to parse .babelrc. [PR398](https://github.com/storybookjs/storybook/pull/398)
+- Add webpack2 support by changing the use of OccurenceOrderPlugin. [PR397](https://github.com/storybookjs/storybook/pull/397)
- Use @kadira/storybook-ui 2.3.0, which has new APIs to set URL for addons.
## v2.3.0
16-August-2016
-- Implement anonymous usage tracking. [PR384](https://github.com/storybookjs/react-storybook/pull/384)
+- Implement anonymous usage tracking. [PR384](https://github.com/storybookjs/storybook/pull/384)
## v2.2.3
15-August-2016
-- Add a hash to media file's filename. Otherwise, it'll cause issues when there are multiple images with the same filename but in different directories. [PR380](https://github.com/storybookjs/react-storybook/pull/380)
+- Add a hash to media file's filename. Otherwise, it'll cause issues when there are multiple images with the same filename but in different directories. [PR380](https://github.com/storybookjs/storybook/pull/380)
## v2.2.2
10-August-2016
-- Remove unused extract-text-webpack-plugin. This will add webpack2 support. [PR369](https://github.com/storybookjs/react-storybook/pull/369).
+- Remove unused extract-text-webpack-plugin. This will add webpack2 support. [PR369](https://github.com/storybookjs/storybook/pull/369).
## v2.2.1
09-August-2016
-- Use @kadira/storybook-channel modules. [#PR359](https://github.com/storybookjs/react-storybook/pull/359).
+- Use @kadira/storybook-channel modules. [#PR359](https://github.com/storybookjs/storybook/pull/359).
- Update @kadira/storybook-ui to the latest.
## v2.2.0
@@ -9639,25 +10937,25 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co
This release bring some webpack config related optimizations and the NPM2 support. Here are the notable changes:
-- Use es6-shim directly into webpack config. [PR355](https://github.com/storybookjs/react-storybook/pull/355)
-- Use the default babel-config based on CRA's config. [PR354](https://github.com/storybookjs/react-storybook/pull/354)
-- Add NPM2 support. [PR356](https://github.com/storybookjs/react-storybook/pull/356)
-- Add autofixer defaults. [PR357](https://github.com/storybookjs/react-storybook/pull/357)
+- Use es6-shim directly into webpack config. [PR355](https://github.com/storybookjs/storybook/pull/355)
+- Use the default babel-config based on CRA's config. [PR354](https://github.com/storybookjs/storybook/pull/354)
+- Add NPM2 support. [PR356](https://github.com/storybookjs/storybook/pull/356)
+- Add autofixer defaults. [PR357](https://github.com/storybookjs/storybook/pull/357)
## v2.1.1
03-August-2016
-Remove default webpack config for all config types. [PR348](https://github.com/storybookjs/react-storybook/pull/348)
+Remove default webpack config for all config types. [PR348](https://github.com/storybookjs/storybook/pull/348)
Now we only use the Create React App based config if there's no custom webpack config.
-This will fix issues like [#347](https://github.com/storybookjs/react-storybook/issues/347).
+This will fix issues like [#347](https://github.com/storybookjs/storybook/issues/347).
## v2.1.0
02-August-2016
-Add support for the addon API. See [PR346](https://github.com/storybookjs/react-storybook/pull/346).
+Add support for the addon API. See [PR346](https://github.com/storybookjs/storybook/pull/346).
Here after we are using most of the features including actions,links as plugins.
So, this introduced a huge area to add customizations to Storybook.
@@ -9667,7 +10965,7 @@ Unfortunately, as of this version, there are no docs for this feature. But, you
- actions addon (powers the action logger): [addon-actions](https://github.com/kadirahq/storybook-addon-actions)
- links addon (powers the linkTo feature): [addon-links](https://github.com/kadirahq/storybook-addon-links)
-Have a look at [here](https://github.com/storybookjs/react-storybook/blob/master/src/server/config.js#L88) to how to configure addons.
+Have a look at [here](https://github.com/storybookjs/storybook/blob/master/src/server/config.js#L88) to how to configure addons.
## v2.0.0
@@ -9675,7 +10973,7 @@ Have a look at [here](https://github.com/storybookjs/react-storybook/blob/master
This is the starting of the next major version of Storybook. This version is almost compatible with `v1.x.x` but defaults have been changes as discussed below. That's why we are starting out a new version.
-- Update defaults to match create-react-app. [PR342](https://github.com/storybookjs/react-storybook/pull/342). Here are the notable changes:
+- Update defaults to match create-react-app. [PR342](https://github.com/storybookjs/storybook/pull/342). Here are the notable changes:
- Add postcss based CSS loader.
- Add file-loader for images and common types.
- Add url-loader for shorter media files.
@@ -9685,17 +10983,17 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.41.0
-- Fix nodejs require errors [#337](https://github.com/storybookjs/react-storybook/pull/337).
-- Add getStorybook method to client API [#332](https://github.com/storybookjs/react-storybook/pull/332).
+- Fix nodejs require errors [#337](https://github.com/storybookjs/storybook/pull/337).
+- Add getStorybook method to client API [#332](https://github.com/storybookjs/storybook/pull/332).
## v1.40.0
-- Fix duplicate decorator bug [#335](https://github.com/storybookjs/react-storybook/pull/335).
+- Fix duplicate decorator bug [#335](https://github.com/storybookjs/storybook/pull/335).
## v1.39.1
-- Update babel packages [#325](https://github.com/storybookjs/react-storybook/pull/325).
-- Hide HMR info logs [#331](https://github.com/storybookjs/react-storybook/pull/331).
+- Update babel packages [#325](https://github.com/storybookjs/storybook/pull/325).
+- Hide HMR info logs [#331](https://github.com/storybookjs/storybook/pull/331).
## v1.39.0
@@ -9703,19 +11001,19 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.38.3
-- Add names for action and linkTo functions [#321](https://github.com/storybookjs/react-storybook/pull/321).
+- Add names for action and linkTo functions [#321](https://github.com/storybookjs/storybook/pull/321).
## v1.38.2
-- Fix error in prepublish script [#319](https://github.com/storybookjs/react-storybook/pull/319).
+- Fix error in prepublish script [#319](https://github.com/storybookjs/storybook/pull/319).
## v1.38.1
-- Improve Windows support by writing prepublish script using shelljs [#308](https://github.com/storybookjs/react-storybook/pull/308).
+- Improve Windows support by writing prepublish script using shelljs [#308](https://github.com/storybookjs/storybook/pull/308).
## v1.38.0
-- v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: [#306](https://github.com/storybookjs/react-storybook/issues/306) and [#305](https://github.com/storybookjs/react-storybook/pull/305).
+- v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: [#306](https://github.com/storybookjs/storybook/issues/306) and [#305](https://github.com/storybookjs/storybook/pull/305).
## v1.37.0
@@ -9723,7 +11021,7 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.36.0
-- Support watchOptions configuration. See: [PR287](https://github.com/storybookjs/react-storybook/pull/287)
+- Support watchOptions configuration. See: [PR287](https://github.com/storybookjs/storybook/pull/287)
## v1.35.2
@@ -9731,7 +11029,7 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.35.1
-- Fix issue related to bad error handling. See issue [#275](https://github.com/storybookjs/react-storybook/issues/275):
+- Fix issue related to bad error handling. See issue [#275](https://github.com/storybookjs/storybook/issues/275):
## v1.35.0
@@ -9739,7 +11037,7 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.34.1
-- Don't always override NODE_ENV in build-storybook. [PR272](https://github.com/storybookjs/react-storybook/pull/272)
+- Don't always override NODE_ENV in build-storybook. [PR272](https://github.com/storybookjs/storybook/pull/272)
## v1.34.0
@@ -9747,7 +11045,7 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.33.0
-- Introduce an [extension API](https://github.com/storybookjs/react-storybook/blob/master/docs/extensions.md) for Storybook. See: [PR258](https://github.com/storybookjs/react-storybook/pull/258)
+- Introduce an [extension API](https://github.com/storybookjs/storybook/blob/master/docs/extensions.md) for Storybook. See: [PR258](https://github.com/storybookjs/storybook/pull/258)
## v1.32.1
@@ -9759,67 +11057,67 @@ This is the starting of the next major version of Storybook. This version is alm
## v1.31.0
-- Pass a `context` argument to stories [PR250](https://github.com/storybookjs/react-storybook/pull/250)
+- Pass a `context` argument to stories [PR250](https://github.com/storybookjs/storybook/pull/250)
## v1.30.0
-- Fuzzy search kinds [PR247](https://github.com/storybookjs/react-storybook/pull/247)
+- Fuzzy search kinds [PR247](https://github.com/storybookjs/storybook/pull/247)
## v1.29.5
-- Update dependency version to fix filter crash [PR246](https://github.com/storybookjs/react-storybook/pull/246)
+- Update dependency version to fix filter crash [PR246](https://github.com/storybookjs/storybook/pull/246)
## v1.29.4
-- Protect index.html/iframe.html from being overwritten [PR243](https://github.com/storybookjs/react-storybook/pull/243)
+- Protect index.html/iframe.html from being overwritten [PR243](https://github.com/storybookjs/storybook/pull/243)
## v1.29.3
-- Update @kadira/storybook-core version [PR241](https://github.com/storybookjs/react-storybook/pull/241)
-- Add es6-shim by default [PR238](https://github.com/storybookjs/react-storybook/pull/238)
+- Update @kadira/storybook-core version [PR241](https://github.com/storybookjs/storybook/pull/241)
+- Add es6-shim by default [PR238](https://github.com/storybookjs/storybook/pull/238)
## v1.29.2
-- Use url.resolve instead of path.join [PR240](https://github.com/storybookjs/react-storybook/pull/240)
+- Use url.resolve instead of path.join [PR240](https://github.com/storybookjs/storybook/pull/240)
## v1.29.1
-- Copy missed manager.js.map file on static build [PR236](https://github.com/storybookjs/react-storybook/pull/236)
+- Copy missed manager.js.map file on static build [PR236](https://github.com/storybookjs/storybook/pull/236)
## v1.29.0
-- Multiple static dirs (comma separated) [PR229](https://github.com/storybookjs/react-storybook/pull/229)
+- Multiple static dirs (comma separated) [PR229](https://github.com/storybookjs/storybook/pull/229)
## v1.28.5
-- Support ECMAScript stage-0 [PR228](https://github.com/storybookjs/react-storybook/pull/228) to fix [Issue #227](https://github.com/storybookjs/react-storybook/issues/227)
+- Support ECMAScript stage-0 [PR228](https://github.com/storybookjs/storybook/pull/228) to fix [Issue #227](https://github.com/storybookjs/storybook/issues/227)
## v1.28.4
-- Support custom webpack public path for dev-server and static build started by [PR226](https://github.com/storybookjs/react-storybook/pull/226)
+- Support custom webpack public path for dev-server and static build started by [PR226](https://github.com/storybookjs/storybook/pull/226)
## v1.28.3
-- Revert [PR226](https://github.com/storybookjs/react-storybook/pull/226)
+- Revert [PR226](https://github.com/storybookjs/storybook/pull/226)
## v1.28.2
-- Support custom webpack publicPath [PR226](https://github.com/storybookjs/react-storybook/pull/226)
+- Support custom webpack publicPath [PR226](https://github.com/storybookjs/storybook/pull/226)
## v1.28.1
-- Add charset meta tags to HTML heads [PR216](https://github.com/storybookjs/react-storybook/pull/216)
+- Add charset meta tags to HTML heads [PR216](https://github.com/storybookjs/storybook/pull/216)
## v1.28.0
- Moved storybook serving code into a middleware to support more advanced use cases.
-- Refactored dev server to use storybook middleware [PR211](https://github.com/storybookjs/react-storybook/pull/211)
+- Refactored dev server to use storybook middleware [PR211](https://github.com/storybookjs/storybook/pull/211)
## v1.27.0
-- Move modules to storybook-core repo. [PR196](https://github.com/storybookjs/react-storybook/pull/196)
+- Move modules to storybook-core repo. [PR196](https://github.com/storybookjs/storybook/pull/196)
- Add stack-source-map again only for Chrome to get better error stacks.
-- Add ability to control the hostname. See [PR195](https://github.com/storybookjs/react-storybook/pull/195) and [PR198](https://github.com/storybookjs/react-storybook/pull/198)
+- Add ability to control the hostname. See [PR195](https://github.com/storybookjs/storybook/pull/195) and [PR198](https://github.com/storybookjs/storybook/pull/198)
## v1.26.0
@@ -9831,34 +11129,34 @@ This is the starting of the next major version of Storybook. This version is alm
11-May-2016
-- Fix several publishing related issues. See: [#188](https://github.com/storybookjs/react-storybook/pull/188).
-- Fix babel extends issue. See: [PR185](https://github.com/storybookjs/react-storybook/pull/185).
+- Fix several publishing related issues. See: [#188](https://github.com/storybookjs/storybook/pull/188).
+- Fix babel extends issue. See: [PR185](https://github.com/storybookjs/storybook/pull/185).
- Fix issue with removing a preset from users babelrc.
- - Fixes: [#183](https://github.com/storybookjs/react-storybook/issues/183).
- - [PR184](https://github.com/storybookjs/react-storybook/pull/184)
-- Make left panel scrollable with keeping the filterbox always. See: [PR182](https://github.com/storybookjs/react-storybook/pull/182).
+ - Fixes: [#183](https://github.com/storybookjs/storybook/issues/183).
+ - [PR184](https://github.com/storybookjs/storybook/pull/184)
+- Make left panel scrollable with keeping the filterbox always. See: [PR182](https://github.com/storybookjs/storybook/pull/182).
- Add `qs` as a direct dependency as it's used in preview.
## v1.24.0
10-May-2016
-- Add a potential fix for the double scrollbar issue. See: [179](https://github.com/storybookjs/react-storybook/issues/179).
-- Add scrolling support to the left panel. Fixes [#177](https://github.com/storybookjs/react-storybook/issues/177).
-- Remove NODE_ENV=production flag. Fixes [#158](https://github.com/storybookjs/react-storybook/issues/158)
+- Add a potential fix for the double scrollbar issue. See: [179](https://github.com/storybookjs/storybook/issues/179).
+- Add scrolling support to the left panel. Fixes [#177](https://github.com/storybookjs/storybook/issues/177).
+- Remove NODE_ENV=production flag. Fixes [#158](https://github.com/storybookjs/storybook/issues/158)
## v1.23.0
09-May-2016
-- Add shortcuts to jump to previous and next stories. See [PR176](https://github.com/storybookjs/react-storybook/pull/176)
-- Fix loader concatenation bug specially when custom config doesn't have a loaders section. [PR173](https://github.com/storybookjs/react-storybook/pull/173)
+- Add shortcuts to jump to previous and next stories. See [PR176](https://github.com/storybookjs/storybook/pull/176)
+- Fix loader concatenation bug specially when custom config doesn't have a loaders section. [PR173](https://github.com/storybookjs/storybook/pull/173)
## v1.22.1
06-May-2016
-- Add a potential fix for [#167](https://github.com/storybookjs/react-storybook/issues/167)
+- Add a potential fix for [#167](https://github.com/storybookjs/storybook/issues/167)
- basically, this moved back babel-packages required by webpack.
## v1.22.0
@@ -9871,95 +11169,95 @@ This is the starting of the next major version of Storybook. This version is alm
06-May-2016
-- Add configType argument to custom config function. See: [PR169](https://github.com/storybookjs/react-storybook/pull/169)
-- Add the unicode version of the Keyboard Shortcut Icon. See: [PR170](https://github.com/storybookjs/react-storybook/pull/170)
+- Add configType argument to custom config function. See: [PR169](https://github.com/storybookjs/storybook/pull/169)
+- Add the unicode version of the Keyboard Shortcut Icon. See: [PR170](https://github.com/storybookjs/storybook/pull/170)
## v1.20.0
05-May-2016
-- Allow to configure webpack as the user wants. See [PR160](https://github.com/storybookjs/react-storybook/pull/160)
-- Add typescript typings support for the core API. See [PR157](https://github.com/storybookjs/react-storybook/pull/157)
-- Implement Mantra architecture and some new features including permalinks, full screen support. See: [PR165](https://github.com/storybookjs/react-storybook/pull/165)
-- Remove some typo in docs. See: [PR154](https://github.com/storybookjs/react-storybook/pull/154)
-- Move UI testing libraries to devDependencies. See: [PR153](https://github.com/storybookjs/react-storybook/pull/153)
+- Allow to configure webpack as the user wants. See [PR160](https://github.com/storybookjs/storybook/pull/160)
+- Add typescript typings support for the core API. See [PR157](https://github.com/storybookjs/storybook/pull/157)
+- Implement Mantra architecture and some new features including permalinks, full screen support. See: [PR165](https://github.com/storybookjs/storybook/pull/165)
+- Remove some typo in docs. See: [PR154](https://github.com/storybookjs/storybook/pull/154)
+- Move UI testing libraries to devDependencies. See: [PR153](https://github.com/storybookjs/storybook/pull/153)
## v1.19.0
27-April-2016
-- Add airbnb-js-shims to client-side JS. See: [PR147](https://github.com/storybookjs/react-storybook/pull/147)
-- Remove self-closing div tag, which is invalid HTML. See: [PR148](https://github.com/storybookjs/react-storybook/pull/148)
-- Search for a .babelrc in the storybook config directory first, then the project root. See: [PR149](https://github.com/storybookjs/react-storybook/pull/149)
+- Add airbnb-js-shims to client-side JS. See: [PR147](https://github.com/storybookjs/storybook/pull/147)
+- Remove self-closing div tag, which is invalid HTML. See: [PR148](https://github.com/storybookjs/storybook/pull/148)
+- Search for a .babelrc in the storybook config directory first, then the project root. See: [PR149](https://github.com/storybookjs/storybook/pull/149)
## v1.18.0
26-April-2016
-- Link Storybook menu to the repo. See: [PR137](https://github.com/storybookjs/react-storybook/pull/137)
-- Implement keyboard shortcuts and fuzzy search. See: [PR141](https://github.com/storybookjs/react-storybook/pull/141)
+- Link Storybook menu to the repo. See: [PR137](https://github.com/storybookjs/storybook/pull/137)
+- Implement keyboard shortcuts and fuzzy search. See: [PR141](https://github.com/storybookjs/storybook/pull/141)
## v1.17.2
25-April-2016
-- Fix an error which only occurs on Firefox. See: [PR144](https://github.com/storybookjs/react-storybook/pull/144)
+- Fix an error which only occurs on Firefox. See: [PR144](https://github.com/storybookjs/storybook/pull/144)
## v1.17.1
21-April-2016
-- Fix a regression introduce by `v1.17.0`. See: [PR133](https://github.com/storybookjs/react-storybook/pull/133)
+- Fix a regression introduce by `v1.17.0`. See: [PR133](https://github.com/storybookjs/storybook/pull/133)
## v1.17.0
21-April-2016
-- Check all the arguments passed to action for events. See: [PR132](https://github.com/storybookjs/react-storybook/pull/132)
+- Check all the arguments passed to action for events. See: [PR132](https://github.com/storybookjs/storybook/pull/132)
## v1.16.1
21-April-2016
-- Fix action logs highlighting issue, which comes as a regression of [PR126](https://github.com/storybookjs/react-storybook/pull/126).
+- Fix action logs highlighting issue, which comes as a regression of [PR126](https://github.com/storybookjs/storybook/pull/126).
## v1.16.0
20-April-2016
- Prevent re-rendering the preview iframe when there is an action.
- - Related issue: [#116](https://github.com/storybookjs/react-storybook/issues/116)
- - Related PR: [PR126](https://github.com/storybookjs/react-storybook/pull/126)
+ - Related issue: [#116](https://github.com/storybookjs/storybook/issues/116)
+ - Related PR: [PR126](https://github.com/storybookjs/storybook/pull/126)
## v1.15.0
20-April-2016
-- Improve action logger UI and increase max log count to 10. See [PR123](https://github.com/storybookjs/react-storybook/pull/123)
+- Improve action logger UI and increase max log count to 10. See [PR123](https://github.com/storybookjs/storybook/pull/123)
## v1.14.0
19-April-2016
-- Add syntax highlights to the logger. See: [PR118](https://github.com/storybookjs/react-storybook/pull/118)
+- Add syntax highlights to the logger. See: [PR118](https://github.com/storybookjs/storybook/pull/118)
## v1.13.0
-- Add some UI test cases. See [PR103](https://github.com/storybookjs/react-storybook/pull/103)
-- Implement `.addDecorator()` API. See [PR115](https://github.com/storybookjs/react-storybook/pull/115)
-- Add code folding support. See [PR111](https://github.com/storybookjs/react-storybook/pull/111)
+- Add some UI test cases. See [PR103](https://github.com/storybookjs/storybook/pull/103)
+- Implement `.addDecorator()` API. See [PR115](https://github.com/storybookjs/storybook/pull/115)
+- Add code folding support. See [PR111](https://github.com/storybookjs/storybook/pull/111)
## v1.12.0
14-April-2016
-- Add support for webpack module preLoaders. See: [PR107](https://github.com/storybookjs/react-storybook/pull/107)
+- Add support for webpack module preLoaders. See: [PR107](https://github.com/storybookjs/storybook/pull/107)
## v1.11.0
13-April-2016
-- Add support for React DevTools. See: [PR104](https://github.com/storybookjs/react-storybook/pull/104)
+- Add support for React DevTools. See: [PR104](https://github.com/storybookjs/storybook/pull/104)
## v1.10.2
@@ -9973,32 +11271,32 @@ Fix various issues related to static bundling.
## v1.10.1
-- Don't serve index.html in static directory as a site index. See [PR100](https://github.com/storybookjs/react-storybook/pull/100)
-- Use cjson for parsing .babelrc files (support comments). See [PR98](https://github.com/storybookjs/react-storybook/pull/98)
-- Remove the dist directory before running babel to avoid older code. See [PR101](https://github.com/storybookjs/react-storybook/pull/101)
+- Don't serve index.html in static directory as a site index. See [PR100](https://github.com/storybookjs/storybook/pull/100)
+- Use cjson for parsing .babelrc files (support comments). See [PR98](https://github.com/storybookjs/storybook/pull/98)
+- Remove the dist directory before running babel to avoid older code. See [PR101](https://github.com/storybookjs/storybook/pull/101)
## v1.10.0
-- Add custom head support inside the iframe. See [PR77](https://github.com/storybookjs/react-storybook/pull/77)
-- Unmount components before rendering into DOM node. Fix: [#81](https://github.com/storybookjs/react-storybook/issues/81)
-- Add a static file builder. See [PR88](https://github.com/storybookjs/react-storybook/pull/88)
-- Fix search box's lineHeight to work with all the browsers. See: [PR94](https://github.com/storybookjs/react-storybook/pull/94)
-- Add the search box. See: [PR91](https://github.com/storybookjs/react-storybook/pull/91).
+- Add custom head support inside the iframe. See [PR77](https://github.com/storybookjs/storybook/pull/77)
+- Unmount components before rendering into DOM node. Fix: [#81](https://github.com/storybookjs/storybook/issues/81)
+- Add a static file builder. See [PR88](https://github.com/storybookjs/storybook/pull/88)
+- Fix search box's lineHeight to work with all the browsers. See: [PR94](https://github.com/storybookjs/storybook/pull/94)
+- Add the search box. See: [PR91](https://github.com/storybookjs/storybook/pull/91).
## v1.9.0
Add some minor improvements.
-- Avoid deprecated warning in Chrome Canary. See: [PR85](https://github.com/storybookjs/react-storybook/pull/85)
-- Fix the React Warning about CSS property. See: [PR84](https://github.com/storybookjs/react-storybook/pull/84)
-- Transition on latest logged action. See: [PR80](https://github.com/storybookjs/react-storybook/pull/80)
+- Avoid deprecated warning in Chrome Canary. See: [PR85](https://github.com/storybookjs/storybook/pull/85)
+- Fix the React Warning about CSS property. See: [PR84](https://github.com/storybookjs/storybook/pull/84)
+- Transition on latest logged action. See: [PR80](https://github.com/storybookjs/storybook/pull/80)
## v1.8.0
- Add story linking functionality.
- - [Documentation](https://github.com/storybookjs/react-storybook/blob/master/docs/api.md#linking-stories).
- - Original feature request: [#50](https://github.com/storybookjs/react-storybook/issues/50)
- - Implementation: [PR86](https://github.com/storybookjs/react-storybook/pull/86)
+ - [Documentation](https://github.com/storybookjs/storybook/blob/master/docs/api.md#linking-stories).
+ - Original feature request: [#50](https://github.com/storybookjs/storybook/issues/50)
+ - Implementation: [PR86](https://github.com/storybookjs/storybook/pull/86)
## v1.7.0
@@ -10006,30 +11304,30 @@ Add some minor improvements.
## v1.6.0
-- Make scrollable layout. See: [PR](https://github.com/storybookjs/react-storybook/pull/70)
+- Make scrollable layout. See: [PR](https://github.com/storybookjs/storybook/pull/70)
- Add npm3 requirement to the `package.json`.
- Add `react` and `react-dom` to devDependencies.
## v1.5.0
-- Add support for most of the custom webpack configuration. See [PR64](https://github.com/storybookjs/react-storybook/pull/64)
+- Add support for most of the custom webpack configuration. See [PR64](https://github.com/storybookjs/storybook/pull/64)
## v1.4.0
-- Add CLI option to specify the config dir. See [PR52](https://github.com/storybookjs/react-storybook/pull/52).
+- Add CLI option to specify the config dir. See [PR52](https://github.com/storybookjs/storybook/pull/52).
## v1.3.0
-- Load the `.babelrc` manually. Fixed: [#41](https://github.com/storybookjs/react-storybook/issues/41)
-- Add a better contributing guide. See [CONTRIBUTING.md](https://github.com/storybookjs/react-storybook/blob/master/CONTRIBUTING.md)
+- Load the `.babelrc` manually. Fixed: [#41](https://github.com/storybookjs/storybook/issues/41)
+- Add a better contributing guide. See [CONTRIBUTING.md](https://github.com/storybookjs/storybook/blob/master/CONTRIBUTING.md)
- Add a development utility `npm run dev` which watches "src" directory and run `npm run prepublish`.
## v1.2.0
-- Add a button to clear logs in the ActionLogger. This is requested in [PR21](https://github.com/storybookjs/react-storybook/issues/21).
-- Remove navigation list order hijacking. See [commit](https://github.com/storybookjs/react-storybook/commit/166365fd38f51f79e69e028a1c11e2620eddcb99).
-- Fix a typo in .gitignore. See [PR31](https://github.com/storybookjs/react-storybook/pull/31).
-- Add support for JSX. See [PR18](https://github.com/storybookjs/react-storybook/pull/18).
+- Add a button to clear logs in the ActionLogger. This is requested in [PR21](https://github.com/storybookjs/storybook/issues/21).
+- Remove navigation list order hijacking. See [commit](https://github.com/storybookjs/storybook/commit/166365fd38f51f79e69e028a1c11e2620eddcb99).
+- Fix a typo in .gitignore. See [PR31](https://github.com/storybookjs/storybook/pull/31).
+- Add support for JSX. See [PR18](https://github.com/storybookjs/storybook/pull/18).
## v1.1.0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2b591ce9d790..4b85ab64f154 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,7 +4,7 @@ Thanks for your interest in improving Storybook! We are a community-driven proje
Please review this document to help to streamline the process and save everyone's precious time.
-This repo uses yarn workspaces, so you should install `yarn@1.3.2` or higher as a package manager. See [installation guide](https://yarnpkg.com/en/docs/install).
+This repo uses yarn workspaces, so you should install `yarn` as the package manager. See [installation guide](https://yarnpkg.com/en/docs/install).
## Issues
@@ -30,6 +30,8 @@ cd storybook
yarn bootstrap
```
+> NOTE: on windows you may need to run `yarn` before `yarn bootstrap`!
+
The bootstrap command might ask which sections of the codebase you want to bootstrap. Unless you're going to work with ReactNative or the Documentation, you can keep the default.
You can also pick directly from CLI:
@@ -126,6 +128,18 @@ It can be immensely helpful to get feedback in your editor, if you're using VsCo
This should enable auto-fix for all source files, and give linting warnings and errors within your editor.
+### 2d. Run Cypress tests
+
+First make sure the repo is bootstrapped.
+
+Then run `yarn build-storybooks`, this creates a static website from all examples.
+
+Then run `yarn serve-storybooks`, this will run the static site on the port cypress expects.
+
+Then run `yarn add cypress -W --optional`. When this has completed cypress should be installed on your system. If it is already on your system, this step can be skipped.
+
+Then run `yarn cypress open` if you want to see the tests run in the UI, or `yarn cypress run` to run the tests headless.
+
### Reproductions
#### In the monorepo
@@ -140,6 +154,8 @@ git clone https://github.com/storybookjs/storybook.git
cd storybook
yarn bootstrap --core
+# NOTE: on windows you may need to run `yarn` before `yarn bootstrap`!
+
# make changes to try and reproduce the problem, such as adding components + stories
cd examples/cra-kitchen-sink
yarn storybook
@@ -207,6 +223,8 @@ Before you submit a new PR, make sure you run `yarn test`. Do not submit a PR if
**As a PR submitter**, you should reference the issue if there is one, include a short description of what you contributed and, if it is a code change, instructions for how to manually test out the change. This is informally enforced by our [PR template](https://github.com/storybookjs/storybook/blob/master/.github/PULL_REQUEST_TEMPLATE.md). If your PR is reviewed as only needing trivial changes (e.g. small typos etc), and you have commit access then you can merge the PR after making those changes.
+> NOTE: Although the latest stable version of storybook corresponds to the `master` branch, nearly all Storybook development happens in the `next` branch. If you submit a PR, branch off `next` and target your PR to `next`.
+
**As a PR reviewer**, you should read through the changes and comment on any potential problems. If you see something cool, a kind word never hurts either! Additionally, you should follow the testing instructions and manually test the changes. If the instructions are missing, unclear, or overly complex, feel free to request better instructions from the submitter. Unless the PR is tagged with the `do not merge` label, if you approve the review and there is no other required discussion or changes, you should also go ahead and merge the PR.
## Issue Triage
@@ -263,19 +281,31 @@ If you run into trouble here, make sure your node, npm, and **_yarn_** are on th
1. `cd ~` (optional)
2. `git clone https://github.com/storybookjs/storybook.git` _bonus_: use your own fork for this step
3. `cd storybook`
-4. `yarn`
-5. `yarn bootstrap --core`
-6. `yarn test --core`
-7. `yarn dev` _You must have this running for your changes to show up_
+4. `yarn bootstrap --core`
+5. `yarn test --core`
+6. `yarn dev` _You must have this running for your changes to show up_
+
+> NOTE: on windows you may need to run `yarn` before `yarn bootstrap` (between steps 3 and 4).
#### Bootstrapping everything
_This method is slow_
1. `yarn bootstrap --all`
-2. Have a beer 🍺
+2. Take a break 🍵
3. `yarn test` (to verify everything worked)
+#### Building specific packages
+
+If you're working on one or a few packages, for every change that you make, you have to rebuild those packages. To make the process easier, there is a CLI command for that:
+
+- Run `yarn build` to bring you a list of packages to select from. There will be also an option to run in watch mode.
+- Run `yarn build ` to build that package specifically. \
+ For the package name, use its short version. Example: for `@storybook/addon-docs`, run `yarn build addon-docs`.
+- Run `yarn build --all` to build everything.
+- Add `--watch` to run automatically in watch more if you are either building a selection of packages by name or building all.
+ Example: `yarn build core addon-docs --watch` or `yarn build --all --watch`.
+
### Working with the kitchen sink apps
Within the `examples` folder of the Storybook repo, you will find kitchen sink examples of storybook implementations for the various platforms that storybook supports.
@@ -283,9 +313,10 @@ Within the `examples` folder of the Storybook repo, you will find kitchen sink e
Not only do these show many of the options and add-ons available, they are also automatically linked to all the development packages. We highly encourage you to use these to develop/test contributions on.
#### React and Vue
+
1. `cd examples/official-storybook`
-2. `yarn storybook`
-3. Verify that your local version works
+2. `yarn storybook`
+3. Verify that your local version works
### Working with your own app
diff --git a/MIGRATION.md b/MIGRATION.md
index ae7149b87b86..63d44855f091 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -1,92 +1,652 @@
-# Migration
-
-- [Migration](#migration)
- - [From version 5.2.x to 5.3.x](#from-version-52x-to-53x)
- - [To tri-config configuration](#to-triconfig-configuration)
- - [Create React App preset](#create-react-app-preset)
- - [Description doc block](#description-doc-block)
- - [React Native Async Storage](#react-native-async-storage)
- - [Deprecate displayName parameter](#deprecate-displayname-parameter)
- - [Unified docs preset](#unified-docs-preset)
- - [Simplified hierarchy separators](#simplified-hierarchy-separators)
- - [From version 5.1.x to 5.2.x](#from-version-51x-to-52x)
- - [Source-loader](#source-loader)
- - [Default viewports](#default-viewports)
- - [Grid toolbar-feature](#grid-toolbar-feature)
- - [Docs mode docgen](#docs-mode-docgen)
- - [storySort option](#storysort-option)
- - [From version 5.1.x to 5.1.10](#from-version-51x-to-5110)
- - [babel.config.js support](#babelconfigjs-support)
- - [From version 5.0.x to 5.1.x](#from-version-50x-to-51x)
- - [React native server](#react-native-server)
- - [Angular 7](#angular-7)
- - [CoreJS 3](#corejs-3)
- - [From version 5.0.1 to 5.0.2](#from-version-501-to-502)
- - [Deprecate webpack extend mode](#deprecate-webpack-extend-mode)
- - [From version 4.1.x to 5.0.x](#from-version-41x-to-50x)
- - [sortStoriesByKind](#sortstoriesbykind)
- - [Webpack config simplification](#webpack-config-simplification)
- - [Theming overhaul](#theming-overhaul)
- - [Story hierarchy defaults](#story-hierarchy-defaults)
- - [Options addon deprecated](#options-addon-deprecated)
- - [Individual story decorators](#individual-story-decorators)
- - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters)
- - [Addon cssresources name attribute renamed](#addon-cssresources-name-attribute-renamed)
- - [Addon viewport uses parameters](#addon-viewport-uses-parameters)
- - [Addon a11y uses parameters, decorator renamed](#addon-a11y-uses-parameters-decorator-renamed)
- - [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults)
- - [New URL structure](#new-url-structure)
- - [Rename of the `--secure` cli parameter to `--https`](#rename-of-the---secure-cli-parameter-to---https)
- - [Vue integration](#vue-integration)
- - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x)
- - [Private addon config](#private-addon-config)
- - [React 15.x](#react-15x)
- - [From version 3.4.x to 4.0.x](#from-version-34x-to-40x)
- - [React 16.3+](#react-163)
- - [Generic addons](#generic-addons)
- - [Knobs select ordering](#knobs-select-ordering)
- - [Knobs URL parameters](#knobs-url-parameters)
- - [Keyboard shortcuts moved](#keyboard-shortcuts-moved)
- - [Removed addWithInfo](#removed-addwithinfo)
- - [Removed RN packager](#removed-rn-packager)
- - [Removed RN addons](#removed-rn-addons)
- - [Storyshots Changes](#storyshots-changes)
- - [Webpack 4](#webpack-4)
- - [Babel 7](#babel-7)
- - [Create-react-app](#create-react-app)
- - [Upgrade CRA1 to babel 7](#upgrade-cra1-to-babel-7)
- - [Migrate CRA1 while keeping babel 6](#migrate-cra1-while-keeping-babel-6)
- - [start-storybook opens browser](#start-storybook-opens-browser)
- - [CLI Rename](#cli-rename)
- - [Addon story parameters](#addon-story-parameters)
- - [From version 3.3.x to 3.4.x](#from-version-33x-to-34x)
- - [From version 3.2.x to 3.3.x](#from-version-32x-to-33x)
- - [`babel-core` is now a peer dependency (#2494)](#babel-core-is-now-a-peer-dependency-2494)
- - [Base webpack config now contains vital plugins (#1775)](#base-webpack-config-now-contains-vital-plugins-1775)
- - [Refactored Knobs](#refactored-knobs)
- - [From version 3.1.x to 3.2.x](#from-version-31x-to-32x)
- - [Moved TypeScript addons definitions](#moved-typescript-addons-definitions)
- - [Updated Addons API](#updated-addons-api)
- - [From version 3.0.x to 3.1.x](#from-version-30x-to-31x)
- - [Moved TypeScript definitions](#moved-typescript-definitions)
- - [Deprecated head.html](#deprecated-headhtml)
- - [From version 2.x.x to 3.x.x](#from-version-2xx-to-3xx)
- - [Webpack upgrade](#webpack-upgrade)
- - [Packages renaming](#packages-renaming)
- - [Deprecated embedded addons](#deprecated-embedded-addons)
+
Migration
+
+- [From version 5.3.x to 6.0.x](#from-version-53x-to-60x)
+ - [Hoisted CSF annotations](#hoisted-csf-annotations)
+ - [Zero config typescript](#zero-config-typescript)
+ - [Correct globs in main.js](#correct-globs-in-mainjs)
+ - [Backgrounds addon has a new api](#backgrounds-addon-has-a-new-api)
+ - [CRA preset removed](#cra-preset-removed)
+ - [Args passed as first argument to story](#args-passed-as-first-argument-to-story)
+ - [6.0 Docs breaking changes](#60-docs-breaking-changes)
+ - [Remove framework-specific docs presets](#remove-framework-specific-docs-presets)
+ - [Docs theme separated](#docs-theme-separated)
+ - [DocsPage slots removed](#docspage-slots-removed)
+ - [React prop tables with Typescript](#react-prop-tables-with-typescript)
+ - [React.FC interfaces](#reactfc-interfaces)
+ - [Imported types](#imported-types)
+ - [Rolling back](#rolling-back)
+ - [New addon presets](#new-addon-presets)
+ - [Removed babel-preset-vue from Vue preset](#removed-babel-preset-vue-from-vue-preset)
+ - [Removed Deprecated APIs](#removed-deprecated-apis)
+ - [New setStories event](#new-setstories-event)
+ - [Client API changes](#client-api-changes)
+ - [Removed Legacy Story APIs](#removed-legacy-story-apis)
+ - [Can no longer add decorators/parameters after stories](#can-no-longer-add-decoratorsparameters-after-stories)
+ - [Changed Parameter Handling](#changed-parameter-handling)
+ - [Simplified Render Context](#simplified-render-context)
+ - [Story Store immutable outside of configuration](#story-store-immutable-outside-of-configuration)
+ - [Improved story source handling](#improved-story-source-handling)
+ - [6.0 Addon API changes](#60-addon-api-changes)
+ - [Actions addon uses parameters](#actions-addon-uses-parameters)
+ - [Removed action decorator APIs](#removed-action-decorator-apis)
+ - [Removed withA11y decorator](#removed-witha11y-decorator)
+ - [Essentials addon disables differently](#essentials-addon-disables-differently)
+ - [6.0 Deprecations](#60-deprecations)
+ - [Deprecated addon-info, addon-notes](#deprecated-addon-info-addon-notes)
+ - [Deprecated addon-contexts](#deprecated-addon-contexts)
+ - [Removed addon-centered](#removed-addon-centered)
+ - [Deprecated polymer](#deprecated-polymer)
+- [From version 5.2.x to 5.3.x](#from-version-52x-to-53x)
+ - [To main.js configuration](#to-mainjs-configuration)
+ - [Using main.js](#using-mainjs)
+ - [Using preview.js](#using-previewjs)
+ - [Using manager.js](#using-managerjs)
+ - [Create React App preset](#create-react-app-preset)
+ - [Description doc block](#description-doc-block)
+ - [React Native Async Storage](#react-native-async-storage)
+ - [Deprecate displayName parameter](#deprecate-displayname-parameter)
+ - [Unified docs preset](#unified-docs-preset)
+ - [Simplified hierarchy separators](#simplified-hierarchy-separators)
+ - [Addon StoryShots Puppeteer uses external puppeteer](#addon-storyshots-puppeteer-uses-external-puppeteer)
+- [From version 5.1.x to 5.2.x](#from-version-51x-to-52x)
+ - [Source-loader](#source-loader)
+ - [Default viewports](#default-viewports)
+ - [Grid toolbar-feature](#grid-toolbar-feature)
+ - [Docs mode docgen](#docs-mode-docgen)
+ - [storySort option](#storysort-option)
+- [From version 5.1.x to 5.1.10](#from-version-51x-to-5110)
+ - [babel.config.js support](#babelconfigjs-support)
+- [From version 5.0.x to 5.1.x](#from-version-50x-to-51x)
+ - [React native server](#react-native-server)
+ - [Angular 7](#angular-7)
+ - [CoreJS 3](#corejs-3)
+- [From version 5.0.1 to 5.0.2](#from-version-501-to-502)
+ - [Deprecate webpack extend mode](#deprecate-webpack-extend-mode)
+- [From version 4.1.x to 5.0.x](#from-version-41x-to-50x)
+ - [sortStoriesByKind](#sortstoriesbykind)
+ - [Webpack config simplification](#webpack-config-simplification)
+ - [Theming overhaul](#theming-overhaul)
+ - [Story hierarchy defaults](#story-hierarchy-defaults)
+ - [Options addon deprecated](#options-addon-deprecated)
+ - [Individual story decorators](#individual-story-decorators)
+ - [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters)
+ - [Addon cssresources name attribute renamed](#addon-cssresources-name-attribute-renamed)
+ - [Addon viewport uses parameters](#addon-viewport-uses-parameters)
+ - [Addon a11y uses parameters, decorator renamed](#addon-a11y-uses-parameters-decorator-renamed)
+ - [Addon centered decorator deprecated](#addon-centered-decorator-deprecated)
+ - [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults)
+ - [New URL structure](#new-url-structure)
+ - [Rename of the `--secure` cli parameter to `--https`](#rename-of-the---secure-cli-parameter-to---https)
+ - [Vue integration](#vue-integration)
+- [From version 4.0.x to 4.1.x](#from-version-40x-to-41x)
+ - [Private addon config](#private-addon-config)
+ - [React 15.x](#react-15x)
+- [From version 3.4.x to 4.0.x](#from-version-34x-to-40x)
+ - [React 16.3+](#react-163)
+ - [Generic addons](#generic-addons)
+ - [Knobs select ordering](#knobs-select-ordering)
+ - [Knobs URL parameters](#knobs-url-parameters)
+ - [Keyboard shortcuts moved](#keyboard-shortcuts-moved)
+ - [Removed addWithInfo](#removed-addwithinfo)
+ - [Removed RN packager](#removed-rn-packager)
+ - [Removed RN addons](#removed-rn-addons)
+ - [Storyshots Changes](#storyshots-changes)
+ - [Webpack 4](#webpack-4)
+ - [Babel 7](#babel-7)
+ - [Create-react-app](#create-react-app)
+ - [Upgrade CRA1 to babel 7](#upgrade-cra1-to-babel-7)
+ - [Migrate CRA1 while keeping babel 6](#migrate-cra1-while-keeping-babel-6)
+ - [start-storybook opens browser](#start-storybook-opens-browser)
+ - [CLI Rename](#cli-rename)
+ - [Addon story parameters](#addon-story-parameters)
+- [From version 3.3.x to 3.4.x](#from-version-33x-to-34x)
+- [From version 3.2.x to 3.3.x](#from-version-32x-to-33x)
+ - [`babel-core` is now a peer dependency (#2494)](#babel-core-is-now-a-peer-dependency-2494)
+ - [Base webpack config now contains vital plugins (#1775)](#base-webpack-config-now-contains-vital-plugins-1775)
+ - [Refactored Knobs](#refactored-knobs)
+- [From version 3.1.x to 3.2.x](#from-version-31x-to-32x)
+ - [Moved TypeScript addons definitions](#moved-typescript-addons-definitions)
+ - [Updated Addons API](#updated-addons-api)
+- [From version 3.0.x to 3.1.x](#from-version-30x-to-31x)
+ - [Moved TypeScript definitions](#moved-typescript-definitions)
+ - [Deprecated head.html](#deprecated-headhtml)
+- [From version 2.x.x to 3.x.x](#from-version-2xx-to-3xx)
+ - [Webpack upgrade](#webpack-upgrade)
+ - [Packages renaming](#packages-renaming)
+ - [Deprecated embedded addons](#deprecated-embedded-addons)
+
+## From version 5.3.x to 6.0.x
+
+### Hoisted CSF annotations
+
+Storybook 6 introduces hoisted CSF annotations and deprecates the `StoryFn.story` object-style annotation.
+
+In 5.x CSF, you would annotate a story like this:
+```js
+export const Basic = () =>
+Basic.story = {
+ name: 'foo',
+ parameters: { ... },
+ decorators: [ ... ],
+};
+```
+
+In 6.0 CSF this becomes:
+
+```js
+export const Basic = () =>
+Basic.storyName = 'foo';
+Basic.parameters = { ... };
+Basic.decorators = [ ... ];
+```
+
+1. The new syntax is slightly more compact/ergonomic compared the the old one
+2. Similar to React's `displayName`, `propTypes`, `defaultProps` annotations
+3. We're introducing a new feature, [Storybook Args](https://docs.google.com/document/d/1Mhp1UFRCKCsN8pjlfPdz8ZdisgjNXeMXpXvGoALjxYM/edit?usp=sharing), where the new syntax will be significantly more ergonomic
+
+To help you upgrade your stories, we've crated a codemod:
+
+```
+npx @storybook/cli@next migrate csf-hoist-story-annotations --glob="**/*.stories.js"
+```
+
+For more information, [see the documentation](https://github.com/storybookjs/storybook/blob/next/lib/codemod/README.md#csf-hoist-story-annotations).
+
+### Zero config typescript
+
+Storybook has built-in Typescript support in 6.0. That means you should remove your complex Typescript configurations from your `.storybook` config. We've tried to pick sensible defaults that work out of the box, especially for nice prop table generation in `@storybook/addon-docs`.
+
+To migrate from an old setup, we recommend deleting any typescript-specific webpack/babel configurations in your project. If you want to override the defaults, see the [typescript configuration docs](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/configurations/typescript-config/index.md).
+
+### Correct globs in main.js
+
+In 5.3 we introduced the `main.js` file with a `stories` property. This property was documented as a "glob" pattern. This was our intention, however the implementation allowed for non valid globs to be specified and work. In fact, we promoted invalid globs in our documentation and CLI templates.
+
+We've corrected this, the CLI templates have been changed to use valid globs.
+
+We've also changed the code that resolves these globs, so that invalid globs will log a warning. They will break in the future, so if you see this warning, please ensure you're specifying a valid glob.
+
+Example of an **invalid** glob:
+```
+stories: ['./**/*.stories.(ts|js)']
+```
+
+Example of a **valid** glob:
+```
+stories: ['./**/*.stories.@(ts|js)']
+```
+
+### Backgrounds addon has a new api
+
+Starting in 6.0, the backgrounds addon now receives an object instead of an array as parameter, with a property to define the default background.
+
+Consider the following example of its usage in `Button.stories.js`:
+
+```jsx
+// Button.stories.js
+export default {
+ title: 'Button',
+ parameters: {
+ backgrounds: [
+ { name: 'twitter', value: '#00aced', default: true },
+ { name: 'facebook', value: '#3b5998' },
+ ],
+ },
+};
+```
+
+Here's an updated version of the example, using the new api:
+
+```jsx
+// Button.stories.js
+export default {
+ title: 'Button',
+ parameters: {
+ backgrounds: {
+ default: 'twitter',
+ values: [
+ { name: 'twitter', value: '#00aced' },
+ { name: 'facebook', value: '#3b5998' },
+ ],
+ },
+ },
+};
+```
+
+### CRA preset removed
+
+The built-in create-react-app preset, which was [previously deprecated](#create-react-app-preset), has been fully removed.
+
+If you're using CRA and migrating from an earlier Storybook version, please install [`@storybook/preset-create-react-app`](https://github.com/storybookjs/presets/tree/master/packages/preset-create-react-app) if you haven't already.
+
+### Args passed as first argument to story
+
+Starting in 6.0, the first argument to a story function is an [Args object](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/formats/component-story-format/index.md#args-story-inputs). In 5.3 and earlier, the first argument was a [StoryContext](https://github.com/storybookjs/storybook/blob/next/lib/addons/src/types.ts#L49-L61), and that context is now passed as the second argument by default.
+
+This breaking change only affects you if your stories actually use the context, which is not common. If you have any stories that use the context, you can either (1) update your stories, or (2) set a flag to opt-out of new behavior.
+
+Consider the following story that uses the context:
+
+```js
+export const Dummy = ({ parameters }) =>
{JSON.stringify(parameters)}
;
+```
+
+Here's an updated story for 6.0 that ignores the args object:
+
+```js
+export const Dummy = (_args, { parameters }) =>
{JSON.stringify(parameters)}
;
+```
+
+Alternatively, if you want to opt out of the new behavior, you can add the following to your `.storybook/preview.js` config:
+
+```js
+export const parameters = {
+ passArgsFirst: false,
+};
+```
+
+### 6.0 Docs breaking changes
+
+#### Remove framework-specific docs presets
+
+In SB 5.2, each framework had its own preset, e.g. `@storybook/addon-docs/react/preset`. In 5.3 we [unified this into a single preset](#unified-docs-preset): `@storybook/addon-docs/preset`. In 6.0 we've removed the deprecated preset.
+
+#### Docs theme separated
+
+In 6.0, you should theme Storybook Docs with the `docs.theme` parameter.
+
+In 5.x, the Storybook UI and Storybook Docs were themed using the same theme object. However, in 5.3 we introduced a new API, `addons.setConfig`, which improved UI theming but broke Docs theming. Rather than trying to keep the two unified, we introduced a separate theming mechanism for docs, `docs.theme`. [Read about Docs theming here](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/theming.md#storybook-theming).
+
+#### DocsPage slots removed
+
+In SB5.2, we introduced the concept of [DocsPage slots](https://github.com/storybookjs/storybook/blob/0de8575eab73bfd5c5c7ba5fe33e53a49b92db3a/addons/docs/docs/docspage.md#docspage-slots) for customizing the DocsPage.
+
+In 5.3, we introduced `docs.x` story parameters like `docs.prepareForInline` which get filled in by frameworks and can also be overwritten by users, which is a more natural/convenient way to make global customizations.
+
+We also introduced introduced [Custom DocsPage](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/docspage.md#replacing-docspage), which makes it possible to add/remove/update DocBlocks on the page.
+
+These mechanisms are superior to slots, so we've removed slots in 6.0. For each slot, we provide a migration path here:
+
+| Slot | Slot function | Replacement |
+| ----------- | ----------------- | -------------------------------------------- |
+| Title | `titleSlot` | Custom DocsPage |
+| Subtitle | `subtitleSlot` | Custom DocsPage |
+| Description | `descriptionSlot` | `docs.extractComponentDescription` parameter |
+| Primary | `primarySlot` | Custom DocsPage |
+| Props | `propsSlot` | `docs.extractProps` parameter |
+| Stories | `storiesSlot` | Custom DocsPage |
+
+#### React prop tables with Typescript
+
+Starting in 6.0 we are changing our recommended setup for extracting prop tables in `addon-docs` for React projects using TypeScript.
+
+In earlier versions, we recommended `react-docgen-typescript-loader` (`RDTL`) and bundled it with `@storybook/preset-create-react-app` and `@storybook/preset-typescript` for this reason. We now recommend `babel-plugin-react-docgen`, which is already bundled as part of `@storybook/react`.
+
+As a consequence we've removed `RDTL` from the presets, which is a breaking change. We made this change because `react-docgen` now supports TypeScript natively, and fewer dependencies simplifies things for everybody.
+
+The Babel-based `react-docgen` version is the default in:
+
+- `@storybook/preset-create-react-app` @ `^2.1.0`
+- `@storybook/preset-typescript` @ `^3.0.0`
+
+> NOTE: If you're using `preset-create-react-app` you don't need `preset-typescript`!
+
+We will be updating this section with migration information as we collect information from our users, and fixing issues as they come up throughout the 6.0 prerelease process. We are cataloging known issues [here](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/props-tables.md#known-limitations).
+
+##### React.FC interfaces
+
+The biggest known issue is https://github.com/reactjs/react-docgen/issues/387, which means that the following common pattern **DOESN'T WORK**:
+
+```tsx
+import React, { FC } from 'react';
+interface IProps { ... };
+const MyComponent: FC = ({ ... }) => ...
+```
+
+The following workaround is needed:
+
+```tsx
+const MyComponent: FC = ({ ... }: IProps) => ...
+```
+
+Please upvote https://github.com/reactjs/react-docgen/issues/387 if this is affecting your productivity, or better yet, submit a fix!
+
+##### Imported types
+
+Another major issue is support for imported types.
+
+```tsx
+import React, { FC } from 'react';
+import SomeType from './someFile';
+
+type NewType = SomeType & { foo: string };
+const MyComponent: FC = ...
+```
+
+This isn't an issue with `RDTL` so unfortunately it gets worse with `react-docgen`.
+There's an open PR for this https://github.com/reactjs/react-docgen/pull/352 which you can upvote if it affects you.
+
+##### Rolling back
+
+In the meantime, if you're not ready to make the move you have two options:
+
+1. Pin your to a specific preset version: `preset-create-react-app@1.5.2` or `preset-typescript@1.2.2`
+
+2. OR: Manually configure your setup to add back `react-docgen-typescript-loader`, add the following to your `.storybook/main.js`:
+
+```js
+module.exports = {
+ webpack: async (config, { configType }) => ({
+ ...config,
+ module: {
+ ...config.module,
+ rules: [
+ ...config.module.rules,
+ {
+ test: /\.tsx?$/,
+ loader: require.resolve('react-docgen-typescript-loader'),
+ options: {}, // your options here
+ },
+ ],
+ },
+ }),
+};
+```
+
+### New addon presets
+
+In Storybook 5.3 we introduced a declarative [main.js configuration](#to-mainjs-configuration), which is now the recommended way to configure Storybook. Part of the change is a simplified syntax for registering addons, which in 6.0 automatically registers many addons _using a preset_, which is a slightly different behavior than in earlier versions.
+
+This breaking change currently applies to: `addon-a11y`, `addon-actions`, `addon-knobs`, `addon-links`, `addon-queryparams`.
+
+Consider the following `main.js` config for the accessibility addon, `addon-knobs`:
+
+```js
+module.exports = {
+ stories: ['../**/*.stories.js'],
+ addons: ['@storybook/addon-knobs'],
+};
+```
+
+In earlier versions of Storybook, this would automatically call `@storybook/addon-knobs/register`, which adds the the knobs panel to the Storybook UI. As a user you would also add a decorator:
+
+```js
+import { withKnobs } from '../index';
+
+addDecorator(withKnobs);
+```
+
+Now in 6.0, `addon-knobs` comes with a preset, `@storybook/addon-knobs/preset`, that does this automatically for you. This change simplifies configuration, since now you don't need to add that decorator.
+
+If you wish to disable this new behavior, you can modify your `main.js` to force it to use the `register` logic rather than the `preset`:
+
+```js
+module.exports = {
+ stories: ['../**/*.stories.js'],
+ addons: ['@storybook/addon-knobs/register'],
+};
+```
+
+If you wish to selectively disable `knobs` checks for a subset of stories, you can control this with story parameters:
+
+```js
+export const MyNonCheckedStory = () => ;
+MyNonCheckedStory.story = {
+ parameters: {
+ knobs: { disable: true },
+ },
+};
+```
+
+### Removed babel-preset-vue from Vue preset
+
+`babel-preset-vue` is not included by default anymore when using Storybook with Vue.
+This preset is outdated and [caused problems](https://github.com/storybookjs/storybook/issues/4475) with more modern setups.
+
+If you have an older Vue setup that relied on this preset, make sure it is included in your babel config
+(install `babel-preset-vue` and add it to the presets).
+
+```json
+{
+ "presets": ["babel-preset-vue"]
+}
+```
+
+However, please take a moment to review why this preset is necessary in your setup.
+One usecase used to be to enable JSX in your stories. For this case, we recommend to use `@vue/babel-preset-jsx` instead.
+
+### Removed Deprecated APIs
+
+In 6.0 we removed a number of APIs that were previously deprecated.
+
+See the migration guides for further details:
+
+- [Addon a11y uses parameters, decorator renamed](#addon-a11y-uses-parameters-decorator-renamed)
+- [Addon backgrounds uses parameters](#addon-backgrounds-uses-parameters)
+- [Source-loader](#source-loader)
+- [Unified docs preset](#unified-docs-preset)
+- [Addon centered decorator deprecated](#addon-centered-decorator-deprecated)
+
+### New setStories event
+
+The `setStories`/`SET_STORIES` event has changed and now denormalizes global and kind-level parameters. The new format of the event data is:
+
+```js
+{
+ globalParameters: { p: 'q' },
+ kindParameters: { kind: { p: 'q' } },
+ stories: /* as before but with only story-level parameters */
+}
+```
+
+If you want the full denormalized parameters for a story, you can do something like:
+
+```js
+import { combineParameters } from '@storybook/api';
+
+const story = data.stories[storyId];
+const parameters = combineParameters(
+ data.globalParameters,
+ data.kindParameters[story.kind],
+ story.parameters
+);
+```
+
+### Client API changes
+
+#### Removed Legacy Story APIs
+
+In 6.0 we removed a set of APIs from the underlying `StoryStore` (which wasn't publicly accessible):
+
+- `getStories`, `getStoryFileName`, `getStoryAndParameters`, `getStory`, `getStoryWithContext`, `hasStoryKind`, `hasStory`, `dumpStoryBook`, `size`, `clean`
+
+Although these were private APIs, if you were using them, you could probably use the newer APIs (which are still private): `getStoriesForKind`, `getRawStory`, `removeStoryKind`, `remove`.
+
+#### Can no longer add decorators/parameters after stories
+
+You can no longer add decorators and parameters globally after you added your first story, and you can no longer add decorators and parameters to a kind after you've added your first story to it.
+
+It's unclear and confusing what would happened if you did. If you want to disable a decorator for certain stories, use a parameter to do so:
+
+```js
+export StoryOne = ...;
+StoryOne.story = { parameters: { addon: { disable: true } } };
+```
+
+If you want to use a parameter for a subset of stories in a kind, simply use a variable to do so:
+
+```js
+const commonParameters = { x: { y: 'z' } };
+export StoryOne = ...;
+StoryOne.story = { parameters: { ...commonParameters, other: 'things' } };
+```
+
+#### Changed Parameter Handling
+
+There have been a few rationalizations of parameter handling in 6.0 to make things more predictable and fit better with the intention of parameters:
+
+_All parameters are now merged recursively to arbitrary depth._
+
+In 5.3 we sometimes merged parameters all the way down and sometimes did not depending on where you added them. It was confusing. If you were relying on this behaviour, let us know.
+
+_Array parameters are no longer "merged"._
+
+If you override an array parameter, the override will be the end product. If you want the old behaviour (appending a new value to an array parameter), export the original and use array spread. This will give you maximum flexibility:
+
+```js
+import { allBackgrounds } from './util/allBackgrounds';
+
+export StoryOne = ...;
+StoryOne.story = { parameters: { backgrounds: [...allBackgrounds, '#zyx' ] } };
+```
+
+_You cannot set parameters from decorators_
+
+Parameters are intended to be statically set at story load time. So setting them via a decorator doesn't quite make sense. If you were using this to control the rendering of a story, chances are using the new `args` feature is a more idiomatic way to do this.
+
+_You can only set storySort globally_
+
+If you want to change the ordering of stories, use `export const parameters = { options: { storySort: ... } }` in `preview.js`.
+
+### Simplified Render Context
+
+The `RenderContext` that is passed to framework rendering layers in order to render a story has been simplified, dropping a few members that were not used by frameworks to render stories. In particular, the following have been removed:
+
+- `selectedKind`/`selectedStory` -- replaced by `kind`/`name`
+- `configApi`
+- `storyStore`
+- `channel`
+- `clientApi`
+
+### Story Store immutable outside of configuration
+
+You can no longer change the contents of the StoryStore outside of a `configure()` call. This is to ensure that any changes are properly published to the manager. If you want to add stories "out of band" you can call `store.startConfiguring()` and `store.finishConfiguring()` to ensure that your changes are published.
+
+### Improved story source handling
+
+The story source code handling has been improved in both `addon-storysource` and `addon-docs`.
+
+In 5.x some users used an undocumented _internal_ API, `mdxSource` to customize source snippetization in `addon-docs`. This has been removed in 6.0.
+
+The preferred way to customize source snippets for stories is now:
+
+```js
+export const Example = () => ;
+Example.story = {
+ parameters: {
+ storySource: {
+ source: 'custom source',
+ },
+ },
+};
+```
+
+The MDX analog:
+
+```jsx
+
+
+
+```
+
+### 6.0 Addon API changes
+
+#### Actions addon uses parameters
+
+Leveraging the new preset `@storybook/addon-actions` uses parameters to pass action options. If you previously had:
+
+```js
+import { withactions } from `@storybook/addon-actions`;
+
+export StoryOne = ...;
+StoryOne.story = {
+ decorators: [withActions('mouseover', 'click .btn')],
+}
+
+```
+
+You should replace it with:
+
+```js
+export StoryOne = ...;
+StoryOne.story = {
+ parameters: { actions: ['mouseover', 'click .btn'] },
+}
+```
+
+#### Removed action decorator APIs
+
+In 6.0 we removed the actions addon decorate API. Actions handles can be configured globaly, for a collection of stories or per story via parameters. The ability to manipulate the data arguments of an event is only relevant in a few frameworks and is not a common enough usecase to be worth the complexity of supporting.
+
+#### Removed withA11y decorator
+
+In 6.0 we removed the `withA11y` decorator. The code that runs accessibility checks is now directly injected in the preview.
+
+Remove the addon-a11y decorator.
+To configure a11y now, you have to specify configuration using `addParameters`.
+
+```js
+addParameters({
+ a11y: {
+ element: "#root",
+ config: {},
+ options: {},
+ manual: true,
+ }
+};
+```
+
+#### Essentials addon disables differently
+
+In 6.0, `addon-essentials` doesn't configure addons if the user has already configured them in `main.js`. In 5.3 it previously checked to see whether the package had been installed in `package.json` to disable configuration. The new setup is preferably because now users' can install essential packages and import from them without disabling their configuration.
+
+### 6.0 Deprecations
+
+We've deprecated the following in 6.0: `addon-info`, `addon-notes`, `addon-contexts`, `addon-centered`, `polymer`.
+
+#### Deprecated addon-info, addon-notes
+
+The info/notes addons have been replaced by [addon-docs](https://github.com/storybookjs/storybook/tree/next/addons/docs). We've documented a migration in the [docs recipes](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/recipes.md#migrating-from-notesinfo-addons).
+
+Both addons are still widely used, and their source code is still available in the [deprecated-addons repo](https://github.com/storybookjs/deprecated-addons). We're looking for maintainers for both addons. If you're interested, please get in touch on [our Discord](https://discordapp.com/invite/UUt2PJb).
+
+#### Deprecated addon-contexts
+
+The contexts addon has been replaced by [addon-toolbars](https://github.com/storybookjs/storybook/blob/next/addons/toolbars), which is simpler, more ergonomic, and compatible with all Storybook frameworks.
+
+The addon's source code is still available in the [deprecated-addons repo](https://github.com/storybookjs/deprecated-addons). If you're interested in maintaining it, please get in touch on [our Discord](https://discordapp.com/invite/UUt2PJb).
+
+#### Removed addon-centered
+
+In 6.0 we removed the centered addon. Centering is now core feature of storybook, so w no longer need an addon.
+
+Remove the addon-centered decorator and instead add a `layout` parameter:
+
+```js
+export const MyStory = () =>
my story
;
+MyStory.story = {
+ parameters: { layout: 'centered' },
+};
+```
+
+Other possible values are: `padded` (default) and `fullscreen`.
+
+#### Deprecated polymer
+
+We've deprecated `@storybook/polymer` and are focusing on `@storybook/web-components`. If you use Polymer and are interested in maintaining it, please get in touch on [our Discord](https://discordapp.com/invite/UUt2PJb).
## From version 5.2.x to 5.3.x
-### To tri-config configuration
+### To main.js configuration
In storybook 5.3 3 new files for configuration were introduced, that replaced some previous files.
-These files are now soft-deprecated, (*they still work, but over time we will promote users to migrate*):
+These files are now soft-deprecated, (_they still work, but over time we will promote users to migrate_):
-- `config.js` has been renamed to `preview.js`.
-- `addons.js` has been renamed to `manager.js`.
-- `presets.js` has been renamed to `main.js`.
+- `presets.js` has been renamed to `main.js`. `main.js` is the main point of configuration for storybook.
+- `config.js` has been renamed to `preview.js`. `preview.js` configures the "preview" iframe that renders your components.
+- `addons.js` has been renamed to `manager.js`. `manager.js` configures Storybook's "manager" UI that wraps the preview, and also configures addons panel.
#### Using main.js
@@ -95,13 +655,11 @@ These files are now soft-deprecated, (*they still work, but over time we will pr
```js
module.exports = {
stories: ['../**/*.stories.js'],
- addons: [
- '@storybook/addon-docs/register',
- ],
+ addons: ['@storybook/addon-knobs'],
};
```
-You remove all "register" import from `addons.js` and place them inside the array. If this means `addons.js` is now empty for you, it's safe to remove.
+You remove all "register" import from `addons.js` and place them inside the array. You can also safely remove the `/register` suffix from these entries, for a cleaner, more readable configuration. If this means `addons.js` is now empty for you, it's safe to remove.
Next you remove the code that imports/requires all your stories from `config.js`, and change it to a glob-pattern and place that glob in the `stories` array. If this means `config.js` is empty, it's safe to remove.
@@ -110,10 +668,20 @@ If you had a `presets.js` file before you can add the array of presets to the ma
```js
module.exports = {
stories: ['../**/*.stories.js'],
- presets: ['@storybook/addon-docs/preset'],
+ addons: [
+ '@storybook/preset-create-react-app'
+ {
+ name: '@storybook/addon-docs',
+ options: { configureJSX: true }
+ }
+ ],
};
```
+By default, adding a package to the `addons` array will first try to load its `preset` entry, then its `register` entry, and finally, it will just assume the package itself is a preset.
+
+If you want to load a specific package entry, for example you want to use `@storybook/addon-docs/register`, you can also include that in the addons array and Storybook will do the right thing.
+
#### Using preview.js
If after migrating the imports/requires of your stories to `main.js` you're left with some code in `config.js` it's likely the usage of `addParameters` & `addDecorator`.
@@ -136,15 +704,16 @@ const theme = create({
});
addons.setConfig({
- showRoots: true,
panelPosition: 'bottom',
theme,
});
```
-This makes storybook load and use the theme in the manager directly.
+This makes storybook load and use the theme in the manager directly.
This allows for richer theming in the future, and has a much better performance!
+> If you're using addon-docs, you should probably not do this. Docs uses the theme as well, but this change makes the theme inaccessible to addon-docs. We'll address this in 6.0.0.
+
### Create React App preset
You can now move to the new preset for [Create React App](https://create-react-app.dev/). The in-built preset for Create React App will be disabled in Storybook 6.0.
@@ -169,17 +738,19 @@ To avoid that now you have to manually pass asyncStorage to React Native Storybo
Solution:
-- Use `require('@react-native-community/async-storage').AsyncStorage` for React Native v0.59 and above.
+- Use `require('@react-native-community/async-storage').default` for React Native v0.59 and above.
- Use `require('react-native').AsyncStorage` for React Native v0.58 or below.
- Use `null` to disable Async Storage completely.
```javascript
getStorybookUI({
...
- asyncStorage: require('@react-native-community/async-storage').AsyncStorage || require('react-native').AsyncStorage || null
+ asyncStorage: require('@react-native-community/async-storage').default || require('react-native').AsyncStorage || null
});
```
+The benefit of using Async Storage is so that when users refresh the app, Storybook can open their last visited story.
+
### Deprecate displayName parameter
In 5.2, the story parameter `displayName` was introduced as a publicly visible (but internal) API. Storybook's Component Story Format (CSF) loader used it to modify a story's display name independent of the story's `name`/`id` (which were coupled).
@@ -203,11 +774,27 @@ yarn sb migrate upgrade-hierarchy-separators --glob="*.stories.js"
If you were using `|` and wish to keep the "root" behavior, use the `showRoots: true` option to re-enable roots:
```js
-addParameters({ options: { showRoots: true } });
+addParameters({
+ options: {
+ showRoots: true,
+ },
+});
```
NOTE: it is no longer possible to have some stories with roots and others without. If you want to keep the old behavior, simply add a root called "Others" to all your previously unrooted stories.
+### Addon StoryShots Puppeteer uses external puppeteer
+
+To give you more control on the Chrome version used when running StoryShots Puppeteer, `puppeteer` is no more included in the addon dependencies. So you can now pick the version of `puppeteer` you want and set it in your project.
+
+If you want the latest version available just run:
+
+```sh
+yarn add puppeteer --dev
+OR
+npm install puppeteer --save-dev
+```
+
## From version 5.1.x to 5.2.x
### Source-loader
@@ -325,6 +912,8 @@ After a few iterations, this approach seems to be working. However, there are a
We'll update this section as we find more problem cases. If you have a `core-js` problem, please file an issue (preferably with a repro), and we'll do our best to get you sorted.
+**Update**: [corejs-upgrade-webpack-plugin](https://github.com/ndelangen/corejs-upgrade-webpack-plugin) has been removed again after running into further issues as described in [https://github.com/storybookjs/storybook/issues/7445](https://github.com/storybookjs/storybook/issues/7445).
+
## From version 5.0.1 to 5.0.2
### Deprecate webpack extend mode
@@ -385,7 +974,7 @@ var sortedModules = modules.slice().sort((a, b) => {
});
// execute them
-sortedModules.forEach(key => {
+sortedModules.forEach((key) => {
context(key);
});
```
@@ -618,6 +1207,26 @@ Furthermore, the decorator `checkA11y` has been deprecated and renamed to `withA
See the [a11y addon README](https://github.com/storybookjs/storybook/blob/master/addons/a11y/README.md) for more information.
+### Addon centered decorator deprecated
+
+If you previously had:
+
+```js
+import centered from '@storybook/addon-centered';
+```
+
+You should replace it with the React or Vue version as appropriate
+
+```js
+import centered from '@storybook/addon-centered/react';
+```
+
+or
+
+```js
+import centered from '@storybook/addon-centered/vue';
+```
+
### New keyboard shortcuts defaults
Storybook's keyboard shortcuts are updated in 5.0, but they are configurable via the menu so if you want to set them back you can:
@@ -929,7 +1538,7 @@ Here's an example of using Notes and Info in 3.2 with the new API.
storiesOf('composition', module).add(
'new addons api',
withInfo('see Notes panel for composition info')(
- withNotes({ text: 'Composition: Info(Notes())' })(context => (
+ withNotes({ text: 'Composition: Info(Notes())' })((context) => (
))
)
diff --git a/README.md b/README.md
index 6b44d241b354..e49b0b1de6c6 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Storybook is a development environment for UI components.
It allows you to browse a component library, view the different states of each component, and interactively develop and test components.
-
+
@@ -91,7 +91,7 @@ If you'd rather set up your project manually, take a look at our [Slow Start Gui
Once it's installed, you can `npm run storybook` and it will run the development server on your local machine, and give you a URL to browse some sample stories.
-**Storybook v2.x migration note**:
+**Storybook v2.x migration note**:
If you're using Storybook v2.x and want to shift to 4.x version the easiest way is:
```sh
@@ -109,20 +109,21 @@ For additional help, join us [in our Discord](https://discord.gg/sMFvFsG) or [Sl
### Supported Frameworks
-| Framework | Demo | |
-| -------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
-| [React](app/react) | [v5.1.0](https://storybooks-official.netlify.com) | [](app/react) |
-| [React Native](app/react-native) | - | [](app/react-native) |
-| [Vue](app/vue) | [v5.1.0](https://storybooks-vue.netlify.com/) | [](app/vue) |
-| [Angular](app/angular) | [v5.1.0](https://storybooks-angular.netlify.com/) | [](app/angular) |
-| [Polymer](app/polymer) | [v5.1.0](https://storybooks-polymer.netlify.com/) | [](app/polymer) |
-| [Mithril](app/mithril) | [v5.1.0](https://storybooks-mithril.netlify.com/) | [](app/mithril) |
-| [Marko](app/marko) | [v5.1.0](https://storybooks-marko.netlify.com/) | [](app/marko) |
-| [HTML](app/html) | [v5.1.0](https://storybooks-html.netlify.com/) | [](app/html) |
-| [Svelte](app/svelte) | [v5.1.0](https://storybooks-svelte.netlify.com/) | [](app/svelte) |
-| [Riot](app/riot) | [v5.1.0](https://storybooks-riot.netlify.com/) | [](app/riot) |
-| [Ember](app/ember) | [v5.1.0](https://storybooks-ember.netlify.com/) | [](app/ember) |
-| [Preact](app/preact) | [v5.1.0](https://storybooks-preact.netlify.com/) | [](app/preact) |
+| Framework | Demo | |
+| -------------------------------- | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
+| [React](app/react) | [v5.3.0](https://storybookjs.netlify.com/official-storybook/?path=/story/*) | [](app/react) |
+| [React Native](app/react-native) | - | [](app/react-native) |
+| [Vue](app/vue) | [v5.3.0](https://storybookjs.netlify.com/vue-kitchen-sink/) | [](app/vue) |
+| [Angular](app/angular) | [v5.3.0](https://storybookjs.netlify.com/angular-cli/) | [](app/angular) |
+| [Marionette.js](app/marionette) | - | [](app/marionette) |
+| [Mithril](app/mithril) | [v5.3.0](https://storybookjs.netlify.com/mithril-kitchen-sink/) | [](app/mithril) |
+| [Marko](app/marko) | [v5.3.0](https://storybookjs.netlify.com/marko-cli/) | [](app/marko) |
+| [HTML](app/html) | [v5.3.0](https://storybookjs.netlify.com/html-kitchen-sink/) | [](app/html) |
+| [Svelte](app/svelte) | [v5.3.0](https://storybookjs.netlify.com/svelte-kitchen-sink/) | [](app/svelte) |
+| [Riot](app/riot) | [v5.3.0](https://storybookjs.netlify.com/riot-kitchen-sink/) | [](app/riot) |
+| [Ember](app/ember) | [v5.3.0](https://storybookjs.netlify.com/ember-cli/) | [](app/ember) |
+| [Preact](app/preact) | [v5.3.0](https://storybookjs.netlify.com/preact-kitchen-sink/) | [](app/preact) |
+| [Rax](app/rax) | [v5.3.0](https://storybookjs.netlify.com/rax-kitchen-sink/) | [](app/rax) |
### Sub Projects
@@ -136,25 +137,37 @@ For additional help, join us [in our Discord](https://discord.gg/sMFvFsG) or [Sl
| [a11y](addons/a11y/) | Test components for user accessibility in Storybook |
| [actions](addons/actions/) | Log actions as users interact with components in the Storybook UI |
| [backgrounds](addons/backgrounds/) | Let users choose backgrounds in the Storybook UI |
-| [centered](addons/centered/) | Center the alignment of your components within the Storybook UI |
-| [contexts](addons/contexts/) | Interactively inject component contexts for stories in the Storybook UI |
| [cssresources](addons/cssresources/) | Dynamically add/remove css resources to the component iframe |
| [design assets](addons/design-assets/) | View images, videos, weblinks alongside your story |
+| [docs](addons/docs/) | Add high quality documentation to your components |
| [events](addons/events/) | Interactively fire events to components that respond to EventEmitter |
-| [graphql](addons/graphql/) | Query a GraphQL server within Storybook stories |
| [google-analytics](addons/google-analytics) | Reports google analytics on stories |
-| [info](addons/info/) | Annotate stories with extra component usage information |
+| [graphql](addons/graphql/) | Query a GraphQL server within Storybook stories |
| [jest](addons/jest/) | View the results of components' unit tests in Storybook |
| [knobs](addons/knobs/) | Interactively edit component prop data in the Storybook UI |
| [links](addons/links/) | Create links between stories |
-| [notes](addons/notes/) | Annotate Storybook stories with notes |
| [options](addons/options/) | Customize the Storybook UI in code |
+| [query params](addons/queryparams/) | Mock query params |
| [storyshots](addons/storyshots/) | Snapshot testing for components in Storybook |
| [storysource](addons/storysource/) | View the code of your stories within the Storybook UI |
| [viewport](addons/viewport/) | Change display sizes and layouts for responsive components using Storybook |
See [Addon / Framework Support Table](ADDONS_SUPPORT.md)
+### Deprecated Addons
+
+| Addons | |
+| ------------------------------------------- | -------------------------------------------------------------------------- |
+| [info](https://github.com/storybookjs/storybook/tree/master/addons/info) | Annotate stories with extra component usage information |
+| [notes](https://github.com/storybookjs/storybook/tree/master/addons/notes) | Annotate Storybook stories with notes |
+| [contexts](https://github.com/storybookjs/storybook/tree/master/addons/contexts) | Addon for driving your components under dynamic contexts |
+
+In order to continue improving your experience, we have to eventually deprecate certain addons in favor of new, better tools.
+
+If you're using info/notes, we highly recommend you to migrate to [docs](addons/docs/) instead, and [here is a guide](addons/docs/docs/recipes.md#migrating-from-notesinfo-addons) to help you.
+
+If you're using contexts, we highly recommend you to migrate to [toolbars](https://github.com/storybookjs/storybook/tree/next/addons/toolbars) and [here is a guide](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addon-contexts) to help you.
+
## Badges & Presentation materials
We have a badge! Link it to your live Storybook example.
diff --git a/ROADMAP.md b/ROADMAP.md
deleted file mode 100644
index 6a406bc2ccd7..000000000000
--- a/ROADMAP.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# Roadmap
-
-## Table of contents
-
-* [New features](#new-features)
- + [Responsive + multi-device viewports preview.](#responsive--multi-device-viewports-preview)
- + [Automatic story detection](#automatic-story-detection)
- + [Theme ability and override core UI components](#theme-ability-and-override-core-ui-components)
- + [Add a playground addon](#add-a-playground-addon)
- + [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview)
-* [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
- + [Polymer & Webcomponents](#polymer---webcomponents)
- + [Aurelia](#aurelia)
-* [Breaking changes](#breaking-changes)
- + [Addon API](#addon-api)
- + [API for adding stories](#api-for-adding-stories)
-* [Documentation](#documentation)
- + [Better design](#better-design)
- + [Record videos and write blog post on how to use, tweak & develop storybook](#record-videos-and-write-blog-post-on-how-to-use--tweak---develop-storybook)
-
-## New features
-
-Doing these will be backwards compatible.
-
-### Responsive + multi-device viewports preview.
-
-If you're smart about it you can already view the preview on multiple devices and windows. It's an iframe after-all.
-But story selection and addon-settings are not synced.
-We want to make this much much simpler and a core feature of storybook.
-
-### Automatic story detection
-
-Some tools are doing automatic file detection, jest for example.
-We think such a feature is highly needed. A lot of users are already hacking this themselves using webpack specific features.
-
-### Themeability and override core UI components
-
-Storybook is often used inside product companies and agencies. We want to help them have a sense of quality and immersion.
-We're interested in full customizability of our UI, though addons and options.
-
-### Add a playground addon
-
-Many other styleguide-type projects have what's called a playground, where developers can change the code rendering the component inside the app.
-Storybook has a very tight connection with your editor, and it has a knobs addon.
-But we still see value in an addon that will allow the workflow of a playground.
-
-### See multiple (or all) stories in 1 preview.
-
-Storybook's philosophy is about describing small bits in a variety of states.
-However, some components are best understood when viewed in multiple varieties in 1 view.
-It's quite common to see users write a single story, with wrapper components and multiple instances of the component the story is about.
-We plan to add a second mode to storybook that will allow you to see all stories in 1 preview.
-That way you can write your stories how they are best, and preview them how you like.
-
-## Supporting other frameworks and libraries
-
-We believe in the power of react, and think it's the right choice for a lot of projects.
-But it's up to you and your team to decide your stack.
-Unfortunately, if you choose anything not from the list of [supported frameworks](README.md#supported-frameworks) you can not use storybook.
-
-We want you to be able to use storybook with the framework / library of your choice.
-
-### Polymer & Webcomponents
-
-Storybook for Polymer is currently in development and will support custom elements and plain HTML.
-
-### Aurelia
-
-We're reaching out to the Aurelia maintainers to cooperate on this.
-
-## Breaking changes
-
-### Addon API
-
-Our addon api is limited and will eventually have to be improved to accommodate better more optimized and modern addons.
-
-### API for adding stories
-
-Currently, it's getting hard to set up a story that has data/options for multiple addons.
-We want to support this but will likely mean we will have to change the `add` method's API.
-
-## Documentation
-
-### Better design
-
-We have a new logo, so the next step is an overhaul of our documentation site.
-
-### Record videos and write blog posts on how to use, tweak & develop storybook
-
-- writing addons,
-- choosing the right addons.
-- how to start developing on our codebase.
-- how to use storybook itself and the CLI.
diff --git a/__mocks__/fs.js b/__mocks__/fs.js
index 261aedd7a6a7..89d2fb53ce18 100644
--- a/__mocks__/fs.js
+++ b/__mocks__/fs.js
@@ -13,11 +13,15 @@ function __setMockFiles(newMockFiles) {
// A custom version of `readdirSync` that reads from the special mocked out
// file list set via __setMockFiles
const readFileSync = (filePath = '') => mockFiles[filePath];
-const existsSync = filePath => !!mockFiles[filePath];
+const existsSync = (filePath) => !!mockFiles[filePath];
+const lstatSync = (filePath) => ({
+ isFile: () => !!mockFiles[filePath],
+});
// eslint-disable-next-line no-underscore-dangle
fs.__setMockFiles = __setMockFiles;
fs.readFileSync = readFileSync;
fs.existsSync = existsSync;
+fs.lstatSync = lstatSync;
module.exports = fs;
diff --git a/addons/a11y/README.md b/addons/a11y/README.md
index aa141c5c94c1..17295f69933f 100755
--- a/addons/a11y/README.md
+++ b/addons/a11y/README.md
@@ -18,35 +18,33 @@ Add this line to your `main.js` file (create this file inside your storybook con
```js
module.exports = {
- addons: ['@storybook/addon-a11y/register']
-}
+ addons: ['@storybook/addon-a11y'],
+};
```
-import the `withA11y` decorator to check your stories for violations within your components.
-
```js
import React from 'react';
-import { withA11y } from '@storybook/addon-a11y';
-
export default {
title: 'button',
- decorators: [withA11y],
};
-export const accessible = () => (
-
-);
+export const accessible = () => ;
export const inaccessible = () => (
-
+
);
```
+If you wish to selectively disable `a11y` checks for a subset of stories, you can control this with story parameters:
+
+```js
+export const MyNonCheckedStory = () => ;
+MyNonCheckedStory.parameters = {
+ a11y: { disable: true },
+};
+```
+
## Parameters
For more customizability use parameters to configure [aXe options](https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#api-name-axeconfigure).
@@ -56,11 +54,8 @@ You can override these options [at story level too](https://storybook.js.org/doc
import React from 'react';
import { storiesOf, addDecorator, addParameters } from '@storybook/react';
-import { withA11y } from '@storybook/addon-a11y';
-
export default {
title: 'button',
- decorators: [withA11y],
parameters: {
a11y: {
// optional selector which element to inspect
@@ -69,27 +64,23 @@ export default {
config: {},
// axe-core optionsParameter (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter)
options: {},
+ // optional flag to prevent the automatic check
+ manual: true,
},
},
};
-export const accessible = () => (
-
-);
+export const accessible = () => ;
export const inaccessible = () => (
-
+
);
```
## Roadmap
-* Make UI accessible
-* Show in story where violations are.
-* Add more example tests
-* Add tests
-* Make CI integration possible
+- Make UI accessible
+- Show in story where violations are.
+- Add more example tests
+- Add tests
+- Make CI integration possible
diff --git a/addons/a11y/package.json b/addons/a11y/package.json
index 772ba9dfdadf..0bbf39e48dcc 100644
--- a/addons/a11y/package.json
+++ b/addons/a11y/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
- "version": "5.3.0-rc.0",
+ "version": "6.0.0-beta.21",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
@@ -20,41 +20,55 @@
"directory": "addons/a11y"
},
"license": "MIT",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
"files": [
"dist/**/*",
- "docs/**/*",
"README.md",
"*.js",
- "*.d.ts"
+ "*.d.ts",
+ "ts3.5/**/*"
],
- "main": "dist/index.js",
- "types": "dist/index.d.ts",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "5.3.0-rc.0",
- "@storybook/api": "5.3.0-rc.0",
- "@storybook/client-logger": "5.3.0-rc.0",
- "@storybook/components": "5.3.0-rc.0",
- "@storybook/core-events": "5.3.0-rc.0",
- "@storybook/theming": "5.3.0-rc.0",
- "axe-core": "^3.3.2",
+ "@storybook/addons": "6.0.0-beta.21",
+ "@storybook/api": "6.0.0-beta.21",
+ "@storybook/channels": "6.0.0-beta.21",
+ "@storybook/client-api": "6.0.0-beta.21",
+ "@storybook/client-logger": "6.0.0-beta.21",
+ "@storybook/components": "6.0.0-beta.21",
+ "@storybook/core-events": "6.0.0-beta.21",
+ "@storybook/theming": "6.0.0-beta.21",
+ "axe-core": "^3.5.2",
"core-js": "^3.0.1",
"global": "^4.3.2",
- "memoizerific": "^1.11.3",
- "react": "^16.8.3",
- "react-redux": "^7.0.2",
+ "lodash": "^4.17.15",
"react-sizeme": "^2.5.2",
- "redux": "^4.0.1",
- "ts-dedent": "^1.1.0",
+ "regenerator-runtime": "^0.13.3",
+ "ts-dedent": "^1.1.1",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
- "@types/react-redux": "^7.0.6"
+ "@testing-library/react": "^10.0.4",
+ "@types/webpack-env": "^1.15.2",
+ "react": "^16.13.1",
+ "react-dom": "^16.13.1"
+ },
+ "peerDependencies": {
+ "react": "*",
+ "react-dom": "*"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "6ad2664adf18b50ea3ce015cbae2ff3e9a60cc4a"
+ "gitHead": "4b9d901add9452525135caae98ae5f78dd8da9ff",
+ "typesVersions": {
+ "<=3.5": {
+ "*": [
+ "ts3.5/*"
+ ]
+ }
+ }
}
diff --git a/addons/a11y/preset.js b/addons/a11y/preset.js
new file mode 100644
index 000000000000..a83f95279e7f
--- /dev/null
+++ b/addons/a11y/preset.js
@@ -0,0 +1 @@
+module.exports = require('./dist/preset');
diff --git a/addons/a11y/src/a11yHighlight.ts b/addons/a11y/src/a11yHighlight.ts
new file mode 100644
index 000000000000..155e58f8919d
--- /dev/null
+++ b/addons/a11y/src/a11yHighlight.ts
@@ -0,0 +1,46 @@
+import { document } from 'global';
+import addons from '@storybook/addons';
+import { STORY_CHANGED } from '@storybook/core-events';
+import { EVENTS, HIGHLIGHT_STYLE_ID } from './constants';
+
+import { higlightStyle } from './highlight';
+
+if (module && module.hot && module.hot.decline) {
+ module.hot.decline();
+}
+
+interface HighlightInfo {
+ /** html selector of the element */
+ elements: string[];
+ color: string;
+}
+
+const channel = addons.getChannel();
+
+const highlight = (infos: HighlightInfo) => {
+ const id = HIGHLIGHT_STYLE_ID;
+ resetHighlight();
+
+ const sheet = document.createElement('style');
+ sheet.setAttribute('id', id);
+ sheet.innerHTML = infos.elements
+ .map(
+ (target) =>
+ `${target}{
+ ${higlightStyle(infos.color)}
+ }`
+ )
+ .join(' ');
+ document.head.appendChild(sheet);
+};
+
+const resetHighlight = () => {
+ const id = HIGHLIGHT_STYLE_ID;
+ const sheetToBeRemoved = document.getElementById(id);
+ if (sheetToBeRemoved) {
+ sheetToBeRemoved.parentNode.removeChild(sheetToBeRemoved);
+ }
+};
+
+channel.on(STORY_CHANGED, resetHighlight);
+channel.on(EVENTS.HIGHLIGHT, highlight);
diff --git a/addons/a11y/src/a11yRunner.test.ts b/addons/a11y/src/a11yRunner.test.ts
new file mode 100644
index 000000000000..2efb58b2f245
--- /dev/null
+++ b/addons/a11y/src/a11yRunner.test.ts
@@ -0,0 +1,25 @@
+import addons from '@storybook/addons';
+import { EVENTS } from './constants';
+
+jest.mock('@storybook/addons');
+const mockedAddons = addons as jest.Mocked;
+
+describe('a11yRunner', () => {
+ let mockChannel: { on: jest.Mock; emit?: jest.Mock };
+
+ beforeEach(() => {
+ mockedAddons.getChannel.mockReset();
+
+ mockChannel = { on: jest.fn(), emit: jest.fn() };
+ mockedAddons.getChannel.mockReturnValue(mockChannel as any);
+ });
+
+ it('should listen to events', () => {
+ // eslint-disable-next-line global-require
+ require('./a11yRunner');
+
+ expect(mockedAddons.getChannel).toHaveBeenCalled();
+ expect(mockChannel.on).toHaveBeenCalledWith(EVENTS.REQUEST, expect.any(Function));
+ expect(mockChannel.on).toHaveBeenCalledWith(EVENTS.MANUAL, expect.any(Function));
+ });
+});
diff --git a/addons/a11y/src/a11yRunner.ts b/addons/a11y/src/a11yRunner.ts
new file mode 100644
index 000000000000..ce0c900f1fde
--- /dev/null
+++ b/addons/a11y/src/a11yRunner.ts
@@ -0,0 +1,58 @@
+import { document, window } from 'global';
+import axe from 'axe-core';
+import addons from '@storybook/addons';
+import { EVENTS } from './constants';
+import { Setup } from './params';
+
+if (module && module.hot && module.hot.decline) {
+ module.hot.decline();
+}
+
+const channel = addons.getChannel();
+let active = false;
+
+const getElement = () => {
+ const storyRoot = document.getElementById('story-root');
+ return storyRoot ? storyRoot.children : document.getElementById('root');
+};
+
+const run = async (storyId: string) => {
+ try {
+ const input = getParams(storyId);
+
+ if (!active) {
+ active = true;
+ channel.emit(EVENTS.RUNNING);
+
+ const { element = getElement(), config, options } = input;
+ axe.reset();
+ if (config) {
+ axe.configure(config);
+ }
+
+ const result = await axe.run(element, options);
+ channel.emit(EVENTS.RESULT, result);
+ }
+ } catch (error) {
+ channel.emit(EVENTS.ERROR, error);
+ } finally {
+ active = false;
+ }
+};
+
+/** Returns story parameters or default ones. */
+const getParams = (storyId: string): Setup => {
+ // eslint-disable-next-line no-underscore-dangle
+ const { parameters } = window.__STORYBOOK_STORY_STORE__._stories[storyId] || {};
+ return (
+ parameters.a11y || {
+ config: {},
+ options: {
+ restoreScroll: true,
+ },
+ }
+ );
+};
+
+channel.on(EVENTS.REQUEST, run);
+channel.on(EVENTS.MANUAL, run);
diff --git a/addons/a11y/src/components/A11YPanel.test.js b/addons/a11y/src/components/A11YPanel.test.js
deleted file mode 100644
index 2f84b31afd39..000000000000
--- a/addons/a11y/src/components/A11YPanel.test.js
+++ /dev/null
@@ -1,224 +0,0 @@
-import React from 'react';
-import { mount } from 'enzyme';
-
-import { ThemeProvider, themes, convert } from '@storybook/theming';
-import { STORY_RENDERED } from '@storybook/core-events';
-import { ScrollArea } from '@storybook/components';
-
-import { A11YPanel } from './A11YPanel';
-import { EVENTS } from '../constants';
-
-function createApi() {
- return {
- emit: jest.fn(),
- on: jest.fn(),
- off: jest.fn(),
- };
-}
-
-const axeResult = {
- incomplete: [
- {
- id: 'color-contrast',
- impact: 'serious',
- tags: ['cat.color', 'wcag2aa', 'wcag143'],
- description:
- 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
- help: 'Elements must have sufficient color contrast',
- helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI',
- nodes: [],
- },
- ],
- passes: [
- {
- id: 'aria-allowed-attr',
- impact: null,
- tags: ['cat.aria', 'wcag2a', 'wcag412'],
- description: "Ensures ARIA attributes are allowed for an element's role",
- help: 'Elements must only use allowed ARIA attributes',
- helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/aria-allowed-attr?application=axeAPI',
- nodes: [],
- },
- ],
- violations: [
- {
- id: 'color-contrast',
- impact: 'serious',
- tags: ['cat.color', 'wcag2aa', 'wcag143'],
- description:
- 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
- help: 'Elements must have sufficient color contrast',
- helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI',
- nodes: [],
- },
- ],
-};
-
-function ThemedA11YPanel(props) {
- return (
-
-
-
- );
-}
-
-describe('A11YPanel', () => {
- it('should register STORY_RENDERED, RESULT and ERROR updater on mount', () => {
- // given
- const api = createApi();
- expect(api.on).not.toHaveBeenCalled();
-
- // when
- mount();
-
- // then
- expect(api.on.mock.calls.length).toBe(3);
- expect(api.on.mock.calls[0][0]).toBe(STORY_RENDERED);
- expect(api.on.mock.calls[1][0]).toBe(EVENTS.RESULT);
- expect(api.on.mock.calls[2][0]).toBe(EVENTS.ERROR);
- });
-
- it('should request a run on tab activation', () => {
- // given
- const api = createApi();
-
- const wrapper = mount();
- expect(api.emit).not.toHaveBeenCalled();
-
- // when
- wrapper.setProps({ active: true });
- wrapper.update();
-
- // then
- expect(api.emit).toHaveBeenCalledWith(EVENTS.REQUEST);
- expect(wrapper.find(ScrollArea).length).toBe(0);
- });
-
- it('should deregister STORY_RENDERED, RESULT and ERROR updater on unmount', () => {
- // given
- const api = createApi();
- const wrapper = mount();
- expect(api.off).not.toHaveBeenCalled();
-
- // when
- wrapper.unmount();
-
- // then
- expect(api.off.mock.calls.length).toBe(3);
- expect(api.off.mock.calls[0][0]).toBe(STORY_RENDERED);
- expect(api.off.mock.calls[1][0]).toBe(EVENTS.RESULT);
- expect(api.off.mock.calls[2][0]).toBe(EVENTS.ERROR);
- });
-
- it('should update run result', () => {
- // given
- const api = createApi();
- const wrapper = mount();
- const onUpdate = api.on.mock.calls.find(([event]) => event === EVENTS.RESULT)[1];
-
- expect(
- wrapper
- .find('button')
- .last()
- .text()
- .trim()
- ).toBe('Rerun tests');
-
- // when
- onUpdate(axeResult);
-
- // then
- expect(
- wrapper
- .find('button')
- .last()
- .text()
- .trim()
- ).toBe('Tests completed');
- });
-
- it('should request run', () => {
- // given
- const api = createApi();
- const wrapper = mount();
- const request = api.on.mock.calls.find(([event]) => event === STORY_RENDERED)[1];
-
- expect(
- wrapper
- .find('button')
- .last()
- .text()
- .trim()
- ).toBe('Rerun tests');
- expect(api.emit).not.toHaveBeenCalled();
-
- // when
- request();
-
- // then
- expect(
- wrapper
- .find('button')
- .last()
- .text()
- .trim()
- ).toBe('Running test');
- expect(api.emit).toHaveBeenCalledWith(EVENTS.REQUEST);
- });
-
- it('should NOT request run on inactive tab', () => {
- // given
- const api = createApi();
- mount();
- const request = api.on.mock.calls.find(([event]) => event === STORY_RENDERED)[1];
- expect(api.emit).not.toHaveBeenCalled();
-
- // when
- request();
-
- // then
- expect(api.emit).not.toHaveBeenCalled();
- });
-
- it('should render report', () => {
- // given
- const api = createApi();
- const wrapper = mount();
- const onUpdate = api.on.mock.calls.find(([event]) => event === EVENTS.RESULT)[1];
-
- // when
- onUpdate(axeResult);
-
- // then
- expect(wrapper.find(A11YPanel)).toMatchSnapshot();
- });
-
- it("should render loader when it's running", () => {
- // given
- const api = createApi();
- const wrapper = mount();
- const request = api.on.mock.calls.find(([event]) => event === STORY_RENDERED)[1];
-
- // when
- request();
- wrapper.update();
-
- // then
- expect(wrapper.find('ScrollArea').length).toBe(0);
- expect(wrapper.find('Loader').length).toBe(1);
- expect(wrapper.find('ActionBar').length).toBe(1);
- expect(wrapper.find('Loader')).toMatchSnapshot();
- });
-
- it('should NOT anything when tab is not active', () => {
- // given
- const api = createApi();
-
- // when
- const wrapper = mount();
-
- // then
- expect(wrapper.find('ScrollArea').length).toBe(0);
- expect(wrapper.find('ActionBar').length).toBe(0);
- });
-});
diff --git a/addons/a11y/src/components/A11YPanel.test.tsx b/addons/a11y/src/components/A11YPanel.test.tsx
new file mode 100644
index 000000000000..b7e77b1e51a3
--- /dev/null
+++ b/addons/a11y/src/components/A11YPanel.test.tsx
@@ -0,0 +1,139 @@
+import React from 'react';
+import { render, waitFor, fireEvent, act } from '@testing-library/react';
+
+import { ThemeProvider, themes, convert } from '@storybook/theming';
+import * as api from '@storybook/api';
+
+import { A11YPanel } from './A11YPanel';
+import { EVENTS } from '../constants';
+
+jest.mock('@storybook/api');
+const mockedApi = api as jest.Mocked;
+
+const axeResult = {
+ incomplete: [
+ {
+ id: 'color-contrast',
+ impact: 'serious',
+ tags: ['cat.color', 'wcag2aa', 'wcag143'],
+ description:
+ 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
+ help: 'Elements must have sufficient color contrast',
+ helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI',
+ nodes: [],
+ },
+ ],
+ passes: [
+ {
+ id: 'aria-allowed-attr',
+ impact: null,
+ tags: ['cat.aria', 'wcag2a', 'wcag412'],
+ description: "Ensures ARIA attributes are allowed for an element's role",
+ help: 'Elements must only use allowed ARIA attributes',
+ helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/aria-allowed-attr?application=axeAPI',
+ nodes: [],
+ },
+ ],
+ violations: [
+ {
+ id: 'color-contrast',
+ impact: 'serious',
+ tags: ['cat.color', 'wcag2aa', 'wcag143'],
+ description:
+ 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds',
+ help: 'Elements must have sufficient color contrast',
+ helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI',
+ nodes: [],
+ },
+ ],
+};
+
+function ThemedA11YPanel() {
+ return (
+
+
+
+ );
+}
+
+describe('A11YPanel', () => {
+ beforeEach(() => {
+ mockedApi.useChannel.mockReset();
+ mockedApi.useParameter.mockReset();
+ mockedApi.useStorybookState.mockReset();
+ mockedApi.useAddonState.mockReset();
+
+ mockedApi.useChannel.mockReturnValue(jest.fn());
+ mockedApi.useParameter.mockReturnValue({ manual: false });
+ const state: Partial = { storyId: 'jest' };
+ // Lazy to mock entire state
+ mockedApi.useStorybookState.mockReturnValue(state as any);
+ mockedApi.useAddonState.mockImplementation(React.useState);
+ });
+
+ it('should render', () => {
+ const { container } = render();
+ expect(container.firstChild).toBeTruthy();
+ });
+
+ it('should register event listener on mount', () => {
+ render();
+ expect(mockedApi.useChannel).toHaveBeenCalledWith(
+ expect.objectContaining({
+ [EVENTS.RESULT]: expect.any(Function),
+ [EVENTS.ERROR]: expect.any(Function),
+ })
+ );
+ });
+
+ it('should handle "initial" status', () => {
+ const { getByText } = render();
+ expect(getByText(/Initializing/)).toBeTruthy();
+ });
+
+ it('should handle "manual" status', async () => {
+ mockedApi.useParameter.mockReturnValue({ manual: true });
+ const { getByText } = render();
+ await waitFor(() => {
+ expect(getByText(/Manually run the accessibility scan/)).toBeTruthy();
+ });
+ });
+
+ describe('running', () => {
+ it('should handle "running" status', async () => {
+ const emit = jest.fn();
+ mockedApi.useChannel.mockReturnValue(emit);
+ mockedApi.useParameter.mockReturnValue({ manual: true });
+ const { getByRole, getByText } = render();
+ await waitFor(() => {
+ const button = getByRole('button', { name: 'Run test' });
+ fireEvent.click(button);
+ });
+ await waitFor(() => {
+ expect(getByText(/Please wait while the accessibility scan is running/)).toBeTruthy();
+ expect(emit).toHaveBeenCalledWith(EVENTS.MANUAL, 'jest');
+ });
+ });
+
+ it('should set running status on event', async () => {
+ const { getByText } = render();
+ const useChannelArgs = mockedApi.useChannel.mock.calls[0][0];
+ act(() => useChannelArgs[EVENTS.RUNNING]());
+ await waitFor(() => {
+ expect(getByText(/Please wait while the accessibility scan is running/)).toBeTruthy();
+ });
+ });
+ });
+
+ it('should handle "ran" status', async () => {
+ const { getByText } = render();
+ const useChannelArgs = mockedApi.useChannel.mock.calls[0][0];
+ act(() => useChannelArgs[EVENTS.RESULT](axeResult));
+ await waitFor(() => {
+ expect(getByText(/Tests completed/)).toBeTruthy();
+ expect(getByText(/Violations/)).toBeTruthy();
+ expect(getByText(/Passes/)).toBeTruthy();
+ expect(getByText(/Incomplete/)).toBeTruthy();
+ });
+ });
+});
diff --git a/addons/a11y/src/components/A11YPanel.tsx b/addons/a11y/src/components/A11YPanel.tsx
index a2d7a7fc73d8..fc568cfc4e30 100644
--- a/addons/a11y/src/components/A11YPanel.tsx
+++ b/addons/a11y/src/components/A11YPanel.tsx
@@ -1,18 +1,17 @@
-import React, { Component, Fragment } from 'react';
+import React, { useCallback, useMemo } from 'react';
import { styled } from '@storybook/theming';
-import { STORY_RENDERED } from '@storybook/core-events';
import { ActionBar, Icons, ScrollArea } from '@storybook/components';
-import { AxeResults, Result } from 'axe-core';
-import { API } from '@storybook/api';
-import { Provider } from 'react-redux';
+import { AxeResults } from 'axe-core';
+import { useChannel, useParameter, useStorybookState, useAddonState } from '@storybook/api';
import { Report } from './Report';
import { Tabs } from './Tabs';
-import { EVENTS } from '../constants';
-import store, { clearElements } from '../redux-config';
+import { useA11yContext } from './A11yContext';
+import { EVENTS, ADDON_ID } from '../constants';
+import { A11yParameters } from '../params';
export enum RuleType {
VIOLATION,
@@ -20,19 +19,15 @@ export enum RuleType {
INCOMPLETION,
}
-const Icon = styled(Icons)(
- {
- height: 12,
- width: 12,
- marginRight: 4,
- },
- ({ status, theme }: any) =>
- status === 'running'
- ? {
- animation: `${theme.animation.rotate360} 1s linear infinite;`,
- }
- : {}
-);
+const Icon = styled(Icons)({
+ height: 12,
+ width: 12,
+ marginRight: 4,
+});
+
+const RotatingIcon = styled(Icon)<{}>(({ theme }) => ({
+ animation: `${theme.animation.rotate360} 1s linear infinite;`,
+}));
const Passes = styled.span<{}>(({ theme }) => ({
color: theme.color.positive,
@@ -46,210 +41,145 @@ const Incomplete = styled.span<{}>(({ theme }) => ({
color: theme.color.warning,
}));
-const centeredStyle = {
+const Centered = styled.span<{}>({
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
height: '100%',
-};
-
-const Loader = styled(({ className }) => (
-
- Please wait while the accessibility scan is running
- ...
-