openpencil/packages/core/src/figma-api
mrhard9090 bb86d2ad7f
feat(figma-api): add getNodeByIdAsync() and getMainComponentAsync() (#779)
Scripts written for Figma's dynamic-page mode can call figma.getNodeByIdAsync() and instance.getMainComponentAsync(); both resolve to the same nodes as their synchronous forms. getMainComponentAsync joins the instance surface type check against @figma/plugin-typings.
2026-09-30 05:07:05 +04:00
..
accessors refactor!: move shared primitives below dom-css and core (#771) 2026-09-26 11:39:11 +04:00
accessor-utils.ts fix(fig): record applied instance override fields 2026-09-01 01:04:22 +03:00
compatibility.ts feat(figma-api): add getNodeByIdAsync() and getMainComponentAsync() (#779) 2026-09-30 05:07:05 +04:00
components.ts refactor: replace complex conditional object spreads 2026-09-01 19:49:57 +03:00
fonts.ts fix(deps): patch collaboration websocket driver 2026-07-18 02:49:22 +03:00
index.ts feat(figma-api): add getNodeByIdAsync() and getMainComponentAsync() (#779) 2026-09-30 05:07:05 +04:00
node-types.ts fix(figma-api): align variant combination behavior 2026-08-19 20:05:54 +03:00
page-backgrounds.ts fix(figma-api): implement layout compatibility gaps 2026-08-12 18:50:25 +03:00
plugin-data.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
proxy.ts feat(figma-api): add getNodeByIdAsync() and getMainComponentAsync() (#779) 2026-09-30 05:07:05 +04:00
render-bounds.ts feat(canvas): render arrow stroke caps on lines and open vectors 2026-08-31 21:25:38 +03:00
rescale.ts fix(vector): preserve open segments with regions (#496) 2026-08-12 19:28:37 +03:00
serialization.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
strokes.ts fix(fig): preserve text and stroke overrides 2026-09-01 04:57:43 +03:00
text.ts fix(fig): preserve text and stroke overrides 2026-09-01 04:57:43 +03:00
traversal.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
types.ts fix(layout): refresh effective text flow 2026-08-05 16:07:11 +03:00