Skip to content

Commit 215f354

Browse files
authored
chore(demo): updated demo stories menu (#494)
1 parent da8fef7 commit 215f354

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

.storybook/manager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ import {themes} from './theme';
33

44
addons.setConfig({
55
theme: themes.light,
6+
sidebar: {
7+
collapsedRoots: ['docs'],
8+
},
69
});

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const preview: Preview = {
1212
},
1313
options: {
1414
storySort: {
15-
order: ['Docs', 'Markdown Editor', ['Playground', 'Presets', '*'], '*'],
15+
order: ['Playground', 'Docs', 'Extensions', ['Presets', '*'], '*'],
1616
},
1717
},
1818
controls: {

demo/stories/markdown/Markdown.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const DefinitionList: StoryObj<typeof component> = {
5656
};
5757

5858
export default {
59-
title: 'Markdown Editor / Markdown examples',
59+
title: 'Extensions / Markdown',
6060
component,
6161
args: args,
6262
parameters: {

demo/stories/playground/Playground.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Story: StoryObj<typeof component> = {};
88
Story.storyName = 'Playground';
99

1010
const meta: Meta<PlaygroundProps> = {
11-
title: 'Markdown Editor / Playground',
11+
title: 'Playground',
1212
component: component,
1313
args: args,
1414
beforeEach: (context) => {

demo/stories/presets/Presets.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const Full: StoryObj<typeof component> = {
2424

2525
export default {
2626
component,
27-
title: 'Markdown Editor / Presets',
27+
title: 'Extensions / Presets',
2828
args: {
2929
settingsVisible: true,
3030
allowHTML: true,

demo/stories/yfm/YFM.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {excludedControls} from '../../defaults/excluded-controls';
77
import {markup} from './content';
88

99
const meta: Meta<PlaygroundMiniProps> = {
10-
title: 'Markdown Editor / YFM examples',
10+
title: 'Extensions / YFM',
1111
component: PlaygroundMini,
1212
args: args,
1313
parameters: {

0 commit comments

Comments
 (0)