Releases: hudochenkov/postcss-styled-syntax
Releases · hudochenkov/postcss-styled-syntax
0.7.1
0.7.0
- Added support for passing a function to
styled
instead using it as a tagged template. For example,styled.div(props => `color: red;`)
, orstyled(Component)(props => `color: red;`)
0.6.4
- Fixed parsing for CSS with escaped characters
0.6.3
- Fixed interpolation range if comment after interpolation has a backslash
0.6.2
- Fix a JS parsing issue if a comment between a tag function and template literal is present
0.6.1
- Fix interpolation ranges if there is a comment inside an interpolation
- Catch more JavaScript parsing errors
0.6.0
0.5.0
- Moved
typescript
frompeerDependencies
todependencies
. 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
- 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 processroot
if this flag is present
0.3.3
- Fix: Catch JavaScript parsing errors