dreamstack/compiler
enzotar a290bc1891 feat: container variant props, 11-component registry, rich dashboard
Parser:
- column/row/stack now parse trailing { props } after ]
- Enables: column [...] { variant: "card" }

Codegen:
- Container props dispatch: variant, class, click, style, layout
- variant_to_css() maps (tag, variant) → CSS class
- variant_map_js() for dynamic variants via inline JS map
- 230+ lines design system CSS (button/badge/card/dialog/toast/
  progress/alert/separator/toggle/avatar/stat)

Registry (11 components):
- button, input, card, badge, dialog, toast
- NEW: progress, alert, separator, toggle, avatar
- All embedded via include_str! for offline use

Examples:
- showcase.ds: component gallery with variant prop
- dashboard.ds: admin dashboard with glassmorphism cards
2026-02-26 13:58:33 -08:00
..
ds-analyzer feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-cli feat: container variant props, 11-component registry, rich dashboard 2026-02-26 13:58:33 -08:00
ds-codegen feat: container variant props, 11-component registry, rich dashboard 2026-02-26 13:58:33 -08:00
ds-incremental feat: component registry with styled variants, dreamstack add/convert CLI, and showcase 2026-02-26 13:27:49 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: container variant props, 11-component registry, rich dashboard 2026-02-26 13:58:33 -08:00
ds-types improve: dependent types review — cycle detection, precision, error quality 2026-02-26 11:21:43 -08:00