Merge branch 'next' into dependabot/npm_and_yarn/webpack-4.28.4

# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/ondevice-knobs/package.json
#	addons/ondevice-notes/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	examples/angular-cli/package.json
#	examples/mithril-kitchen-sink/package.json
This commit is contained in:
Norbert de Langen 2019-01-17 13:03:59 +01:00
commit b09259db77
65 changed files with 416 additions and 345 deletions

View File

@ -1,3 +1,13 @@
## 5.0.0-alpha.5 (January 17, 2019)
### Features
* Core: preserve user-specified iframe url params ([#5272](https://github.com/storybooks/storybook/pull/5272))
### Bug Fixes
* Storyshots: FIX using the wrong parameter for disabling ([#5257](https://github.com/storybooks/storybook/pull/5257))
## 5.0.0-alpha.4 (January 17, 2019)
### Bug Fixes

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
@ -25,11 +25,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"axe-core": "^3.1.2",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"
@ -20,10 +20,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -24,11 +24,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"eventemitter3": "^3.1.0",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-centered",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook decorator to center components",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-cssresources",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A storybook addon to switch between css resources at runtime for your story",
"keywords": [
"addon",
@ -25,9 +25,9 @@
},
"dependencies": {
"@emotion/styled": "10.0.6",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"global": "^4.3.2",
"prop-types": "^15.6.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-events",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Add events to your Storybook stories.",
"keywords": [
"addon",
@ -23,9 +23,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"format-json": "^1.0.3",
"prop-types": "^15.6.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-google-analytics",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook addon for google analytics",
"keywords": [
"addon",
@ -20,8 +20,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"global": "^4.3.2",
"react-ga": "^2.5.3"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-graphql",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook addon to display the GraphiQL IDE",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-info",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A Storybook addon to show additional information for your stories.",
"keywords": [
"addon",
@ -21,10 +21,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"global": "^4.3.2",
"marksy": "^6.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -27,10 +27,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"global": "^4.3.2",
"prop-types": "^15.6.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-knobs",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook Addon Prop Editor Component",
"keywords": [
"addon",
@ -21,10 +21,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"copy-to-clipboard": "^3.0.8",
"core-js": "^2.6.2",
"escape-html": "^1.0.3",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Story Links addon for storybook",
"keywords": [
"addon",
@ -21,8 +21,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-notes",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
@ -22,10 +22,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"markdown-to-jsx": "^6.9.0",
"prop-types": "^15.6.2",
"util-deprecate": "^1.0.2"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-backgrounds",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"prop-types": "^15.6.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-knobs",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Display storybook story knobs on your deviced.",
"keywords": [
"addon",
@ -20,7 +20,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"deep-equal": "^1.0.1",
"prop-types": "^15.6.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-notes",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
@ -18,7 +18,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"prop-types": "^15.6.2",
"react-native-simple-markdown": "^1.1.0"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-options",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Options addon for storybook",
"keywords": [
"addon",
@ -20,7 +20,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"util-deprecate": "^1.0.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
"keywords": [
"addon",
@ -24,7 +24,7 @@
"storybook": "start-storybook -p 6006"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"glob": "^7.1.3",
"global": "^4.3.2",

View File

@ -17,7 +17,7 @@ function callTestMethodGlobals(testMethod) {
});
}
const isDisabled = parameter => parameter === false || (parameter && parameter.disabled === true);
const isDisabled = parameter => parameter === false || (parameter && parameter.disable === true);
function testStorySnapshots(options = {}) {
if (typeof describe !== 'function') {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Image snappshots addition to StoryShots base on puppeteer",
"keywords": [
"addon",
@ -21,8 +21,8 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/node-logger": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"@storybook/node-logger": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"jest-image-snapshot": "^2.6.0",
"puppeteer": "^1.11.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Stories addon for storybook",
"keywords": [
"addon",
@ -21,8 +21,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"estraverse": "^4.2.0",
"loader-utils": "^1.2.1",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook addon to change the viewport size to mobile",
"keywords": [
"addon",
@ -20,11 +20,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"core-js": "^2.6.2",
"global": "^4.3.2",
"memoizerific": "^1.11.3",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,8 +25,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/node-logger": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"@storybook/node-logger": "5.0.0-alpha.5",
"angular2-template-loader": "^0.6.2",
"core-js": "^2.6.2",
"fork-ts-checker-webpack-plugin": "^0.5.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
"bugs": {
@ -23,7 +23,7 @@
},
"dependencies": {
"@ember/test-helpers": "^1.0.0",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -24,7 +24,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/marko",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,7 +25,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/mithril",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
"keywords": [
"storybook"
@ -26,7 +26,7 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.2.0",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/polymer",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -24,7 +24,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"@webcomponents/webcomponentsjs": "^1.2.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -26,7 +26,7 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.2.0",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-native",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A better way to develop React Native Components for your app",
"keywords": [
"react",
@ -25,12 +25,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/channel-websocket": "5.0.0-alpha.4",
"@storybook/channels": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/ui": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/channel-websocket": "5.0.0-alpha.5",
"@storybook/channels": "5.0.0-alpha.5",
"@storybook/core": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/ui": "5.0.0-alpha.5",
"babel-loader": "^8.0.4",
"babel-plugin-macros": "^2.4.5",
"babel-plugin-syntax-async-functions": "^6.13.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -28,9 +28,9 @@
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/node-logger": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"@storybook/node-logger": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"@svgr/webpack": "^4.0.3",
"babel-plugin-named-asset-import": "^0.3.0",
"babel-plugin-react-docgen": "^2.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/riot",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -24,7 +24,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,7 +25,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,7 +25,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.5",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "angular-cli",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"license": "MIT",
"scripts": {
@ -33,18 +33,18 @@
"@angular-devkit/build-angular": "^0.11.4",
"@angular/cli": "^7.2.2",
"@angular/compiler-cli": "^7.2.1",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-jest": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/angular": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-jest": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/angular": "5.0.0-alpha.5",
"@types/core-js": "^2.5.0",
"@types/jest": "^23.3.12",
"@types/node": "~10.12.18",

View File

@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -18,21 +18,21 @@
"react-lifecycles-compat": "^3.0.4"
},
"devDependencies": {
"@storybook/addon-a11y": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-events": "5.0.0-alpha.4",
"@storybook/addon-info": "5.0.0-alpha.4",
"@storybook/addon-jest": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/react": "5.0.0-alpha.4",
"@storybook/addon-a11y": "5.0.0-alpha.5",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-events": "5.0.0-alpha.5",
"@storybook/addon-info": "5.0.0-alpha.5",
"@storybook/addon-jest": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/react": "5.0.0-alpha.5",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-kitchen-sink",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook -s public",
@ -13,11 +13,11 @@
"react-dom": "^16.7.0"
},
"devDependencies": {
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-info": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/react": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-info": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/react": "5.0.0-alpha.5",
"@types/enzyme": "^3.1.15",
"@types/react": "^16.7.20",
"@types/react-dom": "^16.0.11",

View File

@ -1,6 +1,6 @@
{
"name": "ember-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build": "ember build",
@ -14,18 +14,18 @@
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-a11y": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/ember": "5.0.0-alpha.4",
"@storybook/addon-a11y": "5.0.0-alpha.5",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/ember": "5.0.0-alpha.5",
"babel-loader": "^8",
"broccoli-asset-rev": "^3.0.0",
"cross-env": "^5.2.0",

View File

@ -1,6 +1,6 @@
{
"name": "html-kitchen-sink",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"description": "",
"keywords": [],
@ -13,23 +13,23 @@
"storybook": "start-storybook -p 9006"
},
"devDependencies": {
"@storybook/addon-a11y": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-events": "5.0.0-alpha.4",
"@storybook/addon-jest": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/core": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/html": "5.0.0-alpha.4",
"@storybook/addon-a11y": "5.0.0-alpha.5",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-events": "5.0.0-alpha.5",
"@storybook/addon-jest": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/core": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/html": "5.0.0-alpha.5",
"eventemitter3": "^3.1.0",
"format-json": "^1.0.3",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "marko-cli",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"description": "Demo of how to build an app using marko-starter",
"repository": {
@ -22,12 +22,12 @@
"marko-starter": "^2.0.4"
},
"devDependencies": {
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/marko": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/marko": "5.0.0-alpha.5",
"prettier": "^1.14.3",
"webpack": "^4.28.4"
}

View File

@ -1,6 +1,6 @@
{
"name": "mithril-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -10,18 +10,18 @@
"mithril": "^1.1.6"
},
"devDependencies": {
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/mithril": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/mithril": "5.0.0-alpha.5",
"webpack": "^4.28.4"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "official-storybook",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook -c ./ -s built-storybooks",
@ -12,29 +12,29 @@
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks"
},
"devDependencies": {
"@storybook/addon-a11y": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-cssresources": "5.0.0-alpha.4",
"@storybook/addon-events": "5.0.0-alpha.4",
"@storybook/addon-graphql": "5.0.0-alpha.4",
"@storybook/addon-info": "5.0.0-alpha.4",
"@storybook/addon-jest": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storyshots-puppeteer": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/node-logger": "5.0.0-alpha.4",
"@storybook/react": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addon-a11y": "5.0.0-alpha.5",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-cssresources": "5.0.0-alpha.5",
"@storybook/addon-events": "5.0.0-alpha.5",
"@storybook/addon-graphql": "5.0.0-alpha.5",
"@storybook/addon-info": "5.0.0-alpha.5",
"@storybook/addon-jest": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storyshots-puppeteer": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/node-logger": "5.0.0-alpha.5",
"@storybook/react": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"cors": "^2.8.4",
"cross-env": "^5.2.0",
"enzyme-to-json": "^3.3.4",

View File

@ -8,12 +8,12 @@ export default {
// };
// exception.title = 'story throws exception';
// exception.parameters = {
// storyshots: { disabled: true },
// storyshots: { disable: true },
// };
export const errors = () => null;
errors.title = 'story errors';
errors.parameters = {
notes: 'Story does not return something react can render',
storyshots: { disabled: true },
storyshots: { disable: true },
};

View File

@ -1,6 +1,6 @@
{
"name": "polymer-cli",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -9,15 +9,15 @@
},
"dependencies": {
"@polymer/polymer": "^2.6.0",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/polymer": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/polymer": "5.0.0-alpha.5",
"@webcomponents/webcomponentsjs": "^1.2.0",
"global": "^4.3.2",
"lit-html": "^0.14.0",

View File

@ -1,6 +1,6 @@
{
"name": "preact-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -15,18 +15,18 @@
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/preact": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/preact": "5.0.0-alpha.5",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^3.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "riot-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -15,18 +15,18 @@
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/riot": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/riot": "5.0.0-alpha.5",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^3.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "svelte-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook -s public",
@ -10,17 +10,17 @@
"global": "^4.3.2"
},
"devDependencies": {
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/svelte": "5.0.0-alpha.4"
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/svelte": "5.0.0-alpha.5"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "vue-example",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -14,18 +14,18 @@
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-backgrounds": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addon-storysource": "5.0.0-alpha.4",
"@storybook/addon-viewport": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/vue": "5.0.0-alpha.4",
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-backgrounds": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addon-storysource": "5.0.0-alpha.5",
"@storybook/addon-viewport": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/vue": "5.0.0-alpha.5",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",

View File

@ -11,5 +11,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "5.0.0-alpha.4"
"version": "5.0.0-alpha.5"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -20,7 +20,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.0.0-alpha.4",
"@storybook/channels": "5.0.0-alpha.5",
"global": "^4.3.2",
"util-deprecate": "^1.0.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "",
"keywords": [
"storybook"
@ -20,7 +20,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.0.0-alpha.4",
"@storybook/channels": "5.0.0-alpha.5",
"global": "^4.3.2",
"telejson": "^1.0.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "",
"keywords": [
"storybook"
@ -20,7 +20,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.0.0-alpha.4",
"@storybook/channels": "5.0.0-alpha.5",
"global": "^4.3.2",
"json-fn": "^1.1.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -29,7 +29,7 @@
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"@storybook/codemod": "5.0.0-alpha.4",
"@storybook/codemod": "5.0.0-alpha.5",
"chalk": "^2.4.1",
"commander": "^2.19.0",
"core-js": "^2.6.2",
@ -43,31 +43,31 @@
"update-notifier": "^2.5.0"
},
"devDependencies": {
"@storybook/addon-actions": "5.0.0-alpha.4",
"@storybook/addon-centered": "5.0.0-alpha.4",
"@storybook/addon-graphql": "5.0.0-alpha.4",
"@storybook/addon-info": "5.0.0-alpha.4",
"@storybook/addon-knobs": "5.0.0-alpha.4",
"@storybook/addon-links": "5.0.0-alpha.4",
"@storybook/addon-notes": "5.0.0-alpha.4",
"@storybook/addon-options": "5.0.0-alpha.4",
"@storybook/addon-storyshots": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/angular": "5.0.0-alpha.4",
"@storybook/channel-postmessage": "5.0.0-alpha.4",
"@storybook/channel-websocket": "5.0.0-alpha.4",
"@storybook/channels": "5.0.0-alpha.4",
"@storybook/ember": "5.0.0-alpha.4",
"@storybook/html": "5.0.0-alpha.4",
"@storybook/marko": "5.0.0-alpha.4",
"@storybook/mithril": "5.0.0-alpha.4",
"@storybook/polymer": "5.0.0-alpha.4",
"@storybook/preact": "5.0.0-alpha.4",
"@storybook/react": "5.0.0-alpha.4",
"@storybook/react-native": "5.0.0-alpha.4",
"@storybook/riot": "5.0.0-alpha.4",
"@storybook/ui": "5.0.0-alpha.4",
"@storybook/vue": "5.0.0-alpha.4"
"@storybook/addon-actions": "5.0.0-alpha.5",
"@storybook/addon-centered": "5.0.0-alpha.5",
"@storybook/addon-graphql": "5.0.0-alpha.5",
"@storybook/addon-info": "5.0.0-alpha.5",
"@storybook/addon-knobs": "5.0.0-alpha.5",
"@storybook/addon-links": "5.0.0-alpha.5",
"@storybook/addon-notes": "5.0.0-alpha.5",
"@storybook/addon-options": "5.0.0-alpha.5",
"@storybook/addon-storyshots": "5.0.0-alpha.5",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/angular": "5.0.0-alpha.5",
"@storybook/channel-postmessage": "5.0.0-alpha.5",
"@storybook/channel-websocket": "5.0.0-alpha.5",
"@storybook/channels": "5.0.0-alpha.5",
"@storybook/ember": "5.0.0-alpha.5",
"@storybook/html": "5.0.0-alpha.5",
"@storybook/marko": "5.0.0-alpha.5",
"@storybook/mithril": "5.0.0-alpha.5",
"@storybook/polymer": "5.0.0-alpha.5",
"@storybook/preact": "5.0.0-alpha.5",
"@storybook/react": "5.0.0-alpha.5",
"@storybook/react-native": "5.0.0-alpha.5",
"@storybook/riot": "5.0.0-alpha.5",
"@storybook/ui": "5.0.0-alpha.5",
"@storybook/vue": "5.0.0-alpha.5"
},
"publishConfig": {
"access": "public"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -21,10 +21,10 @@
},
"dependencies": {
"@reach/router": "^1.2.1",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"global": "^4.3.2",
"immer": "^1.9.3",
"js-beautify": "^1.8.9",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Event names used in storybook core",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -23,13 +23,13 @@
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/channel-postmessage": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/node-logger": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/ui": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/channel-postmessage": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/node-logger": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"@storybook/ui": "5.0.0-alpha.5",
"airbnb-js-shims": "^1 || ^2",
"autoprefixer": "^9.4.5",
"babel-plugin-emotion": "^10.0.5",

View File

@ -65,7 +65,8 @@ export default class StoryStore extends EventEmitter {
const params = qs.parse(document.location.search, { ignoreQueryPrefix: true });
storyId = getIdFromLegacyQuery(params);
if (storyId) {
this.setPath(storyId);
const { path, selectedKind, selectedStory, ...rest } = params;
this.setPath(storyId, rest);
}
}
this.setSelection(this.fromId(storyId));
@ -79,8 +80,9 @@ export default class StoryStore extends EventEmitter {
return id;
};
setPath = input => {
history.replaceState({}, '', `${document.location.pathname}?id=${input}`);
setPath = (storyId, params = {}) => {
const path = `${document.location.pathname}?${qs.stringify({ ...params, id: storyId })}`;
history.replaceState({}, '', path);
};
fromId = id => {

View File

@ -1,8 +1,24 @@
import { history, document } from 'global';
import createChannel from '@storybook/channel-postmessage';
import StoryStore from './story_store';
import Events from '@storybook/core-events';
import StoryStore from './story_store';
import toId from './id';
jest.mock('global', () => ({
history: { replaceState: jest.fn() },
window: {
addEventListener: jest.fn(),
},
document: {
location: {
pathname: 'pathname',
search: '',
},
addEventListener: jest.fn(),
},
}));
const channel = createChannel({ page: 'preview' });
const make = (kind, name, story, parameters = {}) => ({
@ -116,4 +132,47 @@ describe('preview.story_store', () => {
});
});
});
describe('setPath', () => {
it('preserves custom URL params', () => {
const store = new StoryStore({ channel });
store.setPath('story--id', { foo: 'bar' });
expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?foo=bar&id=story--id');
});
});
describe('STORY_INIT', () => {
const story = () => 0;
const storyBundle = make('kind', 'story', story);
it('supports path params', () => {
document.location = {
pathname: 'pathname',
search: '?path=/story/kind--story&bar=baz',
};
const store = new StoryStore({ channel });
store.addStory(storyBundle);
store.setSelection = jest.fn();
store.emit(Events.STORY_INIT);
expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story');
expect(store.setSelection).toHaveBeenCalled();
expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(story);
});
it('supports story kind/name params', () => {
document.location = {
pathname: 'pathname',
search: '?selectedKind=kind&selectedStory=story&bar=baz',
};
const store = new StoryStore({ channel });
store.addStory(storyBundle);
store.setSelection = jest.fn();
store.emit(Events.STORY_INIT);
expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story');
expect(store.setSelection).toHaveBeenCalled();
expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(story);
});
});
});

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Core Storybook Components",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ui",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Core Storybook UI",
"keywords": [
"storybook"
@ -22,11 +22,11 @@
},
"dependencies": {
"@reach/router": "^1.2.1",
"@storybook/addons": "5.0.0-alpha.4",
"@storybook/client-logger": "5.0.0-alpha.4",
"@storybook/components": "5.0.0-alpha.4",
"@storybook/core-events": "5.0.0-alpha.4",
"@storybook/theming": "5.0.0-alpha.4",
"@storybook/addons": "5.0.0-alpha.5",
"@storybook/client-logger": "5.0.0-alpha.5",
"@storybook/components": "5.0.0-alpha.5",
"@storybook/core-events": "5.0.0-alpha.5",
"@storybook/theming": "5.0.0-alpha.5",
"eventemitter3": "^3.1.0",
"fast-deep-equal": "^2.0.1",
"fuse.js": "^3.3.0",