Skip to content

feat(react-accordion): expose base hooks and types for Accordion components#35897

Merged
dmytrokirpa merged 1 commit into
microsoft:masterfrom
dmytrokirpa:feat/expose-accorion-base-hooks
Mar 26, 2026
Merged

feat(react-accordion): expose base hooks and types for Accordion components#35897
dmytrokirpa merged 1 commit into
microsoft:masterfrom
dmytrokirpa:feat/expose-accorion-base-hooks

Conversation

@dmytrokirpa

@dmytrokirpa dmytrokirpa commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces a new set of "base" hooks and types for the Accordion components in @fluentui/react-accordion, aimed at exposing more granular and composable building blocks for advanced use cases. These changes provide stripped-down versions of the main hooks and types, omitting certain props and state fields, and make them available as part of the public API.

@github-actions

github-actions Bot commented Mar 24, 2026

Copy link
Copy Markdown

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-accordion
Accordion (including children components)
103.471 kB
31.341 kB
103.484 kB
31.344 kB
13 B
3 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
236.65 kB
68.725 kB
236.663 kB
68.729 kB
13 B
4 B
react-components
react-components: entire library
1.297 MB
323.993 kB
1.297 MB
323.982 kB
12 B
-11 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
70.397 kB
19.96 kB
react-components
react-components: FluentProvider & webLightTheme
43.612 kB
14.022 kB
react-portal-compat
PortalCompatProvider
8.386 kB
2.624 kB
react-timepicker-compat
TimePicker
108.174 kB
35.695 kB
🤖 This report was generated against a27770d0d1e8ee1e6418bf41dff6c5ab14668bb9

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

@dmytrokirpa dmytrokirpa force-pushed the feat/expose-accorion-base-hooks branch from 6edd06d to f6bda81 Compare March 24, 2026 15:32
@dmytrokirpa dmytrokirpa marked this pull request as ready for review March 25, 2026 15:03
@dmytrokirpa dmytrokirpa merged commit 60e5930 into microsoft:master Mar 26, 2026
12 checks passed
tudorpopams pushed a commit to tudorpopams/fluentui that referenced this pull request Apr 14, 2026
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.

2 participants