Skip to content

Comments

Release 5.0.1#408

Merged
valentinpalkovic merged 10 commits intomainfrom
next
Feb 9, 2026
Merged

Release 5.0.1#408
valentinpalkovic merged 10 commits intomainfrom
next

Conversation

@valentinpalkovic
Copy link
Contributor

No description provided.

jthrilly and others added 10 commits January 19, 2026 08:49
Update the default export to be compatible with Storybook's CSF Next
pattern where addons are imported and invoked as functions in the
preview configuration.

Previously, the package exported an empty object `{}` which would cause
a runtime error when invoked as a function. Now it exports a function
that returns a proper PreviewAddon via `definePreviewAddon({})`.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
feat: Add CSF Next compatibility for definePreview addons pattern
@valentinpalkovic valentinpalkovic self-assigned this Feb 6, 2026
@valentinpalkovic valentinpalkovic added patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged labels Feb 6, 2026
@valentinpalkovic valentinpalkovic changed the title Support CSF Factories definePreview Release 5.0.1 Feb 6, 2026
@valentinpalkovic valentinpalkovic merged commit 9238fc1 into main Feb 9, 2026
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants