@flikk/ui 1.0.0-beta.30 → 1.0.0-beta.31
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 +97 -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 +1 -1
- package/dist/components/ai/PromptInput/PromptInput.js +13 -14
- package/dist/components/ai/PromptInput/PromptInput.theme.js +1 -1
- package/dist/components/ai/PromptInput/VoiceRecorder.js +3 -3
- package/dist/components/ai/Reasoning/Reasoning.d.ts +5 -0
- package/dist/components/ai/Reasoning/Reasoning.js +16 -0
- package/dist/components/ai/Reasoning/Reasoning.types.d.ts +20 -0
- package/dist/components/ai/Reasoning/index.d.ts +2 -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/ErrorDisplay.js +2 -2
- package/dist/components/ai/StreamingResponse/StreamingResponse.js +1 -3
- package/dist/components/ai/StreamingResponse/StreamingResponse.theme.js +3 -1
- package/dist/components/ai/TokenCounter/TokenCounter.js +2 -2
- package/dist/components/ai/index.d.ts +3 -0
- package/dist/components/ai/index.js +6 -3
- package/dist/components/ai/shared/StatusIndicator.d.ts +8 -0
- package/dist/components/ai/shared/StatusIndicator.js +34 -0
- package/dist/components/canvas/CanvasToolbar.js +2 -2
- package/dist/components/canvas/NodeControls.js +2 -2
- package/dist/components/canvas/NodeRenderer.js +2 -2
- package/dist/components/charts/ActivityRings/ActivityRings.js +2 -2
- package/dist/components/charts/AreaChart/AreaChart.js +21 -32
- package/dist/components/charts/AreaChart/AreaChart.theme.d.ts +1 -6
- package/dist/components/charts/AreaChart/AreaChart.theme.js +7 -19
- 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 +9 -28
- 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 +8 -5
- 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/LineRenderer.js +15 -10
- 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 +9 -26
- 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/ScatterPlot/ScatterPlot.js +5 -4
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.d.ts +14 -19
- package/dist/components/charts/ScatterPlot/ScatterPlot.types.js +9 -2
- package/dist/components/charts/StackedBarChart/StackedBarChart.js +150 -132
- 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 +3 -0
- package/dist/components/charts/hooks/useTooltipPosition.js +18 -6
- package/dist/components/charts/index.d.ts +6 -0
- package/dist/components/charts/index.js +6 -0
- 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/theme/chart.theme.js +18 -23
- 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.js +1 -3
- 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 +2 -2
- package/dist/components/core/Accordion/AccordionTrigger.js +2 -2
- package/dist/components/core/Alert/Alert.animations.d.ts +2 -1
- package/dist/components/core/Alert/Alert.animations.js +21 -6
- package/dist/components/core/Alert/Alert.js +7 -7
- 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.js +4 -2
- package/dist/components/core/Badge/Badge.js +9 -4
- package/dist/components/core/Badge/Badge.theme.js +18 -12
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +1 -4
- package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +2 -2
- package/dist/components/core/Button/Button.js +9 -17
- package/dist/components/core/Button/Button.ripple.js +2 -2
- package/dist/components/core/Button/Button.theme.d.ts +2 -0
- package/dist/components/core/Button/Button.theme.js +34 -21
- package/dist/components/core/Button/Button.types.d.ts +18 -1
- package/dist/components/core/Calendar/Calendar.js +20 -5
- package/dist/components/core/Calendar/Calendar.theme.js +14 -22
- 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/Card/Card.theme.js +12 -4
- package/dist/components/core/Card/CardBody.js +1 -1
- package/dist/components/core/Card/CardFooter.js +1 -1
- package/dist/components/core/Card/CardHeader.js +1 -1
- package/dist/components/core/Carousel/CarouselNext.js +2 -2
- package/dist/components/core/Carousel/CarouselPrevious.js +2 -2
- 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/ContextMenuItem.js +2 -2
- package/dist/components/core/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/components/core/Drawer/Drawer.theme.js +7 -4
- package/dist/components/core/Drawer/DrawerHeader.js +2 -2
- package/dist/components/core/Dropdown/Dropdown.theme.js +3 -1
- package/dist/components/core/Dropdown/DropdownItem.js +2 -2
- 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 +6 -4
- package/dist/components/core/Message/Message.js +2 -2
- package/dist/components/core/Message/Message.theme.js +5 -7
- 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.d.ts +1 -1
- package/dist/components/core/Modal/Modal.js +2 -2
- package/dist/components/core/Modal/Modal.theme.js +9 -4
- package/dist/components/core/Modal/ModalHeader.js +2 -2
- package/dist/components/core/ModalStack/ModalStackModal.js +2 -2
- package/dist/components/core/NavItem/NavItem.js +6 -6
- 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 +25 -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 +3 -3
- package/dist/components/core/Pill/Pill.js +4 -2
- package/dist/components/core/Pill/Pill.theme.js +6 -4
- package/dist/components/core/Rating/Rating.js +4 -5
- package/dist/components/core/Rating/Rating.theme.js +1 -1
- package/dist/components/core/Segmented/Segmented.theme.js +9 -6
- package/dist/components/core/Sidebar/Sidebar.types.d.ts +4 -2
- package/dist/components/core/Sidebar/SidebarHeader.js +2 -2
- package/dist/components/core/Sidebar/SidebarMobileTrigger.js +2 -2
- package/dist/components/core/Sidebar/SidebarSearch.js +3 -3
- package/dist/components/core/Sidebar/SidebarToggle.js +3 -3
- package/dist/components/core/Sidebar/SidebarUserProfile.js +2 -2
- package/dist/components/core/Sortable/Sortable.js +2 -2
- package/dist/components/core/Tag/Tag.js +2 -2
- package/dist/components/core/Tag/Tag.theme.js +4 -2
- 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/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/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 +1 -1
- 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/GanttTaskContextMenu.js +2 -2
- package/dist/components/data-display/GanttChart/GanttToolbar.js +2 -2
- package/dist/components/data-display/KPI/KPI.js +2 -2
- package/dist/components/data-display/KPI/KPI.theme.js +4 -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 +9 -9
- 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 -2
- package/dist/components/data-display/Table/TableDeclarative.js +3 -3
- package/dist/components/data-display/Table/TableFilter.js +4 -4
- 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 +3 -3
- package/dist/components/data-display/Timeline/TimelineMarker.js +2 -2
- package/dist/components/effects/CustomCursor/CustomCursor.js +2 -2
- package/dist/components/effects/CustomCursor/CustomCursor.theme.js +2 -2
- 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/forms/Checkbox/Checkbox.js +2 -1
- package/dist/components/forms/Checkbox/Checkbox.theme.js +2 -2
- 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 +3 -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 +3 -3
- package/dist/components/forms/DateRangePicker/DateRangePickerBody.js +1 -1
- 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 +5 -1
- package/dist/components/forms/FileUpload/FileUploadProgress.js +7 -7
- 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/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 +2 -2
- package/dist/components/forms/RichTextEditor/RichTextEditor.js +22 -23
- package/dist/components/forms/Select/Select.d.ts +5 -1
- package/dist/components/forms/Select/Select.js +12 -11
- package/dist/components/forms/Select/Select.theme.js +4 -4
- package/dist/components/forms/Select/Select.types.d.ts +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 +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 +1 -1
- package/dist/components/forms/TimePicker/TimePicker.theme.js +6 -7
- 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 +23 -12
- package/dist/components/forms/index.js +1 -1
- package/dist/components/generative/registry.js +195 -2
- package/dist/components/generative/resolvers.js +16 -16
- package/dist/components/generative/schema.generated.js +2687 -379
- package/dist/components/layout/Section/Section.theme.js +1 -1
- package/dist/generative.schema.json +2687 -379
- 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 +1 -1
- package/dist/registry.json +835 -261
- package/dist/shadcn-compat.css +1 -1
- package/dist/styles.css +1 -1
- 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/tools.json +2705 -361
- package/dist/utils/colorUtils.d.ts +6 -6
- package/dist/utils/colorUtils.js +8 -8
- package/package.json +9 -6
- package/src/global.scss +15 -4
- package/src/styles/theme.css +440 -152
- package/tailwind.preset.cjs +52 -34
- package/dist/components/core/Pill/Pill.animations.d.ts +0 -32
- package/dist/components/core/Pill/Pill.animations.js +0 -16
package/dist/tools.json
CHANGED
|
@@ -21,35 +21,71 @@
|
|
|
21
21
|
"type": "string",
|
|
22
22
|
"enum": [
|
|
23
23
|
"Accordion",
|
|
24
|
+
"ActivityRings",
|
|
24
25
|
"Alert",
|
|
25
26
|
"AreaChart",
|
|
27
|
+
"AspectRatio",
|
|
26
28
|
"Avatar",
|
|
27
29
|
"AvatarGroup",
|
|
28
30
|
"Badge",
|
|
29
31
|
"BarChart",
|
|
30
32
|
"Breadcrumbs",
|
|
31
33
|
"Button",
|
|
34
|
+
"ButtonGroup",
|
|
35
|
+
"Calendar",
|
|
32
36
|
"Card",
|
|
37
|
+
"Checkbox",
|
|
38
|
+
"Combobox",
|
|
33
39
|
"ComboChart",
|
|
40
|
+
"CommandPalette",
|
|
34
41
|
"DescriptionList",
|
|
35
42
|
"DonutChart",
|
|
43
|
+
"DotSeparator",
|
|
36
44
|
"Empty",
|
|
37
45
|
"Feed",
|
|
46
|
+
"FunnelChart",
|
|
47
|
+
"GanttChart",
|
|
38
48
|
"Grid",
|
|
49
|
+
"Heatmap",
|
|
50
|
+
"HeroCard",
|
|
51
|
+
"HorizontalBarChart",
|
|
52
|
+
"Icon",
|
|
53
|
+
"Input",
|
|
54
|
+
"InputCounter",
|
|
55
|
+
"InputDate",
|
|
56
|
+
"InputOTP",
|
|
57
|
+
"InputTag",
|
|
58
|
+
"Kbd",
|
|
39
59
|
"KPI",
|
|
40
60
|
"LineChart",
|
|
61
|
+
"Link",
|
|
62
|
+
"Masonry",
|
|
63
|
+
"MenuItem",
|
|
64
|
+
"Message",
|
|
41
65
|
"Metric",
|
|
42
66
|
"PageHeading",
|
|
67
|
+
"Pagination",
|
|
43
68
|
"Pill",
|
|
44
69
|
"Progress",
|
|
70
|
+
"RadarChart",
|
|
45
71
|
"Rating",
|
|
72
|
+
"ScatterPlot",
|
|
73
|
+
"ScrollArea",
|
|
46
74
|
"Section",
|
|
75
|
+
"Select",
|
|
47
76
|
"Separator",
|
|
77
|
+
"Skeleton",
|
|
78
|
+
"Slider",
|
|
79
|
+
"Spinner",
|
|
48
80
|
"Stack",
|
|
49
81
|
"StackedBarChart",
|
|
82
|
+
"Switch",
|
|
50
83
|
"Table",
|
|
51
84
|
"Tag",
|
|
52
|
-
"
|
|
85
|
+
"Textarea",
|
|
86
|
+
"Timeline",
|
|
87
|
+
"TimePicker",
|
|
88
|
+
"Tree"
|
|
53
89
|
]
|
|
54
90
|
},
|
|
55
91
|
"props": {
|
|
@@ -132,6 +168,59 @@
|
|
|
132
168
|
}
|
|
133
169
|
}
|
|
134
170
|
},
|
|
171
|
+
"ActivityRings": {
|
|
172
|
+
"role": "leaf",
|
|
173
|
+
"description": "Concentric circular progress rings (auto Card shell).",
|
|
174
|
+
"props": {
|
|
175
|
+
"rings": {
|
|
176
|
+
"kind": "shape",
|
|
177
|
+
"shape": "activityRings",
|
|
178
|
+
"required": true,
|
|
179
|
+
"description": "Array of rings (ordered from outer to inner)"
|
|
180
|
+
},
|
|
181
|
+
"centerLabel": {
|
|
182
|
+
"kind": "text",
|
|
183
|
+
"description": "Center label content (text or ReactNode)"
|
|
184
|
+
},
|
|
185
|
+
"centerSuffix": {
|
|
186
|
+
"kind": "string",
|
|
187
|
+
"description": "Optional suffix for center label (e.g., \"cal\", \"steps\")"
|
|
188
|
+
},
|
|
189
|
+
"size": {
|
|
190
|
+
"kind": "union",
|
|
191
|
+
"types": [
|
|
192
|
+
"number",
|
|
193
|
+
"string"
|
|
194
|
+
],
|
|
195
|
+
"description": "Size of the chart (px or string with units)"
|
|
196
|
+
},
|
|
197
|
+
"strokeWidth": {
|
|
198
|
+
"kind": "number",
|
|
199
|
+
"description": "Ring stroke width (default: 12)"
|
|
200
|
+
},
|
|
201
|
+
"gap": {
|
|
202
|
+
"kind": "number",
|
|
203
|
+
"description": "Gap between rings (default: 8)"
|
|
204
|
+
},
|
|
205
|
+
"showAnimation": {
|
|
206
|
+
"kind": "boolean",
|
|
207
|
+
"description": "Whether to show animations (default: true)"
|
|
208
|
+
},
|
|
209
|
+
"colors": {
|
|
210
|
+
"kind": "shape",
|
|
211
|
+
"shape": "colorList",
|
|
212
|
+
"description": "Custom color palette for rings. Colors are applied in order from outer to inner ring."
|
|
213
|
+
},
|
|
214
|
+
"title": {
|
|
215
|
+
"kind": "text",
|
|
216
|
+
"description": "Card header title (the auto shell)"
|
|
217
|
+
},
|
|
218
|
+
"subtitle": {
|
|
219
|
+
"kind": "text",
|
|
220
|
+
"description": "Card header subtitle (the auto shell)"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
135
224
|
"Alert": {
|
|
136
225
|
"role": "leaf",
|
|
137
226
|
"description": "Inline callout with semantic color.",
|
|
@@ -139,7 +228,7 @@
|
|
|
139
228
|
"color": {
|
|
140
229
|
"kind": "enum",
|
|
141
230
|
"options": [
|
|
142
|
-
"
|
|
231
|
+
"mono",
|
|
143
232
|
"primary",
|
|
144
233
|
"success",
|
|
145
234
|
"warning",
|
|
@@ -252,15 +341,6 @@
|
|
|
252
341
|
"gradient"
|
|
253
342
|
]
|
|
254
343
|
},
|
|
255
|
-
"barRadius": {
|
|
256
|
-
"kind": "number"
|
|
257
|
-
},
|
|
258
|
-
"cellRadius": {
|
|
259
|
-
"kind": "number"
|
|
260
|
-
},
|
|
261
|
-
"gap": {
|
|
262
|
-
"kind": "number"
|
|
263
|
-
},
|
|
264
344
|
"curveType": {
|
|
265
345
|
"kind": "enum",
|
|
266
346
|
"options": [
|
|
@@ -281,6 +361,16 @@
|
|
|
281
361
|
}
|
|
282
362
|
}
|
|
283
363
|
},
|
|
364
|
+
"AspectRatio": {
|
|
365
|
+
"role": "container",
|
|
366
|
+
"description": "Fixed-ratio box. Children are spec nodes.",
|
|
367
|
+
"props": {
|
|
368
|
+
"ratio": {
|
|
369
|
+
"kind": "number",
|
|
370
|
+
"description": "The desired ratio (width / height). e.g., 16/9, 4/3, 1"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
},
|
|
284
374
|
"Avatar": {
|
|
285
375
|
"role": "leaf",
|
|
286
376
|
"description": "User avatar with initials fallback.",
|
|
@@ -300,7 +390,7 @@
|
|
|
300
390
|
"string"
|
|
301
391
|
],
|
|
302
392
|
"default": "md",
|
|
303
|
-
"description": "The size of the avatar"
|
|
393
|
+
"description": "The size of the avatar — a named rung (`\"md\"`) or an exact pixel size"
|
|
304
394
|
},
|
|
305
395
|
"status": {
|
|
306
396
|
"kind": "enum",
|
|
@@ -373,16 +463,6 @@
|
|
|
373
463
|
"default": "md",
|
|
374
464
|
"description": "Size for all avatars in the group"
|
|
375
465
|
},
|
|
376
|
-
"spacing": {
|
|
377
|
-
"kind": "enum",
|
|
378
|
-
"options": [
|
|
379
|
-
"tight",
|
|
380
|
-
"normal",
|
|
381
|
-
"loose"
|
|
382
|
-
],
|
|
383
|
-
"default": "normal",
|
|
384
|
-
"description": "Amount of overlap between avatars (higher value = more overlap)"
|
|
385
|
-
},
|
|
386
466
|
"direction": {
|
|
387
467
|
"kind": "enum",
|
|
388
468
|
"options": [
|
|
@@ -426,7 +506,7 @@
|
|
|
426
506
|
"color": {
|
|
427
507
|
"kind": "enum",
|
|
428
508
|
"options": [
|
|
429
|
-
"
|
|
509
|
+
"mono",
|
|
430
510
|
"primary",
|
|
431
511
|
"success",
|
|
432
512
|
"warning",
|
|
@@ -548,47 +628,6 @@
|
|
|
548
628
|
"gradient"
|
|
549
629
|
]
|
|
550
630
|
},
|
|
551
|
-
"dotRadius": {
|
|
552
|
-
"kind": "number"
|
|
553
|
-
},
|
|
554
|
-
"cellRadius": {
|
|
555
|
-
"kind": "number"
|
|
556
|
-
},
|
|
557
|
-
"strokeWidth": {
|
|
558
|
-
"kind": "number"
|
|
559
|
-
},
|
|
560
|
-
"curved": {
|
|
561
|
-
"kind": "boolean"
|
|
562
|
-
},
|
|
563
|
-
"curveType": {
|
|
564
|
-
"kind": "enum",
|
|
565
|
-
"options": [
|
|
566
|
-
"linear",
|
|
567
|
-
"monotone",
|
|
568
|
-
"step",
|
|
569
|
-
"stepBefore",
|
|
570
|
-
"stepAfter"
|
|
571
|
-
]
|
|
572
|
-
},
|
|
573
|
-
"showDots": {
|
|
574
|
-
"kind": "boolean"
|
|
575
|
-
},
|
|
576
|
-
"fillOpacity": {
|
|
577
|
-
"kind": "number"
|
|
578
|
-
},
|
|
579
|
-
"showStroke": {
|
|
580
|
-
"kind": "boolean"
|
|
581
|
-
},
|
|
582
|
-
"stacked": {
|
|
583
|
-
"kind": "boolean"
|
|
584
|
-
},
|
|
585
|
-
"orientation": {
|
|
586
|
-
"kind": "enum",
|
|
587
|
-
"options": [
|
|
588
|
-
"vertical",
|
|
589
|
-
"horizontal"
|
|
590
|
-
]
|
|
591
|
-
},
|
|
592
631
|
"title": {
|
|
593
632
|
"kind": "text",
|
|
594
633
|
"description": "Card header title (the auto shell)"
|
|
@@ -634,7 +673,7 @@
|
|
|
634
673
|
"color": {
|
|
635
674
|
"kind": "enum",
|
|
636
675
|
"options": [
|
|
637
|
-
"
|
|
676
|
+
"mono",
|
|
638
677
|
"primary",
|
|
639
678
|
"danger"
|
|
640
679
|
],
|
|
@@ -676,6 +715,14 @@
|
|
|
676
715
|
"kind": "boolean",
|
|
677
716
|
"description": "Whether the button should be full width"
|
|
678
717
|
},
|
|
718
|
+
"iconStart": {
|
|
719
|
+
"kind": "icon",
|
|
720
|
+
"description": "Small decorative icon before the label, auto-sized to the button's `size`."
|
|
721
|
+
},
|
|
722
|
+
"iconEnd": {
|
|
723
|
+
"kind": "icon",
|
|
724
|
+
"description": "Small decorative icon after the label, auto-sized to the button's `size`. See `iconStart`."
|
|
725
|
+
},
|
|
679
726
|
"children": {
|
|
680
727
|
"kind": "text",
|
|
681
728
|
"description": "Button contents"
|
|
@@ -710,6 +757,76 @@
|
|
|
710
757
|
}
|
|
711
758
|
}
|
|
712
759
|
},
|
|
760
|
+
"ButtonGroup": {
|
|
761
|
+
"role": "container",
|
|
762
|
+
"description": "Groups adjacent Buttons with joined borders. Children are spec nodes (Button leaves).",
|
|
763
|
+
"props": {
|
|
764
|
+
"orientation": {
|
|
765
|
+
"kind": "enum",
|
|
766
|
+
"options": [
|
|
767
|
+
"horizontal",
|
|
768
|
+
"vertical"
|
|
769
|
+
],
|
|
770
|
+
"description": "The layout direction of the button group"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"Calendar": {
|
|
775
|
+
"role": "leaf",
|
|
776
|
+
"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).",
|
|
777
|
+
"props": {
|
|
778
|
+
"showToday": {
|
|
779
|
+
"kind": "boolean",
|
|
780
|
+
"description": "Whether to highlight today's date (default: true)"
|
|
781
|
+
},
|
|
782
|
+
"selectTodayByDefault": {
|
|
783
|
+
"kind": "boolean",
|
|
784
|
+
"description": "Auto-select today's date when calendar opens without a value (default: false)"
|
|
785
|
+
},
|
|
786
|
+
"size": {
|
|
787
|
+
"kind": "enum",
|
|
788
|
+
"options": [
|
|
789
|
+
"sm",
|
|
790
|
+
"md",
|
|
791
|
+
"lg"
|
|
792
|
+
],
|
|
793
|
+
"description": "Size variant"
|
|
794
|
+
},
|
|
795
|
+
"headerMode": {
|
|
796
|
+
"kind": "enum",
|
|
797
|
+
"options": [
|
|
798
|
+
"dropdown",
|
|
799
|
+
"static",
|
|
800
|
+
"mixed"
|
|
801
|
+
],
|
|
802
|
+
"description": "Header display mode - dropdown (default), static text, or mixed (default: 'dropdown')"
|
|
803
|
+
},
|
|
804
|
+
"enableMonthDropdown": {
|
|
805
|
+
"kind": "boolean",
|
|
806
|
+
"description": "Whether to enable month dropdown instead of navigation arrows (default: true)"
|
|
807
|
+
},
|
|
808
|
+
"enableYearDropdown": {
|
|
809
|
+
"kind": "boolean",
|
|
810
|
+
"description": "Whether to enable year dropdown instead of navigation arrows (default: true)"
|
|
811
|
+
},
|
|
812
|
+
"showOtherMonthDays": {
|
|
813
|
+
"kind": "boolean",
|
|
814
|
+
"description": "Whether to show days from adjacent months (default: true)"
|
|
815
|
+
},
|
|
816
|
+
"value": {
|
|
817
|
+
"kind": "string",
|
|
818
|
+
"description": "Selected date, ISO format (e.g. \"2024-01-01\")"
|
|
819
|
+
},
|
|
820
|
+
"minDate": {
|
|
821
|
+
"kind": "string",
|
|
822
|
+
"description": "Minimum selectable date, ISO format"
|
|
823
|
+
},
|
|
824
|
+
"maxDate": {
|
|
825
|
+
"kind": "string",
|
|
826
|
+
"description": "Maximum selectable date, ISO format"
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
713
830
|
"Card": {
|
|
714
831
|
"role": "container",
|
|
715
832
|
"description": "Bounded panel with optional header. Children are spec nodes.",
|
|
@@ -724,6 +841,123 @@
|
|
|
724
841
|
}
|
|
725
842
|
}
|
|
726
843
|
},
|
|
844
|
+
"Checkbox": {
|
|
845
|
+
"role": "leaf",
|
|
846
|
+
"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.",
|
|
847
|
+
"props": {
|
|
848
|
+
"value": {
|
|
849
|
+
"kind": "string",
|
|
850
|
+
"required": true
|
|
851
|
+
},
|
|
852
|
+
"indeterminate": {
|
|
853
|
+
"kind": "boolean"
|
|
854
|
+
},
|
|
855
|
+
"label": {
|
|
856
|
+
"kind": "text"
|
|
857
|
+
},
|
|
858
|
+
"description": {
|
|
859
|
+
"kind": "text"
|
|
860
|
+
},
|
|
861
|
+
"state": {
|
|
862
|
+
"kind": "enum",
|
|
863
|
+
"options": [
|
|
864
|
+
"default",
|
|
865
|
+
"disabled",
|
|
866
|
+
"invalid"
|
|
867
|
+
]
|
|
868
|
+
},
|
|
869
|
+
"size": {
|
|
870
|
+
"kind": "enum",
|
|
871
|
+
"options": [
|
|
872
|
+
"sm",
|
|
873
|
+
"md",
|
|
874
|
+
"lg"
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"checked": {
|
|
878
|
+
"kind": "boolean",
|
|
879
|
+
"description": "Whether the checkbox is checked"
|
|
880
|
+
},
|
|
881
|
+
"disabled": {
|
|
882
|
+
"kind": "boolean",
|
|
883
|
+
"description": "Whether the checkbox is disabled"
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"Combobox": {
|
|
888
|
+
"role": "leaf",
|
|
889
|
+
"description": "Searchable single-select. Bind node.actions.change to onChange (fires with the selected option's value, or undefined when cleared).",
|
|
890
|
+
"props": {
|
|
891
|
+
"options": {
|
|
892
|
+
"kind": "shape",
|
|
893
|
+
"shape": "optionItems",
|
|
894
|
+
"required": true,
|
|
895
|
+
"description": "Array of options to display"
|
|
896
|
+
},
|
|
897
|
+
"placeholder": {
|
|
898
|
+
"kind": "string",
|
|
899
|
+
"description": "Placeholder text when no value is selected"
|
|
900
|
+
},
|
|
901
|
+
"label": {
|
|
902
|
+
"kind": "text",
|
|
903
|
+
"description": "Label text displayed above the input"
|
|
904
|
+
},
|
|
905
|
+
"helperText": {
|
|
906
|
+
"kind": "text",
|
|
907
|
+
"description": "Helper text displayed below the input"
|
|
908
|
+
},
|
|
909
|
+
"size": {
|
|
910
|
+
"kind": "enum",
|
|
911
|
+
"options": [
|
|
912
|
+
"sm",
|
|
913
|
+
"md",
|
|
914
|
+
"lg"
|
|
915
|
+
],
|
|
916
|
+
"description": "Size variant"
|
|
917
|
+
},
|
|
918
|
+
"state": {
|
|
919
|
+
"kind": "enum",
|
|
920
|
+
"options": [
|
|
921
|
+
"default",
|
|
922
|
+
"disabled",
|
|
923
|
+
"invalid"
|
|
924
|
+
],
|
|
925
|
+
"description": "State variant (controls styling)"
|
|
926
|
+
},
|
|
927
|
+
"clearable": {
|
|
928
|
+
"kind": "boolean",
|
|
929
|
+
"description": "Whether the clear button is shown (default: true)"
|
|
930
|
+
},
|
|
931
|
+
"iconStart": {
|
|
932
|
+
"kind": "icon",
|
|
933
|
+
"description": "Icon displayed at the start of the input"
|
|
934
|
+
},
|
|
935
|
+
"iconEnd": {
|
|
936
|
+
"kind": "icon",
|
|
937
|
+
"description": "Icon displayed at the end of the input"
|
|
938
|
+
},
|
|
939
|
+
"openOnFocus": {
|
|
940
|
+
"kind": "boolean",
|
|
941
|
+
"description": "Whether to open dropdown on focus (default: true)"
|
|
942
|
+
},
|
|
943
|
+
"emptyMessage": {
|
|
944
|
+
"kind": "string",
|
|
945
|
+
"description": "Message shown when no options match the filter"
|
|
946
|
+
},
|
|
947
|
+
"required": {
|
|
948
|
+
"kind": "boolean",
|
|
949
|
+
"description": "Whether the input is required"
|
|
950
|
+
},
|
|
951
|
+
"name": {
|
|
952
|
+
"kind": "string",
|
|
953
|
+
"description": "Form field name"
|
|
954
|
+
},
|
|
955
|
+
"value": {
|
|
956
|
+
"kind": "string",
|
|
957
|
+
"description": "Currently selected value (controlled)"
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
727
961
|
"ComboChart": {
|
|
728
962
|
"role": "leaf",
|
|
729
963
|
"description": "Combined bar+line chart — per-series type via config[key].type (auto Card shell).",
|
|
@@ -815,10 +1049,10 @@
|
|
|
815
1049
|
"barRadius": {
|
|
816
1050
|
"kind": "number"
|
|
817
1051
|
},
|
|
818
|
-
"
|
|
1052
|
+
"gap": {
|
|
819
1053
|
"kind": "number"
|
|
820
1054
|
},
|
|
821
|
-
"
|
|
1055
|
+
"dotRadius": {
|
|
822
1056
|
"kind": "number"
|
|
823
1057
|
},
|
|
824
1058
|
"radius": {
|
|
@@ -827,15 +1061,6 @@
|
|
|
827
1061
|
"strokeWidth": {
|
|
828
1062
|
"kind": "number"
|
|
829
1063
|
},
|
|
830
|
-
"gap": {
|
|
831
|
-
"kind": "number"
|
|
832
|
-
},
|
|
833
|
-
"fillOpacity": {
|
|
834
|
-
"kind": "number"
|
|
835
|
-
},
|
|
836
|
-
"showStroke": {
|
|
837
|
-
"kind": "boolean"
|
|
838
|
-
},
|
|
839
1064
|
"title": {
|
|
840
1065
|
"kind": "text",
|
|
841
1066
|
"description": "Card header title (the auto shell)"
|
|
@@ -846,25 +1071,74 @@
|
|
|
846
1071
|
}
|
|
847
1072
|
}
|
|
848
1073
|
},
|
|
849
|
-
"
|
|
1074
|
+
"CommandPalette": {
|
|
850
1075
|
"role": "leaf",
|
|
851
|
-
"description": "
|
|
1076
|
+
"description": "Searchable command list, rendered as a full-screen modal overlay (pair with node.actions.select/close).",
|
|
852
1077
|
"props": {
|
|
853
|
-
"
|
|
854
|
-
"kind": "
|
|
855
|
-
"
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
],
|
|
859
|
-
"description": "Layout variant: \"horizontal\" (default) or \"vertical\""
|
|
1078
|
+
"commands": {
|
|
1079
|
+
"kind": "shape",
|
|
1080
|
+
"shape": "commandItems",
|
|
1081
|
+
"required": true,
|
|
1082
|
+
"description": "Array of commands or command groups"
|
|
860
1083
|
},
|
|
861
|
-
"
|
|
862
|
-
"kind": "
|
|
863
|
-
"
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
"description": "
|
|
1084
|
+
"placeholder": {
|
|
1085
|
+
"kind": "string",
|
|
1086
|
+
"description": "Placeholder text for search input"
|
|
1087
|
+
},
|
|
1088
|
+
"emptyMessage": {
|
|
1089
|
+
"kind": "string",
|
|
1090
|
+
"description": "Custom empty state message"
|
|
1091
|
+
},
|
|
1092
|
+
"maxHeight": {
|
|
1093
|
+
"kind": "union",
|
|
1094
|
+
"types": [
|
|
1095
|
+
"number",
|
|
1096
|
+
"string"
|
|
1097
|
+
],
|
|
1098
|
+
"description": "Maximum height of the command list"
|
|
1099
|
+
},
|
|
1100
|
+
"grouped": {
|
|
1101
|
+
"kind": "boolean",
|
|
1102
|
+
"description": "Whether to group commands by category"
|
|
1103
|
+
},
|
|
1104
|
+
"elevation": {
|
|
1105
|
+
"kind": "union",
|
|
1106
|
+
"types": [
|
|
1107
|
+
"number",
|
|
1108
|
+
"string"
|
|
1109
|
+
],
|
|
1110
|
+
"description": "Pin the surface elevation rung (overrides the automatic relative lift)."
|
|
1111
|
+
},
|
|
1112
|
+
"lift": {
|
|
1113
|
+
"kind": "boolean",
|
|
1114
|
+
"description": "`false` opts out of the relative lift — paints at the palette's base rung."
|
|
1115
|
+
},
|
|
1116
|
+
"isOpen": {
|
|
1117
|
+
"kind": "boolean",
|
|
1118
|
+
"description": "Always rendered open in a generative spec.",
|
|
1119
|
+
"default": true
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"DescriptionList": {
|
|
1124
|
+
"role": "leaf",
|
|
1125
|
+
"description": "Label/value pairs driven by a serializable items array.",
|
|
1126
|
+
"props": {
|
|
1127
|
+
"variant": {
|
|
1128
|
+
"kind": "enum",
|
|
1129
|
+
"options": [
|
|
1130
|
+
"horizontal",
|
|
1131
|
+
"vertical"
|
|
1132
|
+
],
|
|
1133
|
+
"description": "Layout variant: \"horizontal\" (default) or \"vertical\""
|
|
1134
|
+
},
|
|
1135
|
+
"padding": {
|
|
1136
|
+
"kind": "enum",
|
|
1137
|
+
"options": [
|
|
1138
|
+
"default",
|
|
1139
|
+
"flush"
|
|
1140
|
+
],
|
|
1141
|
+
"description": "Edge padding behavior. `flush` (default) removes the item side padding so"
|
|
868
1142
|
},
|
|
869
1143
|
"items": {
|
|
870
1144
|
"kind": "shape",
|
|
@@ -939,6 +1213,22 @@
|
|
|
939
1213
|
}
|
|
940
1214
|
}
|
|
941
1215
|
},
|
|
1216
|
+
"DotSeparator": {
|
|
1217
|
+
"role": "leaf",
|
|
1218
|
+
"description": "Small dot glyph used as an inline separator.",
|
|
1219
|
+
"props": {
|
|
1220
|
+
"size": {
|
|
1221
|
+
"kind": "enum",
|
|
1222
|
+
"options": [
|
|
1223
|
+
"sm",
|
|
1224
|
+
"md",
|
|
1225
|
+
"lg"
|
|
1226
|
+
],
|
|
1227
|
+
"default": "md",
|
|
1228
|
+
"description": "The size of the dot (also scales its horizontal spacing)"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
942
1232
|
"Empty": {
|
|
943
1233
|
"role": "leaf",
|
|
944
1234
|
"description": "Empty-state placeholder with icon, title and subtitle.",
|
|
@@ -980,6 +1270,214 @@
|
|
|
980
1270
|
}
|
|
981
1271
|
}
|
|
982
1272
|
},
|
|
1273
|
+
"FunnelChart": {
|
|
1274
|
+
"role": "leaf",
|
|
1275
|
+
"description": "Conversion funnel chart (auto Card shell). Bind node.actions.stageClick to onStageClick (fires with the clicked stage's data).",
|
|
1276
|
+
"props": {
|
|
1277
|
+
"data": {
|
|
1278
|
+
"kind": "shape",
|
|
1279
|
+
"shape": "funnelStages",
|
|
1280
|
+
"required": true,
|
|
1281
|
+
"description": "Funnel stages data"
|
|
1282
|
+
},
|
|
1283
|
+
"height": {
|
|
1284
|
+
"kind": "union",
|
|
1285
|
+
"types": [
|
|
1286
|
+
"number",
|
|
1287
|
+
"string"
|
|
1288
|
+
],
|
|
1289
|
+
"description": "Height of the chart"
|
|
1290
|
+
},
|
|
1291
|
+
"width": {
|
|
1292
|
+
"kind": "union",
|
|
1293
|
+
"types": [
|
|
1294
|
+
"number",
|
|
1295
|
+
"string"
|
|
1296
|
+
],
|
|
1297
|
+
"description": "Width of the chart"
|
|
1298
|
+
},
|
|
1299
|
+
"showPercentages": {
|
|
1300
|
+
"kind": "boolean",
|
|
1301
|
+
"description": "Whether to show percentages"
|
|
1302
|
+
},
|
|
1303
|
+
"showValues": {
|
|
1304
|
+
"kind": "boolean",
|
|
1305
|
+
"description": "Whether to show values"
|
|
1306
|
+
},
|
|
1307
|
+
"showLabels": {
|
|
1308
|
+
"kind": "boolean",
|
|
1309
|
+
"description": "Whether to show stage labels (name)"
|
|
1310
|
+
},
|
|
1311
|
+
"showDropoff": {
|
|
1312
|
+
"kind": "boolean",
|
|
1313
|
+
"description": "Whether to show dropoff percentages between stages"
|
|
1314
|
+
},
|
|
1315
|
+
"showConversionRate": {
|
|
1316
|
+
"kind": "boolean",
|
|
1317
|
+
"description": "Whether to show conversion rates between stages"
|
|
1318
|
+
},
|
|
1319
|
+
"showSummary": {
|
|
1320
|
+
"kind": "boolean",
|
|
1321
|
+
"description": "Whether to show summary statistics"
|
|
1322
|
+
},
|
|
1323
|
+
"colors": {
|
|
1324
|
+
"kind": "shape",
|
|
1325
|
+
"shape": "colorList",
|
|
1326
|
+
"description": "Custom colors"
|
|
1327
|
+
},
|
|
1328
|
+
"orientation": {
|
|
1329
|
+
"kind": "enum",
|
|
1330
|
+
"options": [
|
|
1331
|
+
"horizontal",
|
|
1332
|
+
"vertical"
|
|
1333
|
+
],
|
|
1334
|
+
"description": "Orientation of the funnel"
|
|
1335
|
+
},
|
|
1336
|
+
"curved": {
|
|
1337
|
+
"kind": "boolean",
|
|
1338
|
+
"description": "Whether to curve segment edges (horizontal only)"
|
|
1339
|
+
},
|
|
1340
|
+
"useGradient": {
|
|
1341
|
+
"kind": "boolean",
|
|
1342
|
+
"description": "Whether to use gradient fills"
|
|
1343
|
+
},
|
|
1344
|
+
"fillOpacity": {
|
|
1345
|
+
"kind": "number",
|
|
1346
|
+
"description": "Fill opacity when gradients are disabled or for gradient stops"
|
|
1347
|
+
},
|
|
1348
|
+
"labelPosition": {
|
|
1349
|
+
"kind": "enum",
|
|
1350
|
+
"options": [
|
|
1351
|
+
"top",
|
|
1352
|
+
"bottom",
|
|
1353
|
+
"inside",
|
|
1354
|
+
"tooltip-only"
|
|
1355
|
+
],
|
|
1356
|
+
"description": "Position of stage labels"
|
|
1357
|
+
},
|
|
1358
|
+
"summaryPosition": {
|
|
1359
|
+
"kind": "enum",
|
|
1360
|
+
"options": [
|
|
1361
|
+
"none",
|
|
1362
|
+
"top-right",
|
|
1363
|
+
"top-left",
|
|
1364
|
+
"bottom-right",
|
|
1365
|
+
"bottom-left"
|
|
1366
|
+
],
|
|
1367
|
+
"description": "Position of summary statistics box"
|
|
1368
|
+
},
|
|
1369
|
+
"animate": {
|
|
1370
|
+
"kind": "boolean",
|
|
1371
|
+
"description": "Whether to animate on mount"
|
|
1372
|
+
},
|
|
1373
|
+
"title": {
|
|
1374
|
+
"kind": "text",
|
|
1375
|
+
"description": "Card header title (the auto shell)"
|
|
1376
|
+
},
|
|
1377
|
+
"subtitle": {
|
|
1378
|
+
"kind": "text",
|
|
1379
|
+
"description": "Card header subtitle (the auto shell)"
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
"GanttChart": {
|
|
1384
|
+
"role": "leaf",
|
|
1385
|
+
"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.",
|
|
1386
|
+
"props": {
|
|
1387
|
+
"data": {
|
|
1388
|
+
"kind": "shape",
|
|
1389
|
+
"shape": "ganttTasks",
|
|
1390
|
+
"required": true
|
|
1391
|
+
},
|
|
1392
|
+
"groups": {
|
|
1393
|
+
"kind": "shape",
|
|
1394
|
+
"shape": "ganttGroups",
|
|
1395
|
+
"required": true
|
|
1396
|
+
},
|
|
1397
|
+
"todayMarker": {
|
|
1398
|
+
"kind": "boolean"
|
|
1399
|
+
},
|
|
1400
|
+
"scrollToToday": {
|
|
1401
|
+
"kind": "boolean"
|
|
1402
|
+
},
|
|
1403
|
+
"showTable": {
|
|
1404
|
+
"kind": "boolean"
|
|
1405
|
+
},
|
|
1406
|
+
"showDependencies": {
|
|
1407
|
+
"kind": "boolean"
|
|
1408
|
+
},
|
|
1409
|
+
"showTaskLabels": {
|
|
1410
|
+
"kind": "enum",
|
|
1411
|
+
"options": [
|
|
1412
|
+
"none",
|
|
1413
|
+
"inside",
|
|
1414
|
+
"auto",
|
|
1415
|
+
"outside"
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1418
|
+
"readonly": {
|
|
1419
|
+
"kind": "boolean"
|
|
1420
|
+
},
|
|
1421
|
+
"readonlyDates": {
|
|
1422
|
+
"kind": "boolean"
|
|
1423
|
+
},
|
|
1424
|
+
"readonlyProgress": {
|
|
1425
|
+
"kind": "boolean"
|
|
1426
|
+
},
|
|
1427
|
+
"zoom": {
|
|
1428
|
+
"kind": "enum",
|
|
1429
|
+
"options": [
|
|
1430
|
+
"day",
|
|
1431
|
+
"week",
|
|
1432
|
+
"quarter",
|
|
1433
|
+
"month",
|
|
1434
|
+
"year"
|
|
1435
|
+
]
|
|
1436
|
+
},
|
|
1437
|
+
"defaultZoom": {
|
|
1438
|
+
"kind": "enum",
|
|
1439
|
+
"options": [
|
|
1440
|
+
"day",
|
|
1441
|
+
"week",
|
|
1442
|
+
"quarter",
|
|
1443
|
+
"month",
|
|
1444
|
+
"year"
|
|
1445
|
+
]
|
|
1446
|
+
},
|
|
1447
|
+
"hideCompleted": {
|
|
1448
|
+
"kind": "boolean"
|
|
1449
|
+
},
|
|
1450
|
+
"defaultHideCompleted": {
|
|
1451
|
+
"kind": "boolean"
|
|
1452
|
+
},
|
|
1453
|
+
"tablePanelWidth": {
|
|
1454
|
+
"kind": "number"
|
|
1455
|
+
},
|
|
1456
|
+
"defaultTablePanelWidth": {
|
|
1457
|
+
"kind": "number"
|
|
1458
|
+
},
|
|
1459
|
+
"gridLines": {
|
|
1460
|
+
"kind": "enum",
|
|
1461
|
+
"options": [
|
|
1462
|
+
"none",
|
|
1463
|
+
"horizontal",
|
|
1464
|
+
"vertical",
|
|
1465
|
+
"both"
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
"rowHeight": {
|
|
1469
|
+
"kind": "number"
|
|
1470
|
+
},
|
|
1471
|
+
"startDate": {
|
|
1472
|
+
"kind": "string",
|
|
1473
|
+
"description": "Visible range start, ISO date format"
|
|
1474
|
+
},
|
|
1475
|
+
"endDate": {
|
|
1476
|
+
"kind": "string",
|
|
1477
|
+
"description": "Visible range end, ISO date format"
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
983
1481
|
"Grid": {
|
|
984
1482
|
"role": "container",
|
|
985
1483
|
"description": "Responsive CSS-grid container. Children are spec nodes.",
|
|
@@ -987,6 +1485,7 @@
|
|
|
987
1485
|
"as": {
|
|
988
1486
|
"kind": "enum",
|
|
989
1487
|
"options": [
|
|
1488
|
+
"form",
|
|
990
1489
|
"div",
|
|
991
1490
|
"ul",
|
|
992
1491
|
"ol",
|
|
@@ -995,7 +1494,6 @@
|
|
|
995
1494
|
"header",
|
|
996
1495
|
"footer",
|
|
997
1496
|
"aside",
|
|
998
|
-
"form",
|
|
999
1497
|
"fieldset"
|
|
1000
1498
|
],
|
|
1001
1499
|
"default": "div",
|
|
@@ -1055,102 +1553,136 @@
|
|
|
1055
1553
|
}
|
|
1056
1554
|
}
|
|
1057
1555
|
},
|
|
1058
|
-
"
|
|
1556
|
+
"Heatmap": {
|
|
1059
1557
|
"role": "leaf",
|
|
1060
|
-
"description": "
|
|
1558
|
+
"description": "Calendar/matrix heatmap (auto Card shell). Bind node.actions.cellClick to onCellClick (fires with the clicked cell's data).",
|
|
1061
1559
|
"props": {
|
|
1062
|
-
"
|
|
1063
|
-
"kind": "
|
|
1064
|
-
"
|
|
1065
|
-
"description": "
|
|
1066
|
-
},
|
|
1067
|
-
"label": {
|
|
1068
|
-
"kind": "text",
|
|
1069
|
-
"description": "Label describing the metric (e.g. \"Fund raised\", \"Total Revenue\")"
|
|
1070
|
-
},
|
|
1071
|
-
"trend": {
|
|
1072
|
-
"kind": "number",
|
|
1073
|
-
"description": "Percentage change value (e.g. 20, -5.3). Determines trend direction & color."
|
|
1074
|
-
},
|
|
1075
|
-
"trendLabel": {
|
|
1076
|
-
"kind": "text",
|
|
1077
|
-
"description": "Custom trend label override (default: auto-formats as \"+20%\" or \"-5.3%\")"
|
|
1078
|
-
},
|
|
1079
|
-
"progress": {
|
|
1080
|
-
"kind": "number",
|
|
1081
|
-
"description": "Progress value from 0-100. Controls how many bars are filled."
|
|
1082
|
-
},
|
|
1083
|
-
"barCount": {
|
|
1084
|
-
"kind": "number",
|
|
1085
|
-
"default": 24,
|
|
1086
|
-
"description": "Total number of bars in the visualization."
|
|
1087
|
-
},
|
|
1088
|
-
"subtitle": {
|
|
1089
|
-
"kind": "text",
|
|
1090
|
-
"description": "Subtitle text below the bars (e.g. \"Compared to last month\")"
|
|
1091
|
-
},
|
|
1092
|
-
"icon": {
|
|
1093
|
-
"kind": "icon",
|
|
1094
|
-
"description": "Icon to display before the label."
|
|
1095
|
-
},
|
|
1096
|
-
"size": {
|
|
1097
|
-
"kind": "enum",
|
|
1098
|
-
"options": [
|
|
1099
|
-
"sm",
|
|
1100
|
-
"md",
|
|
1101
|
-
"lg"
|
|
1102
|
-
],
|
|
1103
|
-
"default": "md",
|
|
1104
|
-
"description": "Size variant."
|
|
1560
|
+
"data": {
|
|
1561
|
+
"kind": "shape",
|
|
1562
|
+
"shape": "heatmapPoints",
|
|
1563
|
+
"description": "Heatmap data array - optional when using ChartContainer context"
|
|
1105
1564
|
},
|
|
1106
1565
|
"color": {
|
|
1107
1566
|
"kind": "enum",
|
|
1108
1567
|
"options": [
|
|
1109
|
-
"neutral",
|
|
1110
1568
|
"primary",
|
|
1111
1569
|
"success",
|
|
1112
1570
|
"warning",
|
|
1113
1571
|
"danger"
|
|
1114
1572
|
],
|
|
1115
|
-
"
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
}
|
|
1119
|
-
},
|
|
1120
|
-
"LineChart": {
|
|
1121
|
-
"role": "leaf",
|
|
1122
|
-
"description": "Line chart (auto Card shell + shared-height container).",
|
|
1123
|
-
"props": {
|
|
1124
|
-
"color": {
|
|
1573
|
+
"description": "Semantic color for heatmap cells (primary, success, warning, danger)"
|
|
1574
|
+
},
|
|
1575
|
+
"variant": {
|
|
1125
1576
|
"kind": "enum",
|
|
1126
1577
|
"options": [
|
|
1127
|
-
"
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
},
|
|
1133
|
-
"dotRadius": {
|
|
1134
|
-
"kind": "number"
|
|
1578
|
+
"default",
|
|
1579
|
+
"minimal",
|
|
1580
|
+
"bordered"
|
|
1581
|
+
],
|
|
1582
|
+
"description": "Chart variant"
|
|
1135
1583
|
},
|
|
1136
|
-
"
|
|
1137
|
-
"kind": "
|
|
1584
|
+
"height": {
|
|
1585
|
+
"kind": "union",
|
|
1586
|
+
"types": [
|
|
1587
|
+
"number",
|
|
1588
|
+
"string"
|
|
1589
|
+
]
|
|
1138
1590
|
},
|
|
1139
|
-
"
|
|
1140
|
-
"kind": "
|
|
1591
|
+
"width": {
|
|
1592
|
+
"kind": "union",
|
|
1593
|
+
"types": [
|
|
1594
|
+
"number",
|
|
1595
|
+
"string"
|
|
1596
|
+
]
|
|
1141
1597
|
},
|
|
1142
|
-
"
|
|
1598
|
+
"enableKeyboardNavigation": {
|
|
1143
1599
|
"kind": "boolean"
|
|
1144
1600
|
},
|
|
1145
|
-
"
|
|
1601
|
+
"title": {
|
|
1602
|
+
"kind": "text",
|
|
1603
|
+
"description": "Card header title (the auto shell)"
|
|
1604
|
+
},
|
|
1605
|
+
"subtitle": {
|
|
1606
|
+
"kind": "text",
|
|
1607
|
+
"description": "Card header subtitle (the auto shell)"
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"HeroCard": {
|
|
1612
|
+
"role": "container",
|
|
1613
|
+
"description": "Gradient hero shell with an ambient blurred backdrop image. Children are spec nodes rendered above the backdrop.",
|
|
1614
|
+
"props": {
|
|
1615
|
+
"image": {
|
|
1616
|
+
"kind": "string",
|
|
1617
|
+
"description": "Backdrop image src. Defaults to the bundled `/bg/3.webp`"
|
|
1618
|
+
},
|
|
1619
|
+
"imageBlur": {
|
|
1620
|
+
"kind": "number",
|
|
1621
|
+
"default": 24,
|
|
1622
|
+
"description": "Backdrop blur radius in px."
|
|
1623
|
+
},
|
|
1624
|
+
"imageScale": {
|
|
1625
|
+
"kind": "number",
|
|
1626
|
+
"default": 1.25,
|
|
1627
|
+
"description": "Backdrop scale factor — zooming the abstract blobs in/out reframes the texture."
|
|
1628
|
+
},
|
|
1629
|
+
"imageOpacity": {
|
|
1630
|
+
"kind": "number",
|
|
1631
|
+
"default": 0.5,
|
|
1632
|
+
"description": "Backdrop opacity, 0–1."
|
|
1633
|
+
},
|
|
1634
|
+
"imageBlend": {
|
|
1146
1635
|
"kind": "enum",
|
|
1147
1636
|
"options": [
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1150
|
-
|
|
1637
|
+
"overlay",
|
|
1638
|
+
"multiply",
|
|
1639
|
+
"soft-light",
|
|
1640
|
+
"hard-light",
|
|
1641
|
+
"screen",
|
|
1642
|
+
"luminosity",
|
|
1643
|
+
"normal"
|
|
1644
|
+
],
|
|
1645
|
+
"default": "multiply",
|
|
1646
|
+
"description": "Blend mode compositing the image over the gradient."
|
|
1151
1647
|
},
|
|
1152
|
-
"
|
|
1153
|
-
"kind": "
|
|
1648
|
+
"imagePosition": {
|
|
1649
|
+
"kind": "string",
|
|
1650
|
+
"default": "center",
|
|
1651
|
+
"description": "CSS `background-position` — e.g. `\"top right\"`, `\"30% 70%\"`."
|
|
1652
|
+
},
|
|
1653
|
+
"parallax": {
|
|
1654
|
+
"kind": "boolean",
|
|
1655
|
+
"default": false,
|
|
1656
|
+
"description": "On pointer hover, drift the backdrop image opposite the cursor (damped) for a"
|
|
1657
|
+
},
|
|
1658
|
+
"parallaxIntensity": {
|
|
1659
|
+
"kind": "number",
|
|
1660
|
+
"default": 32,
|
|
1661
|
+
"description": "Max backdrop travel in px (each direction) when `parallax` is on. Auto-clamped"
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
"HorizontalBarChart": {
|
|
1666
|
+
"role": "leaf",
|
|
1667
|
+
"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.",
|
|
1668
|
+
"props": {
|
|
1669
|
+
"categoryGap": {
|
|
1670
|
+
"kind": "number",
|
|
1671
|
+
"description": "Gap between category rows."
|
|
1672
|
+
},
|
|
1673
|
+
"categoryWidth": {
|
|
1674
|
+
"kind": "number",
|
|
1675
|
+
"default": 120,
|
|
1676
|
+
"description": "Width reserved for the category labels running down the left. Category names are"
|
|
1677
|
+
},
|
|
1678
|
+
"colors": {
|
|
1679
|
+
"kind": "shape",
|
|
1680
|
+
"shape": "colorList",
|
|
1681
|
+
"description": "Custom color palette for bar series, applied in order and cycled if there are more"
|
|
1682
|
+
},
|
|
1683
|
+
"showAnimation": {
|
|
1684
|
+
"kind": "boolean",
|
|
1685
|
+
"description": "Whether to play the staggered grow-from-left entrance on mount."
|
|
1154
1686
|
},
|
|
1155
1687
|
"data": {
|
|
1156
1688
|
"kind": "shape",
|
|
@@ -1203,6 +1735,15 @@
|
|
|
1203
1735
|
"maxValue": {
|
|
1204
1736
|
"kind": "number"
|
|
1205
1737
|
},
|
|
1738
|
+
"barRadius": {
|
|
1739
|
+
"kind": "number"
|
|
1740
|
+
},
|
|
1741
|
+
"gap": {
|
|
1742
|
+
"kind": "number"
|
|
1743
|
+
},
|
|
1744
|
+
"radius": {
|
|
1745
|
+
"kind": "number"
|
|
1746
|
+
},
|
|
1206
1747
|
"title": {
|
|
1207
1748
|
"kind": "text",
|
|
1208
1749
|
"description": "Card header title (the auto shell)"
|
|
@@ -1213,41 +1754,79 @@
|
|
|
1213
1754
|
}
|
|
1214
1755
|
}
|
|
1215
1756
|
},
|
|
1216
|
-
"
|
|
1757
|
+
"Icon": {
|
|
1217
1758
|
"role": "leaf",
|
|
1218
|
-
"description": "
|
|
1759
|
+
"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.",
|
|
1219
1760
|
"props": {
|
|
1220
|
-
"
|
|
1761
|
+
"icon": {
|
|
1762
|
+
"kind": "enum",
|
|
1763
|
+
"options": [
|
|
1764
|
+
"visa",
|
|
1765
|
+
"mastercard",
|
|
1766
|
+
"amex",
|
|
1767
|
+
"applepay",
|
|
1768
|
+
"paypal",
|
|
1769
|
+
"github",
|
|
1770
|
+
"x",
|
|
1771
|
+
"linkedin",
|
|
1772
|
+
"instagram",
|
|
1773
|
+
"facebook",
|
|
1774
|
+
"youtube",
|
|
1775
|
+
"discord",
|
|
1776
|
+
"dribbble",
|
|
1777
|
+
"tiktok",
|
|
1778
|
+
"reddit",
|
|
1779
|
+
"twitch",
|
|
1780
|
+
"slack",
|
|
1781
|
+
"medium",
|
|
1782
|
+
"pinterest",
|
|
1783
|
+
"snapchat",
|
|
1784
|
+
"whatsapp",
|
|
1785
|
+
"telegram",
|
|
1786
|
+
"google",
|
|
1787
|
+
"apple",
|
|
1788
|
+
"pdf",
|
|
1789
|
+
"doc",
|
|
1790
|
+
"docx",
|
|
1791
|
+
"txt",
|
|
1792
|
+
"xls",
|
|
1793
|
+
"xlsx",
|
|
1794
|
+
"csv",
|
|
1795
|
+
"ppt",
|
|
1796
|
+
"mp3",
|
|
1797
|
+
"wav",
|
|
1798
|
+
"mp4",
|
|
1799
|
+
"mov",
|
|
1800
|
+
"jpg",
|
|
1801
|
+
"png",
|
|
1802
|
+
"svg",
|
|
1803
|
+
"gif",
|
|
1804
|
+
"zip",
|
|
1805
|
+
"rar"
|
|
1806
|
+
],
|
|
1807
|
+
"required": true
|
|
1808
|
+
},
|
|
1809
|
+
"size": {
|
|
1221
1810
|
"kind": "union",
|
|
1222
1811
|
"types": [
|
|
1223
1812
|
"number",
|
|
1224
1813
|
"string"
|
|
1225
1814
|
],
|
|
1226
|
-
"
|
|
1227
|
-
"description": "The main value to display (number or formatted string)"
|
|
1228
|
-
},
|
|
1229
|
-
"label": {
|
|
1230
|
-
"kind": "text",
|
|
1231
|
-
"required": true,
|
|
1232
|
-
"description": "Label describing the metric"
|
|
1815
|
+
"description": "Named size preset or custom pixel value. Payment icons scale at 3:2 ratio; others are square."
|
|
1233
1816
|
},
|
|
1234
|
-
"
|
|
1235
|
-
"kind": "text",
|
|
1236
|
-
"description": "Optional subtitle or secondary text"
|
|
1237
|
-
},
|
|
1238
|
-
"trendValue": {
|
|
1239
|
-
"kind": "text",
|
|
1240
|
-
"description": "Trend value to display (e.g., \"+10.34%\", \"-5.2%\")"
|
|
1241
|
-
},
|
|
1242
|
-
"trendDirection": {
|
|
1817
|
+
"colorMode": {
|
|
1243
1818
|
"kind": "enum",
|
|
1244
1819
|
"options": [
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
]
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1820
|
+
"color",
|
|
1821
|
+
"mono"
|
|
1822
|
+
]
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
"Input": {
|
|
1827
|
+
"role": "leaf",
|
|
1828
|
+
"description": "Single-line text input. Bind node.actions.change to onValueChange (fires with the raw string value).",
|
|
1829
|
+
"props": {
|
|
1251
1830
|
"size": {
|
|
1252
1831
|
"kind": "enum",
|
|
1253
1832
|
"options": [
|
|
@@ -1255,63 +1834,169 @@
|
|
|
1255
1834
|
"md",
|
|
1256
1835
|
"lg"
|
|
1257
1836
|
],
|
|
1258
|
-
"
|
|
1259
|
-
"description": "Size variant"
|
|
1837
|
+
"description": "The size of the input"
|
|
1260
1838
|
},
|
|
1261
|
-
"
|
|
1839
|
+
"state": {
|
|
1262
1840
|
"kind": "enum",
|
|
1263
1841
|
"options": [
|
|
1264
|
-
"
|
|
1265
|
-
"
|
|
1842
|
+
"default",
|
|
1843
|
+
"disabled",
|
|
1844
|
+
"invalid"
|
|
1266
1845
|
],
|
|
1267
|
-
"
|
|
1268
|
-
"description": "Visual style variant"
|
|
1846
|
+
"description": "The state of the input (default, disabled, invalid)"
|
|
1269
1847
|
},
|
|
1270
|
-
"
|
|
1848
|
+
"type": {
|
|
1271
1849
|
"kind": "enum",
|
|
1272
1850
|
"options": [
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1851
|
+
"number",
|
|
1852
|
+
"hidden",
|
|
1853
|
+
"color",
|
|
1854
|
+
"week",
|
|
1855
|
+
"month",
|
|
1856
|
+
"text",
|
|
1857
|
+
"password",
|
|
1858
|
+
"email",
|
|
1859
|
+
"tel",
|
|
1860
|
+
"url",
|
|
1861
|
+
"search",
|
|
1862
|
+
"date",
|
|
1863
|
+
"time",
|
|
1864
|
+
"datetime-local",
|
|
1865
|
+
"file",
|
|
1866
|
+
"image",
|
|
1867
|
+
"range",
|
|
1868
|
+
"reset",
|
|
1869
|
+
"submit",
|
|
1870
|
+
"creditCard",
|
|
1871
|
+
"expiryDate",
|
|
1872
|
+
"phone",
|
|
1873
|
+
"ssn",
|
|
1874
|
+
"currency"
|
|
1278
1875
|
],
|
|
1279
|
-
"
|
|
1280
|
-
"description": "Semantic color for icon and accents"
|
|
1876
|
+
"description": "The type of input. In addition to standard HTML types,"
|
|
1281
1877
|
},
|
|
1282
|
-
"
|
|
1878
|
+
"label": {
|
|
1879
|
+
"kind": "text",
|
|
1880
|
+
"description": "Optional label for the input — pass a string for default styling, or a ReactNode for full control"
|
|
1881
|
+
},
|
|
1882
|
+
"helperText": {
|
|
1883
|
+
"kind": "text",
|
|
1884
|
+
"description": "Optional helper text below the input — pass a string for default styling, or a ReactNode for full control"
|
|
1885
|
+
},
|
|
1886
|
+
"errorMessage": {
|
|
1887
|
+
"kind": "text",
|
|
1888
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1889
|
+
},
|
|
1890
|
+
"iconStart": {
|
|
1283
1891
|
"kind": "icon",
|
|
1284
|
-
"description": "
|
|
1892
|
+
"description": "Icon to display before the input (small decorative)"
|
|
1893
|
+
},
|
|
1894
|
+
"iconEnd": {
|
|
1895
|
+
"kind": "icon",
|
|
1896
|
+
"description": "Icon to display after the input (small decorative)"
|
|
1897
|
+
},
|
|
1898
|
+
"required": {
|
|
1899
|
+
"kind": "boolean",
|
|
1900
|
+
"description": "Whether the input is required"
|
|
1901
|
+
},
|
|
1902
|
+
"placeholder": {
|
|
1903
|
+
"kind": "string",
|
|
1904
|
+
"description": "Placeholder text"
|
|
1905
|
+
},
|
|
1906
|
+
"value": {
|
|
1907
|
+
"kind": "string",
|
|
1908
|
+
"description": "Current value (controlled)"
|
|
1909
|
+
},
|
|
1910
|
+
"disabled": {
|
|
1911
|
+
"kind": "boolean",
|
|
1912
|
+
"description": "Whether the input is disabled"
|
|
1913
|
+
},
|
|
1914
|
+
"name": {
|
|
1915
|
+
"kind": "string",
|
|
1916
|
+
"description": "Form field name"
|
|
1917
|
+
},
|
|
1918
|
+
"min": {
|
|
1919
|
+
"kind": "number",
|
|
1920
|
+
"description": "Minimum value (type=\"number\")"
|
|
1921
|
+
},
|
|
1922
|
+
"max": {
|
|
1923
|
+
"kind": "number",
|
|
1924
|
+
"description": "Maximum value (type=\"number\")"
|
|
1925
|
+
},
|
|
1926
|
+
"step": {
|
|
1927
|
+
"kind": "number",
|
|
1928
|
+
"description": "Step value (type=\"number\")"
|
|
1285
1929
|
}
|
|
1286
1930
|
}
|
|
1287
1931
|
},
|
|
1288
|
-
"
|
|
1932
|
+
"InputCounter": {
|
|
1289
1933
|
"role": "leaf",
|
|
1290
|
-
"description": "
|
|
1934
|
+
"description": "Numeric stepper input. Bind node.actions.change to onChange (fires with the new number).",
|
|
1291
1935
|
"props": {
|
|
1292
|
-
"
|
|
1936
|
+
"value": {
|
|
1937
|
+
"kind": "number",
|
|
1938
|
+
"required": true,
|
|
1939
|
+
"description": "Current counter value (controlled)"
|
|
1940
|
+
},
|
|
1941
|
+
"state": {
|
|
1942
|
+
"kind": "enum",
|
|
1943
|
+
"options": [
|
|
1944
|
+
"default",
|
|
1945
|
+
"disabled",
|
|
1946
|
+
"invalid"
|
|
1947
|
+
],
|
|
1948
|
+
"description": "Validation/interaction state"
|
|
1949
|
+
},
|
|
1950
|
+
"label": {
|
|
1293
1951
|
"kind": "text",
|
|
1294
|
-
"description": "
|
|
1952
|
+
"description": "Field label rendered above the counter"
|
|
1295
1953
|
},
|
|
1296
|
-
"
|
|
1954
|
+
"helperText": {
|
|
1297
1955
|
"kind": "text",
|
|
1298
|
-
"description": "
|
|
1956
|
+
"description": "Helper text rendered below the counter"
|
|
1299
1957
|
},
|
|
1300
|
-
"
|
|
1958
|
+
"errorMessage": {
|
|
1959
|
+
"kind": "text",
|
|
1960
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1961
|
+
},
|
|
1962
|
+
"min": {
|
|
1963
|
+
"kind": "number",
|
|
1964
|
+
"description": "Minimum allowed value (optional)"
|
|
1965
|
+
},
|
|
1966
|
+
"max": {
|
|
1967
|
+
"kind": "number",
|
|
1968
|
+
"description": "Maximum allowed value (optional)"
|
|
1969
|
+
},
|
|
1970
|
+
"step": {
|
|
1971
|
+
"kind": "number",
|
|
1972
|
+
"description": "Increment/decrement step size (default: 1)"
|
|
1973
|
+
},
|
|
1974
|
+
"disabled": {
|
|
1301
1975
|
"kind": "boolean",
|
|
1302
|
-
"
|
|
1303
|
-
|
|
1976
|
+
"description": "Whether the counter is disabled"
|
|
1977
|
+
},
|
|
1978
|
+
"decimalPlaces": {
|
|
1979
|
+
"kind": "number",
|
|
1980
|
+
"description": "Number of decimal places to display (auto-detected from step if not specified)"
|
|
1304
1981
|
}
|
|
1305
1982
|
}
|
|
1306
1983
|
},
|
|
1307
|
-
"
|
|
1984
|
+
"InputDate": {
|
|
1308
1985
|
"role": "leaf",
|
|
1309
|
-
"description": "
|
|
1986
|
+
"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.",
|
|
1310
1987
|
"props": {
|
|
1311
|
-
"
|
|
1312
|
-
"kind": "
|
|
1313
|
-
"
|
|
1314
|
-
|
|
1988
|
+
"value": {
|
|
1989
|
+
"kind": "string",
|
|
1990
|
+
"description": "Current date value (formatted string like \"12/25/2024\" or ISO string)"
|
|
1991
|
+
},
|
|
1992
|
+
"dateFormat": {
|
|
1993
|
+
"kind": "enum",
|
|
1994
|
+
"options": [
|
|
1995
|
+
"MM/DD/YYYY",
|
|
1996
|
+
"DD/MM/YYYY",
|
|
1997
|
+
"YYYY/MM/DD"
|
|
1998
|
+
],
|
|
1999
|
+
"description": "Date format for display and parsing (default: auto-detected from locale)"
|
|
1315
2000
|
},
|
|
1316
2001
|
"size": {
|
|
1317
2002
|
"kind": "enum",
|
|
@@ -1320,81 +2005,255 @@
|
|
|
1320
2005
|
"md",
|
|
1321
2006
|
"lg"
|
|
1322
2007
|
],
|
|
1323
|
-
"description": "
|
|
2008
|
+
"description": "The size of the input"
|
|
2009
|
+
},
|
|
2010
|
+
"required": {
|
|
2011
|
+
"kind": "boolean",
|
|
2012
|
+
"description": "Whether the input is required"
|
|
2013
|
+
},
|
|
2014
|
+
"state": {
|
|
2015
|
+
"kind": "enum",
|
|
2016
|
+
"options": [
|
|
2017
|
+
"default",
|
|
2018
|
+
"disabled",
|
|
2019
|
+
"invalid"
|
|
2020
|
+
],
|
|
2021
|
+
"description": "The state of the input (default, disabled, invalid)"
|
|
2022
|
+
},
|
|
2023
|
+
"label": {
|
|
2024
|
+
"kind": "text",
|
|
2025
|
+
"description": "Optional label for the input — pass a string for default styling, or a ReactNode for full control"
|
|
2026
|
+
},
|
|
2027
|
+
"helperText": {
|
|
2028
|
+
"kind": "text",
|
|
2029
|
+
"description": "Optional helper text below the input — pass a string for default styling, or a ReactNode for full control"
|
|
2030
|
+
},
|
|
2031
|
+
"errorMessage": {
|
|
2032
|
+
"kind": "text",
|
|
2033
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
1324
2034
|
},
|
|
1325
2035
|
"iconStart": {
|
|
1326
2036
|
"kind": "icon",
|
|
1327
|
-
"description": "Icon
|
|
2037
|
+
"description": "Icon to display before the input (small decorative)"
|
|
1328
2038
|
},
|
|
1329
|
-
"
|
|
1330
|
-
"kind": "
|
|
1331
|
-
"description": "
|
|
2039
|
+
"iconEnd": {
|
|
2040
|
+
"kind": "icon",
|
|
2041
|
+
"description": "Icon to display after the input (small decorative)"
|
|
1332
2042
|
},
|
|
1333
|
-
"
|
|
2043
|
+
"placeholder": {
|
|
2044
|
+
"kind": "string",
|
|
2045
|
+
"description": "Placeholder text"
|
|
2046
|
+
},
|
|
2047
|
+
"disabled": {
|
|
1334
2048
|
"kind": "boolean",
|
|
1335
|
-
"
|
|
1336
|
-
|
|
2049
|
+
"description": "Whether the input is disabled"
|
|
2050
|
+
},
|
|
2051
|
+
"minDate": {
|
|
2052
|
+
"kind": "string",
|
|
2053
|
+
"description": "Minimum selectable date, ISO format (e.g. \"2024-01-01\")"
|
|
2054
|
+
},
|
|
2055
|
+
"maxDate": {
|
|
2056
|
+
"kind": "string",
|
|
2057
|
+
"description": "Maximum selectable date, ISO format"
|
|
1337
2058
|
}
|
|
1338
2059
|
}
|
|
1339
2060
|
},
|
|
1340
|
-
"
|
|
2061
|
+
"InputOTP": {
|
|
1341
2062
|
"role": "leaf",
|
|
1342
|
-
"description": "
|
|
2063
|
+
"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).",
|
|
1343
2064
|
"props": {
|
|
1344
|
-
"
|
|
2065
|
+
"length": {
|
|
1345
2066
|
"kind": "number",
|
|
1346
|
-
"
|
|
2067
|
+
"default": 6,
|
|
2068
|
+
"description": "Number of OTP input fields"
|
|
1347
2069
|
},
|
|
1348
2070
|
"size": {
|
|
1349
2071
|
"kind": "enum",
|
|
1350
2072
|
"options": [
|
|
1351
2073
|
"sm",
|
|
1352
2074
|
"md",
|
|
1353
|
-
"lg"
|
|
2075
|
+
"lg",
|
|
2076
|
+
"xl"
|
|
1354
2077
|
],
|
|
1355
|
-
"default": "
|
|
1356
|
-
"description": "
|
|
2078
|
+
"default": "lg",
|
|
2079
|
+
"description": "Size of the OTP slots."
|
|
1357
2080
|
},
|
|
1358
|
-
"
|
|
1359
|
-
"kind": "
|
|
1360
|
-
"
|
|
1361
|
-
"description": "Whether to show the percentage label"
|
|
2081
|
+
"value": {
|
|
2082
|
+
"kind": "string",
|
|
2083
|
+
"description": "Current OTP value (controlled)"
|
|
1362
2084
|
},
|
|
1363
|
-
"
|
|
2085
|
+
"defaultValue": {
|
|
2086
|
+
"kind": "string",
|
|
2087
|
+
"description": "Default OTP value (uncontrolled)"
|
|
2088
|
+
},
|
|
2089
|
+
"charset": {
|
|
1364
2090
|
"kind": "enum",
|
|
1365
2091
|
"options": [
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"right",
|
|
1369
|
-
"inside"
|
|
2092
|
+
"numeric",
|
|
2093
|
+
"alphanumeric"
|
|
1370
2094
|
],
|
|
1371
|
-
"default": "
|
|
1372
|
-
"description": "
|
|
2095
|
+
"default": "alphanumeric",
|
|
2096
|
+
"description": "Which characters the code accepts. Drives the sanitizer (typed and pasted"
|
|
1373
2097
|
},
|
|
1374
|
-
"
|
|
2098
|
+
"state": {
|
|
2099
|
+
"kind": "enum",
|
|
2100
|
+
"options": [
|
|
2101
|
+
"default",
|
|
2102
|
+
"disabled",
|
|
2103
|
+
"invalid"
|
|
2104
|
+
],
|
|
2105
|
+
"default": "default",
|
|
2106
|
+
"description": "Visual and functional state of the OTP input group."
|
|
2107
|
+
},
|
|
2108
|
+
"label": {
|
|
2109
|
+
"kind": "text",
|
|
2110
|
+
"description": "Label for the OTP input group"
|
|
2111
|
+
},
|
|
2112
|
+
"helperText": {
|
|
2113
|
+
"kind": "text",
|
|
2114
|
+
"description": "Helper text below the inputs"
|
|
2115
|
+
},
|
|
2116
|
+
"errorMessage": {
|
|
2117
|
+
"kind": "text",
|
|
2118
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
2119
|
+
},
|
|
2120
|
+
"autoFocus": {
|
|
1375
2121
|
"kind": "boolean",
|
|
1376
2122
|
"default": true,
|
|
1377
|
-
"description": "
|
|
2123
|
+
"description": "Auto-focus the first input on mount"
|
|
1378
2124
|
}
|
|
1379
2125
|
}
|
|
1380
2126
|
},
|
|
1381
|
-
"
|
|
2127
|
+
"InputTag": {
|
|
1382
2128
|
"role": "leaf",
|
|
1383
|
-
"description": "
|
|
2129
|
+
"description": "Free-form tag/chip input. Bind node.actions.change to onChange (fires with the full array of tag strings).",
|
|
1384
2130
|
"props": {
|
|
1385
2131
|
"value": {
|
|
2132
|
+
"kind": "shape",
|
|
2133
|
+
"shape": "stringList",
|
|
2134
|
+
"description": "Controlled value - array of tag strings"
|
|
2135
|
+
},
|
|
2136
|
+
"maxTags": {
|
|
1386
2137
|
"kind": "number",
|
|
1387
|
-
"description": "
|
|
2138
|
+
"description": "Maximum number of tags allowed"
|
|
1388
2139
|
},
|
|
1389
|
-
"
|
|
2140
|
+
"allowDuplicates": {
|
|
2141
|
+
"kind": "boolean",
|
|
2142
|
+
"description": "Whether to allow duplicate tags (default: false)"
|
|
2143
|
+
},
|
|
2144
|
+
"size": {
|
|
2145
|
+
"kind": "enum",
|
|
2146
|
+
"options": [
|
|
2147
|
+
"sm",
|
|
2148
|
+
"md"
|
|
2149
|
+
],
|
|
2150
|
+
"description": "The size of the input and tags (sm or md only)"
|
|
2151
|
+
},
|
|
2152
|
+
"state": {
|
|
2153
|
+
"kind": "enum",
|
|
2154
|
+
"options": [
|
|
2155
|
+
"default",
|
|
2156
|
+
"disabled",
|
|
2157
|
+
"invalid"
|
|
2158
|
+
],
|
|
2159
|
+
"description": "The state of the input"
|
|
2160
|
+
},
|
|
2161
|
+
"label": {
|
|
2162
|
+
"kind": "text",
|
|
2163
|
+
"description": "Label for the input"
|
|
2164
|
+
},
|
|
2165
|
+
"helperText": {
|
|
2166
|
+
"kind": "text",
|
|
2167
|
+
"description": "Helper text displayed below the tags"
|
|
2168
|
+
},
|
|
2169
|
+
"placeholder": {
|
|
2170
|
+
"kind": "string",
|
|
2171
|
+
"description": "Placeholder text for the input"
|
|
2172
|
+
},
|
|
2173
|
+
"disabled": {
|
|
2174
|
+
"kind": "boolean",
|
|
2175
|
+
"description": "Whether the input is disabled"
|
|
2176
|
+
},
|
|
2177
|
+
"suggestions": {
|
|
2178
|
+
"kind": "shape",
|
|
2179
|
+
"shape": "optionItems",
|
|
2180
|
+
"description": "Array of suggestions to show in dropdown. When provided, enables dropdown mode"
|
|
2181
|
+
},
|
|
2182
|
+
"creatable": {
|
|
2183
|
+
"kind": "boolean",
|
|
2184
|
+
"description": "Allow free-form tags not in suggestions (default: true)"
|
|
2185
|
+
},
|
|
2186
|
+
"openOnFocus": {
|
|
2187
|
+
"kind": "boolean",
|
|
2188
|
+
"description": "Open dropdown on focus when suggestions are provided (default: true)"
|
|
2189
|
+
},
|
|
2190
|
+
"emptyMessage": {
|
|
2191
|
+
"kind": "string",
|
|
2192
|
+
"description": "Message shown when no suggestions match (default: \"No suggestions\")"
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
"Kbd": {
|
|
2197
|
+
"role": "leaf",
|
|
2198
|
+
"description": "Keyboard key/shortcut display. Use either `keys` (named keys) or `children` (custom text), not both.",
|
|
2199
|
+
"props": {
|
|
2200
|
+
"keys": {
|
|
2201
|
+
"kind": "shape",
|
|
2202
|
+
"shape": "kbdKeys",
|
|
2203
|
+
"description": "Array of keyboard keys to display"
|
|
2204
|
+
},
|
|
2205
|
+
"children": {
|
|
2206
|
+
"kind": "text",
|
|
2207
|
+
"description": "Custom content to display instead of using keys prop"
|
|
2208
|
+
},
|
|
2209
|
+
"size": {
|
|
2210
|
+
"kind": "enum",
|
|
2211
|
+
"options": [
|
|
2212
|
+
"sm",
|
|
2213
|
+
"md"
|
|
2214
|
+
],
|
|
2215
|
+
"default": "md",
|
|
2216
|
+
"description": "Size variant"
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
"KPI": {
|
|
2221
|
+
"role": "leaf",
|
|
2222
|
+
"description": "KPI stat with trend and progress bar (auto Card shell).",
|
|
2223
|
+
"props": {
|
|
2224
|
+
"value": {
|
|
2225
|
+
"kind": "text",
|
|
2226
|
+
"required": true,
|
|
2227
|
+
"description": "The main metric value to display (e.g. \"$25.5M\", \"1,234\", \"89%\")"
|
|
2228
|
+
},
|
|
2229
|
+
"label": {
|
|
2230
|
+
"kind": "text",
|
|
2231
|
+
"description": "Label describing the metric (e.g. \"Fund raised\", \"Total Revenue\")"
|
|
2232
|
+
},
|
|
2233
|
+
"trend": {
|
|
1390
2234
|
"kind": "number",
|
|
1391
|
-
"
|
|
1392
|
-
"description": "Default rating value for uncontrolled mode (0 to max)"
|
|
2235
|
+
"description": "Percentage change value (e.g. 20, -5.3). Determines trend direction & color."
|
|
1393
2236
|
},
|
|
1394
|
-
"
|
|
2237
|
+
"trendLabel": {
|
|
2238
|
+
"kind": "text",
|
|
2239
|
+
"description": "Custom trend label override (default: auto-formats as \"+20%\" or \"-5.3%\")"
|
|
2240
|
+
},
|
|
2241
|
+
"progress": {
|
|
1395
2242
|
"kind": "number",
|
|
1396
|
-
"
|
|
1397
|
-
|
|
2243
|
+
"description": "Progress value from 0-100. Controls how many bars are filled."
|
|
2244
|
+
},
|
|
2245
|
+
"barCount": {
|
|
2246
|
+
"kind": "number",
|
|
2247
|
+
"default": 24,
|
|
2248
|
+
"description": "Total number of bars in the visualization."
|
|
2249
|
+
},
|
|
2250
|
+
"subtitle": {
|
|
2251
|
+
"kind": "text",
|
|
2252
|
+
"description": "Subtitle text below the bars (e.g. \"Compared to last month\")"
|
|
2253
|
+
},
|
|
2254
|
+
"icon": {
|
|
2255
|
+
"kind": "icon",
|
|
2256
|
+
"description": "Icon to display before the label."
|
|
1398
2257
|
},
|
|
1399
2258
|
"size": {
|
|
1400
2259
|
"kind": "enum",
|
|
@@ -1404,77 +2263,1022 @@
|
|
|
1404
2263
|
"lg"
|
|
1405
2264
|
],
|
|
1406
2265
|
"default": "md",
|
|
1407
|
-
"description": "
|
|
2266
|
+
"description": "Size variant."
|
|
1408
2267
|
},
|
|
1409
2268
|
"color": {
|
|
1410
2269
|
"kind": "enum",
|
|
1411
2270
|
"options": [
|
|
2271
|
+
"mono",
|
|
1412
2272
|
"primary",
|
|
1413
2273
|
"success",
|
|
1414
2274
|
"warning",
|
|
1415
2275
|
"danger"
|
|
1416
2276
|
],
|
|
1417
|
-
"default": "
|
|
1418
|
-
"description": "
|
|
2277
|
+
"default": "primary",
|
|
2278
|
+
"description": "Color for the filled bars and positive trend."
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
"LineChart": {
|
|
2283
|
+
"role": "leaf",
|
|
2284
|
+
"description": "Line chart (auto Card shell + shared-height container).",
|
|
2285
|
+
"props": {
|
|
2286
|
+
"color": {
|
|
2287
|
+
"kind": "enum",
|
|
2288
|
+
"options": [
|
|
2289
|
+
"primary",
|
|
2290
|
+
"success",
|
|
2291
|
+
"warning",
|
|
2292
|
+
"danger"
|
|
2293
|
+
]
|
|
2294
|
+
},
|
|
2295
|
+
"dotRadius": {
|
|
2296
|
+
"kind": "number"
|
|
2297
|
+
},
|
|
2298
|
+
"radius": {
|
|
2299
|
+
"kind": "number"
|
|
2300
|
+
},
|
|
2301
|
+
"strokeWidth": {
|
|
2302
|
+
"kind": "number"
|
|
2303
|
+
},
|
|
2304
|
+
"curved": {
|
|
2305
|
+
"kind": "boolean"
|
|
2306
|
+
},
|
|
2307
|
+
"curveType": {
|
|
2308
|
+
"kind": "enum",
|
|
2309
|
+
"options": [
|
|
2310
|
+
"linear",
|
|
2311
|
+
"monotone"
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2314
|
+
"showDots": {
|
|
2315
|
+
"kind": "boolean"
|
|
2316
|
+
},
|
|
2317
|
+
"data": {
|
|
2318
|
+
"kind": "shape",
|
|
2319
|
+
"shape": "chartData",
|
|
2320
|
+
"required": true
|
|
2321
|
+
},
|
|
2322
|
+
"config": {
|
|
2323
|
+
"kind": "shape",
|
|
2324
|
+
"shape": "chartConfig",
|
|
2325
|
+
"required": true
|
|
2326
|
+
},
|
|
2327
|
+
"width": {
|
|
2328
|
+
"kind": "union",
|
|
2329
|
+
"types": [
|
|
2330
|
+
"number",
|
|
2331
|
+
"string"
|
|
2332
|
+
]
|
|
2333
|
+
},
|
|
2334
|
+
"height": {
|
|
2335
|
+
"kind": "union",
|
|
2336
|
+
"types": [
|
|
2337
|
+
"number",
|
|
2338
|
+
"string"
|
|
2339
|
+
]
|
|
2340
|
+
},
|
|
2341
|
+
"enableKeyboardNavigation": {
|
|
2342
|
+
"kind": "boolean"
|
|
2343
|
+
},
|
|
2344
|
+
"showGrid": {
|
|
2345
|
+
"kind": "boolean"
|
|
2346
|
+
},
|
|
2347
|
+
"showXAxis": {
|
|
2348
|
+
"kind": "boolean"
|
|
2349
|
+
},
|
|
2350
|
+
"showYAxis": {
|
|
2351
|
+
"kind": "boolean"
|
|
2352
|
+
},
|
|
2353
|
+
"legend": {
|
|
2354
|
+
"kind": "enum",
|
|
2355
|
+
"options": [
|
|
2356
|
+
"top",
|
|
2357
|
+
"bottom",
|
|
2358
|
+
"none"
|
|
2359
|
+
],
|
|
2360
|
+
"description": "Always-visible legend position, rendered from `config`'s labels/colors."
|
|
2361
|
+
},
|
|
2362
|
+
"minValue": {
|
|
2363
|
+
"kind": "number"
|
|
2364
|
+
},
|
|
2365
|
+
"maxValue": {
|
|
2366
|
+
"kind": "number"
|
|
2367
|
+
},
|
|
2368
|
+
"title": {
|
|
2369
|
+
"kind": "text",
|
|
2370
|
+
"description": "Card header title (the auto shell)"
|
|
2371
|
+
},
|
|
2372
|
+
"subtitle": {
|
|
2373
|
+
"kind": "text",
|
|
2374
|
+
"description": "Card header subtitle (the auto shell)"
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
},
|
|
2378
|
+
"Link": {
|
|
2379
|
+
"role": "leaf",
|
|
2380
|
+
"description": "Hyperlink (pass href) or low-emphasis link-styled button (omit href, pair with node.actions.click).",
|
|
2381
|
+
"props": {
|
|
2382
|
+
"size": {
|
|
2383
|
+
"kind": "enum",
|
|
2384
|
+
"options": [
|
|
2385
|
+
"sm",
|
|
2386
|
+
"md",
|
|
2387
|
+
"inherit"
|
|
2388
|
+
],
|
|
2389
|
+
"default": "inherit",
|
|
2390
|
+
"description": "The size of the link."
|
|
2391
|
+
},
|
|
2392
|
+
"color": {
|
|
2393
|
+
"kind": "enum",
|
|
2394
|
+
"options": [
|
|
2395
|
+
"mono",
|
|
2396
|
+
"primary",
|
|
2397
|
+
"success",
|
|
2398
|
+
"warning",
|
|
2399
|
+
"danger"
|
|
2400
|
+
],
|
|
2401
|
+
"default": "primary",
|
|
2402
|
+
"description": "Semantic color."
|
|
2403
|
+
},
|
|
2404
|
+
"disabled": {
|
|
2405
|
+
"kind": "boolean",
|
|
2406
|
+
"description": "Whether the link is disabled."
|
|
2407
|
+
},
|
|
2408
|
+
"children": {
|
|
2409
|
+
"kind": "text",
|
|
2410
|
+
"description": "Link contents"
|
|
2411
|
+
},
|
|
2412
|
+
"href": {
|
|
2413
|
+
"kind": "string",
|
|
2414
|
+
"description": "The URL the hyperlink points to. When set, Link renders an `<a>`."
|
|
2415
|
+
},
|
|
2416
|
+
"target": {
|
|
2417
|
+
"kind": "string",
|
|
2418
|
+
"description": "Anchor target (only meaningful with `href`)."
|
|
2419
|
+
},
|
|
2420
|
+
"rel": {
|
|
2421
|
+
"kind": "string",
|
|
2422
|
+
"description": "Anchor rel (only meaningful with `href`)."
|
|
2423
|
+
},
|
|
2424
|
+
"type": {
|
|
2425
|
+
"kind": "enum",
|
|
2426
|
+
"options": [
|
|
2427
|
+
"reset",
|
|
2428
|
+
"submit",
|
|
2429
|
+
"button"
|
|
2430
|
+
],
|
|
2431
|
+
"default": "button",
|
|
2432
|
+
"description": "Button type when rendered as a `<button>` (no `href`)."
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
"Masonry": {
|
|
2437
|
+
"role": "container",
|
|
2438
|
+
"description": "Masonry/waterfall grid layout (responsive per-breakpoint column config not supported in generative specs — use a static column count). Children are spec nodes.",
|
|
2439
|
+
"props": {
|
|
2440
|
+
"gap": {
|
|
2441
|
+
"kind": "number",
|
|
2442
|
+
"description": "Gap between items in pixels"
|
|
2443
|
+
},
|
|
2444
|
+
"minColumns": {
|
|
2445
|
+
"kind": "number",
|
|
2446
|
+
"description": "Minimum columns count"
|
|
2447
|
+
},
|
|
2448
|
+
"maxColumns": {
|
|
2449
|
+
"kind": "number",
|
|
2450
|
+
"description": "Maximum columns count"
|
|
2451
|
+
},
|
|
2452
|
+
"sequential": {
|
|
2453
|
+
"kind": "boolean",
|
|
2454
|
+
"description": "Enable sequential placement (items placed in order vs optimal placement)"
|
|
2455
|
+
},
|
|
2456
|
+
"loading": {
|
|
2457
|
+
"kind": "boolean",
|
|
2458
|
+
"description": "Loading state"
|
|
2459
|
+
},
|
|
2460
|
+
"columns": {
|
|
2461
|
+
"kind": "number",
|
|
2462
|
+
"description": "Static column count"
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
"MenuItem": {
|
|
2467
|
+
"role": "leaf",
|
|
2468
|
+
"description": "Single menu/list row. Bind node.actions.activate to onActivate.",
|
|
2469
|
+
"props": {
|
|
2470
|
+
"children": {
|
|
2471
|
+
"kind": "text",
|
|
2472
|
+
"required": true,
|
|
2473
|
+
"description": "Main label content"
|
|
2474
|
+
},
|
|
2475
|
+
"startContent": {
|
|
2476
|
+
"kind": "icon",
|
|
2477
|
+
"description": "Icon or element at the start (left side)"
|
|
2478
|
+
},
|
|
2479
|
+
"endContent": {
|
|
2480
|
+
"kind": "icon",
|
|
2481
|
+
"description": "Icon or element at the end (right side)"
|
|
2482
|
+
},
|
|
2483
|
+
"subtitle": {
|
|
2484
|
+
"kind": "text",
|
|
2485
|
+
"description": "Secondary text below the label"
|
|
2486
|
+
},
|
|
2487
|
+
"shortcut": {
|
|
2488
|
+
"kind": "text",
|
|
2489
|
+
"description": "Keyboard shortcut display"
|
|
2490
|
+
},
|
|
2491
|
+
"disabled": {
|
|
2492
|
+
"kind": "boolean",
|
|
2493
|
+
"description": "Whether the item is disabled"
|
|
2494
|
+
},
|
|
2495
|
+
"isDanger": {
|
|
2496
|
+
"kind": "boolean",
|
|
2497
|
+
"description": "Whether the item has danger/destructive styling"
|
|
2498
|
+
},
|
|
2499
|
+
"selected": {
|
|
2500
|
+
"kind": "boolean",
|
|
2501
|
+
"description": "Whether the item is in a selected state (drives selected styling)"
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
"Message": {
|
|
2506
|
+
"role": "leaf",
|
|
2507
|
+
"description": "Chat message bubble (streaming/attachments/reactions/reply-quote not supported in generative specs — those are live-interaction features, not static display).",
|
|
2508
|
+
"props": {
|
|
2509
|
+
"variant": {
|
|
2510
|
+
"kind": "enum",
|
|
2511
|
+
"options": [
|
|
2512
|
+
"sender",
|
|
2513
|
+
"receiver",
|
|
2514
|
+
"system"
|
|
2515
|
+
],
|
|
2516
|
+
"default": "receiver",
|
|
2517
|
+
"description": "The variant of the message (Chat UI semantic naming)"
|
|
2518
|
+
},
|
|
2519
|
+
"content": {
|
|
2520
|
+
"kind": "text",
|
|
2521
|
+
"description": "The message content (supports rich content, markdown, etc.)"
|
|
2522
|
+
},
|
|
2523
|
+
"showTimestamp": {
|
|
2524
|
+
"kind": "boolean",
|
|
2525
|
+
"default": true,
|
|
2526
|
+
"description": "Whether to show the timestamp"
|
|
2527
|
+
},
|
|
2528
|
+
"status": {
|
|
2529
|
+
"kind": "enum",
|
|
2530
|
+
"options": [
|
|
2531
|
+
"sending",
|
|
2532
|
+
"sent",
|
|
2533
|
+
"delivered",
|
|
2534
|
+
"read",
|
|
2535
|
+
"failed"
|
|
2536
|
+
],
|
|
2537
|
+
"description": "Delivery status indicator (sending/sent/delivered/read/failed)"
|
|
2538
|
+
},
|
|
2539
|
+
"isGrouped": {
|
|
2540
|
+
"kind": "boolean",
|
|
2541
|
+
"description": "Whether this is a consecutive message from the same sender (hides avatar & name)"
|
|
2542
|
+
},
|
|
2543
|
+
"timestamp": {
|
|
2544
|
+
"kind": "string",
|
|
2545
|
+
"description": "Message timestamp, ISO format"
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
"Metric": {
|
|
2550
|
+
"role": "leaf",
|
|
2551
|
+
"description": "Single business metric with optional icon and trend.",
|
|
2552
|
+
"props": {
|
|
2553
|
+
"value": {
|
|
2554
|
+
"kind": "union",
|
|
2555
|
+
"types": [
|
|
2556
|
+
"number",
|
|
2557
|
+
"string"
|
|
2558
|
+
],
|
|
2559
|
+
"required": true,
|
|
2560
|
+
"description": "The main value to display (number or formatted string)"
|
|
2561
|
+
},
|
|
2562
|
+
"label": {
|
|
2563
|
+
"kind": "text",
|
|
2564
|
+
"description": "Label describing the metric"
|
|
2565
|
+
},
|
|
2566
|
+
"subtitle": {
|
|
2567
|
+
"kind": "text",
|
|
2568
|
+
"description": "Optional subtitle or secondary text"
|
|
2569
|
+
},
|
|
2570
|
+
"trendValue": {
|
|
2571
|
+
"kind": "text",
|
|
2572
|
+
"description": "Trend value to display (e.g., \"+10.34%\", \"-5.2%\")"
|
|
2573
|
+
},
|
|
2574
|
+
"trendDirection": {
|
|
2575
|
+
"kind": "enum",
|
|
2576
|
+
"options": [
|
|
2577
|
+
"up",
|
|
2578
|
+
"down"
|
|
2579
|
+
],
|
|
2580
|
+
"default": "up",
|
|
2581
|
+
"description": "Trend direction - determines icon and color"
|
|
2582
|
+
},
|
|
2583
|
+
"size": {
|
|
2584
|
+
"kind": "enum",
|
|
2585
|
+
"options": [
|
|
2586
|
+
"sm",
|
|
2587
|
+
"md",
|
|
2588
|
+
"lg"
|
|
2589
|
+
],
|
|
2590
|
+
"default": "md",
|
|
2591
|
+
"description": "Size variant"
|
|
2592
|
+
},
|
|
2593
|
+
"variant": {
|
|
2594
|
+
"kind": "enum",
|
|
2595
|
+
"options": [
|
|
2596
|
+
"filled",
|
|
2597
|
+
"ghost"
|
|
2598
|
+
],
|
|
2599
|
+
"default": "filled",
|
|
2600
|
+
"description": "Visual style variant"
|
|
2601
|
+
},
|
|
2602
|
+
"color": {
|
|
2603
|
+
"kind": "enum",
|
|
2604
|
+
"options": [
|
|
2605
|
+
"mono",
|
|
2606
|
+
"primary",
|
|
2607
|
+
"success",
|
|
2608
|
+
"warning",
|
|
2609
|
+
"danger"
|
|
2610
|
+
],
|
|
2611
|
+
"default": "primary",
|
|
2612
|
+
"description": "Semantic color for icon and accents"
|
|
2613
|
+
},
|
|
2614
|
+
"icon": {
|
|
2615
|
+
"kind": "icon",
|
|
2616
|
+
"description": "Optional icon to display"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
"PageHeading": {
|
|
2621
|
+
"role": "leaf",
|
|
2622
|
+
"description": "Page header with title/subtitle (managed slot form — header only).",
|
|
2623
|
+
"props": {
|
|
2624
|
+
"title": {
|
|
2625
|
+
"kind": "text",
|
|
2626
|
+
"description": "Heading title (serializable slot). Setting any slot-prop"
|
|
2627
|
+
},
|
|
2628
|
+
"subtitle": {
|
|
2629
|
+
"kind": "text",
|
|
2630
|
+
"description": "Secondary line under the title (serializable slot)."
|
|
2631
|
+
},
|
|
2632
|
+
"separator": {
|
|
2633
|
+
"kind": "boolean",
|
|
2634
|
+
"default": true,
|
|
2635
|
+
"description": "Show bottom separator."
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
"Pagination": {
|
|
2640
|
+
"role": "leaf",
|
|
2641
|
+
"description": "Page navigator. Bind node.actions.pageChange to onPageChange (fires with the new page number).",
|
|
2642
|
+
"props": {
|
|
2643
|
+
"currentPage": {
|
|
2644
|
+
"kind": "number",
|
|
2645
|
+
"required": true,
|
|
2646
|
+
"description": "The current active page number (1-based)"
|
|
2647
|
+
},
|
|
2648
|
+
"totalPages": {
|
|
2649
|
+
"kind": "number",
|
|
2650
|
+
"required": true,
|
|
2651
|
+
"description": "The total number of pages"
|
|
2652
|
+
},
|
|
2653
|
+
"size": {
|
|
2654
|
+
"kind": "enum",
|
|
2655
|
+
"options": [
|
|
2656
|
+
"sm",
|
|
2657
|
+
"md"
|
|
2658
|
+
],
|
|
2659
|
+
"description": "Size variant of pagination"
|
|
2660
|
+
},
|
|
2661
|
+
"showFirstLast": {
|
|
2662
|
+
"kind": "boolean",
|
|
2663
|
+
"description": "Whether to show first/last page buttons"
|
|
2664
|
+
},
|
|
2665
|
+
"showPrevNext": {
|
|
2666
|
+
"kind": "boolean",
|
|
2667
|
+
"description": "Whether to show previous/next buttons"
|
|
2668
|
+
},
|
|
2669
|
+
"siblingCount": {
|
|
2670
|
+
"kind": "number",
|
|
2671
|
+
"description": "Number of sibling pages to show around current page"
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
},
|
|
2675
|
+
"Pill": {
|
|
2676
|
+
"role": "leaf",
|
|
2677
|
+
"description": "Filter/tag chip with optional selected state.",
|
|
2678
|
+
"props": {
|
|
2679
|
+
"children": {
|
|
2680
|
+
"kind": "text",
|
|
2681
|
+
"required": true,
|
|
2682
|
+
"description": "Content to display inside the pill"
|
|
2683
|
+
},
|
|
2684
|
+
"size": {
|
|
2685
|
+
"kind": "enum",
|
|
2686
|
+
"options": [
|
|
2687
|
+
"sm",
|
|
2688
|
+
"md",
|
|
2689
|
+
"lg"
|
|
2690
|
+
],
|
|
2691
|
+
"description": "Size of the pill"
|
|
2692
|
+
},
|
|
2693
|
+
"iconStart": {
|
|
2694
|
+
"kind": "icon",
|
|
2695
|
+
"description": "Icon element to display at the start (before the content)"
|
|
2696
|
+
},
|
|
2697
|
+
"selected": {
|
|
2698
|
+
"kind": "boolean",
|
|
2699
|
+
"description": "Whether the pill is selected (controlled state)"
|
|
2700
|
+
},
|
|
2701
|
+
"readOnly": {
|
|
2702
|
+
"kind": "boolean",
|
|
2703
|
+
"default": false,
|
|
2704
|
+
"description": "Whether the pill is read-only (non-interactive)"
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
"Progress": {
|
|
2709
|
+
"role": "leaf",
|
|
2710
|
+
"description": "Progress bar (0–100).",
|
|
2711
|
+
"props": {
|
|
2712
|
+
"value": {
|
|
2713
|
+
"kind": "number",
|
|
2714
|
+
"description": "Progress value from 0 to 100."
|
|
2715
|
+
},
|
|
2716
|
+
"size": {
|
|
2717
|
+
"kind": "enum",
|
|
2718
|
+
"options": [
|
|
2719
|
+
"sm",
|
|
2720
|
+
"md",
|
|
2721
|
+
"lg"
|
|
2722
|
+
],
|
|
2723
|
+
"default": "md",
|
|
2724
|
+
"description": "The size of the progress bar"
|
|
2725
|
+
},
|
|
2726
|
+
"showLabel": {
|
|
2727
|
+
"kind": "boolean",
|
|
2728
|
+
"default": false,
|
|
2729
|
+
"description": "Whether to show the percentage label"
|
|
2730
|
+
},
|
|
2731
|
+
"labelPosition": {
|
|
2732
|
+
"kind": "enum",
|
|
2733
|
+
"options": [
|
|
2734
|
+
"top",
|
|
2735
|
+
"bottom",
|
|
2736
|
+
"inside",
|
|
2737
|
+
"right"
|
|
2738
|
+
],
|
|
2739
|
+
"default": "right",
|
|
2740
|
+
"description": "Position of the label"
|
|
2741
|
+
},
|
|
2742
|
+
"animated": {
|
|
2743
|
+
"kind": "boolean",
|
|
2744
|
+
"default": true,
|
|
2745
|
+
"description": "Whether to animate value changes"
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
},
|
|
2749
|
+
"RadarChart": {
|
|
2750
|
+
"role": "leaf",
|
|
2751
|
+
"description": "Radar/spider chart (auto Card shell).",
|
|
2752
|
+
"props": {
|
|
2753
|
+
"axes": {
|
|
2754
|
+
"kind": "shape",
|
|
2755
|
+
"shape": "stringList",
|
|
2756
|
+
"required": true,
|
|
2757
|
+
"description": "Array of axis/category labels displayed at each spoke endpoint"
|
|
2758
|
+
},
|
|
2759
|
+
"series": {
|
|
2760
|
+
"kind": "shape",
|
|
2761
|
+
"shape": "radarSeries",
|
|
2762
|
+
"required": true,
|
|
2763
|
+
"description": "Array of data series to plot as filled polygons"
|
|
2764
|
+
},
|
|
2765
|
+
"size": {
|
|
2766
|
+
"kind": "number",
|
|
2767
|
+
"default": 400,
|
|
2768
|
+
"description": "SVG size in pixels (width and height of the SVG viewBox)"
|
|
2769
|
+
},
|
|
2770
|
+
"gridLevels": {
|
|
2771
|
+
"kind": "number",
|
|
2772
|
+
"default": 5,
|
|
2773
|
+
"description": "Number of concentric grid rings drawn from center to outer edge"
|
|
2774
|
+
},
|
|
2775
|
+
"maxValue": {
|
|
2776
|
+
"kind": "number",
|
|
2777
|
+
"default": "undefined (auto)",
|
|
2778
|
+
"description": "Maximum data value used for scaling."
|
|
2779
|
+
},
|
|
2780
|
+
"showGrid": {
|
|
2781
|
+
"kind": "boolean",
|
|
2782
|
+
"default": true,
|
|
2783
|
+
"description": "Whether to render the concentric grid polygons"
|
|
2784
|
+
},
|
|
2785
|
+
"showLabels": {
|
|
2786
|
+
"kind": "boolean",
|
|
2787
|
+
"default": true,
|
|
2788
|
+
"description": "Whether to render axis labels at each spoke endpoint"
|
|
2789
|
+
},
|
|
2790
|
+
"showLegend": {
|
|
2791
|
+
"kind": "boolean",
|
|
2792
|
+
"default": true,
|
|
2793
|
+
"description": "Whether to render the legend below the chart"
|
|
2794
|
+
},
|
|
2795
|
+
"showAnimation": {
|
|
2796
|
+
"kind": "boolean",
|
|
2797
|
+
"default": true,
|
|
2798
|
+
"description": "Whether to animate on mount using Framer Motion"
|
|
2799
|
+
},
|
|
2800
|
+
"fillOpacity": {
|
|
2801
|
+
"kind": "number",
|
|
2802
|
+
"default": 0.25,
|
|
2803
|
+
"description": "Fill opacity for the data polygons (0 to 1)"
|
|
2804
|
+
},
|
|
2805
|
+
"strokeWidth": {
|
|
2806
|
+
"kind": "number",
|
|
2807
|
+
"default": 2,
|
|
2808
|
+
"description": "Stroke width for the data polygon outlines"
|
|
2809
|
+
},
|
|
2810
|
+
"showTooltip": {
|
|
2811
|
+
"kind": "boolean",
|
|
2812
|
+
"default": true,
|
|
2813
|
+
"description": "Whether to show a tooltip on hover over data points"
|
|
2814
|
+
},
|
|
2815
|
+
"title": {
|
|
2816
|
+
"kind": "text",
|
|
2817
|
+
"description": "Card header title (the auto shell)"
|
|
2818
|
+
},
|
|
2819
|
+
"subtitle": {
|
|
2820
|
+
"kind": "text",
|
|
2821
|
+
"description": "Card header subtitle (the auto shell)"
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
"Rating": {
|
|
2826
|
+
"role": "leaf",
|
|
2827
|
+
"description": "Read-only star rating display.",
|
|
2828
|
+
"props": {
|
|
2829
|
+
"value": {
|
|
2830
|
+
"kind": "number",
|
|
2831
|
+
"description": "Controlled rating value (0 to max)"
|
|
2832
|
+
},
|
|
2833
|
+
"defaultValue": {
|
|
2834
|
+
"kind": "number",
|
|
2835
|
+
"default": 0,
|
|
2836
|
+
"description": "Default rating value for uncontrolled mode (0 to max)"
|
|
2837
|
+
},
|
|
2838
|
+
"max": {
|
|
2839
|
+
"kind": "number",
|
|
2840
|
+
"default": 5,
|
|
2841
|
+
"description": "Maximum number of stars"
|
|
2842
|
+
},
|
|
2843
|
+
"size": {
|
|
2844
|
+
"kind": "enum",
|
|
2845
|
+
"options": [
|
|
2846
|
+
"sm",
|
|
2847
|
+
"md",
|
|
2848
|
+
"lg"
|
|
2849
|
+
],
|
|
2850
|
+
"default": "md",
|
|
2851
|
+
"description": "The size of the rating stars"
|
|
2852
|
+
},
|
|
2853
|
+
"color": {
|
|
2854
|
+
"kind": "enum",
|
|
2855
|
+
"options": [
|
|
2856
|
+
"primary",
|
|
2857
|
+
"success",
|
|
2858
|
+
"warning",
|
|
2859
|
+
"danger"
|
|
2860
|
+
],
|
|
2861
|
+
"default": "warning",
|
|
2862
|
+
"description": "The semantic color of the filled stars"
|
|
2863
|
+
},
|
|
2864
|
+
"readOnly": {
|
|
2865
|
+
"kind": "boolean",
|
|
2866
|
+
"default": false,
|
|
2867
|
+
"description": "Whether the rating is read-only (display only, no interaction)"
|
|
2868
|
+
},
|
|
2869
|
+
"disabled": {
|
|
2870
|
+
"kind": "boolean",
|
|
2871
|
+
"default": false,
|
|
2872
|
+
"description": "Whether the rating is disabled"
|
|
2873
|
+
},
|
|
2874
|
+
"allowHalf": {
|
|
2875
|
+
"kind": "boolean",
|
|
2876
|
+
"default": false,
|
|
2877
|
+
"description": "Enable half-step rating increments"
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
"ScatterPlot": {
|
|
2882
|
+
"role": "leaf",
|
|
2883
|
+
"description": "Scatter/bubble chart (auto Card shell).",
|
|
2884
|
+
"props": {
|
|
2885
|
+
"data": {
|
|
2886
|
+
"kind": "shape",
|
|
2887
|
+
"shape": "scatterPoints",
|
|
2888
|
+
"required": true,
|
|
2889
|
+
"description": "Data points"
|
|
2890
|
+
},
|
|
2891
|
+
"xLabel": {
|
|
2892
|
+
"kind": "string",
|
|
2893
|
+
"description": "X-axis label"
|
|
2894
|
+
},
|
|
2895
|
+
"yLabel": {
|
|
2896
|
+
"kind": "string",
|
|
2897
|
+
"description": "Y-axis label"
|
|
2898
|
+
},
|
|
2899
|
+
"dotRadius": {
|
|
2900
|
+
"kind": "number",
|
|
2901
|
+
"description": "Point size (if not using data.size)"
|
|
2902
|
+
},
|
|
2903
|
+
"colors": {
|
|
2904
|
+
"kind": "shape",
|
|
2905
|
+
"shape": "colorList",
|
|
2906
|
+
"description": "Custom colors for categories (using CSS variables)"
|
|
2907
|
+
},
|
|
2908
|
+
"showTooltip": {
|
|
2909
|
+
"kind": "boolean",
|
|
2910
|
+
"description": "Enable tooltip on hover"
|
|
2911
|
+
},
|
|
2912
|
+
"showGrid": {
|
|
2913
|
+
"kind": "boolean"
|
|
2914
|
+
},
|
|
2915
|
+
"showXAxis": {
|
|
2916
|
+
"kind": "boolean"
|
|
2917
|
+
},
|
|
2918
|
+
"showYAxis": {
|
|
2919
|
+
"kind": "boolean"
|
|
2920
|
+
},
|
|
2921
|
+
"legend": {
|
|
2922
|
+
"kind": "enum",
|
|
2923
|
+
"options": [
|
|
2924
|
+
"top",
|
|
2925
|
+
"bottom",
|
|
2926
|
+
"none"
|
|
2927
|
+
],
|
|
2928
|
+
"description": "Always-visible legend position, rendered from `config`'s labels/colors."
|
|
2929
|
+
},
|
|
2930
|
+
"minValue": {
|
|
2931
|
+
"kind": "number"
|
|
2932
|
+
},
|
|
2933
|
+
"maxValue": {
|
|
2934
|
+
"kind": "number"
|
|
2935
|
+
},
|
|
2936
|
+
"height": {
|
|
2937
|
+
"kind": "union",
|
|
2938
|
+
"types": [
|
|
2939
|
+
"number",
|
|
2940
|
+
"string"
|
|
2941
|
+
]
|
|
2942
|
+
},
|
|
2943
|
+
"width": {
|
|
2944
|
+
"kind": "union",
|
|
2945
|
+
"types": [
|
|
2946
|
+
"number",
|
|
2947
|
+
"string"
|
|
2948
|
+
]
|
|
2949
|
+
},
|
|
2950
|
+
"enableKeyboardNavigation": {
|
|
2951
|
+
"kind": "boolean"
|
|
2952
|
+
},
|
|
2953
|
+
"title": {
|
|
2954
|
+
"kind": "text",
|
|
2955
|
+
"description": "Card header title (the auto shell)"
|
|
2956
|
+
},
|
|
2957
|
+
"subtitle": {
|
|
2958
|
+
"kind": "text",
|
|
2959
|
+
"description": "Card header subtitle (the auto shell)"
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
},
|
|
2963
|
+
"ScrollArea": {
|
|
2964
|
+
"role": "container",
|
|
2965
|
+
"description": "Custom-scrollbar viewport. Children are spec nodes.",
|
|
2966
|
+
"props": {
|
|
2967
|
+
"type": {
|
|
2968
|
+
"kind": "enum",
|
|
2969
|
+
"options": [
|
|
2970
|
+
"none",
|
|
2971
|
+
"auto",
|
|
2972
|
+
"always",
|
|
2973
|
+
"scroll",
|
|
2974
|
+
"hover"
|
|
2975
|
+
],
|
|
2976
|
+
"default": "hover",
|
|
2977
|
+
"description": "Scrollbar visibility behavior"
|
|
2978
|
+
},
|
|
2979
|
+
"size": {
|
|
2980
|
+
"kind": "enum",
|
|
2981
|
+
"options": [
|
|
2982
|
+
"default",
|
|
2983
|
+
"thin"
|
|
2984
|
+
],
|
|
2985
|
+
"default": "default",
|
|
2986
|
+
"description": "Scrollbar size"
|
|
2987
|
+
},
|
|
2988
|
+
"orientation": {
|
|
2989
|
+
"kind": "enum",
|
|
2990
|
+
"options": [
|
|
2991
|
+
"horizontal",
|
|
2992
|
+
"vertical",
|
|
2993
|
+
"both"
|
|
2994
|
+
],
|
|
2995
|
+
"default": "vertical",
|
|
2996
|
+
"description": "Scroll direction"
|
|
2997
|
+
},
|
|
2998
|
+
"snap": {
|
|
2999
|
+
"kind": "enum",
|
|
3000
|
+
"options": [
|
|
3001
|
+
"mandatory",
|
|
3002
|
+
"proximity"
|
|
3003
|
+
],
|
|
3004
|
+
"default": "undefined (no snapping)",
|
|
3005
|
+
"description": "Enable scroll snapping. Sets scroll-snap-type on the viewport (axis derived from orientation)."
|
|
3006
|
+
},
|
|
3007
|
+
"snapAlign": {
|
|
3008
|
+
"kind": "enum",
|
|
3009
|
+
"options": [
|
|
3010
|
+
"start",
|
|
3011
|
+
"center",
|
|
3012
|
+
"end"
|
|
3013
|
+
],
|
|
3014
|
+
"default": "start",
|
|
3015
|
+
"description": "Snap alignment applied to direct children via [&>*]:snap-*."
|
|
3016
|
+
},
|
|
3017
|
+
"dragToScroll": {
|
|
3018
|
+
"kind": "boolean",
|
|
3019
|
+
"default": false,
|
|
3020
|
+
"description": "Enable mouse drag-to-scroll panning (grab the content and drag, like touch)."
|
|
3021
|
+
},
|
|
3022
|
+
"smooth": {
|
|
3023
|
+
"kind": "boolean",
|
|
3024
|
+
"default": true,
|
|
3025
|
+
"description": "Enable smooth momentum-based scrolling"
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
"Section": {
|
|
3030
|
+
"role": "container",
|
|
3031
|
+
"description": "Titled page region without card chrome. Children are spec nodes.",
|
|
3032
|
+
"props": {
|
|
3033
|
+
"title": {
|
|
3034
|
+
"kind": "text",
|
|
3035
|
+
"description": "Section heading."
|
|
3036
|
+
},
|
|
3037
|
+
"subtitle": {
|
|
3038
|
+
"kind": "text",
|
|
3039
|
+
"description": "Secondary line under the title."
|
|
3040
|
+
},
|
|
3041
|
+
"gap": {
|
|
3042
|
+
"kind": "enum",
|
|
3043
|
+
"options": [
|
|
3044
|
+
0,
|
|
3045
|
+
1,
|
|
3046
|
+
2,
|
|
3047
|
+
3,
|
|
3048
|
+
4,
|
|
3049
|
+
5,
|
|
3050
|
+
6,
|
|
3051
|
+
8,
|
|
3052
|
+
10,
|
|
3053
|
+
12
|
|
3054
|
+
],
|
|
3055
|
+
"default": 4,
|
|
3056
|
+
"description": "Spacing between the header and the body (Tailwind spacing scale → mt-N)."
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"Select": {
|
|
3061
|
+
"role": "leaf",
|
|
3062
|
+
"description": "Single-select dropdown (multi-select not supported in generative specs). Bind node.actions.change to onChange (fires with the selected option's value).",
|
|
3063
|
+
"props": {
|
|
3064
|
+
"name": {
|
|
3065
|
+
"kind": "string",
|
|
3066
|
+
"description": "Name for the select component"
|
|
3067
|
+
},
|
|
3068
|
+
"size": {
|
|
3069
|
+
"kind": "enum",
|
|
3070
|
+
"options": [
|
|
3071
|
+
"sm",
|
|
3072
|
+
"md",
|
|
3073
|
+
"lg"
|
|
3074
|
+
],
|
|
3075
|
+
"description": "Size of the select component"
|
|
3076
|
+
},
|
|
3077
|
+
"state": {
|
|
3078
|
+
"kind": "enum",
|
|
3079
|
+
"options": [
|
|
3080
|
+
"default",
|
|
3081
|
+
"disabled",
|
|
3082
|
+
"invalid"
|
|
3083
|
+
],
|
|
3084
|
+
"description": "Current state of the select component"
|
|
3085
|
+
},
|
|
3086
|
+
"placeholder": {
|
|
3087
|
+
"kind": "string",
|
|
3088
|
+
"description": "Placeholder text when no option is selected"
|
|
3089
|
+
},
|
|
3090
|
+
"disabled": {
|
|
3091
|
+
"kind": "boolean",
|
|
3092
|
+
"description": "Whether the select is disabled"
|
|
3093
|
+
},
|
|
3094
|
+
"required": {
|
|
3095
|
+
"kind": "boolean",
|
|
3096
|
+
"description": "Whether the select is required"
|
|
3097
|
+
},
|
|
3098
|
+
"options": {
|
|
3099
|
+
"kind": "shape",
|
|
3100
|
+
"shape": "optionItems",
|
|
3101
|
+
"required": true,
|
|
3102
|
+
"description": "Array of options to display"
|
|
3103
|
+
},
|
|
3104
|
+
"label": {
|
|
3105
|
+
"kind": "text",
|
|
3106
|
+
"description": "Label for the select — pass a string for default styling, or a ReactNode for full control"
|
|
3107
|
+
},
|
|
3108
|
+
"helperText": {
|
|
3109
|
+
"kind": "text",
|
|
3110
|
+
"description": "Helper text below the select — pass a string for default styling, or a ReactNode for full control"
|
|
3111
|
+
},
|
|
3112
|
+
"iconStart": {
|
|
3113
|
+
"kind": "icon",
|
|
3114
|
+
"description": "Left icon to display in the select button"
|
|
3115
|
+
},
|
|
3116
|
+
"iconEnd": {
|
|
3117
|
+
"kind": "icon",
|
|
3118
|
+
"description": "Right icon to display in the select button (default is chevron)"
|
|
3119
|
+
},
|
|
3120
|
+
"searchable": {
|
|
3121
|
+
"kind": "boolean",
|
|
3122
|
+
"description": "Whether the select is searchable"
|
|
3123
|
+
},
|
|
3124
|
+
"searchPlaceholder": {
|
|
3125
|
+
"kind": "string",
|
|
3126
|
+
"default": "Search...",
|
|
3127
|
+
"description": "Placeholder text for the search input shown when `searchable` is true."
|
|
3128
|
+
},
|
|
3129
|
+
"enableTypeahead": {
|
|
3130
|
+
"kind": "boolean",
|
|
3131
|
+
"description": "Whether to enable typeahead functionality (default: true)"
|
|
3132
|
+
},
|
|
3133
|
+
"value": {
|
|
3134
|
+
"kind": "string",
|
|
3135
|
+
"description": "Currently selected option's value (controlled)"
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
},
|
|
3139
|
+
"Separator": {
|
|
3140
|
+
"role": "leaf",
|
|
3141
|
+
"description": "Horizontal or vertical divider.",
|
|
3142
|
+
"props": {
|
|
3143
|
+
"vertical": {
|
|
3144
|
+
"kind": "boolean",
|
|
3145
|
+
"default": false,
|
|
3146
|
+
"description": "Whether the separator is vertical (default is horizontal)"
|
|
3147
|
+
},
|
|
3148
|
+
"margin": {
|
|
3149
|
+
"kind": "enum",
|
|
3150
|
+
"options": [
|
|
3151
|
+
"sm",
|
|
3152
|
+
"md",
|
|
3153
|
+
"lg"
|
|
3154
|
+
],
|
|
3155
|
+
"default": "md",
|
|
3156
|
+
"description": "The margin size for spacing"
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
},
|
|
3160
|
+
"Skeleton": {
|
|
3161
|
+
"role": "leaf",
|
|
3162
|
+
"description": "Loading placeholder shape.",
|
|
3163
|
+
"props": {
|
|
3164
|
+
"variant": {
|
|
3165
|
+
"kind": "enum",
|
|
3166
|
+
"options": [
|
|
3167
|
+
"text",
|
|
3168
|
+
"circular",
|
|
3169
|
+
"rectangle"
|
|
3170
|
+
],
|
|
3171
|
+
"default": "rectangle",
|
|
3172
|
+
"description": "The variant of the skeleton"
|
|
3173
|
+
},
|
|
3174
|
+
"width": {
|
|
3175
|
+
"kind": "union",
|
|
3176
|
+
"types": [
|
|
3177
|
+
"number",
|
|
3178
|
+
"string"
|
|
3179
|
+
],
|
|
3180
|
+
"description": "Width of the skeleton"
|
|
3181
|
+
},
|
|
3182
|
+
"height": {
|
|
3183
|
+
"kind": "union",
|
|
3184
|
+
"types": [
|
|
3185
|
+
"number",
|
|
3186
|
+
"string"
|
|
3187
|
+
],
|
|
3188
|
+
"description": "Height of the skeleton"
|
|
3189
|
+
},
|
|
3190
|
+
"lines": {
|
|
3191
|
+
"kind": "number",
|
|
3192
|
+
"default": 1,
|
|
3193
|
+
"description": "Number of skeleton lines to render (for text variant)"
|
|
3194
|
+
},
|
|
3195
|
+
"animate": {
|
|
3196
|
+
"kind": "boolean",
|
|
3197
|
+
"default": true,
|
|
3198
|
+
"description": "Whether to show pulse animation"
|
|
3199
|
+
}
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
"Slider": {
|
|
3203
|
+
"role": "leaf",
|
|
3204
|
+
"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).",
|
|
3205
|
+
"props": {
|
|
3206
|
+
"state": {
|
|
3207
|
+
"kind": "enum",
|
|
3208
|
+
"options": [
|
|
3209
|
+
"default",
|
|
3210
|
+
"disabled",
|
|
3211
|
+
"invalid"
|
|
3212
|
+
],
|
|
3213
|
+
"description": "The state of the slider (default, disabled, invalid)"
|
|
3214
|
+
},
|
|
3215
|
+
"label": {
|
|
3216
|
+
"kind": "text",
|
|
3217
|
+
"description": "Optional label text for the slider"
|
|
3218
|
+
},
|
|
3219
|
+
"helperText": {
|
|
3220
|
+
"kind": "text",
|
|
3221
|
+
"description": "Optional helper text displayed below the slider"
|
|
3222
|
+
},
|
|
3223
|
+
"min": {
|
|
3224
|
+
"kind": "number",
|
|
3225
|
+
"description": "Minimum value for the slider"
|
|
1419
3226
|
},
|
|
1420
|
-
"
|
|
3227
|
+
"max": {
|
|
3228
|
+
"kind": "number",
|
|
3229
|
+
"description": "Maximum value for the slider"
|
|
3230
|
+
},
|
|
3231
|
+
"step": {
|
|
3232
|
+
"kind": "number",
|
|
3233
|
+
"description": "Step value for slider increments"
|
|
3234
|
+
},
|
|
3235
|
+
"showValue": {
|
|
1421
3236
|
"kind": "boolean",
|
|
1422
|
-
"
|
|
1423
|
-
"description": "Whether the rating is read-only (display only, no interaction)"
|
|
3237
|
+
"description": "Whether to show the current value"
|
|
1424
3238
|
},
|
|
1425
|
-
"
|
|
3239
|
+
"unit": {
|
|
3240
|
+
"kind": "string",
|
|
3241
|
+
"description": "Unit to display with the value (e.g., \"px\", \"%\", \"°\")"
|
|
3242
|
+
},
|
|
3243
|
+
"showMinMax": {
|
|
1426
3244
|
"kind": "boolean",
|
|
1427
|
-
"
|
|
1428
|
-
"description": "Whether the rating is disabled"
|
|
3245
|
+
"description": "Whether to show min/max labels"
|
|
1429
3246
|
},
|
|
1430
|
-
"
|
|
3247
|
+
"showTicks": {
|
|
1431
3248
|
"kind": "boolean",
|
|
1432
|
-
"
|
|
1433
|
-
"description": "Enable half-step rating increments"
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
},
|
|
1437
|
-
"Section": {
|
|
1438
|
-
"role": "container",
|
|
1439
|
-
"description": "Titled page region without card chrome. Children are spec nodes.",
|
|
1440
|
-
"props": {
|
|
1441
|
-
"title": {
|
|
1442
|
-
"kind": "text",
|
|
1443
|
-
"description": "Section heading."
|
|
3249
|
+
"description": "Whether to show tick marks"
|
|
1444
3250
|
},
|
|
1445
|
-
"
|
|
1446
|
-
"kind": "
|
|
1447
|
-
"description": "
|
|
3251
|
+
"tickStep": {
|
|
3252
|
+
"kind": "number",
|
|
3253
|
+
"description": "Step for tick marks (defaults to step)"
|
|
1448
3254
|
},
|
|
1449
|
-
"
|
|
1450
|
-
"kind": "
|
|
1451
|
-
"
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
"
|
|
1464
|
-
|
|
3255
|
+
"iconStart": {
|
|
3256
|
+
"kind": "icon",
|
|
3257
|
+
"description": "Icon to display at the start of the slider"
|
|
3258
|
+
},
|
|
3259
|
+
"iconEnd": {
|
|
3260
|
+
"kind": "icon",
|
|
3261
|
+
"description": "Icon to display at the end of the slider"
|
|
3262
|
+
},
|
|
3263
|
+
"required": {
|
|
3264
|
+
"kind": "boolean",
|
|
3265
|
+
"description": "Whether the slider is required"
|
|
3266
|
+
},
|
|
3267
|
+
"name": {
|
|
3268
|
+
"kind": "string",
|
|
3269
|
+
"description": "Name attribute for form submission"
|
|
3270
|
+
},
|
|
3271
|
+
"value": {
|
|
3272
|
+
"kind": "number",
|
|
3273
|
+
"description": "Current value (controlled)"
|
|
1465
3274
|
}
|
|
1466
3275
|
}
|
|
1467
3276
|
},
|
|
1468
|
-
"
|
|
3277
|
+
"Spinner": {
|
|
1469
3278
|
"role": "leaf",
|
|
1470
|
-
"description": "
|
|
3279
|
+
"description": "Loading spinner.",
|
|
1471
3280
|
"props": {
|
|
1472
|
-
"
|
|
1473
|
-
"kind": "boolean",
|
|
1474
|
-
"default": false,
|
|
1475
|
-
"description": "Whether the separator is vertical (default is horizontal)"
|
|
1476
|
-
},
|
|
1477
|
-
"margin": {
|
|
3281
|
+
"size": {
|
|
1478
3282
|
"kind": "enum",
|
|
1479
3283
|
"options": [
|
|
1480
3284
|
"sm",
|
|
@@ -1482,7 +3286,20 @@
|
|
|
1482
3286
|
"lg"
|
|
1483
3287
|
],
|
|
1484
3288
|
"default": "md",
|
|
1485
|
-
"description": "The
|
|
3289
|
+
"description": "The size of the spinner"
|
|
3290
|
+
},
|
|
3291
|
+
"color": {
|
|
3292
|
+
"kind": "enum",
|
|
3293
|
+
"options": [
|
|
3294
|
+
"mono",
|
|
3295
|
+
"primary",
|
|
3296
|
+
"success",
|
|
3297
|
+
"warning",
|
|
3298
|
+
"danger",
|
|
3299
|
+
"dark"
|
|
3300
|
+
],
|
|
3301
|
+
"default": "primary",
|
|
3302
|
+
"description": "The color of the spinner"
|
|
1486
3303
|
}
|
|
1487
3304
|
}
|
|
1488
3305
|
},
|
|
@@ -1493,6 +3310,7 @@
|
|
|
1493
3310
|
"as": {
|
|
1494
3311
|
"kind": "enum",
|
|
1495
3312
|
"options": [
|
|
3313
|
+
"form",
|
|
1496
3314
|
"div",
|
|
1497
3315
|
"ul",
|
|
1498
3316
|
"ol",
|
|
@@ -1501,7 +3319,6 @@
|
|
|
1501
3319
|
"header",
|
|
1502
3320
|
"footer",
|
|
1503
3321
|
"aside",
|
|
1504
|
-
"form",
|
|
1505
3322
|
"fieldset"
|
|
1506
3323
|
],
|
|
1507
3324
|
"default": "div",
|
|
@@ -1566,9 +3383,6 @@
|
|
|
1566
3383
|
"barRadius": {
|
|
1567
3384
|
"kind": "number"
|
|
1568
3385
|
},
|
|
1569
|
-
"gap": {
|
|
1570
|
-
"kind": "number"
|
|
1571
|
-
},
|
|
1572
3386
|
"categoryGap": {
|
|
1573
3387
|
"kind": "number"
|
|
1574
3388
|
},
|
|
@@ -1646,57 +3460,72 @@
|
|
|
1646
3460
|
"gradient"
|
|
1647
3461
|
]
|
|
1648
3462
|
},
|
|
1649
|
-
"
|
|
1650
|
-
"kind": "
|
|
3463
|
+
"title": {
|
|
3464
|
+
"kind": "text",
|
|
3465
|
+
"description": "Card header title (the auto shell)"
|
|
1651
3466
|
},
|
|
1652
|
-
"
|
|
1653
|
-
"kind": "
|
|
3467
|
+
"subtitle": {
|
|
3468
|
+
"kind": "text",
|
|
3469
|
+
"description": "Card header subtitle (the auto shell)"
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
},
|
|
3473
|
+
"Switch": {
|
|
3474
|
+
"role": "leaf",
|
|
3475
|
+
"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).",
|
|
3476
|
+
"props": {
|
|
3477
|
+
"checked": {
|
|
3478
|
+
"kind": "boolean",
|
|
3479
|
+
"description": "Whether the switch is checked (controlled mode)"
|
|
1654
3480
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"kind": "
|
|
3481
|
+
"defaultChecked": {
|
|
3482
|
+
"kind": "boolean",
|
|
3483
|
+
"description": "Initial checked state for uncontrolled mode"
|
|
1657
3484
|
},
|
|
1658
|
-
"
|
|
1659
|
-
"kind": "
|
|
3485
|
+
"label": {
|
|
3486
|
+
"kind": "text",
|
|
3487
|
+
"description": "Label for the switch — pass a string for default styling, or a ReactNode for full control"
|
|
1660
3488
|
},
|
|
1661
|
-
"
|
|
1662
|
-
"kind": "
|
|
3489
|
+
"description": {
|
|
3490
|
+
"kind": "text",
|
|
3491
|
+
"description": "Optional description — pass a string for default styling, or a ReactNode for full control"
|
|
1663
3492
|
},
|
|
1664
|
-
"
|
|
3493
|
+
"state": {
|
|
1665
3494
|
"kind": "enum",
|
|
1666
3495
|
"options": [
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
"stepAfter"
|
|
1672
|
-
]
|
|
1673
|
-
},
|
|
1674
|
-
"showDots": {
|
|
1675
|
-
"kind": "boolean"
|
|
1676
|
-
},
|
|
1677
|
-
"fillOpacity": {
|
|
1678
|
-
"kind": "number"
|
|
1679
|
-
},
|
|
1680
|
-
"showStroke": {
|
|
1681
|
-
"kind": "boolean"
|
|
3496
|
+
"default",
|
|
3497
|
+
"disabled"
|
|
3498
|
+
],
|
|
3499
|
+
"description": "The state of the switch (default, disabled, invalid)"
|
|
1682
3500
|
},
|
|
1683
|
-
"
|
|
1684
|
-
"kind": "
|
|
3501
|
+
"labelPosition": {
|
|
3502
|
+
"kind": "enum",
|
|
3503
|
+
"options": [
|
|
3504
|
+
"start",
|
|
3505
|
+
"end"
|
|
3506
|
+
],
|
|
3507
|
+
"description": "Position of the label relative to the switch"
|
|
1685
3508
|
},
|
|
1686
|
-
"
|
|
3509
|
+
"size": {
|
|
1687
3510
|
"kind": "enum",
|
|
1688
3511
|
"options": [
|
|
1689
|
-
"
|
|
1690
|
-
"
|
|
1691
|
-
|
|
3512
|
+
"sm",
|
|
3513
|
+
"md",
|
|
3514
|
+
"lg"
|
|
3515
|
+
],
|
|
3516
|
+
"description": "Size of the switch track and thumb"
|
|
1692
3517
|
},
|
|
1693
|
-
"
|
|
1694
|
-
"kind": "
|
|
1695
|
-
"description": "
|
|
3518
|
+
"name": {
|
|
3519
|
+
"kind": "string",
|
|
3520
|
+
"description": "HTML name attribute for the hidden input"
|
|
1696
3521
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"kind": "
|
|
1699
|
-
"description": "
|
|
3522
|
+
"value": {
|
|
3523
|
+
"kind": "string",
|
|
3524
|
+
"description": "HTML value attribute for the hidden input"
|
|
3525
|
+
},
|
|
3526
|
+
"required": {
|
|
3527
|
+
"kind": "boolean",
|
|
3528
|
+
"description": "Whether the hidden input is required"
|
|
1700
3529
|
}
|
|
1701
3530
|
}
|
|
1702
3531
|
},
|
|
@@ -1718,8 +3547,8 @@
|
|
|
1718
3547
|
"kind": "enum",
|
|
1719
3548
|
"options": [
|
|
1720
3549
|
"default",
|
|
1721
|
-
"striped",
|
|
1722
3550
|
"bordered",
|
|
3551
|
+
"striped",
|
|
1723
3552
|
"compact"
|
|
1724
3553
|
],
|
|
1725
3554
|
"description": "Visual variant for different table styles"
|
|
@@ -1831,6 +3660,70 @@
|
|
|
1831
3660
|
}
|
|
1832
3661
|
}
|
|
1833
3662
|
},
|
|
3663
|
+
"Textarea": {
|
|
3664
|
+
"role": "leaf",
|
|
3665
|
+
"description": "Multi-line text input. Bind node.actions.change to onValueChange (fires with the raw string value).",
|
|
3666
|
+
"props": {
|
|
3667
|
+
"size": {
|
|
3668
|
+
"kind": "enum",
|
|
3669
|
+
"options": [
|
|
3670
|
+
"sm",
|
|
3671
|
+
"md",
|
|
3672
|
+
"lg"
|
|
3673
|
+
],
|
|
3674
|
+
"description": "The size of the textarea"
|
|
3675
|
+
},
|
|
3676
|
+
"state": {
|
|
3677
|
+
"kind": "enum",
|
|
3678
|
+
"options": [
|
|
3679
|
+
"default",
|
|
3680
|
+
"disabled",
|
|
3681
|
+
"invalid"
|
|
3682
|
+
],
|
|
3683
|
+
"description": "The state of the textarea (default, disabled, invalid)"
|
|
3684
|
+
},
|
|
3685
|
+
"label": {
|
|
3686
|
+
"kind": "text",
|
|
3687
|
+
"description": "Optional label for the textarea — pass a string for default styling, or a ReactNode for full control"
|
|
3688
|
+
},
|
|
3689
|
+
"helperText": {
|
|
3690
|
+
"kind": "text",
|
|
3691
|
+
"description": "Optional helper text below the textarea — pass a string for default styling, or a ReactNode for full control"
|
|
3692
|
+
},
|
|
3693
|
+
"errorMessage": {
|
|
3694
|
+
"kind": "text",
|
|
3695
|
+
"description": "Error message shown instead of `helperText` when `state=\"invalid\"`."
|
|
3696
|
+
},
|
|
3697
|
+
"required": {
|
|
3698
|
+
"kind": "boolean",
|
|
3699
|
+
"description": "Whether the textarea is required"
|
|
3700
|
+
},
|
|
3701
|
+
"rows": {
|
|
3702
|
+
"kind": "number",
|
|
3703
|
+
"description": "Number of rows"
|
|
3704
|
+
},
|
|
3705
|
+
"cols": {
|
|
3706
|
+
"kind": "number",
|
|
3707
|
+
"description": "Number of columns"
|
|
3708
|
+
},
|
|
3709
|
+
"placeholder": {
|
|
3710
|
+
"kind": "string",
|
|
3711
|
+
"description": "Placeholder text"
|
|
3712
|
+
},
|
|
3713
|
+
"value": {
|
|
3714
|
+
"kind": "string",
|
|
3715
|
+
"description": "Current value (controlled)"
|
|
3716
|
+
},
|
|
3717
|
+
"disabled": {
|
|
3718
|
+
"kind": "boolean",
|
|
3719
|
+
"description": "Whether the textarea is disabled"
|
|
3720
|
+
},
|
|
3721
|
+
"name": {
|
|
3722
|
+
"kind": "string",
|
|
3723
|
+
"description": "Form field name"
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
1834
3727
|
"Timeline": {
|
|
1835
3728
|
"role": "leaf",
|
|
1836
3729
|
"description": "Event timeline driven by a serializable items array.",
|
|
@@ -1838,16 +3731,125 @@
|
|
|
1838
3731
|
"layout": {
|
|
1839
3732
|
"kind": "enum",
|
|
1840
3733
|
"options": [
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
3734
|
+
"horizontal",
|
|
3735
|
+
"vertical"
|
|
1843
3736
|
],
|
|
1844
3737
|
"default": "vertical",
|
|
1845
3738
|
"description": "Layout orientation of the timeline"
|
|
1846
3739
|
},
|
|
1847
|
-
"items": {
|
|
3740
|
+
"items": {
|
|
3741
|
+
"kind": "shape",
|
|
3742
|
+
"shape": "timelineItems",
|
|
3743
|
+
"description": "Data-driven items. When provided, the timeline renders from this array and"
|
|
3744
|
+
}
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
"TimePicker": {
|
|
3748
|
+
"role": "leaf",
|
|
3749
|
+
"description": "Time-of-day picker. value/onChange deal in plain \"HH:mm\" strings, not Date objects. Bind node.actions.change to onChange.",
|
|
3750
|
+
"props": {
|
|
3751
|
+
"value": {
|
|
3752
|
+
"kind": "string",
|
|
3753
|
+
"description": "The selected time value in \"HH:mm\" format"
|
|
3754
|
+
},
|
|
3755
|
+
"defaultValue": {
|
|
3756
|
+
"kind": "string",
|
|
3757
|
+
"description": "Default time value for uncontrolled mode"
|
|
3758
|
+
},
|
|
3759
|
+
"format": {
|
|
3760
|
+
"kind": "enum",
|
|
3761
|
+
"options": [
|
|
3762
|
+
"12h",
|
|
3763
|
+
"24h"
|
|
3764
|
+
],
|
|
3765
|
+
"description": "Display format: 12-hour or 24-hour"
|
|
3766
|
+
},
|
|
3767
|
+
"step": {
|
|
3768
|
+
"kind": "number",
|
|
3769
|
+
"description": "Step interval for minutes (1, 5, 10, 15, 30)"
|
|
3770
|
+
},
|
|
3771
|
+
"minTime": {
|
|
3772
|
+
"kind": "string",
|
|
3773
|
+
"description": "Minimum selectable time in \"HH:mm\" format"
|
|
3774
|
+
},
|
|
3775
|
+
"maxTime": {
|
|
3776
|
+
"kind": "string",
|
|
3777
|
+
"description": "Maximum selectable time in \"HH:mm\" format"
|
|
3778
|
+
},
|
|
3779
|
+
"disabled": {
|
|
3780
|
+
"kind": "boolean",
|
|
3781
|
+
"description": "Whether the component is disabled"
|
|
3782
|
+
},
|
|
3783
|
+
"placeholder": {
|
|
3784
|
+
"kind": "string",
|
|
3785
|
+
"description": "Placeholder text for the input"
|
|
3786
|
+
},
|
|
3787
|
+
"size": {
|
|
3788
|
+
"kind": "enum",
|
|
3789
|
+
"options": [
|
|
3790
|
+
"sm",
|
|
3791
|
+
"md",
|
|
3792
|
+
"lg"
|
|
3793
|
+
],
|
|
3794
|
+
"description": "Size variant of the component"
|
|
3795
|
+
},
|
|
3796
|
+
"state": {
|
|
3797
|
+
"kind": "enum",
|
|
3798
|
+
"options": [
|
|
3799
|
+
"default",
|
|
3800
|
+
"disabled",
|
|
3801
|
+
"invalid"
|
|
3802
|
+
],
|
|
3803
|
+
"description": "State variant of the component"
|
|
3804
|
+
},
|
|
3805
|
+
"clearable": {
|
|
3806
|
+
"kind": "boolean",
|
|
3807
|
+
"description": "Whether to show a clear button"
|
|
3808
|
+
},
|
|
3809
|
+
"label": {
|
|
3810
|
+
"kind": "text",
|
|
3811
|
+
"description": "Optional label text"
|
|
3812
|
+
},
|
|
3813
|
+
"helperText": {
|
|
3814
|
+
"kind": "text",
|
|
3815
|
+
"description": "Optional helper text"
|
|
3816
|
+
},
|
|
3817
|
+
"iconStart": {
|
|
3818
|
+
"kind": "icon",
|
|
3819
|
+
"description": "Icon to display at the start (left side)"
|
|
3820
|
+
},
|
|
3821
|
+
"iconEnd": {
|
|
3822
|
+
"kind": "icon",
|
|
3823
|
+
"description": "Icon to display at the end (right side)"
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
},
|
|
3827
|
+
"Tree": {
|
|
3828
|
+
"role": "leaf",
|
|
3829
|
+
"description": "Hierarchical tree view driven by a serializable data array.",
|
|
3830
|
+
"props": {
|
|
3831
|
+
"data": {
|
|
1848
3832
|
"kind": "shape",
|
|
1849
|
-
"shape": "
|
|
1850
|
-
"
|
|
3833
|
+
"shape": "treeData",
|
|
3834
|
+
"required": true,
|
|
3835
|
+
"description": "Tree data structure"
|
|
3836
|
+
},
|
|
3837
|
+
"selectable": {
|
|
3838
|
+
"kind": "boolean",
|
|
3839
|
+
"description": "Whether nodes can be selected"
|
|
3840
|
+
},
|
|
3841
|
+
"checkable": {
|
|
3842
|
+
"kind": "boolean",
|
|
3843
|
+
"description": "Whether to show checkboxes for multi-selection"
|
|
3844
|
+
},
|
|
3845
|
+
"expandable": {
|
|
3846
|
+
"kind": "boolean",
|
|
3847
|
+
"description": "Whether nodes can be expanded/collapsed"
|
|
3848
|
+
},
|
|
3849
|
+
"hierarchicalSelection": {
|
|
3850
|
+
"kind": "boolean",
|
|
3851
|
+
"default": "automatically enabled when checkable=true, false otherwise",
|
|
3852
|
+
"description": "Enable hierarchical selection behavior"
|
|
1851
3853
|
}
|
|
1852
3854
|
}
|
|
1853
3855
|
}
|
|
@@ -1967,7 +3969,7 @@
|
|
|
1967
3969
|
"success",
|
|
1968
3970
|
"warning",
|
|
1969
3971
|
"danger",
|
|
1970
|
-
"
|
|
3972
|
+
"mono",
|
|
1971
3973
|
"dark"
|
|
1972
3974
|
]
|
|
1973
3975
|
}
|
|
@@ -2054,6 +4056,348 @@
|
|
|
2054
4056
|
}
|
|
2055
4057
|
}
|
|
2056
4058
|
}
|
|
4059
|
+
},
|
|
4060
|
+
"treeData": {
|
|
4061
|
+
"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.",
|
|
4062
|
+
"type": "array",
|
|
4063
|
+
"items": {
|
|
4064
|
+
"type": "object",
|
|
4065
|
+
"required": [
|
|
4066
|
+
"id",
|
|
4067
|
+
"label"
|
|
4068
|
+
],
|
|
4069
|
+
"properties": {
|
|
4070
|
+
"id": {
|
|
4071
|
+
"type": "string"
|
|
4072
|
+
},
|
|
4073
|
+
"label": {
|
|
4074
|
+
"type": "string"
|
|
4075
|
+
},
|
|
4076
|
+
"children": {
|
|
4077
|
+
"type": "array"
|
|
4078
|
+
},
|
|
4079
|
+
"expanded": {
|
|
4080
|
+
"type": "boolean"
|
|
4081
|
+
},
|
|
4082
|
+
"selected": {
|
|
4083
|
+
"type": "boolean"
|
|
4084
|
+
},
|
|
4085
|
+
"disabled": {
|
|
4086
|
+
"type": "boolean"
|
|
4087
|
+
},
|
|
4088
|
+
"data": {
|
|
4089
|
+
"type": "object"
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
}
|
|
4093
|
+
},
|
|
4094
|
+
"commandItems": {
|
|
4095
|
+
"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.",
|
|
4096
|
+
"type": "array",
|
|
4097
|
+
"items": {
|
|
4098
|
+
"type": "object",
|
|
4099
|
+
"required": [
|
|
4100
|
+
"id",
|
|
4101
|
+
"label"
|
|
4102
|
+
],
|
|
4103
|
+
"properties": {
|
|
4104
|
+
"id": {
|
|
4105
|
+
"type": "string"
|
|
4106
|
+
},
|
|
4107
|
+
"label": {
|
|
4108
|
+
"type": "string"
|
|
4109
|
+
},
|
|
4110
|
+
"subtitle": {
|
|
4111
|
+
"type": "string"
|
|
4112
|
+
},
|
|
4113
|
+
"shortcut": {
|
|
4114
|
+
"type": "string"
|
|
4115
|
+
},
|
|
4116
|
+
"group": {
|
|
4117
|
+
"type": "string"
|
|
4118
|
+
}
|
|
4119
|
+
}
|
|
4120
|
+
}
|
|
4121
|
+
},
|
|
4122
|
+
"optionItems": {
|
|
4123
|
+
"description": "Array of { id, label, value } (all strings, required) plus optional disabled (boolean). Shared shape for Select/Combobox options and InputTag suggestions.",
|
|
4124
|
+
"type": "array",
|
|
4125
|
+
"items": {
|
|
4126
|
+
"type": "object",
|
|
4127
|
+
"required": [
|
|
4128
|
+
"id",
|
|
4129
|
+
"label",
|
|
4130
|
+
"value"
|
|
4131
|
+
],
|
|
4132
|
+
"properties": {
|
|
4133
|
+
"id": {
|
|
4134
|
+
"type": "string"
|
|
4135
|
+
},
|
|
4136
|
+
"label": {
|
|
4137
|
+
"type": "string"
|
|
4138
|
+
},
|
|
4139
|
+
"value": {
|
|
4140
|
+
"type": "string"
|
|
4141
|
+
},
|
|
4142
|
+
"disabled": {
|
|
4143
|
+
"type": "boolean"
|
|
4144
|
+
}
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
},
|
|
4148
|
+
"stringList": {
|
|
4149
|
+
"description": "Array of plain strings.",
|
|
4150
|
+
"type": "array",
|
|
4151
|
+
"items": {
|
|
4152
|
+
"type": "string"
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
"kbdKeys": {
|
|
4156
|
+
"description": "Array of named keyboard keys.",
|
|
4157
|
+
"type": "array",
|
|
4158
|
+
"items": {
|
|
4159
|
+
"enum": [
|
|
4160
|
+
"command",
|
|
4161
|
+
"shift",
|
|
4162
|
+
"ctrl",
|
|
4163
|
+
"option",
|
|
4164
|
+
"enter",
|
|
4165
|
+
"delete",
|
|
4166
|
+
"escape",
|
|
4167
|
+
"tab",
|
|
4168
|
+
"capslock",
|
|
4169
|
+
"up",
|
|
4170
|
+
"right",
|
|
4171
|
+
"down",
|
|
4172
|
+
"left",
|
|
4173
|
+
"pageup",
|
|
4174
|
+
"pagedown",
|
|
4175
|
+
"home",
|
|
4176
|
+
"end",
|
|
4177
|
+
"help",
|
|
4178
|
+
"space",
|
|
4179
|
+
"fn",
|
|
4180
|
+
"win",
|
|
4181
|
+
"alt"
|
|
4182
|
+
]
|
|
4183
|
+
}
|
|
4184
|
+
},
|
|
4185
|
+
"ganttTasks": {
|
|
4186
|
+
"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).",
|
|
4187
|
+
"type": "array",
|
|
4188
|
+
"items": {
|
|
4189
|
+
"type": "object",
|
|
4190
|
+
"required": [
|
|
4191
|
+
"id",
|
|
4192
|
+
"groupId",
|
|
4193
|
+
"title",
|
|
4194
|
+
"startDate",
|
|
4195
|
+
"endDate",
|
|
4196
|
+
"progress"
|
|
4197
|
+
],
|
|
4198
|
+
"properties": {
|
|
4199
|
+
"id": {
|
|
4200
|
+
"type": "string"
|
|
4201
|
+
},
|
|
4202
|
+
"groupId": {
|
|
4203
|
+
"type": "string"
|
|
4204
|
+
},
|
|
4205
|
+
"title": {
|
|
4206
|
+
"type": "string"
|
|
4207
|
+
},
|
|
4208
|
+
"startDate": {
|
|
4209
|
+
"type": "string"
|
|
4210
|
+
},
|
|
4211
|
+
"endDate": {
|
|
4212
|
+
"type": "string"
|
|
4213
|
+
},
|
|
4214
|
+
"progress": {
|
|
4215
|
+
"type": "number"
|
|
4216
|
+
},
|
|
4217
|
+
"color": {
|
|
4218
|
+
"type": "string"
|
|
4219
|
+
},
|
|
4220
|
+
"completed": {
|
|
4221
|
+
"type": "boolean"
|
|
4222
|
+
},
|
|
4223
|
+
"milestone": {
|
|
4224
|
+
"type": "boolean"
|
|
4225
|
+
},
|
|
4226
|
+
"dependencies": {
|
|
4227
|
+
"type": "array",
|
|
4228
|
+
"items": {
|
|
4229
|
+
"type": "string"
|
|
4230
|
+
}
|
|
4231
|
+
}
|
|
4232
|
+
}
|
|
4233
|
+
}
|
|
4234
|
+
},
|
|
4235
|
+
"ganttGroups": {
|
|
4236
|
+
"description": "Array of task-row groupings: { id, title, color } (all required strings) plus optional order (number).",
|
|
4237
|
+
"type": "array",
|
|
4238
|
+
"items": {
|
|
4239
|
+
"type": "object",
|
|
4240
|
+
"required": [
|
|
4241
|
+
"id",
|
|
4242
|
+
"title",
|
|
4243
|
+
"color"
|
|
4244
|
+
],
|
|
4245
|
+
"properties": {
|
|
4246
|
+
"id": {
|
|
4247
|
+
"type": "string"
|
|
4248
|
+
},
|
|
4249
|
+
"title": {
|
|
4250
|
+
"type": "string"
|
|
4251
|
+
},
|
|
4252
|
+
"color": {
|
|
4253
|
+
"type": "string"
|
|
4254
|
+
},
|
|
4255
|
+
"order": {
|
|
4256
|
+
"type": "number"
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
}
|
|
4260
|
+
},
|
|
4261
|
+
"radarSeries": {
|
|
4262
|
+
"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.",
|
|
4263
|
+
"type": "array",
|
|
4264
|
+
"items": {
|
|
4265
|
+
"type": "object",
|
|
4266
|
+
"required": [
|
|
4267
|
+
"label",
|
|
4268
|
+
"data",
|
|
4269
|
+
"color"
|
|
4270
|
+
],
|
|
4271
|
+
"properties": {
|
|
4272
|
+
"label": {
|
|
4273
|
+
"type": "string"
|
|
4274
|
+
},
|
|
4275
|
+
"data": {
|
|
4276
|
+
"type": "array",
|
|
4277
|
+
"items": {
|
|
4278
|
+
"type": "number"
|
|
4279
|
+
}
|
|
4280
|
+
},
|
|
4281
|
+
"color": {
|
|
4282
|
+
"type": "string"
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4287
|
+
"scatterPoints": {
|
|
4288
|
+
"description": "Array of points: { x, y } (numbers, required) plus optional size (number), label (string), category (string, for color grouping).",
|
|
4289
|
+
"type": "array",
|
|
4290
|
+
"items": {
|
|
4291
|
+
"type": "object",
|
|
4292
|
+
"required": [
|
|
4293
|
+
"x",
|
|
4294
|
+
"y"
|
|
4295
|
+
],
|
|
4296
|
+
"properties": {
|
|
4297
|
+
"x": {
|
|
4298
|
+
"type": "number"
|
|
4299
|
+
},
|
|
4300
|
+
"y": {
|
|
4301
|
+
"type": "number"
|
|
4302
|
+
},
|
|
4303
|
+
"size": {
|
|
4304
|
+
"type": "number"
|
|
4305
|
+
},
|
|
4306
|
+
"label": {
|
|
4307
|
+
"type": "string"
|
|
4308
|
+
},
|
|
4309
|
+
"category": {
|
|
4310
|
+
"type": "string"
|
|
4311
|
+
}
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
},
|
|
4315
|
+
"funnelStages": {
|
|
4316
|
+
"description": "Array of funnel stages: { name, value } (required) plus optional color (CSS string).",
|
|
4317
|
+
"type": "array",
|
|
4318
|
+
"items": {
|
|
4319
|
+
"type": "object",
|
|
4320
|
+
"required": [
|
|
4321
|
+
"name",
|
|
4322
|
+
"value"
|
|
4323
|
+
],
|
|
4324
|
+
"properties": {
|
|
4325
|
+
"name": {
|
|
4326
|
+
"type": "string"
|
|
4327
|
+
},
|
|
4328
|
+
"value": {
|
|
4329
|
+
"type": "number"
|
|
4330
|
+
},
|
|
4331
|
+
"color": {
|
|
4332
|
+
"type": "string"
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
"activityRings": {
|
|
4338
|
+
"description": "Array of rings, ordered outer to inner: { value } (number 0-100, required) plus optional label (string) and color (CSS/hex string).",
|
|
4339
|
+
"type": "array",
|
|
4340
|
+
"items": {
|
|
4341
|
+
"type": "object",
|
|
4342
|
+
"required": [
|
|
4343
|
+
"value"
|
|
4344
|
+
],
|
|
4345
|
+
"properties": {
|
|
4346
|
+
"value": {
|
|
4347
|
+
"type": "number"
|
|
4348
|
+
},
|
|
4349
|
+
"label": {
|
|
4350
|
+
"type": "string"
|
|
4351
|
+
},
|
|
4352
|
+
"color": {
|
|
4353
|
+
"type": "string"
|
|
4354
|
+
}
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4358
|
+
"heatmapPoints": {
|
|
4359
|
+
"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).",
|
|
4360
|
+
"type": "array",
|
|
4361
|
+
"items": {
|
|
4362
|
+
"type": "object",
|
|
4363
|
+
"required": [
|
|
4364
|
+
"x",
|
|
4365
|
+
"y",
|
|
4366
|
+
"value"
|
|
4367
|
+
],
|
|
4368
|
+
"properties": {
|
|
4369
|
+
"x": {
|
|
4370
|
+
"oneOf": [
|
|
4371
|
+
{
|
|
4372
|
+
"type": "string"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
"type": "number"
|
|
4376
|
+
}
|
|
4377
|
+
]
|
|
4378
|
+
},
|
|
4379
|
+
"y": {
|
|
4380
|
+
"oneOf": [
|
|
4381
|
+
{
|
|
4382
|
+
"type": "string"
|
|
4383
|
+
},
|
|
4384
|
+
{
|
|
4385
|
+
"type": "number"
|
|
4386
|
+
}
|
|
4387
|
+
]
|
|
4388
|
+
},
|
|
4389
|
+
"value": {
|
|
4390
|
+
"oneOf": [
|
|
4391
|
+
{
|
|
4392
|
+
"type": "number"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"type": "null"
|
|
4396
|
+
}
|
|
4397
|
+
]
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
2057
4401
|
}
|
|
2058
4402
|
},
|
|
2059
4403
|
"examples": [
|