chore(deps): update styled-components to v6.3.1 #2522
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
6.2.0→6.3.1Release Notes
styled-components/styled-components (styled-components)
v6.3.1Compare Source
Patch Changes
046e880: Ensure TypeScript declaration files are included in npm package, needed to tweak a Rollup setting.v6.3.0Compare Source
Minor Changes
28fd502: Add React Server Components (RSC) supportstyled-components now automatically detects RSC environments and handles CSS delivery appropriately:
'use client'directive required: Components work in RSC without any wrapper or directive<style>tags that React 19 automatically hoists and deduplicatesServerStyleSheetcontinue to work unchangedRSC best practices:
&[data-size='lg'])style, and cascade to children:ThemeProvideris a no-op in RSCTechnical details:
typeof React.createContext === 'undefined'ThemeProviderandStyleSheetManagerbecome no-ops in RSC (children pass-through)856cf06: feat: update built-in element aliases to include modern HTML and SVG elementsAdded support for modern HTML and SVG elements that were previously missing:
HTML elements:
search- HTML5 search elementslot- Web Components slot elementtemplate- HTML template elementSVG filter elements:
fe*filter primitive elements (feBlend, feColorMatrix, feComponentTransfer, etc.)clipPath,linearGradient,radialGradient- gradient and clipping elementstextPath- SVG text path elementswitch,symbol,use- SVG structural elementsThis ensures styled-components has comprehensive coverage of all styleable HTML and SVG elements supported by modern browsers and React.
Patch Changes
418adbe: fix(types): add CSS custom properties (variables) support to style propCSS custom properties (CSS variables like
--primary-color) are now fully supported in TypeScript without errors:.attrs({ style: { '--var': 'value' } })- CSS variables in attrs<Component style={{ '--var': 'value' }} />- CSS variables in component propsaef2ad6: Update shared css property handling tools to latest versions.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.