Skip to content

@directededges/specs-cli v0.35.0

Choose a tag to compare

@nathanacurtis nathanacurtis released this 21 Oct 20:48
· 75 commits to main since this release

Fixed

  • A composition's split-concern files now carry only what a composition has. api.yaml drops the meaningless props key, variants.yaml holds elements/layout instead of default/variants, and examples.yaml uses slotContent (ADR-109)

Dependency updates

  • A composition's generated output is correct end to end now. Via @directededges/specs-from-figma 0.37.0, the engine itself emits a composition's flat shape — no props, no default — matching this release's file-writer fix, so neither layer reintroduces the old component-shaped output
  • Composition contract types got names and fields to match. Via @directededges/specs-schema 0.38.0: new CompositionApiDocument/CompositionVariantsDocument/CompositionExamplesDocument types; the component-side equivalents renamed from Spec*Document to Component*Document