styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Upgrading styled-components From 6.4.1 to 6.4.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 5
- fixes
Release by release
- Fixed
Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed.
- Fixed
Apply all chain levels' styles when an extended styled component renders with the
asprop under Preact'sreact-compat. - Fixed
Respect a custom
toStringon plain value objects (e.g. design tokens) when interpolated into a styled component, rather than walking the object's keys as CSS declarations. - Fixed
Fix a TypeScript error when wrapping a component whose props include an
asprop with a non-string type (such as Next.jsLink'sas?: Url). The styled component now accepts either the styled-components polymorphism value or the wrapped component's ownastype, so spreading the wrapped component's props onto the styled component is assignable again. - Fixed
Restore reliable styling in production browser bundles built without a runtime
processglobal.
- Fixed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.