Version 1, Update 69
Coinciding with the roll-out of AutoLayout v5 in Figma, we're excited to bring you plugin support for these new enhancements! This update includes various new properties to our Plugin API which will allow for more precise control of layout and positioning parameters using AutoLayout v5.
New:
- Nodes that support
width
andheight
now include optional properties likeminWidth
,maxWidth
,minHeight
, andmaxHeight
. LayoutMixin
interface has been supplemented with'layoutSizingHorizontal'
andlayoutSizingVertical
properties supporting'FIXED'
,'HUG'
, and'FILL'
values. This means that most nodes that accept children and can be made the child of an auto layout node support these properties.FrameNode
s with auto layout enabled now supportlayoutWrap
,counterAxisAlignContent
, andcounterAxisSpacing
.TextNode
interface has been expanded to includetextTruncation
andmaxLines
.