mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Examples: Upgrade ember-cli to simplified hierarchy separator
This commit is contained in:
parent
88eaed8e87
commit
8ca289fc60
@ -4,8 +4,7 @@ import { withA11y } from '@storybook/addon-a11y';
|
||||
addDecorator(withA11y);
|
||||
addParameters({
|
||||
options: {
|
||||
hierarchySeparator: /\/|\./,
|
||||
hierarchyRootSeparator: /\|/,
|
||||
showRoots: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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: {
|
||||
|
@ -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: {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
export default {
|
||||
title: 'Addon|Backgrounds',
|
||||
title: 'Addon/Backgrounds',
|
||||
|
||||
parameters: {
|
||||
backgrounds: [
|
||||
|
@ -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: {
|
||||
|
@ -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: {
|
||||
|
@ -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 = () => ({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
export default {
|
||||
title: 'Addon|Notes',
|
||||
title: 'Addon/Notes',
|
||||
};
|
||||
|
||||
export const simpleNote = () => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user