v0.7.0 — Figma-scripting hardening
Hardening pass from real build-session testing (tokens → foundations → icons → components → Storybook on a pnpm + Turborepo + Next.js 16 + Tailwind v4 monorepo).
Added
references/figma-scripting.md— one home for everyfigma_executegotcha (single-bridge-instance preflight,dynamic-pageasync APIs incl.getNodeByIdAsync,resize()axis-lock, batchtimeout,WRAPchunking), wired into all Figma-writing skills.- Opacity token category on the 0–100 scale;
text/onEmphasiscolor role. - "Clip content off by default" standard + post-build audit gate.
Changed
- Figma write-back confirms once up front (pre-empts the safety classifier).
- Figma scripts default to the async APIs under
dynamic-page.
Fixed
- Opacity rendered everything invisible — now authored 0–100, normalized ÷100 on sync.
resize()collapsed auto-layout frames to ~10px — re-assert pattern + audit read-back.- Storybook Controls were dead — args-through render;
ReactElementslots get a boolean helper arg. - Typography
@utilityduplication/drift — shared@import. - esbuild blocked Storybook on fresh pnpm installs —
onlyBuiltDependenciesnote. - Icon subset names validated against the library version.
- Large
WRAPgrids timed out — chunked into manual rows.
Full changelog: https://github.com/jrpease/throughline/blob/v0.7.0/CHANGELOG.md