openpencil/packages/docs/programmable/cli
mrhard9090 9696e5d59c
feat(figma-api): add swapComponent() to instances (#780)
instance.swapComponent(component) points an instance at another component, as in Figma, through the graph's shared swap that the editor's variant picker uses. It asserts editability, so an instance inside a read-only library definition cannot be swapped, and joins the instance surface check against @figma/plugin-typings.
2026-09-30 05:29:43 +04:00
..
analyzing.md docs(cli): use released openpencil command 2026-05-29 15:56:52 +03:00
exporting.md feat: export components as Storybook stories (#751) 2026-09-30 03:16:47 +04:00
inspecting.md fix: use official Homebrew cask installation guidance (#712) 2026-09-17 13:36:17 +03:00
scripting.md feat(figma-api): add swapComponent() to instances (#780) 2026-09-30 05:29:43 +04:00