This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@compiled/babel-plugin@0.28.3
Patch Changes
7d3406c9: Previously, if you passed props => ... directly to styled.div or css(), and the return value of the arrow function was an object, you would cause @compiled/babel-plugin to crash:
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@compiled/babel-plugin@0.28.3
Patch Changes
7d3406c9: Previously, if you passed
props => ...
directly tostyled.div
orcss()
, and the return value of the arrow function was an object, you would cause@compiled/babel-plugin
to crash:While at the same time, wrapping the return value inside a logical expression or ternary expression would make it work perfectly fine:
With this version, both of these forms will work without issue. :)
d5c6578c: Fix props (used by Compiled) being incorrectly forwarded to React when default values are used.
@compiled/parcel-transformer@0.14.7
Patch Changes
@compiled/react@0.16.10
Patch Changes