Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shadow-dom): add insertionPoint to createShadowDOMRenderer() options #480

Merged
merged 7 commits into from
Jan 12, 2024

Conversation

spmonahan
Copy link
Contributor

Exposes the insertionPoint API for shadow DOM similar to vanilla Griffel.

See Fluent UI Contrib for more details.

@spmonahan spmonahan requested a review from a team as a code owner January 8, 2024 21:52
Copy link

github-actions bot commented Jan 8, 2024

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
shadow-dom
createShadowDOMRenderer
3.236 kB
1.408 kB
3.486 kB
1.481 kB
250 B
73 B

🤖 This report was generated against a9615bdffbca009d460338b532e76d29605a5f31

spmonahan and others added 7 commits January 12, 2024 11:55
The insertion point API provides control over where Griffel styles
are inserted into adoptedStyleSheets.

Exports the ExtendedCSSStyleSheet type as this is useful outside
this package.
@layershifter layershifter force-pushed the shadow-dom/insertion-point branch from 5f7a9af to 8064e25 Compare January 12, 2024 10:55
@layershifter layershifter changed the title Exposes insertionPoint API for @griffel/shadow-dom feat(shadow-dom): add insertionPoint to createShadowDOMRenderer() options Jan 12, 2024
@layershifter layershifter merged commit 0d2e550 into microsoft:main Jan 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants