Skip to content

feat(react-headless-components-preview): expose missing state data attributes - #36480

Open
mainframev wants to merge 1 commit into
microsoft:masterfrom
mainframev:vgenaev/headless-data-attributes
Open

feat(react-headless-components-preview): expose missing state data attributes#36480
mainframev wants to merge 1 commit into
microsoft:masterfrom
mainframev:vgenaev/headless-data-attributes

Conversation

@mainframev

@mainframev mainframev commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
  • Expose missing resolved interaction and structural state as typed data-* attributes.
  • Preserve all existing attribute names and value semantics.

FUI Modern builds on headless components and needs stable selectors for state-driven styling:

.fx-Modal:where([data-state="open"]) {
   ... 
}

.fx-Button:where([data-icon-position="left"]) {
   ...
}

@github-actions

Copy link
Copy Markdown

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-headless-components-preview
react-headless-components-preview: entire library
251.914 kB
72.891 kB
253.86 kB
73.303 kB
1.946 kB
412 B

🤖 This report was generated against 8bf5466c18d3a62769925eb11eb7a7da8094aa4b

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

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.

1 participant