Skip to content

Releases: hudochenkov/postcss-styled-syntax

0.7.1

16 Jan 21:37

Choose a tag to compare

  • Improved nodes range detection

0.7.0

04 Nov 22:27

Choose a tag to compare

  • Added support for passing a function to styled instead using it as a tagged template. For example, styled.div(props => `color: red;`), or styled(Component)(props => `color: red;`)

0.6.4

04 Jan 14:23

Choose a tag to compare

  • Fixed parsing for CSS with escaped characters

0.6.3

02 Jan 18:15

Choose a tag to compare

  • Fixed interpolation range if comment after interpolation has a backslash

0.6.2

30 Dec 23:00

Choose a tag to compare

  • Fix a JS parsing issue if a comment between a tag function and template literal is present

0.6.1

29 Dec 23:35

Choose a tag to compare

  • Fix interpolation ranges if there is a comment inside an interpolation
  • Catch more JavaScript parsing errors

0.6.0

27 Dec 18:18

Choose a tag to compare

  • Use TypeScript instead of @typescript-eslint/typescript-estree for parsing. This fixes “unsupported TypeScript version” messages and reduces install size.
  • Fix parsing for two interpolations before rule selector. Fixes #24
  • Drop support for Node.js 14 and 16

0.5.0

12 Sep 23:04

Choose a tag to compare

  • Moved typescript from peerDependencies to dependencies. This should also remove “unsupported TypeScript version” messages. Your project doesn't need to be a TypeScript project. typescript package is used as a parser for JavaScript and TypeScript files.

0.4.0

07 Mar 08:58

Choose a tag to compare

  • Added raws.isRuleLike to all Roots. Enable PostCSS and Stylelint to adjust to CSS-in-JS quirks. E. g. if something processes only rules, it could also process root if this flag is present

0.3.3

20 Feb 21:48

Choose a tag to compare

  • Fix: Catch JavaScript parsing errors