Skip to content

v0.7.0 — Figma-scripting hardening

Choose a tag to compare

@jrpease jrpease released this 08 Jun 19:16
0d2e87a

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 every figma_execute gotcha (single-bridge-instance preflight, dynamic-page async APIs incl. getNodeByIdAsync, resize() axis-lock, batch timeout, WRAP chunking), wired into all Figma-writing skills.
  • Opacity token category on the 0–100 scale; text/onEmphasis color 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; ReactElement slots get a boolean helper arg.
  • Typography @utility duplication/drift — shared @import.
  • esbuild blocked Storybook on fresh pnpm installs — onlyBuiltDependencies note.
  • Icon subset names validated against the library version.
  • Large WRAP grids timed out — chunked into manual rows.

Full changelog: https://github.com/jrpease/throughline/blob/v0.7.0/CHANGELOG.md