Initial commit: Clean DSS implementation
Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
This commit is contained in:
39
admin-ui/js/components/index.js
Normal file
39
admin-ui/js/components/index.js
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Design System Server (DSS) - Component Registry
|
||||
*
|
||||
* Central export for all Web Components.
|
||||
* Import this file to register all components.
|
||||
*/
|
||||
|
||||
// Core Components
|
||||
export { default as DsButton } from './ds-button.js';
|
||||
export { DsCard, DsCardHeader, DsCardTitle, DsCardDescription, DsCardContent, DsCardFooter } from './ds-card.js';
|
||||
export { default as DsInput } from './ds-input.js';
|
||||
export { default as DsBadge } from './ds-badge.js';
|
||||
|
||||
// Component list for documentation
|
||||
export const componentList = [
|
||||
{
|
||||
name: 'ds-button',
|
||||
description: 'Interactive button with variants and sizes',
|
||||
variants: ['primary', 'secondary', 'outline', 'ghost', 'destructive', 'success', 'link'],
|
||||
sizes: ['sm', 'default', 'lg', 'icon', 'icon-sm', 'icon-lg']
|
||||
},
|
||||
{
|
||||
name: 'ds-card',
|
||||
description: 'Container for grouped content',
|
||||
subcomponents: ['ds-card-header', 'ds-card-title', 'ds-card-description', 'ds-card-content', 'ds-card-footer']
|
||||
},
|
||||
{
|
||||
name: 'ds-input',
|
||||
description: 'Text input with label, icon, and error states',
|
||||
types: ['text', 'password', 'email', 'number', 'search', 'tel', 'url']
|
||||
},
|
||||
{
|
||||
name: 'ds-badge',
|
||||
description: 'Status indicator badge',
|
||||
variants: ['default', 'secondary', 'outline', 'destructive', 'success', 'warning']
|
||||
}
|
||||
];
|
||||
|
||||
console.log('[DSS] Components loaded:', componentList.map(c => c.name).join(', '));
|
||||
Reference in New Issue
Block a user