@figma/plugin-typings
Advanced tools
Comparing version 1.18.2 to 1.19.0
@@ -519,3 +519,4 @@ // Figma Plugin API version 1, update 14 | ||
layoutAlign: "MIN" | "CENTER" | "MAX" | "STRETCH" // applicable only inside auto-layout frames | ||
layoutAlign: "MIN" | "CENTER" | "MAX" | "STRETCH" | "INHERIT" // applicable only inside auto-layout frames | ||
layoutGrow: number | ||
@@ -609,7 +610,18 @@ resize(width: number, height: number): void | ||
layoutMode: "NONE" | "HORIZONTAL" | "VERTICAL" | ||
primaryAxisSizingMode: "FIXED" | "AUTO" // applicable only if layoutMode != "NONE" | ||
counterAxisSizingMode: "FIXED" | "AUTO" // applicable only if layoutMode != "NONE" | ||
horizontalPadding: number // applicable only if layoutMode != "NONE" | ||
verticalPadding: number // applicable only if layoutMode != "NONE" | ||
primaryAxisAlignItems: "MIN" | "MAX" | "CENTER" | "SPACE_BETWEEN" // applicable only if layoutMode != "NONE" | ||
counterAxisAlignItems: "MIN" | "MAX" | "CENTER" // applicable only if layoutMode != "NONE" | ||
paddingLeft: number // applicable only if layoutMode != "NONE" | ||
paddingRight: number // applicable only if layoutMode != "NONE" | ||
paddingTop: number // applicable only if layoutMode != "NONE" | ||
paddingBottom: number // applicable only if layoutMode != "NONE" | ||
itemSpacing: number // applicable only if layoutMode != "NONE" | ||
horizontalPadding: number // DEPRECATED: use the individual paddings | ||
verticalPadding: number // DEPRECATED: use the individual paddings | ||
layoutGrids: ReadonlyArray<LayoutGrid> | ||
@@ -616,0 +628,0 @@ gridStyleId: string |
{ | ||
"name": "@figma/plugin-typings", | ||
"version": "1.18.2", | ||
"version": "1.19.0", | ||
"description": "Typings for the Figma Plugin API", | ||
@@ -5,0 +5,0 @@ "main": "", |
28381
720