mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
Fixed all "Unknown component type" validation errors by: 1. Restored Card sub-components (CardHeader, CardTitle, CardDescription, CardContent, CardFooter) - Restored src/components/ui/card.tsx with all sub-components - Created JSON definitions for all 5 Card sub-components 2. Restored Tabs sub-components (TabsList, TabsTrigger, TabsContent) - Restored src/components/ui/tabs.tsx with all sub-components - Created JSON definitions for all 3 Tabs sub-components 3. Added 20 missing custom page components - Created JSON wrappers for all custom page components - AtomicLibraryShowcase, CodeEditor, ComponentTreeBuilder, etc. - All components properly reference their TypeScript implementations 4. Updated registry system - Enhanced update-registry-from-json.ts to support 'custom' source - Added components directory scanning - Registry now includes all 342 components Results: - ✅ All "Unknown component type" errors resolved - ✅ Registry updated: 322 → 342 components (+20) - ✅ 28 new JSON files created (8 UI sub-components + 20 custom components) - ⚠️ Remaining validation errors are pre-existing schema format issues in page definitions (unrelated to component conversion) Registry Statistics: - Total components: 342 - JSON compatible: 119 - By source: atoms (142), ui (65), molecules (45), icons (38), custom (20), organisms (16), wrappers (10), primitive (6) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>