Releases

v0.25 Make interpolation type-safe

Published on Fri Aug 27 2021

Features

This release includes a big change in how the parser treats interpolation, making it possible to have type holes in the CSS values, enabling type-safe variables at runtime with bs-css types.

Most single-value properties are supported and a few shorthands as well. We will enable as more as we found them useful. This will be documented under: https://styled-ppx.vercel.app/usage/interpolation

  • Add interpolation and enforce parser rules for shadow #226
  • Type-safe interpolation, for single-value properties and shorthand properties (margin, padding) #219

Fixes

v0.24.0 Support for interpolation

Published on Wed Aug 11 2021

  • Support for interpolation within values (at any position).
  • Added a solid syntax: $()
  • Pushed new documentation explaining the array API
  • Added CssJs.label for styled calls.
  • Rename css to cx, and keep cx

v0.20.1 Dynamic components

Published on Sat Jul 18 2020

v0.20.0 All React props

Published on Tue May 26 2020

v0.19.0

Published on Tue May 26 2020

v0.18.0

Published on Tue May 26 2020

v0.17.1

Published on Tue May 26 2020

v0.17.0 Support for css

Published on Tue May 26 2020