Version 1, Update 18
New:
- Support for Variants! This update comes with a new node type: learn more about component sets.
- New functions
combineAsVariants
andimportComponentSetByKeyAsync
to support variants.
Fixed:
- Fixed a bug where
instance.children
would not return any children when the instance was invisible - Fixed a bug where setting a local style to private (by prepending
_
to the style name) did not stop it from being published - Fixed a bug where accessing
textNode.textAutoResize
would crash - Fixed a bug where it was possible to give a node invalid coordinates by setting
relativeTransform
to some value where the two axes had zero dot product - Fixed a bug where components imported from the team library became writeable
- Fixed a bug where
figma.getLocal*Styles()
would return an array containingnull
or invalid style nodes