Skip to content

Releases: styled-components/babel-plugin-styled-components

v1.11.0

29 Jul 15:18
Compare
Choose a tag to compare

Thank you to all our contributors!

  • ensure a cache miss (#283)
  • add namespace option. (#281)
  • update dependencies (#292)
  • Support Spread Element (#286)

v1.10.7

25 Jan 19:53
Compare
Choose a tag to compare

emit styled('tag') instead of styled.tag for css prop (#266); this handles if the given tag is not in the dom elements whitelist yet in styled-components proper

fixes styled-components/styled-components#2965 (comment)

v1.10.6

01 Jul 22:27
Compare
Choose a tag to compare

Fix import-seeking loop regression (introduced in 1.10.3) that can occur when running the babel plugin over ESM files without a styled import, #234 thanks @ZauberNerd

v1.10.5

01 Jul 14:10
Compare
Choose a tag to compare

Thanks to @ZauberNerd for figuring out an edge case with import detection in the "css" prop handling code (was causing some stalled compliations in certain project setups) #233

v1.10.4

28 Jun 00:42
Compare
Choose a tag to compare

Fix for babel type checks potentially not existing due to older versions being used via package manager resolution 64d9b92

v1.10.3

27 Jun 18:25
Compare
Choose a tag to compare
  • do not try to transpile things we don't own (#230)

  • customize css prop component injection depending on use case (#228)

  • Support custom elements (#229)

  • Support nested + lowercase components (#229)

  • fix ssr transpilation of object styles in the css prop (#229)

v1.10.2

24 Jun 13:53
Compare
Choose a tag to compare

fix SSR support for styled HOC + object styles #227

v1.10.1

15 Jun 23:07
e3829d2
Compare
Choose a tag to compare

Fix transpilation of the "css" prop to be stable under SSR and receive all the minification goodies

v1.10.0

17 Dec 09:32
Compare
Choose a tag to compare
  • Add support for the css prop from the styled-components Babel macro

v1.9.3

10 Dec 14:42
Compare
Choose a tag to compare

Fixes a critical bug in the css prop transpilation, which would cause the output to be invalid. Please upgrade as soon as possible if you want to use the css prop!