Skip to content

feat(react-storybook-addon): add custom addon-docs containers to preset and use defaults in docsite-v9 and docsite-charts - #34938

Merged
Martin Hochel (Hotell) merged 4 commits into
microsoft:masterfrom
Hotell:sb-addon/encapsulate-docs-overrides
Aug 1, 2025
Merged

Martin Hochel (Hotell) merged 4 commits into
microsoft:masterfrom
Hotell:sb-addon/encapsulate-docs-overrides

Conversation

@Hotell

@Hotell Martin Hochel (Hotell) commented Jul 29, 2025 •

Copy link
Copy Markdown
Contributor

Previous Behavior

New Behavior

Storybook specific Docs mode enhancements are now part of react-storybook-addon

  • enabled by default when addon preset is used within storybook configuration
  • react-charts gets full Fluent SB experience with all features as core v9 storybook

Related Issue(s)

  • Fixes #

@Hotell Martin Hochel (Hotell) changed the title Sb addon/encapsulate docs overrides feat(react-storybook-addon): add custom addon-docs containers to preset and use defaults in docsite-v9 and docsite-charts Jul 29, 2025
@github-actions

github-actions Bot commented Jul 29, 2025 •

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just one thing about the peer deps/deps, otherwise LGTM!

@Hotell

Copy link
Copy Markdown
Contributor Author

Just one thing about the peer deps/deps, otherwise LGTM!

have you seen my comment ?
image

about peerDeps

  • only "singleton" for SB addon are storybook deps which are specified as peer, besides that these component from v9 can have dupes in node modules, it doesn't matter as they render independently within DocBlock -> making the addon work independently as expected.

@Hotell
Martin Hochel (Hotell) merged commit 249bc54 into microsoft:master Aug 1, 2025
@Hotell
Martin Hochel (Hotell) deleted the sb-addon/encapsulate-docs-overrides branch August 1, 2025 09:37
Tudor Popa (tudorpopams) pushed a commit to tudorpopams/fluentui that referenced this pull request Apr 14, 2026
…et and use defaults in docsite-v9 and docsite-charts (microsoft#34938)
@PaulGMardling

Copy link
Copy Markdown
Contributor

The shared Fluent docs/provider extraction in this PR addresses #27792's duplicated Storybook utilities. It ships in @fluentui/react-storybook-addon 0.4.0, and current recipes inherit the shared root setup. We propose closing #27792 as completed for this extraction, subject to approval. The later docs opt-in is intentional; this is source/published-package verification, not a Storybook rendering test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants