Skip to content

Feature/010 storybook scaffold#168

Open
nathanacurtis wants to merge 3 commits into
mainfrom
feature/010-storybook-scaffold
Open

Feature/010 storybook scaffold#168
nathanacurtis wants to merge 3 commits into
mainfrom
feature/010-storybook-scaffold

Conversation

@nathanacurtis

Copy link
Copy Markdown
Member

No description provided.

nathanacurtis and others added 3 commits June 9, 2026 07:36
Require human-friendly prose in release summaries and individual bullets
("So what?" framing, not API descriptions). Add empty-section pruning.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…tracts, structural CSS

- contract: emit Slots interface + SlotRules visibility const (always/whenTrue/
  whenNotNull/whenValue), with controlling-prop inference for structurally-absent
  elements (shared analysis in transforms/react/variantAnalysis.ts)
- new react transformer: generated/react/scaffold.tsx - BEM markup from merged
  layout tree, data-* variant attributes, aria state attributes, slot/element
  gating from visibility rules and inferred variant conditions; seeds human-owned
  src/react/{Component}.tsx + .extensions.css + .proposed.css once, never overwrites
- new stories transformer: generated/react/stories.tsx - CSF page per component,
  Default + one story per prop-expressible variant; imports the authored component
- css: parents of absolute elements get position:relative (containing block);
  non-absolute siblings positioned so painting follows Figma layer order (last on
  top); structural presence - elements absent from default layout hidden at base,
  un-hidden under including variant selectors
- transform command: --components <keys...> filter; all transformer output now
  lands under each component's generated/ folder
- tests: variantAnalysis suite + structural CSS coverage (414 passing)

Co-Authored-By: Claude Fable 5 <[email protected]>
@nathanacurtis nathanacurtis force-pushed the release/schema-0.26.0-cli-0.22.0 branch from cb7b884 to 516b056 Compare June 22, 2026 23:34
Base automatically changed from release/schema-0.26.0-cli-0.22.0 to main June 22, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant