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
widthandheightnow include optional properties likeminWidth,maxWidth,minHeight, andmaxHeight. LayoutMixininterface has been supplemented with'layoutSizingHorizontal'andlayoutSizingVerticalproperties 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.FrameNodes with auto layout enabled now supportlayoutWrap,counterAxisAlignContent, andcounterAxisSpacing.TextNodeinterface has been expanded to includetextTruncationandmaxLines.