openpencil/packages/core/tests/figma-api
Danila Poyarkov b3f35ab650
fix: keep stored page backgrounds and number layers by their own page (#949)
Follow-ups from review of #940. A document handed to the editor with a theme keeps its first page's stored background; only a page without one takes the theme default. Canvas layers are numbered from the page they go on rather than the page on screen. Script strokes are copied with copyStrokes so the node owns its nested paint values. CanvasHelper switches only a fresh document (one empty page on the exact dark default) to the light page, and the round-trip test imports SceneGraph from its own package.
2026-10-07 13:35:59 +00:00
..
variables feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
boolean-bounds.test.ts fix: match Figma's transforms, strokes, booleans, sections, and names (#931) 2026-10-07 08:36:50 +00:00
create-defaults.test.ts fix: match Figma's transforms, strokes, booleans, sections, and names (#931) 2026-10-07 08:36:50 +00:00
effects.test.ts test(core): move the fig round-trip suite home, and stop test imports drilling 2026-10-01 14:11:53 +04:00
group-coordinates.test.ts fix: share Figma's creation and grouping between editor and plugin API (#919) 2026-10-06 12:28:52 +00:00
pending-layout.test.ts fix(layout): size each axis on its own and lay out before geometry reads (#942) 2026-10-07 11:52:08 +00:00
slots.test.ts feat(core): name the node type createInstance and detachInstance return (#918) 2026-10-06 09:35:03 +00:00
stroke-geometry.test.ts fix: keep stored page backgrounds and number layers by their own page (#949) 2026-10-07 13:35:59 +00:00
structure-parity.test.ts fix: share Figma's creation and grouping between editor and plugin API (#919) 2026-10-06 12:28:52 +00:00
transform-parity.test.ts fix: match Figma's transforms, strokes, booleans, sections, and names (#931) 2026-10-07 08:36:50 +00:00