From 3a998aafe7609b9f38f0340e7a8a268b2b395231 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 3 Apr 2019 22:37:56 -0400 Subject: [PATCH 01/59] Mimic PureComponent behavior for Consumer children This fixes a bug in react-native-server where `SET_CURRENT_STORY` was getting spammed over and over for the same story. --- .../src/client/manager/provider.js | 21 +++---------------- lib/api/package.json | 1 + lib/api/src/index.tsx | 17 +++++++++++++-- yarn.lock | 5 +++++ 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index 08a93bcbf6c..eff36886789 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -39,7 +39,6 @@ export default class ReactProvider extends Provider { this.addons = addons; this.channel = channel; this.options = options; - this.selection = null; } getElements(type) { @@ -48,24 +47,11 @@ export default class ReactProvider extends Provider { renderPreview() { return ( - + {({ storiesHash, storyId, api }) => { if (storiesHash[storyId]) { const { kind, story } = storiesHash[storyId]; - - if (!this.selection || this.selection.kind !== kind || this.selection.story !== story) { - this.selection = { kind, story }; - // TODO: isn't this event sent twice now? - api.emit(Events.SET_CURRENT_STORY, { kind, story }); - } - - // FIXME: getPreview not implemented yet. - if (addons.getPreview) { - const renderPreview = addons.getPreview(); - if (renderPreview) { - return renderPreview(kind, story); - } - } + api.emit(Events.SET_CURRENT_STORY, { kind, story }); } return ; }} @@ -76,8 +62,7 @@ export default class ReactProvider extends Provider { handleAPI(api) { addons.loadAddons(api); - api.onStory((kind, story) => { - this.selection = { kind, story }; + api.onStory(() => { api.emit(Events.SET_CURRENT_STORY, this.selection); }); api.on(Events.GET_CURRENT_STORY, () => { diff --git a/lib/api/package.json b/lib/api/package.json index 52dbfef7918..d0a43cca01a 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -35,6 +35,7 @@ "prop-types": "^15.6.2", "react": "^16.7.0", "semver": "^5.6.0", + "shallow-equal": "^1.1.0", "store2": "^2.7.1", "telejson": "^2.1.1", "util-deprecate": "^1.0.2" diff --git a/lib/api/src/index.tsx b/lib/api/src/index.tsx index e869a5c4f5f..c21943dc98c 100644 --- a/lib/api/src/index.tsx +++ b/lib/api/src/index.tsx @@ -1,5 +1,6 @@ import React, { ReactElement, Component, useContext } from 'react'; import memoize from 'memoizerific'; +import shallowEqualObjects from 'shallow-equal/objects'; import Events from '@storybook/core-events'; import { RenderData as RouterData } from '@storybook/router'; @@ -211,6 +212,7 @@ class ManagerProvider extends Component { interface ConsumerProps { filter?: (combo: C) => S; + pure?: boolean; children: (d: S | C) => ReactElement | null; } @@ -220,6 +222,8 @@ interface SubState { class ManagerConsumer extends Component> { dataMemory?: (combo: Combo) => SubState; + prevChildren?: ReactElement | null; + prevData?: SubState; constructor(props: ConsumerProps) { super(props); @@ -233,8 +237,17 @@ class ManagerConsumer extends Component> { {d => { const data = this.dataMemory ? this.dataMemory(d) : d; - - return children(data); + if ( + this.props.pure && + this.prevChildren && + this.prevData && + shallowEqualObjects(data, this.prevData) + ) { + return this.prevChildren; + } + this.prevChildren = children(data); + this.prevData = data; + return this.prevChildren; }} ); diff --git a/yarn.lock b/yarn.lock index b2d004459cc..04cbc5aa87a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23573,6 +23573,11 @@ shallow-clone@^1.0.0: kind-of "^5.0.0" mixin-object "^2.0.1" +shallow-equal@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.1.0.tgz#cc022f030dcba0d1c198abf658a3c6c744e171ca" + integrity sha512-0SW1nWo1hnabO62SEeHsl8nmTVVEzguVWZCj5gaQrgWAxz/BaCja4OWdJBWLVPDxdtE/WU7c98uUCCXyPHSCvw== + shallowequal@^1.0.2, shallowequal@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" From 7e1634e9cbbfd55f2193c9cad438ddc75348d8dc Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 3 Apr 2019 22:44:33 -0400 Subject: [PATCH 02/59] Ignore shallow-equal missing types --- lib/api/src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/api/src/index.tsx b/lib/api/src/index.tsx index c21943dc98c..bace080142b 100644 --- a/lib/api/src/index.tsx +++ b/lib/api/src/index.tsx @@ -1,5 +1,6 @@ import React, { ReactElement, Component, useContext } from 'react'; import memoize from 'memoizerific'; +// @ts-ignore shallow-equal is not in DefinitelyTyped import shallowEqualObjects from 'shallow-equal/objects'; import Events from '@storybook/core-events'; From 7b2539a7f4dd74e6f383f561302636878a3165fa Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Thu, 11 Apr 2019 10:58:01 -0400 Subject: [PATCH 03/59] timer in descendant to validate they continue updating when Consumer is pure --- .../client/manager/components/PreviewHelp.js | 80 ++++++++++++------- .../src/client/manager/provider.js | 2 +- 2 files changed, 51 insertions(+), 31 deletions(-) diff --git a/app/react-native-server/src/client/manager/components/PreviewHelp.js b/app/react-native-server/src/client/manager/components/PreviewHelp.js index 7e0112125a1..b961f118d3b 100644 --- a/app/react-native-server/src/client/manager/components/PreviewHelp.js +++ b/app/react-native-server/src/client/manager/components/PreviewHelp.js @@ -25,34 +25,54 @@ const styles = { }, }; -const PreviewHelp = () => ( -
-

Welcome to storybook

-

This is a UI component dev environment for your app.

-

- We've added some basic stories inside the {storybook/stories}{' '} - directory. A story is a single state of one or more UI components. You can have as many - stories as you want. Basically a story is like a visual test case. -

-

- To see your Storybook stories on the device, you should start your mobile app for the{' '} - <platform> of your choice (typically ios or android). - (Note that due to an implementation detail, your stories will only show up in the left-pane - after your device has connected to this storybook server.) -

-

- For create-react-native-app apps: -

-
-
npm run <platform>
-
-

- For react-native init apps: -

-
-
react-native run-<platform>
-
-
-); +export class PreviewHelp extends React.Component { + state = { + elapsed: 0, + }; -export { PreviewHelp as default }; + componentDidMount() { + this.timer = setInterval(() => { + const { elapsed } = this.state; + this.setState({ elapsed: elapsed + 1 }); + }, 1000); + } + + componentWillUnmount() { + clearInterval(this.timer); + } + + render() { + const { elapsed } = this.state; + return ( +
+

Welcome to storybook

+

elapsed: {elapsed}

+

This is a UI component dev environment for your app.

+

+ We've added some basic stories inside the{' '} + {storybook/stories} directory. A story is a single state + of one or more UI components. You can have as many stories as you want. Basically a story + is like a visual test case. +

+

+ To see your Storybook stories on the device, you should start your mobile app for the{' '} + <platform> of your choice (typically ios or + android). (Note that due to an implementation detail, your stories will only show up in + the left-pane after your device has connected to this storybook server.) +

+

+ For create-react-native-app apps: +

+
+
npm run <platform>
+
+

+ For react-native init apps: +

+
+
react-native run-<platform>
+
+
+ ); + } +} diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index eff36886789..d2105286252 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -5,7 +5,7 @@ import createChannel from '@storybook/channel-websocket'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; import uuid from 'uuid'; -import PreviewHelp from './components/PreviewHelp'; +import { PreviewHelp } from './components/PreviewHelp'; const mapper = ({ state, api }) => ({ api, From 8292cea322f2af0f0e0f07b3b16cbefdf26eddc8 Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Thu, 18 Apr 2019 16:07:24 +0100 Subject: [PATCH 04/59] feat: addon-ondevice-actions This adds an ondevice actions addon that shows a logger for the actions on device. --- addons/actions/src/index.ts | 1 + addons/ondevice-actions/README.md | 32 ++++ addons/ondevice-actions/package.json | 47 +++++ addons/ondevice-actions/register.js | 1 + .../src/components/ActionLogger/Inspect.tsx | 173 ++++++++++++++++++ .../src/components/ActionLogger/index.tsx | 31 ++++ .../src/containers/ActionLogger/index.tsx | 86 +++++++++ addons/ondevice-actions/src/index.tsx | 13 ++ addons/ondevice-actions/tsconfig.json | 13 ++ yarn.lock | 4 +- 10 files changed, 399 insertions(+), 2 deletions(-) create mode 100644 addons/ondevice-actions/README.md create mode 100644 addons/ondevice-actions/package.json create mode 100644 addons/ondevice-actions/register.js create mode 100644 addons/ondevice-actions/src/components/ActionLogger/Inspect.tsx create mode 100644 addons/ondevice-actions/src/components/ActionLogger/index.tsx create mode 100644 addons/ondevice-actions/src/containers/ActionLogger/index.tsx create mode 100644 addons/ondevice-actions/src/index.tsx create mode 100644 addons/ondevice-actions/tsconfig.json diff --git a/addons/actions/src/index.ts b/addons/actions/src/index.ts index 8a6ce711f9b..8eeba5a84f1 100644 --- a/addons/actions/src/index.ts +++ b/addons/actions/src/index.ts @@ -1,4 +1,5 @@ export * from './constants'; +export * from './models'; export * from './preview'; if (module && module.hot && module.hot.decline) { diff --git a/addons/ondevice-actions/README.md b/addons/ondevice-actions/README.md new file mode 100644 index 00000000000..183cb89c991 --- /dev/null +++ b/addons/ondevice-actions/README.md @@ -0,0 +1,32 @@ +# Storybook Actions Addon for react-native + +Storybook Actions Addon allows you to log events/actions inside stories in [Storybook](https://storybook.js.org). + +[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) + +**This addon is a wrapper for addon [@storybook/addon-actions](https://github.com/storybooks/storybook/blob/master/addons/actions). +Refer to its documentation to understand how to use actions** + +## Installation + +```sh +yarn add -D @storybook/addon-ondevice-actions @storybook/addon-actions +``` + +## Configuration + +Create a file called `rn-addons.js` in your storybook config. + +Add following content to it: + +```js +import '@storybook/addon-ondevice-actions/register'; +``` + +Then import `rn-addons.js` next to your `getStorybookUI` call. + +```js +import './rn-addons'; +``` + +See [@storybook/addon-actions](https://github.com/storybooks/storybook/blob/master/addons/actions) to learn how to write stories with actions and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples. diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json new file mode 100644 index 00000000000..ee729f80667 --- /dev/null +++ b/addons/ondevice-actions/package.json @@ -0,0 +1,47 @@ +{ + "name": "@storybook/addon-ondevice-actions", + "version": "5.1.0-alpha.29", + "description": "Action Logger addon for storybook", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybooks/storybook/tree/master/addons/actions", + "bugs": { + "url": "https://github.com/storybooks/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybooks/storybook.git" + }, + "license": "MIT", + "main": "dist/index.js", + "jsnext:main": "src/index.js", + "scripts": { + "prepare": "node ../../scripts/prepare.js" + }, + "dependencies": { + "@storybook/addons": "5.1.0-alpha.29", + "@storybook/api": "5.1.0-alpha.29", + "@storybook/core-events": "5.1.0-alpha.29", + "core-js": "^2.5.7", + "fast-deep-equal": "^2.0.1", + "global": "^4.3.2", + "lodash": "^4.17.11", + "make-error": "^1.3.5", + "prop-types": "^15.6.2", + "react-inspector": "^2.3.0", + "uuid": "^3.3.2" + }, + "devDependencies": { + "@storybook/addon-actions": "5.1.0-alpha.29" + }, + "peerDependencies": { + "@storybook/addon-actions": "*", + "react": "*", + "react-native": "*" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "fbd7ee4c80df437fed4bdc6e11140733fd450080" +} diff --git a/addons/ondevice-actions/register.js b/addons/ondevice-actions/register.js new file mode 100644 index 00000000000..e69edbea3ed --- /dev/null +++ b/addons/ondevice-actions/register.js @@ -0,0 +1 @@ +require('./dist').register(); diff --git a/addons/ondevice-actions/src/components/ActionLogger/Inspect.tsx b/addons/ondevice-actions/src/components/ActionLogger/Inspect.tsx new file mode 100644 index 00000000000..ec5023ad917 --- /dev/null +++ b/addons/ondevice-actions/src/components/ActionLogger/Inspect.tsx @@ -0,0 +1,173 @@ +import React from 'react'; +import { Button, View, Text } from 'react-native'; + +const theme = { + OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10, + OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5, + OBJECT_NAME_COLOR: 'rgb(136, 19, 145)', + OBJECT_VALUE_NULL_COLOR: 'rgb(128, 128, 128)', + OBJECT_VALUE_UNDEFINED_COLOR: 'rgb(128, 128, 128)', + OBJECT_VALUE_REGEXP_COLOR: 'rgb(196, 26, 22)', + OBJECT_VALUE_STRING_COLOR: 'rgb(196, 26, 22)', + OBJECT_VALUE_SYMBOL_COLOR: 'rgb(196, 26, 22)', + OBJECT_VALUE_NUMBER_COLOR: 'rgb(28, 0, 207)', + OBJECT_VALUE_BOOLEAN_COLOR: 'rgb(28, 0, 207)', + OBJECT_VALUE_FUNCTION_PREFIX_COLOR: 'rgb(13, 34, 170)', + + ARROW_COLOR: '#6e6e6e', + ARROW_MARGIN_RIGHT: 3, + ARROW_FONT_SIZE: 12, + ARROW_ANIMATION_DURATION: '0', +}; + +class Inspect extends React.Component<{ name?: string; value: any }, { expanded: boolean }> { + state = { expanded: false }; + render() { + const { name, value } = this.props; + const { expanded } = this.state; + const toggle = ( + + {name && + ((Array.isArray(value) && value.length) || + (value && + typeof value === 'object' && + !Array.isArray(value) && + Object.keys(value).length)) ? ( + @@ -34,7 +32,7 @@ export default class Bar extends PureComponent { - + ); } } diff --git a/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx b/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx index 911bd2e166c..7a955838244 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx @@ -1,18 +1,23 @@ import React, { PureComponent } from 'react'; -import { View, StyleSheet, Text, TouchableOpacity } from 'react-native'; +import { TouchableOpacity } from 'react-native'; +import styled from '@emotion/native'; +import { EmotionProps } from '../../Shared/theme'; -const style = StyleSheet.create({ - text: { - color: '#999999', - paddingHorizontal: 8, - paddingVertical: 10, - fontSize: 11, - }, - underline: { - height: 3, - backgroundColor: 'transparent', - }, -}); +type EmotionButtonProps = EmotionProps & { active: boolean }; + +const ActiveBorder = styled.View` + background: ${(props: EmotionButtonProps) => + props.active ? props.theme.borderColor : 'transparent'}; + height: 3; +`; + +const ButtonText = styled.Text` + color: ${(props: EmotionButtonProps) => + props.active ? props.theme.buttonActiveTextColor : props.theme.buttonTextColor}; + padding-horizontal: 8; + padding-vertical: 10; + font-size: 11; +`; interface Props { id: number | string; @@ -31,24 +36,8 @@ export default class Button extends PureComponent { return ( - - {children} - - + {children} + ); } diff --git a/app/react-native/src/preview/components/OnDeviceUI/navigation/visibility-button.tsx b/app/react-native/src/preview/components/OnDeviceUI/navigation/visibility-button.tsx index 340c360f80b..84c05add099 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/navigation/visibility-button.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/navigation/visibility-button.tsx @@ -1,24 +1,37 @@ import React, { PureComponent } from 'react'; -import { Text, TouchableOpacity } from 'react-native'; -import style from '../style'; +import { TouchableOpacity } from 'react-native'; +import styled from '@emotion/native'; +import { EmotionProps } from '../../Shared/theme'; interface Props { onPress: () => void; } +const Touchable: typeof TouchableOpacity = styled.TouchableOpacity` + background: transparent; + position: absolute; + right: 8; + bottom: 12; + z-index: 100; +`; + +const HideIcon = styled.Text` + font-size: 14; + color: ${(props: EmotionProps) => props.theme.buttonTextColor}; +`; + export default class VisibilityButton extends PureComponent { render() { const { onPress } = this.props; return ( - - - + + ); } } diff --git a/app/react-native/src/preview/components/OnDeviceUI/style.ts b/app/react-native/src/preview/components/OnDeviceUI/style.ts index 1d2d0350582..b1f4233c692 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/style.ts +++ b/app/react-native/src/preview/components/OnDeviceUI/style.ts @@ -16,17 +16,6 @@ export default StyleSheet.create({ alignItems: 'center', justifyContent: 'center', }, - hideButtonText: { - fontSize: 14, - color: '#999999', - }, - hideButton: { - backgroundColor: 'transparent', - position: 'absolute', - right: 8, - bottom: 12, - zIndex: 100, - }, previewMinimized: { borderWidth: 1, borderColor: '#b3b3b3', diff --git a/app/react-native/src/preview/components/Shared/theme.ts b/app/react-native/src/preview/components/Shared/theme.ts index 1c6cecb6d2d..7c3ce827506 100644 --- a/app/react-native/src/preview/components/Shared/theme.ts +++ b/app/react-native/src/preview/components/Shared/theme.ts @@ -3,6 +3,8 @@ export const theme = { headerTextColor: 'black', labelColor: 'black', borderColor: '#e6e6e6', + buttonTextColor: '#999999', + buttonActiveTextColor: '#444444', }; export interface EmotionProps { From 9179703a323fa568e584da3729775a60a06757d8 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Tue, 23 Apr 2019 22:40:07 -0400 Subject: [PATCH 11/59] Update remaining OnDeviceUI to use emotion --- ...bsolute-positioned-keyboard-aware-view.tsx | 5 ++- .../components/OnDeviceUI/animation.ts | 2 +- .../preview/components/OnDeviceUI/index.tsx | 34 ++++++++++++++----- .../preview/components/OnDeviceUI/panel.tsx | 22 +++++------- .../preview/components/OnDeviceUI/style.ts | 4 --- .../src/preview/components/Shared/theme.ts | 1 + 6 files changed, 38 insertions(+), 30 deletions(-) diff --git a/app/react-native/src/preview/components/OnDeviceUI/absolute-positioned-keyboard-aware-view.tsx b/app/react-native/src/preview/components/OnDeviceUI/absolute-positioned-keyboard-aware-view.tsx index cb3468dd5e2..51c49e1e95f 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/absolute-positioned-keyboard-aware-view.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/absolute-positioned-keyboard-aware-view.tsx @@ -8,7 +8,6 @@ import { LayoutChangeEvent, KeyboardEvent, } from 'react-native'; -import style from './style'; export interface PreviewDimens { previewWidth: number; @@ -85,11 +84,11 @@ export default class AbsolutePositionedKeyboardAwareView extends PureComponent

+ diff --git a/app/react-native/src/preview/components/OnDeviceUI/animation.ts b/app/react-native/src/preview/components/OnDeviceUI/animation.ts index 62d43abcce3..4ce7747b158 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/animation.ts +++ b/app/react-native/src/preview/components/OnDeviceUI/animation.ts @@ -1,5 +1,5 @@ import { NAVIGATOR, PREVIEW, ADDONS } from './navigation/constants'; -import { Animated, ViewProps } from 'react-native'; +import { Animated } from 'react-native'; const PREVIEW_SCALE = 0.3; diff --git a/app/react-native/src/preview/components/OnDeviceUI/index.tsx b/app/react-native/src/preview/components/OnDeviceUI/index.tsx index caf0e7220c2..f9faba443a3 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/index.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/index.tsx @@ -1,5 +1,13 @@ import React, { PureComponent } from 'react'; -import { Keyboard, KeyboardAvoidingView, Platform, Animated, TouchableOpacity } from 'react-native'; +import { + Keyboard, + KeyboardAvoidingView, + Platform, + Animated, + TouchableOpacity, + TouchableOpacityProps, +} from 'react-native'; +import styled from '@emotion/native'; import Events from '@storybook/core-events'; import addons from '@storybook/addons'; import Channel from '@storybook/channels'; @@ -19,6 +27,7 @@ import { getNavigatorPanelPosition, } from './animation'; import style from './style'; +import { EmotionProps } from '../Shared/theme'; const ANIMATION_DURATION = 300; const IS_IOS = Platform.OS === 'ios'; @@ -42,6 +51,18 @@ interface OnDeviceUIState { previewHeight: number; } +type EmotionPreviewProps = EmotionProps & TouchableOpacityProps; + +const Preview: typeof TouchableOpacity = styled.TouchableOpacity` + flex: 1; + border-left-width: ${(props: EmotionPreviewProps) => (props.disabled ? '0' : '1')}; + border-top-width: ${(props: EmotionPreviewProps) => (props.disabled ? '0' : '1')}; + border-right-width: ${(props: EmotionPreviewProps) => (props.disabled ? '0' : '1')}; + border-bottom-width: ${(props: EmotionPreviewProps) => (props.disabled ? '0' : '1')}; + border-color: ${(props: EmotionPreviewProps) => + props.disabled ? 'transparent' : props.theme.previewBorderColor}; +`; + export default class OnDeviceUI extends PureComponent { animatedValue: Animated.Value; channel: Channel; @@ -149,11 +170,7 @@ export default class OnDeviceUI extends PureComponent - @@ -181,7 +197,7 @@ export default class OnDeviceUI extends PureComponent - + diff --git a/app/react-native/src/preview/components/OnDeviceUI/panel.tsx b/app/react-native/src/preview/components/OnDeviceUI/panel.tsx index d01b2a6d0b3..47e5c5c0204 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/panel.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/panel.tsx @@ -1,16 +1,12 @@ import React, { PureComponent } from 'react'; -import { StyleSheet, Animated, StyleProp, ViewStyle } from 'react-native'; +import { StyleSheet, Animated } from 'react-native'; -const style = StyleSheet.create({ - panel: { - ...StyleSheet.absoluteFillObject, - borderWidth: 1, - borderTopWidth: 1, - borderBottomWidth: 0, - borderColor: '#e6e6e6', - backgroundColor: '#ffffff', - }, -}); +import styled from '@emotion/native'; +import { EmotionProps } from '../Shared/theme'; + +const Container: typeof Animated.View = styled(Animated.View)` + background: ${(props: EmotionProps) => props.theme.backgroundColor}; +`; interface Props { style: any[]; @@ -18,7 +14,7 @@ interface Props { export default class Panel extends PureComponent { render() { - const { children, style: propsStyle } = this.props; - return {children}; + const { children, style } = this.props; + return {children}; } } diff --git a/app/react-native/src/preview/components/OnDeviceUI/style.ts b/app/react-native/src/preview/components/OnDeviceUI/style.ts index b1f4233c692..1f818fe7726 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/style.ts +++ b/app/react-native/src/preview/components/OnDeviceUI/style.ts @@ -16,10 +16,6 @@ export default StyleSheet.create({ alignItems: 'center', justifyContent: 'center', }, - previewMinimized: { - borderWidth: 1, - borderColor: '#b3b3b3', - }, addonList: { flexDirection: 'row', }, diff --git a/app/react-native/src/preview/components/Shared/theme.ts b/app/react-native/src/preview/components/Shared/theme.ts index 7c3ce827506..1995c6ec0e7 100644 --- a/app/react-native/src/preview/components/Shared/theme.ts +++ b/app/react-native/src/preview/components/Shared/theme.ts @@ -3,6 +3,7 @@ export const theme = { headerTextColor: 'black', labelColor: 'black', borderColor: '#e6e6e6', + previewBorderColor: '#b3b3b3', buttonTextColor: '#999999', buttonActiveTextColor: '#444444', }; From 3324dec7d97c19b55b5bffdd2dde30d6c0b87f7c Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Tue, 23 Apr 2019 23:21:36 -0400 Subject: [PATCH 12/59] Update StoryListView to use emotion --- .../OnDeviceUI/navigation/button.tsx | 2 +- .../preview/components/OnDeviceUI/panel.tsx | 1 - .../src/preview/components/Shared/text.ts | 8 ++- .../components/StoryListView/index.tsx | 55 ++++++++++++++----- .../preview/components/StoryListView/style.ts | 38 ------------- 5 files changed, 49 insertions(+), 55 deletions(-) delete mode 100644 app/react-native/src/preview/components/StoryListView/style.ts diff --git a/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx b/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx index 7a955838244..1ef97e1d658 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/navigation/button.tsx @@ -35,7 +35,7 @@ export default class Button extends PureComponent { const { active, children } = this.props; return ( - + {children} diff --git a/app/react-native/src/preview/components/OnDeviceUI/panel.tsx b/app/react-native/src/preview/components/OnDeviceUI/panel.tsx index 47e5c5c0204..f225ae56698 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/panel.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/panel.tsx @@ -1,6 +1,5 @@ import React, { PureComponent } from 'react'; import { StyleSheet, Animated } from 'react-native'; - import styled from '@emotion/native'; import { EmotionProps } from '../Shared/theme'; diff --git a/app/react-native/src/preview/components/Shared/text.ts b/app/react-native/src/preview/components/Shared/text.ts index f6b0d6a5eb0..a2cbf1ef161 100644 --- a/app/react-native/src/preview/components/Shared/text.ts +++ b/app/react-native/src/preview/components/Shared/text.ts @@ -2,9 +2,15 @@ import styled from '@emotion/native'; import { EmotionProps } from './theme'; export const Header = styled.Text` - margin-left: 10; font-size: 20; color: ${(props: EmotionProps) => props.theme.headerTextColor}; + ${(props: any) => props.selected && 'font-weight: bold;'} +`; + +export const Name = styled.Text` + font-size: 16; + color: ${(props: EmotionProps) => props.theme.headerTextColor}; + ${(props: any) => props.selected && 'font-weight: bold;'} `; export const Label = styled.Text` diff --git a/app/react-native/src/preview/components/StoryListView/index.tsx b/app/react-native/src/preview/components/StoryListView/index.tsx index 46ae5bafaea..2293b15d6b4 100644 --- a/app/react-native/src/preview/components/StoryListView/index.tsx +++ b/app/react-native/src/preview/components/StoryListView/index.tsx @@ -1,8 +1,28 @@ import React, { Component } from 'react'; -import { SectionList, Text, TextInput, TouchableOpacity, View, SafeAreaView } from 'react-native'; +import { SectionList, TextInput, TouchableOpacity, View, SafeAreaView } from 'react-native'; +import styled from '@emotion/native'; import Events from '@storybook/core-events'; import addons from '@storybook/addons'; -import style from './style'; +import { EmotionProps } from '../Shared/theme'; +import { Header, Name } from '../Shared/text'; + +const SearchBar: typeof TextInput = styled.TextInput` + background: ${(props: EmotionProps) => props.theme.borderColor}; + color: ${(props: EmotionProps) => props.theme.buttonActiveTextColor}; + border-top-left-radius: 5; + border-top-right-radius: 5; + border-bottom-left-radius: 5; + border-bottom-right-radius: 5; + font-size: 16; + margin-horizontal: 5; + margin-vertical: 5; + padding-horizontal: 5; + padding-vertical: 5; +`; + +const HeaderContainer = styled.View` + padding-vertical: 5; +`; interface SectionProps { title: string; @@ -13,9 +33,9 @@ const SectionHeader: React.FunctionComponent = ({ title, selected, }: SectionProps) => ( - - {title} - + +

{title}
+ ); interface ListItemProps { @@ -25,16 +45,21 @@ interface ListItemProps { onPress: () => void; } +const ItemTouchable: typeof TouchableOpacity = styled.TouchableOpacity` + padding-horizontal: 16; + padding-vertical: 5; +`; + const ListItem: React.FunctionComponent = ({ kind, title, selected, onPress }) => ( - - {title} - + {title} + ); interface Props { @@ -48,6 +73,10 @@ interface State { originalData: any[]; } +const List: typeof SectionList = styled.SectionList` + flex: 1; + margin-bottom: 40; +`; export default class StoryListView extends Component { constructor(props: Props) { super(props); @@ -127,18 +156,16 @@ export default class StoryListView extends Component { const { data } = this.state; return ( - - + - ( Date: Tue, 23 Apr 2019 23:24:56 -0400 Subject: [PATCH 13/59] Update StoryView to use emotion --- .../preview/components/StoryView/index.tsx | 22 +++++++++++++------ .../src/preview/components/StoryView/style.ts | 12 ---------- 2 files changed, 15 insertions(+), 19 deletions(-) delete mode 100644 app/react-native/src/preview/components/StoryView/style.ts diff --git a/app/react-native/src/preview/components/StoryView/index.tsx b/app/react-native/src/preview/components/StoryView/index.tsx index b7407527aab..3318b568773 100644 --- a/app/react-native/src/preview/components/StoryView/index.tsx +++ b/app/react-native/src/preview/components/StoryView/index.tsx @@ -1,8 +1,8 @@ import React, { Component } from 'react'; import { View, Text } from 'react-native'; +import styled from '@emotion/native'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; -import style from './style'; interface Props { listenToEvents: boolean; @@ -16,6 +16,14 @@ interface State { selection?: any; } +const HelpContainer = styled.View` + flex: 1; + padding-horizontal: 15; + padding-vertical: 15; + align-items: center; + justify-content: center; +`; + export default class StoryView extends Component { componentDidMount() { if (this.props.listenToEvents) { @@ -46,7 +54,7 @@ export default class StoryView extends Component { renderHelp = () => { const { url } = this.props; return ( - + {url && url.length ? ( Please open the Storybook UI ({url}) with a web browser and select a story for preview. @@ -56,14 +64,14 @@ export default class StoryView extends Component { Please open the Storybook UI with a web browser and select a story for preview. )} - + ); }; renderOnDeviceUIHelp = () => ( - + Please open navigator and select a story to preview. - + ); render() { @@ -84,7 +92,7 @@ export default class StoryView extends Component { const { kind, story } = selection; return storyFn ? ( - + {storyFn()} ) : ( @@ -97,7 +105,7 @@ export default class StoryView extends Component { const { kind, story } = selection; return storyFn ? ( - + {storyFn()} ) : ( diff --git a/app/react-native/src/preview/components/StoryView/style.ts b/app/react-native/src/preview/components/StoryView/style.ts deleted file mode 100644 index 71bf4b25971..00000000000 --- a/app/react-native/src/preview/components/StoryView/style.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { StyleSheet } from 'react-native'; -export default StyleSheet.create({ - main: { - flex: 1, - }, - help: { - flex: 1, - padding: 15, - alignItems: 'center', - justifyContent: 'center', - }, -}); From 6bc3ffae4879bef762c5386f3b7be8ae836ba0b6 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Tue, 23 Apr 2019 23:32:27 -0400 Subject: [PATCH 14/59] rm remaining style files --- .../components/OnDeviceUI/addons/list.tsx | 2 +- .../components/OnDeviceUI/addons/wrapper.tsx | 19 +++++++++--- .../preview/components/OnDeviceUI/index.tsx | 6 ++-- .../preview/components/OnDeviceUI/style.ts | 31 ------------------- 4 files changed, 18 insertions(+), 40 deletions(-) delete mode 100644 app/react-native/src/preview/components/OnDeviceUI/style.ts diff --git a/app/react-native/src/preview/components/OnDeviceUI/addons/list.tsx b/app/react-native/src/preview/components/OnDeviceUI/addons/list.tsx index 9c2d47162d9..71c0c0bdc5d 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/addons/list.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/addons/list.tsx @@ -23,7 +23,7 @@ export default class AddonList extends PureComponent { return ( ); }; diff --git a/app/react-native/src/preview/components/OnDeviceUI/addons/wrapper.tsx b/app/react-native/src/preview/components/OnDeviceUI/addons/wrapper.tsx index dbd64b0aae3..1b101b4a225 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/addons/wrapper.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/addons/wrapper.tsx @@ -1,13 +1,24 @@ import React, { PureComponent } from 'react'; -import { View, ScrollView, Text } from 'react-native'; +import { View, ScrollView, StyleSheet } from 'react-native'; import { Collection } from '@storybook/addons'; -import style from '../style'; export interface Props { panels: Collection; addonSelected: string; } +const style = StyleSheet.create({ + invisible: { + height: 0, + width: 0, + opacity: 0, + position: 'absolute', + }, + flex: { + flex: 1, + }, +}); + export default class Wrapper extends PureComponent { static defaultProps = { addonSelected: '', @@ -23,9 +34,7 @@ export default class Wrapper extends PureComponent { return ( - - {panels[id].render({ active: selected, key: id })} - + {panels[id].render({ active: selected, key: id })} ); }); diff --git a/app/react-native/src/preview/components/OnDeviceUI/index.tsx b/app/react-native/src/preview/components/OnDeviceUI/index.tsx index f9faba443a3..97a0263f5ab 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/index.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/index.tsx @@ -166,18 +166,18 @@ export default class OnDeviceUI extends PureComponent Date: Tue, 23 Apr 2019 23:52:34 -0400 Subject: [PATCH 15/59] Add support for themable ui --- .../src/preview/components/OnDeviceUI/index.tsx | 1 - app/react-native/src/preview/index.tsx | 14 ++++++++------ .../crna-kitchen-sink/storybook/index.js | 12 ++++++++++++ 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/app/react-native/src/preview/components/OnDeviceUI/index.tsx b/app/react-native/src/preview/components/OnDeviceUI/index.tsx index 97a0263f5ab..e875ec9394b 100644 --- a/app/react-native/src/preview/components/OnDeviceUI/index.tsx +++ b/app/react-native/src/preview/components/OnDeviceUI/index.tsx @@ -26,7 +26,6 @@ import { getAddonPanelPosition, getNavigatorPanelPosition, } from './animation'; -import style from './style'; import { EmotionProps } from '../Shared/theme'; const ANIMATION_DURATION = 300; diff --git a/app/react-native/src/preview/index.tsx b/app/react-native/src/preview/index.tsx index b6a89737364..56d0e45f611 100644 --- a/app/react-native/src/preview/index.tsx +++ b/app/react-native/src/preview/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { AsyncStorage } from 'react-native'; -// @ts-ignore import { ThemeProvider } from 'emotion-theming'; +// @ts-ignore import getHost from 'rn-host-detect'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; @@ -11,11 +11,11 @@ import createChannel from '@storybook/channel-websocket'; import { StoryStore, ClientApi } from '@storybook/client-api'; import OnDeviceUI from './components/OnDeviceUI'; import StoryView from './components/StoryView'; -import { theme } from './components/Shared/theme'; +import { theme, EmotionProps } from './components/Shared/theme'; const STORAGE_KEY = 'lastOpenedStory'; -export interface Params { +export type Params = { onDeviceUI: boolean; resetStorybook: boolean; disableWebsockets: boolean; @@ -29,7 +29,7 @@ export interface Params { isUIHidden: boolean; shouldDisableKeyboardAvoidingView: boolean; keyboardAvoidingViewVerticalOffset: number; -} +} & EmotionProps; export default class Preview { currentStory: any; @@ -125,13 +125,15 @@ export default class Preview { addons.loadAddons(this._clientApi); + const appliedTheme = { ...theme, ...params.theme }; + // react-native hot module loader must take in a Class - https://github.com/facebook/react-native/issues/10991 // eslint-disable-next-line react/prefer-stateless-function return class StorybookRoot extends React.PureComponent { render() { if (onDeviceUI) { return ( - + + ); diff --git a/examples-native/crna-kitchen-sink/storybook/index.js b/examples-native/crna-kitchen-sink/storybook/index.js index 4bf516784a5..877a46d9592 100644 --- a/examples-native/crna-kitchen-sink/storybook/index.js +++ b/examples-native/crna-kitchen-sink/storybook/index.js @@ -6,5 +6,17 @@ configure(() => { require('./stories'); }, module); +// const darkTheme = { +// backgroundColor: 'black', +// headerTextColor: 'white', +// labelColor: 'white', +// borderColor: 'white', +// previewBorderColor: 'gray', +// buttonTextColor: 'white', +// buttonActiveTextColor: 'white', +// }; + +// const StorybookUIRoot = getStorybookUI({ theme: darkTheme }); + const StorybookUIRoot = getStorybookUI(); export default StorybookUIRoot; From 2ec925c455bbd656995ff041b3e6d5f3aa93d1b3 Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Wed, 24 Apr 2019 11:47:34 +0100 Subject: [PATCH 16/59] chore: feedback - remove unused dependencies --- addons/ondevice-actions/package.json | 12 ++---------- addons/ondevice-actions/tsconfig.json | 11 +++-------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index c52d3b11320..bc2d0b5880f 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -15,7 +15,6 @@ }, "license": "MIT", "main": "dist/index.js", - "jsnext:main": "src/index.js", "scripts": { "prepare": "node ../../scripts/prepare.js" }, @@ -23,13 +22,7 @@ "@storybook/addons": "5.1.0-alpha.29", "@storybook/core-events": "5.1.0-alpha.29", "core-js": "^2.5.7", - "fast-deep-equal": "^2.0.1", - "global": "^4.3.2", - "lodash": "^4.17.11", - "make-error": "^1.3.5", - "prop-types": "^15.6.2", - "react-inspector": "^2.3.0", - "uuid": "^3.3.2" + "fast-deep-equal": "^2.0.1" }, "devDependencies": { "@storybook/addon-actions": "5.1.0-alpha.29" @@ -41,6 +34,5 @@ }, "publishConfig": { "access": "public" - }, - "gitHead": "fbd7ee4c80df437fed4bdc6e11140733fd450080" + } } diff --git a/addons/ondevice-actions/tsconfig.json b/addons/ondevice-actions/tsconfig.json index 8876bb6737a..9b69fbfdaed 100644 --- a/addons/ondevice-actions/tsconfig.json +++ b/addons/ondevice-actions/tsconfig.json @@ -1,13 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "types": ["webpack-env"] + "rootDir": "./src" }, - "include": [ - "src/**/*" - ], - "exclude": [ - "src/__tests__/**/*" - ] + "include": ["src/**/*"], + "exclude": ["src/__tests__/**/*"] } From e41f87b83f04de1485606256c886527ce5299831 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 26 Apr 2019 22:14:59 +0200 Subject: [PATCH 17/59] FIX lockfile --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 9c2427dda31..df6c2728416 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17381,7 +17381,7 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-error@1.x, make-error@^1.1.1, make-error@^1.3.5: +make-error@1.x, make-error@^1.1.1: version "1.3.5" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== @@ -21972,7 +21972,7 @@ react-input-autosize@^2.2.1: dependencies: prop-types "^15.5.8" -react-inspector@^2.3.0, react-inspector@^2.3.1: +react-inspector@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/react-inspector/-/react-inspector-2.3.1.tgz#f0eb7f520669b545b441af9d38ec6d706e5f649c" integrity sha512-tUUK7t3KWgZEIUktOYko5Ic/oYwvjEvQUFAGC1UeMeDaQ5za2yZFtItJa2RTwBJB//NxPr000WQK6sEbqC6y0Q== From 53cc7fdc5a1a7e22dcdf5936a28ecd6825a002ab Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 17:41:53 -0400 Subject: [PATCH 18/59] Modified the waiting text to use the word accessibility rather than a11y --- addons/a11y/src/components/A11YPanel.tsx | 2 +- addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/a11y/src/components/A11YPanel.tsx b/addons/a11y/src/components/A11YPanel.tsx index 5ca6069ce9f..62a3da32a89 100644 --- a/addons/a11y/src/components/A11YPanel.tsx +++ b/addons/a11y/src/components/A11YPanel.tsx @@ -48,7 +48,7 @@ const Incomplete = styled.span(({ theme }) => ({ const Loader = styled(({ className }) => (
- Please wait while a11y scan is running ... + Please wait while the accessibility scan is running ...
))({ display: 'flex', diff --git a/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap b/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap index d550f496314..9f1284dbc52 100644 --- a/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap +++ b/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap @@ -96,7 +96,7 @@ exports[`A11YPanel should render loader when it's running 1`] = ` - Please wait while a11y scan is running ... + Please wait while the accessibility scan is running ... From 6e95e867f5d602b51e26dac09271c52592496538 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:32:52 -0400 Subject: [PATCH 19/59] Added a11y addon to the Angular example --- examples/angular-cli/.storybook/addons.ts | 1 + examples/angular-cli/.storybook/config.ts | 4 +++- examples/angular-cli/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/angular-cli/.storybook/addons.ts b/examples/angular-cli/.storybook/addons.ts index 0f128533cc7..eaf11c22a38 100644 --- a/examples/angular-cli/.storybook/addons.ts +++ b/examples/angular-cli/.storybook/addons.ts @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-options/register'; import '@storybook/addon-jest/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/angular-cli/.storybook/config.ts b/examples/angular-cli/.storybook/config.ts index c1c44da744a..0974e6760df 100644 --- a/examples/angular-cli/.storybook/config.ts +++ b/examples/angular-cli/.storybook/config.ts @@ -1,6 +1,8 @@ -import { configure, addParameters } from '@storybook/angular'; +import { configure, addParameters, addDecorator } from '@storybook/angular'; import addCssWarning from '../src/cssWarning'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addCssWarning(); addParameters({ diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index c9f16cd873b..05d0e3f39b8 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -44,6 +44,7 @@ "@storybook/addon-options": "5.1.0-alpha.34", "@storybook/addon-storyshots": "5.1.0-alpha.34", "@storybook/addon-storysource": "5.1.0-alpha.34", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addons": "5.1.0-alpha.34", "@storybook/angular": "5.1.0-alpha.34", "@types/core-js": "^2.5.0", From 3d9aeae7df57705a581b174cc6abf26d6648f01a Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:33:08 -0400 Subject: [PATCH 20/59] Added a11y addon to the CRA example --- examples/cra-kitchen-sink/.storybook/config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index 14a944abd8b..740df12aacd 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -1,6 +1,5 @@ import { configure, addParameters, addDecorator } from '@storybook/react'; import { create } from '@storybook/theming'; - import { withA11y } from '@storybook/addon-a11y'; addDecorator(withA11y); From f9069d8ac0489965ce5c9ede7b99e7f1ca42b23c Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:33:32 -0400 Subject: [PATCH 21/59] Added a11y addon to the CRA TS example --- examples/cra-ts-kitchen-sink/.storybook/addons.js | 1 + examples/cra-ts-kitchen-sink/.storybook/config.js | 2 ++ examples/cra-ts-kitchen-sink/package.json | 1 + 3 files changed, 4 insertions(+) diff --git a/examples/cra-ts-kitchen-sink/.storybook/addons.js b/examples/cra-ts-kitchen-sink/.storybook/addons.js index 98e376578af..7a1c2e86a2e 100644 --- a/examples/cra-ts-kitchen-sink/.storybook/addons.js +++ b/examples/cra-ts-kitchen-sink/.storybook/addons.js @@ -1,2 +1,3 @@ import '@storybook/addon-actions/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/cra-ts-kitchen-sink/.storybook/config.js b/examples/cra-ts-kitchen-sink/.storybook/config.js index 6ebb12248f9..3f4ee3798a3 100644 --- a/examples/cra-ts-kitchen-sink/.storybook/config.js +++ b/examples/cra-ts-kitchen-sink/.storybook/config.js @@ -1,6 +1,8 @@ import { configure, addDecorator, addParameters } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { brandTitle: 'CRA TypeScript Kitchen Sink', diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 7582d8d9c5f..f40ebc49f53 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -14,6 +14,7 @@ "react-dom": "^16.8.4" }, "devDependencies": { + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-info": "5.1.0-alpha.34", "@storybook/addon-options": "5.1.0-alpha.34", From 53cc440802ad9d101cafc2d07c7fd91e39fcd9c5 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:33:54 -0400 Subject: [PATCH 22/59] Added a11y addon to the HTML example --- examples/html-kitchen-sink/.storybook/config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/examples/html-kitchen-sink/.storybook/config.js b/examples/html-kitchen-sink/.storybook/config.js index c99cd0d235c..be3060856e6 100644 --- a/examples/html-kitchen-sink/.storybook/config.js +++ b/examples/html-kitchen-sink/.storybook/config.js @@ -1,6 +1,16 @@ -import { configure, addParameters } from '@storybook/html'; +import { configure, addParameters, addDecorator } from '@storybook/html'; +import { withA11y } from '@storybook/addon-a11y'; + +addDecorator(withA11y); addParameters({ + a11y: { + config: {}, + options: { + checks: { 'color-contrast': { options: { noScroll: true } } }, + restoreScroll: true, + }, + }, html: { preventForcedRender: false, // default }, From b4b1b52cf40630bf91cd8050193ab18c7f5475fb Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:34:31 -0400 Subject: [PATCH 23/59] Added the a11y addon to the Marko example --- examples/marko-cli/.storybook/addons.js | 1 + examples/marko-cli/.storybook/config.js | 4 +++- examples/marko-cli/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/marko-cli/.storybook/addons.js b/examples/marko-cli/.storybook/addons.js index 464a1f792a0..ac7bf6fce5a 100644 --- a/examples/marko-cli/.storybook/addons.js +++ b/examples/marko-cli/.storybook/addons.js @@ -2,3 +2,4 @@ import '@storybook/addon-storysource/register'; import '@storybook/addon-actions/register'; import '@storybook/addon-knobs/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/marko-cli/.storybook/config.js b/examples/marko-cli/.storybook/config.js index d148e2da589..bee4a674354 100644 --- a/examples/marko-cli/.storybook/config.js +++ b/examples/marko-cli/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/marko'; +import { configure, addParameters, addDecorator } from '@storybook/marko'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index a84b4a41543..381427b2ae4 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -24,6 +24,7 @@ "marko-starter": "^2.0.4" }, "devDependencies": { + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-knobs": "5.1.0-alpha.34", "@storybook/addon-options": "5.1.0-alpha.34", From 01278b7409e83973a4f9eb0489a3d191c8be960c Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:34:53 -0400 Subject: [PATCH 24/59] Added the a11y addon to the Mithril example --- examples/mithril-kitchen-sink/.storybook/addons.js | 1 + examples/mithril-kitchen-sink/.storybook/config.js | 4 +++- examples/mithril-kitchen-sink/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/mithril-kitchen-sink/.storybook/addons.js b/examples/mithril-kitchen-sink/.storybook/addons.js index ff96ea46a3b..61c6e6570ab 100644 --- a/examples/mithril-kitchen-sink/.storybook/addons.js +++ b/examples/mithril-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/mithril-kitchen-sink/.storybook/config.js b/examples/mithril-kitchen-sink/.storybook/config.js index f77b981b90e..1155598a41c 100644 --- a/examples/mithril-kitchen-sink/.storybook/config.js +++ b/examples/mithril-kitchen-sink/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/mithril'; +import { configure, addParameters, addDecorator } from '@storybook/mithril'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 04000f19908..bc9153e67c2 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -11,6 +11,7 @@ "mithril": "^1.1.6" }, "devDependencies": { + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-backgrounds": "5.1.0-alpha.34", "@storybook/addon-centered": "5.1.0-alpha.34", From f37a6f04229a7698c694c924541607568253d1af Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:35:20 -0400 Subject: [PATCH 25/59] Added the a11y addon to the Polymer example --- examples/polymer-cli/.storybook/addons.js | 1 + examples/polymer-cli/.storybook/config.js | 4 +++- examples/polymer-cli/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/polymer-cli/.storybook/addons.js b/examples/polymer-cli/.storybook/addons.js index 63116c29338..88db07acc87 100644 --- a/examples/polymer-cli/.storybook/addons.js +++ b/examples/polymer-cli/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-links/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/polymer-cli/.storybook/config.js b/examples/polymer-cli/.storybook/config.js index 5cfcaed0c25..4f54cad4460 100644 --- a/examples/polymer-cli/.storybook/config.js +++ b/examples/polymer-cli/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/polymer'; +import { configure, addParameters, addDecorator } from '@storybook/polymer'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 6256613ec0f..9d0882ca146 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-backgrounds": "5.1.0-alpha.34", "@storybook/addon-knobs": "5.1.0-alpha.34", From 6a433f20c027f5e5dcc4ced5be4e61a0df7cca64 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:35:36 -0400 Subject: [PATCH 26/59] Added the a11y addon to the Preact example --- examples/preact-kitchen-sink/.storybook/addons.js | 1 + examples/preact-kitchen-sink/.storybook/config.js | 4 +++- examples/preact-kitchen-sink/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/preact-kitchen-sink/.storybook/addons.js b/examples/preact-kitchen-sink/.storybook/addons.js index ff96ea46a3b..61c6e6570ab 100644 --- a/examples/preact-kitchen-sink/.storybook/addons.js +++ b/examples/preact-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/preact-kitchen-sink/.storybook/config.js b/examples/preact-kitchen-sink/.storybook/config.js index 4f18ffa677f..1394b0a1b2b 100644 --- a/examples/preact-kitchen-sink/.storybook/config.js +++ b/examples/preact-kitchen-sink/.storybook/config.js @@ -1,6 +1,8 @@ /** @jsx h */ -import { addParameters, configure } from '@storybook/preact'; +import { addParameters, configure, addDecorator } from '@storybook/preact'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchySeparator: /\/|\./, diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index d24a88c45ba..80620c01732 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -16,6 +16,7 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-backgrounds": "5.1.0-alpha.34", "@storybook/addon-centered": "5.1.0-alpha.34", From 646b5e8215f1f5c06e736235159cd43579d9338a Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:35:51 -0400 Subject: [PATCH 27/59] Added the a11y addon to the Riot example --- examples/riot-kitchen-sink/.storybook/addons.js | 1 + examples/riot-kitchen-sink/.storybook/config.js | 4 +++- examples/riot-kitchen-sink/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/riot-kitchen-sink/.storybook/addons.js b/examples/riot-kitchen-sink/.storybook/addons.js index ff96ea46a3b..61c6e6570ab 100644 --- a/examples/riot-kitchen-sink/.storybook/addons.js +++ b/examples/riot-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/riot-kitchen-sink/.storybook/config.js b/examples/riot-kitchen-sink/.storybook/config.js index a729722cb60..a17118312c5 100644 --- a/examples/riot-kitchen-sink/.storybook/config.js +++ b/examples/riot-kitchen-sink/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/riot'; +import { configure, addParameters, addDecorator } from '@storybook/riot'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 3646092f28d..6b9823def45 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -16,6 +16,7 @@ }, "devDependencies": { "@babel/core": "^7.3.4", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-backgrounds": "5.1.0-alpha.34", "@storybook/addon-centered": "5.1.0-alpha.34", From eefa820a152ff3d54f7dbb7e0f641730e6999c7d Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:36:06 -0400 Subject: [PATCH 28/59] Added the a11y addon to the Svelte example --- examples/svelte-kitchen-sink/.storybook/addons.js | 1 + examples/svelte-kitchen-sink/.storybook/config.js | 4 +++- examples/svelte-kitchen-sink/package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/svelte-kitchen-sink/.storybook/addons.js b/examples/svelte-kitchen-sink/.storybook/addons.js index 203aa53c760..d948e3fd71b 100644 --- a/examples/svelte-kitchen-sink/.storybook/addons.js +++ b/examples/svelte-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-backgrounds/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/svelte-kitchen-sink/.storybook/config.js b/examples/svelte-kitchen-sink/.storybook/config.js index b998728023c..74c96cf4295 100644 --- a/examples/svelte-kitchen-sink/.storybook/config.js +++ b/examples/svelte-kitchen-sink/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/svelte'; +import { configure, addParameters, addDecorator } from '@storybook/svelte'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 92c1fd077f0..da24d63c810 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -21,6 +21,7 @@ "@storybook/addon-storyshots": "5.1.0-alpha.34", "@storybook/addon-storysource": "5.1.0-alpha.34", "@storybook/addon-viewport": "5.1.0-alpha.34", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addons": "5.1.0-alpha.34", "@storybook/svelte": "5.1.0-alpha.34" } From b1e23d6f057550cdfad500ed20827382a11ad199 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:36:24 -0400 Subject: [PATCH 29/59] Added the a11y addon to the Vue example --- examples/vue-kitchen-sink/.storybook/addons.js | 1 + examples/vue-kitchen-sink/.storybook/config.js | 5 +++-- examples/vue-kitchen-sink/package.json | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/vue-kitchen-sink/.storybook/addons.js b/examples/vue-kitchen-sink/.storybook/addons.js index ff96ea46a3b..61c6e6570ab 100644 --- a/examples/vue-kitchen-sink/.storybook/addons.js +++ b/examples/vue-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/vue-kitchen-sink/.storybook/config.js b/examples/vue-kitchen-sink/.storybook/config.js index baf1f78677f..292c33a24af 100644 --- a/examples/vue-kitchen-sink/.storybook/config.js +++ b/examples/vue-kitchen-sink/.storybook/config.js @@ -1,9 +1,10 @@ -import { configure, addParameters } from '@storybook/vue'; +import { configure, addParameters, addDecorator } from '@storybook/vue'; import Vue from 'vue'; import Vuex from 'vuex'; - +import { withA11y } from '@storybook/addon-a11y'; import MyButton from '../src/stories/Button.vue'; +addDecorator(withA11y); Vue.component('my-button', MyButton); Vue.use(Vuex); diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 35c822f1f82..4425eebc427 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -15,6 +15,7 @@ }, "devDependencies": { "@babel/core": "^7.3.4", + "@storybook/addon-a11y": "5.1.0-alpha.34", "@storybook/addon-actions": "5.1.0-alpha.34", "@storybook/addon-backgrounds": "5.1.0-alpha.34", "@storybook/addon-centered": "5.1.0-alpha.34", From 8e0d4b2e54d19e475a1e00e2bbd876c1068a7d00 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 18:36:49 -0400 Subject: [PATCH 30/59] updated the addon support documentation --- ADDONS_SUPPORT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADDONS_SUPPORT.md b/ADDONS_SUPPORT.md index 6aaa4d0468e..e4ecabbb4ae 100644 --- a/ADDONS_SUPPORT.md +++ b/ADDONS_SUPPORT.md @@ -2,7 +2,7 @@ | | [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) |+| |+|+|+|+|+|+| | |+|+| +|[a11y](addons/a11y) |+| |+|+|+|+|+|+|+|+| |+| |[actions](addons/actions) |+|+|+|+|+|+|+|+|+|+|+|+| |[backgrounds](addons/backgrounds) |+|*|+|+|+|+|+|+|+|+|+|+| |[centered](addons/centered) |+| |+|+| |+|+| |+| |+|+| From 8d192457c5de55bbb225b0a7a7cf176a643e6e81 Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 21:23:34 -0400 Subject: [PATCH 31/59] Added the a11y addon to the Ember example and added ember to the list of supported frameworks for the addon --- ADDONS_SUPPORT.md | 2 +- examples/ember-cli/.storybook/config.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ADDONS_SUPPORT.md b/ADDONS_SUPPORT.md index e4ecabbb4ae..c072d343210 100644 --- a/ADDONS_SUPPORT.md +++ b/ADDONS_SUPPORT.md @@ -2,7 +2,7 @@ | | [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) |+| |+|+|+|+|+|+|+|+| |+| +|[a11y](addons/a11y) |+| |+|+|+|+|+|+|+|+|+|+| |[actions](addons/actions) |+|+|+|+|+|+|+|+|+|+|+|+| |[backgrounds](addons/backgrounds) |+|*|+|+|+|+|+|+|+|+|+|+| |[centered](addons/centered) |+| |+|+| |+|+| |+| |+|+| diff --git a/examples/ember-cli/.storybook/config.js b/examples/ember-cli/.storybook/config.js index a89e5a2565d..e887baca878 100644 --- a/examples/ember-cli/.storybook/config.js +++ b/examples/ember-cli/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/ember'; +import { configure, addParameters, addDecorator } from '@storybook/ember'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchySeparator: /\/|\./, From 524076cf779f69f4b9e18274ca5b5a626dd4d08c Mon Sep 17 00:00:00 2001 From: codebyalex Date: Fri, 26 Apr 2019 22:25:50 -0400 Subject: [PATCH 32/59] updated vue package json to use version 35 of a11y --- examples/vue-kitchen-sink/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index d2876dcf366..1dc0fd3fa29 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.0-alpha.34", + "@storybook/addon-a11y": "5.1.0-alpha.35", "@storybook/addon-actions": "5.1.0-alpha.35", "@storybook/addon-backgrounds": "5.1.0-alpha.35", "@storybook/addon-centered": "5.1.0-alpha.35", From 21e4997314ce3b7d93f399996778b8977fa658ed Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 28 Apr 2019 01:17:27 +1000 Subject: [PATCH 33/59] "Avoid component redeclaration" re-implementation --- .../src/frameworks/angular/helpers.ts | 71 +++++++++++++++---- app/angular/index.d.ts | 1 - .../src/client/preview/angular/helpers.ts | 71 +++++++++++++++---- .../src/client/preview/angular/types.ts | 1 - .../module-context/module-context.stories.ts | 11 +-- 5 files changed, 120 insertions(+), 35 deletions(-) diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts b/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts index 4304a96ff4c..ca60567193c 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts +++ b/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts @@ -1,5 +1,5 @@ /* eslint-disable import/no-extraneous-dependencies */ -import { Component, Type } from '@angular/core'; +import { Component, Type, NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; @@ -30,15 +30,55 @@ const createComponentFromTemplate = (template: string) => { template, })(componentClass); }; +const extractNgModuleMetadata = (importItem: any): NgModule => { + const decoratorKey = '__annotations__'; + const decorators: any[] = + Reflect && Reflect.getOwnPropertyDescriptor + ? Reflect.getOwnPropertyDescriptor(importItem, decoratorKey).value + : importItem[decoratorKey]; + + if (!decorators || decorators.length === 0) { + return null; + } + + const ngModuleDecorator: NgModule | undefined = decorators.find( + decorator => decorator instanceof NgModule + ); + if (!ngModuleDecorator) { + return null; + } + return ngModuleDecorator; +}; + +const getExistenceOfComponentInModules = ( + component: any, + declarations: any[], + imports: any[] +): boolean => { + if (declarations && declarations.some(declaration => declaration === component)) { + // Found component in declarations array + return true; + } + if (!imports) { + return false; + } + + return imports.some(importItem => { + const extractedNgModuleMetadata = extractNgModuleMetadata(importItem); + if (!extractedNgModuleMetadata) { + // Not an NgModule + return false; + } + return getExistenceOfComponentInModules( + component, + extractedNgModuleMetadata.declarations, + extractedNgModuleMetadata.imports + ); + }); +}; export const initModuleData = (storyObj: NgStory): any => { - const { - component, - template, - props, - moduleMetadata = {}, - requiresComponentDeclaration = true, - } = storyObj; + const { component, template, props, moduleMetadata = {} } = storyObj; const isCreatingComponentFromTemplate = Boolean(template); @@ -46,10 +86,17 @@ export const initModuleData = (storyObj: NgStory): any => { ? createComponentFromTemplate(template) : component; - const componentDeclarations = - isCreatingComponentFromTemplate || requiresComponentDeclaration - ? [AppComponent, AnnotatedComponent] - : [AppComponent]; + const componentRequiesDeclaration = + isCreatingComponentFromTemplate || + !getExistenceOfComponentInModules( + component, + moduleMetadata.declarations, + moduleMetadata.imports + ); + + const componentDeclarations = componentRequiesDeclaration + ? [AppComponent, AnnotatedComponent] + : [AppComponent]; const story = { component: AnnotatedComponent, diff --git a/app/angular/index.d.ts b/app/angular/index.d.ts index 58467e59250..6675e335816 100644 --- a/app/angular/index.d.ts +++ b/app/angular/index.d.ts @@ -45,7 +45,6 @@ export interface IStory { props?: ICollection; moduleMetadata?: Partial; component?: any; - requiresComponentDeclaration?: boolean; template?: string; } diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts index b13c51e78e7..67e32cbd713 100644 --- a/app/angular/src/client/preview/angular/helpers.ts +++ b/app/angular/src/client/preview/angular/helpers.ts @@ -47,16 +47,56 @@ const createComponentFromTemplate = (template: string, styles: string[]) => { })(componentClass); }; +const extractNgModuleMetadata = (importItem: any): NgModule => { + const decoratorKey = '__annotations__'; + const decorators: any[] = + Reflect && Reflect.getOwnPropertyDescriptor + ? Reflect.getOwnPropertyDescriptor(importItem, decoratorKey).value + : importItem[decoratorKey]; + + if (!decorators || decorators.length === 0) { + return null; + } + + const ngModuleDecorator: NgModule | undefined = decorators.find( + decorator => decorator instanceof NgModule + ); + if (!ngModuleDecorator) { + return null; + } + return ngModuleDecorator; +}; + +const getExistenceOfComponentInModules = ( + component: any, + declarations: any[], + imports: any[] +): boolean => { + if (declarations && declarations.some(declaration => declaration === component)) { + // Found component in declarations array + return true; + } + if (!imports) { + return false; + } + + return imports.some(importItem => { + const extractedNgModuleMetadata = extractNgModuleMetadata(importItem); + if (!extractedNgModuleMetadata) { + // Not an NgModule + return false; + } + return getExistenceOfComponentInModules( + component, + extractedNgModuleMetadata.declarations, + extractedNgModuleMetadata.imports + ); + }); +}; + const initModule = (storyFn: IStoryFn) => { const storyObj = storyFn(); - const { - component, - template, - props, - styles, - moduleMetadata = {}, - requiresComponentDeclaration = true, - } = storyObj; + const { component, template, props, styles, moduleMetadata = {} } = storyObj; const isCreatingComponentFromTemplate = Boolean(template); @@ -64,10 +104,17 @@ const initModule = (storyFn: IStoryFn) => { ? createComponentFromTemplate(template, styles) : component; - const componentDeclarations = - isCreatingComponentFromTemplate || requiresComponentDeclaration - ? [AppComponent, AnnotatedComponent] - : [AppComponent]; + const componentRequiesDeclaration = + isCreatingComponentFromTemplate || + !getExistenceOfComponentInModules( + component, + moduleMetadata.declarations, + moduleMetadata.imports + ); + + const componentDeclarations = componentRequiesDeclaration + ? [AppComponent, AnnotatedComponent] + : [AppComponent]; const story = { component: AnnotatedComponent, diff --git a/app/angular/src/client/preview/angular/types.ts b/app/angular/src/client/preview/angular/types.ts index 408911dcbf0..0633eabea0e 100644 --- a/app/angular/src/client/preview/angular/types.ts +++ b/app/angular/src/client/preview/angular/types.ts @@ -12,7 +12,6 @@ export interface ICollection { export interface NgStory { component?: any; - requiresComponentDeclaration?: boolean; props: ICollection; propsMeta?: ICollection; moduleMetadata?: NgModuleMetadata; diff --git a/examples/angular-cli/src/stories/module-context/module-context.stories.ts b/examples/angular-cli/src/stories/module-context/module-context.stories.ts index e3dd4fbf15c..c3ffbe7c147 100644 --- a/examples/angular-cli/src/stories/module-context/module-context.stories.ts +++ b/examples/angular-cli/src/stories/module-context/module-context.stories.ts @@ -33,17 +33,12 @@ storiesOf('Custom|Feature Module as Context', module) }; return { component: ChipsGroupComponent, - requiresComponentDeclaration: false, props, }; }, { - notes: ` - This component includes a child component, a pipe, and a default provider, all which come from - the specified feature module. - - This behavior is possible by setting the "requiresComponentDeclaration" flag to false. - `.replace(/ {1,}/g, ' '), + notes: `This component includes a child component, a pipe, and a default provider, all which come from + the specified feature module.`, } ) .add('Component with default providers', () => { @@ -53,7 +48,6 @@ storiesOf('Custom|Feature Module as Context', module) }; return { component: ChipComponent, - requiresComponentDeclaration: false, props, }; }) @@ -72,7 +66,6 @@ storiesOf('Custom|Feature Module as Context', module) }, ], }, - requiresComponentDeclaration: false, props, }; }); From 086370b96a37dbb207a3ffcb957ea93ecfd3752c Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 28 Apr 2019 01:45:54 +1000 Subject: [PATCH 34/59] Remove no longer necessessary flag from types file --- .../storyshots/storyshots-core/src/frameworks/angular/types.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts b/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts index 36793bf7fb7..3582cb89f8a 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts +++ b/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts @@ -12,7 +12,6 @@ export interface ICollection { export interface NgStory { component?: any; - requiresComponentDeclaration?: boolean; props: ICollection; propsMeta?: ICollection; moduleMetadata?: NgModuleMetadata; From 84df05a541b678df36a004df587c6d77786435c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 30 Apr 2019 06:02:45 +0000 Subject: [PATCH 35/59] Bump react-redux from 7.0.2 to 7.0.3 Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.0.2 to 7.0.3. - [Release notes](https://github.com/reduxjs/react-redux/releases) - [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md) - [Commits](https://github.com/reduxjs/react-redux/compare/v7.0.2...v7.0.3) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 21118e236d7..20e9d9a7ae0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22263,9 +22263,9 @@ react-proxy@^1.1.7: react-deep-force-update "^1.0.0" react-redux@^7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/react-redux/-/react-redux-7.0.2.tgz#34b280a3482aaf60e7d4a504b1295165cbe6b86a" - integrity sha512-uKRuMgQt8dWbcz0U75oFK5tDo3boyAKrqvf/j94vpqRFFZfyDDy4kofUgloFIGyuKTq2Zz51zgK9RzOTFXk5ew== + version "7.0.3" + resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.0.3.tgz#983c5a6de81cb1e696bd1c090ba826545f9170f1" + integrity sha512-vYZA7ftOYlDk3NetitsI7fLjryt/widNl1SLXYvFenIpm7vjb4ryK0EeFrgn62usg5fYkyIAWNUPKnwWPevKLg== dependencies: "@babel/runtime" "^7.4.3" hoist-non-react-statics "^3.3.0" From 4c9b211db0b784ddb1291a1094215ba28d7c3cb7 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Tue, 30 Apr 2019 20:14:05 +0200 Subject: [PATCH 36/59] Use `http-server` instead of `serve` in example Unfortunately, current version of `serve` doesn't work without [configuration](https://github.com/zeit/serve/issues/393#issuecomment-395978195), as it removes the query string from iframe URL --- docs/src/pages/basics/exporting-storybook/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/basics/exporting-storybook/index.md b/docs/src/pages/basics/exporting-storybook/index.md index c633e5d77d1..5584978c86e 100644 --- a/docs/src/pages/basics/exporting-storybook/index.md +++ b/docs/src/pages/basics/exporting-storybook/index.md @@ -28,7 +28,7 @@ Now you can deploy the content in the `.out` directory wherever you want. To test it locally: ```sh -npx serve . +npx http-server .out ``` ## Deploying to GitHub Pages From d143131451c40edefddc7313c20974d7d57c7b01 Mon Sep 17 00:00:00 2001 From: Mikael Carpenter Date: Tue, 30 Apr 2019 16:36:06 -0700 Subject: [PATCH 37/59] Move option for using dev dependencies to npmOptions in initiate.js update installDependencies helper to use that new option update usage of that to not pass '-D' in list of dependencies --- lib/cli/generators/ANGULAR/index.js | 1 - lib/cli/generators/EMBER/index.js | 1 - lib/cli/generators/HTML/index.js | 6 +----- lib/cli/generators/MARKO/index.js | 1 - lib/cli/generators/METEOR/index.js | 2 +- lib/cli/generators/MITHRIL/index.js | 1 - lib/cli/generators/POLYMER/index.js | 2 +- lib/cli/generators/PREACT/index.js | 1 - lib/cli/generators/REACT/index.js | 1 - lib/cli/generators/REACT_NATIVE/index.js | 1 - lib/cli/generators/REACT_SCRIPTS/index.js | 1 - lib/cli/generators/RIOT/index.js | 2 +- lib/cli/generators/SFC_VUE/index.js | 1 - lib/cli/generators/SVELTE/index.js | 1 - .../UPDATE_PACKAGE_ORGANIZATIONS/index.js | 4 +++- lib/cli/generators/VUE/index.js | 1 - lib/cli/generators/WEBPACK_REACT/index.js | 1 - lib/cli/lib/helpers.js | 14 +++++++++----- lib/cli/lib/initiate.js | 1 + 19 files changed, 17 insertions(+), 26 deletions(-) diff --git a/lib/cli/generators/ANGULAR/index.js b/lib/cli/generators/ANGULAR/index.js index 7159d83a6d9..8e660baaff7 100644 --- a/lib/cli/generators/ANGULAR/index.js +++ b/lib/cli/generators/ANGULAR/index.js @@ -46,7 +46,6 @@ async function addDependencies(npmOptions) { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); } diff --git a/lib/cli/generators/EMBER/index.js b/lib/cli/generators/EMBER/index.js index 076d1262c26..a9160e77c1d 100644 --- a/lib/cli/generators/EMBER/index.js +++ b/lib/cli/generators/EMBER/index.js @@ -42,6 +42,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/HTML/index.js b/lib/cli/generators/HTML/index.js index 48a7300d7a5..33ad4425699 100755 --- a/lib/cli/generators/HTML/index.js +++ b/lib/cli/generators/HTML/index.js @@ -30,9 +30,5 @@ export default async npmOptions => { const babelDependencies = await getBabelDependencies(npmOptions, packageJson); - installDependencies(npmOptions, [ - `@storybook/html@${storybookVersion}`, - ...babelDependencies, - '-D', - ]); + installDependencies(npmOptions, [`@storybook/html@${storybookVersion}`, ...babelDependencies]); }; diff --git a/lib/cli/generators/MARKO/index.js b/lib/cli/generators/MARKO/index.js index 96e8a32d449..40de28c14a2 100644 --- a/lib/cli/generators/MARKO/index.js +++ b/lib/cli/generators/MARKO/index.js @@ -36,6 +36,5 @@ export default async npmOptions => { `@storybook/addon-actions@${addonActionVersion}`, `@storybook/addon-knobs@${addonKnobsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/METEOR/index.js b/lib/cli/generators/METEOR/index.js index 60f8776f59b..11d08617c0e 100644 --- a/lib/cli/generators/METEOR/index.js +++ b/lib/cli/generators/METEOR/index.js @@ -83,7 +83,7 @@ export default async npmOptions => { } if (dependencies.length > 0) { - installDependencies(npmOptions, dependencies); + installDependencies({ ...npmOptions, installAsDevDependencies: false }, dependencies); } installDependencies(npmOptions, [...devDependencies, ...babelDependencies, '-D']); diff --git a/lib/cli/generators/MITHRIL/index.js b/lib/cli/generators/MITHRIL/index.js index eaea523d9a5..5a0efb94828 100644 --- a/lib/cli/generators/MITHRIL/index.js +++ b/lib/cli/generators/MITHRIL/index.js @@ -38,6 +38,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/POLYMER/index.js b/lib/cli/generators/POLYMER/index.js index 3c301683480..53758fc153c 100755 --- a/lib/cli/generators/POLYMER/index.js +++ b/lib/cli/generators/POLYMER/index.js @@ -37,5 +37,5 @@ export default async npmOptions => { const babelDependencies = await getBabelDependencies(npmOptions, packageJson); - installDependencies(npmOptions, [...devDependencies, ...babelDependencies, '-D']); + installDependencies(npmOptions, [...devDependencies, ...babelDependencies]); }; diff --git a/lib/cli/generators/PREACT/index.js b/lib/cli/generators/PREACT/index.js index e99ac297b24..7b66fedbf54 100644 --- a/lib/cli/generators/PREACT/index.js +++ b/lib/cli/generators/PREACT/index.js @@ -38,6 +38,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/REACT/index.js b/lib/cli/generators/REACT/index.js index ed87580dc78..8e856698246 100644 --- a/lib/cli/generators/REACT/index.js +++ b/lib/cli/generators/REACT/index.js @@ -38,6 +38,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/REACT_NATIVE/index.js b/lib/cli/generators/REACT_NATIVE/index.js index ab20f51ad76..6cd0128836a 100644 --- a/lib/cli/generators/REACT_NATIVE/index.js +++ b/lib/cli/generators/REACT_NATIVE/index.js @@ -79,6 +79,5 @@ export default async (npmOptions, installServer) => { installDependencies(npmOptions, [ ...devDependencies, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/REACT_SCRIPTS/index.js b/lib/cli/generators/REACT_SCRIPTS/index.js index 17e4fc14aba..d5716cb5488 100644 --- a/lib/cli/generators/REACT_SCRIPTS/index.js +++ b/lib/cli/generators/REACT_SCRIPTS/index.js @@ -49,6 +49,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/RIOT/index.js b/lib/cli/generators/RIOT/index.js index 67a4ade93e7..fcf5306edfe 100644 --- a/lib/cli/generators/RIOT/index.js +++ b/lib/cli/generators/RIOT/index.js @@ -51,5 +51,5 @@ export default async npmOptions => { const babelDependencies = await getBabelDependencies(npmOptions, packageJson); - installDependencies(npmOptions, [...dependencies, ...babelDependencies, '-D']); + installDependencies(npmOptions, [...dependencies, ...babelDependencies]); }; diff --git a/lib/cli/generators/SFC_VUE/index.js b/lib/cli/generators/SFC_VUE/index.js index e3167b767fa..9cfa6b9aeff 100644 --- a/lib/cli/generators/SFC_VUE/index.js +++ b/lib/cli/generators/SFC_VUE/index.js @@ -38,6 +38,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/SVELTE/index.js b/lib/cli/generators/SVELTE/index.js index 40b9d60ea70..e9a8e599f0d 100644 --- a/lib/cli/generators/SVELTE/index.js +++ b/lib/cli/generators/SVELTE/index.js @@ -49,6 +49,5 @@ export default async npmOptions => { `svelte@${svelte}`, `svelte-loader@${svelteLoader}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.js b/lib/cli/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.js index 77ae10f30c6..2e14e335c0f 100644 --- a/lib/cli/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.js +++ b/lib/cli/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.js @@ -46,7 +46,9 @@ async function updatePackageJson(npmOptions) { const babelDependencies = await getBabelDependencies(npmOptions, packageJson); - installDependencies(npmOptions, [...babelDependencies, '-D']); + if (babelDependencies.length > 0) { + installDependencies(npmOptions, babelDependencies); + } } function updateSourceCode(parser) { diff --git a/lib/cli/generators/VUE/index.js b/lib/cli/generators/VUE/index.js index d05b8c8a740..d567dfaf154 100644 --- a/lib/cli/generators/VUE/index.js +++ b/lib/cli/generators/VUE/index.js @@ -61,6 +61,5 @@ export default async npmOptions => { `@storybook/addons@${addonsVersion}`, `babel-preset-vue@${babelPresetVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/generators/WEBPACK_REACT/index.js b/lib/cli/generators/WEBPACK_REACT/index.js index 3e82ae8e7ac..c5098f24036 100644 --- a/lib/cli/generators/WEBPACK_REACT/index.js +++ b/lib/cli/generators/WEBPACK_REACT/index.js @@ -38,6 +38,5 @@ export default async npmOptions => { `@storybook/addon-links@${linksVersion}`, `@storybook/addons@${addonsVersion}`, ...babelDependencies, - '-D', ]); }; diff --git a/lib/cli/lib/helpers.js b/lib/cli/lib/helpers.js index f0b2f38e03e..2cffc0c502c 100644 --- a/lib/cli/lib/helpers.js +++ b/lib/cli/lib/helpers.js @@ -200,22 +200,27 @@ export function installDepsFromPackageJson(options) { /** * Add dependencies to a project using `yarn add` or `npm install`. * - * @param {Object} npmOptions contains `useYarn` which we use to determine how we install packages. - * @param {Array} dependencies contains a list of packages to add. if you're trying to install dev dependencies you can append `'-D'` to the array. + * @param {Object} npmOptions contains `useYarn` and `installAsDevDependencies` which we use to determine how we install packages. + * @param {Array} dependencies contains a list of packages to add. * @example * installDependencies(npmOptions, [ * `@storybook/react@${storybookVersion}`, * `@storybook/addon-actions@${actionsVersion}`, * `@storybook/addon-links@${linksVersion}`, * `@storybook/addons@${addonsVersion}`, - * '-D', * ]); */ export function installDependencies(npmOptions, dependencies) { const spawnCommand = npmOptions.useYarn ? 'yarn' : 'npm'; const installCommand = npmOptions.useYarn ? 'add' : 'install'; - const dependencyResult = spawnSync(spawnCommand, [installCommand, ...dependencies], { + const installArgs = [installCommand, ...dependencies]; + + if (npmOptions.installAsDevDependencies) { + installArgs.push('-D'); + } + + const dependencyResult = spawnSync(spawnCommand, installArgs, { stdio: 'inherit', }); @@ -236,7 +241,6 @@ export function installDependencies(npmOptions, dependencies) { * installDependencies(npmOptions, [ * `@storybook/react@${storybookVersion}`, * ...babelDependencies, - * '-D', * ]); */ export async function getBabelDependencies(npmOptions, packageJson) { diff --git a/lib/cli/lib/initiate.js b/lib/cli/lib/initiate.js index 2035cc35a3c..9f5d2e47351 100644 --- a/lib/cli/lib/initiate.js +++ b/lib/cli/lib/initiate.js @@ -36,6 +36,7 @@ const installStorybook = (projectType, options) => { const npmOptions = { useYarn, + installAsDevDependencies: true, }; const runStorybookCommand = useYarn ? 'yarn storybook' : 'npm run storybook'; From 088c64cdaa2008148812f9a9d50b4d4864dd2c61 Mon Sep 17 00:00:00 2001 From: Mikael Carpenter Date: Tue, 30 Apr 2019 17:01:14 -0700 Subject: [PATCH 38/59] Remove use of '-D' that I missed --- lib/cli/generators/METEOR/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/generators/METEOR/index.js b/lib/cli/generators/METEOR/index.js index 11d08617c0e..7502370076b 100644 --- a/lib/cli/generators/METEOR/index.js +++ b/lib/cli/generators/METEOR/index.js @@ -86,5 +86,5 @@ export default async npmOptions => { installDependencies({ ...npmOptions, installAsDevDependencies: false }, dependencies); } - installDependencies(npmOptions, [...devDependencies, ...babelDependencies, '-D']); + installDependencies(npmOptions, [...devDependencies, ...babelDependencies]); }; From 12cbc18f8df705d026c16229b19b43aa6de2b8fd Mon Sep 17 00:00:00 2001 From: kohakukun Date: Wed, 1 May 2019 02:33:48 +0200 Subject: [PATCH 39/59] fix: Preserve dimensions on resizing for panel - Update resizer position when changing the boundaries of the container for the addon panel and preview --- lib/ui/src/components/layout/container.js | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/ui/src/components/layout/container.js b/lib/ui/src/components/layout/container.js index 7f39d8a3d26..d053f03ca83 100644 --- a/lib/ui/src/components/layout/container.js +++ b/lib/ui/src/components/layout/container.js @@ -1,3 +1,5 @@ +/* eslint-disable react/no-did-update-set-state */ + import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { styled, withTheme } from '@storybook/theming'; @@ -285,13 +287,35 @@ class Layout extends Component { }; } - componentDidUpdate() { + componentDidUpdate(prevProps, prevState) { const { resizerPanel, resizerNav } = this.state; persistance.set({ resizerPanel, resizerNav, }); + const { width: prevWidth, height: prevHeight } = prevProps.bounds; + const { bounds, options } = this.props; + const { width, height } = bounds; + if (width !== prevWidth || height !== prevHeight) { + const { panelPosition } = options; + const isPanelBottom = panelPosition === 'bottom'; + if (isPanelBottom) { + this.setState({ + resizerPanel: { + x: prevState.resizerPanel.x, + y: prevState.resizerPanel.y - (prevHeight - height), + }, + }); + } else { + this.setState({ + resizerPanel: { + x: prevState.resizerPanel.x - (prevWidth - width), + y: prevState.resizerPanel.y, + }, + }); + } + } } static getDerivedStateFromProps(props, state) { From dd10e582b1e228ec07538ba16f366b9914e92134 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 1 May 2019 18:48:36 +0800 Subject: [PATCH 40/59] 5.1.0-alpha.37 changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e4e2ff944..90031b98731 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 5.1.0-alpha.37 (May 1, 2019) + +### Bug Fixes + +* Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688)) +* Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669)) +* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) + +### Maintenance + +* CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695)) + ## 5.0.11 (April 28, 2019) ### Bug Fixes From ccc1d429482cd1f59af42eb60efec3fd5573bce1 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 1 May 2019 18:57:23 +0800 Subject: [PATCH 41/59] v5.1.0-alpha.37 --- addons/a11y/package.json | 14 ++--- addons/actions/package.json | 12 ++-- addons/backgrounds/package.json | 14 ++--- addons/centered/package.json | 2 +- addons/contexts/package.json | 10 ++-- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 12 ++-- addons/knobs/package.json | 12 ++-- addons/links/package.json | 8 +-- addons/notes/package.json | 16 +++--- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 6 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++-- app/angular/package.json | 6 +- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native-server/package.json | 14 ++--- app/react-native/package.json | 12 ++-- app/react/package.json | 6 +- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- .../crna-kitchen-sink/package.json | 14 ++--- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 34 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++-- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------ examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 50 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 28 +++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 28 +++++----- lerna.json | 2 +- lib/addons/package.json | 8 +-- lib/api/package.json | 12 ++-- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 56 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 6 +- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 16 +++--- 66 files changed, 392 insertions(+), 392 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 9ada1df7c55..50386cae88e 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "axe-core": "^3.2.2", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/addons/actions/package.json b/addons/actions/package.json index 1574b2e678d..3475c29e76d 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index eb229b67592..55af4f581f3 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "memoizerific": "^1.11.3", "react": "^16.8.4", diff --git a/addons/centered/package.json b/addons/centered/package.json index 8d95f669f2d..9c4fd747ab0 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/contexts/package.json b/addons/contexts/package.json index 3b2ee1b40ef..ea97d8f372b 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-contexts", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook Addon Contexts", "keywords": [ "storybook", @@ -28,10 +28,10 @@ "dev:check-types": "tsc --noEmit" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36" + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37" }, "peerDependencies": { "global": "*", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index e60451d47e4..6cc7f8f5d77 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4" diff --git a/addons/events/package.json b/addons/events/package.json index 86b0ff43992..fde913a362a 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -24,9 +24,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "format-json": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index f4b950dbdbf..5e12e6325bb 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "react-ga": "^2.5.7" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index e83bccd6403..43a2d217734 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index 0b2615f8091..f7a00440a18 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "marksy": "^7.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 1da5390f4cc..99f0f8a7f63 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index e312472f610..3bb7c87d2e6 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/client-api": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/client-api": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.5", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 6191431d9b7..2fa4b87705b 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -22,9 +22,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index fbfc9e2fea1..0796f29964f 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index e6188958b50..5fa6fac4bc8 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", "core-js": "^2.6.5", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 1e5c845fcc1..f4723596557 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", "core-js": "^2.6.5", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 241e1dca0b0..f5a683b171b 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", "core-js": "^2.6.5", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 0f0f7724db1..c97b0e73f82 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Options addon for storybook", "keywords": [ "addon", @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", "core-js": "^2.6.5", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index eacfb03c7b7..91aa576342f 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", "core-js": "^2.6.5", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 1586a6e8378..e15b7360c9d 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", + "@storybook/node-logger": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", "core-js": "^2.6.5", "jest-image-snapshot": "^2.8.1", "puppeteer": "^1.12.2", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 1e717f827b8..0c0e287eec6 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "estraverse": "^4.2.0", "loader-utils": "^1.2.3", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index c21ed26ffeb..eca3999239f 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index c46be97d34e..2aa38b29dff 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,8 +26,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", - "@storybook/node-logger": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", + "@storybook/node-logger": "5.1.0-alpha.37", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.5", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 128182a94ab..cf1011a575e 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -24,7 +24,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.5.0", - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 50cf24fc5ca..e1429aa14e2 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index d3700b714db..10b58309a2c 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 1761d39306e..0942c861103 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index bf1c40746e2..9c90a044094 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/app/preact/package.json b/app/preact/package.json index d7f35f5321f..2a1334aaaf1 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 2effbb5c3fd..6e08345dfee 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native-server", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/channel-websocket": "5.1.0-alpha.36", - "@storybook/core": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/ui": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/channel-websocket": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/ui": "5.1.0-alpha.37", "commander": "^2.19.0", "global": "^4.3.2", "react": "^16.6.0", diff --git a/app/react-native/package.json b/app/react-native/package.json index c0f4ecd9fa4..a109df60875 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/channel-websocket": "5.1.0-alpha.36", - "@storybook/channels": "5.1.0-alpha.36", - "@storybook/client-api": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/channel-websocket": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.37", + "@storybook/client-api": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", "react-native-swipe-gestures": "^1.0.3", "rn-host-detect": "^1.1.5" }, diff --git a/app/react/package.json b/app/react/package.json index 15b8c14dcff..a9796e665c0 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -29,8 +29,8 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.1.0-alpha.36", - "@storybook/node-logger": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", + "@storybook/node-logger": "5.1.0-alpha.37", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", diff --git a/app/riot/package.json b/app/riot/package.json index 8c66a84be02..fadddb08636 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 5cf9ef97bcd..a427caa7535 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index b5ea86f5068..e868f92ef5d 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.36", + "@storybook/core": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index 3938217e2e2..c0ae8025909 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -24,12 +24,12 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-ondevice-knobs": "5.1.0-alpha.36", - "@storybook/addon-ondevice-notes": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/react-native": "5.1.0-alpha.36", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-ondevice-knobs": "5.1.0-alpha.37", + "@storybook/addon-ondevice-notes": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/react-native": "5.1.0-alpha.37", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 5a9e9fca5aa..fdd17cf6fd6 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "license": "MIT", "scripts": { @@ -34,18 +34,18 @@ "@angular-devkit/build-angular": "^0.13.4", "@angular/cli": "^7.3.6", "@angular/compiler-cli": "^7.2.6", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-jest": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/angular": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-jest": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/angular": "5.1.0-alpha.37", "@types/core-js": "^2.5.0", "@types/jest": "^24.0.11", "@types/node": "~11.13.4", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index b3a77c695ac..0ee9754d30a 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build": "react-scripts build", @@ -19,22 +19,22 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.36", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-events": "5.1.0-alpha.36", - "@storybook/addon-info": "5.1.0-alpha.36", - "@storybook/addon-jest": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/react": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addon-a11y": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-events": "5.1.0-alpha.37", + "@storybook/addon-info": "5.1.0-alpha.37", + "@storybook/addon-jest": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/react": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "react-scripts": "^2.1.8" } } diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 0fd95cea681..711ef8db209 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -14,11 +14,11 @@ "react-dom": "^16.8.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-info": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/react": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-info": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/react": "5.1.0-alpha.37", "@types/enzyme": "^3.9.0", "@types/react": "^16.8.4", "@types/react-dom": "^16.8.2", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 94e092c65d9..68e8564b82c 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.0-alpha.36", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/ember": "5.1.0-alpha.36", + "@storybook/addon-a11y": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/ember": "5.1.0-alpha.37", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 819f0f98b1b..0fe7c8d00b6 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "description": "", "keywords": [], @@ -14,23 +14,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.36", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-events": "5.1.0-alpha.36", - "@storybook/addon-jest": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/core": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/html": "5.1.0-alpha.36", + "@storybook/addon-a11y": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-events": "5.1.0-alpha.37", + "@storybook/addon-jest": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/html": "5.1.0-alpha.37", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index ade3031eddb..cdc4bf8dbe4 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -24,12 +24,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/marko": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/marko": "5.1.0-alpha.37", "prettier": "^1.16.4", "webpack": "^4.28.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index a2a7c2cd92b..c0a86f44f7a 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,18 +11,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/mithril": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/mithril": "5.1.0-alpha.37", "webpack": "^4.28.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 278bcaac053..c741a36e3b2 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -13,30 +13,30 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.36", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-contexts": "5.1.0-alpha.36", - "@storybook/addon-cssresources": "5.1.0-alpha.36", - "@storybook/addon-events": "5.1.0-alpha.36", - "@storybook/addon-graphql": "5.1.0-alpha.36", - "@storybook/addon-info": "5.1.0-alpha.36", - "@storybook/addon-jest": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/node-logger": "5.1.0-alpha.36", - "@storybook/react": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addon-a11y": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-contexts": "5.1.0-alpha.37", + "@storybook/addon-cssresources": "5.1.0-alpha.37", + "@storybook/addon-events": "5.1.0-alpha.37", + "@storybook/addon-graphql": "5.1.0-alpha.37", + "@storybook/addon-info": "5.1.0-alpha.37", + "@storybook/addon-jest": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/node-logger": "5.1.0-alpha.37", + "@storybook/react": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 64137b1e6a8..af9d8487917 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,15 +10,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/polymer": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/polymer": "5.1.0-alpha.37", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index f6d5ef85d22..8122915ca76 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,19 +16,19 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-contexts": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/preact": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-contexts": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/preact": "5.1.0-alpha.37", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index dc1a0558607..57c826aaf04 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,18 +16,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/riot": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/riot": "5.1.0-alpha.37", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 065a0bfa9ef..08540daaf0f 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -11,17 +11,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/svelte": "5.1.0-alpha.36" + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/svelte": "5.1.0-alpha.37" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 63b91c97d9a..14818c33b34 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,19 +15,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-backgrounds": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-contexts": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addon-storysource": "5.1.0-alpha.36", - "@storybook/addon-viewport": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/vue": "5.1.0-alpha.36", + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-backgrounds": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-contexts": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addon-storysource": "5.1.0-alpha.37", + "@storybook/addon-viewport": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/vue": "5.1.0-alpha.37", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 0412985c469..e7c94334786 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.1.0-alpha.36" + "version": "5.1.0-alpha.37" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 8bd3c3c2f81..b41f622db02 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook addons store", "keywords": [ "storybook" @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "5.1.0-alpha.36", - "@storybook/channels": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "util-deprecate": "^1.0.2" diff --git a/lib/api/package.json b/lib/api/package.json index 029e89c9ee8..54db7626202 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/channels": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 9222960ddb5..2c569c121aa 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", + "@storybook/channels": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "telejson": "^2.1.1" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 5b01a372b01..038a1119a0d 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.36", + "@storybook/channels": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "json-fn": "^1.1.1" diff --git a/lib/channels/package.json b/lib/channels/package.json index ffdcfb9cbc8..77a82f57be9 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index cd275cbcbd6..7c1316e7617 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -30,7 +30,7 @@ "@babel/core": "^7.3.4", "@babel/preset-env": "^7.4.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.1.0-alpha.36", + "@storybook/codemod": "5.1.0-alpha.37", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.5", @@ -44,32 +44,32 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.36", - "@storybook/addon-centered": "5.1.0-alpha.36", - "@storybook/addon-graphql": "5.1.0-alpha.36", - "@storybook/addon-info": "5.1.0-alpha.36", - "@storybook/addon-knobs": "5.1.0-alpha.36", - "@storybook/addon-links": "5.1.0-alpha.36", - "@storybook/addon-notes": "5.1.0-alpha.36", - "@storybook/addon-options": "5.1.0-alpha.36", - "@storybook/addon-storyshots": "5.1.0-alpha.36", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/angular": "5.1.0-alpha.36", - "@storybook/channel-postmessage": "5.1.0-alpha.36", - "@storybook/channel-websocket": "5.1.0-alpha.36", - "@storybook/channels": "5.1.0-alpha.36", - "@storybook/ember": "5.1.0-alpha.36", - "@storybook/html": "5.1.0-alpha.36", - "@storybook/marko": "5.1.0-alpha.36", - "@storybook/mithril": "5.1.0-alpha.36", - "@storybook/polymer": "5.1.0-alpha.36", - "@storybook/preact": "5.1.0-alpha.36", - "@storybook/react": "5.1.0-alpha.36", - "@storybook/react-native": "5.1.0-alpha.36", - "@storybook/riot": "5.1.0-alpha.36", - "@storybook/svelte": "5.1.0-alpha.36", - "@storybook/ui": "5.1.0-alpha.36", - "@storybook/vue": "5.1.0-alpha.36" + "@storybook/addon-actions": "5.1.0-alpha.37", + "@storybook/addon-centered": "5.1.0-alpha.37", + "@storybook/addon-graphql": "5.1.0-alpha.37", + "@storybook/addon-info": "5.1.0-alpha.37", + "@storybook/addon-knobs": "5.1.0-alpha.37", + "@storybook/addon-links": "5.1.0-alpha.37", + "@storybook/addon-notes": "5.1.0-alpha.37", + "@storybook/addon-options": "5.1.0-alpha.37", + "@storybook/addon-storyshots": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/angular": "5.1.0-alpha.37", + "@storybook/channel-postmessage": "5.1.0-alpha.37", + "@storybook/channel-websocket": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.37", + "@storybook/ember": "5.1.0-alpha.37", + "@storybook/html": "5.1.0-alpha.37", + "@storybook/marko": "5.1.0-alpha.37", + "@storybook/mithril": "5.1.0-alpha.37", + "@storybook/polymer": "5.1.0-alpha.37", + "@storybook/preact": "5.1.0-alpha.37", + "@storybook/react": "5.1.0-alpha.37", + "@storybook/react-native": "5.1.0-alpha.37", + "@storybook/riot": "5.1.0-alpha.37", + "@storybook/svelte": "5.1.0-alpha.37", + "@storybook/ui": "5.1.0-alpha.37", + "@storybook/vue": "5.1.0-alpha.37" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 30ecd5f8122..344b32e25dd 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook Client API", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "eventemitter3": "^3.1.0", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 76c952bfb0b..33dd6fdd804 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index a3a20f83047..6ff723029a8 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index a2661fd7731..d81783cefbf 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index b2b3268ca5c..3d79cb4972f 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 962a25a42b9..a3a3519bb68 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -25,15 +25,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.4.1", - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/channel-postmessage": "5.1.0-alpha.36", - "@storybook/client-api": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/node-logger": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", - "@storybook/ui": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/channel-postmessage": "5.1.0-alpha.37", + "@storybook/client-api": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/node-logger": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", + "@storybook/ui": "5.1.0-alpha.37", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 0d9fa30bd6a..ac0f58239b6 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 086803d016b..6300651f8df 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -22,7 +22,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/lib/theming/package.json b/lib/theming/package.json index 22517bc5713..48cf0e928bd 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "dependencies": { "@emotion/core": "^10.0.9", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.1.0-alpha.36", + "@storybook/client-logger": "5.1.0-alpha.37", "common-tags": "^1.8.0", "core-js": "^2.6.5", "deep-object-diff": "^1.1.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index 1d331be19c8..ab953f30fbd 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.1.0-alpha.36", + "version": "5.1.0-alpha.37", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -22,13 +22,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.36", - "@storybook/api": "5.1.0-alpha.36", - "@storybook/client-logger": "5.1.0-alpha.36", - "@storybook/components": "5.1.0-alpha.36", - "@storybook/core-events": "5.1.0-alpha.36", - "@storybook/router": "5.1.0-alpha.36", - "@storybook/theming": "5.1.0-alpha.36", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/components": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/router": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.37", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.4.4", From 554901ffff07f6a3161013b880acdcb212ec9bbd Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 1 May 2019 19:05:19 +0800 Subject: [PATCH 42/59] Update version.ts --- lib/api/src/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index fddbc7e33da..a8ce9d89a43 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.1.0-alpha.36'; +export const version = '5.1.0-alpha.37'; From 7548eae6a6f16eb8130a9f45e2c17fb0821ee18a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 1 May 2019 19:07:59 +0800 Subject: [PATCH 43/59] 5.1.0-alpha.37 next.json version file --- docs/src/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/versions/next.json b/docs/src/versions/next.json index a76a37081e1..db1a46ce05a 100644 --- a/docs/src/versions/next.json +++ b/docs/src/versions/next.json @@ -1 +1 @@ -{"version":"5.1.0-alpha.36","info":{"plain":"### Features\n\n* Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660))\n* Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346))\n\n### Bug Fixes\n\n* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))\n\n### Dependency Upgrades\n\n* [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647))"}} \ No newline at end of file +{"version":"5.1.0-alpha.37","info":{"plain":"### Bug Fixes\n\n* Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688))\n* Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669))\n* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))\n\n### Maintenance\n\n* CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695))"}} \ No newline at end of file From 10773ea7258e329b67ca685ff7a9b7fed0871100 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 1 May 2019 17:52:55 -0400 Subject: [PATCH 44/59] Revert "timer in descendant to validate they continue updating when Consumer is pure" This reverts commit 7b2539a7f4dd74e6f383f561302636878a3165fa. --- .../client/manager/components/PreviewHelp.js | 80 +++++++------------ .../src/client/manager/provider.js | 2 +- 2 files changed, 31 insertions(+), 51 deletions(-) diff --git a/app/react-native-server/src/client/manager/components/PreviewHelp.js b/app/react-native-server/src/client/manager/components/PreviewHelp.js index b961f118d3b..7e0112125a1 100644 --- a/app/react-native-server/src/client/manager/components/PreviewHelp.js +++ b/app/react-native-server/src/client/manager/components/PreviewHelp.js @@ -25,54 +25,34 @@ const styles = { }, }; -export class PreviewHelp extends React.Component { - state = { - elapsed: 0, - }; +const PreviewHelp = () => ( +
+

Welcome to storybook

+

This is a UI component dev environment for your app.

+

+ We've added some basic stories inside the {storybook/stories}{' '} + directory. A story is a single state of one or more UI components. You can have as many + stories as you want. Basically a story is like a visual test case. +

+

+ To see your Storybook stories on the device, you should start your mobile app for the{' '} + <platform> of your choice (typically ios or android). + (Note that due to an implementation detail, your stories will only show up in the left-pane + after your device has connected to this storybook server.) +

+

+ For create-react-native-app apps: +

+
+
npm run <platform>
+
+

+ For react-native init apps: +

+
+
react-native run-<platform>
+
+
+); - componentDidMount() { - this.timer = setInterval(() => { - const { elapsed } = this.state; - this.setState({ elapsed: elapsed + 1 }); - }, 1000); - } - - componentWillUnmount() { - clearInterval(this.timer); - } - - render() { - const { elapsed } = this.state; - return ( -
-

Welcome to storybook

-

elapsed: {elapsed}

-

This is a UI component dev environment for your app.

-

- We've added some basic stories inside the{' '} - {storybook/stories} directory. A story is a single state - of one or more UI components. You can have as many stories as you want. Basically a story - is like a visual test case. -

-

- To see your Storybook stories on the device, you should start your mobile app for the{' '} - <platform> of your choice (typically ios or - android). (Note that due to an implementation detail, your stories will only show up in - the left-pane after your device has connected to this storybook server.) -

-

- For create-react-native-app apps: -

-
-
npm run <platform>
-
-

- For react-native init apps: -

-
-
react-native run-<platform>
-
-
- ); - } -} +export { PreviewHelp as default }; diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index d2105286252..eff36886789 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -5,7 +5,7 @@ import createChannel from '@storybook/channel-websocket'; import addons from '@storybook/addons'; import Events from '@storybook/core-events'; import uuid from 'uuid'; -import { PreviewHelp } from './components/PreviewHelp'; +import PreviewHelp from './components/PreviewHelp'; const mapper = ({ state, api }) => ({ api, From 44156f53ab33327f49ed93aaa54bc3eb03d267db Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 1 May 2019 17:58:02 -0400 Subject: [PATCH 45/59] rm usage of onStory --- app/react-native-server/src/client/manager/provider.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index eff36886789..ab6b2de3944 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -61,8 +61,7 @@ export default class ReactProvider extends Provider { handleAPI(api) { addons.loadAddons(api); - - api.onStory(() => { + api.on(Events.STORY_CHANGED, () => { api.emit(Events.SET_CURRENT_STORY, this.selection); }); api.on(Events.GET_CURRENT_STORY, () => { From 2d947be435d3cca38ea963a4dd59f45bd6a45aca Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 1 May 2019 18:22:43 -0400 Subject: [PATCH 46/59] update version to .37 --- addons/ondevice-actions/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 28185bcc149..8f981067d04 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.1.0-alpha.35", - "description": "Action Logger addon for storybook", + "version": "5.1.0-alpha.37", + "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" ], @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.35", - "@storybook/core-events": "5.1.0-alpha.35", + "@storybook/addons": "5.1.0-alpha.37", + "@storybook/core-events": "5.1.0-alpha.37", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.35" + "@storybook/addon-actions": "5.1.0-alpha.37" }, "peerDependencies": { "@storybook/addon-actions": "*", From 3990ba725c5bd0e7cd8fa1fcb3062c1669e742b1 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Wed, 1 May 2019 21:35:28 -0400 Subject: [PATCH 47/59] fix lint error --- lib/api/src/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/src/index.tsx b/lib/api/src/index.tsx index 2306e4ebc68..aa02b3f272a 100644 --- a/lib/api/src/index.tsx +++ b/lib/api/src/index.tsx @@ -241,14 +241,14 @@ class ManagerConsumer extends Component> { prevData?: SubState; render() { - const { children } = this.props; + const { children, pure } = this.props; return ( {d => { const data = this.dataMemory ? this.dataMemory(d) : d; if ( - this.props.pure && + pure && this.prevChildren && this.prevData && shallowEqualObjects(data, this.prevData) From e38b4e9cf2e6edcaa3562f46426f775d929e5111 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 12:21:58 +0800 Subject: [PATCH 48/59] 5.1.0-alpha.38 changelog --- CHANGELOG.md | 55 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90031b98731..cff59f51243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,25 @@ +## 5.1.0-alpha.38 (May 2, 2019) + +### Features + +- React-native: Ondevice actions ([#6594](https://github.com/storybooks/storybook/pull/6594)) +- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybooks/storybook/pull/6603)) + +### Bug Fixes + +- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412)) + ## 5.1.0-alpha.37 (May 1, 2019) ### Bug Fixes -* Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688)) -* Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669)) -* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) +- Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688)) +- Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669)) +- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) ### Maintenance -* CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695)) +- CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695)) ## 5.0.11 (April 28, 2019) @@ -26,44 +37,44 @@ ### Features -* Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660)) -* Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346)) +- Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660)) +- Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346)) ### Bug Fixes -* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) +- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) ### Dependency Upgrades -* [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647)) +- [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647)) ## 5.1.0-alpha.35 (April 27, 2019) ### Features -* Addon-notes: use @storybook/router to render links in notes ([#6398](https://github.com/storybooks/storybook/pull/6398)) -* Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybooks/storybook/pull/6484)) -* Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybooks/storybook/pull/6632)) -* Addon-a11y: Design enhancements ([#6563](https://github.com/storybooks/storybook/pull/6563)) +- Addon-notes: use @storybook/router to render links in notes ([#6398](https://github.com/storybooks/storybook/pull/6398)) +- Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybooks/storybook/pull/6484)) +- Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybooks/storybook/pull/6632)) +- Addon-a11y: Design enhancements ([#6563](https://github.com/storybooks/storybook/pull/6563)) ### Bug Fixes -* UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybooks/storybook/pull/6241)) -* Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybooks/storybook/pull/6650)) -* Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybooks/storybook/pull/6607)) -* UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybooks/storybook/pull/6578)) +- UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybooks/storybook/pull/6241)) +- Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybooks/storybook/pull/6650)) +- Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybooks/storybook/pull/6607)) +- UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybooks/storybook/pull/6578)) ### Maintenance -* UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353)) -* Build: tslint, and use eslint for everything ([#6621](https://github.com/storybooks/storybook/pull/6621)) -* Build: deploy to local registry ([#6619](https://github.com/storybooks/storybook/pull/6619)) +- UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353)) +- Build: tslint, and use eslint for everything ([#6621](https://github.com/storybooks/storybook/pull/6621)) +- Build: deploy to local registry ([#6619](https://github.com/storybooks/storybook/pull/6619)) ### Dependency Upgrades -* Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybooks/storybook/pull/6585)) -* Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybooks/storybook/pull/6580)) -* Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybooks/storybook/pull/6583)) +- Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybooks/storybook/pull/6585)) +- Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybooks/storybook/pull/6580)) +- Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybooks/storybook/pull/6583)) ## 5.1.0-alpha.34 (April 24, 2019) From a7184419238f2478558d1812376ab5099785cfab Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 12:29:56 +0800 Subject: [PATCH 49/59] v5.1.0-alpha.38 --- addons/a11y/package.json | 14 ++--- addons/actions/package.json | 12 ++-- addons/backgrounds/package.json | 14 ++--- addons/centered/package.json | 2 +- addons/contexts/package.json | 10 ++-- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 12 ++-- addons/knobs/package.json | 12 ++-- addons/links/package.json | 8 +-- addons/notes/package.json | 16 +++--- addons/ondevice-actions/package.json | 8 +-- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 6 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++-- app/angular/package.json | 6 +- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native-server/package.json | 14 ++--- app/react-native/package.json | 16 +++--- app/react/package.json | 6 +- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- .../crna-kitchen-sink/package.json | 18 +++--- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 34 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++-- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------ examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 50 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 28 +++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 28 +++++----- lerna.json | 2 +- lib/addons/package.json | 8 +-- lib/api/package.json | 14 ++--- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 56 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 6 +- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 16 +++--- 67 files changed, 401 insertions(+), 401 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 50386cae88e..567fef696d4 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "axe-core": "^3.2.2", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/addons/actions/package.json b/addons/actions/package.json index 3475c29e76d..56a60d0dd99 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 55af4f581f3..ecec2456168 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "memoizerific": "^1.11.3", "react": "^16.8.4", diff --git a/addons/centered/package.json b/addons/centered/package.json index 9c4fd747ab0..7d77734ddb9 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/contexts/package.json b/addons/contexts/package.json index ea97d8f372b..d1860835081 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-contexts", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook Addon Contexts", "keywords": [ "storybook", @@ -28,10 +28,10 @@ "dev:check-types": "tsc --noEmit" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37" + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38" }, "peerDependencies": { "global": "*", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 6cc7f8f5d77..ce0a9d05eeb 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4" diff --git a/addons/events/package.json b/addons/events/package.json index fde913a362a..824abe3a7f7 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -24,9 +24,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "format-json": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 5e12e6325bb..22edfdb0068 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "react-ga": "^2.5.7" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 43a2d217734..9f12eb8d3c7 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index f7a00440a18..a56df4c593e 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "marksy": "^7.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 99f0f8a7f63..2b1858e9792 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 3bb7c87d2e6..cd52a09ecd3 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/client-api": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/client-api": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.5", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 2fa4b87705b..7e7a5dc549d 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -22,9 +22,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 0796f29964f..70855ceb6cf 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 8f981067d04..aedd50789e1 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37" + "@storybook/addon-actions": "5.1.0-alpha.38" }, "peerDependencies": { "@storybook/addon-actions": "*", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 5fa6fac4bc8..0600aabd82c 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", "core-js": "^2.6.5", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index f4723596557..ad3a58fe8f8 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", "core-js": "^2.6.5", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index f5a683b171b..4b93dcd4ff3 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", "core-js": "^2.6.5", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index c97b0e73f82..30cd0f86315 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Options addon for storybook", "keywords": [ "addon", @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", "core-js": "^2.6.5", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 91aa576342f..257c331f041 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", "core-js": "^2.6.5", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index e15b7360c9d..aff0654be01 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", + "@storybook/node-logger": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", "core-js": "^2.6.5", "jest-image-snapshot": "^2.8.1", "puppeteer": "^1.12.2", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 0c0e287eec6..19f347ac80f 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "estraverse": "^4.2.0", "loader-utils": "^1.2.3", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index eca3999239f..1568693eb85 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index 2aa38b29dff..ff538ef88e0 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,8 +26,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", - "@storybook/node-logger": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", + "@storybook/node-logger": "5.1.0-alpha.38", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.5", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index cf1011a575e..76e7fef46ae 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -24,7 +24,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.5.0", - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index e1429aa14e2..22481410ee0 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index 10b58309a2c..f20f66c21e1 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 0942c861103..eb8fbdde25e 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 9c90a044094..46f5ba96102 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/app/preact/package.json b/app/preact/package.json index 2a1334aaaf1..e5e698b38f5 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 6e08345dfee..c2412167b74 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native-server", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/channel-websocket": "5.1.0-alpha.37", - "@storybook/core": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/ui": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/channel-websocket": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/ui": "5.1.0-alpha.38", "commander": "^2.19.0", "global": "^4.3.2", "react": "^16.6.0", diff --git a/app/react-native/package.json b/app/react-native/package.json index 2df031c7693..ff21fb99825 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -22,14 +22,14 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/channel-websocket": "5.1.0-alpha.37", - "@storybook/channels": "5.1.0-alpha.37", - "@storybook/client-api": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", + "@emotion/native": "^10.0.10", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/channel-websocket": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.38", + "@storybook/client-api": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", "react-native-swipe-gestures": "^1.0.3", - "rn-host-detect": "^1.1.5", - "@emotion/native": "^10.0.10" + "rn-host-detect": "^1.1.5" }, "devDependencies": { "@types/react-native": "^0.57.42", diff --git a/app/react/package.json b/app/react/package.json index a9796e665c0..0d9ee5af79c 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -29,8 +29,8 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.1.0-alpha.37", - "@storybook/node-logger": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", + "@storybook/node-logger": "5.1.0-alpha.38", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", diff --git a/app/riot/package.json b/app/riot/package.json index fadddb08636..6928ef19ec7 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index a427caa7535..387ea7edf66 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index e868f92ef5d..f2cecbe953e 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.37", + "@storybook/core": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index f376401ab9a..20c8e2cf7d7 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -24,14 +24,14 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-ondevice-actions": "5.1.0-alpha.37", - "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-ondevice-knobs": "5.1.0-alpha.37", - "@storybook/addon-ondevice-notes": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/react-native": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-ondevice-actions": "5.1.0-alpha.38", + "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-ondevice-knobs": "5.1.0-alpha.38", + "@storybook/addon-ondevice-notes": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/react-native": "5.1.0-alpha.38", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index fdd17cf6fd6..0dd6ff63718 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "license": "MIT", "scripts": { @@ -34,18 +34,18 @@ "@angular-devkit/build-angular": "^0.13.4", "@angular/cli": "^7.3.6", "@angular/compiler-cli": "^7.2.6", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-jest": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/angular": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-jest": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/angular": "5.1.0-alpha.38", "@types/core-js": "^2.5.0", "@types/jest": "^24.0.11", "@types/node": "~11.13.4", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 0ee9754d30a..b3e6da4c23d 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build": "react-scripts build", @@ -19,22 +19,22 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.37", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-events": "5.1.0-alpha.37", - "@storybook/addon-info": "5.1.0-alpha.37", - "@storybook/addon-jest": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/react": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addon-a11y": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-events": "5.1.0-alpha.38", + "@storybook/addon-info": "5.1.0-alpha.38", + "@storybook/addon-jest": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/react": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "react-scripts": "^2.1.8" } } diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 711ef8db209..a95f505bf9e 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -14,11 +14,11 @@ "react-dom": "^16.8.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-info": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/react": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-info": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/react": "5.1.0-alpha.38", "@types/enzyme": "^3.9.0", "@types/react": "^16.8.4", "@types/react-dom": "^16.8.2", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 68e8564b82c..425d53c47c6 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.0-alpha.37", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/ember": "5.1.0-alpha.37", + "@storybook/addon-a11y": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/ember": "5.1.0-alpha.38", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 0fe7c8d00b6..028afbeae25 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "description": "", "keywords": [], @@ -14,23 +14,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.37", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-events": "5.1.0-alpha.37", - "@storybook/addon-jest": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/core": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/html": "5.1.0-alpha.37", + "@storybook/addon-a11y": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-events": "5.1.0-alpha.38", + "@storybook/addon-jest": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/html": "5.1.0-alpha.38", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index cdc4bf8dbe4..6efed52536c 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -24,12 +24,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/marko": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/marko": "5.1.0-alpha.38", "prettier": "^1.16.4", "webpack": "^4.28.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index c0a86f44f7a..530fa279576 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,18 +11,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/mithril": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/mithril": "5.1.0-alpha.38", "webpack": "^4.28.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index c741a36e3b2..e4b3b848810 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -13,30 +13,30 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.37", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-contexts": "5.1.0-alpha.37", - "@storybook/addon-cssresources": "5.1.0-alpha.37", - "@storybook/addon-events": "5.1.0-alpha.37", - "@storybook/addon-graphql": "5.1.0-alpha.37", - "@storybook/addon-info": "5.1.0-alpha.37", - "@storybook/addon-jest": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/node-logger": "5.1.0-alpha.37", - "@storybook/react": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addon-a11y": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-contexts": "5.1.0-alpha.38", + "@storybook/addon-cssresources": "5.1.0-alpha.38", + "@storybook/addon-events": "5.1.0-alpha.38", + "@storybook/addon-graphql": "5.1.0-alpha.38", + "@storybook/addon-info": "5.1.0-alpha.38", + "@storybook/addon-jest": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/node-logger": "5.1.0-alpha.38", + "@storybook/react": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index af9d8487917..979dd8a6fb2 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,15 +10,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/polymer": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/polymer": "5.1.0-alpha.38", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 8122915ca76..b60ebb0a6c6 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,19 +16,19 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-contexts": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/preact": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-contexts": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/preact": "5.1.0-alpha.38", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 57c826aaf04..7225fe4ebd4 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,18 +16,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/riot": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/riot": "5.1.0-alpha.38", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 08540daaf0f..9392055a4da 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -11,17 +11,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/svelte": "5.1.0-alpha.37" + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/svelte": "5.1.0-alpha.38" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 14818c33b34..fb7ae1f4651 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,19 +15,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-backgrounds": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-contexts": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addon-storysource": "5.1.0-alpha.37", - "@storybook/addon-viewport": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/vue": "5.1.0-alpha.37", + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-backgrounds": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-contexts": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addon-storysource": "5.1.0-alpha.38", + "@storybook/addon-viewport": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/vue": "5.1.0-alpha.38", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index e7c94334786..142624c6542 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.1.0-alpha.37" + "version": "5.1.0-alpha.38" } diff --git a/lib/addons/package.json b/lib/addons/package.json index b41f622db02..02c33ed079a 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook addons store", "keywords": [ "storybook" @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "5.1.0-alpha.37", - "@storybook/channels": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "util-deprecate": "^1.0.2" diff --git a/lib/api/package.json b/lib/api/package.json index 7d5c9748235..dce93645f72 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", @@ -34,8 +34,8 @@ "memoizerific": "^1.11.3", "prop-types": "^15.6.2", "react": "^16.7.0", - "shallow-equal": "^1.1.0", "semver": "^6.0.0", + "shallow-equal": "^1.1.0", "store2": "^2.7.1", "telejson": "^2.1.1", "util-deprecate": "^1.0.2" diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 2c569c121aa..dbb16ac0977 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "telejson": "^2.1.1" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 038a1119a0d..04b385ec353 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.37", + "@storybook/channels": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "json-fn": "^1.1.1" diff --git a/lib/channels/package.json b/lib/channels/package.json index 77a82f57be9..f70fef8fb1b 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 7c1316e7617..19872e56efe 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -30,7 +30,7 @@ "@babel/core": "^7.3.4", "@babel/preset-env": "^7.4.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.1.0-alpha.37", + "@storybook/codemod": "5.1.0-alpha.38", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.5", @@ -44,32 +44,32 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.37", - "@storybook/addon-centered": "5.1.0-alpha.37", - "@storybook/addon-graphql": "5.1.0-alpha.37", - "@storybook/addon-info": "5.1.0-alpha.37", - "@storybook/addon-knobs": "5.1.0-alpha.37", - "@storybook/addon-links": "5.1.0-alpha.37", - "@storybook/addon-notes": "5.1.0-alpha.37", - "@storybook/addon-options": "5.1.0-alpha.37", - "@storybook/addon-storyshots": "5.1.0-alpha.37", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/angular": "5.1.0-alpha.37", - "@storybook/channel-postmessage": "5.1.0-alpha.37", - "@storybook/channel-websocket": "5.1.0-alpha.37", - "@storybook/channels": "5.1.0-alpha.37", - "@storybook/ember": "5.1.0-alpha.37", - "@storybook/html": "5.1.0-alpha.37", - "@storybook/marko": "5.1.0-alpha.37", - "@storybook/mithril": "5.1.0-alpha.37", - "@storybook/polymer": "5.1.0-alpha.37", - "@storybook/preact": "5.1.0-alpha.37", - "@storybook/react": "5.1.0-alpha.37", - "@storybook/react-native": "5.1.0-alpha.37", - "@storybook/riot": "5.1.0-alpha.37", - "@storybook/svelte": "5.1.0-alpha.37", - "@storybook/ui": "5.1.0-alpha.37", - "@storybook/vue": "5.1.0-alpha.37" + "@storybook/addon-actions": "5.1.0-alpha.38", + "@storybook/addon-centered": "5.1.0-alpha.38", + "@storybook/addon-graphql": "5.1.0-alpha.38", + "@storybook/addon-info": "5.1.0-alpha.38", + "@storybook/addon-knobs": "5.1.0-alpha.38", + "@storybook/addon-links": "5.1.0-alpha.38", + "@storybook/addon-notes": "5.1.0-alpha.38", + "@storybook/addon-options": "5.1.0-alpha.38", + "@storybook/addon-storyshots": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/angular": "5.1.0-alpha.38", + "@storybook/channel-postmessage": "5.1.0-alpha.38", + "@storybook/channel-websocket": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.38", + "@storybook/ember": "5.1.0-alpha.38", + "@storybook/html": "5.1.0-alpha.38", + "@storybook/marko": "5.1.0-alpha.38", + "@storybook/mithril": "5.1.0-alpha.38", + "@storybook/polymer": "5.1.0-alpha.38", + "@storybook/preact": "5.1.0-alpha.38", + "@storybook/react": "5.1.0-alpha.38", + "@storybook/react-native": "5.1.0-alpha.38", + "@storybook/riot": "5.1.0-alpha.38", + "@storybook/svelte": "5.1.0-alpha.38", + "@storybook/ui": "5.1.0-alpha.38", + "@storybook/vue": "5.1.0-alpha.38" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 344b32e25dd..0a5466888b2 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook Client API", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "eventemitter3": "^3.1.0", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 33dd6fdd804..33a1f30c191 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 6ff723029a8..018357e40db 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index d81783cefbf..97e42511815 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 3d79cb4972f..3474d671c57 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index a3a3519bb68..03c36799611 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -25,15 +25,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.4.1", - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/channel-postmessage": "5.1.0-alpha.37", - "@storybook/client-api": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/node-logger": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", - "@storybook/ui": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/channel-postmessage": "5.1.0-alpha.38", + "@storybook/client-api": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/node-logger": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", + "@storybook/ui": "5.1.0-alpha.38", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index ac0f58239b6..b4afeab2c19 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 6300651f8df..a28d7b009b8 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -22,7 +22,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/lib/theming/package.json b/lib/theming/package.json index 48cf0e928bd..9fb66f3e662 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "dependencies": { "@emotion/core": "^10.0.9", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.1.0-alpha.37", + "@storybook/client-logger": "5.1.0-alpha.38", "common-tags": "^1.8.0", "core-js": "^2.6.5", "deep-object-diff": "^1.1.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index ab953f30fbd..aa7110c778b 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.1.0-alpha.37", + "version": "5.1.0-alpha.38", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -22,13 +22,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.37", - "@storybook/api": "5.1.0-alpha.37", - "@storybook/client-logger": "5.1.0-alpha.37", - "@storybook/components": "5.1.0-alpha.37", - "@storybook/core-events": "5.1.0-alpha.37", - "@storybook/router": "5.1.0-alpha.37", - "@storybook/theming": "5.1.0-alpha.37", + "@storybook/addons": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/components": "5.1.0-alpha.38", + "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/router": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.38", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.4.4", From 208ff48e573a62c85876faff8821f110e0dd063d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 14:33:03 +0800 Subject: [PATCH 50/59] 5.1.0-alpha.39 changelog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cff59f51243..7802e3f3dba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 5.1.0-alpha.38 (May 2, 2019) +## 5.1.0-alpha.39 (May 2, 2019) ### Features @@ -9,6 +9,10 @@ - API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412)) +## 5.1.0-alpha.38 (May 2, 2019) + +Failed publish + ## 5.1.0-alpha.37 (May 1, 2019) ### Bug Fixes From d2039e026d121d27376fa405939b979a9ea43a2c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 14:34:07 +0800 Subject: [PATCH 51/59] v5.1.0-alpha.39 --- addons/a11y/package.json | 14 ++--- addons/actions/package.json | 12 ++-- addons/backgrounds/package.json | 14 ++--- addons/centered/package.json | 2 +- addons/contexts/package.json | 10 ++-- addons/cssresources/package.json | 10 ++-- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +- addons/graphql/package.json | 2 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 12 ++-- addons/knobs/package.json | 12 ++-- addons/links/package.json | 8 +-- addons/notes/package.json | 16 +++--- addons/ondevice-actions/package.json | 8 +-- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 6 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++-- app/angular/package.json | 6 +- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/react-native-server/package.json | 14 ++--- app/react-native/package.json | 12 ++-- app/react/package.json | 6 +- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- .../crna-kitchen-sink/package.json | 18 +++--- examples/angular-cli/package.json | 26 ++++----- examples/cra-kitchen-sink/package.json | 34 +++++------ examples/cra-ts-kitchen-sink/package.json | 12 ++-- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------ examples/marko-cli/package.json | 14 ++--- examples/mithril-kitchen-sink/package.json | 26 ++++----- examples/official-storybook/package.json | 50 ++++++++--------- examples/polymer-cli/package.json | 20 +++---- examples/preact-kitchen-sink/package.json | 28 +++++----- examples/riot-kitchen-sink/package.json | 26 ++++----- examples/svelte-kitchen-sink/package.json | 26 ++++----- examples/vue-kitchen-sink/package.json | 28 +++++----- lerna.json | 2 +- lib/addons/package.json | 8 +-- lib/api/package.json | 12 ++-- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 56 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 6 +- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 4 +- lib/theming/package.json | 4 +- lib/ui/package.json | 16 +++--- 67 files changed, 398 insertions(+), 398 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 567fef696d4..89647f3a497 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "axe-core": "^3.2.2", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/addons/actions/package.json b/addons/actions/package.json index 56a60d0dd99..f795eaf9e64 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index ecec2456168..9315fefb8c2 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "memoizerific": "^1.11.3", "react": "^16.8.4", diff --git a/addons/centered/package.json b/addons/centered/package.json index 7d77734ddb9..e66a09c64f5 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/contexts/package.json b/addons/contexts/package.json index d1860835081..355d615ceea 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-contexts", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook Addon Contexts", "keywords": [ "storybook", @@ -28,10 +28,10 @@ "dev:check-types": "tsc --noEmit" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38" + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39" }, "peerDependencies": { "global": "*", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index ce0a9d05eeb..7a18b9d21aa 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4" diff --git a/addons/events/package.json b/addons/events/package.json index 824abe3a7f7..9d4b8baa70c 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -24,9 +24,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "format-json": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 22edfdb0068..bdb43a41bd5 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "react-ga": "^2.5.7" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 9f12eb8d3c7..e2ebc88a682 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", diff --git a/addons/info/package.json b/addons/info/package.json index a56df4c593e..fa58ba65aa5 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "marksy": "^7.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 2b1858e9792..532f24cf96d 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "react": "^16.8.4", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index cd52a09ecd3..468357b2a65 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/client-api": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/client-api": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "copy-to-clipboard": "^3.0.8", "core-js": "^2.6.5", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 7e7a5dc549d..a1a9d92ed2e 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -22,9 +22,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 70855ceb6cf..b3a864d340a 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index aedd50789e1..9dbcd1b39e0 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38" + "@storybook/addon-actions": "5.1.0-alpha.39" }, "peerDependencies": { "@storybook/addon-actions": "*", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 0600aabd82c..aca9f98d58c 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", "core-js": "^2.6.5", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index ad3a58fe8f8..72a18cb53c4 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", "core-js": "^2.6.5", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 4b93dcd4ff3..98024533daf 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", "core-js": "^2.6.5", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 30cd0f86315..3f2dfeceda0 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Options addon for storybook", "keywords": [ "addon", @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", "core-js": "^2.6.5", "util-deprecate": "^1.0.2" }, diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 257c331f041..2a5d3af0bba 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", "core-js": "^2.6.5", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index aff0654be01..c9fd68c0f14 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", + "@storybook/node-logger": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", "core-js": "^2.6.5", "jest-image-snapshot": "^2.8.1", "puppeteer": "^1.12.2", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 19f347ac80f..4b3996283a1 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "estraverse": "^4.2.0", "loader-utils": "^1.2.3", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 1568693eb85..98f3d50fcb4 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index ff538ef88e0..04f9d7b1cc3 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,8 +26,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", - "@storybook/node-logger": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", + "@storybook/node-logger": "5.1.0-alpha.39", "angular2-template-loader": "^0.6.2", "core-js": "^2.6.5", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/app/ember/package.json b/app/ember/package.json index 76e7fef46ae..d914b9cc053 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybooks/storybook/tree/master/app/ember", "bugs": { @@ -24,7 +24,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.5.0", - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index 22481410ee0..cb27fb3fefd 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index f20f66c21e1..33e9ee0a683 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index eb8fbdde25e..b9f41873036 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 46f5ba96102..0d416a963ff 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", diff --git a/app/preact/package.json b/app/preact/package.json index e5e698b38f5..fd7647b2603 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index c2412167b74..a0f80064359 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native-server", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/channel-websocket": "5.1.0-alpha.38", - "@storybook/core": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/ui": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/channel-websocket": "5.1.0-alpha.39", + "@storybook/core": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/ui": "5.1.0-alpha.39", "commander": "^2.19.0", "global": "^4.3.2", "react": "^16.6.0", diff --git a/app/react-native/package.json b/app/react-native/package.json index ff21fb99825..b45ad802cec 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -23,11 +23,11 @@ }, "dependencies": { "@emotion/native": "^10.0.10", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/channel-websocket": "5.1.0-alpha.38", - "@storybook/channels": "5.1.0-alpha.38", - "@storybook/client-api": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/channel-websocket": "5.1.0-alpha.39", + "@storybook/channels": "5.1.0-alpha.39", + "@storybook/client-api": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", "react-native-swipe-gestures": "^1.0.3", "rn-host-detect": "^1.1.5" }, diff --git a/app/react/package.json b/app/react/package.json index 0d9ee5af79c..0cb8bc42142 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -29,8 +29,8 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.1.0-alpha.38", - "@storybook/node-logger": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", + "@storybook/node-logger": "5.1.0-alpha.39", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", diff --git a/app/riot/package.json b/app/riot/package.json index 6928ef19ec7..12688928bb5 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 387ea7edf66..2b9bcca5350 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index f2cecbe953e..6ecbbbb05bf 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.0-alpha.38", + "@storybook/core": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index 20c8e2cf7d7..ea990795a41 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -24,14 +24,14 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-ondevice-actions": "5.1.0-alpha.38", - "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-ondevice-knobs": "5.1.0-alpha.38", - "@storybook/addon-ondevice-notes": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/react-native": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-ondevice-actions": "5.1.0-alpha.39", + "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-ondevice-knobs": "5.1.0-alpha.39", + "@storybook/addon-ondevice-notes": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/react-native": "5.1.0-alpha.39", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index 0dd6ff63718..801c877af5b 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "license": "MIT", "scripts": { @@ -34,18 +34,18 @@ "@angular-devkit/build-angular": "^0.13.4", "@angular/cli": "^7.3.6", "@angular/compiler-cli": "^7.2.6", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-jest": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/angular": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-jest": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/angular": "5.1.0-alpha.39", "@types/core-js": "^2.5.0", "@types/jest": "^24.0.11", "@types/node": "~11.13.4", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index b3e6da4c23d..3ed5bab1367 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build": "react-scripts build", @@ -19,22 +19,22 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.38", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-events": "5.1.0-alpha.38", - "@storybook/addon-info": "5.1.0-alpha.38", - "@storybook/addon-jest": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/react": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addon-a11y": "5.1.0-alpha.39", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-events": "5.1.0-alpha.39", + "@storybook/addon-info": "5.1.0-alpha.39", + "@storybook/addon-jest": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/react": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "react-scripts": "^2.1.8" } } diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index a95f505bf9e..624e770615c 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -14,11 +14,11 @@ "react-dom": "^16.8.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-info": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/react": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-info": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/react": "5.1.0-alpha.39", "@types/enzyme": "^3.9.0", "@types/react": "^16.8.4", "@types/react-dom": "^16.8.2", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 425d53c47c6..6fb7ebbf828 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.0-alpha.38", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/ember": "5.1.0-alpha.38", + "@storybook/addon-a11y": "5.1.0-alpha.39", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/ember": "5.1.0-alpha.39", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 028afbeae25..6bcb9637b09 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "description": "", "keywords": [], @@ -14,23 +14,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.38", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-events": "5.1.0-alpha.38", - "@storybook/addon-jest": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/core": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/html": "5.1.0-alpha.38", + "@storybook/addon-a11y": "5.1.0-alpha.39", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-events": "5.1.0-alpha.39", + "@storybook/addon-jest": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/core": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/html": "5.1.0-alpha.39", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 6efed52536c..0426860cb11 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -24,12 +24,12 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/marko": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/marko": "5.1.0-alpha.39", "prettier": "^1.16.4", "webpack": "^4.28.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 530fa279576..2f061161212 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,18 +11,18 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/mithril": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/mithril": "5.1.0-alpha.39", "webpack": "^4.28.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index e4b3b848810..61384622732 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -13,30 +13,30 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.38", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-contexts": "5.1.0-alpha.38", - "@storybook/addon-cssresources": "5.1.0-alpha.38", - "@storybook/addon-events": "5.1.0-alpha.38", - "@storybook/addon-graphql": "5.1.0-alpha.38", - "@storybook/addon-info": "5.1.0-alpha.38", - "@storybook/addon-jest": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/node-logger": "5.1.0-alpha.38", - "@storybook/react": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addon-a11y": "5.1.0-alpha.39", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-contexts": "5.1.0-alpha.39", + "@storybook/addon-cssresources": "5.1.0-alpha.39", + "@storybook/addon-events": "5.1.0-alpha.39", + "@storybook/addon-graphql": "5.1.0-alpha.39", + "@storybook/addon-info": "5.1.0-alpha.39", + "@storybook/addon-jest": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/node-logger": "5.1.0-alpha.39", + "@storybook/react": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 979dd8a6fb2..d3efec56406 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,15 +10,15 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/polymer": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/polymer": "5.1.0-alpha.39", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index b60ebb0a6c6..8b7952b9ff1 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,19 +16,19 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-contexts": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/preact": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-contexts": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/preact": "5.1.0-alpha.39", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 7225fe4ebd4..06ba53f3f55 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,18 +16,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/riot": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/riot": "5.1.0-alpha.39", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 9392055a4da..9d4d616aa01 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -11,17 +11,17 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/svelte": "5.1.0-alpha.38" + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/svelte": "5.1.0-alpha.39" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index fb7ae1f4651..7e257d9f47f 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,19 +15,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-backgrounds": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-contexts": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addon-storysource": "5.1.0-alpha.38", - "@storybook/addon-viewport": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/vue": "5.1.0-alpha.38", + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-backgrounds": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-contexts": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addon-storysource": "5.1.0-alpha.39", + "@storybook/addon-viewport": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/vue": "5.1.0-alpha.39", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 142624c6542..be10f5c9a40 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.1.0-alpha.38" + "version": "5.1.0-alpha.39" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 02c33ed079a..62a21e31d8b 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook addons store", "keywords": [ "storybook" @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "5.1.0-alpha.38", - "@storybook/channels": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/channels": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "util-deprecate": "^1.0.2" diff --git a/lib/api/package.json b/lib/api/package.json index dce93645f72..c8ec4352455 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index dbb16ac0977..4022e08954a 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "telejson": "^2.1.1" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 04b385ec353..427ffa335cd 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.0-alpha.38", + "@storybook/channels": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "json-fn": "^1.1.1" diff --git a/lib/channels/package.json b/lib/channels/package.json index f70fef8fb1b..6db58b56d3b 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 19872e56efe..7cf1311f76b 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -30,7 +30,7 @@ "@babel/core": "^7.3.4", "@babel/preset-env": "^7.4.1", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.1.0-alpha.38", + "@storybook/codemod": "5.1.0-alpha.39", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^2.6.5", @@ -44,32 +44,32 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.38", - "@storybook/addon-centered": "5.1.0-alpha.38", - "@storybook/addon-graphql": "5.1.0-alpha.38", - "@storybook/addon-info": "5.1.0-alpha.38", - "@storybook/addon-knobs": "5.1.0-alpha.38", - "@storybook/addon-links": "5.1.0-alpha.38", - "@storybook/addon-notes": "5.1.0-alpha.38", - "@storybook/addon-options": "5.1.0-alpha.38", - "@storybook/addon-storyshots": "5.1.0-alpha.38", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/angular": "5.1.0-alpha.38", - "@storybook/channel-postmessage": "5.1.0-alpha.38", - "@storybook/channel-websocket": "5.1.0-alpha.38", - "@storybook/channels": "5.1.0-alpha.38", - "@storybook/ember": "5.1.0-alpha.38", - "@storybook/html": "5.1.0-alpha.38", - "@storybook/marko": "5.1.0-alpha.38", - "@storybook/mithril": "5.1.0-alpha.38", - "@storybook/polymer": "5.1.0-alpha.38", - "@storybook/preact": "5.1.0-alpha.38", - "@storybook/react": "5.1.0-alpha.38", - "@storybook/react-native": "5.1.0-alpha.38", - "@storybook/riot": "5.1.0-alpha.38", - "@storybook/svelte": "5.1.0-alpha.38", - "@storybook/ui": "5.1.0-alpha.38", - "@storybook/vue": "5.1.0-alpha.38" + "@storybook/addon-actions": "5.1.0-alpha.39", + "@storybook/addon-centered": "5.1.0-alpha.39", + "@storybook/addon-graphql": "5.1.0-alpha.39", + "@storybook/addon-info": "5.1.0-alpha.39", + "@storybook/addon-knobs": "5.1.0-alpha.39", + "@storybook/addon-links": "5.1.0-alpha.39", + "@storybook/addon-notes": "5.1.0-alpha.39", + "@storybook/addon-options": "5.1.0-alpha.39", + "@storybook/addon-storyshots": "5.1.0-alpha.39", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/angular": "5.1.0-alpha.39", + "@storybook/channel-postmessage": "5.1.0-alpha.39", + "@storybook/channel-websocket": "5.1.0-alpha.39", + "@storybook/channels": "5.1.0-alpha.39", + "@storybook/ember": "5.1.0-alpha.39", + "@storybook/html": "5.1.0-alpha.39", + "@storybook/marko": "5.1.0-alpha.39", + "@storybook/mithril": "5.1.0-alpha.39", + "@storybook/polymer": "5.1.0-alpha.39", + "@storybook/preact": "5.1.0-alpha.39", + "@storybook/react": "5.1.0-alpha.39", + "@storybook/react-native": "5.1.0-alpha.39", + "@storybook/riot": "5.1.0-alpha.39", + "@storybook/svelte": "5.1.0-alpha.39", + "@storybook/ui": "5.1.0-alpha.39", + "@storybook/vue": "5.1.0-alpha.39" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 0a5466888b2..2938ca1d1db 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook Client API", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "eventemitter3": "^3.1.0", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 33a1f30c191..36eaf095073 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 018357e40db..959f97c634d 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 97e42511815..ce35c1db0ee 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "js-beautify": "^1.8.9", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 3474d671c57..ab9d0212f7b 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 03c36799611..61ca2d1bd29 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -25,15 +25,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.4.1", - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/channel-postmessage": "5.1.0-alpha.38", - "@storybook/client-api": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/node-logger": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", - "@storybook/ui": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/channel-postmessage": "5.1.0-alpha.39", + "@storybook/client-api": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/node-logger": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", + "@storybook/ui": "5.1.0-alpha.39", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index b4afeab2c19..d85c5d5b9a6 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index a28d7b009b8..8a51da66416 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -22,7 +22,7 @@ }, "dependencies": { "@reach/router": "^1.2.1", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/lib/theming/package.json b/lib/theming/package.json index 9fb66f3e662..80d2c9d1f85 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "dependencies": { "@emotion/core": "^10.0.9", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.1.0-alpha.38", + "@storybook/client-logger": "5.1.0-alpha.39", "common-tags": "^1.8.0", "core-js": "^2.6.5", "deep-object-diff": "^1.1.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index aa7110c778b..c73a9202787 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.1.0-alpha.38", + "version": "5.1.0-alpha.39", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -22,13 +22,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.38", - "@storybook/api": "5.1.0-alpha.38", - "@storybook/client-logger": "5.1.0-alpha.38", - "@storybook/components": "5.1.0-alpha.38", - "@storybook/core-events": "5.1.0-alpha.38", - "@storybook/router": "5.1.0-alpha.38", - "@storybook/theming": "5.1.0-alpha.38", + "@storybook/addons": "5.1.0-alpha.39", + "@storybook/api": "5.1.0-alpha.39", + "@storybook/client-logger": "5.1.0-alpha.39", + "@storybook/components": "5.1.0-alpha.39", + "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/router": "5.1.0-alpha.39", + "@storybook/theming": "5.1.0-alpha.39", "core-js": "^2.6.5", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.4.4", From c7d27ce0e19b032ea9c941c652c328385a395484 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 14:52:02 +0800 Subject: [PATCH 52/59] 5.1.0-alpha.39 next.json version file --- docs/src/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/versions/next.json b/docs/src/versions/next.json index db1a46ce05a..73303ad5460 100644 --- a/docs/src/versions/next.json +++ b/docs/src/versions/next.json @@ -1 +1 @@ -{"version":"5.1.0-alpha.37","info":{"plain":"### Bug Fixes\n\n* Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688))\n* Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669))\n* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))\n\n### Maintenance\n\n* CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695))"}} \ No newline at end of file +{"version":"5.1.0-alpha.39","info":{"plain":"### Features\n\n- React-native: Ondevice actions ([#6594](https://github.com/storybooks/storybook/pull/6594))\n- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybooks/storybook/pull/6603))\n\n### Bug Fixes\n\n- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412))"}} \ No newline at end of file From 2416faec2841478cb45f0f77220d4e5d445bf7b0 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 2 May 2019 14:56:10 +0800 Subject: [PATCH 53/59] Update version.ts --- lib/api/src/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index a8ce9d89a43..77f278e2372 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.1.0-alpha.37'; +export const version = '5.1.0-alpha.39'; From fabdaa0c7bc0d448623b2ce02db253f9b5085367 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Thu, 2 May 2019 07:45:30 -0400 Subject: [PATCH 54/59] Remove teamcity CLI tests The teamcity CLI tests have been failing on Teamcity but seem just fine on circleci. Since we have duplicate coverage and the failure seem to be environmental, remove the teamcity job. Example failure: https://teamcity.jetbrains.com/viewLog.html?buildId=2235626&buildTypeId=OpenSourceProjects_Storybook_CliTest --- .../OpenSourceProjects_Storybook/Project.kt | 1 - .../OpenSourceProjects_Storybook_Build_2.kt | 5 -- .../OpenSourceProjects_Storybook_CliTest.kt | 63 ------------------- .../b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts | 17 ----- 4 files changed, 86 deletions(-) delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTest.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/Project.kt b/.teamcity/OpenSourceProjects_Storybook/Project.kt index 39e639bfea7..1f3a5f29ea2 100644 --- a/.teamcity/OpenSourceProjects_Storybook/Project.kt +++ b/.teamcity/OpenSourceProjects_Storybook/Project.kt @@ -23,7 +23,6 @@ object Project : Project({ buildType(OpenSourceProjects_Storybook_Examples) buildType(OpenSourceProjects_Storybook_Docs) buildType(OpenSourceProjects_Storybook_Build_2) - buildType(OpenSourceProjects_Storybook_CliTest) buildType(OpenSourceProjects_Storybook_Test) buildType(OpenSourceProjects_Storybook_Lint) buildType(OpenSourceProjects_Storybook_Lint_Warnings) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt index e37f0f8c375..1502deb7ae5 100644 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt +++ b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt @@ -111,10 +111,5 @@ object OpenSourceProjects_Storybook_Build_2 : BuildType({ onDependencyCancel = FailureAction.ADD_PROBLEM } } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_CliTest) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } } }) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTest.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTest.kt deleted file mode 100644 index d724585270d..00000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTest.kt +++ /dev/null @@ -1,63 +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 - -object OpenSourceProjects_Storybook_CliTest : BuildType({ - uuid = "b1db1a3a-a4cf-46ea-8f55-98b86611f92e" - id = "OpenSourceProjects_Storybook_CliTest" - name = "CLI test" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Test" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn test --cli --teamcity - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts deleted file mode 100644 index 17f92e7a992..00000000000 --- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts +++ /dev/null @@ -1,17 +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 = 'b1db1a3a-a4cf-46ea-8f55-98b86611f92e' (id = 'OpenSourceProjects_Storybook_CliTest') -accordingly, and delete the patch script. -*/ -changeBuildType("b1db1a3a-a4cf-46ea-8f55-98b86611f92e") { - params { - add { - param("docker.node.version", "latest") - } - } -} From 93f2478c8cf11b24e64892cb6ae1bba1f53b3efc Mon Sep 17 00:00:00 2001 From: codebyalex Date: Thu, 2 May 2019 20:14:24 -0400 Subject: [PATCH 55/59] adding yarn lock --- yarn.lock | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 607ecd4449a..2866ade5ddc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1327,6 +1327,20 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b" integrity sha512-h4t4jFjtm1YV7UirAFuSuFGyLa+NNxjdkq6DpFLANNQY5rHueFZHVY+8Cu1HYVP6DrheB0kv4m5xPjo7eKT7yQ== +"@emotion/native@^10.0.10": + version "10.0.10" + resolved "https://registry.yarnpkg.com/@emotion/native/-/native-10.0.10.tgz#61a30968a8221788233626149195f96b09e097d3" + integrity sha512-mzrU6GNn9WB00ce/ExYdqldAtylPFG5pdhnSgpAmH57xU04BYKPLhlLpC5ATwR4pfQYn4kv+RwBTA/zoqWSbHA== + dependencies: + "@emotion/primitives-core" "10.0.1" + +"@emotion/primitives-core@10.0.1": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@emotion/primitives-core/-/primitives-core-10.0.1.tgz#56bf12d4b5db56b0c8f83a9ea163a33b0191e3d9" + integrity sha512-q1499Ng3zSsGBoiyrmBo4BvcmXxJEVfdMpVoFPnDitzkmAl59XrNL8z2t5pfkjV5Usdb+akJR5YrEA0IgUJeCA== + dependencies: + css-to-react-native "^2.2.1" + "@emotion/serialize@^0.11.6": version "0.11.6" resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-0.11.6.tgz#78be8b9ee9ff49e0196233ba6ec1c1768ba1e1fc" @@ -7264,6 +7278,11 @@ camelcase@^5.0.0, camelcase@^5.2.0, camelcase@^5.3.1: resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== +camelize@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" + integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= + can-symlink@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/can-symlink/-/can-symlink-1.0.0.tgz#97b607d8a84bb6c6e228b902d864ecb594b9d219" @@ -8621,6 +8640,11 @@ css-blank-pseudo@^0.1.4: dependencies: postcss "^7.0.5" +css-color-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" + integrity sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU= + css-color-names@0.0.4, css-color-names@^0.0.4: version "0.0.4" resolved "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" @@ -8728,6 +8752,15 @@ css-selector-tokenizer@^0.7.0, css-selector-tokenizer@^0.7.1: fastparse "^1.1.1" regexpu-core "^1.0.0" +css-to-react-native@^2.2.1: + version "2.3.0" + resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.3.0.tgz#bf80d24ec4a08e430306ef429c0586e6ed5485f7" + integrity sha512-IhR7bNIrCFwbJbKZOAjNDZdwpsbjTN6f1agXeELHDqg1wHPA8c2QLruttKOW7hgMGetkfraRJCIEMrptifBfVw== + dependencies: + camelize "^1.0.0" + css-color-keywords "^1.0.0" + postcss-value-parser "^3.3.0" + css-tree@1.0.0-alpha.28: version "1.0.0-alpha.28" resolved "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz#8e8968190d886c9477bc8d61e96f61af3f7ffa7f" @@ -21025,7 +21058,7 @@ preact-render-to-json@^3.6.6: resolved "https://registry.npmjs.org/preact-render-to-json/-/preact-render-to-json-3.6.6.tgz#f67f48581912ac53fc9f4873bc6d7ce342f71c20" integrity sha1-9n9IWBkSrFP8n0hzvG1840L3HCA= -preact@^8.4.2: +preact@*, preact@^8.4.2: version "8.4.2" resolved "https://registry.npmjs.org/preact/-/preact-8.4.2.tgz#1263b974a17d1ea80b66590e41ef786ced5d6a23" integrity sha512-TsINETWiisfB6RTk0wh3/mvxbGRvx+ljeBccZ4Z6MPFKgu/KFGyf2Bmw3Z/jlXhL5JlNKY6QAbA9PVyzIy9//A== @@ -22263,9 +22296,9 @@ react-proxy@^1.1.7: react-deep-force-update "^1.0.0" react-redux@^7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/react-redux/-/react-redux-7.0.2.tgz#34b280a3482aaf60e7d4a504b1295165cbe6b86a" - integrity sha512-uKRuMgQt8dWbcz0U75oFK5tDo3boyAKrqvf/j94vpqRFFZfyDDy4kofUgloFIGyuKTq2Zz51zgK9RzOTFXk5ew== + version "7.0.3" + resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.0.3.tgz#983c5a6de81cb1e696bd1c090ba826545f9170f1" + integrity sha512-vYZA7ftOYlDk3NetitsI7fLjryt/widNl1SLXYvFenIpm7vjb4ryK0EeFrgn62usg5fYkyIAWNUPKnwWPevKLg== dependencies: "@babel/runtime" "^7.4.3" hoist-non-react-statics "^3.3.0" @@ -24130,6 +24163,11 @@ shallow-clone@^1.0.0: kind-of "^5.0.0" mixin-object "^2.0.1" +shallow-equal@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.1.0.tgz#cc022f030dcba0d1c198abf658a3c6c744e171ca" + integrity sha512-0SW1nWo1hnabO62SEeHsl8nmTVVEzguVWZCj5gaQrgWAxz/BaCja4OWdJBWLVPDxdtE/WU7c98uUCCXyPHSCvw== + shallowequal@^1.0.2, shallowequal@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" From 4bda69a9466885266b9b703b6b7e34c667ffb17b Mon Sep 17 00:00:00 2001 From: codebyalex Date: Thu, 2 May 2019 20:25:15 -0400 Subject: [PATCH 56/59] fixed linting errors --- addons/a11y/src/components/A11YPanel.tsx | 3 ++- examples/angular-cli/.storybook/config.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/a11y/src/components/A11YPanel.tsx b/addons/a11y/src/components/A11YPanel.tsx index 5f27ee8c6a0..1c5ee4e8480 100644 --- a/addons/a11y/src/components/A11YPanel.tsx +++ b/addons/a11y/src/components/A11YPanel.tsx @@ -48,7 +48,8 @@ const Incomplete = styled.span(({ theme }) => ({ const Loader = styled(({ className }) => (
- Please wait while the accessibility scan is running ... + Please wait while the accessibility scan is running + ...
))({ display: 'flex', diff --git a/examples/angular-cli/.storybook/config.ts b/examples/angular-cli/.storybook/config.ts index 5f8194e5850..4b5a2f1a499 100644 --- a/examples/angular-cli/.storybook/config.ts +++ b/examples/angular-cli/.storybook/config.ts @@ -1,7 +1,7 @@ /* eslint-disable global-require */ import { configure, addParameters, addDecorator } from '@storybook/angular'; -import addCssWarning from '../src/cssWarning'; import { withA11y } from '@storybook/addon-a11y'; +import addCssWarning from '../src/cssWarning'; addDecorator(withA11y); addCssWarning(); From 05c6a511256cc269418bf51b7e26a2531080d24b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Sun, 5 May 2019 08:19:11 +0000 Subject: [PATCH 57/59] Bump @types/react from 16.8.14 to 16.8.16 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.8.14 to 16.8.16. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2866ade5ddc..1cabe179059 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3384,9 +3384,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^16.8.14", "@types/react@^16.8.4": - version "16.8.14" - resolved "https://registry.npmjs.org/@types/react/-/react-16.8.14.tgz#b561bfabeb8f60d12e6d4766367e7a9ae927aa18" - integrity sha512-26tFVJ1omGmzIdFTFmnC5zhz1GTaqCjxgUxV4KzWvsybF42P7/j4RBn6UeO3KbHPXqKWZszMXMoI65xIWm954A== + version "16.8.16" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.16.tgz#2bf980b4fb29cceeb01b2c139b3e185e57d3e08e" + integrity sha512-A0+6kS6zwPtvubOLiCJmZ8li5bm3wKIkoKV0h3RdMDOnCj9cYkUnj3bWbE03/lcICdQmwBmUfoFiHeNhbFiyHQ== dependencies: "@types/prop-types" "*" csstype "^2.2.0" From 87fd9b9deb9c3bfab979bd50c4de7963985ebc92 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Sun, 5 May 2019 12:53:48 +0200 Subject: [PATCH 58/59] #6475 add "CRA REACT15" build --- .../OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt index 51038da7797..1a087b140c5 100644 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt +++ b/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt @@ -9,6 +9,7 @@ import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetr enum class StorybookApp(val appName: String, val exampleDir: String, val merged: Boolean = true) { CRA("CRA", "cra-kitchen-sink"), CRA_TS("CRA TS", "cra-ts-kitchen-sink"), + CRA_REACT15("CRA REACT15", "cra-react15", false), VUE("Vue", "vue-kitchen-sink"), ANGULAR("Angular", "angular-cli"), POLYMER("Polymer", "polymer-cli"), From 1e7233892f7dfdf6ce391a3fcb6bde5abd7a29e0 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 6 May 2019 15:15:00 +1000 Subject: [PATCH 59/59] Allow browsing to a kind and get the first story See #5925 --- lib/api/src/modules/stories.ts | 11 ++++++++++- lib/api/src/modules/url.ts | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/api/src/modules/stories.ts b/lib/api/src/modules/stories.ts index 89d4c9de4cf..60355572b58 100644 --- a/lib/api/src/modules/stories.ts +++ b/lib/api/src/modules/stories.ts @@ -254,7 +254,16 @@ Did you create a path that uses the separator char accidentally, such as 'Vue !s.children && s.id.substring(0, idStart.length) === idStart + ); + + if (viewMode && firstKindLeaf) { + navigate(`/${viewMode}/${firstKindLeaf.id}`); + } + } else if (!storyId || storyId === '*' || !storiesHash[storyId]) { // when there's no storyId or the storyId item doesn't exist // we pick the first leaf and navigate const firstLeaf = Object.values(storiesHash).find((s: Story | Group) => !s.children); diff --git a/lib/api/src/modules/url.ts b/lib/api/src/modules/url.ts index 076c278753f..52d4a265e21 100644 --- a/lib/api/src/modules/url.ts +++ b/lib/api/src/modules/url.ts @@ -72,6 +72,10 @@ const initialUrlSupport = ({ navigate, location, path }: Module) => { if (selectedKind && selectedStory) { const storyId = toId(selectedKind, selectedStory); setTimeout(() => navigate(`/story/${storyId}`, { replace: true }), 1); + } else if (selectedKind) { + // Create a "storyId" of the form `kind-sanitized--*` + const standInId = toId(selectedKind, 'star').replace(/star$/, '*'); + setTimeout(() => navigate(`/story/${standInId}`, { replace: true }), 1); } else if (!queryPath || queryPath === '/') { setTimeout(() => navigate(`/story/*`, { replace: true }), 1); } else if (Object.keys(query).length > 1) {