From 831d30a8ec9478a28b6fd1c4309ebd24d6d30a81 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 20 Jul 2020 14:04:24 +1000 Subject: [PATCH 1/2] Stop using deprecated hierarchy separators --- .../stories/addon-docs/forward-ref.stories.js | 2 +- .../official-storybook/stories/addon-docs/react-memo.stories.js | 2 +- examples/official-storybook/stories/addon-links/href.stories.js | 2 +- .../official-storybook/stories/addon-links/select.stories.js | 2 +- examples/official-storybook/stories/core/decorators.stories.js | 2 +- examples/vue-kitchen-sink/src/stories/core-errors.stories.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/official-storybook/stories/addon-docs/forward-ref.stories.js b/examples/official-storybook/stories/addon-docs/forward-ref.stories.js index 414de40982fa..2de324de9060 100644 --- a/examples/official-storybook/stories/addon-docs/forward-ref.stories.js +++ b/examples/official-storybook/stories/addon-docs/forward-ref.stories.js @@ -2,7 +2,7 @@ import React from 'react'; import { DocgenButton } from '../../components/DocgenButton'; export default { - title: 'Addons|Docs/ForwardRef', + title: 'Addons/Docs/ForwardRef', component: ForwardedButton, parameters: { chromatic: { disable: true } }, }; diff --git a/examples/official-storybook/stories/addon-docs/react-memo.stories.js b/examples/official-storybook/stories/addon-docs/react-memo.stories.js index 8791eb02c328..44c0a1fe7845 100644 --- a/examples/official-storybook/stories/addon-docs/react-memo.stories.js +++ b/examples/official-storybook/stories/addon-docs/react-memo.stories.js @@ -4,7 +4,7 @@ import { DocgenButton } from '../../components/DocgenButton'; const ButtonWithMemo = React.memo((props) => ); export default { - title: 'Addons|Docs/ButtonWithMemo', + title: 'Addons/Docs/ButtonWithMemo', component: ButtonWithMemo, parameters: { chromatic: { disable: true } }, }; diff --git a/examples/official-storybook/stories/addon-links/href.stories.js b/examples/official-storybook/stories/addon-links/href.stories.js index 354a98588d24..64a912762d49 100644 --- a/examples/official-storybook/stories/addon-links/href.stories.js +++ b/examples/official-storybook/stories/addon-links/href.stories.js @@ -7,7 +7,7 @@ export default { }; export const Log = () => { - hrefTo('Addons|Links.Href', 'log').then((href) => action('URL of this story')(href)); + hrefTo('Addons/Links/Href', 'log').then((href) => action('URL of this story')(href)); return See action logger; }; diff --git a/examples/official-storybook/stories/addon-links/select.stories.js b/examples/official-storybook/stories/addon-links/select.stories.js index e53883468c69..debbf867a386 100644 --- a/examples/official-storybook/stories/addon-links/select.stories.js +++ b/examples/official-storybook/stories/addon-links/select.stories.js @@ -7,7 +7,7 @@ export default { }; export const Index = () => ( - e.currentTarget.value)}> diff --git a/examples/official-storybook/stories/core/decorators.stories.js b/examples/official-storybook/stories/core/decorators.stories.js index 1cb9857999d1..7184460ac254 100644 --- a/examples/official-storybook/stories/core/decorators.stories.js +++ b/examples/official-storybook/stories/core/decorators.stories.js @@ -4,7 +4,7 @@ import React from 'react'; import { addDecorator } from '@storybook/react'; addDecorator((s, { kind }) => - kind === 'Core|Decorators' ? ( + kind === 'Core/Decorators' ? ( <>

Global Decorator

{s()} diff --git a/examples/vue-kitchen-sink/src/stories/core-errors.stories.js b/examples/vue-kitchen-sink/src/stories/core-errors.stories.js index 3b7dd58f3880..3b5c1245bfe7 100644 --- a/examples/vue-kitchen-sink/src/stories/core-errors.stories.js +++ b/examples/vue-kitchen-sink/src/stories/core-errors.stories.js @@ -1,5 +1,5 @@ export default { - title: 'Core|Errors', + title: 'Core/Errors', parameters: { chromatic: { disable: true } }, }; From db4ae3054bf49334daa6b2a7ad0b97c5485d71a3 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 20 Jul 2020 17:01:22 +0800 Subject: [PATCH 2/2] Update core-errors.stories.storyshot --- .../src/stories/__snapshots__/core-errors.stories.storyshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot b/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot index d68a8ab769c4..7c1f2d2bb0b6 100644 --- a/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot +++ b/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storyshots Core|Errors Null Error 1`] = ``; +exports[`Storyshots Core/Errors Null Error 1`] = ``;