Skip to content

Commit fd4c5ae

Browse files
author
Samuel Abramov
committed
refactor(storybook): reorganize story categories for clearer taxonomy
Move Button out of Forms into Actions, dissolve generic Components category, fix redundant names (Overlays/Overlays, Navigation/Navigation), and introduce Feedback category for status/progress patterns.
1 parent a8cd306 commit fd4c5ae

7 files changed

Lines changed: 7 additions & 7 deletions

stories/Accordion.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { expect, within, userEvent } from 'storybook/test';
33
const chevron = `<svg class="ct-accordion__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>`;
44

55
export default {
6-
title: 'Components/Accordion',
6+
title: 'Data Display/Accordion',
77
parameters: {
88
docs: {
99
description: {

stories/Button.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within, userEvent } from 'storybook/test';
22

33
export default {
4-
title: 'Forms/Button',
4+
title: 'Actions/Button',
55
parameters: {
66
docs: {
77
description: {

stories/Navigation.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within, userEvent } from 'storybook/test';
22

33
export default {
4-
title: 'Navigation/Navigation',
4+
title: 'Navigation/Tabs',
55
parameters: {
66
docs: {
77
description: {

stories/Overlays.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within, userEvent, waitFor } from 'storybook/test';
22

33
export default {
4-
title: 'Overlays/Overlays',
4+
title: 'Overlays/Modal',
55
parameters: {
66
docs: {
77
description: {

stories/Popover.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within, userEvent } from 'storybook/test';
22

33
export default {
4-
title: 'Components/Popover',
4+
title: 'Overlays/Popover',
55
parameters: {
66
docs: {
77
description: {

stories/ProgressBar.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within } from 'storybook/test';
22

33
export default {
4-
title: 'Data Display/Progress Bar',
4+
title: 'Feedback/Progress Bar',
55
parameters: {
66
docs: {
77
description: {

stories/StatusFeedback.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, within, userEvent } from 'storybook/test';
22

33
export default {
4-
title: 'Data Display/Status & Feedback',
4+
title: 'Feedback/Status & Feedback',
55
parameters: {
66
docs: {
77
description: {

0 commit comments

Comments
 (0)