@flikk/ui 1.0.0-beta.30 → 1.0.0-beta.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +375 -5
- package/dist/components/ai/AgentRequest/AgentRequest.animations.d.ts +25 -0
- package/dist/components/ai/AgentRequest/AgentRequest.animations.js +81 -0
- package/dist/components/ai/AgentRequest/AgentRequest.d.ts +3 -0
- package/dist/components/ai/AgentRequest/AgentRequest.js +435 -0
- package/dist/components/ai/AgentRequest/AgentRequest.theme.d.ts +2 -0
- package/dist/components/ai/AgentRequest/AgentRequest.theme.js +106 -0
- package/dist/components/ai/AgentRequest/AgentRequest.types.d.ts +241 -0
- package/dist/components/ai/AgentRequest/index.d.ts +3 -0
- package/dist/components/ai/AgentStatus/AgentStatus.d.ts +3 -0
- package/dist/components/ai/AgentStatus/AgentStatus.js +144 -0
- package/dist/components/ai/AgentStatus/AgentStatus.theme.d.ts +2 -0
- package/dist/components/ai/AgentStatus/AgentStatus.theme.js +37 -0
- package/dist/components/ai/AgentStatus/AgentStatus.types.d.ts +116 -0
- package/dist/components/ai/AgentStatus/index.d.ts +3 -0
- package/dist/components/ai/CodeBlock/CodeBlock.js +3 -3
- package/dist/components/ai/CodeBlock/CodeBlock.theme.js +2 -2
- package/dist/components/ai/PromptInput/PromptInput.js +13 -14
- package/dist/components/ai/PromptInput/PromptInput.theme.js +3 -3
- package/dist/components/ai/PromptInput/VoiceRecorder.js +3 -3
- package/dist/components/ai/PromptSuggestion/PromptSuggestion.theme.js +2 -2
- package/dist/components/ai/Reasoning/Reasoning.d.ts +5 -0
- package/dist/components/ai/Reasoning/Reasoning.js +40 -0
- package/dist/components/ai/Reasoning/Reasoning.theme.d.ts +6 -0
- package/dist/components/ai/Reasoning/Reasoning.theme.js +36 -0
- package/dist/components/ai/Reasoning/Reasoning.types.d.ts +73 -0
- package/dist/components/ai/Reasoning/ReasoningTrace.d.ts +11 -0
- package/dist/components/ai/Reasoning/ReasoningTrace.js +84 -0
- package/dist/components/ai/Reasoning/index.d.ts +3 -0
- package/dist/components/ai/SourceCitation/SourceCitation.d.ts +4 -0
- package/dist/components/ai/SourceCitation/SourceCitation.js +29 -0
- package/dist/components/ai/SourceCitation/SourceCitation.theme.d.ts +2 -0
- package/dist/components/ai/SourceCitation/SourceCitation.theme.js +23 -0
- package/dist/components/ai/SourceCitation/SourceCitation.types.d.ts +55 -0
- package/dist/components/ai/SourceCitation/index.d.ts +3 -0
- package/dist/components/ai/StreamingResponse/AnimatedText.d.ts +7 -0
- package/dist/components/ai/StreamingResponse/AnimatedText.js +8 -7
- package/dist/components/ai/StreamingResponse/ErrorDisplay.js +2 -2
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.d.ts +5 -0
- package/dist/components/ai/StreamingResponse/MarkdownRenderer.js +4 -4
- package/dist/components/ai/StreamingResponse/StreamingCursor.d.ts +2 -2
- package/dist/components/ai/StreamingResponse/StreamingCursor.js +10 -7
- package/dist/components/ai/StreamingResponse/StreamingResponse.animations.d.ts +10 -0
- package/dist/components/ai/StreamingResponse/StreamingResponse.animations.js +59 -33
- package/dist/components/ai/StreamingResponse/StreamingResponse.js +14 -10
- package/dist/components/ai/StreamingResponse/StreamingResponse.theme.js +3 -1
- package/dist/components/ai/StreamingResponse/StreamingResponse.types.d.ts +33 -2
- package/dist/components/ai/StreamingResponse/StreamingSurface.d.ts +13 -0
- package/dist/components/ai/StreamingResponse/StreamingSurface.js +38 -0
- package/dist/components/ai/StreamingResponse/WordAnimationContext.d.ts +5 -0
- package/dist/components/ai/StreamingResponse/WordAnimationContext.js +5 -4
- package/dist/components/ai/StreamingResponse/index.d.ts +4 -2
- package/dist/components/ai/TokenCounter/TokenCounter.js +2 -2
- package/dist/components/ai/TokenCounter/TokenCounter.theme.js +1 -1
- package/dist/components/ai/index.d.ts +6 -2
- package/dist/components/ai/index.js +10 -3
- package/dist/components/ai/shared/StatusIndicator.d.ts +8 -0
- package/dist/components/ai/shared/StatusIndicator.js +34 -0
- package/dist/components/canvas/BaseNode.js +1 -1
- package/dist/components/canvas/CanvasToolbar.js +2 -3
- package/dist/components/canvas/Edge.js +2 -2
- package/dist/components/canvas/NodeControls.js +2 -3
- package/dist/components/canvas/NodeRenderer.js +4 -4
- package/dist/components/charts/ActivityRings/ActivityRings.js +4 -4
- package/dist/components/charts/ActivityRings/ActivityRings.theme.js +1 -1
- package/dist/components/charts/AreaChart/AreaChart.js +24 -35
- package/dist/components/charts/AreaChart/AreaChart.theme.d.ts +1 -6
- package/dist/components/charts/AreaChart/AreaChart.theme.js +10 -22
- package/dist/components/charts/AreaChart/AreaChart.types.d.ts +18 -11
- package/dist/components/charts/AreaChart/AreaChart.types.js +10 -3
- package/dist/components/charts/AreaChart/index.d.ts +1 -1
- package/dist/components/charts/BarChart/BarChart.js +13 -32
- package/dist/components/charts/BarChart/BarChart.types.d.ts +20 -16
- package/dist/components/charts/BarChart/BarChart.types.js +11 -4
- package/dist/components/charts/ComboChart/BarRenderer.js +10 -7
- package/dist/components/charts/ComboChart/BarRenderer.types.d.ts +1 -1
- package/dist/components/charts/ComboChart/ComboChart.js +11 -24
- package/dist/components/charts/ComboChart/ComboChart.types.d.ts +15 -13
- package/dist/components/charts/ComboChart/ComboChart.types.js +14 -2
- package/dist/components/charts/ComboChart/ComboChartCanvas.js +1 -1
- package/dist/components/charts/ComboChart/LineRenderer.js +16 -11
- package/dist/components/charts/ComboChart/LineRenderer.types.d.ts +1 -1
- package/dist/components/charts/DonutChart/DonutChart.theme.js +4 -4
- package/dist/components/charts/DonutChart/MultiSegmentDonutChart.theme.js +1 -1
- package/dist/components/charts/Heatmap/Heatmap.js +49 -42
- package/dist/components/charts/Heatmap/Heatmap.theme.d.ts +6 -2
- package/dist/components/charts/Heatmap/Heatmap.theme.js +20 -8
- package/dist/components/charts/Heatmap/Heatmap.types.d.ts +49 -82
- package/dist/components/charts/Heatmap/HeatmapCell.js +30 -81
- package/dist/components/charts/Heatmap/HeatmapLegend.d.ts +7 -6
- package/dist/components/charts/Heatmap/HeatmapLegend.js +6 -6
- package/dist/components/charts/Heatmap/index.d.ts +1 -1
- package/dist/components/charts/Heatmap/utils/heatmapUtils.d.ts +7 -12
- package/dist/components/charts/Heatmap/utils/heatmapUtils.js +16 -61
- package/dist/components/charts/Heatmap/utils/heatmapUtils.test.d.ts +1 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.d.ts +16 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.js +237 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.d.ts +62 -0
- package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.js +21 -0
- package/dist/components/charts/HorizontalBarChart/index.d.ts +3 -0
- package/dist/components/charts/LineChart/LineChart.js +11 -28
- package/dist/components/charts/LineChart/LineChart.types.d.ts +11 -14
- package/dist/components/charts/LineChart/LineChart.types.js +11 -3
- package/dist/components/charts/LollipopChart/LollipopChart.d.ts +3 -0
- package/dist/components/charts/LollipopChart/LollipopChart.js +361 -0
- package/dist/components/charts/LollipopChart/LollipopChart.types.d.ts +42 -0
- package/dist/components/charts/LollipopChart/LollipopChart.types.js +12 -0
- package/dist/components/charts/LollipopChart/index.d.ts +3 -0
- package/dist/components/charts/RadarChart/RadarChart.js +1 -1
- package/dist/components/charts/StackedBarChart/StackedBarChart.js +151 -133
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.d.ts +20 -18
- package/dist/components/charts/StackedBarChart/StackedBarChart.types.js +10 -4
- package/dist/components/charts/hooks/useChartAccessibility.d.ts +1 -1
- package/dist/components/charts/hooks/useChartAccessibility.js +12 -6
- package/dist/components/charts/hooks/useTooltipPosition.js +18 -6
- package/dist/components/charts/index.d.ts +10 -8
- package/dist/components/charts/index.js +8 -4
- package/dist/components/charts/shared/ChartAxis/CategoryYAxis.d.ts +14 -0
- package/dist/components/charts/shared/ChartAxis/CategoryYAxis.js +35 -0
- package/dist/components/charts/shared/ChartAxis/ChartAxis.types.d.ts +69 -8
- package/dist/components/charts/shared/ChartAxis/ValueXAxis.d.ts +14 -0
- package/dist/components/charts/shared/ChartAxis/ValueXAxis.js +64 -0
- package/dist/components/charts/shared/ChartAxis/XAxis.js +1 -1
- package/dist/components/charts/shared/ChartAxis/YAxis.js +2 -2
- package/dist/components/charts/shared/ChartAxis/index.d.ts +3 -1
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.d.ts +0 -2
- package/dist/components/charts/shared/ChartGrid/HorizontalGrid.js +1 -1
- package/dist/components/charts/shared/ChartGrid/VerticalGrid.d.ts +29 -0
- package/dist/components/charts/shared/ChartGrid/VerticalGrid.js +26 -0
- package/dist/components/charts/shared/ChartGrid/index.d.ts +2 -0
- package/dist/components/charts/shared/ChartMarker/ChartMarker.js +7 -1
- package/dist/components/charts/shared/ChartText/ChartText.theme.js +1 -1
- package/dist/components/charts/shared/index.d.ts +1 -1
- package/dist/components/charts/theme/chart.theme.js +21 -26
- package/dist/components/charts/types/chart.types.d.ts +9 -5
- package/dist/components/charts/types/chart.types.js +1 -7
- package/dist/components/charts/utils/animation-utils.d.ts +12 -7
- package/dist/components/charts/utils/animation-utils.js +19 -21
- package/dist/components/charts/utils/bar-emphasis.d.ts +32 -3
- package/dist/components/charts/utils/bar-emphasis.js +24 -8
- package/dist/components/charts/utils/index.d.ts +1 -0
- package/dist/components/charts/utils/series-color.d.ts +7 -0
- package/dist/components/charts/utils/series-color.js +20 -0
- package/dist/components/core/Accordion/Accordion.theme.js +3 -3
- package/dist/components/core/Accordion/AccordionTrigger.js +2 -2
- package/dist/components/core/Alert/Alert.animations.d.ts +11 -3
- package/dist/components/core/Alert/Alert.animations.js +30 -8
- package/dist/components/core/Alert/Alert.js +23 -9
- package/dist/components/core/Alert/Alert.theme.js +1 -1
- package/dist/components/core/Alert/Alert.types.d.ts +4 -2
- package/dist/components/core/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/core/Avatar/Avatar.js +50 -42
- package/dist/components/core/Avatar/Avatar.theme.d.ts +8 -4
- package/dist/components/core/Avatar/Avatar.theme.js +64 -8
- package/dist/components/core/Avatar/Avatar.types.d.ts +13 -2
- package/dist/components/core/Avatar/index.d.ts +1 -1
- package/dist/components/core/AvatarGroup/AvatarGroup.js +6 -8
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.d.ts +1 -2
- package/dist/components/core/AvatarGroup/AvatarGroup.theme.js +2 -6
- package/dist/components/core/AvatarGroup/AvatarGroup.types.d.ts +0 -6
- package/dist/components/core/AvatarGroup/index.d.ts +1 -1
- package/dist/components/core/Badge/Badge.animations.d.ts +0 -5
- package/dist/components/core/Badge/Badge.animations.js +5 -82
- package/dist/components/core/Badge/Badge.d.ts +7 -4
- package/dist/components/core/Badge/Badge.js +33 -65
- package/dist/components/core/Badge/Badge.theme.js +26 -24
- package/dist/components/core/Badge/Badge.types.d.ts +18 -34
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +1 -4
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +6 -6
- package/dist/components/core/Button/Button.js +14 -58
- package/dist/components/core/Button/Button.theme.d.ts +2 -0
- package/dist/components/core/Button/Button.theme.js +35 -22
- package/dist/components/core/Button/Button.types.d.ts +26 -13
- package/dist/components/core/Button/index.d.ts +0 -2
- package/dist/components/core/Calendar/Calendar.js +20 -5
- package/dist/components/core/Calendar/Calendar.theme.js +15 -23
- package/dist/components/core/Calendar/Calendar.types.d.ts +0 -1
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.js +3 -3
- package/dist/components/core/Calendar/CalendarMini/CalendarMini.theme.js +2 -2
- package/dist/components/core/Card/Card.js +7 -2
- package/dist/components/core/Card/Card.theme.js +40 -4
- package/dist/components/core/Card/Card.types.d.ts +20 -0
- package/dist/components/core/Card/CardBody.js +9 -1
- package/dist/components/core/Card/CardContext.d.ts +13 -0
- package/dist/components/core/Card/CardContext.js +14 -0
- package/dist/components/core/Card/CardFooter.js +1 -1
- package/dist/components/core/Card/CardHeader.js +4 -1
- package/dist/components/core/CommandPalette/CommandPalette.js +5 -4
- package/dist/components/core/CommandPalette/CommandPalette.theme.js +3 -7
- package/dist/components/core/CommandPalette/CommandPalette.types.d.ts +2 -0
- package/dist/components/core/ContextMenu/ContextMenu.theme.js +4 -3
- package/dist/components/core/ContextMenu/ContextMenu.types.d.ts +8 -1
- package/dist/components/core/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/components/core/ContextMenu/ContextMenuSub.d.ts +11 -1
- package/dist/components/core/ContextMenu/ContextMenuSub.js +35 -22
- package/dist/components/core/ContextMenu/ContextMenuSubBody.js +14 -3
- package/dist/components/core/ContextMenu/ContextMenuSubTrigger.js +22 -9
- package/dist/components/core/DragDrop/DragDrop.theme.js +2 -2
- package/dist/components/core/Drawer/Drawer.theme.js +7 -4
- package/dist/components/core/Drawer/DrawerHeader.js +2 -3
- package/dist/components/core/Dropdown/Dropdown.theme.js +3 -1
- package/dist/components/core/Dropdown/DropdownItem.js +2 -2
- package/dist/components/core/Dropdown/DropdownMenu.js +22 -7
- package/dist/components/core/Dropdown/DropdownTrigger.js +16 -5
- package/dist/components/core/HeroCard/HeroCard.theme.js +5 -2
- package/dist/components/core/Kbd/Kbd.theme.js +4 -2
- package/dist/components/core/Link/Link.js +7 -5
- package/dist/components/core/Masonry/Masonry.theme.js +1 -1
- package/dist/components/core/MenuItem/MenuItem.js +2 -1
- package/dist/components/core/MenuItem/MenuItem.theme.js +13 -1
- package/dist/components/core/Message/Message.js +4 -2
- package/dist/components/core/Message/Message.theme.js +8 -10
- package/dist/components/core/Message/MessageAudio.js +2 -2
- package/dist/components/core/Message/MessageFile.js +2 -2
- package/dist/components/core/Message/MessageLink.js +2 -2
- package/dist/components/core/Message/MessageStatusIndicator.js +5 -5
- package/dist/components/core/Modal/Modal.animations.d.ts +1 -1
- package/dist/components/core/Modal/Modal.animations.js +50 -11
- package/dist/components/core/Modal/Modal.d.ts +1 -1
- package/dist/components/core/Modal/Modal.js +6 -2
- package/dist/components/core/Modal/Modal.theme.js +9 -4
- package/dist/components/core/Modal/ModalHeader.js +2 -3
- package/dist/components/core/ModalStack/ModalStackModal.js +4 -2
- package/dist/components/core/NavItem/NavItem.js +8 -7
- package/dist/components/core/NavItem/NavItem.theme.js +1 -1
- package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.d.ts +22 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.js +54 -0
- package/dist/components/core/OfflineIndicator/OfflineIndicator.js +23 -24
- package/dist/components/core/OfflineIndicator/OfflineIndicator.theme.js +27 -6
- package/dist/components/core/OfflineIndicator/OfflineIndicator.types.d.ts +17 -0
- package/dist/components/core/PageHeading/PageHeading.theme.js +1 -1
- package/dist/components/core/PageHeading/PageHeadingBackButton.js +2 -2
- package/dist/components/core/Pagination/Pagination.js +3 -3
- package/dist/components/core/Pagination/Pagination.theme.js +5 -5
- package/dist/components/core/Pill/Pill.js +5 -2
- package/dist/components/core/Pill/Pill.theme.js +9 -5
- package/dist/components/core/Popover/PopoverBody.js +16 -5
- package/dist/components/core/Progress/Progress.d.ts +0 -25
- package/dist/components/core/Progress/Progress.js +79 -11
- package/dist/components/core/Progress/Progress.theme.js +17 -0
- package/dist/components/core/Progress/Progress.types.d.ts +47 -1
- package/dist/components/core/Rating/Rating.js +4 -5
- package/dist/components/core/Rating/Rating.theme.js +2 -2
- package/dist/components/core/Rating/Rating.types.d.ts +3 -2
- package/dist/components/core/ScrollArea/ScrollArea.js +1 -1
- package/dist/components/core/ScrollArea/ScrollArea.theme.js +1 -1
- package/dist/components/core/Segmented/Segmented.theme.js +10 -7
- package/dist/components/core/Segmented/SegmentedContext.js +1 -0
- package/dist/components/core/Sidebar/Sidebar.js +5 -2
- package/dist/components/core/Sidebar/Sidebar.theme.js +2 -2
- package/dist/components/core/Sidebar/Sidebar.types.d.ts +4 -2
- package/dist/components/core/Sidebar/SidebarContent.js +1 -1
- package/dist/components/core/Sidebar/SidebarHeader.js +3 -3
- package/dist/components/core/Sidebar/SidebarMobileTrigger.js +2 -2
- package/dist/components/core/Sidebar/SidebarSearch.js +4 -4
- package/dist/components/core/Sidebar/SidebarToggle.js +3 -3
- package/dist/components/core/Sidebar/SidebarUserProfile.js +3 -3
- package/dist/components/core/Sortable/Sortable.js +2 -2
- package/dist/components/core/Sortable/Sortable.theme.js +1 -1
- package/dist/components/core/Tabs/Tabs.theme.js +1 -1
- package/dist/components/core/Tag/Tag.js +2 -2
- package/dist/components/core/Tag/Tag.theme.js +5 -3
- package/dist/components/core/Toast/Toast.js +3 -3
- package/dist/components/core/Toast/Toast.types.d.ts +1 -1
- package/dist/components/core/Toast/ToastProvider.js +1 -1
- package/dist/components/core/Toast/useToast.js +5 -5
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/Tooltip.js +42 -10
- package/dist/components/core/Tooltip/Tooltip.types.d.ts +25 -0
- package/dist/components/core/Tree/Tree.js +2 -2
- package/dist/components/core/Tree/Tree.theme.js +1 -1
- package/dist/components/core/index.d.ts +0 -2
- package/dist/components/core/index.js +0 -4
- package/dist/components/core/shared/ChartTooltip/ChartTooltip.animations.d.ts +4 -0
- package/dist/components/core/shared/ChartTooltip/ChartTooltip.animations.js +20 -0
- package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltip.js +1 -1
- package/dist/components/core/shared/Ripple.d.ts +16 -0
- package/dist/components/core/shared/Ripple.js +141 -0
- package/dist/components/core/shared/interaction.animations.d.ts +51 -0
- package/dist/components/core/shared/interaction.animations.js +59 -0
- package/dist/components/data-display/Feed/Feed.js +2 -2
- package/dist/components/data-display/GanttChart/GanttChart.theme.js +7 -7
- package/dist/components/data-display/GanttChart/GanttChartPanel.js +2 -2
- package/dist/components/data-display/GanttChart/GanttTableGroupRow.js +3 -3
- package/dist/components/data-display/GanttChart/GanttTaskBar.js +1 -1
- package/dist/components/data-display/GanttChart/GanttTaskContextMenu.js +2 -2
- package/dist/components/data-display/GanttChart/GanttTimelineHeader.js +1 -1
- package/dist/components/data-display/GanttChart/GanttToolbar.js +2 -3
- package/dist/components/data-display/KPI/KPI.js +12 -21
- package/dist/components/data-display/KPI/KPI.theme.js +8 -4
- package/dist/components/data-display/Metric/Metric.js +2 -2
- package/dist/components/data-display/Metric/Metric.theme.js +25 -8
- package/dist/components/data-display/Metric/Metric.types.d.ts +1 -1
- package/dist/components/data-display/Table/Table.theme.js +11 -11
- package/dist/components/data-display/Table/TableActions.js +2 -2
- package/dist/components/data-display/Table/TableActionsMenu.js +1 -1
- package/dist/components/data-display/Table/TableColumnManager.js +2 -3
- package/dist/components/data-display/Table/TableContext.js +1 -0
- package/dist/components/data-display/Table/TableDeclarative.js +3 -3
- package/dist/components/data-display/Table/TableFilter.js +13 -6
- package/dist/components/data-display/Table/TableHeader.js +3 -3
- package/dist/components/data-display/Table/TableRow.js +2 -2
- package/dist/components/data-display/Table/TableSelectionHeader.js +4 -4
- package/dist/components/data-display/Timeline/Timeline.theme.js +1 -1
- package/dist/components/data-display/Timeline/TimelineMarker.js +2 -2
- package/dist/components/effects/CustomCursor/CustomCursor.d.ts +1 -1
- package/dist/components/effects/CustomCursor/CustomCursor.js +3 -3
- package/dist/components/effects/CustomCursor/CustomCursor.theme.js +4 -4
- package/dist/components/effects/DotPattern/DotPattern.js +6 -0
- package/dist/components/effects/DotPattern/DotPattern.types.d.ts +4 -2
- package/dist/components/effects/MeshGradient/MeshGradient.utils.d.ts +1 -1
- package/dist/components/effects/MeshGradient/MeshGradient.utils.js +1 -1
- package/dist/components/effects/Neumorphic/InsetCircleButton.js +1 -1
- package/dist/components/effects/Overlay/Overlay.js +7 -3
- package/dist/components/effects/index.d.ts +0 -32
- package/dist/components/effects/index.js +0 -16
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.d.ts +0 -2
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.js +1 -93
- package/dist/components/effects/shared/ShaderCanvas/ShaderCanvas.types.d.ts +0 -10
- package/dist/components/effects/shared/ShaderCanvas/index.d.ts +1 -1
- package/dist/components/effects/shared/index.d.ts +1 -3
- package/dist/components/effects/shared/shaderNoise.glsl.d.ts +1 -1
- package/dist/components/effects/shared/shaderNoise.glsl.js +2 -11
- package/dist/components/forms/Checkbox/Checkbox.js +2 -1
- package/dist/components/forms/Checkbox/Checkbox.theme.js +3 -3
- package/dist/components/forms/ColorPicker/ColorPickerEyeDropper.js +2 -2
- package/dist/components/forms/ColorPicker/ColorPickerGradient.js +2 -2
- package/dist/components/forms/ColorPicker/ColorPickerHeader.js +2 -2
- package/dist/components/forms/ColorPicker/ColorPickerImage.js +3 -3
- package/dist/components/forms/ColorPicker/ColorPickerInput.js +2 -2
- package/dist/components/forms/ColorPicker/ColorPickerPresets.js +2 -2
- package/dist/components/forms/ColorPicker/ColorPickerSavedColors.js +2 -2
- package/dist/components/forms/Combobox/Combobox.js +5 -3
- package/dist/components/forms/Combobox/Combobox.theme.js +2 -2
- package/dist/components/forms/DatePicker/DatePicker.animations.js +16 -25
- package/dist/components/forms/DatePicker/DatePicker.theme.js +2 -2
- package/dist/components/forms/DatePicker/DatePickerBody.js +1 -1
- package/dist/components/forms/DatePicker/DatePickerTrigger.js +2 -2
- package/dist/components/forms/DateRangePicker/DateRangePicker.theme.js +4 -4
- package/dist/components/forms/DateRangePicker/DateRangePickerBody.js +1 -1
- package/dist/components/forms/DateRangePicker/DateRangePickerContext.js +1 -0
- package/dist/components/forms/DateRangePicker/DateRangePickerPresets.js +2 -2
- package/dist/components/forms/DateRangePicker/DateRangePickerTrigger.js +2 -2
- package/dist/components/forms/FileUpload/FileUpload.js +4 -4
- package/dist/components/forms/FileUpload/FileUpload.theme.js +7 -3
- package/dist/components/forms/FileUpload/FileUploadProgress.js +7 -7
- package/dist/components/forms/FileUpload/FileUploadProgress.theme.js +1 -1
- package/dist/components/forms/Input/Input.js +6 -7
- package/dist/components/forms/Input/Input.theme.js +19 -15
- package/dist/components/forms/InputAddress/InputAddress.js +10 -3
- package/dist/components/forms/InputAddress/InputAddress.types.d.ts +2 -2
- package/dist/components/forms/InputCounter/InputCounter.js +3 -3
- package/dist/components/forms/InputOTP/InputOTP.d.ts +3 -12
- package/dist/components/forms/InputOTP/InputOTP.js +140 -151
- package/dist/components/forms/InputOTP/InputOTP.theme.d.ts +5 -1
- package/dist/components/forms/InputOTP/InputOTP.theme.js +40 -5
- package/dist/components/forms/InputOTP/InputOTP.types.d.ts +45 -2
- package/dist/components/forms/InputOTP/index.d.ts +1 -1
- package/dist/components/forms/InputTag/InputTag.js +5 -5
- package/dist/components/forms/InputTag/InputTag.theme.js +1 -2
- package/dist/components/forms/Mention/Mention.theme.js +3 -5
- package/dist/components/forms/Radio/Radio.js +3 -2
- package/dist/components/forms/Radio/Radio.theme.js +3 -3
- package/dist/components/forms/RichTextEditor/RichTextEditor.d.ts +12 -16
- package/dist/components/forms/RichTextEditor/RichTextEditor.js +165 -1681
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.d.ts +12 -56
- package/dist/components/forms/RichTextEditor/RichTextEditor.theme.js +60 -118
- package/dist/components/forms/RichTextEditor/RichTextEditor.types.d.ts +62 -126
- package/dist/components/forms/RichTextEditor/RichTextLinkField.d.ts +18 -0
- package/dist/components/forms/RichTextEditor/RichTextLinkField.js +46 -0
- package/dist/components/forms/RichTextEditor/RichTextToolbar.d.ts +15 -0
- package/dist/components/forms/RichTextEditor/RichTextToolbar.js +93 -0
- package/dist/components/forms/RichTextEditor/editorCommands.d.ts +50 -0
- package/dist/components/forms/RichTextEditor/editorCommands.js +58 -0
- package/dist/components/forms/RichTextEditor/editorState.d.ts +19 -0
- package/dist/components/forms/RichTextEditor/editorState.js +103 -0
- package/dist/components/forms/RichTextEditor/index.d.ts +5 -3
- package/dist/components/forms/RichTextEditor/sanitizeHtml.d.ts +38 -0
- package/dist/components/forms/RichTextEditor/sanitizeHtml.js +179 -0
- package/dist/components/forms/RichTextEditor/sanitizeHtml.test.d.ts +1 -0
- package/dist/components/forms/Select/Select.d.ts +5 -1
- package/dist/components/forms/Select/Select.js +14 -13
- package/dist/components/forms/Select/Select.theme.js +4 -4
- package/dist/components/forms/Select/Select.types.d.ts +74 -8
- package/dist/components/forms/Select/useSelectState.d.ts +9 -3
- package/dist/components/forms/Select/useSelectState.js +4 -1
- package/dist/components/forms/SelectableCard/SelectableCard.animations.d.ts +1 -2
- package/dist/components/forms/SelectableCard/SelectableCard.animations.js +6 -7
- package/dist/components/forms/SelectableCard/SelectableCard.js +3 -2
- package/dist/components/forms/SelectableCard/SelectableCard.theme.js +1 -1
- package/dist/components/forms/Signature/Signature.js +1 -1
- package/dist/components/forms/Slider/Slider.js +24 -11
- package/dist/components/forms/Slider/Slider.theme.js +9 -3
- package/dist/components/forms/Switch/Switch.theme.js +3 -3
- package/dist/components/forms/TimePicker/TimePicker.theme.js +7 -8
- package/dist/components/forms/TimePicker/TimePickerContent.js +1 -1
- package/dist/components/forms/TimePicker/TimePickerTrigger.js +3 -3
- package/dist/components/forms/forms.theme.js +38 -13
- package/dist/components/forms/index.js +2 -1
- package/dist/components/generative/FormShell.d.ts +22 -0
- package/dist/components/generative/FormShell.js +102 -0
- package/dist/components/generative/GenerativeView.d.ts +52 -1
- package/dist/components/generative/GenerativeView.js +203 -11
- package/dist/components/generative/actions.d.ts +5 -0
- package/dist/components/generative/ai-sdk/index.d.ts +1 -0
- package/dist/components/generative/ai-sdk/index.js +1 -0
- package/dist/components/generative/ai-sdk/useGenerativeChat.d.ts +52 -0
- package/dist/components/generative/ai-sdk/useGenerativeChat.js +73 -0
- package/dist/components/generative/ai-sdk/useGenerativeChat.test.d.ts +1 -0
- package/dist/components/generative/fieldBinding.d.ts +31 -0
- package/dist/components/generative/fieldBinding.js +33 -0
- package/dist/components/generative/fieldBinding.test.d.ts +1 -0
- package/dist/components/generative/formScope.d.ts +71 -0
- package/dist/components/generative/formScope.js +135 -0
- package/dist/components/generative/index.d.ts +4 -0
- package/dist/components/generative/index.js +4 -0
- package/dist/components/generative/registry.d.ts +2 -0
- package/dist/components/generative/registry.js +197 -4
- package/dist/components/generative/resolvers.js +16 -16
- package/dist/components/generative/schema.generated.js +2522 -328
- package/dist/components/generative/toToolResult.d.ts +21 -0
- package/dist/components/generative/toToolResult.js +15 -0
- package/dist/components/generative/toToolResult.test.d.ts +1 -0
- package/dist/components/generative/validate.d.ts +10 -1
- package/dist/components/generative/validate.js +126 -11
- package/dist/components/layout/Grid/Grid.js +1 -0
- package/dist/components/layout/Section/Section.theme.js +1 -1
- package/dist/components/layout/Stack/Stack.js +1 -0
- package/dist/generative.schema.json +2522 -328
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useElapsedTime.d.ts +28 -0
- package/dist/hooks/useElapsedTime.js +37 -0
- package/dist/hooks/useSelectPortal.d.ts +10 -2
- package/dist/hooks/useSelectPortal.js +6 -3
- package/dist/index.js +2 -5
- package/dist/registry.json +3262 -2464
- package/dist/shadcn-compat.css +6 -6
- package/dist/styles/theme.test.d.ts +1 -0
- package/dist/styles.css +1 -1
- package/dist/test/render.d.ts +17 -0
- package/dist/theme.css +5 -1
- package/dist/themes/ember.css +131 -0
- package/dist/themes/iris.css +94 -0
- package/dist/themes/jade.css +139 -0
- package/dist/themes/precision.css +232 -0
- package/dist/tools.json +2557 -328
- package/dist/utils/colorUtils.d.ts +6 -6
- package/dist/utils/colorUtils.js +8 -8
- package/dist/utils/index.d.ts +0 -1
- package/package.json +39 -6
- package/src/global.scss +32 -28
- package/src/styles/theme.css +547 -176
- package/src/styles/theme.test.ts +119 -0
- package/tailwind.preset.cjs +66 -38
- package/dist/components/charts/FunnelChart/FunnelChart.animations.d.ts +0 -35
- package/dist/components/charts/FunnelChart/FunnelChart.animations.js +0 -59
- package/dist/components/charts/FunnelChart/FunnelChart.d.ts +0 -8
- package/dist/components/charts/FunnelChart/FunnelChart.js +0 -410
- package/dist/components/charts/FunnelChart/FunnelChart.theme.d.ts +0 -2
- package/dist/components/charts/FunnelChart/FunnelChart.theme.js +0 -12
- package/dist/components/charts/FunnelChart/FunnelChart.types.d.ts +0 -105
- package/dist/components/charts/FunnelChart/index.d.ts +0 -4
- package/dist/components/charts/ScatterPlot/ScatterPlot.d.ts +0 -9
- package/dist/components/charts/ScatterPlot/ScatterPlot.js +0 -207
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.d.ts +0 -18
- package/dist/components/charts/ScatterPlot/ScatterPlot.theme.js +0 -42
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.d.ts +0 -65
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.js +0 -12
- package/dist/components/charts/ScatterPlot/index.d.ts +0 -3
- package/dist/components/core/Button/Button.ripple.d.ts +0 -71
- package/dist/components/core/Button/Button.ripple.js +0 -236
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.d.ts +0 -4
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.theme.d.ts +0 -12
- package/dist/components/core/Calendar/CalendarEvent/CalendarEvent.types.d.ts +0 -23
- package/dist/components/core/Calendar/CalendarEvent/index.d.ts +0 -2
- package/dist/components/core/CardStack/CardStack.animations.d.ts +0 -47
- package/dist/components/core/CardStack/CardStack.d.ts +0 -3
- package/dist/components/core/CardStack/CardStack.js +0 -187
- package/dist/components/core/CardStack/CardStack.theme.d.ts +0 -6
- package/dist/components/core/CardStack/CardStack.theme.js +0 -33
- package/dist/components/core/CardStack/CardStack.types.d.ts +0 -139
- package/dist/components/core/CardStack/index.d.ts +0 -7
- package/dist/components/core/Carousel/Carousel.d.ts +0 -3
- package/dist/components/core/Carousel/Carousel.js +0 -83
- package/dist/components/core/Carousel/Carousel.theme.d.ts +0 -10
- package/dist/components/core/Carousel/Carousel.theme.js +0 -20
- package/dist/components/core/Carousel/Carousel.types.d.ts +0 -113
- package/dist/components/core/Carousel/CarouselBody.d.ts +0 -4
- package/dist/components/core/Carousel/CarouselBody.js +0 -59
- package/dist/components/core/Carousel/CarouselContext.d.ts +0 -3
- package/dist/components/core/Carousel/CarouselContext.js +0 -13
- package/dist/components/core/Carousel/CarouselItem.d.ts +0 -4
- package/dist/components/core/Carousel/CarouselItem.js +0 -11
- package/dist/components/core/Carousel/CarouselNext.d.ts +0 -4
- package/dist/components/core/Carousel/CarouselNext.js +0 -16
- package/dist/components/core/Carousel/CarouselPrevious.d.ts +0 -4
- package/dist/components/core/Carousel/CarouselPrevious.js +0 -16
- package/dist/components/core/Carousel/index.d.ts +0 -3
- package/dist/components/core/Pill/Pill.animations.d.ts +0 -32
- package/dist/components/core/Pill/Pill.animations.js +0 -16
- package/dist/components/effects/ColorPanels/ColorPanels.d.ts +0 -8
- package/dist/components/effects/ColorPanels/ColorPanels.js +0 -66
- package/dist/components/effects/ColorPanels/ColorPanels.shaders.d.ts +0 -12
- package/dist/components/effects/ColorPanels/ColorPanels.shaders.js +0 -218
- package/dist/components/effects/ColorPanels/ColorPanels.types.d.ts +0 -29
- package/dist/components/effects/ColorPanels/ColorPanels.types.js +0 -3
- package/dist/components/effects/ColorPanels/index.d.ts +0 -2
- package/dist/components/effects/FlutedGlass/FlutedGlass.d.ts +0 -9
- package/dist/components/effects/FlutedGlass/FlutedGlass.js +0 -80
- package/dist/components/effects/FlutedGlass/FlutedGlass.shaders.d.ts +0 -12
- package/dist/components/effects/FlutedGlass/FlutedGlass.shaders.js +0 -335
- package/dist/components/effects/FlutedGlass/FlutedGlass.types.d.ts +0 -61
- package/dist/components/effects/FlutedGlass/FlutedGlass.types.js +0 -16
- package/dist/components/effects/FlutedGlass/index.d.ts +0 -3
- package/dist/components/effects/GlassEffect/GlassEffect.d.ts +0 -15
- package/dist/components/effects/GlassEffect/GlassEffect.js +0 -38
- package/dist/components/effects/GlassEffect/GlassEffect.types.d.ts +0 -19
- package/dist/components/effects/GlassEffect/index.d.ts +0 -2
- package/dist/components/effects/GlassSurface/GlassSurface.d.ts +0 -8
- package/dist/components/effects/GlassSurface/GlassSurface.js +0 -250
- package/dist/components/effects/GlassSurface/GlassSurface.types.d.ts +0 -66
- package/dist/components/effects/GlassSurface/index.d.ts +0 -2
- package/dist/components/effects/GodRays/GodRays.d.ts +0 -8
- package/dist/components/effects/GodRays/GodRays.js +0 -68
- package/dist/components/effects/GodRays/GodRays.shaders.d.ts +0 -10
- package/dist/components/effects/GodRays/GodRays.shaders.js +0 -128
- package/dist/components/effects/GodRays/GodRays.types.d.ts +0 -25
- package/dist/components/effects/GodRays/GodRays.types.js +0 -3
- package/dist/components/effects/GodRays/index.d.ts +0 -2
- package/dist/components/effects/GridPattern/GridPattern.d.ts +0 -18
- package/dist/components/effects/GridPattern/GridPattern.js +0 -65
- package/dist/components/effects/GridPattern/GridPattern.types.d.ts +0 -47
- package/dist/components/effects/GridPattern/index.d.ts +0 -2
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.d.ts +0 -10
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.js +0 -78
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.shaders.d.ts +0 -22
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.shaders.js +0 -239
- package/dist/components/effects/HalftoneCmyk/HalftoneCmyk.types.d.ts +0 -52
- package/dist/components/effects/HalftoneCmyk/index.d.ts +0 -2
- package/dist/components/effects/HalftoneDots/HalftoneDots.d.ts +0 -9
- package/dist/components/effects/HalftoneDots/HalftoneDots.js +0 -68
- package/dist/components/effects/HalftoneDots/HalftoneDots.shaders.d.ts +0 -13
- package/dist/components/effects/HalftoneDots/HalftoneDots.shaders.js +0 -296
- package/dist/components/effects/HalftoneDots/HalftoneDots.types.d.ts +0 -43
- package/dist/components/effects/HalftoneDots/HalftoneDots.types.js +0 -12
- package/dist/components/effects/HalftoneDots/index.d.ts +0 -3
- package/dist/components/effects/ImageDithering/ImageDithering.d.ts +0 -9
- package/dist/components/effects/ImageDithering/ImageDithering.js +0 -68
- package/dist/components/effects/ImageDithering/ImageDithering.shaders.d.ts +0 -12
- package/dist/components/effects/ImageDithering/ImageDithering.shaders.js +0 -117
- package/dist/components/effects/ImageDithering/ImageDithering.types.d.ts +0 -30
- package/dist/components/effects/ImageDithering/ImageDithering.types.js +0 -8
- package/dist/components/effects/ImageDithering/index.d.ts +0 -3
- package/dist/components/effects/MagneticElement/MagneticElement.d.ts +0 -30
- package/dist/components/effects/MagneticElement/MagneticElement.js +0 -111
- package/dist/components/effects/MagneticElement/MagneticElement.types.d.ts +0 -44
- package/dist/components/effects/MagneticElement/index.d.ts +0 -2
- package/dist/components/effects/Metaballs/Metaballs.d.ts +0 -8
- package/dist/components/effects/Metaballs/Metaballs.js +0 -59
- package/dist/components/effects/Metaballs/Metaballs.shaders.d.ts +0 -10
- package/dist/components/effects/Metaballs/Metaballs.shaders.js +0 -102
- package/dist/components/effects/Metaballs/Metaballs.types.d.ts +0 -16
- package/dist/components/effects/Metaballs/Metaballs.types.js +0 -3
- package/dist/components/effects/Metaballs/index.d.ts +0 -2
- package/dist/components/effects/PaperTexture/PaperTexture.d.ts +0 -9
- package/dist/components/effects/PaperTexture/PaperTexture.js +0 -61
- package/dist/components/effects/PaperTexture/PaperTexture.shaders.d.ts +0 -22
- package/dist/components/effects/PaperTexture/PaperTexture.shaders.js +0 -145
- package/dist/components/effects/PaperTexture/PaperTexture.types.d.ts +0 -19
- package/dist/components/effects/PaperTexture/index.d.ts +0 -2
- package/dist/components/effects/PulsingBorder/PulsingBorder.d.ts +0 -27
- package/dist/components/effects/PulsingBorder/PulsingBorder.js +0 -174
- package/dist/components/effects/PulsingBorder/PulsingBorder.shaders.d.ts +0 -14
- package/dist/components/effects/PulsingBorder/PulsingBorder.shaders.js +0 -258
- package/dist/components/effects/PulsingBorder/PulsingBorder.types.d.ts +0 -75
- package/dist/components/effects/PulsingBorder/PulsingBorder.types.js +0 -3
- package/dist/components/effects/PulsingBorder/index.d.ts +0 -2
- package/dist/components/effects/SmokeRing/SmokeRing.d.ts +0 -8
- package/dist/components/effects/SmokeRing/SmokeRing.js +0 -62
- package/dist/components/effects/SmokeRing/SmokeRing.shaders.d.ts +0 -14
- package/dist/components/effects/SmokeRing/SmokeRing.shaders.js +0 -130
- package/dist/components/effects/SmokeRing/SmokeRing.types.d.ts +0 -22
- package/dist/components/effects/SmokeRing/SmokeRing.types.js +0 -3
- package/dist/components/effects/SmokeRing/index.d.ts +0 -2
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.d.ts +0 -9
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.js +0 -59
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.shaders.d.ts +0 -14
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.shaders.js +0 -129
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.types.d.ts +0 -23
- package/dist/components/effects/StaticGradientMesh/StaticGradientMesh.types.js +0 -3
- package/dist/components/effects/StaticGradientMesh/index.d.ts +0 -2
- package/dist/components/effects/Water/Water.d.ts +0 -9
- package/dist/components/effects/Water/Water.js +0 -65
- package/dist/components/effects/Water/Water.shaders.d.ts +0 -11
- package/dist/components/effects/Water/Water.shaders.js +0 -123
- package/dist/components/effects/Water/Water.types.d.ts +0 -25
- package/dist/components/effects/Water/index.d.ts +0 -2
- package/dist/components/effects/shared/bayerMatrices.glsl.d.ts +0 -10
- package/dist/components/effects/shared/bayerMatrices.glsl.js +0 -44
- package/dist/components/effects/shared/imageUV.glsl.d.ts +0 -12
- package/dist/components/effects/shared/imageUV.glsl.js +0 -26
- package/dist/components/forms/RichTextEditor/RichTextEditor.animations.d.ts +0 -7
- package/dist/components/forms/RichTextEditor/RichTextEditor.animations.js +0 -32
- package/dist/utils/calendarUtils.d.ts +0 -60
- /package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltip.d.ts +0 -0
- /package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltip.theme.d.ts +0 -0
- /package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltip.theme.js +0 -0
- /package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltip.types.d.ts +0 -0
- /package/dist/components/{charts → core}/shared/ChartTooltip/ChartTooltipContent.d.ts +0 -0
- /package/dist/components/{charts → core}/shared/ChartTooltip/index.d.ts +0 -0
|
@@ -48,6 +48,59 @@ const GENERATIVE_SCHEMA = {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
+
"ActivityRings": {
|
|
52
|
+
"role": "leaf",
|
|
53
|
+
"description": "Concentric circular progress rings (auto Card shell).",
|
|
54
|
+
"props": {
|
|
55
|
+
"rings": {
|
|
56
|
+
"kind": "shape",
|
|
57
|
+
"shape": "activityRings",
|
|
58
|
+
"required": true,
|
|
59
|
+
"description": "Array of rings (ordered from outer to inner)"
|
|
60
|
+
},
|
|
61
|
+
"centerLabel": {
|
|
62
|
+
"kind": "text",
|
|
63
|
+
"description": "Center label content (text or ReactNode)"
|
|
64
|
+
},
|
|
65
|
+
"centerSuffix": {
|
|
66
|
+
"kind": "string",
|
|
67
|
+
"description": "Optional suffix for center label (e.g., \"cal\", \"steps\")"
|
|
68
|
+
},
|
|
69
|
+
"size": {
|
|
70
|
+
"kind": "union",
|
|
71
|
+
"types": [
|
|
72
|
+
"number",
|
|
73
|
+
"string"
|
|
74
|
+
],
|
|
75
|
+
"description": "Size of the chart (px or string with units)"
|
|
76
|
+
},
|
|
77
|
+
"strokeWidth": {
|
|
78
|
+
"kind": "number",
|
|
79
|
+
"description": "Ring stroke width (default: 12)"
|
|
80
|
+
},
|
|
81
|
+
"gap": {
|
|
82
|
+
"kind": "number",
|
|
83
|
+
"description": "Gap between rings (default: 8)"
|
|
84
|
+
},
|
|
85
|
+
"showAnimation": {
|
|
86
|
+
"kind": "boolean",
|
|
87
|
+
"description": "Whether to show animations (default: true)"
|
|
88
|
+
},
|
|
89
|
+
"colors": {
|
|
90
|
+
"kind": "shape",
|
|
91
|
+
"shape": "colorList",
|
|
92
|
+
"description": "Custom color palette for rings. Colors are applied in order from outer to inner ring."
|
|
93
|
+
},
|
|
94
|
+
"title": {
|
|
95
|
+
"kind": "text",
|
|
96
|
+
"description": "Card header title (the auto shell)"
|
|
97
|
+
},
|
|
98
|
+
"subtitle": {
|
|
99
|
+
"kind": "text",
|
|
100
|
+
"description": "Card header subtitle (the auto shell)"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
51
104
|
"Alert": {
|
|
52
105
|
"role": "leaf",
|
|
53
106
|
"description": "Inline callout with semantic color.",
|
|
@@ -55,7 +108,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
55
108
|
"color": {
|
|
56
109
|
"kind": "enum",
|
|
57
110
|
"options": [
|
|
58
|
-
"
|
|
111
|
+
"mono",
|
|
59
112
|
"primary",
|
|
60
113
|
"success",
|
|
61
114
|
"warning",
|
|
@@ -168,15 +221,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
168
221
|
"gradient"
|
|
169
222
|
]
|
|
170
223
|
},
|
|
171
|
-
"barRadius": {
|
|
172
|
-
"kind": "number"
|
|
173
|
-
},
|
|
174
|
-
"cellRadius": {
|
|
175
|
-
"kind": "number"
|
|
176
|
-
},
|
|
177
|
-
"gap": {
|
|
178
|
-
"kind": "number"
|
|
179
|
-
},
|
|
180
224
|
"curveType": {
|
|
181
225
|
"kind": "enum",
|
|
182
226
|
"options": [
|
|
@@ -197,6 +241,16 @@ const GENERATIVE_SCHEMA = {
|
|
|
197
241
|
}
|
|
198
242
|
}
|
|
199
243
|
},
|
|
244
|
+
"AspectRatio": {
|
|
245
|
+
"role": "container",
|
|
246
|
+
"description": "Fixed-ratio box. Children are spec nodes.",
|
|
247
|
+
"props": {
|
|
248
|
+
"ratio": {
|
|
249
|
+
"kind": "number",
|
|
250
|
+
"description": "The desired ratio (width / height). e.g., 16/9, 4/3, 1"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
200
254
|
"Avatar": {
|
|
201
255
|
"role": "leaf",
|
|
202
256
|
"description": "User avatar with initials fallback.",
|
|
@@ -216,7 +270,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
216
270
|
"string"
|
|
217
271
|
],
|
|
218
272
|
"default": "md",
|
|
219
|
-
"description": "The size of the avatar"
|
|
273
|
+
"description": "The size of the avatar — a named rung (`\"md\"`) or an exact pixel size"
|
|
220
274
|
},
|
|
221
275
|
"status": {
|
|
222
276
|
"kind": "enum",
|
|
@@ -289,16 +343,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
289
343
|
"default": "md",
|
|
290
344
|
"description": "Size for all avatars in the group"
|
|
291
345
|
},
|
|
292
|
-
"spacing": {
|
|
293
|
-
"kind": "enum",
|
|
294
|
-
"options": [
|
|
295
|
-
"tight",
|
|
296
|
-
"normal",
|
|
297
|
-
"loose"
|
|
298
|
-
],
|
|
299
|
-
"default": "normal",
|
|
300
|
-
"description": "Amount of overlap between avatars (higher value = more overlap)"
|
|
301
|
-
},
|
|
302
346
|
"direction": {
|
|
303
347
|
"kind": "enum",
|
|
304
348
|
"options": [
|
|
@@ -336,13 +380,13 @@ const GENERATIVE_SCHEMA = {
|
|
|
336
380
|
"outline",
|
|
337
381
|
"soft"
|
|
338
382
|
],
|
|
339
|
-
"default": "
|
|
340
|
-
"description": "The visual style variant of the badge
|
|
383
|
+
"default": "soft",
|
|
384
|
+
"description": "The visual style variant of the badge."
|
|
341
385
|
},
|
|
342
386
|
"color": {
|
|
343
387
|
"kind": "enum",
|
|
344
388
|
"options": [
|
|
345
|
-
"
|
|
389
|
+
"mono",
|
|
346
390
|
"primary",
|
|
347
391
|
"success",
|
|
348
392
|
"warning",
|
|
@@ -373,11 +417,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
373
417
|
"iconStart": {
|
|
374
418
|
"kind": "icon",
|
|
375
419
|
"description": "Icon element at the start (before content)"
|
|
376
|
-
},
|
|
377
|
-
"disabled": {
|
|
378
|
-
"kind": "boolean",
|
|
379
|
-
"default": false,
|
|
380
|
-
"description": "Whether the badge is disabled"
|
|
381
420
|
}
|
|
382
421
|
}
|
|
383
422
|
},
|
|
@@ -464,47 +503,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
464
503
|
"gradient"
|
|
465
504
|
]
|
|
466
505
|
},
|
|
467
|
-
"dotRadius": {
|
|
468
|
-
"kind": "number"
|
|
469
|
-
},
|
|
470
|
-
"cellRadius": {
|
|
471
|
-
"kind": "number"
|
|
472
|
-
},
|
|
473
|
-
"strokeWidth": {
|
|
474
|
-
"kind": "number"
|
|
475
|
-
},
|
|
476
|
-
"curved": {
|
|
477
|
-
"kind": "boolean"
|
|
478
|
-
},
|
|
479
|
-
"curveType": {
|
|
480
|
-
"kind": "enum",
|
|
481
|
-
"options": [
|
|
482
|
-
"linear",
|
|
483
|
-
"monotone",
|
|
484
|
-
"step",
|
|
485
|
-
"stepBefore",
|
|
486
|
-
"stepAfter"
|
|
487
|
-
]
|
|
488
|
-
},
|
|
489
|
-
"showDots": {
|
|
490
|
-
"kind": "boolean"
|
|
491
|
-
},
|
|
492
|
-
"fillOpacity": {
|
|
493
|
-
"kind": "number"
|
|
494
|
-
},
|
|
495
|
-
"showStroke": {
|
|
496
|
-
"kind": "boolean"
|
|
497
|
-
},
|
|
498
|
-
"stacked": {
|
|
499
|
-
"kind": "boolean"
|
|
500
|
-
},
|
|
501
|
-
"orientation": {
|
|
502
|
-
"kind": "enum",
|
|
503
|
-
"options": [
|
|
504
|
-
"vertical",
|
|
505
|
-
"horizontal"
|
|
506
|
-
]
|
|
507
|
-
},
|
|
508
506
|
"title": {
|
|
509
507
|
"kind": "text",
|
|
510
508
|
"description": "Card header title (the auto shell)"
|
|
@@ -550,7 +548,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
550
548
|
"color": {
|
|
551
549
|
"kind": "enum",
|
|
552
550
|
"options": [
|
|
553
|
-
"
|
|
551
|
+
"mono",
|
|
554
552
|
"primary",
|
|
555
553
|
"danger"
|
|
556
554
|
],
|
|
@@ -592,37 +590,96 @@ const GENERATIVE_SCHEMA = {
|
|
|
592
590
|
"kind": "boolean",
|
|
593
591
|
"description": "Whether the button should be full width"
|
|
594
592
|
},
|
|
593
|
+
"iconStart": {
|
|
594
|
+
"kind": "icon",
|
|
595
|
+
"description": "Small decorative icon before the label, auto-sized to the button's `size`."
|
|
596
|
+
},
|
|
597
|
+
"iconEnd": {
|
|
598
|
+
"kind": "icon",
|
|
599
|
+
"description": "Small decorative icon after the label, auto-sized to the button's `size`. See `iconStart`."
|
|
600
|
+
},
|
|
595
601
|
"children": {
|
|
596
602
|
"kind": "text",
|
|
597
603
|
"description": "Button contents"
|
|
598
604
|
},
|
|
599
605
|
"enableRipple": {
|
|
600
606
|
"kind": "boolean",
|
|
601
|
-
"
|
|
607
|
+
"default": true,
|
|
608
|
+
"description": "Whether to show the press ripple."
|
|
602
609
|
},
|
|
603
|
-
"
|
|
610
|
+
"showReflection": {
|
|
611
|
+
"kind": "boolean",
|
|
612
|
+
"description": "Whether to show the glass reflection effect (default: true)"
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"ButtonGroup": {
|
|
617
|
+
"role": "container",
|
|
618
|
+
"description": "Groups adjacent Buttons with joined borders. Children are spec nodes (Button leaves).",
|
|
619
|
+
"props": {
|
|
620
|
+
"orientation": {
|
|
604
621
|
"kind": "enum",
|
|
605
622
|
"options": [
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"aurora",
|
|
609
|
-
"particle",
|
|
610
|
-
"glass",
|
|
611
|
-
"echo"
|
|
623
|
+
"horizontal",
|
|
624
|
+
"vertical"
|
|
612
625
|
],
|
|
613
|
-
"description": "
|
|
626
|
+
"description": "The layout direction of the button group"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
"Calendar": {
|
|
631
|
+
"role": "leaf",
|
|
632
|
+
"description": "Date picker grid (range mode not supported in generative specs). value/minDate/maxDate accept ISO date strings, coerced to Date internally. Bind node.actions.change to onChange (fires with the selected ISO date string).",
|
|
633
|
+
"props": {
|
|
634
|
+
"showToday": {
|
|
635
|
+
"kind": "boolean",
|
|
636
|
+
"description": "Whether to highlight today's date (default: true)"
|
|
614
637
|
},
|
|
615
|
-
"
|
|
616
|
-
"kind": "
|
|
617
|
-
"description": "
|
|
638
|
+
"selectTodayByDefault": {
|
|
639
|
+
"kind": "boolean",
|
|
640
|
+
"description": "Auto-select today's date when calendar opens without a value (default: false)"
|
|
618
641
|
},
|
|
619
|
-
"
|
|
620
|
-
"kind": "
|
|
621
|
-
"
|
|
642
|
+
"size": {
|
|
643
|
+
"kind": "enum",
|
|
644
|
+
"options": [
|
|
645
|
+
"sm",
|
|
646
|
+
"md",
|
|
647
|
+
"lg"
|
|
648
|
+
],
|
|
649
|
+
"description": "Size variant"
|
|
622
650
|
},
|
|
623
|
-
"
|
|
651
|
+
"headerMode": {
|
|
652
|
+
"kind": "enum",
|
|
653
|
+
"options": [
|
|
654
|
+
"dropdown",
|
|
655
|
+
"static",
|
|
656
|
+
"mixed"
|
|
657
|
+
],
|
|
658
|
+
"description": "Header display mode - dropdown (default), static text, or mixed (default: 'dropdown')"
|
|
659
|
+
},
|
|
660
|
+
"enableMonthDropdown": {
|
|
624
661
|
"kind": "boolean",
|
|
625
|
-
"description": "Whether to
|
|
662
|
+
"description": "Whether to enable month dropdown instead of navigation arrows (default: true)"
|
|
663
|
+
},
|
|
664
|
+
"enableYearDropdown": {
|
|
665
|
+
"kind": "boolean",
|
|
666
|
+
"description": "Whether to enable year dropdown instead of navigation arrows (default: true)"
|
|
667
|
+
},
|
|
668
|
+
"showOtherMonthDays": {
|
|
669
|
+
"kind": "boolean",
|
|
670
|
+
"description": "Whether to show days from adjacent months (default: true)"
|
|
671
|
+
},
|
|
672
|
+
"value": {
|
|
673
|
+
"kind": "string",
|
|
674
|
+
"description": "Selected date, ISO format (e.g. \"2024-01-01\")"
|
|
675
|
+
},
|
|
676
|
+
"minDate": {
|
|
677
|
+
"kind": "string",
|
|
678
|
+
"description": "Minimum selectable date, ISO format"
|
|
679
|
+
},
|
|
680
|
+
"maxDate": {
|
|
681
|
+
"kind": "string",
|
|
682
|
+
"description": "Maximum selectable date, ISO format"
|
|
626
683
|
}
|
|
627
684
|
}
|
|
628
685
|
},
|
|
@@ -640,6 +697,131 @@ const GENERATIVE_SCHEMA = {
|
|
|
640
697
|
}
|
|
641
698
|
}
|
|
642
699
|
},
|
|
700
|
+
"Checkbox": {
|
|
701
|
+
"role": "leaf",
|
|
702
|
+
"description": "Single checkbox. `value` is its HTML group-identity string, NOT the checked state. Bind node.actions.change to onChange — only the checked boolean (first argument) reaches the action, the value argument is dropped.",
|
|
703
|
+
"props": {
|
|
704
|
+
"value": {
|
|
705
|
+
"kind": "string",
|
|
706
|
+
"required": true
|
|
707
|
+
},
|
|
708
|
+
"indeterminate": {
|
|
709
|
+
"kind": "boolean"
|
|
710
|
+
},
|
|
711
|
+
"label": {
|
|
712
|
+
"kind": "text"
|
|
713
|
+
},
|
|
714
|
+
"description": {
|
|
715
|
+
"kind": "text"
|
|
716
|
+
},
|
|
717
|
+
"state": {
|
|
718
|
+
"kind": "enum",
|
|
719
|
+
"options": [
|
|
720
|
+
"default",
|
|
721
|
+
"disabled",
|
|
722
|
+
"invalid"
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
"size": {
|
|
726
|
+
"kind": "enum",
|
|
727
|
+
"options": [
|
|
728
|
+
"sm",
|
|
729
|
+
"md",
|
|
730
|
+
"lg"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
"checked": {
|
|
734
|
+
"kind": "boolean",
|
|
735
|
+
"description": "Whether the checkbox is checked"
|
|
736
|
+
},
|
|
737
|
+
"disabled": {
|
|
738
|
+
"kind": "boolean",
|
|
739
|
+
"description": "Whether the checkbox is disabled"
|
|
740
|
+
},
|
|
741
|
+
"required": {
|
|
742
|
+
"kind": "boolean",
|
|
743
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
744
|
+
},
|
|
745
|
+
"name": {
|
|
746
|
+
"kind": "string",
|
|
747
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"Combobox": {
|
|
752
|
+
"role": "leaf",
|
|
753
|
+
"description": "Searchable single-select. Bind node.actions.change to onChange (fires with the selected option's value, or undefined when cleared).",
|
|
754
|
+
"props": {
|
|
755
|
+
"options": {
|
|
756
|
+
"kind": "shape",
|
|
757
|
+
"shape": "optionItems",
|
|
758
|
+
"required": true,
|
|
759
|
+
"description": "Array of options to display"
|
|
760
|
+
},
|
|
761
|
+
"placeholder": {
|
|
762
|
+
"kind": "string",
|
|
763
|
+
"description": "Placeholder text when no value is selected"
|
|
764
|
+
},
|
|
765
|
+
"label": {
|
|
766
|
+
"kind": "text",
|
|
767
|
+
"description": "Label text displayed above the input"
|
|
768
|
+
},
|
|
769
|
+
"helperText": {
|
|
770
|
+
"kind": "text",
|
|
771
|
+
"description": "Helper text displayed below the input"
|
|
772
|
+
},
|
|
773
|
+
"size": {
|
|
774
|
+
"kind": "enum",
|
|
775
|
+
"options": [
|
|
776
|
+
"sm",
|
|
777
|
+
"md",
|
|
778
|
+
"lg"
|
|
779
|
+
],
|
|
780
|
+
"description": "Size variant"
|
|
781
|
+
},
|
|
782
|
+
"state": {
|
|
783
|
+
"kind": "enum",
|
|
784
|
+
"options": [
|
|
785
|
+
"default",
|
|
786
|
+
"disabled",
|
|
787
|
+
"invalid"
|
|
788
|
+
],
|
|
789
|
+
"description": "State variant (controls styling)"
|
|
790
|
+
},
|
|
791
|
+
"clearable": {
|
|
792
|
+
"kind": "boolean",
|
|
793
|
+
"description": "Whether the clear button is shown (default: true)"
|
|
794
|
+
},
|
|
795
|
+
"iconStart": {
|
|
796
|
+
"kind": "icon",
|
|
797
|
+
"description": "Icon displayed at the start of the input"
|
|
798
|
+
},
|
|
799
|
+
"iconEnd": {
|
|
800
|
+
"kind": "icon",
|
|
801
|
+
"description": "Icon displayed at the end of the input"
|
|
802
|
+
},
|
|
803
|
+
"openOnFocus": {
|
|
804
|
+
"kind": "boolean",
|
|
805
|
+
"description": "Whether to open dropdown on focus (default: true)"
|
|
806
|
+
},
|
|
807
|
+
"emptyMessage": {
|
|
808
|
+
"kind": "string",
|
|
809
|
+
"description": "Message shown when no options match the filter"
|
|
810
|
+
},
|
|
811
|
+
"required": {
|
|
812
|
+
"kind": "boolean",
|
|
813
|
+
"description": "Whether the input is required"
|
|
814
|
+
},
|
|
815
|
+
"name": {
|
|
816
|
+
"kind": "string",
|
|
817
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
818
|
+
},
|
|
819
|
+
"value": {
|
|
820
|
+
"kind": "string",
|
|
821
|
+
"description": "Currently selected value (controlled)"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
},
|
|
643
825
|
"ComboChart": {
|
|
644
826
|
"role": "leaf",
|
|
645
827
|
"description": "Combined bar+line chart — per-series type via config[key].type (auto Card shell).",
|
|
@@ -731,10 +913,10 @@ const GENERATIVE_SCHEMA = {
|
|
|
731
913
|
"barRadius": {
|
|
732
914
|
"kind": "number"
|
|
733
915
|
},
|
|
734
|
-
"
|
|
916
|
+
"gap": {
|
|
735
917
|
"kind": "number"
|
|
736
918
|
},
|
|
737
|
-
"
|
|
919
|
+
"dotRadius": {
|
|
738
920
|
"kind": "number"
|
|
739
921
|
},
|
|
740
922
|
"radius": {
|
|
@@ -743,15 +925,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
743
925
|
"strokeWidth": {
|
|
744
926
|
"kind": "number"
|
|
745
927
|
},
|
|
746
|
-
"gap": {
|
|
747
|
-
"kind": "number"
|
|
748
|
-
},
|
|
749
|
-
"fillOpacity": {
|
|
750
|
-
"kind": "number"
|
|
751
|
-
},
|
|
752
|
-
"showStroke": {
|
|
753
|
-
"kind": "boolean"
|
|
754
|
-
},
|
|
755
928
|
"title": {
|
|
756
929
|
"kind": "text",
|
|
757
930
|
"description": "Card header title (the auto shell)"
|
|
@@ -762,15 +935,64 @@ const GENERATIVE_SCHEMA = {
|
|
|
762
935
|
}
|
|
763
936
|
}
|
|
764
937
|
},
|
|
765
|
-
"
|
|
938
|
+
"CommandPalette": {
|
|
766
939
|
"role": "leaf",
|
|
767
|
-
"description": "
|
|
940
|
+
"description": "Searchable command list, rendered as a full-screen modal overlay (pair with node.actions.select/close).",
|
|
768
941
|
"props": {
|
|
769
|
-
"
|
|
770
|
-
"kind": "
|
|
771
|
-
"
|
|
772
|
-
|
|
773
|
-
|
|
942
|
+
"commands": {
|
|
943
|
+
"kind": "shape",
|
|
944
|
+
"shape": "commandItems",
|
|
945
|
+
"required": true,
|
|
946
|
+
"description": "Array of commands or command groups"
|
|
947
|
+
},
|
|
948
|
+
"placeholder": {
|
|
949
|
+
"kind": "string",
|
|
950
|
+
"description": "Placeholder text for search input"
|
|
951
|
+
},
|
|
952
|
+
"emptyMessage": {
|
|
953
|
+
"kind": "string",
|
|
954
|
+
"description": "Custom empty state message"
|
|
955
|
+
},
|
|
956
|
+
"maxHeight": {
|
|
957
|
+
"kind": "union",
|
|
958
|
+
"types": [
|
|
959
|
+
"number",
|
|
960
|
+
"string"
|
|
961
|
+
],
|
|
962
|
+
"description": "Maximum height of the command list"
|
|
963
|
+
},
|
|
964
|
+
"grouped": {
|
|
965
|
+
"kind": "boolean",
|
|
966
|
+
"description": "Whether to group commands by category"
|
|
967
|
+
},
|
|
968
|
+
"elevation": {
|
|
969
|
+
"kind": "union",
|
|
970
|
+
"types": [
|
|
971
|
+
"number",
|
|
972
|
+
"string"
|
|
973
|
+
],
|
|
974
|
+
"description": "Pin the surface elevation rung (overrides the automatic relative lift)."
|
|
975
|
+
},
|
|
976
|
+
"lift": {
|
|
977
|
+
"kind": "boolean",
|
|
978
|
+
"description": "`false` opts out of the relative lift — paints at the palette's base rung."
|
|
979
|
+
},
|
|
980
|
+
"isOpen": {
|
|
981
|
+
"kind": "boolean",
|
|
982
|
+
"description": "Always rendered open in a generative spec.",
|
|
983
|
+
"default": true
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"DescriptionList": {
|
|
988
|
+
"role": "leaf",
|
|
989
|
+
"description": "Label/value pairs driven by a serializable items array.",
|
|
990
|
+
"props": {
|
|
991
|
+
"variant": {
|
|
992
|
+
"kind": "enum",
|
|
993
|
+
"options": [
|
|
994
|
+
"horizontal",
|
|
995
|
+
"vertical"
|
|
774
996
|
],
|
|
775
997
|
"description": "Layout variant: \"horizontal\" (default) or \"vertical\""
|
|
776
998
|
},
|
|
@@ -855,6 +1077,22 @@ const GENERATIVE_SCHEMA = {
|
|
|
855
1077
|
}
|
|
856
1078
|
}
|
|
857
1079
|
},
|
|
1080
|
+
"DotSeparator": {
|
|
1081
|
+
"role": "leaf",
|
|
1082
|
+
"description": "Small dot glyph used as an inline separator.",
|
|
1083
|
+
"props": {
|
|
1084
|
+
"size": {
|
|
1085
|
+
"kind": "enum",
|
|
1086
|
+
"options": [
|
|
1087
|
+
"sm",
|
|
1088
|
+
"md",
|
|
1089
|
+
"lg"
|
|
1090
|
+
],
|
|
1091
|
+
"default": "md",
|
|
1092
|
+
"description": "The size of the dot (also scales its horizontal spacing)"
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
858
1096
|
"Empty": {
|
|
859
1097
|
"role": "leaf",
|
|
860
1098
|
"description": "Empty-state placeholder with icon, title and subtitle.",
|
|
@@ -896,6 +1134,128 @@ const GENERATIVE_SCHEMA = {
|
|
|
896
1134
|
}
|
|
897
1135
|
}
|
|
898
1136
|
},
|
|
1137
|
+
"Form": {
|
|
1138
|
+
"role": "container",
|
|
1139
|
+
"description": "A form that collects structured input from the user. Children with a `name` prop become fields; submitting delivers all field values at once in a single action. Use this whenever you need information from the user rather than free text.",
|
|
1140
|
+
"props": {
|
|
1141
|
+
"title": {
|
|
1142
|
+
"kind": "text",
|
|
1143
|
+
"description": "Heading for the form. Also becomes its accessible name."
|
|
1144
|
+
},
|
|
1145
|
+
"description": {
|
|
1146
|
+
"kind": "text",
|
|
1147
|
+
"description": "Optional helper text shown above the fields."
|
|
1148
|
+
},
|
|
1149
|
+
"submitLabel": {
|
|
1150
|
+
"kind": "string",
|
|
1151
|
+
"default": "Submit",
|
|
1152
|
+
"description": "Label for the submit button. A button is rendered automatically when the form's children do not include one."
|
|
1153
|
+
},
|
|
1154
|
+
"errorSummaryTitle": {
|
|
1155
|
+
"kind": "text",
|
|
1156
|
+
"default": "Please fix the following before continuing:",
|
|
1157
|
+
"description": "Heading for the error summary shown when submit is blocked because a required field is empty. Set it to match the spec's language."
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"GanttChart": {
|
|
1162
|
+
"role": "leaf",
|
|
1163
|
+
"description": "Project timeline chart. startDate/endDate and task dates accept ISO date strings directly (the real prop type is Date | string). Custom columns are not supported (uses the built-in default columns). Bind node.actions.taskClick to onTaskClick.",
|
|
1164
|
+
"props": {
|
|
1165
|
+
"data": {
|
|
1166
|
+
"kind": "shape",
|
|
1167
|
+
"shape": "ganttTasks",
|
|
1168
|
+
"required": true
|
|
1169
|
+
},
|
|
1170
|
+
"groups": {
|
|
1171
|
+
"kind": "shape",
|
|
1172
|
+
"shape": "ganttGroups",
|
|
1173
|
+
"required": true
|
|
1174
|
+
},
|
|
1175
|
+
"todayMarker": {
|
|
1176
|
+
"kind": "boolean"
|
|
1177
|
+
},
|
|
1178
|
+
"scrollToToday": {
|
|
1179
|
+
"kind": "boolean"
|
|
1180
|
+
},
|
|
1181
|
+
"showTable": {
|
|
1182
|
+
"kind": "boolean"
|
|
1183
|
+
},
|
|
1184
|
+
"showDependencies": {
|
|
1185
|
+
"kind": "boolean"
|
|
1186
|
+
},
|
|
1187
|
+
"showTaskLabels": {
|
|
1188
|
+
"kind": "enum",
|
|
1189
|
+
"options": [
|
|
1190
|
+
"none",
|
|
1191
|
+
"auto",
|
|
1192
|
+
"inside",
|
|
1193
|
+
"outside"
|
|
1194
|
+
]
|
|
1195
|
+
},
|
|
1196
|
+
"readonly": {
|
|
1197
|
+
"kind": "boolean"
|
|
1198
|
+
},
|
|
1199
|
+
"readonlyDates": {
|
|
1200
|
+
"kind": "boolean"
|
|
1201
|
+
},
|
|
1202
|
+
"readonlyProgress": {
|
|
1203
|
+
"kind": "boolean"
|
|
1204
|
+
},
|
|
1205
|
+
"zoom": {
|
|
1206
|
+
"kind": "enum",
|
|
1207
|
+
"options": [
|
|
1208
|
+
"day",
|
|
1209
|
+
"week",
|
|
1210
|
+
"quarter",
|
|
1211
|
+
"month",
|
|
1212
|
+
"year"
|
|
1213
|
+
]
|
|
1214
|
+
},
|
|
1215
|
+
"defaultZoom": {
|
|
1216
|
+
"kind": "enum",
|
|
1217
|
+
"options": [
|
|
1218
|
+
"day",
|
|
1219
|
+
"week",
|
|
1220
|
+
"quarter",
|
|
1221
|
+
"month",
|
|
1222
|
+
"year"
|
|
1223
|
+
]
|
|
1224
|
+
},
|
|
1225
|
+
"hideCompleted": {
|
|
1226
|
+
"kind": "boolean"
|
|
1227
|
+
},
|
|
1228
|
+
"defaultHideCompleted": {
|
|
1229
|
+
"kind": "boolean"
|
|
1230
|
+
},
|
|
1231
|
+
"tablePanelWidth": {
|
|
1232
|
+
"kind": "number"
|
|
1233
|
+
},
|
|
1234
|
+
"defaultTablePanelWidth": {
|
|
1235
|
+
"kind": "number"
|
|
1236
|
+
},
|
|
1237
|
+
"gridLines": {
|
|
1238
|
+
"kind": "enum",
|
|
1239
|
+
"options": [
|
|
1240
|
+
"none",
|
|
1241
|
+
"horizontal",
|
|
1242
|
+
"vertical",
|
|
1243
|
+
"both"
|
|
1244
|
+
]
|
|
1245
|
+
},
|
|
1246
|
+
"rowHeight": {
|
|
1247
|
+
"kind": "number"
|
|
1248
|
+
},
|
|
1249
|
+
"startDate": {
|
|
1250
|
+
"kind": "string",
|
|
1251
|
+
"description": "Visible range start, ISO date format"
|
|
1252
|
+
},
|
|
1253
|
+
"endDate": {
|
|
1254
|
+
"kind": "string",
|
|
1255
|
+
"description": "Visible range end, ISO date format"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
899
1259
|
"Grid": {
|
|
900
1260
|
"role": "container",
|
|
901
1261
|
"description": "Responsive CSS-grid container. Children are spec nodes.",
|
|
@@ -903,6 +1263,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
903
1263
|
"as": {
|
|
904
1264
|
"kind": "enum",
|
|
905
1265
|
"options": [
|
|
1266
|
+
"form",
|
|
906
1267
|
"div",
|
|
907
1268
|
"ul",
|
|
908
1269
|
"ol",
|
|
@@ -911,7 +1272,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
911
1272
|
"header",
|
|
912
1273
|
"footer",
|
|
913
1274
|
"aside",
|
|
914
|
-
"form",
|
|
915
1275
|
"fieldset"
|
|
916
1276
|
],
|
|
917
1277
|
"default": "div",
|
|
@@ -971,119 +1331,70 @@ const GENERATIVE_SCHEMA = {
|
|
|
971
1331
|
}
|
|
972
1332
|
}
|
|
973
1333
|
},
|
|
974
|
-
"
|
|
1334
|
+
"Heatmap": {
|
|
975
1335
|
"role": "leaf",
|
|
976
|
-
"description": "
|
|
1336
|
+
"description": "Calendar/matrix heatmap (auto Card shell). Bind node.actions.cellClick to onCellClick (fires with the clicked cell's data).",
|
|
977
1337
|
"props": {
|
|
978
|
-
"
|
|
979
|
-
"kind": "text",
|
|
980
|
-
"required": true,
|
|
981
|
-
"description": "The main metric value to display (e.g. \"$25.5M\", \"1,234\", \"89%\")"
|
|
982
|
-
},
|
|
983
|
-
"label": {
|
|
984
|
-
"kind": "text",
|
|
985
|
-
"description": "Label describing the metric (e.g. \"Fund raised\", \"Total Revenue\")"
|
|
986
|
-
},
|
|
987
|
-
"trend": {
|
|
988
|
-
"kind": "number",
|
|
989
|
-
"description": "Percentage change value (e.g. 20, -5.3). Determines trend direction & color."
|
|
990
|
-
},
|
|
991
|
-
"trendLabel": {
|
|
992
|
-
"kind": "text",
|
|
993
|
-
"description": "Custom trend label override (default: auto-formats as \"+20%\" or \"-5.3%\")"
|
|
994
|
-
},
|
|
995
|
-
"progress": {
|
|
996
|
-
"kind": "number",
|
|
997
|
-
"description": "Progress value from 0-100. Controls how many bars are filled."
|
|
998
|
-
},
|
|
999
|
-
"barCount": {
|
|
1000
|
-
"kind": "number",
|
|
1001
|
-
"default": 24,
|
|
1002
|
-
"description": "Total number of bars in the visualization."
|
|
1003
|
-
},
|
|
1004
|
-
"subtitle": {
|
|
1005
|
-
"kind": "text",
|
|
1006
|
-
"description": "Subtitle text below the bars (e.g. \"Compared to last month\")"
|
|
1007
|
-
},
|
|
1008
|
-
"icon": {
|
|
1009
|
-
"kind": "icon",
|
|
1010
|
-
"description": "Icon to display before the label."
|
|
1011
|
-
},
|
|
1012
|
-
"size": {
|
|
1338
|
+
"legend": {
|
|
1013
1339
|
"kind": "enum",
|
|
1014
1340
|
"options": [
|
|
1015
|
-
"
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
1341
|
+
"top",
|
|
1342
|
+
"bottom",
|
|
1343
|
+
"none"
|
|
1018
1344
|
],
|
|
1019
|
-
"default": "
|
|
1020
|
-
"description": "
|
|
1345
|
+
"default": "bottom",
|
|
1346
|
+
"description": "Colour-ramp legend position — Heatmap draws its own gradient ramp, not per-series swatches from `config`. Always defaults to 'bottom' when omitted."
|
|
1347
|
+
},
|
|
1348
|
+
"data": {
|
|
1349
|
+
"kind": "shape",
|
|
1350
|
+
"shape": "heatmapPoints",
|
|
1351
|
+
"description": "Heatmap data array — optional when using ChartContainer context"
|
|
1021
1352
|
},
|
|
1022
1353
|
"color": {
|
|
1023
1354
|
"kind": "enum",
|
|
1024
1355
|
"options": [
|
|
1025
|
-
"
|
|
1356
|
+
"mono",
|
|
1026
1357
|
"primary",
|
|
1027
1358
|
"success",
|
|
1028
1359
|
"warning",
|
|
1029
1360
|
"danger"
|
|
1030
1361
|
],
|
|
1031
1362
|
"default": "primary",
|
|
1032
|
-
"description": "
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"LineChart": {
|
|
1037
|
-
"role": "leaf",
|
|
1038
|
-
"description": "Line chart (auto Card shell + shared-height container).",
|
|
1039
|
-
"props": {
|
|
1040
|
-
"color": {
|
|
1041
|
-
"kind": "enum",
|
|
1042
|
-
"options": [
|
|
1043
|
-
"primary",
|
|
1044
|
-
"success",
|
|
1045
|
-
"warning",
|
|
1046
|
-
"danger"
|
|
1047
|
-
]
|
|
1048
|
-
},
|
|
1049
|
-
"dotRadius": {
|
|
1050
|
-
"kind": "number"
|
|
1051
|
-
},
|
|
1052
|
-
"radius": {
|
|
1053
|
-
"kind": "number"
|
|
1054
|
-
},
|
|
1055
|
-
"strokeWidth": {
|
|
1056
|
-
"kind": "number"
|
|
1057
|
-
},
|
|
1058
|
-
"curved": {
|
|
1059
|
-
"kind": "boolean"
|
|
1363
|
+
"description": "Semantic colour for heatmap cells"
|
|
1060
1364
|
},
|
|
1061
|
-
"
|
|
1365
|
+
"variant": {
|
|
1062
1366
|
"kind": "enum",
|
|
1063
1367
|
"options": [
|
|
1064
|
-
"
|
|
1065
|
-
"
|
|
1066
|
-
]
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
"kind": "boolean"
|
|
1070
|
-
},
|
|
1071
|
-
"data": {
|
|
1072
|
-
"kind": "shape",
|
|
1073
|
-
"shape": "chartData",
|
|
1074
|
-
"required": true
|
|
1368
|
+
"default",
|
|
1369
|
+
"minimal"
|
|
1370
|
+
],
|
|
1371
|
+
"default": "default",
|
|
1372
|
+
"description": "Visual variant"
|
|
1075
1373
|
},
|
|
1076
|
-
"
|
|
1374
|
+
"legendLabels": {
|
|
1077
1375
|
"kind": "shape",
|
|
1078
|
-
"shape": "
|
|
1079
|
-
"
|
|
1376
|
+
"shape": "heatmapLegendLabels",
|
|
1377
|
+
"default": "{ min: 'Low activity', max: 'High activity' }",
|
|
1378
|
+
"description": "Captions at each end of the colour ramp."
|
|
1080
1379
|
},
|
|
1081
|
-
"
|
|
1380
|
+
"cellGap": {
|
|
1082
1381
|
"kind": "union",
|
|
1083
1382
|
"types": [
|
|
1084
1383
|
"number",
|
|
1085
1384
|
"string"
|
|
1086
|
-
]
|
|
1385
|
+
],
|
|
1386
|
+
"default": 6,
|
|
1387
|
+
"description": "Gap between cells"
|
|
1388
|
+
},
|
|
1389
|
+
"minOpacity": {
|
|
1390
|
+
"kind": "number",
|
|
1391
|
+
"default": 0.1,
|
|
1392
|
+
"description": "Opacity floor for zero/lowest-intensity cells"
|
|
1393
|
+
},
|
|
1394
|
+
"showTooltip": {
|
|
1395
|
+
"kind": "boolean",
|
|
1396
|
+
"default": true,
|
|
1397
|
+
"description": "Show the hover tooltip"
|
|
1087
1398
|
},
|
|
1088
1399
|
"height": {
|
|
1089
1400
|
"kind": "union",
|
|
@@ -1092,11 +1403,12 @@ const GENERATIVE_SCHEMA = {
|
|
|
1092
1403
|
"string"
|
|
1093
1404
|
]
|
|
1094
1405
|
},
|
|
1095
|
-
"
|
|
1096
|
-
"kind": "
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1406
|
+
"width": {
|
|
1407
|
+
"kind": "union",
|
|
1408
|
+
"types": [
|
|
1409
|
+
"number",
|
|
1410
|
+
"string"
|
|
1411
|
+
]
|
|
1100
1412
|
},
|
|
1101
1413
|
"showXAxis": {
|
|
1102
1414
|
"kind": "boolean"
|
|
@@ -1104,15 +1416,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
1104
1416
|
"showYAxis": {
|
|
1105
1417
|
"kind": "boolean"
|
|
1106
1418
|
},
|
|
1107
|
-
"legend": {
|
|
1108
|
-
"kind": "enum",
|
|
1109
|
-
"options": [
|
|
1110
|
-
"top",
|
|
1111
|
-
"bottom",
|
|
1112
|
-
"none"
|
|
1113
|
-
],
|
|
1114
|
-
"description": "Always-visible legend position, rendered from `config`'s labels/colors."
|
|
1115
|
-
},
|
|
1116
1419
|
"minValue": {
|
|
1117
1420
|
"kind": "number"
|
|
1118
1421
|
},
|
|
@@ -1129,22 +1432,987 @@ const GENERATIVE_SCHEMA = {
|
|
|
1129
1432
|
}
|
|
1130
1433
|
}
|
|
1131
1434
|
},
|
|
1132
|
-
"
|
|
1133
|
-
"role": "
|
|
1134
|
-
"description": "
|
|
1435
|
+
"HeroCard": {
|
|
1436
|
+
"role": "container",
|
|
1437
|
+
"description": "Gradient hero shell with an ambient blurred backdrop image. Children are spec nodes rendered above the backdrop.",
|
|
1135
1438
|
"props": {
|
|
1136
|
-
"
|
|
1137
|
-
"kind": "
|
|
1138
|
-
"
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
"
|
|
1143
|
-
"description": "
|
|
1439
|
+
"image": {
|
|
1440
|
+
"kind": "string",
|
|
1441
|
+
"description": "Backdrop image src. Defaults to the bundled `/bg/3.webp`"
|
|
1442
|
+
},
|
|
1443
|
+
"imageBlur": {
|
|
1444
|
+
"kind": "number",
|
|
1445
|
+
"default": 24,
|
|
1446
|
+
"description": "Backdrop blur radius in px."
|
|
1447
|
+
},
|
|
1448
|
+
"imageScale": {
|
|
1449
|
+
"kind": "number",
|
|
1450
|
+
"default": 1.25,
|
|
1451
|
+
"description": "Backdrop scale factor — zooming the abstract blobs in/out reframes the texture."
|
|
1452
|
+
},
|
|
1453
|
+
"imageOpacity": {
|
|
1454
|
+
"kind": "number",
|
|
1455
|
+
"default": 0.5,
|
|
1456
|
+
"description": "Backdrop opacity, 0–1."
|
|
1457
|
+
},
|
|
1458
|
+
"imageBlend": {
|
|
1459
|
+
"kind": "enum",
|
|
1460
|
+
"options": [
|
|
1461
|
+
"overlay",
|
|
1462
|
+
"multiply",
|
|
1463
|
+
"soft-light",
|
|
1464
|
+
"hard-light",
|
|
1465
|
+
"screen",
|
|
1466
|
+
"luminosity",
|
|
1467
|
+
"normal"
|
|
1468
|
+
],
|
|
1469
|
+
"default": "multiply",
|
|
1470
|
+
"description": "Blend mode compositing the image over the gradient."
|
|
1471
|
+
},
|
|
1472
|
+
"imagePosition": {
|
|
1473
|
+
"kind": "string",
|
|
1474
|
+
"default": "center",
|
|
1475
|
+
"description": "CSS `background-position` — e.g. `\"top right\"`, `\"30% 70%\"`."
|
|
1476
|
+
},
|
|
1477
|
+
"parallax": {
|
|
1478
|
+
"kind": "boolean",
|
|
1479
|
+
"default": false,
|
|
1480
|
+
"description": "On pointer hover, drift the backdrop image opposite the cursor (damped) for a"
|
|
1481
|
+
},
|
|
1482
|
+
"parallaxIntensity": {
|
|
1483
|
+
"kind": "number",
|
|
1484
|
+
"default": 32,
|
|
1485
|
+
"description": "Max backdrop travel in px (each direction) when `parallax` is on. Auto-clamped"
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
"HorizontalBarChart": {
|
|
1490
|
+
"role": "leaf",
|
|
1491
|
+
"description": "Horizontal bar chart — categories down the left, values extending right. Prefer over BarChart when category names are long or numerous, or when ranking items.",
|
|
1492
|
+
"props": {
|
|
1493
|
+
"categoryGap": {
|
|
1494
|
+
"kind": "number",
|
|
1495
|
+
"description": "Gap between category rows."
|
|
1496
|
+
},
|
|
1497
|
+
"categoryWidth": {
|
|
1498
|
+
"kind": "number",
|
|
1499
|
+
"default": 120,
|
|
1500
|
+
"description": "Width reserved for the category labels running down the left. Category names are"
|
|
1501
|
+
},
|
|
1502
|
+
"colors": {
|
|
1503
|
+
"kind": "shape",
|
|
1504
|
+
"shape": "colorList",
|
|
1505
|
+
"description": "Custom color palette for bar series, applied in order and cycled if there are more"
|
|
1506
|
+
},
|
|
1507
|
+
"showAnimation": {
|
|
1508
|
+
"kind": "boolean",
|
|
1509
|
+
"description": "Whether to play the staggered grow-from-left entrance on mount."
|
|
1510
|
+
},
|
|
1511
|
+
"data": {
|
|
1512
|
+
"kind": "shape",
|
|
1513
|
+
"shape": "chartData",
|
|
1514
|
+
"required": true
|
|
1515
|
+
},
|
|
1516
|
+
"config": {
|
|
1517
|
+
"kind": "shape",
|
|
1518
|
+
"shape": "chartConfig",
|
|
1519
|
+
"required": true
|
|
1520
|
+
},
|
|
1521
|
+
"width": {
|
|
1522
|
+
"kind": "union",
|
|
1523
|
+
"types": [
|
|
1524
|
+
"number",
|
|
1525
|
+
"string"
|
|
1526
|
+
]
|
|
1527
|
+
},
|
|
1528
|
+
"height": {
|
|
1529
|
+
"kind": "union",
|
|
1530
|
+
"types": [
|
|
1531
|
+
"number",
|
|
1532
|
+
"string"
|
|
1533
|
+
]
|
|
1534
|
+
},
|
|
1535
|
+
"enableKeyboardNavigation": {
|
|
1536
|
+
"kind": "boolean"
|
|
1537
|
+
},
|
|
1538
|
+
"showXAxis": {
|
|
1539
|
+
"kind": "boolean"
|
|
1540
|
+
},
|
|
1541
|
+
"showYAxis": {
|
|
1542
|
+
"kind": "boolean"
|
|
1543
|
+
},
|
|
1544
|
+
"minValue": {
|
|
1545
|
+
"kind": "number"
|
|
1546
|
+
},
|
|
1547
|
+
"maxValue": {
|
|
1548
|
+
"kind": "number"
|
|
1549
|
+
},
|
|
1550
|
+
"showGrid": {
|
|
1551
|
+
"kind": "boolean"
|
|
1552
|
+
},
|
|
1553
|
+
"legend": {
|
|
1554
|
+
"kind": "enum",
|
|
1555
|
+
"options": [
|
|
1556
|
+
"top",
|
|
1557
|
+
"bottom",
|
|
1558
|
+
"none"
|
|
1559
|
+
],
|
|
1560
|
+
"description": "Always-visible legend position, rendered from `config`'s labels/colors."
|
|
1561
|
+
},
|
|
1562
|
+
"barRadius": {
|
|
1563
|
+
"kind": "number"
|
|
1564
|
+
},
|
|
1565
|
+
"gap": {
|
|
1566
|
+
"kind": "number"
|
|
1567
|
+
},
|
|
1568
|
+
"radius": {
|
|
1569
|
+
"kind": "number"
|
|
1570
|
+
},
|
|
1571
|
+
"title": {
|
|
1572
|
+
"kind": "text",
|
|
1573
|
+
"description": "Card header title (the auto shell)"
|
|
1574
|
+
},
|
|
1575
|
+
"subtitle": {
|
|
1576
|
+
"kind": "text",
|
|
1577
|
+
"description": "Card header subtitle (the auto shell)"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
"Icon": {
|
|
1582
|
+
"role": "leaf",
|
|
1583
|
+
"description": "Brand/payment/file-type glyph. `icon` is a name from IconName (payment/social/filetype glyphs) — a DIFFERENT, separate namespace from the icon-slot names (iconStart/iconEnd etc.) used elsewhere in this schema.",
|
|
1584
|
+
"props": {
|
|
1585
|
+
"icon": {
|
|
1586
|
+
"kind": "enum",
|
|
1587
|
+
"options": [
|
|
1588
|
+
"visa",
|
|
1589
|
+
"mastercard",
|
|
1590
|
+
"amex",
|
|
1591
|
+
"applepay",
|
|
1592
|
+
"paypal",
|
|
1593
|
+
"github",
|
|
1594
|
+
"x",
|
|
1595
|
+
"linkedin",
|
|
1596
|
+
"instagram",
|
|
1597
|
+
"facebook",
|
|
1598
|
+
"youtube",
|
|
1599
|
+
"discord",
|
|
1600
|
+
"dribbble",
|
|
1601
|
+
"tiktok",
|
|
1602
|
+
"reddit",
|
|
1603
|
+
"twitch",
|
|
1604
|
+
"slack",
|
|
1605
|
+
"medium",
|
|
1606
|
+
"pinterest",
|
|
1607
|
+
"snapchat",
|
|
1608
|
+
"whatsapp",
|
|
1609
|
+
"telegram",
|
|
1610
|
+
"google",
|
|
1611
|
+
"apple",
|
|
1612
|
+
"pdf",
|
|
1613
|
+
"doc",
|
|
1614
|
+
"docx",
|
|
1615
|
+
"txt",
|
|
1616
|
+
"xls",
|
|
1617
|
+
"xlsx",
|
|
1618
|
+
"csv",
|
|
1619
|
+
"ppt",
|
|
1620
|
+
"mp3",
|
|
1621
|
+
"wav",
|
|
1622
|
+
"mp4",
|
|
1623
|
+
"mov",
|
|
1624
|
+
"jpg",
|
|
1625
|
+
"png",
|
|
1626
|
+
"svg",
|
|
1627
|
+
"gif",
|
|
1628
|
+
"zip",
|
|
1629
|
+
"rar"
|
|
1630
|
+
],
|
|
1631
|
+
"required": true
|
|
1632
|
+
},
|
|
1633
|
+
"size": {
|
|
1634
|
+
"kind": "union",
|
|
1635
|
+
"types": [
|
|
1636
|
+
"number",
|
|
1637
|
+
"string"
|
|
1638
|
+
],
|
|
1639
|
+
"description": "Named size preset or custom pixel value. Payment icons scale at 3:2 ratio; others are square."
|
|
1640
|
+
},
|
|
1641
|
+
"colorMode": {
|
|
1642
|
+
"kind": "enum",
|
|
1643
|
+
"options": [
|
|
1644
|
+
"color",
|
|
1645
|
+
"mono"
|
|
1646
|
+
]
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
"Input": {
|
|
1651
|
+
"role": "leaf",
|
|
1652
|
+
"description": "Single-line text input. Bind node.actions.change to onValueChange (fires with the raw string value).",
|
|
1653
|
+
"props": {
|
|
1654
|
+
"size": {
|
|
1655
|
+
"kind": "enum",
|
|
1656
|
+
"options": [
|
|
1657
|
+
"sm",
|
|
1658
|
+
"md",
|
|
1659
|
+
"lg"
|
|
1660
|
+
],
|
|
1661
|
+
"description": "The size of the input"
|
|
1662
|
+
},
|
|
1663
|
+
"state": {
|
|
1664
|
+
"kind": "enum",
|
|
1665
|
+
"options": [
|
|
1666
|
+
"default",
|
|
1667
|
+
"disabled",
|
|
1668
|
+
"invalid"
|
|
1669
|
+
],
|
|
1670
|
+
"description": "The state of the input (default, disabled, invalid)"
|
|
1671
|
+
},
|
|
1672
|
+
"type": {
|
|
1673
|
+
"kind": "enum",
|
|
1674
|
+
"options": [
|
|
1675
|
+
"number",
|
|
1676
|
+
"hidden",
|
|
1677
|
+
"color",
|
|
1678
|
+
"week",
|
|
1679
|
+
"month",
|
|
1680
|
+
"text",
|
|
1681
|
+
"password",
|
|
1682
|
+
"email",
|
|
1683
|
+
"tel",
|
|
1684
|
+
"url",
|
|
1685
|
+
"search",
|
|
1686
|
+
"date",
|
|
1687
|
+
"time",
|
|
1688
|
+
"datetime-local",
|
|
1689
|
+
"file",
|
|
1690
|
+
"image",
|
|
1691
|
+
"range",
|
|
1692
|
+
"reset",
|
|
1693
|
+
"submit",
|
|
1694
|
+
"creditCard",
|
|
1695
|
+
"expiryDate",
|
|
1696
|
+
"phone",
|
|
1697
|
+
"ssn",
|
|
1698
|
+
"currency"
|
|
1699
|
+
],
|
|
1700
|
+
"description": "The type of input. In addition to standard HTML types,"
|
|
1701
|
+
},
|
|
1702
|
+
"label": {
|
|
1703
|
+
"kind": "text",
|
|
1704
|
+
"description": "Optional label for the input — pass a string for default styling, or a ReactNode for full control"
|
|
1705
|
+
},
|
|
1706
|
+
"helperText": {
|
|
1707
|
+
"kind": "text",
|
|
1708
|
+
"description": "Optional helper text below the input — pass a string for default styling, or a ReactNode for full control"
|
|
1709
|
+
},
|
|
1710
|
+
"errorMessage": {
|
|
1711
|
+
"kind": "text",
|
|
1712
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1713
|
+
},
|
|
1714
|
+
"iconStart": {
|
|
1715
|
+
"kind": "icon",
|
|
1716
|
+
"description": "Icon to display before the input (small decorative)"
|
|
1717
|
+
},
|
|
1718
|
+
"iconEnd": {
|
|
1719
|
+
"kind": "icon",
|
|
1720
|
+
"description": "Icon to display after the input (small decorative)"
|
|
1721
|
+
},
|
|
1722
|
+
"required": {
|
|
1723
|
+
"kind": "boolean",
|
|
1724
|
+
"description": "Whether the input is required"
|
|
1725
|
+
},
|
|
1726
|
+
"placeholder": {
|
|
1727
|
+
"kind": "string",
|
|
1728
|
+
"description": "Placeholder text"
|
|
1729
|
+
},
|
|
1730
|
+
"value": {
|
|
1731
|
+
"kind": "string",
|
|
1732
|
+
"description": "Current value (controlled)"
|
|
1733
|
+
},
|
|
1734
|
+
"disabled": {
|
|
1735
|
+
"kind": "boolean",
|
|
1736
|
+
"description": "Whether the input is disabled"
|
|
1737
|
+
},
|
|
1738
|
+
"name": {
|
|
1739
|
+
"kind": "string",
|
|
1740
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1741
|
+
},
|
|
1742
|
+
"min": {
|
|
1743
|
+
"kind": "number",
|
|
1744
|
+
"description": "Minimum value (type=\"number\")"
|
|
1745
|
+
},
|
|
1746
|
+
"max": {
|
|
1747
|
+
"kind": "number",
|
|
1748
|
+
"description": "Maximum value (type=\"number\")"
|
|
1749
|
+
},
|
|
1750
|
+
"step": {
|
|
1751
|
+
"kind": "number",
|
|
1752
|
+
"description": "Step value (type=\"number\")"
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"InputCounter": {
|
|
1757
|
+
"role": "leaf",
|
|
1758
|
+
"description": "Numeric stepper input. Bind node.actions.change to onChange (fires with the new number).",
|
|
1759
|
+
"props": {
|
|
1760
|
+
"value": {
|
|
1761
|
+
"kind": "number",
|
|
1762
|
+
"required": true,
|
|
1763
|
+
"description": "Current counter value (controlled)"
|
|
1764
|
+
},
|
|
1765
|
+
"state": {
|
|
1766
|
+
"kind": "enum",
|
|
1767
|
+
"options": [
|
|
1768
|
+
"default",
|
|
1769
|
+
"disabled",
|
|
1770
|
+
"invalid"
|
|
1771
|
+
],
|
|
1772
|
+
"description": "Validation/interaction state"
|
|
1773
|
+
},
|
|
1774
|
+
"label": {
|
|
1775
|
+
"kind": "text",
|
|
1776
|
+
"description": "Field label rendered above the counter"
|
|
1777
|
+
},
|
|
1778
|
+
"helperText": {
|
|
1779
|
+
"kind": "text",
|
|
1780
|
+
"description": "Helper text rendered below the counter"
|
|
1781
|
+
},
|
|
1782
|
+
"errorMessage": {
|
|
1783
|
+
"kind": "text",
|
|
1784
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1785
|
+
},
|
|
1786
|
+
"min": {
|
|
1787
|
+
"kind": "number",
|
|
1788
|
+
"description": "Minimum allowed value (optional)"
|
|
1789
|
+
},
|
|
1790
|
+
"max": {
|
|
1791
|
+
"kind": "number",
|
|
1792
|
+
"description": "Maximum allowed value (optional)"
|
|
1793
|
+
},
|
|
1794
|
+
"step": {
|
|
1795
|
+
"kind": "number",
|
|
1796
|
+
"description": "Increment/decrement step size (default: 1)"
|
|
1797
|
+
},
|
|
1798
|
+
"disabled": {
|
|
1799
|
+
"kind": "boolean",
|
|
1800
|
+
"description": "Whether the counter is disabled"
|
|
1801
|
+
},
|
|
1802
|
+
"decimalPlaces": {
|
|
1803
|
+
"kind": "number",
|
|
1804
|
+
"description": "Number of decimal places to display (auto-detected from step if not specified)"
|
|
1805
|
+
},
|
|
1806
|
+
"required": {
|
|
1807
|
+
"kind": "boolean",
|
|
1808
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
1809
|
+
},
|
|
1810
|
+
"name": {
|
|
1811
|
+
"kind": "string",
|
|
1812
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
"InputDate": {
|
|
1817
|
+
"role": "leaf",
|
|
1818
|
+
"description": "Masked date input. value/onChange deal in a formatted display string, not a Date object. minDate/maxDate accept ISO date strings (coerced to Date internally before render). Bind node.actions.change to onChange — do NOT bind onComplete, it passes a raw Date object.",
|
|
1819
|
+
"props": {
|
|
1820
|
+
"value": {
|
|
1821
|
+
"kind": "string",
|
|
1822
|
+
"description": "Current date value (formatted string like \"12/25/2024\" or ISO string)"
|
|
1823
|
+
},
|
|
1824
|
+
"dateFormat": {
|
|
1825
|
+
"kind": "enum",
|
|
1826
|
+
"options": [
|
|
1827
|
+
"MM/DD/YYYY",
|
|
1828
|
+
"DD/MM/YYYY",
|
|
1829
|
+
"YYYY/MM/DD"
|
|
1830
|
+
],
|
|
1831
|
+
"description": "Date format for display and parsing (default: auto-detected from locale)"
|
|
1832
|
+
},
|
|
1833
|
+
"size": {
|
|
1834
|
+
"kind": "enum",
|
|
1835
|
+
"options": [
|
|
1836
|
+
"sm",
|
|
1837
|
+
"md",
|
|
1838
|
+
"lg"
|
|
1839
|
+
],
|
|
1840
|
+
"description": "The size of the input"
|
|
1841
|
+
},
|
|
1842
|
+
"required": {
|
|
1843
|
+
"kind": "boolean",
|
|
1844
|
+
"description": "Whether the input is required"
|
|
1845
|
+
},
|
|
1846
|
+
"state": {
|
|
1847
|
+
"kind": "enum",
|
|
1848
|
+
"options": [
|
|
1849
|
+
"default",
|
|
1850
|
+
"disabled",
|
|
1851
|
+
"invalid"
|
|
1852
|
+
],
|
|
1853
|
+
"description": "The state of the input (default, disabled, invalid)"
|
|
1854
|
+
},
|
|
1855
|
+
"label": {
|
|
1856
|
+
"kind": "text",
|
|
1857
|
+
"description": "Optional label for the input — pass a string for default styling, or a ReactNode for full control"
|
|
1858
|
+
},
|
|
1859
|
+
"helperText": {
|
|
1860
|
+
"kind": "text",
|
|
1861
|
+
"description": "Optional helper text below the input — pass a string for default styling, or a ReactNode for full control"
|
|
1862
|
+
},
|
|
1863
|
+
"errorMessage": {
|
|
1864
|
+
"kind": "text",
|
|
1865
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1866
|
+
},
|
|
1867
|
+
"iconStart": {
|
|
1868
|
+
"kind": "icon",
|
|
1869
|
+
"description": "Icon to display before the input (small decorative)"
|
|
1870
|
+
},
|
|
1871
|
+
"iconEnd": {
|
|
1872
|
+
"kind": "icon",
|
|
1873
|
+
"description": "Icon to display after the input (small decorative)"
|
|
1874
|
+
},
|
|
1875
|
+
"placeholder": {
|
|
1876
|
+
"kind": "string",
|
|
1877
|
+
"description": "Placeholder text"
|
|
1878
|
+
},
|
|
1879
|
+
"disabled": {
|
|
1880
|
+
"kind": "boolean",
|
|
1881
|
+
"description": "Whether the input is disabled"
|
|
1882
|
+
},
|
|
1883
|
+
"minDate": {
|
|
1884
|
+
"kind": "string",
|
|
1885
|
+
"description": "Minimum selectable date, ISO format (e.g. \"2024-01-01\")"
|
|
1886
|
+
},
|
|
1887
|
+
"maxDate": {
|
|
1888
|
+
"kind": "string",
|
|
1889
|
+
"description": "Maximum selectable date, ISO format"
|
|
1890
|
+
},
|
|
1891
|
+
"name": {
|
|
1892
|
+
"kind": "string",
|
|
1893
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
"InputOTP": {
|
|
1898
|
+
"role": "leaf",
|
|
1899
|
+
"description": "One-time-code input. Bind node.actions.complete to onComplete (fires once every digit is filled) and/or node.actions.change to onChange (fires every keystroke).",
|
|
1900
|
+
"props": {
|
|
1901
|
+
"length": {
|
|
1902
|
+
"kind": "number",
|
|
1903
|
+
"default": 6,
|
|
1904
|
+
"description": "Number of OTP input fields"
|
|
1905
|
+
},
|
|
1906
|
+
"size": {
|
|
1907
|
+
"kind": "enum",
|
|
1908
|
+
"options": [
|
|
1909
|
+
"sm",
|
|
1910
|
+
"md",
|
|
1911
|
+
"lg",
|
|
1912
|
+
"xl"
|
|
1913
|
+
],
|
|
1914
|
+
"default": "lg",
|
|
1915
|
+
"description": "Size of the OTP slots."
|
|
1916
|
+
},
|
|
1917
|
+
"value": {
|
|
1918
|
+
"kind": "string",
|
|
1919
|
+
"description": "Current OTP value (controlled)"
|
|
1920
|
+
},
|
|
1921
|
+
"defaultValue": {
|
|
1922
|
+
"kind": "string",
|
|
1923
|
+
"description": "Default OTP value (uncontrolled)"
|
|
1924
|
+
},
|
|
1925
|
+
"charset": {
|
|
1926
|
+
"kind": "enum",
|
|
1927
|
+
"options": [
|
|
1928
|
+
"numeric",
|
|
1929
|
+
"alphanumeric"
|
|
1930
|
+
],
|
|
1931
|
+
"default": "alphanumeric",
|
|
1932
|
+
"description": "Which characters the code accepts. Drives the sanitizer (typed and pasted"
|
|
1933
|
+
},
|
|
1934
|
+
"state": {
|
|
1935
|
+
"kind": "enum",
|
|
1936
|
+
"options": [
|
|
1937
|
+
"default",
|
|
1938
|
+
"disabled",
|
|
1939
|
+
"invalid"
|
|
1940
|
+
],
|
|
1941
|
+
"default": "default",
|
|
1942
|
+
"description": "Visual and functional state of the OTP input group."
|
|
1943
|
+
},
|
|
1944
|
+
"label": {
|
|
1945
|
+
"kind": "text",
|
|
1946
|
+
"description": "Label for the OTP input group"
|
|
1947
|
+
},
|
|
1948
|
+
"helperText": {
|
|
1949
|
+
"kind": "text",
|
|
1950
|
+
"description": "Helper text below the inputs"
|
|
1951
|
+
},
|
|
1952
|
+
"errorMessage": {
|
|
1953
|
+
"kind": "text",
|
|
1954
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1955
|
+
},
|
|
1956
|
+
"autoFocus": {
|
|
1957
|
+
"kind": "boolean",
|
|
1958
|
+
"default": true,
|
|
1959
|
+
"description": "Auto-focus the first input on mount"
|
|
1960
|
+
},
|
|
1961
|
+
"required": {
|
|
1962
|
+
"kind": "boolean",
|
|
1963
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
1964
|
+
},
|
|
1965
|
+
"name": {
|
|
1966
|
+
"kind": "string",
|
|
1967
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
"InputTag": {
|
|
1972
|
+
"role": "leaf",
|
|
1973
|
+
"description": "Free-form tag/chip input. Bind node.actions.change to onChange (fires with the full array of tag strings).",
|
|
1974
|
+
"props": {
|
|
1975
|
+
"value": {
|
|
1976
|
+
"kind": "shape",
|
|
1977
|
+
"shape": "stringList",
|
|
1978
|
+
"description": "Controlled value - array of tag strings"
|
|
1979
|
+
},
|
|
1980
|
+
"maxTags": {
|
|
1981
|
+
"kind": "number",
|
|
1982
|
+
"description": "Maximum number of tags allowed"
|
|
1983
|
+
},
|
|
1984
|
+
"allowDuplicates": {
|
|
1985
|
+
"kind": "boolean",
|
|
1986
|
+
"description": "Whether to allow duplicate tags (default: false)"
|
|
1987
|
+
},
|
|
1988
|
+
"size": {
|
|
1989
|
+
"kind": "enum",
|
|
1990
|
+
"options": [
|
|
1991
|
+
"sm",
|
|
1992
|
+
"md"
|
|
1993
|
+
],
|
|
1994
|
+
"description": "The size of the input and tags (sm or md only)"
|
|
1995
|
+
},
|
|
1996
|
+
"state": {
|
|
1997
|
+
"kind": "enum",
|
|
1998
|
+
"options": [
|
|
1999
|
+
"default",
|
|
2000
|
+
"disabled",
|
|
2001
|
+
"invalid"
|
|
2002
|
+
],
|
|
2003
|
+
"description": "The state of the input"
|
|
2004
|
+
},
|
|
2005
|
+
"label": {
|
|
2006
|
+
"kind": "text",
|
|
2007
|
+
"description": "Label for the input"
|
|
2008
|
+
},
|
|
2009
|
+
"helperText": {
|
|
2010
|
+
"kind": "text",
|
|
2011
|
+
"description": "Helper text displayed below the tags"
|
|
2012
|
+
},
|
|
2013
|
+
"placeholder": {
|
|
2014
|
+
"kind": "string",
|
|
2015
|
+
"description": "Placeholder text for the input"
|
|
2016
|
+
},
|
|
2017
|
+
"disabled": {
|
|
2018
|
+
"kind": "boolean",
|
|
2019
|
+
"description": "Whether the input is disabled"
|
|
2020
|
+
},
|
|
2021
|
+
"suggestions": {
|
|
2022
|
+
"kind": "shape",
|
|
2023
|
+
"shape": "optionItems",
|
|
2024
|
+
"description": "Array of suggestions to show in dropdown. When provided, enables dropdown mode"
|
|
2025
|
+
},
|
|
2026
|
+
"creatable": {
|
|
2027
|
+
"kind": "boolean",
|
|
2028
|
+
"description": "Allow free-form tags not in suggestions (default: true)"
|
|
2029
|
+
},
|
|
2030
|
+
"openOnFocus": {
|
|
2031
|
+
"kind": "boolean",
|
|
2032
|
+
"description": "Open dropdown on focus when suggestions are provided (default: true)"
|
|
2033
|
+
},
|
|
2034
|
+
"emptyMessage": {
|
|
2035
|
+
"kind": "string",
|
|
2036
|
+
"description": "Message shown when no suggestions match (default: \"No suggestions\")"
|
|
2037
|
+
},
|
|
2038
|
+
"required": {
|
|
2039
|
+
"kind": "boolean",
|
|
2040
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
2041
|
+
},
|
|
2042
|
+
"name": {
|
|
2043
|
+
"kind": "string",
|
|
2044
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
"Kbd": {
|
|
2049
|
+
"role": "leaf",
|
|
2050
|
+
"description": "Keyboard key/shortcut display. Use either `keys` (named keys) or `children` (custom text), not both.",
|
|
2051
|
+
"props": {
|
|
2052
|
+
"keys": {
|
|
2053
|
+
"kind": "shape",
|
|
2054
|
+
"shape": "kbdKeys",
|
|
2055
|
+
"description": "Array of keyboard keys to display"
|
|
2056
|
+
},
|
|
2057
|
+
"children": {
|
|
2058
|
+
"kind": "text",
|
|
2059
|
+
"description": "Custom content to display instead of using keys prop"
|
|
2060
|
+
},
|
|
2061
|
+
"size": {
|
|
2062
|
+
"kind": "enum",
|
|
2063
|
+
"options": [
|
|
2064
|
+
"sm",
|
|
2065
|
+
"md"
|
|
2066
|
+
],
|
|
2067
|
+
"default": "md",
|
|
2068
|
+
"description": "Size variant"
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
"KPI": {
|
|
2073
|
+
"role": "leaf",
|
|
2074
|
+
"description": "KPI stat with trend and progress bar (auto Card shell).",
|
|
2075
|
+
"props": {
|
|
2076
|
+
"value": {
|
|
2077
|
+
"kind": "text",
|
|
2078
|
+
"required": true,
|
|
2079
|
+
"description": "The main metric value to display (e.g. \"$25.5M\", \"1,234\", \"89%\")"
|
|
2080
|
+
},
|
|
2081
|
+
"label": {
|
|
2082
|
+
"kind": "text",
|
|
2083
|
+
"description": "Label describing the metric (e.g. \"Fund raised\", \"Total Revenue\")"
|
|
2084
|
+
},
|
|
2085
|
+
"trend": {
|
|
2086
|
+
"kind": "number",
|
|
2087
|
+
"description": "Percentage change value (e.g. 20, -5.3). Determines trend direction & color."
|
|
2088
|
+
},
|
|
2089
|
+
"trendLabel": {
|
|
2090
|
+
"kind": "text",
|
|
2091
|
+
"description": "Custom trend label override (default: auto-formats as \"+20%\" or \"-5.3%\")"
|
|
2092
|
+
},
|
|
2093
|
+
"progress": {
|
|
2094
|
+
"kind": "number",
|
|
2095
|
+
"description": "Progress value from 0-100. Controls how many bars are filled."
|
|
2096
|
+
},
|
|
2097
|
+
"barCount": {
|
|
2098
|
+
"kind": "number",
|
|
2099
|
+
"default": 24,
|
|
2100
|
+
"description": "Total number of bars in the visualization."
|
|
2101
|
+
},
|
|
2102
|
+
"subtitle": {
|
|
2103
|
+
"kind": "text",
|
|
2104
|
+
"description": "Subtitle text below the bars (e.g. \"Compared to last month\")"
|
|
2105
|
+
},
|
|
2106
|
+
"icon": {
|
|
2107
|
+
"kind": "icon",
|
|
2108
|
+
"description": "Icon to display before the label."
|
|
1144
2109
|
},
|
|
1145
|
-
"
|
|
2110
|
+
"size": {
|
|
2111
|
+
"kind": "enum",
|
|
2112
|
+
"options": [
|
|
2113
|
+
"sm",
|
|
2114
|
+
"md",
|
|
2115
|
+
"lg"
|
|
2116
|
+
],
|
|
2117
|
+
"default": "md",
|
|
2118
|
+
"description": "Size variant."
|
|
2119
|
+
},
|
|
2120
|
+
"color": {
|
|
2121
|
+
"kind": "enum",
|
|
2122
|
+
"options": [
|
|
2123
|
+
"mono",
|
|
2124
|
+
"primary",
|
|
2125
|
+
"success",
|
|
2126
|
+
"warning",
|
|
2127
|
+
"danger"
|
|
2128
|
+
],
|
|
2129
|
+
"default": "primary",
|
|
2130
|
+
"description": "Color for the filled bars and positive trend."
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"LineChart": {
|
|
2135
|
+
"role": "leaf",
|
|
2136
|
+
"description": "Line chart (auto Card shell + shared-height container).",
|
|
2137
|
+
"props": {
|
|
2138
|
+
"color": {
|
|
2139
|
+
"kind": "enum",
|
|
2140
|
+
"options": [
|
|
2141
|
+
"primary",
|
|
2142
|
+
"success",
|
|
2143
|
+
"warning",
|
|
2144
|
+
"danger"
|
|
2145
|
+
]
|
|
2146
|
+
},
|
|
2147
|
+
"dotRadius": {
|
|
2148
|
+
"kind": "number"
|
|
2149
|
+
},
|
|
2150
|
+
"radius": {
|
|
2151
|
+
"kind": "number"
|
|
2152
|
+
},
|
|
2153
|
+
"strokeWidth": {
|
|
2154
|
+
"kind": "number"
|
|
2155
|
+
},
|
|
2156
|
+
"curved": {
|
|
2157
|
+
"kind": "boolean"
|
|
2158
|
+
},
|
|
2159
|
+
"curveType": {
|
|
2160
|
+
"kind": "enum",
|
|
2161
|
+
"options": [
|
|
2162
|
+
"linear",
|
|
2163
|
+
"monotone"
|
|
2164
|
+
]
|
|
2165
|
+
},
|
|
2166
|
+
"showDots": {
|
|
2167
|
+
"kind": "boolean"
|
|
2168
|
+
},
|
|
2169
|
+
"data": {
|
|
2170
|
+
"kind": "shape",
|
|
2171
|
+
"shape": "chartData",
|
|
2172
|
+
"required": true
|
|
2173
|
+
},
|
|
2174
|
+
"config": {
|
|
2175
|
+
"kind": "shape",
|
|
2176
|
+
"shape": "chartConfig",
|
|
2177
|
+
"required": true
|
|
2178
|
+
},
|
|
2179
|
+
"width": {
|
|
2180
|
+
"kind": "union",
|
|
2181
|
+
"types": [
|
|
2182
|
+
"number",
|
|
2183
|
+
"string"
|
|
2184
|
+
]
|
|
2185
|
+
},
|
|
2186
|
+
"height": {
|
|
2187
|
+
"kind": "union",
|
|
2188
|
+
"types": [
|
|
2189
|
+
"number",
|
|
2190
|
+
"string"
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
"enableKeyboardNavigation": {
|
|
2194
|
+
"kind": "boolean"
|
|
2195
|
+
},
|
|
2196
|
+
"showXAxis": {
|
|
2197
|
+
"kind": "boolean"
|
|
2198
|
+
},
|
|
2199
|
+
"showYAxis": {
|
|
2200
|
+
"kind": "boolean"
|
|
2201
|
+
},
|
|
2202
|
+
"minValue": {
|
|
2203
|
+
"kind": "number"
|
|
2204
|
+
},
|
|
2205
|
+
"maxValue": {
|
|
2206
|
+
"kind": "number"
|
|
2207
|
+
},
|
|
2208
|
+
"showGrid": {
|
|
2209
|
+
"kind": "boolean"
|
|
2210
|
+
},
|
|
2211
|
+
"legend": {
|
|
2212
|
+
"kind": "enum",
|
|
2213
|
+
"options": [
|
|
2214
|
+
"top",
|
|
2215
|
+
"bottom",
|
|
2216
|
+
"none"
|
|
2217
|
+
],
|
|
2218
|
+
"description": "Always-visible legend position, rendered from `config`'s labels/colors."
|
|
2219
|
+
},
|
|
2220
|
+
"title": {
|
|
2221
|
+
"kind": "text",
|
|
2222
|
+
"description": "Card header title (the auto shell)"
|
|
2223
|
+
},
|
|
2224
|
+
"subtitle": {
|
|
2225
|
+
"kind": "text",
|
|
2226
|
+
"description": "Card header subtitle (the auto shell)"
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"Link": {
|
|
2231
|
+
"role": "leaf",
|
|
2232
|
+
"description": "Hyperlink (pass href) or low-emphasis link-styled button (omit href, pair with node.actions.click).",
|
|
2233
|
+
"props": {
|
|
2234
|
+
"size": {
|
|
2235
|
+
"kind": "enum",
|
|
2236
|
+
"options": [
|
|
2237
|
+
"sm",
|
|
2238
|
+
"md",
|
|
2239
|
+
"inherit"
|
|
2240
|
+
],
|
|
2241
|
+
"default": "inherit",
|
|
2242
|
+
"description": "The size of the link."
|
|
2243
|
+
},
|
|
2244
|
+
"color": {
|
|
2245
|
+
"kind": "enum",
|
|
2246
|
+
"options": [
|
|
2247
|
+
"mono",
|
|
2248
|
+
"primary",
|
|
2249
|
+
"success",
|
|
2250
|
+
"warning",
|
|
2251
|
+
"danger"
|
|
2252
|
+
],
|
|
2253
|
+
"default": "primary",
|
|
2254
|
+
"description": "Semantic color."
|
|
2255
|
+
},
|
|
2256
|
+
"disabled": {
|
|
2257
|
+
"kind": "boolean",
|
|
2258
|
+
"description": "Whether the link is disabled."
|
|
2259
|
+
},
|
|
2260
|
+
"children": {
|
|
2261
|
+
"kind": "text",
|
|
2262
|
+
"description": "Link contents"
|
|
2263
|
+
},
|
|
2264
|
+
"href": {
|
|
2265
|
+
"kind": "string",
|
|
2266
|
+
"description": "The URL the hyperlink points to. When set, Link renders an `<a>`."
|
|
2267
|
+
},
|
|
2268
|
+
"target": {
|
|
2269
|
+
"kind": "string",
|
|
2270
|
+
"description": "Anchor target (only meaningful with `href`)."
|
|
2271
|
+
},
|
|
2272
|
+
"rel": {
|
|
2273
|
+
"kind": "string",
|
|
2274
|
+
"description": "Anchor rel (only meaningful with `href`)."
|
|
2275
|
+
},
|
|
2276
|
+
"type": {
|
|
2277
|
+
"kind": "enum",
|
|
2278
|
+
"options": [
|
|
2279
|
+
"reset",
|
|
2280
|
+
"submit",
|
|
2281
|
+
"button"
|
|
2282
|
+
],
|
|
2283
|
+
"default": "button",
|
|
2284
|
+
"description": "Button type when rendered as a `<button>` (no `href`)."
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
"Masonry": {
|
|
2289
|
+
"role": "container",
|
|
2290
|
+
"description": "Masonry/waterfall grid layout (responsive per-breakpoint column config not supported in generative specs — use a static column count). Children are spec nodes.",
|
|
2291
|
+
"props": {
|
|
2292
|
+
"gap": {
|
|
2293
|
+
"kind": "number",
|
|
2294
|
+
"description": "Gap between items in pixels"
|
|
2295
|
+
},
|
|
2296
|
+
"minColumns": {
|
|
2297
|
+
"kind": "number",
|
|
2298
|
+
"description": "Minimum columns count"
|
|
2299
|
+
},
|
|
2300
|
+
"maxColumns": {
|
|
2301
|
+
"kind": "number",
|
|
2302
|
+
"description": "Maximum columns count"
|
|
2303
|
+
},
|
|
2304
|
+
"sequential": {
|
|
2305
|
+
"kind": "boolean",
|
|
2306
|
+
"description": "Enable sequential placement (items placed in order vs optimal placement)"
|
|
2307
|
+
},
|
|
2308
|
+
"loading": {
|
|
2309
|
+
"kind": "boolean",
|
|
2310
|
+
"description": "Loading state"
|
|
2311
|
+
},
|
|
2312
|
+
"columns": {
|
|
2313
|
+
"kind": "number",
|
|
2314
|
+
"description": "Static column count"
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
"MenuItem": {
|
|
2319
|
+
"role": "leaf",
|
|
2320
|
+
"description": "Single menu/list row. Bind node.actions.activate to onActivate.",
|
|
2321
|
+
"props": {
|
|
2322
|
+
"children": {
|
|
2323
|
+
"kind": "text",
|
|
2324
|
+
"required": true,
|
|
2325
|
+
"description": "Main label content"
|
|
2326
|
+
},
|
|
2327
|
+
"startContent": {
|
|
2328
|
+
"kind": "icon",
|
|
2329
|
+
"description": "Icon or element at the start (left side)"
|
|
2330
|
+
},
|
|
2331
|
+
"endContent": {
|
|
2332
|
+
"kind": "icon",
|
|
2333
|
+
"description": "Icon or element at the end (right side)"
|
|
2334
|
+
},
|
|
2335
|
+
"subtitle": {
|
|
2336
|
+
"kind": "text",
|
|
2337
|
+
"description": "Secondary text below the label"
|
|
2338
|
+
},
|
|
2339
|
+
"shortcut": {
|
|
2340
|
+
"kind": "text",
|
|
2341
|
+
"description": "Keyboard shortcut display"
|
|
2342
|
+
},
|
|
2343
|
+
"disabled": {
|
|
2344
|
+
"kind": "boolean",
|
|
2345
|
+
"description": "Whether the item is disabled"
|
|
2346
|
+
},
|
|
2347
|
+
"isDanger": {
|
|
2348
|
+
"kind": "boolean",
|
|
2349
|
+
"description": "Whether the item has danger/destructive styling"
|
|
2350
|
+
},
|
|
2351
|
+
"selected": {
|
|
2352
|
+
"kind": "boolean",
|
|
2353
|
+
"description": "Whether the item is in a selected state (drives selected styling)"
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
"Message": {
|
|
2358
|
+
"role": "leaf",
|
|
2359
|
+
"description": "Chat message bubble (streaming/attachments/reactions/reply-quote not supported in generative specs — those are live-interaction features, not static display).",
|
|
2360
|
+
"props": {
|
|
2361
|
+
"variant": {
|
|
2362
|
+
"kind": "enum",
|
|
2363
|
+
"options": [
|
|
2364
|
+
"sender",
|
|
2365
|
+
"receiver",
|
|
2366
|
+
"system"
|
|
2367
|
+
],
|
|
2368
|
+
"default": "receiver",
|
|
2369
|
+
"description": "The variant of the message (Chat UI semantic naming)"
|
|
2370
|
+
},
|
|
2371
|
+
"content": {
|
|
1146
2372
|
"kind": "text",
|
|
2373
|
+
"description": "The message content (supports rich content, markdown, etc.)"
|
|
2374
|
+
},
|
|
2375
|
+
"showTimestamp": {
|
|
2376
|
+
"kind": "boolean",
|
|
2377
|
+
"default": true,
|
|
2378
|
+
"description": "Whether to show the timestamp"
|
|
2379
|
+
},
|
|
2380
|
+
"status": {
|
|
2381
|
+
"kind": "enum",
|
|
2382
|
+
"options": [
|
|
2383
|
+
"sending",
|
|
2384
|
+
"sent",
|
|
2385
|
+
"delivered",
|
|
2386
|
+
"read",
|
|
2387
|
+
"failed"
|
|
2388
|
+
],
|
|
2389
|
+
"description": "Delivery status indicator (sending/sent/delivered/read/failed)"
|
|
2390
|
+
},
|
|
2391
|
+
"isGrouped": {
|
|
2392
|
+
"kind": "boolean",
|
|
2393
|
+
"description": "Whether this is a consecutive message from the same sender (hides avatar & name)"
|
|
2394
|
+
},
|
|
2395
|
+
"timestamp": {
|
|
2396
|
+
"kind": "string",
|
|
2397
|
+
"description": "Message timestamp, ISO format"
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"Metric": {
|
|
2402
|
+
"role": "leaf",
|
|
2403
|
+
"description": "Single business metric with optional icon and trend.",
|
|
2404
|
+
"props": {
|
|
2405
|
+
"value": {
|
|
2406
|
+
"kind": "union",
|
|
2407
|
+
"types": [
|
|
2408
|
+
"number",
|
|
2409
|
+
"string"
|
|
2410
|
+
],
|
|
1147
2411
|
"required": true,
|
|
2412
|
+
"description": "The main value to display (number or formatted string)"
|
|
2413
|
+
},
|
|
2414
|
+
"label": {
|
|
2415
|
+
"kind": "text",
|
|
1148
2416
|
"description": "Label describing the metric"
|
|
1149
2417
|
},
|
|
1150
2418
|
"subtitle": {
|
|
@@ -1186,7 +2454,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
1186
2454
|
"color": {
|
|
1187
2455
|
"kind": "enum",
|
|
1188
2456
|
"options": [
|
|
1189
|
-
"
|
|
2457
|
+
"mono",
|
|
1190
2458
|
"primary",
|
|
1191
2459
|
"success",
|
|
1192
2460
|
"warning",
|
|
@@ -1209,14 +2477,50 @@ const GENERATIVE_SCHEMA = {
|
|
|
1209
2477
|
"kind": "text",
|
|
1210
2478
|
"description": "Heading title (serializable slot). Setting any slot-prop"
|
|
1211
2479
|
},
|
|
1212
|
-
"subtitle": {
|
|
1213
|
-
"kind": "text",
|
|
1214
|
-
"description": "Secondary line under the title (serializable slot)."
|
|
2480
|
+
"subtitle": {
|
|
2481
|
+
"kind": "text",
|
|
2482
|
+
"description": "Secondary line under the title (serializable slot)."
|
|
2483
|
+
},
|
|
2484
|
+
"separator": {
|
|
2485
|
+
"kind": "boolean",
|
|
2486
|
+
"default": true,
|
|
2487
|
+
"description": "Show bottom separator."
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
},
|
|
2491
|
+
"Pagination": {
|
|
2492
|
+
"role": "leaf",
|
|
2493
|
+
"description": "Page navigator. Bind node.actions.pageChange to onPageChange (fires with the new page number).",
|
|
2494
|
+
"props": {
|
|
2495
|
+
"currentPage": {
|
|
2496
|
+
"kind": "number",
|
|
2497
|
+
"required": true,
|
|
2498
|
+
"description": "The current active page number (1-based)"
|
|
2499
|
+
},
|
|
2500
|
+
"totalPages": {
|
|
2501
|
+
"kind": "number",
|
|
2502
|
+
"required": true,
|
|
2503
|
+
"description": "The total number of pages"
|
|
2504
|
+
},
|
|
2505
|
+
"size": {
|
|
2506
|
+
"kind": "enum",
|
|
2507
|
+
"options": [
|
|
2508
|
+
"sm",
|
|
2509
|
+
"md"
|
|
2510
|
+
],
|
|
2511
|
+
"description": "Size variant of pagination"
|
|
1215
2512
|
},
|
|
1216
|
-
"
|
|
2513
|
+
"showFirstLast": {
|
|
1217
2514
|
"kind": "boolean",
|
|
1218
|
-
"
|
|
1219
|
-
|
|
2515
|
+
"description": "Whether to show first/last page buttons"
|
|
2516
|
+
},
|
|
2517
|
+
"showPrevNext": {
|
|
2518
|
+
"kind": "boolean",
|
|
2519
|
+
"description": "Whether to show previous/next buttons"
|
|
2520
|
+
},
|
|
2521
|
+
"siblingCount": {
|
|
2522
|
+
"kind": "number",
|
|
2523
|
+
"description": "Number of sibling pages to show around current page"
|
|
1220
2524
|
}
|
|
1221
2525
|
}
|
|
1222
2526
|
},
|
|
@@ -1259,7 +2563,21 @@ const GENERATIVE_SCHEMA = {
|
|
|
1259
2563
|
"props": {
|
|
1260
2564
|
"value": {
|
|
1261
2565
|
"kind": "number",
|
|
1262
|
-
"description": "Progress value from 0 to
|
|
2566
|
+
"description": "Progress value, from 0 to `max`."
|
|
2567
|
+
},
|
|
2568
|
+
"max": {
|
|
2569
|
+
"kind": "number",
|
|
2570
|
+
"default": 100,
|
|
2571
|
+
"description": "Upper bound of the range `value` is measured against."
|
|
2572
|
+
},
|
|
2573
|
+
"segments": {
|
|
2574
|
+
"kind": "number",
|
|
2575
|
+
"description": "Number of cells to render the bar as an LED-style segmented meter."
|
|
2576
|
+
},
|
|
2577
|
+
"segmentFade": {
|
|
2578
|
+
"kind": "boolean",
|
|
2579
|
+
"default": false,
|
|
2580
|
+
"description": "Fade the meter out across its last few lit cells (segmented form only)."
|
|
1263
2581
|
},
|
|
1264
2582
|
"size": {
|
|
1265
2583
|
"kind": "enum",
|
|
@@ -1281,8 +2599,8 @@ const GENERATIVE_SCHEMA = {
|
|
|
1281
2599
|
"options": [
|
|
1282
2600
|
"top",
|
|
1283
2601
|
"bottom",
|
|
1284
|
-
"
|
|
1285
|
-
"
|
|
2602
|
+
"inside",
|
|
2603
|
+
"right"
|
|
1286
2604
|
],
|
|
1287
2605
|
"default": "right",
|
|
1288
2606
|
"description": "Position of the label"
|
|
@@ -1294,6 +2612,82 @@ const GENERATIVE_SCHEMA = {
|
|
|
1294
2612
|
}
|
|
1295
2613
|
}
|
|
1296
2614
|
},
|
|
2615
|
+
"RadarChart": {
|
|
2616
|
+
"role": "leaf",
|
|
2617
|
+
"description": "Radar/spider chart (auto Card shell).",
|
|
2618
|
+
"props": {
|
|
2619
|
+
"axes": {
|
|
2620
|
+
"kind": "shape",
|
|
2621
|
+
"shape": "stringList",
|
|
2622
|
+
"required": true,
|
|
2623
|
+
"description": "Array of axis/category labels displayed at each spoke endpoint"
|
|
2624
|
+
},
|
|
2625
|
+
"series": {
|
|
2626
|
+
"kind": "shape",
|
|
2627
|
+
"shape": "radarSeries",
|
|
2628
|
+
"required": true,
|
|
2629
|
+
"description": "Array of data series to plot as filled polygons"
|
|
2630
|
+
},
|
|
2631
|
+
"size": {
|
|
2632
|
+
"kind": "number",
|
|
2633
|
+
"default": 400,
|
|
2634
|
+
"description": "SVG size in pixels (width and height of the SVG viewBox)"
|
|
2635
|
+
},
|
|
2636
|
+
"gridLevels": {
|
|
2637
|
+
"kind": "number",
|
|
2638
|
+
"default": 5,
|
|
2639
|
+
"description": "Number of concentric grid rings drawn from center to outer edge"
|
|
2640
|
+
},
|
|
2641
|
+
"maxValue": {
|
|
2642
|
+
"kind": "number",
|
|
2643
|
+
"default": "undefined (auto)",
|
|
2644
|
+
"description": "Maximum data value used for scaling."
|
|
2645
|
+
},
|
|
2646
|
+
"showGrid": {
|
|
2647
|
+
"kind": "boolean",
|
|
2648
|
+
"default": true,
|
|
2649
|
+
"description": "Whether to render the concentric grid polygons"
|
|
2650
|
+
},
|
|
2651
|
+
"showLabels": {
|
|
2652
|
+
"kind": "boolean",
|
|
2653
|
+
"default": true,
|
|
2654
|
+
"description": "Whether to render axis labels at each spoke endpoint"
|
|
2655
|
+
},
|
|
2656
|
+
"showLegend": {
|
|
2657
|
+
"kind": "boolean",
|
|
2658
|
+
"default": true,
|
|
2659
|
+
"description": "Whether to render the legend below the chart"
|
|
2660
|
+
},
|
|
2661
|
+
"showAnimation": {
|
|
2662
|
+
"kind": "boolean",
|
|
2663
|
+
"default": true,
|
|
2664
|
+
"description": "Whether to animate on mount using Framer Motion"
|
|
2665
|
+
},
|
|
2666
|
+
"fillOpacity": {
|
|
2667
|
+
"kind": "number",
|
|
2668
|
+
"default": 0.25,
|
|
2669
|
+
"description": "Fill opacity for the data polygons (0 to 1)"
|
|
2670
|
+
},
|
|
2671
|
+
"strokeWidth": {
|
|
2672
|
+
"kind": "number",
|
|
2673
|
+
"default": 2,
|
|
2674
|
+
"description": "Stroke width for the data polygon outlines"
|
|
2675
|
+
},
|
|
2676
|
+
"showTooltip": {
|
|
2677
|
+
"kind": "boolean",
|
|
2678
|
+
"default": true,
|
|
2679
|
+
"description": "Whether to show a tooltip on hover over data points"
|
|
2680
|
+
},
|
|
2681
|
+
"title": {
|
|
2682
|
+
"kind": "text",
|
|
2683
|
+
"description": "Card header title (the auto shell)"
|
|
2684
|
+
},
|
|
2685
|
+
"subtitle": {
|
|
2686
|
+
"kind": "text",
|
|
2687
|
+
"description": "Card header subtitle (the auto shell)"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
1297
2691
|
"Rating": {
|
|
1298
2692
|
"role": "leaf",
|
|
1299
2693
|
"description": "Read-only star rating display.",
|
|
@@ -1347,6 +2741,80 @@ const GENERATIVE_SCHEMA = {
|
|
|
1347
2741
|
"kind": "boolean",
|
|
1348
2742
|
"default": false,
|
|
1349
2743
|
"description": "Enable half-step rating increments"
|
|
2744
|
+
},
|
|
2745
|
+
"required": {
|
|
2746
|
+
"kind": "boolean",
|
|
2747
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
2748
|
+
},
|
|
2749
|
+
"name": {
|
|
2750
|
+
"kind": "string",
|
|
2751
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"ScrollArea": {
|
|
2756
|
+
"role": "container",
|
|
2757
|
+
"description": "Custom-scrollbar viewport. Children are spec nodes.",
|
|
2758
|
+
"props": {
|
|
2759
|
+
"type": {
|
|
2760
|
+
"kind": "enum",
|
|
2761
|
+
"options": [
|
|
2762
|
+
"none",
|
|
2763
|
+
"auto",
|
|
2764
|
+
"always",
|
|
2765
|
+
"scroll",
|
|
2766
|
+
"hover"
|
|
2767
|
+
],
|
|
2768
|
+
"default": "hover",
|
|
2769
|
+
"description": "Scrollbar visibility behavior"
|
|
2770
|
+
},
|
|
2771
|
+
"size": {
|
|
2772
|
+
"kind": "enum",
|
|
2773
|
+
"options": [
|
|
2774
|
+
"default",
|
|
2775
|
+
"thin"
|
|
2776
|
+
],
|
|
2777
|
+
"default": "default",
|
|
2778
|
+
"description": "Scrollbar size"
|
|
2779
|
+
},
|
|
2780
|
+
"orientation": {
|
|
2781
|
+
"kind": "enum",
|
|
2782
|
+
"options": [
|
|
2783
|
+
"horizontal",
|
|
2784
|
+
"vertical",
|
|
2785
|
+
"both"
|
|
2786
|
+
],
|
|
2787
|
+
"default": "vertical",
|
|
2788
|
+
"description": "Scroll direction"
|
|
2789
|
+
},
|
|
2790
|
+
"snap": {
|
|
2791
|
+
"kind": "enum",
|
|
2792
|
+
"options": [
|
|
2793
|
+
"mandatory",
|
|
2794
|
+
"proximity"
|
|
2795
|
+
],
|
|
2796
|
+
"default": "undefined (no snapping)",
|
|
2797
|
+
"description": "Enable scroll snapping. Sets scroll-snap-type on the viewport (axis derived from orientation)."
|
|
2798
|
+
},
|
|
2799
|
+
"snapAlign": {
|
|
2800
|
+
"kind": "enum",
|
|
2801
|
+
"options": [
|
|
2802
|
+
"start",
|
|
2803
|
+
"center",
|
|
2804
|
+
"end"
|
|
2805
|
+
],
|
|
2806
|
+
"default": "start",
|
|
2807
|
+
"description": "Snap alignment applied to direct children via [&>*]:snap-*."
|
|
2808
|
+
},
|
|
2809
|
+
"dragToScroll": {
|
|
2810
|
+
"kind": "boolean",
|
|
2811
|
+
"default": false,
|
|
2812
|
+
"description": "Enable mouse drag-to-scroll panning (grab the content and drag, like touch)."
|
|
2813
|
+
},
|
|
2814
|
+
"smooth": {
|
|
2815
|
+
"kind": "boolean",
|
|
2816
|
+
"default": true,
|
|
2817
|
+
"description": "Enable smooth momentum-based scrolling"
|
|
1350
2818
|
}
|
|
1351
2819
|
}
|
|
1352
2820
|
},
|
|
@@ -1381,16 +2849,232 @@ const GENERATIVE_SCHEMA = {
|
|
|
1381
2849
|
}
|
|
1382
2850
|
}
|
|
1383
2851
|
},
|
|
1384
|
-
"
|
|
2852
|
+
"Select": {
|
|
2853
|
+
"role": "leaf",
|
|
2854
|
+
"description": "Single-select dropdown (multi-select not supported in generative specs). Bind node.actions.change to onChange (fires with the selected option's value).",
|
|
2855
|
+
"props": {
|
|
2856
|
+
"name": {
|
|
2857
|
+
"kind": "string",
|
|
2858
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
2859
|
+
},
|
|
2860
|
+
"size": {
|
|
2861
|
+
"kind": "enum",
|
|
2862
|
+
"options": [
|
|
2863
|
+
"sm",
|
|
2864
|
+
"md",
|
|
2865
|
+
"lg"
|
|
2866
|
+
],
|
|
2867
|
+
"description": "Size of the select component"
|
|
2868
|
+
},
|
|
2869
|
+
"state": {
|
|
2870
|
+
"kind": "enum",
|
|
2871
|
+
"options": [
|
|
2872
|
+
"default",
|
|
2873
|
+
"disabled",
|
|
2874
|
+
"invalid"
|
|
2875
|
+
],
|
|
2876
|
+
"description": "Current state of the select component"
|
|
2877
|
+
},
|
|
2878
|
+
"placeholder": {
|
|
2879
|
+
"kind": "string",
|
|
2880
|
+
"description": "Placeholder text when no option is selected"
|
|
2881
|
+
},
|
|
2882
|
+
"disabled": {
|
|
2883
|
+
"kind": "boolean",
|
|
2884
|
+
"description": "Whether the select is disabled"
|
|
2885
|
+
},
|
|
2886
|
+
"required": {
|
|
2887
|
+
"kind": "boolean",
|
|
2888
|
+
"description": "Whether the select is required"
|
|
2889
|
+
},
|
|
2890
|
+
"options": {
|
|
2891
|
+
"kind": "shape",
|
|
2892
|
+
"shape": "optionItems",
|
|
2893
|
+
"required": true,
|
|
2894
|
+
"description": "Array of options to display"
|
|
2895
|
+
},
|
|
2896
|
+
"label": {
|
|
2897
|
+
"kind": "text",
|
|
2898
|
+
"description": "Label for the select — pass a string for default styling, or a ReactNode for full control"
|
|
2899
|
+
},
|
|
2900
|
+
"helperText": {
|
|
2901
|
+
"kind": "text",
|
|
2902
|
+
"description": "Helper text below the select — pass a string for default styling, or a ReactNode for full control"
|
|
2903
|
+
},
|
|
2904
|
+
"iconStart": {
|
|
2905
|
+
"kind": "icon",
|
|
2906
|
+
"description": "Left icon to display in the select button"
|
|
2907
|
+
},
|
|
2908
|
+
"iconEnd": {
|
|
2909
|
+
"kind": "icon",
|
|
2910
|
+
"description": "Right icon to display in the select button (default is chevron)"
|
|
2911
|
+
},
|
|
2912
|
+
"searchable": {
|
|
2913
|
+
"kind": "boolean",
|
|
2914
|
+
"description": "Whether the select is searchable"
|
|
2915
|
+
},
|
|
2916
|
+
"searchPlaceholder": {
|
|
2917
|
+
"kind": "string",
|
|
2918
|
+
"default": "Search...",
|
|
2919
|
+
"description": "Placeholder text for the search input shown when `searchable` is true."
|
|
2920
|
+
},
|
|
2921
|
+
"enableTypeahead": {
|
|
2922
|
+
"kind": "boolean",
|
|
2923
|
+
"description": "Whether to enable typeahead functionality (default: true)"
|
|
2924
|
+
},
|
|
2925
|
+
"aria-label": {
|
|
2926
|
+
"kind": "string",
|
|
2927
|
+
"description": "Accessible name for a Select with no visible `label` — e.g. a control sitting"
|
|
2928
|
+
},
|
|
2929
|
+
"value": {
|
|
2930
|
+
"kind": "string",
|
|
2931
|
+
"description": "Currently selected option's value (controlled)"
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
"Separator": {
|
|
2936
|
+
"role": "leaf",
|
|
2937
|
+
"description": "Horizontal or vertical divider.",
|
|
2938
|
+
"props": {
|
|
2939
|
+
"vertical": {
|
|
2940
|
+
"kind": "boolean",
|
|
2941
|
+
"default": false,
|
|
2942
|
+
"description": "Whether the separator is vertical (default is horizontal)"
|
|
2943
|
+
},
|
|
2944
|
+
"margin": {
|
|
2945
|
+
"kind": "enum",
|
|
2946
|
+
"options": [
|
|
2947
|
+
"sm",
|
|
2948
|
+
"md",
|
|
2949
|
+
"lg"
|
|
2950
|
+
],
|
|
2951
|
+
"default": "md",
|
|
2952
|
+
"description": "The margin size for spacing"
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
"Skeleton": {
|
|
2957
|
+
"role": "leaf",
|
|
2958
|
+
"description": "Loading placeholder shape.",
|
|
2959
|
+
"props": {
|
|
2960
|
+
"variant": {
|
|
2961
|
+
"kind": "enum",
|
|
2962
|
+
"options": [
|
|
2963
|
+
"text",
|
|
2964
|
+
"circular",
|
|
2965
|
+
"rectangle"
|
|
2966
|
+
],
|
|
2967
|
+
"default": "rectangle",
|
|
2968
|
+
"description": "The variant of the skeleton"
|
|
2969
|
+
},
|
|
2970
|
+
"width": {
|
|
2971
|
+
"kind": "union",
|
|
2972
|
+
"types": [
|
|
2973
|
+
"number",
|
|
2974
|
+
"string"
|
|
2975
|
+
],
|
|
2976
|
+
"description": "Width of the skeleton"
|
|
2977
|
+
},
|
|
2978
|
+
"height": {
|
|
2979
|
+
"kind": "union",
|
|
2980
|
+
"types": [
|
|
2981
|
+
"number",
|
|
2982
|
+
"string"
|
|
2983
|
+
],
|
|
2984
|
+
"description": "Height of the skeleton"
|
|
2985
|
+
},
|
|
2986
|
+
"lines": {
|
|
2987
|
+
"kind": "number",
|
|
2988
|
+
"default": 1,
|
|
2989
|
+
"description": "Number of skeleton lines to render (for text variant)"
|
|
2990
|
+
},
|
|
2991
|
+
"animate": {
|
|
2992
|
+
"kind": "boolean",
|
|
2993
|
+
"default": true,
|
|
2994
|
+
"description": "Whether to show pulse animation"
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
"Slider": {
|
|
2999
|
+
"role": "leaf",
|
|
3000
|
+
"description": "Single-thumb range slider (range/dual-thumb mode not supported in generative specs). Bind node.actions.change to onChange and/or node.actions.changeCommitted to onChangeCommitted (both fire with the new number).",
|
|
3001
|
+
"props": {
|
|
3002
|
+
"state": {
|
|
3003
|
+
"kind": "enum",
|
|
3004
|
+
"options": [
|
|
3005
|
+
"default",
|
|
3006
|
+
"disabled",
|
|
3007
|
+
"invalid"
|
|
3008
|
+
],
|
|
3009
|
+
"description": "The state of the slider (default, disabled, invalid)"
|
|
3010
|
+
},
|
|
3011
|
+
"label": {
|
|
3012
|
+
"kind": "text",
|
|
3013
|
+
"description": "Optional label text for the slider"
|
|
3014
|
+
},
|
|
3015
|
+
"helperText": {
|
|
3016
|
+
"kind": "text",
|
|
3017
|
+
"description": "Optional helper text displayed below the slider"
|
|
3018
|
+
},
|
|
3019
|
+
"min": {
|
|
3020
|
+
"kind": "number",
|
|
3021
|
+
"description": "Minimum value for the slider"
|
|
3022
|
+
},
|
|
3023
|
+
"max": {
|
|
3024
|
+
"kind": "number",
|
|
3025
|
+
"description": "Maximum value for the slider"
|
|
3026
|
+
},
|
|
3027
|
+
"step": {
|
|
3028
|
+
"kind": "number",
|
|
3029
|
+
"description": "Step value for slider increments"
|
|
3030
|
+
},
|
|
3031
|
+
"showValue": {
|
|
3032
|
+
"kind": "boolean",
|
|
3033
|
+
"description": "Whether to show the current value"
|
|
3034
|
+
},
|
|
3035
|
+
"unit": {
|
|
3036
|
+
"kind": "string",
|
|
3037
|
+
"description": "Unit to display with the value (e.g., \"px\", \"%\", \"°\")"
|
|
3038
|
+
},
|
|
3039
|
+
"showMinMax": {
|
|
3040
|
+
"kind": "boolean",
|
|
3041
|
+
"description": "Whether to show min/max labels"
|
|
3042
|
+
},
|
|
3043
|
+
"showTicks": {
|
|
3044
|
+
"kind": "boolean",
|
|
3045
|
+
"description": "Whether to show tick marks"
|
|
3046
|
+
},
|
|
3047
|
+
"tickStep": {
|
|
3048
|
+
"kind": "number",
|
|
3049
|
+
"description": "Step for tick marks (defaults to step)"
|
|
3050
|
+
},
|
|
3051
|
+
"iconStart": {
|
|
3052
|
+
"kind": "icon",
|
|
3053
|
+
"description": "Icon to display at the start of the slider"
|
|
3054
|
+
},
|
|
3055
|
+
"iconEnd": {
|
|
3056
|
+
"kind": "icon",
|
|
3057
|
+
"description": "Icon to display at the end of the slider"
|
|
3058
|
+
},
|
|
3059
|
+
"required": {
|
|
3060
|
+
"kind": "boolean",
|
|
3061
|
+
"description": "Whether the slider is required"
|
|
3062
|
+
},
|
|
3063
|
+
"name": {
|
|
3064
|
+
"kind": "string",
|
|
3065
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
3066
|
+
},
|
|
3067
|
+
"value": {
|
|
3068
|
+
"kind": "number",
|
|
3069
|
+
"description": "Current value (controlled)"
|
|
3070
|
+
}
|
|
3071
|
+
}
|
|
3072
|
+
},
|
|
3073
|
+
"Spinner": {
|
|
1385
3074
|
"role": "leaf",
|
|
1386
|
-
"description": "
|
|
3075
|
+
"description": "Loading spinner.",
|
|
1387
3076
|
"props": {
|
|
1388
|
-
"
|
|
1389
|
-
"kind": "boolean",
|
|
1390
|
-
"default": false,
|
|
1391
|
-
"description": "Whether the separator is vertical (default is horizontal)"
|
|
1392
|
-
},
|
|
1393
|
-
"margin": {
|
|
3077
|
+
"size": {
|
|
1394
3078
|
"kind": "enum",
|
|
1395
3079
|
"options": [
|
|
1396
3080
|
"sm",
|
|
@@ -1398,7 +3082,20 @@ const GENERATIVE_SCHEMA = {
|
|
|
1398
3082
|
"lg"
|
|
1399
3083
|
],
|
|
1400
3084
|
"default": "md",
|
|
1401
|
-
"description": "The
|
|
3085
|
+
"description": "The size of the spinner"
|
|
3086
|
+
},
|
|
3087
|
+
"color": {
|
|
3088
|
+
"kind": "enum",
|
|
3089
|
+
"options": [
|
|
3090
|
+
"mono",
|
|
3091
|
+
"primary",
|
|
3092
|
+
"success",
|
|
3093
|
+
"warning",
|
|
3094
|
+
"danger",
|
|
3095
|
+
"dark"
|
|
3096
|
+
],
|
|
3097
|
+
"default": "primary",
|
|
3098
|
+
"description": "The color of the spinner"
|
|
1402
3099
|
}
|
|
1403
3100
|
}
|
|
1404
3101
|
},
|
|
@@ -1409,6 +3106,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
1409
3106
|
"as": {
|
|
1410
3107
|
"kind": "enum",
|
|
1411
3108
|
"options": [
|
|
3109
|
+
"form",
|
|
1412
3110
|
"div",
|
|
1413
3111
|
"ul",
|
|
1414
3112
|
"ol",
|
|
@@ -1417,7 +3115,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
1417
3115
|
"header",
|
|
1418
3116
|
"footer",
|
|
1419
3117
|
"aside",
|
|
1420
|
-
"form",
|
|
1421
3118
|
"fieldset"
|
|
1422
3119
|
],
|
|
1423
3120
|
"default": "div",
|
|
@@ -1482,9 +3179,6 @@ const GENERATIVE_SCHEMA = {
|
|
|
1482
3179
|
"barRadius": {
|
|
1483
3180
|
"kind": "number"
|
|
1484
3181
|
},
|
|
1485
|
-
"gap": {
|
|
1486
|
-
"kind": "number"
|
|
1487
|
-
},
|
|
1488
3182
|
"categoryGap": {
|
|
1489
3183
|
"kind": "number"
|
|
1490
3184
|
},
|
|
@@ -1562,57 +3256,72 @@ const GENERATIVE_SCHEMA = {
|
|
|
1562
3256
|
"gradient"
|
|
1563
3257
|
]
|
|
1564
3258
|
},
|
|
1565
|
-
"
|
|
1566
|
-
"kind": "
|
|
3259
|
+
"title": {
|
|
3260
|
+
"kind": "text",
|
|
3261
|
+
"description": "Card header title (the auto shell)"
|
|
1567
3262
|
},
|
|
1568
|
-
"
|
|
1569
|
-
"kind": "
|
|
3263
|
+
"subtitle": {
|
|
3264
|
+
"kind": "text",
|
|
3265
|
+
"description": "Card header subtitle (the auto shell)"
|
|
3266
|
+
}
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
"Switch": {
|
|
3270
|
+
"role": "leaf",
|
|
3271
|
+
"description": "Toggle switch. `checked` is the on/off state; `value` is a separate HTML form-submission identity, not the checked state. Bind node.actions.change to onChange (fires with the new checked boolean).",
|
|
3272
|
+
"props": {
|
|
3273
|
+
"checked": {
|
|
3274
|
+
"kind": "boolean",
|
|
3275
|
+
"description": "Whether the switch is checked (controlled mode)"
|
|
1570
3276
|
},
|
|
1571
|
-
"
|
|
1572
|
-
"kind": "
|
|
3277
|
+
"defaultChecked": {
|
|
3278
|
+
"kind": "boolean",
|
|
3279
|
+
"description": "Initial checked state for uncontrolled mode"
|
|
1573
3280
|
},
|
|
1574
|
-
"
|
|
1575
|
-
"kind": "
|
|
3281
|
+
"label": {
|
|
3282
|
+
"kind": "text",
|
|
3283
|
+
"description": "Label for the switch — pass a string for default styling, or a ReactNode for full control"
|
|
1576
3284
|
},
|
|
1577
|
-
"
|
|
1578
|
-
"kind": "
|
|
3285
|
+
"description": {
|
|
3286
|
+
"kind": "text",
|
|
3287
|
+
"description": "Optional description — pass a string for default styling, or a ReactNode for full control"
|
|
1579
3288
|
},
|
|
1580
|
-
"
|
|
3289
|
+
"state": {
|
|
1581
3290
|
"kind": "enum",
|
|
1582
3291
|
"options": [
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
"stepAfter"
|
|
1588
|
-
]
|
|
1589
|
-
},
|
|
1590
|
-
"showDots": {
|
|
1591
|
-
"kind": "boolean"
|
|
1592
|
-
},
|
|
1593
|
-
"fillOpacity": {
|
|
1594
|
-
"kind": "number"
|
|
1595
|
-
},
|
|
1596
|
-
"showStroke": {
|
|
1597
|
-
"kind": "boolean"
|
|
3292
|
+
"default",
|
|
3293
|
+
"disabled"
|
|
3294
|
+
],
|
|
3295
|
+
"description": "The state of the switch (default, disabled, invalid)"
|
|
1598
3296
|
},
|
|
1599
|
-
"
|
|
1600
|
-
"kind": "
|
|
3297
|
+
"labelPosition": {
|
|
3298
|
+
"kind": "enum",
|
|
3299
|
+
"options": [
|
|
3300
|
+
"start",
|
|
3301
|
+
"end"
|
|
3302
|
+
],
|
|
3303
|
+
"description": "Position of the label relative to the switch"
|
|
1601
3304
|
},
|
|
1602
|
-
"
|
|
3305
|
+
"size": {
|
|
1603
3306
|
"kind": "enum",
|
|
1604
3307
|
"options": [
|
|
1605
|
-
"
|
|
1606
|
-
"
|
|
1607
|
-
|
|
3308
|
+
"sm",
|
|
3309
|
+
"md",
|
|
3310
|
+
"lg"
|
|
3311
|
+
],
|
|
3312
|
+
"description": "Size of the switch track and thumb"
|
|
1608
3313
|
},
|
|
1609
|
-
"
|
|
1610
|
-
"kind": "
|
|
1611
|
-
"description": "
|
|
3314
|
+
"name": {
|
|
3315
|
+
"kind": "string",
|
|
3316
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1612
3317
|
},
|
|
1613
|
-
"
|
|
1614
|
-
"kind": "
|
|
1615
|
-
"description": "
|
|
3318
|
+
"value": {
|
|
3319
|
+
"kind": "string",
|
|
3320
|
+
"description": "HTML value attribute for the hidden input"
|
|
3321
|
+
},
|
|
3322
|
+
"required": {
|
|
3323
|
+
"kind": "boolean",
|
|
3324
|
+
"description": "Whether the hidden input is required"
|
|
1616
3325
|
}
|
|
1617
3326
|
}
|
|
1618
3327
|
},
|
|
@@ -1701,69 +3410,250 @@ const GENERATIVE_SCHEMA = {
|
|
|
1701
3410
|
"kind": "text",
|
|
1702
3411
|
"description": "Optional accessible caption for the table, rendered as a visually-hidden <caption> element"
|
|
1703
3412
|
},
|
|
1704
|
-
"title": {
|
|
3413
|
+
"title": {
|
|
3414
|
+
"kind": "text",
|
|
3415
|
+
"description": "Card header title (the auto shell)"
|
|
3416
|
+
},
|
|
3417
|
+
"subtitle": {
|
|
3418
|
+
"kind": "text",
|
|
3419
|
+
"description": "Card header subtitle (the auto shell)"
|
|
3420
|
+
},
|
|
3421
|
+
"rowKey": {
|
|
3422
|
+
"kind": "string",
|
|
3423
|
+
"description": "Row field that uniquely identifies a row",
|
|
3424
|
+
"required": true
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
"Tag": {
|
|
3429
|
+
"role": "leaf",
|
|
3430
|
+
"description": "Compact label chip.",
|
|
3431
|
+
"props": {
|
|
3432
|
+
"children": {
|
|
3433
|
+
"kind": "text",
|
|
3434
|
+
"required": true,
|
|
3435
|
+
"description": "The content of the tag"
|
|
3436
|
+
},
|
|
3437
|
+
"size": {
|
|
3438
|
+
"kind": "enum",
|
|
3439
|
+
"options": [
|
|
3440
|
+
"sm",
|
|
3441
|
+
"md"
|
|
3442
|
+
],
|
|
3443
|
+
"description": "The size of the tag"
|
|
3444
|
+
},
|
|
3445
|
+
"removable": {
|
|
3446
|
+
"kind": "boolean",
|
|
3447
|
+
"description": "Whether to show the remove button (default: true)"
|
|
3448
|
+
},
|
|
3449
|
+
"disabled": {
|
|
3450
|
+
"kind": "boolean",
|
|
3451
|
+
"description": "Whether the tag is disabled"
|
|
3452
|
+
},
|
|
3453
|
+
"animated": {
|
|
3454
|
+
"kind": "boolean",
|
|
3455
|
+
"description": "Whether to render with motion (layout + enter/exit animation). Default true."
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
"Textarea": {
|
|
3460
|
+
"role": "leaf",
|
|
3461
|
+
"description": "Multi-line text input. Bind node.actions.change to onValueChange (fires with the raw string value).",
|
|
3462
|
+
"props": {
|
|
3463
|
+
"size": {
|
|
3464
|
+
"kind": "enum",
|
|
3465
|
+
"options": [
|
|
3466
|
+
"sm",
|
|
3467
|
+
"md",
|
|
3468
|
+
"lg"
|
|
3469
|
+
],
|
|
3470
|
+
"description": "The size of the textarea"
|
|
3471
|
+
},
|
|
3472
|
+
"state": {
|
|
3473
|
+
"kind": "enum",
|
|
3474
|
+
"options": [
|
|
3475
|
+
"default",
|
|
3476
|
+
"disabled",
|
|
3477
|
+
"invalid"
|
|
3478
|
+
],
|
|
3479
|
+
"description": "The state of the textarea (default, disabled, invalid)"
|
|
3480
|
+
},
|
|
3481
|
+
"label": {
|
|
3482
|
+
"kind": "text",
|
|
3483
|
+
"description": "Optional label for the textarea — pass a string for default styling, or a ReactNode for full control"
|
|
3484
|
+
},
|
|
3485
|
+
"helperText": {
|
|
3486
|
+
"kind": "text",
|
|
3487
|
+
"description": "Optional helper text below the textarea — pass a string for default styling, or a ReactNode for full control"
|
|
3488
|
+
},
|
|
3489
|
+
"errorMessage": {
|
|
3490
|
+
"kind": "text",
|
|
3491
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
3492
|
+
},
|
|
3493
|
+
"required": {
|
|
3494
|
+
"kind": "boolean",
|
|
3495
|
+
"description": "Whether the textarea is required"
|
|
3496
|
+
},
|
|
3497
|
+
"rows": {
|
|
3498
|
+
"kind": "number",
|
|
3499
|
+
"description": "Number of rows"
|
|
3500
|
+
},
|
|
3501
|
+
"cols": {
|
|
3502
|
+
"kind": "number",
|
|
3503
|
+
"description": "Number of columns"
|
|
3504
|
+
},
|
|
3505
|
+
"placeholder": {
|
|
3506
|
+
"kind": "string",
|
|
3507
|
+
"description": "Placeholder text"
|
|
3508
|
+
},
|
|
3509
|
+
"value": {
|
|
3510
|
+
"kind": "string",
|
|
3511
|
+
"description": "Current value (controlled)"
|
|
3512
|
+
},
|
|
3513
|
+
"disabled": {
|
|
3514
|
+
"kind": "boolean",
|
|
3515
|
+
"description": "Whether the textarea is disabled"
|
|
3516
|
+
},
|
|
3517
|
+
"name": {
|
|
3518
|
+
"kind": "string",
|
|
3519
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
"Timeline": {
|
|
3524
|
+
"role": "leaf",
|
|
3525
|
+
"description": "Event timeline driven by a serializable items array.",
|
|
3526
|
+
"props": {
|
|
3527
|
+
"layout": {
|
|
3528
|
+
"kind": "enum",
|
|
3529
|
+
"options": [
|
|
3530
|
+
"horizontal",
|
|
3531
|
+
"vertical"
|
|
3532
|
+
],
|
|
3533
|
+
"default": "vertical",
|
|
3534
|
+
"description": "Layout orientation of the timeline"
|
|
3535
|
+
},
|
|
3536
|
+
"items": {
|
|
3537
|
+
"kind": "shape",
|
|
3538
|
+
"shape": "timelineItems",
|
|
3539
|
+
"description": "Data-driven items. When provided, the timeline renders from this array and"
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3543
|
+
"TimePicker": {
|
|
3544
|
+
"role": "leaf",
|
|
3545
|
+
"description": "Time-of-day picker. value/onChange deal in plain \"HH:mm\" strings, not Date objects. Bind node.actions.change to onChange.",
|
|
3546
|
+
"props": {
|
|
3547
|
+
"value": {
|
|
3548
|
+
"kind": "string",
|
|
3549
|
+
"description": "The selected time value in \"HH:mm\" format"
|
|
3550
|
+
},
|
|
3551
|
+
"defaultValue": {
|
|
3552
|
+
"kind": "string",
|
|
3553
|
+
"description": "Default time value for uncontrolled mode"
|
|
3554
|
+
},
|
|
3555
|
+
"format": {
|
|
3556
|
+
"kind": "enum",
|
|
3557
|
+
"options": [
|
|
3558
|
+
"12h",
|
|
3559
|
+
"24h"
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Display format: 12-hour or 24-hour"
|
|
3562
|
+
},
|
|
3563
|
+
"step": {
|
|
3564
|
+
"kind": "number",
|
|
3565
|
+
"description": "Step interval for minutes (1, 5, 10, 15, 30)"
|
|
3566
|
+
},
|
|
3567
|
+
"minTime": {
|
|
3568
|
+
"kind": "string",
|
|
3569
|
+
"description": "Minimum selectable time in \"HH:mm\" format"
|
|
3570
|
+
},
|
|
3571
|
+
"maxTime": {
|
|
3572
|
+
"kind": "string",
|
|
3573
|
+
"description": "Maximum selectable time in \"HH:mm\" format"
|
|
3574
|
+
},
|
|
3575
|
+
"disabled": {
|
|
3576
|
+
"kind": "boolean",
|
|
3577
|
+
"description": "Whether the component is disabled"
|
|
3578
|
+
},
|
|
3579
|
+
"placeholder": {
|
|
3580
|
+
"kind": "string",
|
|
3581
|
+
"description": "Placeholder text for the input"
|
|
3582
|
+
},
|
|
3583
|
+
"size": {
|
|
3584
|
+
"kind": "enum",
|
|
3585
|
+
"options": [
|
|
3586
|
+
"sm",
|
|
3587
|
+
"md",
|
|
3588
|
+
"lg"
|
|
3589
|
+
],
|
|
3590
|
+
"description": "Size variant of the component"
|
|
3591
|
+
},
|
|
3592
|
+
"state": {
|
|
3593
|
+
"kind": "enum",
|
|
3594
|
+
"options": [
|
|
3595
|
+
"default",
|
|
3596
|
+
"disabled",
|
|
3597
|
+
"invalid"
|
|
3598
|
+
],
|
|
3599
|
+
"description": "State variant of the component"
|
|
3600
|
+
},
|
|
3601
|
+
"clearable": {
|
|
3602
|
+
"kind": "boolean",
|
|
3603
|
+
"description": "Whether to show a clear button"
|
|
3604
|
+
},
|
|
3605
|
+
"label": {
|
|
1705
3606
|
"kind": "text",
|
|
1706
|
-
"description": "
|
|
3607
|
+
"description": "Optional label text"
|
|
1707
3608
|
},
|
|
1708
|
-
"
|
|
3609
|
+
"helperText": {
|
|
1709
3610
|
"kind": "text",
|
|
1710
|
-
"description": "
|
|
3611
|
+
"description": "Optional helper text"
|
|
1711
3612
|
},
|
|
1712
|
-
"
|
|
3613
|
+
"iconStart": {
|
|
3614
|
+
"kind": "icon",
|
|
3615
|
+
"description": "Icon to display at the start (left side)"
|
|
3616
|
+
},
|
|
3617
|
+
"iconEnd": {
|
|
3618
|
+
"kind": "icon",
|
|
3619
|
+
"description": "Icon to display at the end (right side)"
|
|
3620
|
+
},
|
|
3621
|
+
"required": {
|
|
3622
|
+
"kind": "boolean",
|
|
3623
|
+
"description": "Marks this field as required. A parent Form refuses to submit while it is empty, and lists it in the form's error summary."
|
|
3624
|
+
},
|
|
3625
|
+
"name": {
|
|
1713
3626
|
"kind": "string",
|
|
1714
|
-
"description": "
|
|
1715
|
-
"required": true
|
|
3627
|
+
"description": "Field name. Required for this control's value to be included when a parent Form is submitted. Must match /^[A-Za-z_][A-Za-z0-9_-]*$/."
|
|
1716
3628
|
}
|
|
1717
3629
|
}
|
|
1718
3630
|
},
|
|
1719
|
-
"
|
|
3631
|
+
"Tree": {
|
|
1720
3632
|
"role": "leaf",
|
|
1721
|
-
"description": "
|
|
3633
|
+
"description": "Hierarchical tree view driven by a serializable data array.",
|
|
1722
3634
|
"props": {
|
|
1723
|
-
"
|
|
1724
|
-
"kind": "
|
|
3635
|
+
"data": {
|
|
3636
|
+
"kind": "shape",
|
|
3637
|
+
"shape": "treeData",
|
|
1725
3638
|
"required": true,
|
|
1726
|
-
"description": "
|
|
1727
|
-
},
|
|
1728
|
-
"size": {
|
|
1729
|
-
"kind": "enum",
|
|
1730
|
-
"options": [
|
|
1731
|
-
"sm",
|
|
1732
|
-
"md"
|
|
1733
|
-
],
|
|
1734
|
-
"description": "The size of the tag"
|
|
3639
|
+
"description": "Tree data structure"
|
|
1735
3640
|
},
|
|
1736
|
-
"
|
|
3641
|
+
"selectable": {
|
|
1737
3642
|
"kind": "boolean",
|
|
1738
|
-
"description": "Whether
|
|
3643
|
+
"description": "Whether nodes can be selected"
|
|
1739
3644
|
},
|
|
1740
|
-
"
|
|
3645
|
+
"checkable": {
|
|
1741
3646
|
"kind": "boolean",
|
|
1742
|
-
"description": "Whether
|
|
3647
|
+
"description": "Whether to show checkboxes for multi-selection"
|
|
1743
3648
|
},
|
|
1744
|
-
"
|
|
3649
|
+
"expandable": {
|
|
1745
3650
|
"kind": "boolean",
|
|
1746
|
-
"description": "Whether
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
},
|
|
1750
|
-
"Timeline": {
|
|
1751
|
-
"role": "leaf",
|
|
1752
|
-
"description": "Event timeline driven by a serializable items array.",
|
|
1753
|
-
"props": {
|
|
1754
|
-
"layout": {
|
|
1755
|
-
"kind": "enum",
|
|
1756
|
-
"options": [
|
|
1757
|
-
"vertical",
|
|
1758
|
-
"horizontal"
|
|
1759
|
-
],
|
|
1760
|
-
"default": "vertical",
|
|
1761
|
-
"description": "Layout orientation of the timeline"
|
|
3651
|
+
"description": "Whether nodes can be expanded/collapsed"
|
|
1762
3652
|
},
|
|
1763
|
-
"
|
|
1764
|
-
"kind": "
|
|
1765
|
-
"
|
|
1766
|
-
"description": "
|
|
3653
|
+
"hierarchicalSelection": {
|
|
3654
|
+
"kind": "boolean",
|
|
3655
|
+
"default": "automatically enabled when checkable=true, false otherwise",
|
|
3656
|
+
"description": "Enable hierarchical selection behavior"
|
|
1767
3657
|
}
|
|
1768
3658
|
}
|
|
1769
3659
|
}
|
|
@@ -1867,7 +3757,7 @@ const GENERATIVE_SCHEMA = {
|
|
|
1867
3757
|
"success",
|
|
1868
3758
|
"warning",
|
|
1869
3759
|
"danger",
|
|
1870
|
-
"
|
|
3760
|
+
"mono",
|
|
1871
3761
|
"dark"
|
|
1872
3762
|
]
|
|
1873
3763
|
}
|
|
@@ -1954,6 +3844,310 @@ const GENERATIVE_SCHEMA = {
|
|
|
1954
3844
|
}
|
|
1955
3845
|
}
|
|
1956
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"treeData": {
|
|
3849
|
+
"description": "Recursive array of { id, label } (required strings) plus optional children (nested TreeNode[]), expanded/selected/disabled (booleans), and data (freeform passthrough object). Per-node icons are not supported.",
|
|
3850
|
+
"type": "array",
|
|
3851
|
+
"items": {
|
|
3852
|
+
"type": "object",
|
|
3853
|
+
"required": [
|
|
3854
|
+
"id",
|
|
3855
|
+
"label"
|
|
3856
|
+
],
|
|
3857
|
+
"properties": {
|
|
3858
|
+
"id": {
|
|
3859
|
+
"type": "string"
|
|
3860
|
+
},
|
|
3861
|
+
"label": {
|
|
3862
|
+
"type": "string"
|
|
3863
|
+
},
|
|
3864
|
+
"children": {
|
|
3865
|
+
"type": "array"
|
|
3866
|
+
},
|
|
3867
|
+
"expanded": {
|
|
3868
|
+
"type": "boolean"
|
|
3869
|
+
},
|
|
3870
|
+
"selected": {
|
|
3871
|
+
"type": "boolean"
|
|
3872
|
+
},
|
|
3873
|
+
"disabled": {
|
|
3874
|
+
"type": "boolean"
|
|
3875
|
+
},
|
|
3876
|
+
"data": {
|
|
3877
|
+
"type": "object"
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
},
|
|
3882
|
+
"commandItems": {
|
|
3883
|
+
"description": "Array of { id, label } (required strings) plus optional subtitle, shortcut (string), and group (string, for grouped display). Per-item icons (contentStart/contentEnd) are not supported.",
|
|
3884
|
+
"type": "array",
|
|
3885
|
+
"items": {
|
|
3886
|
+
"type": "object",
|
|
3887
|
+
"required": [
|
|
3888
|
+
"id",
|
|
3889
|
+
"label"
|
|
3890
|
+
],
|
|
3891
|
+
"properties": {
|
|
3892
|
+
"id": {
|
|
3893
|
+
"type": "string"
|
|
3894
|
+
},
|
|
3895
|
+
"label": {
|
|
3896
|
+
"type": "string"
|
|
3897
|
+
},
|
|
3898
|
+
"subtitle": {
|
|
3899
|
+
"type": "string"
|
|
3900
|
+
},
|
|
3901
|
+
"shortcut": {
|
|
3902
|
+
"type": "string"
|
|
3903
|
+
},
|
|
3904
|
+
"group": {
|
|
3905
|
+
"type": "string"
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
},
|
|
3910
|
+
"optionItems": {
|
|
3911
|
+
"description": "Array of { id, label, value } (all strings, required) plus optional disabled (boolean). Shared shape for Select/Combobox options and InputTag suggestions.",
|
|
3912
|
+
"type": "array",
|
|
3913
|
+
"items": {
|
|
3914
|
+
"type": "object",
|
|
3915
|
+
"required": [
|
|
3916
|
+
"id",
|
|
3917
|
+
"label",
|
|
3918
|
+
"value"
|
|
3919
|
+
],
|
|
3920
|
+
"properties": {
|
|
3921
|
+
"id": {
|
|
3922
|
+
"type": "string"
|
|
3923
|
+
},
|
|
3924
|
+
"label": {
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
},
|
|
3927
|
+
"value": {
|
|
3928
|
+
"type": "string"
|
|
3929
|
+
},
|
|
3930
|
+
"disabled": {
|
|
3931
|
+
"type": "boolean"
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
}
|
|
3935
|
+
},
|
|
3936
|
+
"stringList": {
|
|
3937
|
+
"description": "Array of plain strings.",
|
|
3938
|
+
"type": "array",
|
|
3939
|
+
"items": {
|
|
3940
|
+
"type": "string"
|
|
3941
|
+
}
|
|
3942
|
+
},
|
|
3943
|
+
"kbdKeys": {
|
|
3944
|
+
"description": "Array of named keyboard keys.",
|
|
3945
|
+
"type": "array",
|
|
3946
|
+
"items": {
|
|
3947
|
+
"enum": [
|
|
3948
|
+
"command",
|
|
3949
|
+
"shift",
|
|
3950
|
+
"ctrl",
|
|
3951
|
+
"option",
|
|
3952
|
+
"enter",
|
|
3953
|
+
"delete",
|
|
3954
|
+
"escape",
|
|
3955
|
+
"tab",
|
|
3956
|
+
"capslock",
|
|
3957
|
+
"up",
|
|
3958
|
+
"right",
|
|
3959
|
+
"down",
|
|
3960
|
+
"left",
|
|
3961
|
+
"pageup",
|
|
3962
|
+
"pagedown",
|
|
3963
|
+
"home",
|
|
3964
|
+
"end",
|
|
3965
|
+
"help",
|
|
3966
|
+
"space",
|
|
3967
|
+
"fn",
|
|
3968
|
+
"win",
|
|
3969
|
+
"alt"
|
|
3970
|
+
]
|
|
3971
|
+
}
|
|
3972
|
+
},
|
|
3973
|
+
"ganttTasks": {
|
|
3974
|
+
"description": "Array of task bars: { id, groupId, title, startDate, endDate, progress } all required (dates: ISO strings, progress: number 0-100), plus optional color (CSS string), completed (boolean), milestone (boolean), dependencies (array of task id strings).",
|
|
3975
|
+
"type": "array",
|
|
3976
|
+
"items": {
|
|
3977
|
+
"type": "object",
|
|
3978
|
+
"required": [
|
|
3979
|
+
"id",
|
|
3980
|
+
"groupId",
|
|
3981
|
+
"title",
|
|
3982
|
+
"startDate",
|
|
3983
|
+
"endDate",
|
|
3984
|
+
"progress"
|
|
3985
|
+
],
|
|
3986
|
+
"properties": {
|
|
3987
|
+
"id": {
|
|
3988
|
+
"type": "string"
|
|
3989
|
+
},
|
|
3990
|
+
"groupId": {
|
|
3991
|
+
"type": "string"
|
|
3992
|
+
},
|
|
3993
|
+
"title": {
|
|
3994
|
+
"type": "string"
|
|
3995
|
+
},
|
|
3996
|
+
"startDate": {
|
|
3997
|
+
"type": "string"
|
|
3998
|
+
},
|
|
3999
|
+
"endDate": {
|
|
4000
|
+
"type": "string"
|
|
4001
|
+
},
|
|
4002
|
+
"progress": {
|
|
4003
|
+
"type": "number"
|
|
4004
|
+
},
|
|
4005
|
+
"color": {
|
|
4006
|
+
"type": "string"
|
|
4007
|
+
},
|
|
4008
|
+
"completed": {
|
|
4009
|
+
"type": "boolean"
|
|
4010
|
+
},
|
|
4011
|
+
"milestone": {
|
|
4012
|
+
"type": "boolean"
|
|
4013
|
+
},
|
|
4014
|
+
"dependencies": {
|
|
4015
|
+
"type": "array",
|
|
4016
|
+
"items": {
|
|
4017
|
+
"type": "string"
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
},
|
|
4023
|
+
"ganttGroups": {
|
|
4024
|
+
"description": "Array of task-row groupings: { id, title, color } (all required strings) plus optional order (number).",
|
|
4025
|
+
"type": "array",
|
|
4026
|
+
"items": {
|
|
4027
|
+
"type": "object",
|
|
4028
|
+
"required": [
|
|
4029
|
+
"id",
|
|
4030
|
+
"title",
|
|
4031
|
+
"color"
|
|
4032
|
+
],
|
|
4033
|
+
"properties": {
|
|
4034
|
+
"id": {
|
|
4035
|
+
"type": "string"
|
|
4036
|
+
},
|
|
4037
|
+
"title": {
|
|
4038
|
+
"type": "string"
|
|
4039
|
+
},
|
|
4040
|
+
"color": {
|
|
4041
|
+
"type": "string"
|
|
4042
|
+
},
|
|
4043
|
+
"order": {
|
|
4044
|
+
"type": "number"
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
},
|
|
4049
|
+
"radarSeries": {
|
|
4050
|
+
"description": "Array of data series: { label, data, color } all required — data is an array of numbers (one per axis, same length as the axes array), color is a CSS/hex color string.",
|
|
4051
|
+
"type": "array",
|
|
4052
|
+
"items": {
|
|
4053
|
+
"type": "object",
|
|
4054
|
+
"required": [
|
|
4055
|
+
"label",
|
|
4056
|
+
"data",
|
|
4057
|
+
"color"
|
|
4058
|
+
],
|
|
4059
|
+
"properties": {
|
|
4060
|
+
"label": {
|
|
4061
|
+
"type": "string"
|
|
4062
|
+
},
|
|
4063
|
+
"data": {
|
|
4064
|
+
"type": "array",
|
|
4065
|
+
"items": {
|
|
4066
|
+
"type": "number"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
"color": {
|
|
4070
|
+
"type": "string"
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
},
|
|
4075
|
+
"activityRings": {
|
|
4076
|
+
"description": "Array of rings, ordered outer to inner: { value } (number 0-100, required) plus optional label (string) and color (CSS/hex string).",
|
|
4077
|
+
"type": "array",
|
|
4078
|
+
"items": {
|
|
4079
|
+
"type": "object",
|
|
4080
|
+
"required": [
|
|
4081
|
+
"value"
|
|
4082
|
+
],
|
|
4083
|
+
"properties": {
|
|
4084
|
+
"value": {
|
|
4085
|
+
"type": "number"
|
|
4086
|
+
},
|
|
4087
|
+
"label": {
|
|
4088
|
+
"type": "string"
|
|
4089
|
+
},
|
|
4090
|
+
"color": {
|
|
4091
|
+
"type": "string"
|
|
4092
|
+
}
|
|
4093
|
+
}
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
"heatmapPoints": {
|
|
4097
|
+
"description": "Array of cells: { x, y, value } all required — x/y are the axis categories (string or number), value is a number or null (renders as empty/muted).",
|
|
4098
|
+
"type": "array",
|
|
4099
|
+
"items": {
|
|
4100
|
+
"type": "object",
|
|
4101
|
+
"required": [
|
|
4102
|
+
"x",
|
|
4103
|
+
"y",
|
|
4104
|
+
"value"
|
|
4105
|
+
],
|
|
4106
|
+
"properties": {
|
|
4107
|
+
"x": {
|
|
4108
|
+
"oneOf": [
|
|
4109
|
+
{
|
|
4110
|
+
"type": "string"
|
|
4111
|
+
},
|
|
4112
|
+
{
|
|
4113
|
+
"type": "number"
|
|
4114
|
+
}
|
|
4115
|
+
]
|
|
4116
|
+
},
|
|
4117
|
+
"y": {
|
|
4118
|
+
"oneOf": [
|
|
4119
|
+
{
|
|
4120
|
+
"type": "string"
|
|
4121
|
+
},
|
|
4122
|
+
{
|
|
4123
|
+
"type": "number"
|
|
4124
|
+
}
|
|
4125
|
+
]
|
|
4126
|
+
},
|
|
4127
|
+
"value": {
|
|
4128
|
+
"oneOf": [
|
|
4129
|
+
{
|
|
4130
|
+
"type": "number"
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"type": "null"
|
|
4134
|
+
}
|
|
4135
|
+
]
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
}
|
|
4139
|
+
},
|
|
4140
|
+
"heatmapLegendLabels": {
|
|
4141
|
+
"description": "Captions at each end of the colour ramp, both optional: { min, max }.",
|
|
4142
|
+
"type": "object",
|
|
4143
|
+
"properties": {
|
|
4144
|
+
"min": {
|
|
4145
|
+
"type": "string"
|
|
4146
|
+
},
|
|
4147
|
+
"max": {
|
|
4148
|
+
"type": "string"
|
|
4149
|
+
}
|
|
4150
|
+
}
|
|
1957
4151
|
}
|
|
1958
4152
|
},
|
|
1959
4153
|
"examples": [
|