mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +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 './toolbar-actions'
|
||||
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 helperTextDef from '@/components/json-definitions/helper-text.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 headingDef from '@/components/json-definitions/heading.json'
|
||||
import hoverCardDef from '@/components/json-definitions/hover-card.json'
|
||||
|
||||
@@ -2,47 +2,41 @@
|
||||
// Do not edit this file directly.
|
||||
|
||||
export const jsonUIComponentTypes = [
|
||||
"accordion",
|
||||
"Accordion",
|
||||
"ActionBar",
|
||||
"ActionButton",
|
||||
"ActionCard",
|
||||
"ActionIcon",
|
||||
"alert",
|
||||
"Alert",
|
||||
"AlertCircle",
|
||||
"AlertDialog",
|
||||
"AppBranding",
|
||||
"AppDialogs",
|
||||
"AppHeader",
|
||||
"AppLayout",
|
||||
"AppLogo",
|
||||
"AppMainPanel",
|
||||
"AppRouterLayout",
|
||||
"ArrowLeft",
|
||||
"ArrowRight",
|
||||
"article",
|
||||
"aspect-ratio",
|
||||
"AspectRatio",
|
||||
"AtomicLibraryShowcase",
|
||||
"avatar",
|
||||
"Avatar",
|
||||
"AvatarGroup",
|
||||
"badge",
|
||||
"Badge",
|
||||
"Badge as ShadcnBadge",
|
||||
"Bell",
|
||||
"BindingEditor",
|
||||
"BindingIndicator",
|
||||
"breadcrumb",
|
||||
"Breadcrumb",
|
||||
"button",
|
||||
"Button",
|
||||
"Button as ShadcnButton, ButtonProps as ShadcnButtonProps",
|
||||
"Button, ButtonProps",
|
||||
"Button, buttonVariants",
|
||||
"ButtonGroup",
|
||||
"buttonVariants",
|
||||
"Calendar",
|
||||
"Calendar as ShadcnCalendar",
|
||||
"CanvasRenderer",
|
||||
"card",
|
||||
"Card",
|
||||
"Card, CardContent",
|
||||
"Card, CardContent, CardDescription, CardHeader, CardTitle",
|
||||
@@ -56,7 +50,6 @@ export const jsonUIComponentTypes = [
|
||||
"Carousel",
|
||||
"Chart",
|
||||
"Check",
|
||||
"checkbox",
|
||||
"Checkbox",
|
||||
"ChevronDown",
|
||||
"ChevronLeft",
|
||||
@@ -68,7 +61,6 @@ export const jsonUIComponentTypes = [
|
||||
"Code",
|
||||
"CodeEditor",
|
||||
"CodeExplanationDialog",
|
||||
"collapsible",
|
||||
"Collapsible",
|
||||
"CollapsibleTrigger",
|
||||
"ColorSwatch",
|
||||
@@ -103,17 +95,14 @@ export const jsonUIComponentTypes = [
|
||||
"DataTable",
|
||||
"DatePicker",
|
||||
"DetailRow",
|
||||
"dialog",
|
||||
"Dialog",
|
||||
"Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,",
|
||||
"Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle",
|
||||
"div",
|
||||
"Divider",
|
||||
"DockerBuildDebugger",
|
||||
"DocumentationView",
|
||||
"Dot",
|
||||
"Download",
|
||||
"drawer",
|
||||
"Drawer",
|
||||
"DropdownMenu",
|
||||
"Edit",
|
||||
@@ -137,20 +126,18 @@ export const jsonUIComponentTypes = [
|
||||
"Filter",
|
||||
"FilterInput",
|
||||
"Flex",
|
||||
"footer",
|
||||
"Form",
|
||||
"Form as ShadcnForm,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,",
|
||||
"FormField",
|
||||
"GitHubBuildStatus",
|
||||
"GitHubBuildStatusWrapper",
|
||||
"GlowCard",
|
||||
"Grid",
|
||||
"header",
|
||||
"Heading",
|
||||
"Heart",
|
||||
"HelpCircle",
|
||||
"HelperText",
|
||||
"Home",
|
||||
"hover-card",
|
||||
"HoverCard",
|
||||
"HoverCard as ShadcnHoverCard,\n HoverCardContent,\n HoverCardTrigger,",
|
||||
"Icon",
|
||||
@@ -161,9 +148,8 @@ export const jsonUIComponentTypes = [
|
||||
"Info",
|
||||
"InfoBox",
|
||||
"InfoPanel",
|
||||
"input",
|
||||
"Input",
|
||||
"input-otp",
|
||||
"InputOTP",
|
||||
"InputOtp",
|
||||
"JSONComponentTreeManager",
|
||||
"JSONLambdaDesigner",
|
||||
@@ -171,7 +157,6 @@ export const jsonUIComponentTypes = [
|
||||
"JSONUIShowcase",
|
||||
"Kbd",
|
||||
"KeyValue",
|
||||
"label",
|
||||
"Label",
|
||||
"LabelWithBadge",
|
||||
"LazyBarChart",
|
||||
@@ -190,7 +175,6 @@ export const jsonUIComponentTypes = [
|
||||
"LoadingSpinner",
|
||||
"LoadingState",
|
||||
"Mail",
|
||||
"main",
|
||||
"Menu",
|
||||
"Menubar",
|
||||
"MetricCard",
|
||||
@@ -205,6 +189,7 @@ export const jsonUIComponentTypes = [
|
||||
"NavigationMenu",
|
||||
"Notification",
|
||||
"NumberInput",
|
||||
"PWASettings",
|
||||
"PageHeader",
|
||||
"PageHeaderContent",
|
||||
"Pagination",
|
||||
@@ -213,25 +198,20 @@ export const jsonUIComponentTypes = [
|
||||
"PersistenceDashboard",
|
||||
"PersistenceExample",
|
||||
"Plus",
|
||||
"popover",
|
||||
"Popover",
|
||||
"Popover, PopoverContent, PopoverTrigger",
|
||||
"progress",
|
||||
"Progress",
|
||||
"ProgressBar",
|
||||
"ProjectDashboard",
|
||||
"PropertyEditor",
|
||||
"PropertyEditorField",
|
||||
"Pulse",
|
||||
"PWASettings",
|
||||
"QuickActionButton",
|
||||
"Radio",
|
||||
"radio-group",
|
||||
"RadioGroup",
|
||||
"RangeSlider",
|
||||
"Rating",
|
||||
"RefreshCw",
|
||||
"resizable",
|
||||
"Resizable",
|
||||
"ResponsiveGrid",
|
||||
"SassStylesShowcase",
|
||||
@@ -245,32 +225,25 @@ export const jsonUIComponentTypes = [
|
||||
"SchemaEditorSidebar",
|
||||
"SchemaEditorStatusBar",
|
||||
"SchemaEditorToolbar",
|
||||
"scroll-area",
|
||||
"ScrollArea",
|
||||
"ScrollAreaThumb",
|
||||
"Search",
|
||||
"SearchBar",
|
||||
"SearchInput",
|
||||
"section",
|
||||
"Section",
|
||||
"SeedDataManager",
|
||||
"SeedDataManagerWrapper",
|
||||
"SeedDataStatus",
|
||||
"Select",
|
||||
"separator",
|
||||
"Separator",
|
||||
"Separator as ShadcnSeparator",
|
||||
"Settings",
|
||||
"Share",
|
||||
"sheet",
|
||||
"Sheet",
|
||||
"Sidebar",
|
||||
"SidebarTrigger",
|
||||
"skeleton",
|
||||
"Skeleton",
|
||||
"slider",
|
||||
"Slider",
|
||||
"sonner",
|
||||
"Sonner",
|
||||
"Spacer",
|
||||
"Sparkle",
|
||||
@@ -285,11 +258,9 @@ export const jsonUIComponentTypes = [
|
||||
"StorageSettings",
|
||||
"StorageSettingsWrapper",
|
||||
"StyleDesigner",
|
||||
"switch",
|
||||
"Switch",
|
||||
"Switch as ShadcnSwitch",
|
||||
"TabIcon",
|
||||
"table",
|
||||
"Table",
|
||||
"Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,",
|
||||
"TableBody",
|
||||
@@ -297,7 +268,6 @@ export const jsonUIComponentTypes = [
|
||||
"TableHead",
|
||||
"TableHeader",
|
||||
"TableRow",
|
||||
"tabs",
|
||||
"Tabs",
|
||||
"Tabs, TabsContent, TabsList, TabsTrigger",
|
||||
"TabsContent",
|
||||
@@ -305,21 +275,17 @@ export const jsonUIComponentTypes = [
|
||||
"TabsTrigger",
|
||||
"Tag",
|
||||
"Text",
|
||||
"textarea",
|
||||
"Textarea",
|
||||
"TextArea",
|
||||
"TextGradient",
|
||||
"TextHighlight",
|
||||
"Textarea",
|
||||
"Timeline",
|
||||
"Timestamp",
|
||||
"TipsCard",
|
||||
"toggle",
|
||||
"Toggle",
|
||||
"ToggleGroup",
|
||||
"toggleVariants",
|
||||
"ToolbarActions",
|
||||
"ToolbarButton",
|
||||
"tooltip",
|
||||
"Tooltip",
|
||||
"Tooltip as TooltipPrimitive,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,",
|
||||
"Tooltip, TooltipContent, TooltipProvider, TooltipTrigger",
|
||||
@@ -333,15 +299,51 @@ export const jsonUIComponentTypes = [
|
||||
"Upload",
|
||||
"User",
|
||||
"X",
|
||||
"AppLayout",
|
||||
"AppRouterLayout",
|
||||
"AppMainPanel",
|
||||
"AppDialogs",
|
||||
"single",
|
||||
"kv",
|
||||
"accordion",
|
||||
"alert",
|
||||
"article",
|
||||
"aspect-ratio",
|
||||
"avatar",
|
||||
"badge",
|
||||
"breadcrumb",
|
||||
"button",
|
||||
"buttonVariants",
|
||||
"card",
|
||||
"checkbox",
|
||||
"collapsible",
|
||||
"create",
|
||||
"delete",
|
||||
"dialog",
|
||||
"div",
|
||||
"drawer",
|
||||
"footer",
|
||||
"header",
|
||||
"hover-card",
|
||||
"input",
|
||||
"input-otp",
|
||||
"kv",
|
||||
"label",
|
||||
"main",
|
||||
"navigate",
|
||||
"popover",
|
||||
"progress",
|
||||
"radio-group",
|
||||
"resizable",
|
||||
"scroll-area",
|
||||
"section",
|
||||
"separator",
|
||||
"sheet",
|
||||
"single",
|
||||
"skeleton",
|
||||
"slider",
|
||||
"sonner",
|
||||
"switch",
|
||||
"table",
|
||||
"tabs",
|
||||
"textarea",
|
||||
"toggle",
|
||||
"toggleVariants",
|
||||
"tooltip",
|
||||
"update",
|
||||
] as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user