Skip to content

Releases: Jarzka/stylefy

1.14.0

17 Aug 11:40
Compare
Choose a tag to compare
  • Adds support for defining modes in vector format (because the order of CSS pseudoelements is sometimes important)

The project also got a new logo with this release.

1.14.0-beta1

12 Aug 16:56
Compare
Choose a tag to compare
1.14.0-beta1 Pre-release
Pre-release
  • Adds support for defining modes in vector format (because the order of CSS pseudoelements is sometimes important)

1.13.3

15 May 15:26
Compare
Choose a tag to compare
  • Fix incorrect version number

1.13.2

15 May 15:22
Compare
Choose a tag to compare
  • Fix compile error in 1.13.1

1.13.1

11 May 07:37
Compare
Choose a tag to compare
  • Prevents the developer from entering duplicate keyframe identifiers into the DOM by mistake (PR). Thanks @iterati.

1.13.0

09 May 20:27
Compare
Choose a tag to compare
  • Same as 1.13.0 beta 1 & 2.

1.13.0-beta2

09 May 19:51
Compare
Choose a tag to compare
1.13.0-beta2 Pre-release
Pre-release
  • DOM node for storing constant styles is not touched if new styles are not being added. Even touching the node can have font flickering effect on some browsers in certain situations.

1.13.0-beta1

05 May 16:58
a7afd76
Compare
Choose a tag to compare
1.13.0-beta1 Pre-release
Pre-release
  • Adds a new core API function: prepare-style.

This is ultimately the same thing as prepare-styles, but it takes only one style map as a parameter and returns it. This makes it easy to prepare a style along with use-style:

[:div (use-style (prepare-style style))]

I want to remind that just as with prepare-styles, the need for using prepare-style is rare, but when it's needed, it's now a bit easier to use if the render function needs only one or two style maps to be prepared. If there are multiple style maps that need to be prepared, it is recommended to call prepare-styles instead.

  • Updating DOM during prepare-styles has been heavily optimised

Previously DOM was updated after every single sub-style preparation. Now the update is done only after the whole style map has been prepared, and only if the style map does not already exist in the DOM.

1.12.0

25 Feb 14:34
Compare
Choose a tag to compare
  • Same as 1.12.0-beta1

1.12.0-beta1

15 Feb 16:37
Compare
Choose a tag to compare
1.12.0-beta1 Pre-release
Pre-release