Skip to content

Comments

fix(web-components): add set theme export#35778

Merged
davatron5000 merged 6 commits intomicrosoft:masterfrom
davatron5000:fix/add-setTheme-export
Feb 24, 2026
Merged

fix(web-components): add set theme export#35778
davatron5000 merged 6 commits intomicrosoft:masterfrom
davatron5000:fix/add-setTheme-export

Conversation

@davatron5000
Copy link
Contributor

@davatron5000 davatron5000 commented Feb 23, 2026

Previous Behavior

As reported in #35640 we were not exporting setTheme from our main web-components.js bundle even though it's prevalent in our documentation. This created an awkward DX when trying trying to use setTheme with the side-effectful all-component bundle.

New Behavior

Adds setTheme to the index-rollup.js which creates an export.

Also, in order to successfully build the project I had to remove upstream deleted tokens and update the extractor API docs.

Related Issue(s)

@github-actions
Copy link

github-actions bot commented Feb 23, 2026

📊 Bundle size report

✅ No changes found

@github-actions
Copy link

Pull request demo site: URL

@davatron5000 davatron5000 merged commit 7cbc248 into microsoft:master Feb 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: web-components.js does not expose all symbols

3 participants