github stevenpetryk/mafs v0.11.0
v0.11.x: Custom components!

latest releases: v0.19.0, v0.18.8, v0.18.7...
20 months ago
  • v0.11.1 and v0.11.2 address bugs relating to the --mafs-user-transform custom property being blank when there are no Transform components on the canvas.

Mafs now supports custom components! Send in the dancing pizzas:

This release exposes a few APIs for end-user consumption:

  • --mafs-view-transform and --mafs-user-transform, which are CSS matrices for use in style.transform attributes.
  • useTransformContext, which are those same matrices but accessible from JavaScript.
  • vec.toCSS(matrix) which will print a matrix ("matrix(...)") for usage in CSS/SVG.
  • usePaneContext which indicates which "panes" are visible to the user, allowing you to avoid rendering offscreen elements.

Don't miss a new mafs release

NewReleases is sending notifications on new releases.