Skip to content

v0.3.0

Choose a tag to compare

@Josema Josema released this 15 Oct 07:10
· 9 commits to main since this release
0e84904
  • feat: translate and scale styles, plus the per-axis longhands translateX/translateY and scaleX/scaleY (text transforms run on the GPU)
  • feat: absolute layouter, a mode without Yoga. Every node is placed as an absolutely positioned box. Turn it on with yoga: false on the UI classes, or by leaving out loadYoga on the raw WebGPU APIs
  • feat: node.style accepts numbers for numeric longhands
  • perf: Yoga layouts are only read for nodes that have a new layout
  • perf: faster style resolution. It stops at the first valid rule, caches the unit regex and uses validators that return errors instead of throwing
  • fix: UI skips nodes without a layout, or under a clipping ancestor without one, until the next update