Register progress indicators for JSON UI

This commit is contained in:
2026-01-18 12:10:45 +00:00
parent 0042d2e2cd
commit 13192f422e
2 changed files with 22 additions and 0 deletions

View File

@@ -180,6 +180,20 @@
"icon": "CircleNotch",
"defaultProps": { "value": 50 }
},
{
"type": "ProgressBar",
"label": "Progress Bar",
"category": "display",
"icon": "ChartBar",
"defaultProps": { "value": 65, "size": "md", "variant": "default", "showLabel": false }
},
{
"type": "CircularProgress",
"label": "Circular Progress",
"category": "display",
"icon": "CircleNotch",
"defaultProps": { "value": 65, "size": "md", "showLabel": true }
},
{
"type": "Spinner",
"label": "Spinner",
@@ -201,6 +215,13 @@
"icon": "Minus",
"defaultProps": {}
},
{
"type": "Divider",
"label": "Divider",
"category": "display",
"icon": "Minus",
"defaultProps": { "orientation": "horizontal", "decorative": true }
},
{
"type": "Link",
"label": "Link",

View File

@@ -6,6 +6,7 @@ export type ComponentType =
| 'Badge' | 'Progress' | 'Separator' | 'Tabs' | 'TabsContent' | 'TabsList' | 'TabsTrigger' | 'Dialog'
| 'Text' | 'Heading' | 'Label' | 'List' | 'Grid' | 'Stack' | 'Flex' | 'Container'
| 'Link' | 'Breadcrumb' | 'Image' | 'Avatar' | 'Code' | 'Tag' | 'Spinner' | 'Skeleton'
| 'CircularProgress' | 'Divider' | 'ProgressBar'
| 'Alert' | 'InfoBox' | 'EmptyState' | 'StatusBadge'
| 'ErrorBadge' | 'Notification' | 'StatusIcon'
| 'Table' | 'KeyValue' | 'StatCard' | 'DataCard' | 'SearchInput' | 'ActionBar'