From 8ca289fc6025da06fc3424a770b80286cb17450d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 13 Nov 2019 18:12:29 +0800 Subject: [PATCH] Examples: Upgrade ember-cli to simplified hierarchy separator --- examples/ember-cli/.storybook/config.js | 3 +-- examples/ember-cli/stories/addon-a11y.stories.js | 2 +- examples/ember-cli/stories/addon-actions.stories.js | 2 +- examples/ember-cli/stories/addon-backgrounds.stories.js | 2 +- examples/ember-cli/stories/addon-centered.stories.js | 2 +- examples/ember-cli/stories/addon-knobs.stories.js | 2 +- examples/ember-cli/stories/addon-links.stories.js | 2 +- examples/ember-cli/stories/addon-notes.stories.js | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/examples/ember-cli/.storybook/config.js b/examples/ember-cli/.storybook/config.js index f3f05b316dc..2e126f9c84f 100644 --- a/examples/ember-cli/.storybook/config.js +++ b/examples/ember-cli/.storybook/config.js @@ -4,8 +4,7 @@ import { withA11y } from '@storybook/addon-a11y'; addDecorator(withA11y); addParameters({ options: { - hierarchySeparator: /\/|\./, - hierarchyRootSeparator: /\|/, + showRoots: true, }, }); diff --git a/examples/ember-cli/stories/addon-a11y.stories.js b/examples/ember-cli/stories/addon-a11y.stories.js index 66ca80ec35a..a8bcb652920 100644 --- a/examples/ember-cli/stories/addon-a11y.stories.js +++ b/examples/ember-cli/stories/addon-a11y.stories.js @@ -2,7 +2,7 @@ import hbs from 'htmlbars-inline-precompile'; import { checkA11y } from '@storybook/addon-a11y'; export default { - title: 'Addon|a11y', + title: 'Addon/a11y', decorators: [checkA11y], parameters: { diff --git a/examples/ember-cli/stories/addon-actions.stories.js b/examples/ember-cli/stories/addon-actions.stories.js index e11f8c8201b..aab9fd86f06 100644 --- a/examples/ember-cli/stories/addon-actions.stories.js +++ b/examples/ember-cli/stories/addon-actions.stories.js @@ -2,7 +2,7 @@ import hbs from 'htmlbars-inline-precompile'; import { action } from '@storybook/addon-actions'; export default { - title: 'Addon|Actions', + title: 'Addon/Actions', parameters: { options: { diff --git a/examples/ember-cli/stories/addon-backgrounds.stories.js b/examples/ember-cli/stories/addon-backgrounds.stories.js index ea282fa81c5..0f8ab7df34b 100644 --- a/examples/ember-cli/stories/addon-backgrounds.stories.js +++ b/examples/ember-cli/stories/addon-backgrounds.stories.js @@ -1,7 +1,7 @@ import hbs from 'htmlbars-inline-precompile'; export default { - title: 'Addon|Backgrounds', + title: 'Addon/Backgrounds', parameters: { backgrounds: [ diff --git a/examples/ember-cli/stories/addon-centered.stories.js b/examples/ember-cli/stories/addon-centered.stories.js index 3cdd11dee89..797e882feda 100644 --- a/examples/ember-cli/stories/addon-centered.stories.js +++ b/examples/ember-cli/stories/addon-centered.stories.js @@ -2,7 +2,7 @@ import hbs from 'htmlbars-inline-precompile'; import Centered from '@storybook/addon-centered/ember'; export default { - title: 'Addon|Centered', + title: 'Addon/Centered', decorators: [Centered], parameters: { diff --git a/examples/ember-cli/stories/addon-knobs.stories.js b/examples/ember-cli/stories/addon-knobs.stories.js index f0fcbb19c4d..7cc3806665d 100644 --- a/examples/ember-cli/stories/addon-knobs.stories.js +++ b/examples/ember-cli/stories/addon-knobs.stories.js @@ -3,7 +3,7 @@ import { withKnobs, text, color, boolean } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; export default { - title: 'Addon|Knobs', + title: 'Addon/Knobs', decorators: [withKnobs], parameters: { diff --git a/examples/ember-cli/stories/addon-links.stories.js b/examples/ember-cli/stories/addon-links.stories.js index 6e1e16610e2..8aba44e7002 100644 --- a/examples/ember-cli/stories/addon-links.stories.js +++ b/examples/ember-cli/stories/addon-links.stories.js @@ -2,7 +2,7 @@ import hbs from 'htmlbars-inline-precompile'; import { linkTo } from '@storybook/addon-links'; export default { - title: 'Addon|Links', + title: 'Addon/Links', }; export const goToWelcome = () => ({ diff --git a/examples/ember-cli/stories/addon-notes.stories.js b/examples/ember-cli/stories/addon-notes.stories.js index ac437cc6213..25ebe7cf591 100644 --- a/examples/ember-cli/stories/addon-notes.stories.js +++ b/examples/ember-cli/stories/addon-notes.stories.js @@ -1,7 +1,7 @@ import hbs from 'htmlbars-inline-precompile'; export default { - title: 'Addon|Notes', + title: 'Addon/Notes', }; export const simpleNote = () => ({