Examples: Upgrade ember-cli to simplified hierarchy separator

This commit is contained in:
Michael Shilman 2019-11-13 18:12:29 +08:00
parent 88eaed8e87
commit 8ca289fc60
8 changed files with 8 additions and 9 deletions

View File

@ -4,8 +4,7 @@ import { withA11y } from '@storybook/addon-a11y';
addDecorator(withA11y);
addParameters({
options: {
hierarchySeparator: /\/|\./,
hierarchyRootSeparator: /\|/,
showRoots: true,
},
});

View File

@ -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: {

View File

@ -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: {

View File

@ -1,7 +1,7 @@
import hbs from 'htmlbars-inline-precompile';
export default {
title: 'Addon|Backgrounds',
title: 'Addon/Backgrounds',
parameters: {
backgrounds: [

View File

@ -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: {

View File

@ -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: {

View File

@ -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 = () => ({

View File

@ -1,7 +1,7 @@
import hbs from 'htmlbars-inline-precompile';
export default {
title: 'Addon|Notes',
title: 'Addon/Notes',
};
export const simpleNote = () => ({