Releases: Jarzka/stylefy
Releases · Jarzka/stylefy
1.14.0
1.14.0-beta1
- Adds support for defining modes in vector format (because the order of CSS pseudoelements is sometimes important)
1.13.3
1.13.2
1.13.1
1.13.0
1.13.0-beta2
- 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
- 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
1.12.0-beta1
- Adds support for Garden custom CSS function macro
defcssfn
. See discussion: #34 - Updates Garden to the latest version (1.3.2 --> 1.3.6). See Garden changelog here: https://github.com/noprompt/garden/blob/master/ChangeLog.md