dreamstack/registry/registry.json
enzotar 7805b94704 feat: component registry with styled variants, dreamstack add/convert CLI, and showcase
- Phase 1: Component parser + codegen (emit_component_decl, emit_component_use, emit_match)
- Phase 2: 6 registry components (button, input, card, badge, dialog, toast)
- Phase 3: dreamstack add CLI with dependency resolution and --list/--all
- Phase 4: dreamstack convert TSX→DS transpiler with --shadcn GitHub fetch
- Phase 5: 120+ lines variant CSS (buttons, badges, cards, dialog, toast, input)
- New example: showcase.ds demonstrating all component styles
2026-02-26 13:27:49 -08:00

76 lines
No EOL
2.2 KiB
JSON

{
"$schema": "https://dreamstack.dev/schema/registry.json",
"name": "dreamstack",
"homepage": "https://dreamstack.dev",
"items": [
{
"name": "button",
"type": "registry:component",
"title": "Button",
"description": "A styled button with variant support (primary, secondary, ghost, destructive)",
"files": [
{
"path": "registry/components/button.ds"
}
]
},
{
"name": "input",
"type": "registry:component",
"title": "Input",
"description": "Text input with label, placeholder, and error state",
"files": [
{
"path": "registry/components/input.ds"
}
]
},
{
"name": "card",
"type": "registry:component",
"title": "Card",
"description": "Content container with title and styled border",
"files": [
{
"path": "registry/components/card.ds"
}
]
},
{
"name": "badge",
"type": "registry:component",
"title": "Badge",
"description": "Status badge with color variants (success, warning, error, info)",
"files": [
{
"path": "registry/components/badge.ds"
}
]
},
{
"name": "dialog",
"type": "registry:component",
"title": "Dialog",
"description": "Modal dialog with overlay and close button",
"registryDependencies": [
"button"
],
"files": [
{
"path": "registry/components/dialog.ds"
}
]
},
{
"name": "toast",
"type": "registry:component",
"title": "Toast",
"description": "Notification toast with auto-dismiss",
"files": [
{
"path": "registry/components/toast.ds"
}
]
}
]
}