feat(storybook): Add Web Component support to story generator
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
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>
This commit is contained in:
@@ -24,5 +24,5 @@
|
||||
]
|
||||
},
|
||||
"created_at": "2025-12-10T12:52:18.513773",
|
||||
"updated_at": "2025-12-10T13:01:40.642236"
|
||||
"updated_at": "2025-12-10T13:46:05.807775"
|
||||
}
|
||||
Reference in New Issue
Block a user