Skip to main content

Version 1, Update 28

New:

  • reactions node properties for prototyping now support writes (e.g. FrameNode reactions )
  • Updated Reaction type to allow null Action or Trigger. This change more accurately reflects what is possible through the UI and allows you to create reactions with partially null properties.

Version 1, Update 26

New:

  • Added getRangeListOptions, setRangeListOptions, getRangeIndentation, setRangeIndentation to TextNode to allow for creation of ordered/unordered lists and to adjust indentation levels

Version 1, Update 22

New:

  • Added swapComponent to swap an instance's main component to a different main component. This function preserves overrrides using the same heuristics as instance swap in the Figma editor UI.

Version 1, Update 21

New:

  • Added commitUndo to commit new undo states to undo history. This does not trigger an undo.
  • Added triggerUndo to trigger an undo action. This reverts to the last state in undo history.

Version 1, Update 20

New:

  • Added moveLocalPaintStyleAfter, moveLocalTextStyleAfter, moveLocalEffectStyleAfter, and moveLocalGridStyleAfter to reorder local styles within folders.
  • Added moveLocalPaintFolderAfter, moveLocalTextFolderAfter, moveLocalEffectFolderAfter, and moveLocalGridFolderAfter to reorder style folders that share the same parent folder.