openpencil/packages
xemc 783cdf9dbc fix(fig): component property definitions/references/assignments never survive a save/reload round trip
parseGuidOrNull requires the strict Figma GUID shape (sessionID:localID),
but every OpenPencil code path that creates a component property definition
uses `prop:<hex>` IDs, which never match. applyComponentMetadata silently
dropped componentPropDefs/componentPropRefs/componentPropAssignments/
variantPropSpecs whenever any entry failed that check, so any component
property created by the app (as opposed to imported straight from a real
Figma file) vanished on the very next save.

Mint a stable synthetic GUID for non-Figma-shaped property IDs instead of
dropping them, memoized per export so defs/refs/assignments/variantPropSpecs
pointing at the same property stay consistent. Also fix INSTANCE_SWAP
default/preferred/assignment values, which reference target node IDs and
had the same GUID-shape assumption, and were never being resolved back to
real node IDs on import in the first place (remapComponentIds only handled
instance.componentId, not these fields).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 08:10:11 +10:00
..
cli feat: add Figma-style variants and component libraries (#512) 2026-08-14 19:31:41 +03:00
core fix(fig): component property definitions/references/assignments never survive a save/reload round trip 2026-08-18 08:10:11 +10:00
demos
docs feat(fig): support text on path 2026-08-17 12:00:01 +03:00
dom-css fix(kiwi): harden FIG containers and DOM imports 2026-08-13 20:33:10 +03:00
fig fix(fig): component property definitions/references/assignments never survive a save/reload round trip 2026-08-18 08:10:11 +10:00
kiwi feat(fig): support text on path 2026-08-17 12:00:01 +03:00
mcp fix(mcp): close orphaned servers after app disconnects (#494) 2026-08-12 18:44:31 +03:00
pen Release v0.14.0 2026-08-10 11:40:44 +03:00
scene-graph feat(fig): support text on path 2026-08-17 12:00:01 +03:00
vue feat(fig): support text on path 2026-08-17 12:00:01 +03:00