@perfect-design/ui 0.0.0-stage → 0.1.4
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/dist/components/data-display/ActivityFeed/ActivityFeed.vue.d.ts +98 -0
- package/dist/components/data-display/ActivityFeed/format.d.ts +14 -0
- package/dist/components/data-display/ActivityFeed/index.d.ts +4 -0
- package/dist/components/data-display/ActivityFeed/variants.d.ts +45 -0
- package/dist/components/data-display/BarChart/BarChart.vue.d.ts +52 -0
- package/dist/components/data-display/BarChart/index.d.ts +2 -0
- package/dist/components/data-display/BoardCard/BoardCard.vue.d.ts +47 -0
- package/dist/components/data-display/BoardCard/boardDrag.d.ts +14 -0
- package/dist/components/data-display/BoardCard/index.d.ts +4 -0
- package/dist/components/data-display/BoardCard/variants.d.ts +15 -0
- package/dist/components/data-display/BoardColumn/BoardColumn.vue.d.ts +66 -0
- package/dist/components/data-display/BoardColumn/index.d.ts +4 -0
- package/dist/components/data-display/BoardColumn/variants.d.ts +14 -0
- package/dist/components/data-display/BulletChart/BulletChart.vue.d.ts +55 -0
- package/dist/components/data-display/BulletChart/bulletData.d.ts +51 -0
- package/dist/components/data-display/BulletChart/index.d.ts +6 -0
- package/dist/components/data-display/BulletChart/variants.d.ts +24 -0
- package/dist/components/data-display/CalendarHeatmap/CalendarHeatmap.vue.d.ts +59 -0
- package/dist/components/data-display/CalendarHeatmap/calendarDates.d.ts +30 -0
- package/dist/components/data-display/CalendarHeatmap/calendarMath.d.ts +79 -0
- package/dist/components/data-display/CalendarHeatmap/calendarRamp.d.ts +6 -0
- package/dist/components/data-display/CalendarHeatmap/index.d.ts +9 -0
- package/dist/components/data-display/CalendarHeatmap/variants.d.ts +21 -0
- package/dist/components/data-display/Card/Card.vue.d.ts +54 -0
- package/dist/components/data-display/Card/CardAction.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardBody.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardContent.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardDescription.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardFooter.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardHeader.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardMedia.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardTitle.vue.d.ts +23 -0
- package/dist/components/data-display/Card/context.d.ts +8 -0
- package/dist/components/data-display/Card/index.d.ts +14 -0
- package/dist/components/data-display/Card/variants.d.ts +18 -0
- package/dist/components/data-display/Carousel/Carousel.vue.d.ts +67 -0
- package/dist/components/data-display/Carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/CarouselCounter.vue.d.ts +21 -0
- package/dist/components/data-display/Carousel/CarouselDots.vue.d.ts +28 -0
- package/dist/components/data-display/Carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/components/data-display/Carousel/CarouselNext.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/CarouselPlayPause.vue.d.ts +13 -0
- package/dist/components/data-display/Carousel/CarouselPrevious.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/context.d.ts +27 -0
- package/dist/components/data-display/Carousel/index.d.ts +18 -0
- package/dist/components/data-display/Carousel/variants.d.ts +21 -0
- package/dist/components/data-display/ChatMessage/ChatMessage.vue.d.ts +69 -0
- package/dist/components/data-display/ChatMessage/ChatMessageImageLink.vue.d.ts +8 -0
- package/dist/components/data-display/ChatMessage/date.d.ts +13 -0
- package/dist/components/data-display/ChatMessage/index.d.ts +5 -0
- package/dist/components/data-display/ChatMessage/variants.d.ts +38 -0
- package/dist/components/data-display/ChatThread/ChatThread.vue.d.ts +93 -0
- package/dist/components/data-display/ChatThread/index.d.ts +4 -0
- package/dist/components/data-display/ChatThread/variants.d.ts +20 -0
- package/dist/components/data-display/CodeBlock/CodeBlock.vue.d.ts +63 -0
- package/dist/components/data-display/CodeBlock/index.d.ts +5 -0
- package/dist/components/data-display/CodeBlock/lines.d.ts +8 -0
- package/dist/components/data-display/CodeBlock/variants.d.ts +46 -0
- package/dist/components/data-display/CodeViewer/CodeViewer.vue.d.ts +32 -0
- package/dist/components/data-display/CodeViewer/fold.d.ts +22 -0
- package/dist/components/data-display/CodeViewer/index.d.ts +7 -0
- package/dist/components/data-display/CodeViewer/lineSpec.d.ts +8 -0
- package/dist/components/data-display/CodeViewer/tokenize/go.d.ts +7 -0
- package/dist/components/data-display/CodeViewer/tokenize/index.d.ts +14 -0
- package/dist/components/data-display/CodeViewer/tokenize/json.d.ts +5 -0
- package/dist/components/data-display/CodeViewer/tokenize/plain.d.ts +2 -0
- package/dist/components/data-display/CodeViewer/tokenize/shell.d.ts +4 -0
- package/dist/components/data-display/CodeViewer/tokenize/toml.d.ts +3 -0
- package/dist/components/data-display/CodeViewer/tokenize/types.d.ts +19 -0
- package/dist/components/data-display/CodeViewer/tokenize/yaml.d.ts +6 -0
- package/dist/components/data-display/CodeViewer/types.d.ts +36 -0
- package/dist/components/data-display/CodeViewer/variants.d.ts +25 -0
- package/dist/components/data-display/DataGrid/DataGrid.vue.d.ts +58 -0
- package/dist/components/data-display/DataGrid/DataGridCellEditor.vue.d.ts +24 -0
- package/dist/components/data-display/DataGrid/DataGridHeaderCell.vue.d.ts +45 -0
- package/dist/components/data-display/DataGrid/column-sizing.d.ts +29 -0
- package/dist/components/data-display/DataGrid/grid-navigation.d.ts +34 -0
- package/dist/components/data-display/DataGrid/index.d.ts +4 -0
- package/dist/components/data-display/DataGrid/selection.d.ts +10 -0
- package/dist/components/data-display/DataGrid/tsv.d.ts +9 -0
- package/dist/components/data-display/DataGrid/types.d.ts +84 -0
- package/dist/components/data-display/DataGrid/variants.d.ts +30 -0
- package/dist/components/data-display/DataGrid/virtual-window.d.ts +26 -0
- package/dist/components/data-display/DataTable/DataTable.vue.d.ts +36 -0
- package/dist/components/data-display/DataTable/SortHeaderButton.vue.d.ts +28 -0
- package/dist/components/data-display/DataTable/TableCardControls.vue.d.ts +58 -0
- package/dist/components/data-display/DataTable/index.d.ts +7 -0
- package/dist/components/data-display/DataTable/selectStyles.d.ts +2 -0
- package/dist/components/data-display/DataTable/sort.d.ts +16 -0
- package/dist/components/data-display/DataTable/types.d.ts +91 -0
- package/dist/components/data-display/DescriptionList/DescriptionItem.vue.d.ts +30 -0
- package/dist/components/data-display/DescriptionList/DescriptionList.vue.d.ts +41 -0
- package/dist/components/data-display/DescriptionList/DetailField.vue.d.ts +33 -0
- package/dist/components/data-display/DescriptionList/context.d.ts +6 -0
- package/dist/components/data-display/DescriptionList/index.d.ts +8 -0
- package/dist/components/data-display/DescriptionList/variants.d.ts +35 -0
- package/dist/components/data-display/DiffViewer/DiffText.vue.d.ts +14 -0
- package/dist/components/data-display/DiffViewer/DiffViewer.vue.d.ts +80 -0
- package/dist/components/data-display/DiffViewer/api.d.ts +6 -0
- package/dist/components/data-display/DiffViewer/diff.d.ts +87 -0
- package/dist/components/data-display/DiffViewer/index.d.ts +4 -0
- package/dist/components/data-display/DiffViewer/variants.d.ts +45 -0
- package/dist/components/data-display/DonutChart/DonutChart.vue.d.ts +49 -0
- package/dist/components/data-display/DonutChart/index.d.ts +4 -0
- package/dist/components/data-display/DonutChart/variants.d.ts +29 -0
- package/dist/components/data-display/FlowCanvas/FlowCanvas.vue.d.ts +79 -0
- package/dist/components/data-display/FlowCanvas/FlowCanvasMinimap.vue.d.ts +19 -0
- package/dist/components/data-display/FlowCanvas/flowGeometry.d.ts +127 -0
- package/dist/components/data-display/FlowCanvas/flowHistory.d.ts +29 -0
- package/dist/components/data-display/FlowCanvas/index.d.ts +5 -0
- package/dist/components/data-display/FlowCanvas/testing.d.ts +61 -0
- package/dist/components/data-display/FlowCanvas/types.d.ts +137 -0
- package/dist/components/data-display/FlowCanvas/variants.d.ts +23 -0
- package/dist/components/data-display/FunnelChart/FunnelChart.vue.d.ts +59 -0
- package/dist/components/data-display/FunnelChart/funnelMath.d.ts +65 -0
- package/dist/components/data-display/FunnelChart/index.d.ts +4 -0
- package/dist/components/data-display/FunnelChart/variants.d.ts +26 -0
- package/dist/components/data-display/Gauge/Gauge.vue.d.ts +63 -0
- package/dist/components/data-display/Gauge/index.d.ts +4 -0
- package/dist/components/data-display/Gauge/variants.d.ts +20 -0
- package/dist/components/data-display/GoViewer/GoViewer.vue.d.ts +28 -0
- package/dist/components/data-display/GoViewer/goLiteral.d.ts +21 -0
- package/dist/components/data-display/GoViewer/index.d.ts +4 -0
- package/dist/components/data-display/Heatmap/Heatmap.vue.d.ts +44 -0
- package/dist/components/data-display/Heatmap/heatLevel.d.ts +18 -0
- package/dist/components/data-display/Heatmap/index.d.ts +5 -0
- package/dist/components/data-display/Heatmap/variants.d.ts +20 -0
- package/dist/components/data-display/JsonViewer/JsonViewer.vue.d.ts +54 -0
- package/dist/components/data-display/JsonViewer/index.d.ts +5 -0
- package/dist/components/data-display/JsonViewer/jsonTree.d.ts +63 -0
- package/dist/components/data-display/JsonViewer/variants.d.ts +21 -0
- package/dist/components/data-display/KpiTile/KpiTile.vue.d.ts +69 -0
- package/dist/components/data-display/KpiTile/index.d.ts +4 -0
- package/dist/components/data-display/KpiTile/variants.d.ts +27 -0
- package/dist/components/data-display/Leaderboard/Leaderboard.vue.d.ts +79 -0
- package/dist/components/data-display/Leaderboard/helpers.d.ts +70 -0
- package/dist/components/data-display/Leaderboard/index.d.ts +6 -0
- package/dist/components/data-display/Leaderboard/variants.d.ts +33 -0
- package/dist/components/data-display/LineChart/LineChart.vue.d.ts +51 -0
- package/dist/components/data-display/LineChart/index.d.ts +2 -0
- package/dist/components/data-display/List/List.vue.d.ts +42 -0
- package/dist/components/data-display/List/ListItem.vue.d.ts +41 -0
- package/dist/components/data-display/List/index.d.ts +6 -0
- package/dist/components/data-display/List/variants.d.ts +28 -0
- package/dist/components/data-display/LogViewer/LogViewer.vue.d.ts +87 -0
- package/dist/components/data-display/LogViewer/ansi.d.ts +27 -0
- package/dist/components/data-display/LogViewer/index.d.ts +8 -0
- package/dist/components/data-display/LogViewer/logs.d.ts +46 -0
- package/dist/components/data-display/LogViewer/variants.d.ts +27 -0
- package/dist/components/data-display/MermaidDiagram/MermaidDiagram.vue.d.ts +25 -0
- package/dist/components/data-display/MermaidDiagram/index.d.ts +14 -0
- package/dist/components/data-display/MermaidDiagram/parse/class.d.ts +78 -0
- package/dist/components/data-display/MermaidDiagram/parse/er.d.ts +58 -0
- package/dist/components/data-display/MermaidDiagram/parse/flowchart.d.ts +66 -0
- package/dist/components/data-display/MermaidDiagram/parse/gantt.d.ts +48 -0
- package/dist/components/data-display/MermaidDiagram/parse/index.d.ts +25 -0
- package/dist/components/data-display/MermaidDiagram/parse/journey.d.ts +31 -0
- package/dist/components/data-display/MermaidDiagram/parse/mindmap.d.ts +40 -0
- package/dist/components/data-display/MermaidDiagram/parse/pie.d.ts +24 -0
- package/dist/components/data-display/MermaidDiagram/parse/sequence.d.ts +80 -0
- package/dist/components/data-display/MermaidDiagram/parse/state.d.ts +62 -0
- package/dist/components/data-display/MermaidDiagram/parse/timeline.d.ts +30 -0
- package/dist/components/data-display/MermaidDiagram/render/class.d.ts +7 -0
- package/dist/components/data-display/MermaidDiagram/render/er.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/flowchart.d.ts +5 -0
- package/dist/components/data-display/MermaidDiagram/render/gantt.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/index.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/journey.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/mindmap.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/pie.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/sequence.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/state.d.ts +5 -0
- package/dist/components/data-display/MermaidDiagram/render/timeline.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/timelineKit/testing.d.ts +18 -0
- package/dist/components/data-display/MermaidDiagram/types.d.ts +42 -0
- package/dist/components/data-display/MermaidDiagram/variants.d.ts +25 -0
- package/dist/components/data-display/NetworkGraph/NetworkGraph.vue.d.ts +50 -0
- package/dist/components/data-display/NetworkGraph/graphData.d.ts +68 -0
- package/dist/components/data-display/NetworkGraph/index.d.ts +7 -0
- package/dist/components/data-display/NetworkGraph/networkGeometry.d.ts +35 -0
- package/dist/components/data-display/NetworkGraph/networkLayout.d.ts +59 -0
- package/dist/components/data-display/NetworkGraph/variants.d.ts +20 -0
- package/dist/components/data-display/RadarChart/RadarChart.vue.d.ts +61 -0
- package/dist/components/data-display/RadarChart/index.d.ts +4 -0
- package/dist/components/data-display/RadarChart/radarMath.d.ts +35 -0
- package/dist/components/data-display/RadarChart/variants.d.ts +20 -0
- package/dist/components/data-display/Sankey/Sankey.vue.d.ts +59 -0
- package/dist/components/data-display/Sankey/index.d.ts +5 -0
- package/dist/components/data-display/Sankey/sankeyLayout.d.ts +69 -0
- package/dist/components/data-display/Sankey/sankeyTones.d.ts +21 -0
- package/dist/components/data-display/Sankey/variants.d.ts +36 -0
- package/dist/components/data-display/ScatterChart/ScatterChart.vue.d.ts +68 -0
- package/dist/components/data-display/ScatterChart/index.d.ts +4 -0
- package/dist/components/data-display/ScatterChart/scatterMath.d.ts +60 -0
- package/dist/components/data-display/ScatterChart/variants.d.ts +21 -0
- package/dist/components/data-display/Sparkline/Sparkline.vue.d.ts +44 -0
- package/dist/components/data-display/Sparkline/index.d.ts +4 -0
- package/dist/components/data-display/Sparkline/variants.d.ts +11 -0
- package/dist/components/data-display/StatBar/StatBar.vue.d.ts +34 -0
- package/dist/components/data-display/StatBar/index.d.ts +2 -0
- package/dist/components/data-display/StatGroup/StatGroup.vue.d.ts +29 -0
- package/dist/components/data-display/StatGroup/index.d.ts +4 -0
- package/dist/components/data-display/StatGroup/variants.d.ts +15 -0
- package/dist/components/data-display/Table/Table.vue.d.ts +57 -0
- package/dist/components/data-display/Table/TableBody.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableCaption.vue.d.ts +20 -0
- package/dist/components/data-display/Table/TableCell.vue.d.ts +31 -0
- package/dist/components/data-display/Table/TableEmpty.vue.d.ts +22 -0
- package/dist/components/data-display/Table/TableFooter.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableHead.vue.d.ts +25 -0
- package/dist/components/data-display/Table/TableHeader.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableRow.vue.d.ts +28 -0
- package/dist/components/data-display/Table/context.d.ts +17 -0
- package/dist/components/data-display/Table/index.d.ts +17 -0
- package/dist/components/data-display/Table/variants.d.ts +76 -0
- package/dist/components/data-display/Timeline/Timeline.vue.d.ts +40 -0
- package/dist/components/data-display/Timeline/TimelineItem.vue.d.ts +36 -0
- package/dist/components/data-display/Timeline/index.d.ts +6 -0
- package/dist/components/data-display/Timeline/variants.d.ts +52 -0
- package/dist/components/data-display/Tree/Tree.vue.d.ts +69 -0
- package/dist/components/data-display/Tree/flatten.d.ts +44 -0
- package/dist/components/data-display/Tree/index.d.ts +8 -0
- package/dist/components/data-display/Tree/variants.d.ts +50 -0
- package/dist/components/data-display/Treemap/Treemap.vue.d.ts +59 -0
- package/dist/components/data-display/Treemap/index.d.ts +6 -0
- package/dist/components/data-display/Treemap/treemapLayout.d.ts +64 -0
- package/dist/components/data-display/Treemap/treemapTones.d.ts +13 -0
- package/dist/components/data-display/Treemap/variants.d.ts +31 -0
- package/dist/components/data-display/TrendBadge/TrendBadge.vue.d.ts +53 -0
- package/dist/components/data-display/TrendBadge/index.d.ts +4 -0
- package/dist/components/data-display/TrendBadge/variants.d.ts +18 -0
- package/dist/components/data-display/VirtualList/VirtualList.vue.d.ts +54 -0
- package/dist/components/data-display/VirtualList/index.d.ts +4 -0
- package/dist/components/data-display/VirtualList/variants.d.ts +19 -0
- package/dist/components/data-display/WaterfallChart/WaterfallChart.vue.d.ts +69 -0
- package/dist/components/data-display/WaterfallChart/index.d.ts +5 -0
- package/dist/components/data-display/WaterfallChart/variants.d.ts +21 -0
- package/dist/components/data-display/WaterfallChart/waterfallMath.d.ts +33 -0
- package/dist/components/data-display/YamlViewer/YamlViewer.vue.d.ts +26 -0
- package/dist/components/data-display/YamlViewer/index.d.ts +4 -0
- package/dist/components/data-display/YamlViewer/yamlStringify.d.ts +16 -0
- package/dist/components/data-display/_chart/ChartCaption.vue.d.ts +10 -0
- package/dist/components/data-display/_chart/ChartDataTable.vue.d.ts +21 -0
- package/dist/components/data-display/_chart/ChartLegend.vue.d.ts +22 -0
- package/dist/components/data-display/_chart/ChartMarkerLegend.vue.d.ts +23 -0
- package/dist/components/data-display/_chart/ChartPlaceholder.vue.d.ts +17 -0
- package/dist/components/data-display/_chart/chartContract.d.ts +18 -0
- package/dist/components/data-display/_chart/chartFrame.d.ts +42 -0
- package/dist/components/data-display/_chart/chartKit.d.ts +76 -0
- package/dist/components/data-display/_chart/chartMath.d.ts +44 -0
- package/dist/components/data-display/_chart/chartText.d.ts +5 -0
- package/dist/components/data-display/_chart/tones.d.ts +15 -0
- package/dist/components/data-display/_chart/useMeasuredWidth.d.ts +7 -0
- package/dist/components/data-display/_diagram/DiagramCanvas.vue.d.ts +18 -0
- package/dist/components/data-display/_diagram/ganttDates.d.ts +48 -0
- package/dist/components/data-display/_diagram/graph.d.ts +57 -0
- package/dist/components/data-display/_diagram/layout.d.ts +78 -0
- package/dist/components/data-display/_diagram/palette.d.ts +33 -0
- package/dist/components/data-display/_diagram/route.d.ts +65 -0
- package/dist/components/data-display/_diagram/shapes.d.ts +29 -0
- package/dist/components/data-display/_diagram/source.d.ts +38 -0
- package/dist/components/data-display/_diagram/style.d.ts +20 -0
- package/dist/components/data-display/_diagram/text.d.ts +21 -0
- package/dist/components/data-display/_diagram/timelineRows.d.ts +11 -0
- package/dist/components/data-display/_diagram/types.d.ts +170 -0
- package/dist/components/data-display/_shared/CopyButton.vue.d.ts +27 -0
- package/dist/components/data-display/_shared/contract.d.ts +17 -0
- package/dist/components/data-display/_shared/useVirtualWindow.d.ts +38 -0
- package/dist/components/data-display/index.d.ts +46 -0
- package/dist/components/feedback/Alert/Alert.vue.d.ts +51 -0
- package/dist/components/feedback/Alert/AlertDescription.vue.d.ts +16 -0
- package/dist/components/feedback/Alert/AlertTitle.vue.d.ts +16 -0
- package/dist/components/feedback/Alert/index.d.ts +6 -0
- package/dist/components/feedback/Alert/variants.d.ts +45 -0
- package/dist/components/feedback/AsyncBoundary/AsyncBoundary.vue.d.ts +101 -0
- package/dist/components/feedback/AsyncBoundary/describeError.d.ts +8 -0
- package/dist/components/feedback/AsyncBoundary/index.d.ts +5 -0
- package/dist/components/feedback/AsyncBoundary/variants.d.ts +25 -0
- package/dist/components/feedback/Banner/Banner.vue.d.ts +62 -0
- package/dist/components/feedback/Banner/index.d.ts +4 -0
- package/dist/components/feedback/Banner/storage.d.ts +4 -0
- package/dist/components/feedback/Banner/variants.d.ts +23 -0
- package/dist/components/feedback/Callout/Callout.vue.d.ts +52 -0
- package/dist/components/feedback/Callout/icons.d.ts +4 -0
- package/dist/components/feedback/Callout/index.d.ts +4 -0
- package/dist/components/feedback/Callout/variants.d.ts +30 -0
- package/dist/components/feedback/ConfirmDialog/ConfirmDialog.vue.d.ts +60 -0
- package/dist/components/feedback/ConfirmDialog/ConfirmHost.vue.d.ts +3 -0
- package/dist/components/feedback/ConfirmDialog/index.d.ts +5 -0
- package/dist/components/feedback/ConfirmDialog/useConfirm.d.ts +84 -0
- package/dist/components/feedback/EmptyState/EmptyState.vue.d.ts +50 -0
- package/dist/components/feedback/EmptyState/index.d.ts +4 -0
- package/dist/components/feedback/EmptyState/variants.d.ts +61 -0
- package/dist/components/feedback/ErrorState/ErrorState.vue.d.ts +65 -0
- package/dist/components/feedback/ErrorState/index.d.ts +6 -0
- package/dist/components/feedback/ErrorState/presets.d.ts +9 -0
- package/dist/components/feedback/ErrorState/variants.d.ts +71 -0
- package/dist/components/feedback/InlineMessage/InlineMessage.vue.d.ts +34 -0
- package/dist/components/feedback/InlineMessage/index.d.ts +4 -0
- package/dist/components/feedback/InlineMessage/variants.d.ts +14 -0
- package/dist/components/feedback/LoadingState/LoadingState.vue.d.ts +50 -0
- package/dist/components/feedback/LoadingState/count.d.ts +2 -0
- package/dist/components/feedback/LoadingState/index.d.ts +4 -0
- package/dist/components/feedback/LoadingState/variants.d.ts +24 -0
- package/dist/components/feedback/NotificationList/NotificationList.vue.d.ts +114 -0
- package/dist/components/feedback/NotificationList/index.d.ts +6 -0
- package/dist/components/feedback/NotificationList/time.d.ts +16 -0
- package/dist/components/feedback/NotificationList/variants.d.ts +34 -0
- package/dist/components/feedback/OfflineIndicator/OfflineIndicator.vue.d.ts +32 -0
- package/dist/components/feedback/OfflineIndicator/index.d.ts +4 -0
- package/dist/components/feedback/OfflineIndicator/variants.d.ts +25 -0
- package/dist/components/feedback/StaleNotice/StaleNotice.vue.d.ts +43 -0
- package/dist/components/feedback/StaleNotice/formatRelativeTime.d.ts +11 -0
- package/dist/components/feedback/StaleNotice/index.d.ts +6 -0
- package/dist/components/feedback/StaleNotice/variants.d.ts +33 -0
- package/dist/components/feedback/ToastItem/ToastItem.vue.d.ts +46 -0
- package/dist/components/feedback/ToastItem/index.d.ts +4 -0
- package/dist/components/feedback/ToastItem/variants.d.ts +32 -0
- package/dist/components/feedback/Toaster/Toaster.vue.d.ts +30 -0
- package/dist/components/feedback/Toaster/index.d.ts +4 -0
- package/dist/components/feedback/Toaster/positions.d.ts +5 -0
- package/dist/components/feedback/index.d.ts +15 -0
- package/dist/components/feedback/pick.d.ts +2 -0
- package/dist/components/feedback/requireContent.d.ts +6 -0
- package/dist/components/feedback/tones.d.ts +8 -0
- package/dist/components/forms/Calendar/Calendar.vue.d.ts +74 -0
- package/dist/components/forms/Calendar/dateMath.d.ts +103 -0
- package/dist/components/forms/Calendar/index.d.ts +6 -0
- package/dist/components/forms/Calendar/variants.d.ts +29 -0
- package/dist/components/forms/Checkbox/Checkbox.vue.d.ts +62 -0
- package/dist/components/forms/Checkbox/index.d.ts +6 -0
- package/dist/components/forms/Checkbox/tones.d.ts +13 -0
- package/dist/components/forms/Checkbox/variants.d.ts +24 -0
- package/dist/components/forms/CheckboxCard/CheckboxCard.vue.d.ts +75 -0
- package/dist/components/forms/CheckboxCard/CheckboxCardGroup.vue.d.ts +55 -0
- package/dist/components/forms/CheckboxCard/SelectableCardShell.vue.d.ts +50 -0
- package/dist/components/forms/CheckboxCard/context.d.ts +17 -0
- package/dist/components/forms/CheckboxCard/contract-helpers.d.ts +28 -0
- package/dist/components/forms/CheckboxCard/index.d.ts +6 -0
- package/dist/components/forms/CheckboxCard/use-controllable.d.ts +9 -0
- package/dist/components/forms/CheckboxCard/variants.d.ts +38 -0
- package/dist/components/forms/ColorPicker/ColorPicker.vue.d.ts +45 -0
- package/dist/components/forms/ColorPicker/color.d.ts +8 -0
- package/dist/components/forms/ColorPicker/index.d.ts +5 -0
- package/dist/components/forms/ColorPicker/variants.d.ts +52 -0
- package/dist/components/forms/Combobox/Combobox.vue.d.ts +72 -0
- package/dist/components/forms/Combobox/index.d.ts +4 -0
- package/dist/components/forms/Combobox/variants.d.ts +36 -0
- package/dist/components/forms/CopyField/CopyField.vue.d.ts +57 -0
- package/dist/components/forms/CopyField/index.d.ts +4 -0
- package/dist/components/forms/CopyField/variants.d.ts +30 -0
- package/dist/components/forms/DateInput/DateInput.vue.d.ts +60 -0
- package/dist/components/forms/DateInput/index.d.ts +4 -0
- package/dist/components/forms/DateInput/variants.d.ts +16 -0
- package/dist/components/forms/DatePicker/DatePicker.vue.d.ts +62 -0
- package/dist/components/forms/DatePicker/DatePickerIcon.vue.d.ts +7 -0
- package/dist/components/forms/DatePicker/index.d.ts +4 -0
- package/dist/components/forms/DatePicker/usePickerDropdown.d.ts +29 -0
- package/dist/components/forms/DatePicker/usePickerTrigger.d.ts +36 -0
- package/dist/components/forms/DatePicker/variants.d.ts +14 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.vue.d.ts +82 -0
- package/dist/components/forms/DateRangePicker/index.d.ts +3 -0
- package/dist/components/forms/Editable/Editable.vue.d.ts +61 -0
- package/dist/components/forms/Editable/index.d.ts +4 -0
- package/dist/components/forms/Editable/variants.d.ts +20 -0
- package/dist/components/forms/Field/Field.vue.d.ts +49 -0
- package/dist/components/forms/Field/FieldStatusIcon.vue.d.ts +16 -0
- package/dist/components/forms/Field/field-styles.d.ts +19 -0
- package/dist/components/forms/Field/field-variants.d.ts +62 -0
- package/dist/components/forms/Field/index.d.ts +6 -0
- package/dist/components/forms/Field/useFieldContext.d.ts +52 -0
- package/dist/components/forms/Field/useNativeValidation.d.ts +10 -0
- package/dist/components/forms/FieldGroup/FieldGroup.vue.d.ts +31 -0
- package/dist/components/forms/FieldGroup/index.d.ts +2 -0
- package/dist/components/forms/Fieldset/Fieldset.vue.d.ts +36 -0
- package/dist/components/forms/Fieldset/index.d.ts +2 -0
- package/dist/components/forms/FileDropzone/FileDropzone.vue.d.ts +66 -0
- package/dist/components/forms/FileDropzone/index.d.ts +4 -0
- package/dist/components/forms/FileDropzone/variants.d.ts +36 -0
- package/dist/components/forms/FilterBar/FilterBar.vue.d.ts +64 -0
- package/dist/components/forms/FilterBar/FilterChip.vue.d.ts +43 -0
- package/dist/components/forms/FilterBar/format.d.ts +22 -0
- package/dist/components/forms/FilterBar/index.d.ts +11 -0
- package/dist/components/forms/FilterBar/query.d.ts +20 -0
- package/dist/components/forms/FilterBar/testing.d.ts +249 -0
- package/dist/components/forms/FilterBar/types.d.ts +86 -0
- package/dist/components/forms/FilterBar/variants.d.ts +46 -0
- package/dist/components/forms/FormActions/FormActions.vue.d.ts +54 -0
- package/dist/components/forms/FormActions/index.d.ts +4 -0
- package/dist/components/forms/FormActions/variants.d.ts +26 -0
- package/dist/components/forms/FormSection/FormSection.vue.d.ts +47 -0
- package/dist/components/forms/FormSection/index.d.ts +4 -0
- package/dist/components/forms/FormSection/variants.d.ts +19 -0
- package/dist/components/forms/Input/Input.vue.d.ts +49 -0
- package/dist/components/forms/Input/index.d.ts +4 -0
- package/dist/components/forms/Input/variants.d.ts +16 -0
- package/dist/components/forms/InputGroup/InputGroup.vue.d.ts +37 -0
- package/dist/components/forms/InputGroup/InputGroupAddon.vue.d.ts +24 -0
- package/dist/components/forms/InputGroup/context.d.ts +11 -0
- package/dist/components/forms/InputGroup/index.d.ts +6 -0
- package/dist/components/forms/InputGroup/variants.d.ts +29 -0
- package/dist/components/forms/Label/Label.vue.d.ts +38 -0
- package/dist/components/forms/Label/index.d.ts +4 -0
- package/dist/components/forms/Label/variants.d.ts +12 -0
- package/dist/components/forms/ModelPicker/ModelPicker.vue.d.ts +72 -0
- package/dist/components/forms/ModelPicker/index.d.ts +5 -0
- package/dist/components/forms/ModelPicker/options.d.ts +37 -0
- package/dist/components/forms/ModelPicker/variants.d.ts +15 -0
- package/dist/components/forms/MultiSelect/MultiSelect.vue.d.ts +96 -0
- package/dist/components/forms/MultiSelect/index.d.ts +4 -0
- package/dist/components/forms/MultiSelect/variants.d.ts +24 -0
- package/dist/components/forms/NativeSelect/NativeSelect.vue.d.ts +54 -0
- package/dist/components/forms/NativeSelect/index.d.ts +4 -0
- package/dist/components/forms/NativeSelect/variants.d.ts +16 -0
- package/dist/components/forms/NumberInput/NumberInput.vue.d.ts +55 -0
- package/dist/components/forms/NumberInput/index.d.ts +4 -0
- package/dist/components/forms/NumberInput/variants.d.ts +16 -0
- package/dist/components/forms/PasswordInput/PasswordInput.vue.d.ts +52 -0
- package/dist/components/forms/PasswordInput/index.d.ts +4 -0
- package/dist/components/forms/PasswordInput/variants.d.ts +11 -0
- package/dist/components/forms/PinInput/PinInput.vue.d.ts +51 -0
- package/dist/components/forms/PinInput/index.d.ts +4 -0
- package/dist/components/forms/PinInput/variants.d.ts +30 -0
- package/dist/components/forms/PromptInput/PromptInput.vue.d.ts +87 -0
- package/dist/components/forms/PromptInput/icons.d.ts +3 -0
- package/dist/components/forms/PromptInput/index.d.ts +4 -0
- package/dist/components/forms/PromptInput/variants.d.ts +21 -0
- package/dist/components/forms/RadioCard/RadioCard.vue.d.ts +60 -0
- package/dist/components/forms/RadioCard/RadioCardGroup.vue.d.ts +56 -0
- package/dist/components/forms/RadioCard/context.d.ts +18 -0
- package/dist/components/forms/RadioCard/index.d.ts +6 -0
- package/dist/components/forms/RadioCard/variants.d.ts +4 -0
- package/dist/components/forms/RadioGroup/RadioGroup.vue.d.ts +52 -0
- package/dist/components/forms/RadioGroup/RadioGroupItem.vue.d.ts +43 -0
- package/dist/components/forms/RadioGroup/context.d.ts +10 -0
- package/dist/components/forms/RadioGroup/index.d.ts +6 -0
- package/dist/components/forms/RadioGroup/variants.d.ts +28 -0
- package/dist/components/forms/Rating/Rating.vue.d.ts +40 -0
- package/dist/components/forms/Rating/index.d.ts +4 -0
- package/dist/components/forms/Rating/variants.d.ts +46 -0
- package/dist/components/forms/SearchInput/SearchInput.vue.d.ts +55 -0
- package/dist/components/forms/SearchInput/index.d.ts +4 -0
- package/dist/components/forms/SearchInput/variants.d.ts +16 -0
- package/dist/components/forms/SegmentedControl/SegmentedControl.vue.d.ts +61 -0
- package/dist/components/forms/SegmentedControl/index.d.ts +4 -0
- package/dist/components/forms/SegmentedControl/variants.d.ts +25 -0
- package/dist/components/forms/Select/Select.vue.d.ts +40 -0
- package/dist/components/forms/Select/SelectContent.vue.d.ts +32 -0
- package/dist/components/forms/Select/SelectGroup.vue.d.ts +19 -0
- package/dist/components/forms/Select/SelectItem.vue.d.ts +27 -0
- package/dist/components/forms/Select/SelectLabel.vue.d.ts +19 -0
- package/dist/components/forms/Select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/forms/Select/SelectTrigger.vue.d.ts +36 -0
- package/dist/components/forms/Select/SelectValue.vue.d.ts +21 -0
- package/dist/components/forms/Select/index.d.ts +20 -0
- package/dist/components/forms/Select/select-size.d.ts +10 -0
- package/dist/components/forms/Select/variants.d.ts +24 -0
- package/dist/components/forms/Slider/Slider.vue.d.ts +71 -0
- package/dist/components/forms/Slider/index.d.ts +5 -0
- package/dist/components/forms/Slider/variants.d.ts +68 -0
- package/dist/components/forms/Switch/Switch.vue.d.ts +64 -0
- package/dist/components/forms/Switch/index.d.ts +4 -0
- package/dist/components/forms/Switch/variants.d.ts +42 -0
- package/dist/components/forms/TagsInput/TagsInput.vue.d.ts +76 -0
- package/dist/components/forms/TagsInput/index.d.ts +4 -0
- package/dist/components/forms/TagsInput/variants.d.ts +31 -0
- package/dist/components/forms/Textarea/Textarea.vue.d.ts +51 -0
- package/dist/components/forms/Textarea/index.d.ts +4 -0
- package/dist/components/forms/Textarea/variants.d.ts +17 -0
- package/dist/components/forms/TimeInput/TimeInput.vue.d.ts +54 -0
- package/dist/components/forms/TimeInput/announce.d.ts +16 -0
- package/dist/components/forms/TimeInput/index.d.ts +6 -0
- package/dist/components/forms/TimeInput/time.d.ts +13 -0
- package/dist/components/forms/TimeInput/variants.d.ts +36 -0
- package/dist/components/forms/TimeRangePicker/TimeRangePicker.vue.d.ts +142 -0
- package/dist/components/forms/TimeRangePicker/index.d.ts +6 -0
- package/dist/components/forms/TimeRangePicker/timeRange.d.ts +76 -0
- package/dist/components/forms/TimeRangePicker/variants.d.ts +27 -0
- package/dist/components/forms/index.d.ts +39 -0
- package/dist/components/forms/testing.d.ts +49 -0
- package/dist/components/layout/Affix/Affix.vue.d.ts +41 -0
- package/dist/components/layout/Affix/index.d.ts +4 -0
- package/dist/components/layout/Affix/variants.d.ts +10 -0
- package/dist/components/layout/AppShell/AppShell.vue.d.ts +277 -0
- package/dist/components/layout/AppShell/AppShellSidebar.vue.d.ts +31 -0
- package/dist/components/layout/AppShell/index.d.ts +4 -0
- package/dist/components/layout/AppShell/variants.d.ts +29 -0
- package/dist/components/layout/CenteredLayout/CenteredLayout.vue.d.ts +43 -0
- package/dist/components/layout/CenteredLayout/index.d.ts +3 -0
- package/dist/components/layout/CenteredLayout/variants.d.ts +13 -0
- package/dist/components/layout/ConfigProvider/ConfigProvider.vue.d.ts +39 -0
- package/dist/components/layout/ConfigProvider/config.d.ts +57 -0
- package/dist/components/layout/ConfigProvider/index.d.ts +4 -0
- package/dist/components/layout/Container/Container.vue.d.ts +37 -0
- package/dist/components/layout/Container/index.d.ts +4 -0
- package/dist/components/layout/Container/variants.d.ts +18 -0
- package/dist/components/layout/Grid/Grid.vue.d.ts +62 -0
- package/dist/components/layout/Grid/index.d.ts +4 -0
- package/dist/components/layout/Grid/variants.d.ts +47 -0
- package/dist/components/layout/InfiniteScroll/InfiniteScroll.vue.d.ts +57 -0
- package/dist/components/layout/InfiniteScroll/index.d.ts +4 -0
- package/dist/components/layout/InfiniteScroll/variants.d.ts +32 -0
- package/dist/components/layout/PageHeader/PageHeader.vue.d.ts +65 -0
- package/dist/components/layout/PageHeader/index.d.ts +4 -0
- package/dist/components/layout/PageHeader/variants.d.ts +25 -0
- package/dist/components/layout/ResizablePanels/ResizableHandle.vue.d.ts +35 -0
- package/dist/components/layout/ResizablePanels/ResizablePanel.vue.d.ts +44 -0
- package/dist/components/layout/ResizablePanels/ResizablePanels.vue.d.ts +51 -0
- package/dist/components/layout/ResizablePanels/context.d.ts +42 -0
- package/dist/components/layout/ResizablePanels/index.d.ts +8 -0
- package/dist/components/layout/ResizablePanels/layout.d.ts +32 -0
- package/dist/components/layout/ResizablePanels/variants.d.ts +33 -0
- package/dist/components/layout/Section/Section.vue.d.ts +35 -0
- package/dist/components/layout/Section/index.d.ts +4 -0
- package/dist/components/layout/Section/variants.d.ts +17 -0
- package/dist/components/layout/Spacer/Spacer.vue.d.ts +20 -0
- package/dist/components/layout/Spacer/index.d.ts +3 -0
- package/dist/components/layout/Spacer/variants.d.ts +16 -0
- package/dist/components/layout/SplitLayout/SplitLayout.vue.d.ts +49 -0
- package/dist/components/layout/SplitLayout/index.d.ts +3 -0
- package/dist/components/layout/SplitLayout/variants.d.ts +17 -0
- package/dist/components/layout/Stack/HStack.vue.d.ts +21 -0
- package/dist/components/layout/Stack/Stack.vue.d.ts +53 -0
- package/dist/components/layout/Stack/VStack.vue.d.ts +20 -0
- package/dist/components/layout/Stack/gap.d.ts +13 -0
- package/dist/components/layout/Stack/index.d.ts +8 -0
- package/dist/components/layout/Stack/variants.d.ts +27 -0
- package/dist/components/layout/StyleScope/StyleScope.vue.d.ts +25 -0
- package/dist/components/layout/StyleScope/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts +14 -0
- package/dist/components/marketing/BeforeAfter/BeforeAfter.vue.d.ts +59 -0
- package/dist/components/marketing/BeforeAfter/index.d.ts +4 -0
- package/dist/components/marketing/BeforeAfter/variants.d.ts +73 -0
- package/dist/components/marketing/BlogCard/BlogCard.vue.d.ts +57 -0
- package/dist/components/marketing/BlogCard/contract.d.ts +4 -0
- package/dist/components/marketing/BlogCard/date.d.ts +7 -0
- package/dist/components/marketing/BlogCard/index.d.ts +4 -0
- package/dist/components/marketing/BlogCard/variants.d.ts +63 -0
- package/dist/components/marketing/BlogGrid/BlogGrid.vue.d.ts +60 -0
- package/dist/components/marketing/BlogGrid/index.d.ts +4 -0
- package/dist/components/marketing/BlogGrid/variants.d.ts +15 -0
- package/dist/components/marketing/ComparisonTable/ComparisonCell.vue.d.ts +13 -0
- package/dist/components/marketing/ComparisonTable/ComparisonTable.vue.d.ts +88 -0
- package/dist/components/marketing/ComparisonTable/index.d.ts +4 -0
- package/dist/components/marketing/ComparisonTable/variants.d.ts +28 -0
- package/dist/components/marketing/ContactLink/ContactLink.vue.d.ts +48 -0
- package/dist/components/marketing/ContactLink/index.d.ts +4 -0
- package/dist/components/marketing/ContactLink/variants.d.ts +42 -0
- package/dist/components/marketing/ContactSection/ContactSection.vue.d.ts +46 -0
- package/dist/components/marketing/ContactSection/index.d.ts +4 -0
- package/dist/components/marketing/ContactSection/variants.d.ts +55 -0
- package/dist/components/marketing/CookieConsent/CookieConsent.vue.d.ts +70 -0
- package/dist/components/marketing/CookieConsent/categories.d.ts +30 -0
- package/dist/components/marketing/CookieConsent/index.d.ts +8 -0
- package/dist/components/marketing/CookieConsent/storage.d.ts +17 -0
- package/dist/components/marketing/CookieConsent/variants.d.ts +21 -0
- package/dist/components/marketing/CtaBand/CtaBand.vue.d.ts +50 -0
- package/dist/components/marketing/CtaBand/index.d.ts +4 -0
- package/dist/components/marketing/CtaBand/variants.d.ts +64 -0
- package/dist/components/marketing/FaqList/FaqEntry.vue.d.ts +37 -0
- package/dist/components/marketing/FaqList/FaqList.vue.d.ts +80 -0
- package/dist/components/marketing/FaqList/index.d.ts +4 -0
- package/dist/components/marketing/FaqList/variants.d.ts +21 -0
- package/dist/components/marketing/FeatureCard/FeatureCard.vue.d.ts +54 -0
- package/dist/components/marketing/FeatureCard/index.d.ts +4 -0
- package/dist/components/marketing/FeatureCard/variants.d.ts +66 -0
- package/dist/components/marketing/FeatureGrid/FeatureGrid.vue.d.ts +76 -0
- package/dist/components/marketing/FeatureGrid/FeatureGridItems.vue.d.ts +39 -0
- package/dist/components/marketing/FeatureGrid/index.d.ts +4 -0
- package/dist/components/marketing/FeatureGrid/variants.d.ts +50 -0
- package/dist/components/marketing/Hero/Hero.vue.d.ts +93 -0
- package/dist/components/marketing/Hero/index.d.ts +4 -0
- package/dist/components/marketing/Hero/variants.d.ts +51 -0
- package/dist/components/marketing/ImageGrid/ImageGrid.vue.d.ts +46 -0
- package/dist/components/marketing/ImageGrid/index.d.ts +4 -0
- package/dist/components/marketing/ImageGrid/variants.d.ts +45 -0
- package/dist/components/marketing/InstallTabs/InstallTabs.vue.d.ts +48 -0
- package/dist/components/marketing/InstallTabs/index.d.ts +4 -0
- package/dist/components/marketing/InstallTabs/variants.d.ts +47 -0
- package/dist/components/marketing/Lightbox/Lightbox.vue.d.ts +44 -0
- package/dist/components/marketing/Lightbox/contract.d.ts +7 -0
- package/dist/components/marketing/Lightbox/index.d.ts +2 -0
- package/dist/components/marketing/LogoCloud/LogoCloud.vue.d.ts +45 -0
- package/dist/components/marketing/LogoCloud/LogoCloudLogo.vue.d.ts +14 -0
- package/dist/components/marketing/LogoCloud/index.d.ts +4 -0
- package/dist/components/marketing/LogoCloud/variants.d.ts +49 -0
- package/dist/components/marketing/Marquee/Marquee.vue.d.ts +67 -0
- package/dist/components/marketing/Marquee/index.d.ts +4 -0
- package/dist/components/marketing/Marquee/variants.d.ts +59 -0
- package/dist/components/marketing/MediaFrame/MediaFrame.vue.d.ts +44 -0
- package/dist/components/marketing/MediaFrame/index.d.ts +4 -0
- package/dist/components/marketing/MediaFrame/variants.d.ts +55 -0
- package/dist/components/marketing/NewsletterSignup/NewsletterSignup.vue.d.ts +66 -0
- package/dist/components/marketing/NewsletterSignup/index.d.ts +4 -0
- package/dist/components/marketing/NewsletterSignup/variants.d.ts +87 -0
- package/dist/components/marketing/NumberedSteps/NumberedSteps.vue.d.ts +61 -0
- package/dist/components/marketing/NumberedSteps/index.d.ts +4 -0
- package/dist/components/marketing/NumberedSteps/variants.d.ts +65 -0
- package/dist/components/marketing/PricingCard/PricingCard.vue.d.ts +66 -0
- package/dist/components/marketing/PricingCard/index.d.ts +5 -0
- package/dist/components/marketing/PricingCard/pricing.d.ts +25 -0
- package/dist/components/marketing/PricingCard/variants.d.ts +45 -0
- package/dist/components/marketing/PricingGrid/BillingToggle.vue.d.ts +22 -0
- package/dist/components/marketing/PricingGrid/PricingGrid.vue.d.ts +63 -0
- package/dist/components/marketing/PricingGrid/billing.d.ts +25 -0
- package/dist/components/marketing/PricingGrid/index.d.ts +4 -0
- package/dist/components/marketing/PricingGrid/variants.d.ts +16 -0
- package/dist/components/marketing/PricingTable/PricingTable.vue.d.ts +100 -0
- package/dist/components/marketing/PricingTable/index.d.ts +4 -0
- package/dist/components/marketing/PricingTable/variants.d.ts +9 -0
- package/dist/components/marketing/ScrollProgress/ScrollProgress.vue.d.ts +23 -0
- package/dist/components/marketing/ScrollProgress/index.d.ts +4 -0
- package/dist/components/marketing/ScrollProgress/variants.d.ts +33 -0
- package/dist/components/marketing/SectionHeading/SectionHeading.vue.d.ts +49 -0
- package/dist/components/marketing/SectionHeading/index.d.ts +4 -0
- package/dist/components/marketing/SectionHeading/variants.d.ts +42 -0
- package/dist/components/marketing/SectionReveal/SectionReveal.vue.d.ts +55 -0
- package/dist/components/marketing/SectionReveal/index.d.ts +4 -0
- package/dist/components/marketing/SectionReveal/variants.d.ts +21 -0
- package/dist/components/marketing/SiteFooter/SiteFooter.vue.d.ts +77 -0
- package/dist/components/marketing/SiteFooter/index.d.ts +4 -0
- package/dist/components/marketing/SiteFooter/variants.d.ts +94 -0
- package/dist/components/marketing/SiteHeader/SiteHeader.vue.d.ts +96 -0
- package/dist/components/marketing/SiteHeader/index.d.ts +4 -0
- package/dist/components/marketing/SiteHeader/sticky-offset.d.ts +6 -0
- package/dist/components/marketing/SiteHeader/variants.d.ts +90 -0
- package/dist/components/marketing/SocialLinks/SocialLinks.vue.d.ts +33 -0
- package/dist/components/marketing/SocialLinks/index.d.ts +4 -0
- package/dist/components/marketing/SocialLinks/variants.d.ts +29 -0
- package/dist/components/marketing/StatCounter/StatCounter.vue.d.ts +38 -0
- package/dist/components/marketing/StatCounter/index.d.ts +4 -0
- package/dist/components/marketing/StatCounter/variants.d.ts +22 -0
- package/dist/components/marketing/StatGrid/StatGrid.vue.d.ts +49 -0
- package/dist/components/marketing/StatGrid/index.d.ts +4 -0
- package/dist/components/marketing/StatGrid/variants.d.ts +69 -0
- package/dist/components/marketing/TeamGrid/TeamGrid.vue.d.ts +51 -0
- package/dist/components/marketing/TeamGrid/TeamMemberCard.vue.d.ts +57 -0
- package/dist/components/marketing/TeamGrid/contract.d.ts +4 -0
- package/dist/components/marketing/TeamGrid/index.d.ts +6 -0
- package/dist/components/marketing/TeamGrid/variants.d.ts +71 -0
- package/dist/components/marketing/Testimonial/Testimonial.vue.d.ts +51 -0
- package/dist/components/marketing/Testimonial/TestimonialAvatar.vue.d.ts +12 -0
- package/dist/components/marketing/Testimonial/contract.d.ts +9 -0
- package/dist/components/marketing/Testimonial/index.d.ts +4 -0
- package/dist/components/marketing/Testimonial/variants.d.ts +68 -0
- package/dist/components/marketing/TestimonialGrid/TestimonialGrid.vue.d.ts +54 -0
- package/dist/components/marketing/TestimonialGrid/index.d.ts +4 -0
- package/dist/components/marketing/TestimonialGrid/variants.d.ts +26 -0
- package/dist/components/marketing/TestimonialSlider/TestimonialSlider.vue.d.ts +64 -0
- package/dist/components/marketing/TestimonialSlider/index.d.ts +4 -0
- package/dist/components/marketing/TestimonialSlider/variants.d.ts +26 -0
- package/dist/components/marketing/index.d.ts +35 -0
- package/dist/components/marketing/shared/contract/testing.d.ts +53 -0
- package/dist/components/marketing/shared/contract-harness/testing.d.ts +49 -0
- package/dist/components/marketing/shared/itemsContract.d.ts +15 -0
- package/dist/components/marketing/shared/motion.d.ts +14 -0
- package/dist/components/marketing/shared/pick.d.ts +4 -0
- package/dist/components/marketing/shared/sample.d.ts +7 -0
- package/dist/components/marketing/shared/styles.d.ts +9 -0
- package/dist/components/marketing/shared/surface.d.ts +19 -0
- package/dist/components/marketing/shared/testing.d.ts +16 -0
- package/dist/components/marketing/shared/vnodeWalk.d.ts +3 -0
- package/dist/components/navigation/AccentPicker/AccentPicker.vue.d.ts +24 -0
- package/dist/components/navigation/AccentPicker/index.d.ts +4 -0
- package/dist/components/navigation/AccentPicker/variants.d.ts +33 -0
- package/dist/components/navigation/Accordion/Accordion.vue.d.ts +50 -0
- package/dist/components/navigation/Accordion/AccordionContent.vue.d.ts +18 -0
- package/dist/components/navigation/Accordion/AccordionItem.vue.d.ts +18 -0
- package/dist/components/navigation/Accordion/AccordionTrigger.vue.d.ts +26 -0
- package/dist/components/navigation/Accordion/context.d.ts +9 -0
- package/dist/components/navigation/Accordion/index.d.ts +9 -0
- package/dist/components/navigation/Accordion/variants.d.ts +48 -0
- package/dist/components/navigation/AppHeader/AppHeader.vue.d.ts +42 -0
- package/dist/components/navigation/AppHeader/index.d.ts +2 -0
- package/dist/components/navigation/BackToTop/BackToTop.vue.d.ts +32 -0
- package/dist/components/navigation/BackToTop/index.d.ts +4 -0
- package/dist/components/navigation/BackToTop/variants.d.ts +32 -0
- package/dist/components/navigation/Breadcrumb/Breadcrumb.vue.d.ts +46 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbEllipsis.vue.d.ts +19 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbItem.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbLink.vue.d.ts +26 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbList.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/context.d.ts +8 -0
- package/dist/components/navigation/Breadcrumb/index.d.ts +13 -0
- package/dist/components/navigation/Breadcrumb/variants.d.ts +17 -0
- package/dist/components/navigation/Collapsible/Collapsible.vue.d.ts +34 -0
- package/dist/components/navigation/Collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/components/navigation/Collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/components/navigation/Collapsible/context.d.ts +4 -0
- package/dist/components/navigation/Collapsible/index.d.ts +7 -0
- package/dist/components/navigation/Collapsible/variants.d.ts +26 -0
- package/dist/components/navigation/DocsSidebar/DocsSidebar.vue.d.ts +41 -0
- package/dist/components/navigation/DocsSidebar/index.d.ts +4 -0
- package/dist/components/navigation/DocsSidebar/variants.d.ts +33 -0
- package/dist/components/navigation/Menubar/Menubar.vue.d.ts +29 -0
- package/dist/components/navigation/Menubar/MenubarCheckboxItem.vue.d.ts +26 -0
- package/dist/components/navigation/Menubar/MenubarContent.vue.d.ts +38 -0
- package/dist/components/navigation/Menubar/MenubarGroup.vue.d.ts +16 -0
- package/dist/components/navigation/Menubar/MenubarItem.vue.d.ts +26 -0
- package/dist/components/navigation/Menubar/MenubarLabel.vue.d.ts +21 -0
- package/dist/components/navigation/Menubar/MenubarMenu.vue.d.ts +16 -0
- package/dist/components/navigation/Menubar/MenubarRadioGroup.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/MenubarRadioItem.vue.d.ts +24 -0
- package/dist/components/navigation/Menubar/MenubarSeparator.vue.d.ts +8 -0
- package/dist/components/navigation/Menubar/MenubarShortcut.vue.d.ts +19 -0
- package/dist/components/navigation/Menubar/MenubarSub.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/MenubarSubContent.vue.d.ts +36 -0
- package/dist/components/navigation/Menubar/MenubarSubTrigger.vue.d.ts +21 -0
- package/dist/components/navigation/Menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/context.d.ts +4 -0
- package/dist/components/navigation/Menubar/index.d.ts +19 -0
- package/dist/components/navigation/Menubar/variants.d.ts +20 -0
- package/dist/components/navigation/MobileNav/MobileNav.vue.d.ts +38 -0
- package/dist/components/navigation/MobileNav/index.d.ts +2 -0
- package/dist/components/navigation/NavLink/NavLink.vue.d.ts +47 -0
- package/dist/components/navigation/NavLink/context.d.ts +8 -0
- package/dist/components/navigation/NavLink/index.d.ts +6 -0
- package/dist/components/navigation/NavLink/variants.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenu.vue.d.ts +34 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuContent.vue.d.ts +30 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuIndicator.vue.d.ts +8 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuItem.vue.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuLink.vue.d.ts +33 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuList.vue.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuTrigger.vue.d.ts +24 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuViewport.vue.d.ts +8 -0
- package/dist/components/navigation/NavigationMenu/context.d.ts +4 -0
- package/dist/components/navigation/NavigationMenu/index.d.ts +14 -0
- package/dist/components/navigation/NavigationMenu/variants.d.ts +25 -0
- package/dist/components/navigation/Pagination/Pagination.vue.d.ts +57 -0
- package/dist/components/navigation/Pagination/index.d.ts +6 -0
- package/dist/components/navigation/Pagination/range.d.ts +9 -0
- package/dist/components/navigation/Pagination/variants.d.ts +26 -0
- package/dist/components/navigation/SidebarNav/SidebarNav.vue.d.ts +67 -0
- package/dist/components/navigation/SidebarNav/index.d.ts +4 -0
- package/dist/components/navigation/SidebarNav/variants.d.ts +29 -0
- package/dist/components/navigation/SkipLink/SkipLink.vue.d.ts +29 -0
- package/dist/components/navigation/SkipLink/index.d.ts +4 -0
- package/dist/components/navigation/SkipLink/variants.d.ts +20 -0
- package/dist/components/navigation/Stepper/Stepper.vue.d.ts +68 -0
- package/dist/components/navigation/Stepper/index.d.ts +4 -0
- package/dist/components/navigation/Stepper/variants.d.ts +51 -0
- package/dist/components/navigation/StylePicker/StylePicker.vue.d.ts +14 -0
- package/dist/components/navigation/StylePicker/index.d.ts +2 -0
- package/dist/components/navigation/TableOfContents/TableOfContents.vue.d.ts +40 -0
- package/dist/components/navigation/TableOfContents/index.d.ts +4 -0
- package/dist/components/navigation/TableOfContents/variants.d.ts +39 -0
- package/dist/components/navigation/Tabs/Tabs.vue.d.ts +46 -0
- package/dist/components/navigation/Tabs/TabsContent.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/TabsList.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/context.d.ts +11 -0
- package/dist/components/navigation/Tabs/index.d.ts +9 -0
- package/dist/components/navigation/Tabs/variants.d.ts +32 -0
- package/dist/components/navigation/ThemeToggle/ThemeToggle.vue.d.ts +20 -0
- package/dist/components/navigation/ThemeToggle/index.d.ts +4 -0
- package/dist/components/navigation/ThemeToggle/variants.d.ts +37 -0
- package/dist/components/navigation/Toolbar/Toolbar.vue.d.ts +45 -0
- package/dist/components/navigation/Toolbar/ToolbarButton.vue.d.ts +31 -0
- package/dist/components/navigation/Toolbar/ToolbarLink.vue.d.ts +26 -0
- package/dist/components/navigation/Toolbar/ToolbarSeparator.vue.d.ts +9 -0
- package/dist/components/navigation/Toolbar/ToolbarToggleGroup.vue.d.ts +36 -0
- package/dist/components/navigation/Toolbar/ToolbarToggleItem.vue.d.ts +29 -0
- package/dist/components/navigation/Toolbar/context.d.ts +12 -0
- package/dist/components/navigation/Toolbar/index.d.ts +16 -0
- package/dist/components/navigation/Toolbar/variants.d.ts +85 -0
- package/dist/components/navigation/contract.d.ts +36 -0
- package/dist/components/navigation/index.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogAction.vue.d.ts +26 -0
- package/dist/components/overlays/AlertDialog/AlertDialogCancel.vue.d.ts +26 -0
- package/dist/components/overlays/AlertDialog/AlertDialogContent.vue.d.ts +47 -0
- package/dist/components/overlays/AlertDialog/AlertDialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogFooter.vue.d.ts +19 -0
- package/dist/components/overlays/AlertDialog/AlertDialogHeader.vue.d.ts +19 -0
- package/dist/components/overlays/AlertDialog/AlertDialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/AlertDialog/context.d.ts +5 -0
- package/dist/components/overlays/AlertDialog/index.d.ts +12 -0
- package/dist/components/overlays/AlertDialog/variants.d.ts +22 -0
- package/dist/components/overlays/Command/Command.vue.d.ts +59 -0
- package/dist/components/overlays/Command/CommandDialog.vue.d.ts +40 -0
- package/dist/components/overlays/Command/CommandEmpty.vue.d.ts +19 -0
- package/dist/components/overlays/Command/CommandGroup.vue.d.ts +21 -0
- package/dist/components/overlays/Command/CommandInput.vue.d.ts +8 -0
- package/dist/components/overlays/Command/CommandItem.vue.d.ts +25 -0
- package/dist/components/overlays/Command/CommandList.vue.d.ts +69 -0
- package/dist/components/overlays/Command/CommandSeparator.vue.d.ts +7 -0
- package/dist/components/overlays/Command/CommandShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/Command/commandContext.d.ts +25 -0
- package/dist/components/overlays/Command/index.d.ts +13 -0
- package/dist/components/overlays/Command/variants.d.ts +71 -0
- package/dist/components/overlays/ContextMenu/ContextMenu.vue.d.ts +25 -0
- package/dist/components/overlays/ContextMenu/ContextMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/components/overlays/ContextMenu/ContextMenuContent.vue.d.ts +39 -0
- package/dist/components/overlays/ContextMenu/ContextMenuGroup.vue.d.ts +16 -0
- package/dist/components/overlays/ContextMenu/ContextMenuItem.vue.d.ts +26 -0
- package/dist/components/overlays/ContextMenu/ContextMenuLabel.vue.d.ts +21 -0
- package/dist/components/overlays/ContextMenu/ContextMenuRadioGroup.vue.d.ts +20 -0
- package/dist/components/overlays/ContextMenu/ContextMenuRadioItem.vue.d.ts +24 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/ContextMenu/ContextMenuShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSub.vue.d.ts +20 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSubTrigger.vue.d.ts +21 -0
- package/dist/components/overlays/ContextMenu/ContextMenuTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/ContextMenu/index.d.ts +14 -0
- package/dist/components/overlays/Dialog/Dialog.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogClose.vue.d.ts +16 -0
- package/dist/components/overlays/Dialog/DialogContent.vue.d.ts +50 -0
- package/dist/components/overlays/Dialog/DialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogFooter.vue.d.ts +19 -0
- package/dist/components/overlays/Dialog/DialogHeader.vue.d.ts +19 -0
- package/dist/components/overlays/Dialog/DialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/Dialog/index.d.ts +13 -0
- package/dist/components/overlays/Dialog/variants.d.ts +24 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenu.vue.d.ts +25 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuContent.vue.d.ts +41 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuGroup.vue.d.ts +16 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuLabel.vue.d.ts +21 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuRadioGroup.vue.d.ts +20 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuRadioItem.vue.d.ts +24 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSub.vue.d.ts +20 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSubTrigger.vue.d.ts +21 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/DropdownMenu/density.d.ts +10 -0
- package/dist/components/overlays/DropdownMenu/index.d.ts +16 -0
- package/dist/components/overlays/HoverCard/HoverCard.vue.d.ts +20 -0
- package/dist/components/overlays/HoverCard/HoverCardContent.vue.d.ts +32 -0
- package/dist/components/overlays/HoverCard/HoverCardTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/HoverCard/index.d.ts +5 -0
- package/dist/components/overlays/HoverCard/variants.d.ts +28 -0
- package/dist/components/overlays/Popover/Popover.vue.d.ts +20 -0
- package/dist/components/overlays/Popover/PopoverAnchor.vue.d.ts +16 -0
- package/dist/components/overlays/Popover/PopoverClose.vue.d.ts +16 -0
- package/dist/components/overlays/Popover/PopoverContent.vue.d.ts +46 -0
- package/dist/components/overlays/Popover/PopoverTrigger.vue.d.ts +62 -0
- package/dist/components/overlays/Popover/index.d.ts +7 -0
- package/dist/components/overlays/Popover/variants.d.ts +29 -0
- package/dist/components/overlays/Sheet/Sheet.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetClose.vue.d.ts +16 -0
- package/dist/components/overlays/Sheet/SheetContent.vue.d.ts +56 -0
- package/dist/components/overlays/Sheet/SheetDescription.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetFooter.vue.d.ts +19 -0
- package/dist/components/overlays/Sheet/SheetHeader.vue.d.ts +19 -0
- package/dist/components/overlays/Sheet/SheetTitle.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/Sheet/index.d.ts +11 -0
- package/dist/components/overlays/Sheet/variants.d.ts +30 -0
- package/dist/components/overlays/ShortcutsDialog/ShortcutsDialog.vue.d.ts +70 -0
- package/dist/components/overlays/ShortcutsDialog/index.d.ts +4 -0
- package/dist/components/overlays/ShortcutsDialog/variants.d.ts +38 -0
- package/dist/components/overlays/Tooltip/SimpleTooltip.vue.d.ts +42 -0
- package/dist/components/overlays/Tooltip/Tooltip.vue.d.ts +22 -0
- package/dist/components/overlays/Tooltip/TooltipContent.vue.d.ts +36 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.vue.d.ts +18 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.vue.d.ts +64 -0
- package/dist/components/overlays/Tooltip/context.d.ts +7 -0
- package/dist/components/overlays/Tooltip/index.d.ts +8 -0
- package/dist/components/overlays/Tooltip/variants.d.ts +28 -0
- package/dist/components/overlays/Tour/Tour.vue.d.ts +126 -0
- package/dist/components/overlays/Tour/index.d.ts +6 -0
- package/dist/components/overlays/Tour/position.d.ts +29 -0
- package/dist/components/overlays/Tour/variants.d.ts +21 -0
- package/dist/components/overlays/index.d.ts +11 -0
- package/dist/components/overlays/menuContext.d.ts +19 -0
- package/dist/components/overlays/menuStyles.d.ts +59 -0
- package/dist/components/overlays/overlayTone.d.ts +10 -0
- package/dist/components/overlays/triggerCheck.d.ts +19 -0
- package/dist/components/primitives/AspectRatio/AspectRatio.vue.d.ts +35 -0
- package/dist/components/primitives/AspectRatio/index.d.ts +4 -0
- package/dist/components/primitives/AspectRatio/variants.d.ts +21 -0
- package/dist/components/primitives/Avatar/Avatar.vue.d.ts +41 -0
- package/dist/components/primitives/Avatar/context.d.ts +10 -0
- package/dist/components/primitives/Avatar/index.d.ts +6 -0
- package/dist/components/primitives/Avatar/variants.d.ts +23 -0
- package/dist/components/primitives/AvatarGroup/AvatarGroup.vue.d.ts +34 -0
- package/dist/components/primitives/AvatarGroup/flatten.d.ts +3 -0
- package/dist/components/primitives/AvatarGroup/index.d.ts +4 -0
- package/dist/components/primitives/AvatarGroup/variants.d.ts +12 -0
- package/dist/components/primitives/Badge/Badge.vue.d.ts +38 -0
- package/dist/components/primitives/Badge/index.d.ts +4 -0
- package/dist/components/primitives/Badge/variants.d.ts +32 -0
- package/dist/components/primitives/Button/Button.vue.d.ts +51 -0
- package/dist/components/primitives/Button/index.d.ts +4 -0
- package/dist/components/primitives/Button/variants.d.ts +14 -0
- package/dist/components/primitives/Chip/Chip.vue.d.ts +59 -0
- package/dist/components/primitives/Chip/index.d.ts +4 -0
- package/dist/components/primitives/Chip/variants.d.ts +15 -0
- package/dist/components/primitives/CountBadge/CountBadge.vue.d.ts +34 -0
- package/dist/components/primitives/CountBadge/CountBadgeAnchor.vue.d.ts +28 -0
- package/dist/components/primitives/CountBadge/count.d.ts +18 -0
- package/dist/components/primitives/CountBadge/index.d.ts +8 -0
- package/dist/components/primitives/CountBadge/variants.d.ts +42 -0
- package/dist/components/primitives/Icon/Icon.vue.d.ts +19 -0
- package/dist/components/primitives/Icon/index.d.ts +2 -0
- package/dist/components/primitives/IconButton/IconButton.vue.d.ts +42 -0
- package/dist/components/primitives/IconButton/index.d.ts +4 -0
- package/dist/components/primitives/IconButton/variants.d.ts +27 -0
- package/dist/components/primitives/Kbd/Kbd.vue.d.ts +29 -0
- package/dist/components/primitives/Kbd/KbdGroup.vue.d.ts +26 -0
- package/dist/components/primitives/Kbd/flatten.d.ts +3 -0
- package/dist/components/primitives/Kbd/index.d.ts +6 -0
- package/dist/components/primitives/Kbd/variants.d.ts +42 -0
- package/dist/components/primitives/Link/Link.vue.d.ts +41 -0
- package/dist/components/primitives/Link/index.d.ts +4 -0
- package/dist/components/primitives/Link/variants.d.ts +22 -0
- package/dist/components/primitives/Progress/Progress.vue.d.ts +37 -0
- package/dist/components/primitives/Progress/index.d.ts +4 -0
- package/dist/components/primitives/Progress/variants.d.ts +40 -0
- package/dist/components/primitives/ProgressRing/ProgressRing.vue.d.ts +44 -0
- package/dist/components/primitives/ProgressRing/index.d.ts +4 -0
- package/dist/components/primitives/ProgressRing/variants.d.ts +24 -0
- package/dist/components/primitives/ScrollArea/ScrollArea.vue.d.ts +47 -0
- package/dist/components/primitives/ScrollArea/ScrollBar.vue.d.ts +19 -0
- package/dist/components/primitives/ScrollArea/index.d.ts +6 -0
- package/dist/components/primitives/ScrollArea/scrollable.d.ts +15 -0
- package/dist/components/primitives/ScrollArea/variants.d.ts +31 -0
- package/dist/components/primitives/Separator/Separator.vue.d.ts +41 -0
- package/dist/components/primitives/Separator/index.d.ts +4 -0
- package/dist/components/primitives/Separator/variants.d.ts +52 -0
- package/dist/components/primitives/ShowMore/ShowMore.vue.d.ts +65 -0
- package/dist/components/primitives/ShowMore/index.d.ts +4 -0
- package/dist/components/primitives/ShowMore/layout-stub.d.ts +22 -0
- package/dist/components/primitives/ShowMore/variants.d.ts +51 -0
- package/dist/components/primitives/Skeleton/Skeleton.vue.d.ts +26 -0
- package/dist/components/primitives/Skeleton/index.d.ts +4 -0
- package/dist/components/primitives/Skeleton/variants.d.ts +29 -0
- package/dist/components/primitives/Spinner/Spinner.vue.d.ts +14 -0
- package/dist/components/primitives/Spinner/index.d.ts +2 -0
- package/dist/components/primitives/StatusBadge/StatusBadge.vue.d.ts +45 -0
- package/dist/components/primitives/StatusBadge/index.d.ts +6 -0
- package/dist/components/primitives/StatusBadge/status.d.ts +16 -0
- package/dist/components/primitives/StatusBadge/variants.d.ts +36 -0
- package/dist/components/primitives/StatusDot/StatusDot.vue.d.ts +23 -0
- package/dist/components/primitives/StatusDot/index.d.ts +4 -0
- package/dist/components/primitives/StatusDot/variants.d.ts +32 -0
- package/dist/components/primitives/Toggle/Toggle.vue.d.ts +48 -0
- package/dist/components/primitives/Toggle/index.d.ts +4 -0
- package/dist/components/primitives/Toggle/variants.d.ts +32 -0
- package/dist/components/primitives/ToggleGroup/ToggleGroup.vue.d.ts +63 -0
- package/dist/components/primitives/ToggleGroup/ToggleGroupItem.vue.d.ts +40 -0
- package/dist/components/primitives/ToggleGroup/context.d.ts +21 -0
- package/dist/components/primitives/ToggleGroup/index.d.ts +8 -0
- package/dist/components/primitives/ToggleGroup/variants.d.ts +40 -0
- package/dist/components/primitives/VisuallyHidden/VisuallyHidden.vue.d.ts +24 -0
- package/dist/components/primitives/VisuallyHidden/index.d.ts +2 -0
- package/dist/components/primitives/index.d.ts +23 -0
- package/dist/components/typography/Blockquote/Blockquote.vue.d.ts +51 -0
- package/dist/components/typography/Blockquote/index.d.ts +4 -0
- package/dist/components/typography/Blockquote/variants.d.ts +23 -0
- package/dist/components/typography/Eyebrow/Eyebrow.vue.d.ts +35 -0
- package/dist/components/typography/Eyebrow/index.d.ts +4 -0
- package/dist/components/typography/Eyebrow/variants.d.ts +28 -0
- package/dist/components/typography/FormattedNumber/FormattedNumber.vue.d.ts +54 -0
- package/dist/components/typography/FormattedNumber/format.d.ts +51 -0
- package/dist/components/typography/FormattedNumber/index.d.ts +6 -0
- package/dist/components/typography/FormattedNumber/variants.d.ts +28 -0
- package/dist/components/typography/Heading/Heading.vue.d.ts +56 -0
- package/dist/components/typography/Heading/index.d.ts +4 -0
- package/dist/components/typography/Heading/variants.d.ts +41 -0
- package/dist/components/typography/InlineCode/InlineCode.vue.d.ts +33 -0
- package/dist/components/typography/InlineCode/index.d.ts +4 -0
- package/dist/components/typography/InlineCode/variants.d.ts +24 -0
- package/dist/components/typography/Lead/Lead.vue.d.ts +33 -0
- package/dist/components/typography/Lead/index.d.ts +4 -0
- package/dist/components/typography/Lead/variants.d.ts +22 -0
- package/dist/components/typography/Markdown/Markdown.vue.d.ts +29 -0
- package/dist/components/typography/Markdown/index.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/ast.d.ts +118 -0
- package/dist/components/typography/Markdown/parse/block.d.ts +9 -0
- package/dist/components/typography/Markdown/parse/entities.d.ts +9 -0
- package/dist/components/typography/Markdown/parse/headings.d.ts +21 -0
- package/dist/components/typography/Markdown/parse/index.d.ts +12 -0
- package/dist/components/typography/Markdown/parse/info.d.ts +8 -0
- package/dist/components/typography/Markdown/parse/inline.d.ts +22 -0
- package/dist/components/typography/Markdown/parse/parse.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/slug.d.ts +4 -0
- package/dist/components/typography/Markdown/parse/testing.d.ts +7 -0
- package/dist/components/typography/Markdown/parse/text.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/url.d.ts +22 -0
- package/dist/components/typography/Markdown/render.d.ts +39 -0
- package/dist/components/typography/Markdown/source.d.ts +5 -0
- package/dist/components/typography/Markdown/types.d.ts +62 -0
- package/dist/components/typography/Markdown/variants.d.ts +66 -0
- package/dist/components/typography/Prose/Prose.vue.d.ts +36 -0
- package/dist/components/typography/Prose/index.d.ts +4 -0
- package/dist/components/typography/Prose/variants.d.ts +14 -0
- package/dist/components/typography/RelativeTime/RelativeTime.vue.d.ts +55 -0
- package/dist/components/typography/RelativeTime/clock.d.ts +18 -0
- package/dist/components/typography/RelativeTime/format.d.ts +45 -0
- package/dist/components/typography/RelativeTime/index.d.ts +9 -0
- package/dist/components/typography/RelativeTime/units.d.ts +26 -0
- package/dist/components/typography/RelativeTime/variants.d.ts +24 -0
- package/dist/components/typography/Text/Text.vue.d.ts +49 -0
- package/dist/components/typography/Text/index.d.ts +4 -0
- package/dist/components/typography/Text/variants.d.ts +45 -0
- package/dist/components/typography/index.d.ts +10 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useControllableState.d.ts +7 -0
- package/dist/composables/useDisclosure.d.ts +10 -0
- package/dist/docs-types.d.ts +81 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +69354 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cn.d.ts +5 -0
- package/dist/lib/contract.d.ts +61 -0
- package/dist/lib/cva.d.ts +26 -0
- package/dist/lib/hotkeys.d.ts +112 -0
- package/dist/lib/icons-tools.d.ts +13 -0
- package/dist/lib/icons.d.ts +41 -0
- package/dist/lib/index.d.ts +7 -0
- package/dist/lib/styles.d.ts +13 -0
- package/dist/lib/types.d.ts +11 -0
- package/dist/lib/use-helpers.d.ts +24 -0
- package/dist/registry.d.ts +3 -0
- package/dist/stores/index.d.ts +2 -0
- package/dist/stores/theme.d.ts +28 -0
- package/dist/stores/toast.d.ts +56 -0
- package/package.json +73 -4
- package/src/styles/packs/contrast.css +32 -0
- package/src/styles/packs/editorial.css +24 -0
- package/src/styles/packs/quiet.css +40 -0
- package/src/styles/packs/raw.css +21 -0
- package/src/styles/packs/tactile.css +25 -0
- package/src/styles/packs/terminal.css +35 -0
- package/src/styles/packs/workbench.css +42 -0
- package/src/styles/packs.css +8 -0
- package/src/styles/theme.css +327 -0
- package/src/styles/themes/amber.css +17 -0
- package/src/styles/themes/cyan.css +17 -0
- package/src/styles/themes/emerald.css +17 -0
- package/src/styles/themes/indigo.css +17 -0
- package/src/styles/themes/lime.css +27 -0
- package/src/styles/themes/rose.css +17 -0
- package/src/styles/themes/violet.css +17 -0
- package/README.md +0 -3
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export interface GraphNode {
|
|
2
|
+
/** Unique id; edges refer to it. A repeated id is ignored (the first node wins). */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Visible and accessible name. Defaults to the id. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Group name: colour and marker shape of the node, and one hull in `variant="grouped"`. */
|
|
7
|
+
group?: string;
|
|
8
|
+
/** Relative size. Without it the node grows with its weighted degree. */
|
|
9
|
+
size?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface GraphEdge {
|
|
12
|
+
from: string;
|
|
13
|
+
to: string;
|
|
14
|
+
/** Relative strength (positive number). Drives the line width; counts towards the node degree. */
|
|
15
|
+
weight?: number;
|
|
16
|
+
/** Draw an arrowhead at `to`. Overrides the `directed` prop. */
|
|
17
|
+
directed?: boolean;
|
|
18
|
+
/** Short text on the line (variant `labelled`) and in the text alternative. */
|
|
19
|
+
label?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface NormNode {
|
|
22
|
+
id: string;
|
|
23
|
+
label: string;
|
|
24
|
+
group: string | null;
|
|
25
|
+
/** Index of `group` in `NormGraph.groups`, -1 without a group. */
|
|
26
|
+
groupIndex: number;
|
|
27
|
+
/** Explicit valid `size`, otherwise null. */
|
|
28
|
+
size: number | null;
|
|
29
|
+
/** Sum of the weights of the incident edges (a self loop counts once). */
|
|
30
|
+
degree: number;
|
|
31
|
+
/** Number of incident edges (a self loop counts once). */
|
|
32
|
+
connections: number;
|
|
33
|
+
}
|
|
34
|
+
export interface NormEdge {
|
|
35
|
+
from: number;
|
|
36
|
+
to: number;
|
|
37
|
+
/** Valid explicit weight, otherwise null. */
|
|
38
|
+
weight: number | null;
|
|
39
|
+
directed: boolean;
|
|
40
|
+
label: string;
|
|
41
|
+
self: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface NormGraph {
|
|
44
|
+
nodes: NormNode[];
|
|
45
|
+
edges: NormEdge[];
|
|
46
|
+
groups: string[];
|
|
47
|
+
/** Unique valid nodes before the `maxNodes` cap. */
|
|
48
|
+
total: number;
|
|
49
|
+
capped: boolean;
|
|
50
|
+
/** Entries repeating an id that was already taken. */
|
|
51
|
+
duplicates: number;
|
|
52
|
+
/** Node entries without a usable id. */
|
|
53
|
+
invalidNodes: number;
|
|
54
|
+
/** Edges dropped because an endpoint is unknown (or was cut by the cap), or the entry is not an edge. */
|
|
55
|
+
skippedEdges: number;
|
|
56
|
+
}
|
|
57
|
+
export declare const DEFAULT_MAX_NODES = 300;
|
|
58
|
+
export declare const MAX_NODES_LIMIT = 5000;
|
|
59
|
+
/** An id is a non-empty string or a finite number; anything else is unusable. */
|
|
60
|
+
export declare function nodeId(v: unknown): string | null;
|
|
61
|
+
/** `maxNodes` as an integer in 1..5000; anything else is the default of 300. */
|
|
62
|
+
export declare function normalizeMaxNodes(v: unknown): number;
|
|
63
|
+
export declare function normalizeGraph(nodes: unknown, edges: unknown, maxNodes: unknown, defaultDirected?: boolean): NormGraph;
|
|
64
|
+
/** `A to B` for a directed connection, `A and B` otherwise, plus weight and label when present. */
|
|
65
|
+
export declare function describeEdge(g: NormGraph, e: NormEdge): string;
|
|
66
|
+
export declare function formatPlain(n: number): string;
|
|
67
|
+
/** Messages shown under the chart when the data was cut or cleaned. */
|
|
68
|
+
export declare function graphNotes(g: NormGraph): string[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as NetworkGraph } from './NetworkGraph.vue';
|
|
2
|
+
export type { NetworkGraphProps } from './NetworkGraph.vue';
|
|
3
|
+
export { networkGraphVariants, NETWORK_HEIGHTS, NETWORK_SIZES, NETWORK_VARIANTS, NETWORK_EDGE_STYLES } from './variants';
|
|
4
|
+
export type { NetworkGraphVariants, NetworkGraphSize, NetworkGraphVariant, NetworkGraphEdgeStyle, NetworkGraphLayout } from './variants';
|
|
5
|
+
export { computeNetworkLayout, NETWORK_LAYOUTS } from './networkLayout';
|
|
6
|
+
export type { UnitPoint } from './networkLayout';
|
|
7
|
+
export type { GraphNode as NetworkGraphNode, GraphEdge as NetworkGraphEdge } from './graphData';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { NormGraph } from './graphData';
|
|
2
|
+
export interface Pt {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
/** Radius range in px. Many nodes shrink it so a dense graph stays readable. */
|
|
7
|
+
export declare function radiusRange(n: number): {
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
};
|
|
11
|
+
/** Node radii: `size` when set, else the weighted degree, mapped on a square-root scale to the radius range. */
|
|
12
|
+
export declare function nodeRadii(g: NormGraph): number[];
|
|
13
|
+
/** Stroke width of an edge: 1.5 without weights, otherwise 1 to 4 on a square-root scale of the weight. */
|
|
14
|
+
export declare function edgeWidths(g: NormGraph): number[];
|
|
15
|
+
export interface EdgeShape {
|
|
16
|
+
/** Path data of the line. */
|
|
17
|
+
d: string;
|
|
18
|
+
/** Polygon points of the arrowhead, or '' for none. */
|
|
19
|
+
arrow: string;
|
|
20
|
+
/** Point on the line halfway along, for the edge label. */
|
|
21
|
+
mid: Pt;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Line between two nodes, trimmed at the node borders so an arrowhead touches the border. `curved` bends the line to one
|
|
25
|
+
* side of its direction (so A to B and B to A separate); a self loop is a small loop above the node.
|
|
26
|
+
*/
|
|
27
|
+
export declare function edgeShape(a: Pt & {
|
|
28
|
+
r: number;
|
|
29
|
+
}, b: Pt & {
|
|
30
|
+
r: number;
|
|
31
|
+
}, o: {
|
|
32
|
+
curved: boolean;
|
|
33
|
+
directed: boolean;
|
|
34
|
+
self: boolean;
|
|
35
|
+
}): EdgeShape;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic layouts for NetworkGraph. Every layout works in the unit square (0..1 on both axes), does not depend on
|
|
3
|
+
* the rendered width, uses no randomness and no clock: the same graph always yields the same points.
|
|
4
|
+
*/
|
|
5
|
+
import type { NormGraph } from './graphData';
|
|
6
|
+
export interface UnitPoint {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}
|
|
10
|
+
export type NetworkLayout = 'force' | 'circular' | 'grid' | 'layered';
|
|
11
|
+
export declare const NETWORK_LAYOUTS: readonly NetworkLayout[];
|
|
12
|
+
export interface LayoutResult {
|
|
13
|
+
points: UnitPoint[];
|
|
14
|
+
/** Node indexes in reading order: the order of keyboard navigation and of the text alternative. */
|
|
15
|
+
order: number[];
|
|
16
|
+
/** True when x and y must keep their ratio (the circular layout stays a circle). */
|
|
17
|
+
uniform: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const FORCE_MIN_ITERATIONS = 12;
|
|
20
|
+
export declare const FORCE_MAX_ITERATIONS = 220;
|
|
21
|
+
/** Fixed iteration count for `n` nodes: a pure function of the size, so the result never depends on timing. */
|
|
22
|
+
export declare function forceIterations(n: number): number;
|
|
23
|
+
/** Stretch the points so they span the whole unit square; a collapsed axis is centred. */
|
|
24
|
+
export declare function fitUnit(points: UnitPoint[]): UnitPoint[];
|
|
25
|
+
/**
|
|
26
|
+
* Fruchterman-Reingold on the unit square: a golden-angle spiral start, a fixed number of iterations, linear cooling,
|
|
27
|
+
* and a pull to the centre so unconnected parts stay in view. The result is stretched to fill the square.
|
|
28
|
+
*/
|
|
29
|
+
export declare function forceLayout(g: NormGraph): UnitPoint[];
|
|
30
|
+
/** Node indexes sorted by group (ungrouped last), ties by index, so groups sit together on a ring or grid. */
|
|
31
|
+
export declare function groupedOrder(g: NormGraph): number[];
|
|
32
|
+
export declare function circularLayout(g: NormGraph): {
|
|
33
|
+
points: UnitPoint[];
|
|
34
|
+
order: number[];
|
|
35
|
+
};
|
|
36
|
+
export declare function gridLayout(g: NormGraph): {
|
|
37
|
+
points: UnitPoint[];
|
|
38
|
+
order: number[];
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Layer of every node for the layered layout. Cycles are broken deterministically: a depth-first search in node order
|
|
42
|
+
* reverses every edge that points at a node still on the stack. Layers then follow the longest path. Self loops are ignored.
|
|
43
|
+
*/
|
|
44
|
+
export declare function layerRanks(g: NormGraph): {
|
|
45
|
+
rank: number[];
|
|
46
|
+
dag: [number, number][];
|
|
47
|
+
};
|
|
48
|
+
export declare function layeredLayout(g: NormGraph): {
|
|
49
|
+
points: UnitPoint[];
|
|
50
|
+
order: number[];
|
|
51
|
+
};
|
|
52
|
+
export declare function computeNetworkLayout(g: NormGraph, layout: NetworkLayout): LayoutResult;
|
|
53
|
+
/** Convex hull (Andrew's monotone chain), counter-clockwise, no repeated points. Fewer than 3 distinct points are returned as is. */
|
|
54
|
+
export declare function convexHull(points: UnitPoint[]): UnitPoint[];
|
|
55
|
+
/** Eight points on a circle of `pad` around every centre, so the hull of them encloses the nodes with a margin. */
|
|
56
|
+
export declare function padPoints(centres: {
|
|
57
|
+
x: number;
|
|
58
|
+
y: number;
|
|
59
|
+
}[], pad: number): UnitPoint[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
import type { NetworkLayout } from './networkLayout';
|
|
3
|
+
/** Root wrapper. `size` sets the space between title, drawing, legend and notes; the drawing height has its own table. */
|
|
4
|
+
export declare const networkGraphVariants: (props?: ({
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
class?: import("../../..").ClassInput;
|
|
8
|
+
className?: import("../../..").ClassInput;
|
|
9
|
+
}) | undefined) => string;
|
|
10
|
+
export type NetworkGraphVariants = VariantProps<typeof networkGraphVariants>;
|
|
11
|
+
export type NetworkGraphSize = NonNullable<NetworkGraphVariants['size']>;
|
|
12
|
+
/** `plain` nodes only, `labelled` adds node and connection labels, `grouped` outlines every group with a hull. */
|
|
13
|
+
export type NetworkGraphVariant = 'plain' | 'labelled' | 'grouped';
|
|
14
|
+
export type NetworkGraphEdgeStyle = 'straight' | 'curved';
|
|
15
|
+
export type { NetworkLayout as NetworkGraphLayout };
|
|
16
|
+
export declare const NETWORK_SIZES: readonly NetworkGraphSize[];
|
|
17
|
+
export declare const NETWORK_VARIANTS: readonly NetworkGraphVariant[];
|
|
18
|
+
export declare const NETWORK_EDGE_STYLES: readonly NetworkGraphEdgeStyle[];
|
|
19
|
+
/** Drawing height (viewBox units) per `size`. A graph needs more room than a bar chart. */
|
|
20
|
+
export declare const NETWORK_HEIGHTS: Record<NetworkGraphSize, number>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type ChartSeries } from '../_chart/chartKit';
|
|
3
|
+
import { type RadarChartShape, type RadarChartSize, type RadarChartVariant, type RadarLevels } from './variants';
|
|
4
|
+
export type RadarChartSeries = ChartSeries;
|
|
5
|
+
export interface RadarChartProps extends BaseProps {
|
|
6
|
+
/** Names of the axes (at least 3), clockwise from the top. */
|
|
7
|
+
axes: string[];
|
|
8
|
+
/** One shape per entry: `{ name, data, tone? }`, with one value per axis in the order of `axes`. Missing or non-finite values sit at the centre and read "n/a". */
|
|
9
|
+
series: RadarChartSeries[];
|
|
10
|
+
/** `line` outlines each series, `area` adds a soft fill, `dots` draws only the markers. Every variant gives each series its own dash pattern or marker shape. */
|
|
11
|
+
variant?: RadarChartVariant;
|
|
12
|
+
/** Shape of the rings and the axis web: straight segments (`polygon`) or circles. */
|
|
13
|
+
shape?: RadarChartShape;
|
|
14
|
+
/** Number of rings, 3 to 6. */
|
|
15
|
+
levels?: RadarLevels;
|
|
16
|
+
/** Height of the chart (220 / 300 / 380). The radar is as wide as the container allows and keeps its axis labels inside. */
|
|
17
|
+
size?: RadarChartSize;
|
|
18
|
+
/** Value at the centre. Defaults to 0, or the lowest value when that is negative. */
|
|
19
|
+
min?: number;
|
|
20
|
+
/** Value at the outer ring. Defaults to a round number that covers the data. */
|
|
21
|
+
max?: number;
|
|
22
|
+
/** Print the value of each point next to it. Values that would overlap are left out; none are drawn beyond 48 points. */
|
|
23
|
+
showValues?: boolean;
|
|
24
|
+
/** Print the value of each ring along the first axis. */
|
|
25
|
+
showScale?: boolean;
|
|
26
|
+
/** `'auto'` shows the legend when there is more than one series. */
|
|
27
|
+
showLegend?: boolean | 'auto';
|
|
28
|
+
/** Formats ring labels, values and tooltips. Defaults to compact (rings) / grouped (tooltip) numbers. */
|
|
29
|
+
valueFormatter?: (n: number) => string;
|
|
30
|
+
/** Accessible name of the chart image. Without it `title` names the chart. */
|
|
31
|
+
label?: string;
|
|
32
|
+
/** Visible heading above the chart. */
|
|
33
|
+
title?: string;
|
|
34
|
+
/** Visible description under the title. The image is described by it. */
|
|
35
|
+
description?: string;
|
|
36
|
+
/** Shown when there is nothing to plot. */
|
|
37
|
+
emptyText?: string;
|
|
38
|
+
/** Show a busy placeholder instead of the chart. */
|
|
39
|
+
loading?: boolean;
|
|
40
|
+
/** Message of the loading placeholder. */
|
|
41
|
+
loadingText?: string;
|
|
42
|
+
/** ViewBox width used until the container is measured. The chart then fills its container (1 unit = 1 CSS px). */
|
|
43
|
+
width?: number;
|
|
44
|
+
/** ViewBox height. Overrides `size`. */
|
|
45
|
+
height?: number;
|
|
46
|
+
}
|
|
47
|
+
declare const __VLS_export: import("vue").DefineComponent<RadarChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadarChartProps> & Readonly<{}>, {
|
|
48
|
+
size: RadarChartSize;
|
|
49
|
+
variant: RadarChartVariant;
|
|
50
|
+
loading: boolean;
|
|
51
|
+
width: number;
|
|
52
|
+
shape: RadarChartShape;
|
|
53
|
+
emptyText: string;
|
|
54
|
+
showValues: boolean;
|
|
55
|
+
showLegend: boolean | "auto";
|
|
56
|
+
levels: RadarLevels;
|
|
57
|
+
loadingText: string;
|
|
58
|
+
showScale: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
declare const _default: typeof __VLS_export;
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as RadarChart } from './RadarChart.vue';
|
|
2
|
+
export type { RadarChartProps, RadarChartSeries } from './RadarChart.vue';
|
|
3
|
+
export { radarChartVariants } from './variants';
|
|
4
|
+
export type { RadarChartVariants, RadarChartSize, RadarChartVariant, RadarChartShape, RadarLevels } from './variants';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface RadarScale {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
}
|
|
5
|
+
/** Smallest 1 / 2 / 2.5 / 5 x 10^n that is >= `x` (a non-positive or non-finite `x` gives 1). */
|
|
6
|
+
export declare function niceStep(x: number): number;
|
|
7
|
+
/** The next step of the ladder after `step`. */
|
|
8
|
+
export declare function nextStep(step: number): number;
|
|
9
|
+
/**
|
|
10
|
+
* Scale of the rings. Without `min` the scale starts at 0 (or the lowest value when that is negative); without `max` it
|
|
11
|
+
* ends at the first multiple of a nice step (`levels` steps from the start) that covers the data. A reversed or equal
|
|
12
|
+
* `min` / `max` pair is repaired instead of drawing nothing.
|
|
13
|
+
*/
|
|
14
|
+
export declare function radarScale(values: readonly unknown[], levels: number, min?: unknown, max?: unknown): RadarScale;
|
|
15
|
+
/** Radius (0..1) of `value` on the scale. Values outside the scale are clamped to the centre / rim. */
|
|
16
|
+
export declare function radarFraction(value: number, scale: RadarScale): number;
|
|
17
|
+
export interface Polar {
|
|
18
|
+
/** Unit vector of the axis (x to the right, y down), the first axis points up. */
|
|
19
|
+
dx: number;
|
|
20
|
+
dy: number;
|
|
21
|
+
}
|
|
22
|
+
/** Direction of axis `i` of `n`: the first one points up, the rest follow clockwise. */
|
|
23
|
+
export declare function axisDirection(i: number, n: number): Polar;
|
|
24
|
+
/** Closed polygon path through the points. */
|
|
25
|
+
export declare function polygonPath(points: readonly {
|
|
26
|
+
x: number;
|
|
27
|
+
y: number;
|
|
28
|
+
}[]): string;
|
|
29
|
+
/** Which side of its anchor an axis label sits on: axes on the right read to the right, on the left to the left. */
|
|
30
|
+
export declare function labelAnchor(dx: number): 'start' | 'middle' | 'end';
|
|
31
|
+
/**
|
|
32
|
+
* Largest radius for which every axis label (box `widths[i]` x `heights[i]`, lines of `lineH`) stays inside a W x H box,
|
|
33
|
+
* `gap` away from the rim. Never smaller than `minR`; a tiny box therefore clips instead of collapsing the chart.
|
|
34
|
+
*/
|
|
35
|
+
export declare function radarRadius(W: number, H: number, widths: readonly number[], heights: readonly number[], gap?: number, pad?: number, minR?: number, lineH?: number): number;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
/** Root of a RadarChart (the figure). `size` sets the space between caption, plot, legend and the hidden data table. */
|
|
3
|
+
export declare const radarChartVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
class?: import("../../..").ClassInput;
|
|
7
|
+
className?: import("../../..").ClassInput;
|
|
8
|
+
}) | undefined) => string;
|
|
9
|
+
export type RadarChartVariants = VariantProps<typeof radarChartVariants>;
|
|
10
|
+
export type RadarChartSize = NonNullable<RadarChartVariants['size']>;
|
|
11
|
+
/** `line` outlines each series, `area` adds a soft fill, `dots` draws only the markers on the axes. */
|
|
12
|
+
export type RadarChartVariant = 'line' | 'area' | 'dots';
|
|
13
|
+
/** Shape of the rings: straight segments between the axes or full circles. */
|
|
14
|
+
export type RadarChartShape = 'polygon' | 'circle';
|
|
15
|
+
export type RadarLevels = 3 | 4 | 5 | 6;
|
|
16
|
+
export declare const RADAR_VARIANTS: readonly RadarChartVariant[];
|
|
17
|
+
export declare const RADAR_SHAPES: readonly RadarChartShape[];
|
|
18
|
+
export declare const RADAR_SIZES: readonly RadarChartSize[];
|
|
19
|
+
/** ViewBox height per `size`. The radar is square, so the width of the container only limits it when it is narrower. */
|
|
20
|
+
export declare const RADAR_HEIGHTS: Record<RadarChartSize, number>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type ChartTone } from '../_chart/tones';
|
|
3
|
+
export interface SankeyNode {
|
|
4
|
+
id: string;
|
|
5
|
+
/** Text shown for the node. Defaults to the id. */
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SankeyLink {
|
|
9
|
+
/** Id of the node the flow leaves. */
|
|
10
|
+
source: string;
|
|
11
|
+
/** Id of the node the flow enters. */
|
|
12
|
+
target: string;
|
|
13
|
+
/** Amount of flow, a number above zero. */
|
|
14
|
+
value: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SankeyProps extends BaseProps {
|
|
17
|
+
/** Flows between nodes. Repeated source and target pairs are added up. */
|
|
18
|
+
links: SankeyLink[];
|
|
19
|
+
/** Optional node list to set labels and the order of ties. Ids that only appear in `links` become nodes labelled with the id. */
|
|
20
|
+
nodes?: SankeyNode[];
|
|
21
|
+
/** `flat` solid nodes and tinted ribbons, `outline` empty nodes with a coloured edge and ribbons with a hairline edge. */
|
|
22
|
+
variant?: 'flat' | 'outline';
|
|
23
|
+
/** Height of the drawing: 220 / 320 / 440 (an explicit `height` wins). */
|
|
24
|
+
size?: 'sm' | 'md' | 'lg';
|
|
25
|
+
/** Vertical space between the nodes of one layer: 6, 12 or 22 px. */
|
|
26
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
27
|
+
/** `auto` gives each node the next chart colour and colours a ribbon like its source; a tone paints everything in that tone. */
|
|
28
|
+
tone?: 'auto' | ChartTone;
|
|
29
|
+
/** Opacity of the ribbons: soft 15, medium 30, strong 45 percent. */
|
|
30
|
+
linkOpacity?: 'soft' | 'medium' | 'strong';
|
|
31
|
+
/** Print the node value after its label. */
|
|
32
|
+
showValues?: boolean;
|
|
33
|
+
/** Formats values in labels, tooltips and the table. */
|
|
34
|
+
valueFormatter?: (n: number) => string;
|
|
35
|
+
/** Accessible name. Without it `title` names the diagram. */
|
|
36
|
+
label?: string;
|
|
37
|
+
/** Visible heading. */
|
|
38
|
+
title?: string;
|
|
39
|
+
/** Visible sentence under the title. */
|
|
40
|
+
description?: string;
|
|
41
|
+
/** Shown when there is no flow to draw. */
|
|
42
|
+
emptyText?: string;
|
|
43
|
+
/** ViewBox width used until the container is measured. */
|
|
44
|
+
width?: number;
|
|
45
|
+
/** ViewBox height. Overrides `size`. */
|
|
46
|
+
height?: number;
|
|
47
|
+
}
|
|
48
|
+
declare const __VLS_export: import("vue").DefineComponent<SankeyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SankeyProps> & Readonly<{}>, {
|
|
49
|
+
size: "sm" | "md" | "lg";
|
|
50
|
+
variant: "flat" | "outline";
|
|
51
|
+
tone: "auto" | ChartTone;
|
|
52
|
+
width: number;
|
|
53
|
+
gap: "sm" | "md" | "lg";
|
|
54
|
+
emptyText: string;
|
|
55
|
+
showValues: boolean;
|
|
56
|
+
linkOpacity: "strong" | "soft" | "medium";
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: typeof __VLS_export;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Sankey } from './Sankey.vue';
|
|
2
|
+
export type { SankeyProps, SankeyNode, SankeyLink } from './Sankey.vue';
|
|
3
|
+
export { sankeyVariants, sankeyNodeVariants, sankeyLinkVariants, SANKEY_VARIANTS, SANKEY_SIZES, SANKEY_GAPS, SANKEY_LINK_OPACITIES } from './variants';
|
|
4
|
+
export type { SankeyVariant, SankeySize, SankeyGap, SankeyLinkOpacity } from './variants';
|
|
5
|
+
export { buildGraph as buildSankeyGraph, layoutSankey } from './sankeyLayout';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface SankeyNodeInput {
|
|
2
|
+
id: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SankeyLinkInput {
|
|
6
|
+
source: string;
|
|
7
|
+
target: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export interface SNode {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
/** Position in the input (declared nodes first, then nodes that only appear in links). */
|
|
14
|
+
index: number;
|
|
15
|
+
layer: number;
|
|
16
|
+
/** Flow through the node: the larger of what comes in and what goes out. */
|
|
17
|
+
value: number;
|
|
18
|
+
in: number;
|
|
19
|
+
out: number;
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
h: number;
|
|
23
|
+
sourceLinks: SLink[];
|
|
24
|
+
targetLinks: SLink[];
|
|
25
|
+
}
|
|
26
|
+
export interface SLink {
|
|
27
|
+
source: SNode;
|
|
28
|
+
target: SNode;
|
|
29
|
+
value: number;
|
|
30
|
+
width: number;
|
|
31
|
+
/** Top of the ribbon at the source and at the target. */
|
|
32
|
+
sy: number;
|
|
33
|
+
ty: number;
|
|
34
|
+
}
|
|
35
|
+
export interface Skipped {
|
|
36
|
+
/** Value is not a number above zero, or a link is not an object with a source and a target. */
|
|
37
|
+
invalid: number;
|
|
38
|
+
/** A node linked to itself. */
|
|
39
|
+
self: number;
|
|
40
|
+
/** The flow closes a loop; diagrams of flow need a direction. */
|
|
41
|
+
cycle: number;
|
|
42
|
+
/** Declared nodes that no flow touches. */
|
|
43
|
+
unused: number;
|
|
44
|
+
}
|
|
45
|
+
export interface SankeyGraph {
|
|
46
|
+
nodes: SNode[];
|
|
47
|
+
links: SLink[];
|
|
48
|
+
layers: number;
|
|
49
|
+
skipped: Skipped;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Builds the graph. Nodes may be omitted: a link names its ends and unknown ids become nodes labelled with the id.
|
|
53
|
+
* Repeated flows between the same pair are added up, self links, invalid flows and flows that close a loop are
|
|
54
|
+
* dropped (and counted), and nodes without any flow are left out.
|
|
55
|
+
*/
|
|
56
|
+
export declare function buildGraph(nodes: unknown, links: unknown): SankeyGraph;
|
|
57
|
+
export interface SankeyLayoutOptions {
|
|
58
|
+
width: number;
|
|
59
|
+
height: number;
|
|
60
|
+
nodeWidth: number;
|
|
61
|
+
/** Vertical space between nodes of one layer. */
|
|
62
|
+
padding: number;
|
|
63
|
+
/** Relaxation passes (fixed, so the result is the same on every run). */
|
|
64
|
+
iterations?: number;
|
|
65
|
+
}
|
|
66
|
+
/** Positions nodes and ribbons inside `width` x `height`. Mutates and returns the graph. */
|
|
67
|
+
export declare function layoutSankey(graph: SankeyGraph, opts: SankeyLayoutOptions): SankeyGraph;
|
|
68
|
+
/** Closed path of one ribbon: a band of constant height `width` between the two node edges. */
|
|
69
|
+
export declare function ribbonPath(l: SLink, nodeWidth: number): string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ChartTone } from '../_chart/tones';
|
|
2
|
+
/**
|
|
3
|
+
* Colours of nodes and ribbons per tone. Ribbons are a tint of the tone (soft, medium or strong) so the labels that sit
|
|
4
|
+
* over them keep their contrast; nodes are the solid tone (flat) or an outlined box (outline). Class names are literal
|
|
5
|
+
* so Tailwind emits them.
|
|
6
|
+
*/
|
|
7
|
+
export interface SankeyToneClasses {
|
|
8
|
+
/** Solid node. */
|
|
9
|
+
node: string;
|
|
10
|
+
/** Edge of an outlined node. */
|
|
11
|
+
nodeStroke: string;
|
|
12
|
+
/** Ribbon fill by opacity step. */
|
|
13
|
+
link: {
|
|
14
|
+
soft: string;
|
|
15
|
+
medium: string;
|
|
16
|
+
strong: string;
|
|
17
|
+
};
|
|
18
|
+
/** Hairline edge of ribbons in the outline variant. */
|
|
19
|
+
linkStroke: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const SANKEY_TONES: Record<ChartTone, SankeyToneClasses>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
export declare const sankeyVariants: (props?: ({
|
|
3
|
+
variant?: "flat" | "outline" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
class?: import("../../..").ClassInput;
|
|
7
|
+
className?: import("../../..").ClassInput;
|
|
8
|
+
}) | undefined) => string;
|
|
9
|
+
/** Node box. `flat` is a solid block of the tone, `outline` an empty box with a tone coloured edge. */
|
|
10
|
+
export declare const sankeyNodeVariants: (props?: ({
|
|
11
|
+
variant?: "flat" | "outline" | null | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
class?: import("../../..").ClassInput;
|
|
14
|
+
className?: import("../../..").ClassInput;
|
|
15
|
+
}) | undefined) => string;
|
|
16
|
+
/** Ribbon. `outline` adds a hairline edge so a ribbon stays visible without relying on its fill. */
|
|
17
|
+
export declare const sankeyLinkVariants: (props?: ({
|
|
18
|
+
variant?: "flat" | "outline" | null | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
class?: import("../../..").ClassInput;
|
|
21
|
+
className?: import("../../..").ClassInput;
|
|
22
|
+
}) | undefined) => string;
|
|
23
|
+
export type SankeyVariantProps = VariantProps<typeof sankeyVariants>;
|
|
24
|
+
export type SankeyVariant = NonNullable<SankeyVariantProps['variant']>;
|
|
25
|
+
export type SankeySize = NonNullable<SankeyVariantProps['size']>;
|
|
26
|
+
export type SankeyGap = 'sm' | 'md' | 'lg';
|
|
27
|
+
export type SankeyLinkOpacity = 'soft' | 'medium' | 'strong';
|
|
28
|
+
export declare const SANKEY_VARIANTS: readonly SankeyVariant[];
|
|
29
|
+
export declare const SANKEY_SIZES: readonly SankeySize[];
|
|
30
|
+
export declare const SANKEY_GAPS: readonly SankeyGap[];
|
|
31
|
+
export declare const SANKEY_LINK_OPACITIES: readonly SankeyLinkOpacity[];
|
|
32
|
+
/** Viewbox height per `size` (an explicit `height` wins). */
|
|
33
|
+
export declare const SANKEY_HEIGHTS: Record<SankeySize, number>;
|
|
34
|
+
/** Vertical space between nodes of one layer in px. */
|
|
35
|
+
export declare const SANKEY_GAP_PX: Record<SankeyGap, number>;
|
|
36
|
+
export declare const SANKEY_NODE_WIDTH = 10;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type MarkerShape } from '../_chart/chartKit';
|
|
3
|
+
import { type ChartTone } from '../_chart/tones';
|
|
4
|
+
import { type ScatterPoint } from './scatterMath';
|
|
5
|
+
import { type ScatterChartSize, type ScatterChartVariant, type ScatterGrid } from './variants';
|
|
6
|
+
export type { ScatterPoint } from './scatterMath';
|
|
7
|
+
export interface ScatterChartProps extends BaseProps {
|
|
8
|
+
/** Points `{ x, y, size?, label?, series? }`. Points with the same `series` name form one series. Non-finite coordinates are skipped. */
|
|
9
|
+
points: ScatterPoint[];
|
|
10
|
+
/** `scatter` plots markers, `bubble` scales each marker's area with `size`, `connected` also joins the points of a series in the order given. */
|
|
11
|
+
variant?: ScatterChartVariant;
|
|
12
|
+
/** Marker shape. `series` gives each series its own shape (circle, square, diamond, triangle), so series differ by more than colour. */
|
|
13
|
+
markerShape?: MarkerShape | 'series';
|
|
14
|
+
/** Height of the plot (200 / 280 / 360), marker radius and bubble range. */
|
|
15
|
+
size?: ScatterChartSize;
|
|
16
|
+
/** Gridlines: `horizontal` at each y tick, `vertical` at each x tick, `full` both, `dashed` both dashed, `none`. */
|
|
17
|
+
grid?: ScatterGrid;
|
|
18
|
+
/** Title of the x axis, printed under the plot. */
|
|
19
|
+
xTitle?: string;
|
|
20
|
+
/** Title of the y axis, printed along the plot, rotated. */
|
|
21
|
+
yTitle?: string;
|
|
22
|
+
/** Draw the least squares line of each series (dotted). Needs two points with different x. */
|
|
23
|
+
trend?: boolean;
|
|
24
|
+
/** Print the label of each point (or `x, y` without one) next to it. Labels that would overlap are left out; none are drawn beyond 60 points. */
|
|
25
|
+
showValues?: boolean;
|
|
26
|
+
/** Axis ticks and tick labels. */
|
|
27
|
+
showAxis?: boolean;
|
|
28
|
+
/** `'auto'` shows the legend when there is more than one series. */
|
|
29
|
+
showLegend?: boolean | 'auto';
|
|
30
|
+
/** Tone per series name, e.g. `{ Errors: 'danger' }`. Other series cycle chart-1..5. */
|
|
31
|
+
tones?: Record<string, ChartTone>;
|
|
32
|
+
/** Formats y ticks, sizes and tooltips. Defaults to compact (axis) / grouped (tooltip) numbers. */
|
|
33
|
+
valueFormatter?: (n: number) => string;
|
|
34
|
+
/** Formats x ticks and x values. Defaults like `valueFormatter`. */
|
|
35
|
+
xFormatter?: (n: number) => string;
|
|
36
|
+
/** Accessible name of the chart image. Without it `title` names the chart. */
|
|
37
|
+
label?: string;
|
|
38
|
+
/** Visible heading above the plot. */
|
|
39
|
+
title?: string;
|
|
40
|
+
/** Visible description under the title. The image is described by it. */
|
|
41
|
+
description?: string;
|
|
42
|
+
/** Shown when there is nothing to plot. */
|
|
43
|
+
emptyText?: string;
|
|
44
|
+
/** Show a busy placeholder instead of the chart. */
|
|
45
|
+
loading?: boolean;
|
|
46
|
+
/** Message of the loading placeholder. */
|
|
47
|
+
loadingText?: string;
|
|
48
|
+
/** ViewBox width used until the container is measured. The chart then fills its container (1 unit = 1 CSS px). */
|
|
49
|
+
width?: number;
|
|
50
|
+
/** ViewBox height. Overrides `size`. */
|
|
51
|
+
height?: number;
|
|
52
|
+
}
|
|
53
|
+
declare const __VLS_export: import("vue").DefineComponent<ScatterChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScatterChartProps> & Readonly<{}>, {
|
|
54
|
+
size: ScatterChartSize;
|
|
55
|
+
variant: ScatterChartVariant;
|
|
56
|
+
loading: boolean;
|
|
57
|
+
width: number;
|
|
58
|
+
grid: ScatterGrid;
|
|
59
|
+
emptyText: string;
|
|
60
|
+
trend: boolean;
|
|
61
|
+
showValues: boolean;
|
|
62
|
+
showAxis: boolean;
|
|
63
|
+
showLegend: boolean | "auto";
|
|
64
|
+
markerShape: MarkerShape | "series";
|
|
65
|
+
loadingText: string;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
declare const _default: typeof __VLS_export;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as ScatterChart } from './ScatterChart.vue';
|
|
2
|
+
export type { ScatterChartProps, ScatterPoint } from './ScatterChart.vue';
|
|
3
|
+
export { scatterChartVariants } from './variants';
|
|
4
|
+
export type { ScatterChartVariants, ScatterChartSize, ScatterChartVariant, ScatterGrid } from './variants';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ChartTone } from '../_chart/tones';
|
|
2
|
+
export interface ScatterPoint {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
/** Bubble size (area). Used by `variant="bubble"` and listed in the data table. */
|
|
6
|
+
size?: number;
|
|
7
|
+
/** Name of the point: shown by `showValues`, in the tooltip and as the row header of the data table. */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** Series the point belongs to. Points without one form the series `Points`. */
|
|
10
|
+
series?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface NormPoint {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
size: number | null;
|
|
16
|
+
label: string;
|
|
17
|
+
/** Index in the input array, so tooltips and the table keep the order the consumer gave. */
|
|
18
|
+
index: number;
|
|
19
|
+
}
|
|
20
|
+
export interface NormSeries {
|
|
21
|
+
name: string;
|
|
22
|
+
tone: ChartTone;
|
|
23
|
+
points: NormPoint[];
|
|
24
|
+
}
|
|
25
|
+
export interface NormScatter {
|
|
26
|
+
series: NormSeries[];
|
|
27
|
+
/** Valid points over all series. */
|
|
28
|
+
count: number;
|
|
29
|
+
/** Points dropped because x or y is not a finite number. */
|
|
30
|
+
skipped: number;
|
|
31
|
+
hasSize: boolean;
|
|
32
|
+
}
|
|
33
|
+
/** Tolerant normalisation: bad entries and non-finite coordinates are skipped (and counted), series keep first-seen order. */
|
|
34
|
+
export declare function normalizePoints(points: unknown, tones?: Record<string, ChartTone | undefined>): NormScatter;
|
|
35
|
+
export interface Regression {
|
|
36
|
+
slope: number;
|
|
37
|
+
intercept: number;
|
|
38
|
+
/** Coefficient of determination, 0..1 (1 when every point lies on the line). */
|
|
39
|
+
r2: number;
|
|
40
|
+
}
|
|
41
|
+
/** Least squares line through the points. `null` with fewer than two points or when all x are equal (no slope exists). */
|
|
42
|
+
export declare function linearRegression(pts: readonly {
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
}[]): Regression | null;
|
|
46
|
+
/**
|
|
47
|
+
* The part of the regression line to draw: from `xa` to `xb`, cut where it leaves the value range [ylo, yhi], so the
|
|
48
|
+
* trend never runs outside the plot. `null` when no part of it is inside.
|
|
49
|
+
*/
|
|
50
|
+
export declare function trendSegment(reg: Regression, xa: number, xb: number, ylo: number, yhi: number): [number, number, number, number] | null;
|
|
51
|
+
/** `y = 0.5x + 2` with at most 3 significant digits; used in the text summary of a trend. */
|
|
52
|
+
export declare function describeRegression(reg: Regression, fmt: (n: number) => string): string;
|
|
53
|
+
/** Area-proportional radius: a point with the largest size gets `rMax`; smaller ones shrink with the square root, never below `rMin`. */
|
|
54
|
+
export declare function bubbleRadius(size: number | null, maxSize: number, rMin: number, rMax: number): number;
|
|
55
|
+
/**
|
|
56
|
+
* Ticks for a numeric axis: round steps, about `count` of them, covering [min, max] with as little slack as the steps
|
|
57
|
+
* allow (`niceTicks` rounds the whole range up first, which wastes a third of a scatter plot). Degenerate input falls
|
|
58
|
+
* back to `niceTicks`, which pads it.
|
|
59
|
+
*/
|
|
60
|
+
export declare function axisTicks(min: number, max: number, count: number): number[];
|