| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-24 | 775 Bytes | |
| styled-components@6.4.3 source code.tar.gz | 2026-06-24 | 398.7 kB | |
| styled-components@6.4.3 source code.zip | 2026-06-24 | 556.7 kB | |
| Totals: 3 Items | 956.1 kB | 0 | |
Patch Changes
- f692ec2: 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, includingchildren; arbitrary props are accepted again at the JSX call site and via.attrs(), while components with readable prop types stay fully type-checked. - f692ec2: Keep TypeScript attribute autocomplete working while you type props on a polymorphic styled component. When a component renders a different element through
as(for exampleas="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.