New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@figma/plugin-typings

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma/plugin-typings - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

22

index.d.ts

@@ -1,2 +0,2 @@

// Figma Plugin API version 1, update 8
// Figma Plugin API version 1, update 9

@@ -422,2 +422,10 @@ declare global {

type OverlayPositionType = "CENTER" | "TOP_LEFT" | "TOP_CENTER" | "TOP_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_CENTER" | "BOTTOM_RIGHT" | "MANUAL"
type OverlayBackground =
{ readonly type: "NONE" } |
{ readonly type: "SOLID_COLOR", readonly color: RGBA }
type OverlayBackgroundInteraction = "NONE" | "CLOSE_ON_CLICK_OUTSIDE"
////////////////////////////////////////////////////////////////////////////////

@@ -472,2 +480,4 @@ // Mixins

layoutAlign: "MIN" | "CENTER" | "MAX" // applicable only inside auto-layout frames
resize(width: number, height: number): void

@@ -542,4 +552,14 @@ resizeWithoutConstraints(width: number, height: number): void

layoutMode: "NONE" | "HORIZONTAL" | "VERTICAL"
counterAxisSizingMode: "FIXED" | "AUTO" // applicable only if layoutMode != "NONE"
horizontalPadding: number // applicable only if layoutMode != "NONE"
verticalPadding: number // applicable only if layoutMode != "NONE"
itemSpacing: number // applicable only if layoutMode != "NONE"
overflowDirection: OverflowDirection // PROPOSED API ONLY
numberOfFixedChildren: number // PROPOSED API ONLY
readonly overlayPositionType: OverlayPositionType // PROPOSED API ONLY
readonly overlayBackground: OverlayBackground // PROPOSED API ONLY
readonly overlayBackgroundInteraction: OverlayBackgroundInteraction // PROPOSED API ONLY
}

@@ -546,0 +566,0 @@

2

package.json
{
"name": "@figma/plugin-typings",
"version": "1.8.0",
"version": "1.9.0",
"description": "Typings for the Figma Plugin API",

@@ -5,0 +5,0 @@ "main": "",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc