Skip to content

Code Connect v1.1.1

Compare
Choose a tag to compare
@tomduncalf-figma tomduncalf-figma released this 10 Sep 12:06
· 10 commits to main since this release

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 #118, #89)
  • Fixed an issue where backticks could not be used in the example code (fixes #139)
  • Fixed an issue with wildcard paths in import mappings
  • Fixed an error when trying to use the icon script with component sets

General