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

@figma/code-connect

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma/code-connect - npm Package Versions

13

1.1.1

Diff

Changelog

Source

Code Connect v1.1.1 (10th September 2024)

Fixed

General

  • Fixed an issue where the @figma/code-connect@1.1.0 npm package had an incorrect README
tduncalf-figma
published 1.1.0 •

Changelog

Source

Code Connect v1.1.0 (10th September 2024)

Features

HTML

  • Added support for documenting HTML-based frameworks (including Web Components, Angular and Vue), using the new html parser. See the documentation for more information.

    HTML support for Code Connect is in preview, and the API is liable to change during this period. Please let us know your feedback via GitHub Issues.

SwiftUI

  • Added a swiftPackagePath configuration option to specify a custom path to a Package.swift file to run Code Connect from.

React

  • Code Connect files created in the CLI assistant will now start including some auto-generated prop mappings between Figma properties and linked code props. This is an early feature and support for different prop types is limited.

General

  • Restructured the Code Connect documentation. All documentation can now be found in the docs directory.

Fixed

React

  • figma.nestedProps can now be used in conjunction with figma.boolean for conditionally hidden nested instances (fixes https://github.com/figma/code-connect/issues/118, https://github.com/figma/code-connect/issues/89)
  • Fixed an issue where backticks could not be used in the example code (fixes https://github.com/figma/code-connect/issues/139)
  • Fixed an issue with wildcard paths in import mappings
  • Fixed an error when trying to use the icon script with component sets
joeyang-figma
published 1.0.6 •

Changelog

Source

Code Connect v1.0.6 (21st August 2024)

Fixed

React

  • Fixed issue where props with special characters such as hyphens would not render properly. (https://github.com/figma/code-connect/issues/116)

Features

React

  • figma.enum now supports floating point numbers

Compose

  • Update the dependency for Code Connect to use Kotlin 2.0 libraries
tduncalf-figma
published 1.0.5 •

Changelog

Source

Code Connect v1.0.5 (13th August 2024)

Fixed

React

  • Fixed an issue around creation of Code Connect files from the CLI assistant (fixes https://github.com/figma/code-connect/issues/125)
tduncalf-figma
published 1.0.4 •

Changelog

Source

Code Connect v1.0.4 (7th August 2024)

Fixed

React

  • Fixed rendering of identifiers, functions and objects when used as children

SwiftUI

  • Updated the component definition in FigmaConnect protocol to be optional and have a default implementation.

Compose

  • Added a more helpful error message when the JDK version is too low.

Features

General

  • Added error message to suggest splitting publish when request too large
  • CLI assistant support for selecting file exports to use in Code Connect template
  • New --batch-size argument for publish command in order to split uploading into smaller "batches". This will allow for large uploads without having to split running the publish command with different directories.
mforsgren
published 1.0.3 •

Changelog

Source

Code Connect v1.0.3 (23th July 2024)

Fixed

General

React

  • Add support for hyphens in prop names (fixes https://github.com/figma/code-connect/issues/97)

SwiftUI

  • Fixed checkouts folder resolution edge case

Compose

  • Fixed issue with create command creating invalid code
  • Added import resolution for components

Features

General

  • Added support for SwiftUI and Compose in the CLI Assistant
  • Added --skip-update-check flag
  • Added --label flag to the publish and unpublish commands to publish or unpublish to a custom label
  • We now print the label used when running the publish command
  • Improved autolinking algorithm
tduncalf-figma
published 1.0.2 •

Changelog

Source

Code Connect v1.0.2 (10th July 2024)

Fixed

General

  • Improvements to CLI Assistant

React

  • Prevent rendering empty strings as prop values (Fixes: https://github.com/figma/code-connect/issues/67)
  • Fix output when there are multiple return statements
  • Fix wildcard importPaths mappings with nested folders
  • Fix boolean mappings for lowercase boolean-like strings (Fixes: https://github.com/figma/code-connect/issues/70)
  • Fix boolean-like keys in enums (Fixes: https://github.com/figma/code-connect/issues/74)

SwiftUI

  • Fix spaces in Xcode file path
tduncalf-figma
published 1.0.1 •

Changelog

Source

Code Connect v1.0.1 (20th June 2024)

Fixed

General

  • The automatic update check introduced in v1.0.0 did not show the correct update command for React users with the @figma/code-connect package installed locally – it always showed the command for globally updating the package.

    We now show both npm install @figma/code-connect@latest and npm install -g @figma/code-connect@latest as options. React users with the package installed locally should use npm install @figma/code-connect@latest, and users of other targets (or with the package installed globally) should use npm install -g @figma/code-connect@latest.

    We have temporarily removed the update command added in v1.0.0.

tduncalf-figma
published 1.0.0 •

Changelog

Source

Code Connect v1.0.0 (19th June 2024)

Features

General

Jetpack Compose

  • Added support for Android Jetpack Compose. See the README to get started

React

  • Interactive setup flow, launched by running figma connect, which guides you through the setup process and auto-connects your components

Fixed

General

  • Automatic config migration (added in v0.2.0) now correctly preserves include/exclude config options
  • Icon script helpers moved to a named export so they can be imported correctly (see README)

React

  • Nested helpers within figma.nestedProps now work as expected
  • Props can now be rendered in nested object props

SwiftUI

  • create now outputs Swift files with the correct syntax
tduncalf-figma
published 0.2.1 •

Changelog

Source

Code Connect v0.2.1 (17th June 2024)

Fixed

React

  • Fixed a bug in v0.2.0 where source paths for components could be incorrect
  • Fixed a bug in v0.2.0 where Code Connect files using the new prop types failed to validate

SwiftUI

  • Fixed parsing of Code Connect files using @FigmaChildren annotations
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