Files
dss/admin-ui/ds.config.json
DSS 1644110cee
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
feat(storybook): Add Web Component support to story generator
The Storybook generator now supports Web Components in addition to React:

- Added ComponentType enum (REACT, WEB_COMPONENT)
- Enhanced _parse_component to detect Web Components via HTMLElement/customElements
- Added _parse_web_component to extract attributes from JSDoc and observedAttributes
- Added _generate_csf3_web_component for Web Component story generation
- Updated file patterns to include .js files
- Moved ds-button.js to src/components/ for proper discovery
- Fixed missing requests import in figma.py

The generator now successfully generates Storybook stories for admin-ui's
ds-button Web Component with all variants, sizes, and states.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 14:02:01 -03:00

28 lines
641 B
JSON

{
"name": "dss-admin-ui",
"version": "2.0.0",
"description": "The administrative user interface for the Design System Server.",
"figma": {
"files": [
{
"key": "figd_ScdBk47HlYEItZbQv2CcF9aq-3TfWbBXN3yoRKWA",
"name": "Obra-shadcn-ui--uikit"
}
],
"auto_sync": false
},
"skin": "shadcn",
"base_theme": "light",
"output": {
"tokens_dir": "./tokens/compiled",
"themes_dir": "./themes",
"components_dir": "./components",
"formats": [
"css",
"scss",
"js"
]
},
"created_at": "2025-12-10T12:52:18.513773",
"updated_at": "2025-12-10T13:46:05.807775"
}