v1.1.1
版本发布时间: 2024-09-10 20:06:35
figma/code-connect最新发布版本:v1.1.3(2024-09-11 20:53:19)
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 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
General
- Fixed an issue where the
@figma/code-connect@1.1.0
npm package had an incorrect README