Minor Changes
-
0ba3ea3: Keep named imports from
styled-components
that are known to be compatible with@compiled/react
when using thestyled-components-to-compiled
codemod. Currently this only includes thecss
named import.Breaking change: The
buildImport
plugin API has changed. It now passes an array of specifiers to be added to the created import statement instead of just thedefaultSpecifierName
andnamedImport
strings, making it possible to build statements with multiple imports. -
ba66b35: Add styled-components innerRef to ref codemod