Skip to content

Upgrade stories to CSF Next format#2014

Merged
axelboc merged 1 commit into
mainfrom
csf-next
Apr 28, 2026
Merged

Upgrade stories to CSF Next format#2014
axelboc merged 1 commit into
mainfrom
csf-next

Conversation

@axelboc
Copy link
Copy Markdown
Contributor

@axelboc axelboc commented Apr 27, 2026

Storybook 10 introduced a new story format called CSF Next, which improves typing a lot. It's still experimental but it mostly works and it's possible to migrate progressively so might as well.

  • [ErrorBars] Prop visible now defaults to true.

Comment thread apps/storybook/.storybook/main.ts
abscissaConfig={{ visDomain: [0, oneD.size], showGrid: true }}
ordinateConfig={{ visDomain: domain, showGrid: true }}
>
<Pan modifierKey={modifierKey?.length === 0 ? 'Control' : undefined} />
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug fix for when modifierKey is left undefined.

axis: { control: { type: 'inline-radio' } },
axis: {
control: { type: 'inline-radio' },
options: ['x', 'y'],
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I improve things a bit as I go.

@axelboc axelboc requested a review from loichuder April 27, 2026 14:25
Copy link
Copy Markdown
Member

@loichuder loichuder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no better announcement of spring than a new Story format in Storybook 🌸

@axelboc axelboc merged commit 08bd9a1 into main Apr 28, 2026
16 of 17 checks passed
@axelboc axelboc deleted the csf-next branch April 28, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants