@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,21 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
/** Root of a WaterfallChart (the figure). `size` sets the space between caption, plot, legend and the hidden data table. */
|
|
3
|
+
export declare const waterfallChartVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
class?: import("../../..").ClassInput;
|
|
7
|
+
className?: import("../../..").ClassInput;
|
|
8
|
+
}) | undefined) => string;
|
|
9
|
+
export type WaterfallChartVariants = VariantProps<typeof waterfallChartVariants>;
|
|
10
|
+
export type WaterfallChartSize = NonNullable<WaterfallChartVariants['size']>;
|
|
11
|
+
/** `bars` floating bars, `steps` a staircase of the running total, `lollipop` a stem with a head at the new level. */
|
|
12
|
+
export type WaterfallChartVariant = 'bars' | 'steps' | 'lollipop';
|
|
13
|
+
export type WaterfallChartOrientation = 'vertical' | 'horizontal';
|
|
14
|
+
/** Space between bars: `sm` wide bars, `lg` narrow bars. */
|
|
15
|
+
export type WaterfallChartGap = 'sm' | 'md' | 'lg';
|
|
16
|
+
export declare const WATERFALL_VARIANTS: readonly WaterfallChartVariant[];
|
|
17
|
+
export declare const WATERFALL_ORIENTATIONS: readonly WaterfallChartOrientation[];
|
|
18
|
+
export declare const WATERFALL_SIZES: readonly WaterfallChartSize[];
|
|
19
|
+
export declare const WATERFALL_GAPS: readonly WaterfallChartGap[];
|
|
20
|
+
/** Height of one bar's row (horizontal) per `size`. */
|
|
21
|
+
export declare const WATERFALL_ROW_HEIGHT: Record<WaterfallChartSize, number>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** `start` opens the running total, `delta` changes it, `subtotal` and `total` show it (their `value` is not used). */
|
|
2
|
+
export type WaterfallType = 'start' | 'delta' | 'subtotal' | 'total';
|
|
3
|
+
export declare const WATERFALL_TYPES: readonly WaterfallType[];
|
|
4
|
+
export interface WaterfallItemInput {
|
|
5
|
+
label: string;
|
|
6
|
+
/** Opening value of `start`, change of `delta`. Ignored by `subtotal` and `total`, which show the running total. */
|
|
7
|
+
value?: number | null;
|
|
8
|
+
/** Defaults to `start` for the first item and `delta` for the others. */
|
|
9
|
+
type?: WaterfallType;
|
|
10
|
+
}
|
|
11
|
+
/** How a bar is drawn: a rise, a fall, or a total (start, subtotal, total). */
|
|
12
|
+
export type WaterfallKind = 'increase' | 'decrease' | 'total';
|
|
13
|
+
export interface WaterfallBar {
|
|
14
|
+
index: number;
|
|
15
|
+
label: string;
|
|
16
|
+
type: WaterfallType;
|
|
17
|
+
kind: WaterfallKind;
|
|
18
|
+
/** The change of a delta; `null` for the other types and for a delta without a finite value. */
|
|
19
|
+
delta: number | null;
|
|
20
|
+
/** Level the bar starts at: the running total before a delta, 0 for the others. */
|
|
21
|
+
from: number;
|
|
22
|
+
/** Level the bar ends at: the running total after it. */
|
|
23
|
+
to: number;
|
|
24
|
+
/** True when the item had no usable value (it is drawn as a bar of no height and reads "n/a"). */
|
|
25
|
+
missing: boolean;
|
|
26
|
+
}
|
|
27
|
+
/** The bars with their levels. Tolerant: entries that are not objects are skipped, an unknown type is a delta (or the start). */
|
|
28
|
+
export declare function computeBars(items: unknown): WaterfallBar[];
|
|
29
|
+
/** `+12`, `−5` (a real minus sign) or `0`, with `fmt` applied to the size of the change. */
|
|
30
|
+
export declare function signed(value: number, fmt: (n: number) => string): string;
|
|
31
|
+
export declare const KIND_LABEL: Record<WaterfallKind, string>;
|
|
32
|
+
/** Word for a bar in the data table and the tooltip. */
|
|
33
|
+
export declare function barWord(bar: WaterfallBar): string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CodeViewerBaseProps, CodeViewerFoldEvent } from '../CodeViewer/types';
|
|
2
|
+
export interface YamlViewerProps extends CodeViewerBaseProps {
|
|
3
|
+
/** Raw YAML text. Takes precedence over `value`. */
|
|
4
|
+
source?: string;
|
|
5
|
+
/** Any JS value; it is serialised to block-style YAML. Ignored when `source` is a string. */
|
|
6
|
+
value?: unknown;
|
|
7
|
+
/** Spaces per level when serialising `value`: 2 or 4. */
|
|
8
|
+
indent?: 2 | 4;
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<YamlViewerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
copy: (text: string) => any;
|
|
12
|
+
fold: (event: CodeViewerFoldEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<YamlViewerProps> & Readonly<{
|
|
14
|
+
onCopy?: ((text: string) => any) | undefined;
|
|
15
|
+
onFold?: ((event: CodeViewerFoldEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
copy: boolean;
|
|
18
|
+
variant: "plain" | "bordered" | "flush";
|
|
19
|
+
wrap: boolean;
|
|
20
|
+
lineNumbers: boolean;
|
|
21
|
+
foldable: boolean;
|
|
22
|
+
startLine: number;
|
|
23
|
+
indent: 2 | 4;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface YamlStringifyOptions {
|
|
2
|
+
/** Spaces per nesting level: 2 or 4. Anything else falls back to 2. */
|
|
3
|
+
indent?: 2 | 4;
|
|
4
|
+
}
|
|
5
|
+
/** True when `s` can be written without quotes and still read back as the same string. */
|
|
6
|
+
export declare function isPlainSafe(s: string): boolean;
|
|
7
|
+
/** Double-quoted YAML scalar. JSON string syntax is valid YAML; the extra characters YAML treats as line breaks are escaped. */
|
|
8
|
+
export declare function quote(s: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Serialise a JS value to block-style YAML 1.2 text (no trailing newline).
|
|
11
|
+
* Strings are quoted only when plain text would change meaning (`yes`, `null`, `12`, `a: b`, leading `-`, `#`...); multi-line strings become
|
|
12
|
+
* `|` blocks with the right chomping indicator. `undefined`, functions and symbols are skipped in maps and written as `null` in lists.
|
|
13
|
+
* Date -> ISO 8601, Map -> mapping, Set and typed arrays -> sequence, bigint -> integer. Key order is the engine's own order (insertion order,
|
|
14
|
+
* except integer-like keys, which JS sorts first). Circular references throw a `TypeError` naming the path; shared (non-circular) references are written twice.
|
|
15
|
+
*/
|
|
16
|
+
export declare function yamlStringify(value: unknown, options?: YamlStringifyOptions): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Internal visible caption of a chart: a title and a description. The description is wired to the image with aria-describedby. */
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
dataSlot: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
descriptionId: string;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal visually hidden data table: the text alternative of an SVG chart (WCAG 1.1.1). Screen reader users can
|
|
3
|
+
* read every value; the SVG itself is a single labelled image. Not part of the public API.
|
|
4
|
+
*/
|
|
5
|
+
export interface ChartDataTableSeries {
|
|
6
|
+
name: string;
|
|
7
|
+
data: (number | null)[];
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
caption: string;
|
|
11
|
+
/** Header of the first column (the category). */
|
|
12
|
+
categoryHeader?: string;
|
|
13
|
+
categories: string[];
|
|
14
|
+
series: ChartDataTableSeries[];
|
|
15
|
+
format: (n: number) => string;
|
|
16
|
+
/** Optional formatter per series (same index as `series`); a missing entry falls back to `format`. */
|
|
17
|
+
formats?: (((n: number) => string) | undefined)[];
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type MarkerShape } from './chartKit';
|
|
2
|
+
/** Internal HTML legend (swatch + name) shared by BarChart and LineChart. Not part of the public API. */
|
|
3
|
+
export interface ChartLegendItem {
|
|
4
|
+
name: string;
|
|
5
|
+
/** Literal `bg-*` class from tones.ts. */
|
|
6
|
+
bg: string;
|
|
7
|
+
/** Literal `stroke-*` class from tones.ts. With `dash` the swatch is a line sample instead of a square. */
|
|
8
|
+
stroke?: string;
|
|
9
|
+
/** SVG `stroke-dasharray` of the series line (`''` = solid). Lets line series differ by more than colour. */
|
|
10
|
+
dash?: string;
|
|
11
|
+
/** Marker drawn on the line sample when markers differ per series. Needs `stroke` and `fill`. */
|
|
12
|
+
marker?: MarkerShape;
|
|
13
|
+
/** Literal `fill-*` class from tones.ts for the marker. */
|
|
14
|
+
fill?: string;
|
|
15
|
+
}
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
items: ChartLegendItem[];
|
|
18
|
+
dataSlot: string;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type MarkerShape } from './chartKit';
|
|
2
|
+
/**
|
|
3
|
+
* Internal HTML legend whose swatch repeats how the series is drawn: a marker, a line sample (solid or dashed), or both.
|
|
4
|
+
* A reader tells series apart by shape and dash as well as colour. Not part of the public API.
|
|
5
|
+
*/
|
|
6
|
+
export interface ChartMarkerLegendItem {
|
|
7
|
+
name: string;
|
|
8
|
+
/** Marker drawn in the swatch. */
|
|
9
|
+
shape?: MarkerShape;
|
|
10
|
+
/** Literal `fill-*` class from tones.ts for the marker. */
|
|
11
|
+
fill?: string;
|
|
12
|
+
/** Literal `stroke-*` class from tones.ts; draws a line sample. */
|
|
13
|
+
stroke?: string;
|
|
14
|
+
/** `stroke-dasharray` of the line sample (`''` = solid). */
|
|
15
|
+
dash?: string;
|
|
16
|
+
}
|
|
17
|
+
type __VLS_Props = {
|
|
18
|
+
items: ChartMarkerLegendItem[];
|
|
19
|
+
dataSlot: string;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal inline state of a chart that has nothing to draw: `empty` (a labelled image holding the message) or
|
|
3
|
+
* `loading` (a polite status region that is marked busy). Not part of the public API.
|
|
4
|
+
*/
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
dataSlot: string;
|
|
7
|
+
kind: 'empty' | 'loading';
|
|
8
|
+
text: string;
|
|
9
|
+
/** Accessible name of the empty image; falls back to the message. */
|
|
10
|
+
name?: string;
|
|
11
|
+
labelledby?: string;
|
|
12
|
+
/** The consumer's `class`, merged last so it wins. */
|
|
13
|
+
userClass?: unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Name handling and checks for a chart. `check` runs the shape checks of the data props (call `violation` from it).
|
|
3
|
+
* Returns the explicit name (`label` or `aria-label`), the `aria-labelledby` value and the remaining attributes, which
|
|
4
|
+
* the chart binds to its wrapper so the name lands on the image and not on a generic wrapper.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useChartContract(component: string, props: {
|
|
7
|
+
label?: string;
|
|
8
|
+
}, check: () => void, sources: (() => unknown)[]): {
|
|
9
|
+
explicitName: import("vue").ComputedRef<string | undefined>;
|
|
10
|
+
labelledby: import("vue").ComputedRef<string | undefined>;
|
|
11
|
+
rootAttrs: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
class?: import("vue").ClassValue;
|
|
14
|
+
style?: import("vue").StyleValue;
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
/** `labels` + `series` of BarChart and LineChart. */
|
|
18
|
+
export declare function checkCategorySeries(component: string, labels: unknown, series: unknown): void;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface ChartFrameProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
}
|
|
6
|
+
/** Marks fall back to the system text colour in forced-colors mode, where the tone colours are not available. */
|
|
7
|
+
export declare const FORCED_FILL = "forced-colors:fill-[CanvasText]";
|
|
8
|
+
export declare const FORCED_STROKE = "forced-colors:stroke-[CanvasText]";
|
|
9
|
+
export declare const FORCED_CANVAS_STROKE = "forced-colors:stroke-[Canvas]";
|
|
10
|
+
/**
|
|
11
|
+
* Name, ids and root attributes of a chart. A chart is named by `label`, `aria-label`, `aria-labelledby` or, as the
|
|
12
|
+
* visible alternative, `title`; none of them is a ContractError. `check` validates the data props.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useChartFrame(component: string, props: ChartFrameProps, check: () => void, sources: (() => unknown)[]): {
|
|
15
|
+
explicitName: import("vue").ComputedRef<string | undefined>;
|
|
16
|
+
labelledby: import("vue").ComputedRef<string | undefined>;
|
|
17
|
+
rootAttrs: import("vue").ComputedRef<{
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
class?: import("vue").ClassValue;
|
|
20
|
+
style?: import("vue").StyleValue;
|
|
21
|
+
}>;
|
|
22
|
+
ids: {
|
|
23
|
+
summary: string;
|
|
24
|
+
description: string;
|
|
25
|
+
pattern: string;
|
|
26
|
+
};
|
|
27
|
+
hasTitle: import("vue").ComputedRef<boolean>;
|
|
28
|
+
hasDescription: import("vue").ComputedRef<boolean>;
|
|
29
|
+
describedby: import("vue").ComputedRef<string>;
|
|
30
|
+
};
|
|
31
|
+
/** Bounding-box overlap of two label rectangles (used to drop value labels that would print on top of each other). */
|
|
32
|
+
export interface LabelBox {
|
|
33
|
+
x0: number;
|
|
34
|
+
y0: number;
|
|
35
|
+
x1: number;
|
|
36
|
+
y1: number;
|
|
37
|
+
}
|
|
38
|
+
export declare function overlaps(a: LabelBox, b: LabelBox): boolean;
|
|
39
|
+
/** Box of a text label of estimated width `w` and height `h` anchored at (x, y); anchor decides which side x is on. */
|
|
40
|
+
export declare function textBox(x: number, y: number, w: number, h: number, anchor: 'start' | 'middle' | 'end'): LabelBox;
|
|
41
|
+
/** Keep a centred label of width `w` inside [0, width]: returns the x to centre it on. */
|
|
42
|
+
export declare function clampCentre(x: number, w: number, width: number): number;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type ChartTone } from './tones';
|
|
2
|
+
export interface ChartSeries {
|
|
3
|
+
name: string;
|
|
4
|
+
data: number[];
|
|
5
|
+
tone?: ChartTone;
|
|
6
|
+
}
|
|
7
|
+
export interface NormalizedSeries {
|
|
8
|
+
name: string;
|
|
9
|
+
tone: ChartTone;
|
|
10
|
+
/** Length === count; non-finite / missing values are `null`. */
|
|
11
|
+
data: (number | null)[];
|
|
12
|
+
}
|
|
13
|
+
export interface NormalizedChart {
|
|
14
|
+
count: number;
|
|
15
|
+
categories: string[];
|
|
16
|
+
series: NormalizedSeries[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Tolerant normalisation of `labels` + `series`: count = max(labels.length, longest series),
|
|
20
|
+
* missing labels become '', non-finite values become null, invalid series entries are skipped.
|
|
21
|
+
*/
|
|
22
|
+
export declare function normalizeSeries(labels: unknown, series: unknown): NormalizedChart;
|
|
23
|
+
/** True when at least one series has a finite value. */
|
|
24
|
+
export declare function hasValues(chart: NormalizedChart): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Approximate rendered width of `text` at `fontPx`. Pure and deterministic (no DOM, so it also works on the server): every
|
|
27
|
+
* glyph is looked up in a width class (narrow `i l .`, regular, wide `m W @`) instead of one average, which keeps
|
|
28
|
+
* `MMMMWWWW` from being estimated like `iiiiiiii`. Counts code points, so an emoji is one glyph.
|
|
29
|
+
*/
|
|
30
|
+
export declare function estimateTextWidth(text: string, fontPx?: number): number;
|
|
31
|
+
/**
|
|
32
|
+
* `text` cut with an ellipsis so that its estimated width is at most `maxPx`. Text that already fits is returned as is; a
|
|
33
|
+
* budget too small for even the ellipsis gives the ellipsis alone (a label is never silently dropped).
|
|
34
|
+
*/
|
|
35
|
+
export declare function fitText(text: string, maxPx: number, fontPx?: number): string;
|
|
36
|
+
/** Space between a right-aligned axis label and the axis (the label's x is `x0 - LABEL_GAP`). */
|
|
37
|
+
export declare const LABEL_GAP = 6;
|
|
38
|
+
/** Extra pixels for what the estimate misses: another fallback font, hinting, a slightly heavier weight. */
|
|
39
|
+
export declare const LABEL_SAFETY = 4;
|
|
40
|
+
/** Width of the gutter that holds right-aligned axis labels: the widest estimate plus `LABEL_GAP` and `LABEL_SAFETY`. */
|
|
41
|
+
export declare function labelGutter(widestPx: number): number;
|
|
42
|
+
/** Truncate to `max` chars with an ellipsis. `max < 1` is treated as 1. */
|
|
43
|
+
export declare function truncateLabel(text: string, max: number): string;
|
|
44
|
+
/** Show every n-th label so labels of `labelPx` width fit into slots of `slotPx`. Always ≥ 1. */
|
|
45
|
+
export declare function labelStep(slotPx: number, labelPx: number): number;
|
|
46
|
+
/**
|
|
47
|
+
* Linear scale that never yields NaN/Infinity (huge domains like ±1e308 are scaled in halves);
|
|
48
|
+
* a zero-width domain maps to the middle of the range.
|
|
49
|
+
*/
|
|
50
|
+
export declare function scaleSafe(d0: number, d1: number, r0: number, r1: number): (v: number) => number;
|
|
51
|
+
export declare function plural(n: number, one: string, many?: string): string;
|
|
52
|
+
/** Positive finite number or the fallback. */
|
|
53
|
+
export declare function dimension(v: unknown, fallback: number): number;
|
|
54
|
+
export type ChartSize = 'sm' | 'md' | 'lg';
|
|
55
|
+
/** ViewBox height per `size` of BarChart / LineChart (`md` is the long-standing default of 240). */
|
|
56
|
+
export declare const CHART_HEIGHTS: Record<ChartSize, number>;
|
|
57
|
+
/** An explicit `height` wins; otherwise the height of `size` (unknown sizes fall back to `md`). */
|
|
58
|
+
export declare function chartHeight(size: unknown, height?: unknown): number;
|
|
59
|
+
export type BarRounded = 'auto' | 'none' | 'sm' | 'md' | 'full';
|
|
60
|
+
/**
|
|
61
|
+
* Corner radius of a bar. `auto` keeps the original look (2 for grouped bars, square for stacked segments);
|
|
62
|
+
* `full` is a pill (half the shorter side). Unknown values behave like `auto`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function barRadius(rounded: unknown, stacked: boolean, w: number, h: number): number;
|
|
65
|
+
export type BarGap = 'sm' | 'md' | 'lg';
|
|
66
|
+
/** Share of a category band that the bars occupy (`md` = the original 70%). */
|
|
67
|
+
export declare const BAR_FILL: Record<BarGap, number>;
|
|
68
|
+
export declare function barFill(gap: unknown): number;
|
|
69
|
+
export type MarkerShape = 'circle' | 'square' | 'diamond' | 'triangle';
|
|
70
|
+
export declare const MARKER_SHAPES: readonly MarkerShape[];
|
|
71
|
+
/** Marker of the n-th series when markers differ per series (a non-colour cue). */
|
|
72
|
+
export declare function seriesMarker(index: number): MarkerShape;
|
|
73
|
+
/** Closed path of a non-circular marker centred on (cx, cy) with nominal radius r. Circles are drawn as `<circle>`. */
|
|
74
|
+
export declare function markerPath(shape: MarkerShape, cx: number, cy: number, r: number): string;
|
|
75
|
+
/** `value` when it is one of `allowed`, otherwise `fallback`. Keeps unknown variant values on the default look. */
|
|
76
|
+
export declare function oneOf<T extends string>(value: unknown, allowed: readonly T[], fallback: T): T;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure numeric helpers shared by the dependency-free SVG charts (Sparkline, BarChart, LineChart, ...).
|
|
3
|
+
* No Vue, no DOM: everything here is unit-tested in chartMath.test.ts.
|
|
4
|
+
*/
|
|
5
|
+
export interface Point {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function isFiniteNumber(v: unknown): v is number;
|
|
10
|
+
/** Round to 2 decimals for compact SVG path output (also normalises -0 to 0). */
|
|
11
|
+
export declare function r2(n: number): number;
|
|
12
|
+
export declare function clamp(n: number, lo: number, hi: number): number;
|
|
13
|
+
/** [min, max] over the finite numbers in `values`; `null` when there are none. */
|
|
14
|
+
export declare function extent(values: readonly unknown[]): [number, number] | null;
|
|
15
|
+
/**
|
|
16
|
+
* "Nice" axis ticks (1/2/5 × 10^n steps) that cover [min, max].
|
|
17
|
+
* Never throws: non-finite input falls back to [0, 1], min > max is swapped, min === max is padded,
|
|
18
|
+
* `count` is clamped to 2..50. Result is ascending with no floating-point noise (0.1 + 0.2 → 0.3).
|
|
19
|
+
*/
|
|
20
|
+
export declare function niceTicks(min: number, max: number, count?: number): number[];
|
|
21
|
+
/** Linear scale. A zero-width domain maps everything to the middle of the range. */
|
|
22
|
+
export declare function scaleLinear(d0: number, d1: number, r0: number, r1: number): (v: number) => number;
|
|
23
|
+
/** `1200` → `1.2K`. Non-finite → `–`. */
|
|
24
|
+
export declare function formatCompact(n: number): string;
|
|
25
|
+
/** Full-precision-ish number for tooltips: `1234.5678` → `1,234.57`. Non-finite → `–`. */
|
|
26
|
+
export declare function formatNumber(n: number): string;
|
|
27
|
+
/** Split into runs of consecutive non-null points (gaps come from NaN/missing values). */
|
|
28
|
+
export declare function runs(points: readonly (Point | null)[]): Point[][];
|
|
29
|
+
/** SVG path for a polyline that breaks at gaps. Empty input → ''. */
|
|
30
|
+
export declare function linePath(points: readonly (Point | null)[]): string;
|
|
31
|
+
/** SVG path for the filled area under a polyline down to `baseY`. Single-point runs are skipped. */
|
|
32
|
+
export declare function areaPath(points: readonly (Point | null)[], baseY: number): string;
|
|
33
|
+
/** Points that have no neighbour on either side (a line can't draw them; render a dot instead). */
|
|
34
|
+
export declare function isolatedPoints(points: readonly (Point | null)[]): Point[];
|
|
35
|
+
export type Curve = 'linear' | 'smooth' | 'step';
|
|
36
|
+
/** Known curve name, anything else is `linear`. */
|
|
37
|
+
export declare function normalizeCurve(v: unknown): Curve;
|
|
38
|
+
/**
|
|
39
|
+
* Line path for a `curve`: `linear` is exactly `linePath`; `smooth` is a monotone cubic Bezier; `step` holds each value
|
|
40
|
+
* until the next point (horizontal then vertical). Breaks at gaps like `linePath`.
|
|
41
|
+
*/
|
|
42
|
+
export declare function curvePath(points: readonly (Point | null)[], curve?: Curve): string;
|
|
43
|
+
/** Filled area under `curvePath` down to `baseY`; `linear` is exactly `areaPath`. Single-point runs are skipped. */
|
|
44
|
+
export declare function curveAreaPath(points: readonly (Point | null)[], baseY: number, curve?: Curve): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart colour tokens. Class names are written out literally so Tailwind's scanner emits them.
|
|
3
|
+
* `chart-1..5` come from theme.css; semantic tones are provided for status-coloured sparklines/bars.
|
|
4
|
+
*/
|
|
5
|
+
export type ChartTone = 'chart-1' | 'chart-2' | 'chart-3' | 'chart-4' | 'chart-5' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'muted';
|
|
6
|
+
export declare const CHART_TONES: readonly ChartTone[];
|
|
7
|
+
export interface ToneClasses {
|
|
8
|
+
stroke: string;
|
|
9
|
+
fill: string;
|
|
10
|
+
fillSoft: string;
|
|
11
|
+
bg: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const toneClasses: Record<ChartTone, ToneClasses>;
|
|
14
|
+
/** Tone for the n-th series: an explicit valid tone wins, otherwise cycle chart-1..5. */
|
|
15
|
+
export declare function seriesTone(index: number, tone?: ChartTone | null): ChartTone;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Tracks the content width (px) of an element with a ResizeObserver. Charts use it as their viewBox width so one
|
|
4
|
+
* SVG unit is one CSS pixel: axis text keeps its real size on a 320px phone instead of shrinking with the viewBox.
|
|
5
|
+
* Stays `0` until measured, and always in environments without ResizeObserver (callers then use their `width` prop).
|
|
6
|
+
*/
|
|
7
|
+
export declare function useMeasuredWidth(el: Ref<HTMLElement | null>): Ref<number>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DiagramVariant } from './palette';
|
|
2
|
+
import type { RenderModel } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Internal: draws a RenderModel as one SVG image. All text goes through Vue text nodes (never innerHTML), so hostile
|
|
5
|
+
* diagram source can only ever appear as inert text. Not part of the public API.
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
model: RenderModel;
|
|
9
|
+
variant: DiagramVariant | string;
|
|
10
|
+
fit: 'width' | 'scroll';
|
|
11
|
+
/** Unique prefix for marker and label ids. */
|
|
12
|
+
uid: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Date math of the Gantt chart: own format-token parser (`YYYY`, `YY`, `MM`, `DD`, `HH`, `mm`), durations and
|
|
3
|
+
* formatting. Everything is UTC through `Date.UTC`, so results never depend on the viewer's locale or time zone.
|
|
4
|
+
*/
|
|
5
|
+
export declare const MS_MINUTE = 60000;
|
|
6
|
+
export declare const MS_HOUR = 3600000;
|
|
7
|
+
export declare const MS_DAY = 86400000;
|
|
8
|
+
export declare const MS_WEEK: number;
|
|
9
|
+
export type DateToken = 'YYYY' | 'YY' | 'MM' | 'DD' | 'HH' | 'mm';
|
|
10
|
+
export interface DateFormat {
|
|
11
|
+
/** Format as written, for messages. */
|
|
12
|
+
source: string;
|
|
13
|
+
parts: ({
|
|
14
|
+
token: DateToken;
|
|
15
|
+
} | {
|
|
16
|
+
literal: string;
|
|
17
|
+
})[];
|
|
18
|
+
/** True when the format carries hours or minutes. */
|
|
19
|
+
hasTime: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** Compile a Mermaid `dateFormat`. Returns the offending character index when a letter is not a supported token. */
|
|
22
|
+
export declare function compileDateFormat(source: string): DateFormat | number;
|
|
23
|
+
export declare function daysInMonth(year: number, month: number): number;
|
|
24
|
+
/** Parse `text` with a compiled format; undefined when it does not match or is not a real date. */
|
|
25
|
+
export declare function parseDateText(text: string, fmt: DateFormat): number | undefined;
|
|
26
|
+
/** `3d`, `2w`, `12h`, `30m`, `45s`, `500ms`, `1.5d` to milliseconds (calendar units `M` and `y` need a start: see `durationEnd`); undefined for anything else. */
|
|
27
|
+
export declare function parseDuration(text: string): number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* End time of a duration that starts at `start`, with Mermaid's units: ms s m h d w, plus calendar months `M` and years
|
|
30
|
+
* `y` (whole numbers; the day of the month is kept, clamped to the length of the target month).
|
|
31
|
+
*/
|
|
32
|
+
export declare function durationEnd(start: number, text: string): number | undefined;
|
|
33
|
+
/** True when the text looks like a duration (digits plus letters), so the error can name the unit. */
|
|
34
|
+
export declare function looksLikeDuration(text: string): RegExpExecArray | null;
|
|
35
|
+
export declare function formatDay(ms: number): string;
|
|
36
|
+
export declare function formatDateTime(ms: number, withTime: boolean): string;
|
|
37
|
+
export declare const MONTHS: string[];
|
|
38
|
+
export declare function startOfMonth(ms: number): number;
|
|
39
|
+
export declare function addMonths(ms: number, n: number): number;
|
|
40
|
+
export declare function startOfDay(ms: number): number;
|
|
41
|
+
/** Monday on or before `ms` (1970-01-01 was a Thursday). */
|
|
42
|
+
export declare function startOfWeek(ms: number): number;
|
|
43
|
+
export interface Tick {
|
|
44
|
+
at: number;
|
|
45
|
+
label: string;
|
|
46
|
+
}
|
|
47
|
+
/** Readable ticks for a span: hours for short spans, days, weeks (Mondays) or months. */
|
|
48
|
+
export declare function makeTicks(from: number, to: number, withTime: boolean): Tick[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Draws a graph (nodes, edges, clusters) as render items: layout, edge routing, label plates, cluster frames. The
|
|
3
|
+
* flowchart, state, class and entity-relationship renderers all feed it; each node brings its own `draw` function, so
|
|
4
|
+
* shapes with compartments (classes, entities) share the same layout and routing as plain boxes.
|
|
5
|
+
*/
|
|
6
|
+
import { type LayoutResult } from './layout';
|
|
7
|
+
import type { Box, NodeShape } from './shapes';
|
|
8
|
+
import { type Direction, type EdgeStyle, type Marker, type Metrics, type Paint, type PaintTone, type RenderItem, type RenderOptions } from './types';
|
|
9
|
+
export interface GraphNode {
|
|
10
|
+
id: string;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
/** Outline used to clip edges. Defaults to a rectangle. */
|
|
14
|
+
shape?: NodeShape;
|
|
15
|
+
parent?: string;
|
|
16
|
+
draw: (box: Box) => RenderItem[];
|
|
17
|
+
}
|
|
18
|
+
export interface GraphEdge {
|
|
19
|
+
id: string;
|
|
20
|
+
from: string;
|
|
21
|
+
to: string;
|
|
22
|
+
/** Label text (plain, may contain line breaks as `<br>`). */
|
|
23
|
+
label?: string;
|
|
24
|
+
minLen?: number;
|
|
25
|
+
style: 'solid' | 'dashed' | 'dotted';
|
|
26
|
+
thick?: boolean;
|
|
27
|
+
markerStart?: Marker;
|
|
28
|
+
markerEnd?: Marker;
|
|
29
|
+
/** Takes part in the layout but is not drawn. */
|
|
30
|
+
hidden?: boolean;
|
|
31
|
+
tone?: PaintTone;
|
|
32
|
+
}
|
|
33
|
+
export interface GraphCluster {
|
|
34
|
+
id: string;
|
|
35
|
+
parent?: string;
|
|
36
|
+
title: string;
|
|
37
|
+
direction?: Direction;
|
|
38
|
+
/** Extra text drawn under the title (class diagram namespaces and similar). */
|
|
39
|
+
paint?: Paint;
|
|
40
|
+
}
|
|
41
|
+
export interface GraphSpec {
|
|
42
|
+
nodes: GraphNode[];
|
|
43
|
+
edges: GraphEdge[];
|
|
44
|
+
clusters?: GraphCluster[];
|
|
45
|
+
direction: Direction;
|
|
46
|
+
}
|
|
47
|
+
export interface GraphDrawing {
|
|
48
|
+
items: RenderItem[];
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
layout: LayoutResult;
|
|
52
|
+
}
|
|
53
|
+
export declare function rectPath(b: Box, r?: number): string;
|
|
54
|
+
/** Throws a `limit` error when the diagram exceeds `maxNodes` or `maxEdges`. */
|
|
55
|
+
export declare function checkLimits(nodes: number, edges: number, opts: RenderOptions): void;
|
|
56
|
+
export declare function drawGraph(spec: GraphSpec, m: Metrics, edgeStyle: EdgeStyle): GraphDrawing;
|
|
57
|
+
export declare const DIRECTION_PHRASE: Record<Direction, string>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Layered (Sugiyama-style) graph layout, written for this library (no dagre, no elk).
|
|
3
|
+
*
|
|
4
|
+
* 1. cycle removal: depth-first search reverses back edges (deterministic, input order);
|
|
5
|
+
* 2. rank assignment by longest path (edge lengths doubled so every edge owns an in-between rank for its label), then
|
|
6
|
+
* sources are pulled down toward their successors so short edges stay short;
|
|
7
|
+
* 3. long edges become chains of dummy vertices, one per crossed rank;
|
|
8
|
+
* 4. crossing reduction: barycentre sweeps down and up, the best ordering is kept (crossings are counted with a
|
|
9
|
+
* Fenwick tree);
|
|
10
|
+
* 5. coordinate assignment: every layer is placed at the weighted mean of its neighbours' positions with order and
|
|
11
|
+
* minimum separation preserved (pool-adjacent-violators), long edges weighted so they stay straight;
|
|
12
|
+
* 6. clusters (subgraphs) are laid out bottom-up as boxes of their own, so a cluster can never overlap a sibling and
|
|
13
|
+
* always contains its members. Nested clusters recurse; a cluster may have its own direction.
|
|
14
|
+
*
|
|
15
|
+
* Everything is deterministic: the same input always yields the same output.
|
|
16
|
+
*/
|
|
17
|
+
import type { Box, NodeShape } from './shapes';
|
|
18
|
+
import type { Direction, Point } from './types';
|
|
19
|
+
export interface LayoutNode {
|
|
20
|
+
id: string;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
shape?: NodeShape;
|
|
24
|
+
/** Id of the containing cluster. */
|
|
25
|
+
parent?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface LayoutEdge {
|
|
28
|
+
id: string;
|
|
29
|
+
from: string;
|
|
30
|
+
to: string;
|
|
31
|
+
label?: {
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
};
|
|
35
|
+
/** Number of ranks the edge spans at least (1 = adjacent). Longer arrows (`---->`) use more. */
|
|
36
|
+
minLen?: number;
|
|
37
|
+
}
|
|
38
|
+
export interface LayoutCluster {
|
|
39
|
+
id: string;
|
|
40
|
+
parent?: string;
|
|
41
|
+
titleWidth: number;
|
|
42
|
+
titleHeight: number;
|
|
43
|
+
direction?: Direction;
|
|
44
|
+
}
|
|
45
|
+
export interface LayoutOptions {
|
|
46
|
+
direction: Direction;
|
|
47
|
+
nodeSep: number;
|
|
48
|
+
rankSep: number;
|
|
49
|
+
clusterPad: number;
|
|
50
|
+
/** Space reserved beside a node for self loops. */
|
|
51
|
+
loopSize?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface PlacedEdge {
|
|
54
|
+
id: string;
|
|
55
|
+
from: string;
|
|
56
|
+
to: string;
|
|
57
|
+
/** Intermediate points in drawing order (from `from` to `to`); the end points are added by the router. */
|
|
58
|
+
waypoints: Point[];
|
|
59
|
+
label?: Box;
|
|
60
|
+
selfLoop: boolean;
|
|
61
|
+
/** Layout direction of the level the edge lives in. */
|
|
62
|
+
direction: Direction;
|
|
63
|
+
/** The edge points against the layout direction (a back edge in a cycle). */
|
|
64
|
+
backward: boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface PlacedCluster extends Box {
|
|
67
|
+
titleHeight: number;
|
|
68
|
+
}
|
|
69
|
+
export interface LayoutResult {
|
|
70
|
+
width: number;
|
|
71
|
+
height: number;
|
|
72
|
+
nodes: Map<string, Box>;
|
|
73
|
+
clusters: Map<string, PlacedCluster>;
|
|
74
|
+
edges: Map<string, PlacedEdge>;
|
|
75
|
+
}
|
|
76
|
+
export declare function layoutGraph(nodes: LayoutNode[], edges: LayoutEdge[], clusters: LayoutCluster[], opts: LayoutOptions): LayoutResult;
|
|
77
|
+
/** Box of a node or cluster in a layout. */
|
|
78
|
+
export declare function boxOf(layout: LayoutResult, id: string): Box | undefined;
|