mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-25 14:14:57 +00:00
fix: Consolidate and verify JSON component exports (Task 8)
- Remove duplicate form.json import from json-components.ts - Add missing interface exports to interfaces/index.ts: - loading-screen interface - sparkle interface - Add missing registry entries for FormField and InputOTP - Update registry statistics: 360 total, 204 jsonCompatible (56.66%) - Verify all 127 exports have valid interfaces - All exports now properly registered and indexed Build: PASSED ✓ Coverage: 56.66% jsonCompatible entries Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -126,3 +126,5 @@ export * from './empty-canvas-state'
|
|||||||
export * from './schema-code-viewer'
|
export * from './schema-code-viewer'
|
||||||
export * from './toolbar-actions'
|
export * from './toolbar-actions'
|
||||||
export * from './app-header'
|
export * from './app-header'
|
||||||
|
export * from './loading-screen'
|
||||||
|
export * from './sparkle'
|
||||||
|
|||||||
@@ -205,7 +205,6 @@ import formDef from '@/components/json-definitions/form.json'
|
|||||||
import glowCardDef from '@/components/json-definitions/glow-card.json'
|
import glowCardDef from '@/components/json-definitions/glow-card.json'
|
||||||
import helperTextDef from '@/components/json-definitions/helper-text.json'
|
import helperTextDef from '@/components/json-definitions/helper-text.json'
|
||||||
import dropdownMenuDef from '@/components/json-definitions/dropdown-menu.json'
|
import dropdownMenuDef from '@/components/json-definitions/dropdown-menu.json'
|
||||||
import formDef from '@/components/json-definitions/form.json'
|
|
||||||
import formFieldDef from '@/components/json-definitions/form-field.json'
|
import formFieldDef from '@/components/json-definitions/form-field.json'
|
||||||
import headingDef from '@/components/json-definitions/heading.json'
|
import headingDef from '@/components/json-definitions/heading.json'
|
||||||
import hoverCardDef from '@/components/json-definitions/hover-card.json'
|
import hoverCardDef from '@/components/json-definitions/hover-card.json'
|
||||||
|
|||||||
@@ -2,47 +2,41 @@
|
|||||||
// Do not edit this file directly.
|
// Do not edit this file directly.
|
||||||
|
|
||||||
export const jsonUIComponentTypes = [
|
export const jsonUIComponentTypes = [
|
||||||
"accordion",
|
|
||||||
"Accordion",
|
"Accordion",
|
||||||
"ActionBar",
|
"ActionBar",
|
||||||
"ActionButton",
|
"ActionButton",
|
||||||
"ActionCard",
|
"ActionCard",
|
||||||
"ActionIcon",
|
"ActionIcon",
|
||||||
"alert",
|
|
||||||
"Alert",
|
"Alert",
|
||||||
"AlertCircle",
|
"AlertCircle",
|
||||||
"AlertDialog",
|
"AlertDialog",
|
||||||
"AppBranding",
|
"AppBranding",
|
||||||
|
"AppDialogs",
|
||||||
"AppHeader",
|
"AppHeader",
|
||||||
|
"AppLayout",
|
||||||
"AppLogo",
|
"AppLogo",
|
||||||
|
"AppMainPanel",
|
||||||
|
"AppRouterLayout",
|
||||||
"ArrowLeft",
|
"ArrowLeft",
|
||||||
"ArrowRight",
|
"ArrowRight",
|
||||||
"article",
|
|
||||||
"aspect-ratio",
|
|
||||||
"AspectRatio",
|
"AspectRatio",
|
||||||
"AtomicLibraryShowcase",
|
"AtomicLibraryShowcase",
|
||||||
"avatar",
|
|
||||||
"Avatar",
|
"Avatar",
|
||||||
"AvatarGroup",
|
"AvatarGroup",
|
||||||
"badge",
|
|
||||||
"Badge",
|
"Badge",
|
||||||
"Badge as ShadcnBadge",
|
"Badge as ShadcnBadge",
|
||||||
"Bell",
|
"Bell",
|
||||||
"BindingEditor",
|
"BindingEditor",
|
||||||
"BindingIndicator",
|
"BindingIndicator",
|
||||||
"breadcrumb",
|
|
||||||
"Breadcrumb",
|
"Breadcrumb",
|
||||||
"button",
|
|
||||||
"Button",
|
"Button",
|
||||||
"Button as ShadcnButton, ButtonProps as ShadcnButtonProps",
|
"Button as ShadcnButton, ButtonProps as ShadcnButtonProps",
|
||||||
"Button, ButtonProps",
|
"Button, ButtonProps",
|
||||||
"Button, buttonVariants",
|
"Button, buttonVariants",
|
||||||
"ButtonGroup",
|
"ButtonGroup",
|
||||||
"buttonVariants",
|
|
||||||
"Calendar",
|
"Calendar",
|
||||||
"Calendar as ShadcnCalendar",
|
"Calendar as ShadcnCalendar",
|
||||||
"CanvasRenderer",
|
"CanvasRenderer",
|
||||||
"card",
|
|
||||||
"Card",
|
"Card",
|
||||||
"Card, CardContent",
|
"Card, CardContent",
|
||||||
"Card, CardContent, CardDescription, CardHeader, CardTitle",
|
"Card, CardContent, CardDescription, CardHeader, CardTitle",
|
||||||
@@ -56,7 +50,6 @@ export const jsonUIComponentTypes = [
|
|||||||
"Carousel",
|
"Carousel",
|
||||||
"Chart",
|
"Chart",
|
||||||
"Check",
|
"Check",
|
||||||
"checkbox",
|
|
||||||
"Checkbox",
|
"Checkbox",
|
||||||
"ChevronDown",
|
"ChevronDown",
|
||||||
"ChevronLeft",
|
"ChevronLeft",
|
||||||
@@ -68,7 +61,6 @@ export const jsonUIComponentTypes = [
|
|||||||
"Code",
|
"Code",
|
||||||
"CodeEditor",
|
"CodeEditor",
|
||||||
"CodeExplanationDialog",
|
"CodeExplanationDialog",
|
||||||
"collapsible",
|
|
||||||
"Collapsible",
|
"Collapsible",
|
||||||
"CollapsibleTrigger",
|
"CollapsibleTrigger",
|
||||||
"ColorSwatch",
|
"ColorSwatch",
|
||||||
@@ -103,17 +95,14 @@ export const jsonUIComponentTypes = [
|
|||||||
"DataTable",
|
"DataTable",
|
||||||
"DatePicker",
|
"DatePicker",
|
||||||
"DetailRow",
|
"DetailRow",
|
||||||
"dialog",
|
|
||||||
"Dialog",
|
"Dialog",
|
||||||
"Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,",
|
"Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,",
|
||||||
"Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle",
|
"Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle",
|
||||||
"div",
|
|
||||||
"Divider",
|
"Divider",
|
||||||
"DockerBuildDebugger",
|
"DockerBuildDebugger",
|
||||||
"DocumentationView",
|
"DocumentationView",
|
||||||
"Dot",
|
"Dot",
|
||||||
"Download",
|
"Download",
|
||||||
"drawer",
|
|
||||||
"Drawer",
|
"Drawer",
|
||||||
"DropdownMenu",
|
"DropdownMenu",
|
||||||
"Edit",
|
"Edit",
|
||||||
@@ -137,20 +126,18 @@ export const jsonUIComponentTypes = [
|
|||||||
"Filter",
|
"Filter",
|
||||||
"FilterInput",
|
"FilterInput",
|
||||||
"Flex",
|
"Flex",
|
||||||
"footer",
|
|
||||||
"Form",
|
"Form",
|
||||||
"Form as ShadcnForm,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,",
|
"Form as ShadcnForm,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,",
|
||||||
|
"FormField",
|
||||||
"GitHubBuildStatus",
|
"GitHubBuildStatus",
|
||||||
"GitHubBuildStatusWrapper",
|
"GitHubBuildStatusWrapper",
|
||||||
"GlowCard",
|
"GlowCard",
|
||||||
"Grid",
|
"Grid",
|
||||||
"header",
|
|
||||||
"Heading",
|
"Heading",
|
||||||
"Heart",
|
"Heart",
|
||||||
"HelpCircle",
|
"HelpCircle",
|
||||||
"HelperText",
|
"HelperText",
|
||||||
"Home",
|
"Home",
|
||||||
"hover-card",
|
|
||||||
"HoverCard",
|
"HoverCard",
|
||||||
"HoverCard as ShadcnHoverCard,\n HoverCardContent,\n HoverCardTrigger,",
|
"HoverCard as ShadcnHoverCard,\n HoverCardContent,\n HoverCardTrigger,",
|
||||||
"Icon",
|
"Icon",
|
||||||
@@ -161,9 +148,8 @@ export const jsonUIComponentTypes = [
|
|||||||
"Info",
|
"Info",
|
||||||
"InfoBox",
|
"InfoBox",
|
||||||
"InfoPanel",
|
"InfoPanel",
|
||||||
"input",
|
|
||||||
"Input",
|
"Input",
|
||||||
"input-otp",
|
"InputOTP",
|
||||||
"InputOtp",
|
"InputOtp",
|
||||||
"JSONComponentTreeManager",
|
"JSONComponentTreeManager",
|
||||||
"JSONLambdaDesigner",
|
"JSONLambdaDesigner",
|
||||||
@@ -171,7 +157,6 @@ export const jsonUIComponentTypes = [
|
|||||||
"JSONUIShowcase",
|
"JSONUIShowcase",
|
||||||
"Kbd",
|
"Kbd",
|
||||||
"KeyValue",
|
"KeyValue",
|
||||||
"label",
|
|
||||||
"Label",
|
"Label",
|
||||||
"LabelWithBadge",
|
"LabelWithBadge",
|
||||||
"LazyBarChart",
|
"LazyBarChart",
|
||||||
@@ -190,7 +175,6 @@ export const jsonUIComponentTypes = [
|
|||||||
"LoadingSpinner",
|
"LoadingSpinner",
|
||||||
"LoadingState",
|
"LoadingState",
|
||||||
"Mail",
|
"Mail",
|
||||||
"main",
|
|
||||||
"Menu",
|
"Menu",
|
||||||
"Menubar",
|
"Menubar",
|
||||||
"MetricCard",
|
"MetricCard",
|
||||||
@@ -205,6 +189,7 @@ export const jsonUIComponentTypes = [
|
|||||||
"NavigationMenu",
|
"NavigationMenu",
|
||||||
"Notification",
|
"Notification",
|
||||||
"NumberInput",
|
"NumberInput",
|
||||||
|
"PWASettings",
|
||||||
"PageHeader",
|
"PageHeader",
|
||||||
"PageHeaderContent",
|
"PageHeaderContent",
|
||||||
"Pagination",
|
"Pagination",
|
||||||
@@ -213,25 +198,20 @@ export const jsonUIComponentTypes = [
|
|||||||
"PersistenceDashboard",
|
"PersistenceDashboard",
|
||||||
"PersistenceExample",
|
"PersistenceExample",
|
||||||
"Plus",
|
"Plus",
|
||||||
"popover",
|
|
||||||
"Popover",
|
"Popover",
|
||||||
"Popover, PopoverContent, PopoverTrigger",
|
"Popover, PopoverContent, PopoverTrigger",
|
||||||
"progress",
|
|
||||||
"Progress",
|
"Progress",
|
||||||
"ProgressBar",
|
"ProgressBar",
|
||||||
"ProjectDashboard",
|
"ProjectDashboard",
|
||||||
"PropertyEditor",
|
"PropertyEditor",
|
||||||
"PropertyEditorField",
|
"PropertyEditorField",
|
||||||
"Pulse",
|
"Pulse",
|
||||||
"PWASettings",
|
|
||||||
"QuickActionButton",
|
"QuickActionButton",
|
||||||
"Radio",
|
"Radio",
|
||||||
"radio-group",
|
|
||||||
"RadioGroup",
|
"RadioGroup",
|
||||||
"RangeSlider",
|
"RangeSlider",
|
||||||
"Rating",
|
"Rating",
|
||||||
"RefreshCw",
|
"RefreshCw",
|
||||||
"resizable",
|
|
||||||
"Resizable",
|
"Resizable",
|
||||||
"ResponsiveGrid",
|
"ResponsiveGrid",
|
||||||
"SassStylesShowcase",
|
"SassStylesShowcase",
|
||||||
@@ -245,32 +225,25 @@ export const jsonUIComponentTypes = [
|
|||||||
"SchemaEditorSidebar",
|
"SchemaEditorSidebar",
|
||||||
"SchemaEditorStatusBar",
|
"SchemaEditorStatusBar",
|
||||||
"SchemaEditorToolbar",
|
"SchemaEditorToolbar",
|
||||||
"scroll-area",
|
|
||||||
"ScrollArea",
|
"ScrollArea",
|
||||||
"ScrollAreaThumb",
|
"ScrollAreaThumb",
|
||||||
"Search",
|
"Search",
|
||||||
"SearchBar",
|
"SearchBar",
|
||||||
"SearchInput",
|
"SearchInput",
|
||||||
"section",
|
|
||||||
"Section",
|
"Section",
|
||||||
"SeedDataManager",
|
"SeedDataManager",
|
||||||
"SeedDataManagerWrapper",
|
"SeedDataManagerWrapper",
|
||||||
"SeedDataStatus",
|
"SeedDataStatus",
|
||||||
"Select",
|
"Select",
|
||||||
"separator",
|
|
||||||
"Separator",
|
"Separator",
|
||||||
"Separator as ShadcnSeparator",
|
"Separator as ShadcnSeparator",
|
||||||
"Settings",
|
"Settings",
|
||||||
"Share",
|
"Share",
|
||||||
"sheet",
|
|
||||||
"Sheet",
|
"Sheet",
|
||||||
"Sidebar",
|
"Sidebar",
|
||||||
"SidebarTrigger",
|
"SidebarTrigger",
|
||||||
"skeleton",
|
|
||||||
"Skeleton",
|
"Skeleton",
|
||||||
"slider",
|
|
||||||
"Slider",
|
"Slider",
|
||||||
"sonner",
|
|
||||||
"Sonner",
|
"Sonner",
|
||||||
"Spacer",
|
"Spacer",
|
||||||
"Sparkle",
|
"Sparkle",
|
||||||
@@ -285,11 +258,9 @@ export const jsonUIComponentTypes = [
|
|||||||
"StorageSettings",
|
"StorageSettings",
|
||||||
"StorageSettingsWrapper",
|
"StorageSettingsWrapper",
|
||||||
"StyleDesigner",
|
"StyleDesigner",
|
||||||
"switch",
|
|
||||||
"Switch",
|
"Switch",
|
||||||
"Switch as ShadcnSwitch",
|
"Switch as ShadcnSwitch",
|
||||||
"TabIcon",
|
"TabIcon",
|
||||||
"table",
|
|
||||||
"Table",
|
"Table",
|
||||||
"Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,",
|
"Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,",
|
||||||
"TableBody",
|
"TableBody",
|
||||||
@@ -297,7 +268,6 @@ export const jsonUIComponentTypes = [
|
|||||||
"TableHead",
|
"TableHead",
|
||||||
"TableHeader",
|
"TableHeader",
|
||||||
"TableRow",
|
"TableRow",
|
||||||
"tabs",
|
|
||||||
"Tabs",
|
"Tabs",
|
||||||
"Tabs, TabsContent, TabsList, TabsTrigger",
|
"Tabs, TabsContent, TabsList, TabsTrigger",
|
||||||
"TabsContent",
|
"TabsContent",
|
||||||
@@ -305,21 +275,17 @@ export const jsonUIComponentTypes = [
|
|||||||
"TabsTrigger",
|
"TabsTrigger",
|
||||||
"Tag",
|
"Tag",
|
||||||
"Text",
|
"Text",
|
||||||
"textarea",
|
|
||||||
"Textarea",
|
|
||||||
"TextArea",
|
"TextArea",
|
||||||
"TextGradient",
|
"TextGradient",
|
||||||
"TextHighlight",
|
"TextHighlight",
|
||||||
|
"Textarea",
|
||||||
"Timeline",
|
"Timeline",
|
||||||
"Timestamp",
|
"Timestamp",
|
||||||
"TipsCard",
|
"TipsCard",
|
||||||
"toggle",
|
|
||||||
"Toggle",
|
"Toggle",
|
||||||
"ToggleGroup",
|
"ToggleGroup",
|
||||||
"toggleVariants",
|
|
||||||
"ToolbarActions",
|
"ToolbarActions",
|
||||||
"ToolbarButton",
|
"ToolbarButton",
|
||||||
"tooltip",
|
|
||||||
"Tooltip",
|
"Tooltip",
|
||||||
"Tooltip as TooltipPrimitive,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,",
|
"Tooltip as TooltipPrimitive,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,",
|
||||||
"Tooltip, TooltipContent, TooltipProvider, TooltipTrigger",
|
"Tooltip, TooltipContent, TooltipProvider, TooltipTrigger",
|
||||||
@@ -333,15 +299,51 @@ export const jsonUIComponentTypes = [
|
|||||||
"Upload",
|
"Upload",
|
||||||
"User",
|
"User",
|
||||||
"X",
|
"X",
|
||||||
"AppLayout",
|
"accordion",
|
||||||
"AppRouterLayout",
|
"alert",
|
||||||
"AppMainPanel",
|
"article",
|
||||||
"AppDialogs",
|
"aspect-ratio",
|
||||||
"single",
|
"avatar",
|
||||||
"kv",
|
"badge",
|
||||||
|
"breadcrumb",
|
||||||
|
"button",
|
||||||
|
"buttonVariants",
|
||||||
|
"card",
|
||||||
|
"checkbox",
|
||||||
|
"collapsible",
|
||||||
"create",
|
"create",
|
||||||
"delete",
|
"delete",
|
||||||
|
"dialog",
|
||||||
|
"div",
|
||||||
|
"drawer",
|
||||||
|
"footer",
|
||||||
|
"header",
|
||||||
|
"hover-card",
|
||||||
|
"input",
|
||||||
|
"input-otp",
|
||||||
|
"kv",
|
||||||
|
"label",
|
||||||
|
"main",
|
||||||
"navigate",
|
"navigate",
|
||||||
|
"popover",
|
||||||
|
"progress",
|
||||||
|
"radio-group",
|
||||||
|
"resizable",
|
||||||
|
"scroll-area",
|
||||||
|
"section",
|
||||||
|
"separator",
|
||||||
|
"sheet",
|
||||||
|
"single",
|
||||||
|
"skeleton",
|
||||||
|
"slider",
|
||||||
|
"sonner",
|
||||||
|
"switch",
|
||||||
|
"table",
|
||||||
|
"tabs",
|
||||||
|
"textarea",
|
||||||
|
"toggle",
|
||||||
|
"toggleVariants",
|
||||||
|
"tooltip",
|
||||||
"update",
|
"update",
|
||||||
] as const
|
] as const
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user