Packages

styled-components

6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed

Upgrading styled-components From 6.4.2 to 6.4.3

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.4.2Newest 6.x, Latest6.6.0
  1. 6.4.2yours
  2. 6.4.3target
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 6.4.3

    24 Jun 20262 fixes
    • Fixed

      Fix a TypeScript error when wrapping a component whose props can't be statically read, such as Mantine v7's polymorphic-factory components (Button, Card, Menu.Item, and similar). These styled components no longer reject every prop, including children; arbitrary props are accepted again at the JSX call site and via .attrs(), while components with readable prop types stay fully type-checked.

    • Fixed

      Keep TypeScript attribute autocomplete working while you type props on a polymorphic styled component. When a component renders a different element through as (for example as="video"), beginning to type a new prop name could make the whole suggestion list vanish; the rendered element's props now keep autocompleting as you go.

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.