Code Connect v1.1.1
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 aPackage.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 withfigma.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
- Fixed an issue where the
@figma/[email protected]
npm package had an incorrect README