Skip to content

Releases: davesnx/styled-ppx

v0.30.3 Support Selectors Level 3 and new website

01 Aug 10:03
f6fcccd
Compare
Choose a tag to compare
  • Support CSS Selectors Level 3. Fixing #274 and #268
  • Interpolation variables support (') #272
  • Add type annotation to interpolated rules #285
  • New rules for parsing keyframes. Now supports wrap in curly or not.
  • Support complex at_media combinations (almost Media Queries Level 5)
  • Treat prelude interpolation (in selectors/media) to be treated as string and respect whitespace.
  • Push a new version of the documentation with all the goodies: Syntax highlight, fix the search box, fixed dark theme.
  • Added a bunch of documentation sections: CSS Support, FAQ, Guides
  • Polished most pages from the "Reference"

v0.25 Make interpolation type-safe

27 Aug 09:11
Compare
Choose a tag to compare

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

  • Add a unit as last argument #228 (Fixes #142)
  • Shadowing makeProps by dynamic user props #227 (Fixes #143)
  • Remove restriction for html tags #224 (Fixes #222)
  • Add alias for type_ #225 (Fixes #221)

v0.24 Support for interpolation

11 Aug 15:32
Compare
Choose a tag to compare
  • 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

18 Jul 07:54
Compare
Choose a tag to compare
v0.20.1-0

refactor: Remove isEvent boolean from domProps

v0.20 All React props

26 May 09:34
Compare
Choose a tag to compare
v0.20.0

0.20.0

v0.19

26 May 09:35
Compare
Choose a tag to compare
v0.19.0

0.19.0

v0.18.0

26 May 09:24
Compare
Choose a tag to compare
0.18.0

v0.17.1

26 May 09:16
Compare
Choose a tag to compare
0.17.1

v0.17.0 Support for css

26 May 09:17
Compare
Choose a tag to compare

Release v0.16.0

26 May 09:17
Compare
Choose a tag to compare