@perfect-design/ui 0.0.0-stage → 0.1.3
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,79 @@
|
|
|
1
|
+
import type { FlowCanvasProps, FlowChangeEvent, FlowConnectEvent, FlowDisconnectEvent, FlowEdge, FlowNode, FlowNodeMoveEvent, FlowNodeSlotProps, FlowSelection, FlowToolbarSlotProps, FlowViewport } from './types';
|
|
2
|
+
type __VLS_Props = FlowCanvasProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
node?: (props: FlowNodeSlotProps) => unknown;
|
|
5
|
+
toolbar?: (props: FlowToolbarSlotProps) => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare function fitView(): void;
|
|
8
|
+
declare function zoomTo(zoom: number): void;
|
|
9
|
+
declare function setViewport(next: Partial<FlowViewport>): void;
|
|
10
|
+
declare function clearSelection(): void;
|
|
11
|
+
declare function selectAll(): void;
|
|
12
|
+
declare function autoLayout(): void;
|
|
13
|
+
declare function deleteSelected(): void;
|
|
14
|
+
declare function undo(): void;
|
|
15
|
+
declare function redo(): void;
|
|
16
|
+
type __VLS_ModelProps = {
|
|
17
|
+
/** Nodes and connections. Controlled (`v-model:nodes`) or uncontrolled: without a binding the canvas keeps its own copy. */
|
|
18
|
+
'nodes'?: FlowNode[];
|
|
19
|
+
'edges'?: FlowEdge[];
|
|
20
|
+
};
|
|
21
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
23
|
+
/** Fit every node into view. */
|
|
24
|
+
fit: typeof fitView;
|
|
25
|
+
zoomIn: () => void;
|
|
26
|
+
zoomOut: () => void;
|
|
27
|
+
zoomTo: typeof zoomTo;
|
|
28
|
+
/** Arrange the nodes with the layered layout (also available while `readonly`: the caller asked for it). */
|
|
29
|
+
autoLayout: typeof autoLayout;
|
|
30
|
+
undo: typeof undo;
|
|
31
|
+
redo: typeof redo;
|
|
32
|
+
deleteSelected: typeof deleteSelected;
|
|
33
|
+
selectAll: typeof selectAll;
|
|
34
|
+
clearSelection: typeof clearSelection;
|
|
35
|
+
getViewport: () => {
|
|
36
|
+
x: number;
|
|
37
|
+
y: number;
|
|
38
|
+
zoom: number;
|
|
39
|
+
};
|
|
40
|
+
setViewport: typeof setViewport;
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
select: (event: FlowSelection) => any;
|
|
43
|
+
change: (event: FlowChangeEvent) => any;
|
|
44
|
+
disconnect: (event: FlowDisconnectEvent) => any;
|
|
45
|
+
connect: (event: FlowConnectEvent) => any;
|
|
46
|
+
"node-move": (event: FlowNodeMoveEvent) => any;
|
|
47
|
+
"update:nodes": (value: FlowNode[]) => any;
|
|
48
|
+
"update:edges": (value: FlowEdge[]) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
50
|
+
onSelect?: ((event: FlowSelection) => any) | undefined;
|
|
51
|
+
onChange?: ((event: FlowChangeEvent) => any) | undefined;
|
|
52
|
+
onDisconnect?: ((event: FlowDisconnectEvent) => any) | undefined;
|
|
53
|
+
onConnect?: ((event: FlowConnectEvent) => any) | undefined;
|
|
54
|
+
"onNode-move"?: ((event: FlowNodeMoveEvent) => any) | undefined;
|
|
55
|
+
"onUpdate:nodes"?: ((value: FlowNode[]) => any) | undefined;
|
|
56
|
+
"onUpdate:edges"?: ((value: FlowEdge[]) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
readonly: boolean;
|
|
59
|
+
size: import("./types").FlowCanvasSize;
|
|
60
|
+
variant: import("./types").FlowCanvasVariant;
|
|
61
|
+
direction: import("..").MermaidDirection;
|
|
62
|
+
grid: number | boolean;
|
|
63
|
+
emptyText: string;
|
|
64
|
+
toolbar: boolean;
|
|
65
|
+
edgeStyle: import("./types").FlowCanvasEdgeStyle;
|
|
66
|
+
minimap: boolean;
|
|
67
|
+
minZoom: number;
|
|
68
|
+
maxZoom: number;
|
|
69
|
+
historyLimit: number;
|
|
70
|
+
autoFit: boolean;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
72
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
73
|
+
declare const _default: typeof __VLS_export;
|
|
74
|
+
export default _default;
|
|
75
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Point } from '../_diagram/types';
|
|
2
|
+
import { type NormNode, type Rect } from './flowGeometry';
|
|
3
|
+
/**
|
|
4
|
+
* Internal overview of the canvas: every node as a small box and the visible area as an outline. Pressing or dragging
|
|
5
|
+
* on it asks the canvas to centre on that point. It is a pointer shortcut only (hidden from assistive technology); the
|
|
6
|
+
* keyboard pans and fits with the canvas itself.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
nodes: readonly NormNode[];
|
|
10
|
+
/** The part of the canvas that is visible, in canvas units. */
|
|
11
|
+
view: Rect;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
center: (point: Point) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onCenter?: ((point: Point) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { type Box, type NodeShape } from '../_diagram/shapes';
|
|
2
|
+
import { type DiagramTone, type Direction, type Point } from '../_diagram/types';
|
|
3
|
+
import type { FlowCanvasEdgeStyle, FlowEdgeLine, FlowPortType, FlowSide, FlowViewport } from './types';
|
|
4
|
+
export declare const FLOW_SIDES: readonly FlowSide[];
|
|
5
|
+
export declare const FLOW_PORT_TYPES: readonly FlowPortType[];
|
|
6
|
+
export declare const FLOW_LINES: readonly FlowEdgeLine[];
|
|
7
|
+
export declare const NODE_WIDTH = 148;
|
|
8
|
+
export declare const NODE_HEIGHT = 52;
|
|
9
|
+
export declare const MIN_NODE = 24;
|
|
10
|
+
export declare const MAX_NODE = 1200;
|
|
11
|
+
export declare const DEFAULT_GRID = 20;
|
|
12
|
+
/** Longest label kept (characters); the rest is cut so one hostile label cannot slow the canvas down. */
|
|
13
|
+
export declare const MAX_LABEL = 500;
|
|
14
|
+
export interface NormPort {
|
|
15
|
+
id: string;
|
|
16
|
+
side: FlowSide;
|
|
17
|
+
type: FlowPortType;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
20
|
+
export interface NormNode {
|
|
21
|
+
id: string;
|
|
22
|
+
label: string;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
w: number;
|
|
26
|
+
h: number;
|
|
27
|
+
shape: NodeShape;
|
|
28
|
+
tone: DiagramTone;
|
|
29
|
+
ports: NormPort[];
|
|
30
|
+
canSource: boolean;
|
|
31
|
+
canTarget: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface NormEdge {
|
|
34
|
+
id: string;
|
|
35
|
+
from: string;
|
|
36
|
+
to: string;
|
|
37
|
+
label: string;
|
|
38
|
+
fromPort?: string;
|
|
39
|
+
toPort?: string;
|
|
40
|
+
style: FlowEdgeLine;
|
|
41
|
+
}
|
|
42
|
+
export interface Rect {
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
width: number;
|
|
46
|
+
height: number;
|
|
47
|
+
}
|
|
48
|
+
export declare const pick: <T extends string>(value: unknown, list: readonly T[], fallback: T) => T;
|
|
49
|
+
/** Tolerant: entries without a usable id are skipped, a repeated id keeps the first. Everything is text, never markup. */
|
|
50
|
+
export declare function normalizeNodes(raw: unknown): NormNode[];
|
|
51
|
+
/** Edges whose ends are unknown nodes are dropped and counted; a repeated id keeps the first. */
|
|
52
|
+
export declare function normalizeEdges(raw: unknown, nodeIds: ReadonlySet<string>): {
|
|
53
|
+
edges: NormEdge[];
|
|
54
|
+
skipped: number;
|
|
55
|
+
};
|
|
56
|
+
export declare const boxOf: (n: NormNode) => Box;
|
|
57
|
+
export declare const centerOf: (n: NormNode) => Point;
|
|
58
|
+
export interface PortPoint extends Point {
|
|
59
|
+
/** Outward unit normal. `0, 0` for a virtual point (a node without ports). */
|
|
60
|
+
nx: number;
|
|
61
|
+
ny: number;
|
|
62
|
+
port?: NormPort;
|
|
63
|
+
}
|
|
64
|
+
/** Position of every port: ports on one side are spread evenly and snapped to the outline of the node's shape. */
|
|
65
|
+
export declare function portPoints(n: NormNode): PortPoint[];
|
|
66
|
+
/** Pick the pair of ports with the shortest line that leaves each node outward. */
|
|
67
|
+
export declare function edgeAnchors(a: NormNode, b: NormNode, fromPort?: string, toPort?: string): {
|
|
68
|
+
start: PortPoint;
|
|
69
|
+
end: PortPoint;
|
|
70
|
+
};
|
|
71
|
+
export interface FlowRoute {
|
|
72
|
+
d: string;
|
|
73
|
+
/** Where the label sits. */
|
|
74
|
+
mid: Point;
|
|
75
|
+
points: Point[];
|
|
76
|
+
}
|
|
77
|
+
export declare function routeFlowEdge(start: PortPoint, end: PortPoint, style: FlowCanvasEdgeStyle): FlowRoute;
|
|
78
|
+
/** A connection from a node to itself: a loop at the right side of the node (shared with the Mermaid renderer). */
|
|
79
|
+
export declare function routeLoop(n: NormNode): FlowRoute;
|
|
80
|
+
/** Path of a node outline at the origin (the node group is translated to its position). */
|
|
81
|
+
export declare function outlinePath(shape: NodeShape, w: number, h: number): {
|
|
82
|
+
d: string;
|
|
83
|
+
inner: string[];
|
|
84
|
+
};
|
|
85
|
+
export declare const clamp: (v: number, lo: number, hi: number) => number;
|
|
86
|
+
export declare const snap: (v: number, grid: number) => number;
|
|
87
|
+
/** `grid` prop to a step in canvas units (0 = no snapping). */
|
|
88
|
+
export declare function gridStep(grid: unknown): number;
|
|
89
|
+
export declare function zoomLimits(min: unknown, max: unknown): {
|
|
90
|
+
min: number;
|
|
91
|
+
max: number;
|
|
92
|
+
};
|
|
93
|
+
/** Zoom by `factor` keeping the canvas point under (cx, cy) in place. */
|
|
94
|
+
export declare function zoomAt(vp: FlowViewport, factor: number, cx: number, cy: number, limits: {
|
|
95
|
+
min: number;
|
|
96
|
+
max: number;
|
|
97
|
+
}): FlowViewport;
|
|
98
|
+
export declare function boundsOf(nodes: readonly NormNode[]): Rect | null;
|
|
99
|
+
/** The viewport that shows `bounds` centred with `padding` around it. A single small node is not zoomed in beyond 1. */
|
|
100
|
+
export declare function fitViewport(bounds: Rect | null, width: number, height: number, padding: number, limits: {
|
|
101
|
+
min: number;
|
|
102
|
+
max: number;
|
|
103
|
+
}): FlowViewport;
|
|
104
|
+
/** Canvas rectangle visible in a view of `width` x `height` pixels, grown by `margin` canvas units. */
|
|
105
|
+
export declare function visibleRect(vp: FlowViewport, width: number, height: number, margin: number): Rect;
|
|
106
|
+
export declare const rectsIntersect: (a: Rect, b: Rect) => boolean;
|
|
107
|
+
export declare const nodeRect: (n: NormNode) => Rect;
|
|
108
|
+
export declare const normRect: (a: Point, b: Point) => Rect;
|
|
109
|
+
export declare const pointInRect: (p: Point, r: Rect) => boolean;
|
|
110
|
+
export interface PortHit {
|
|
111
|
+
nodeId: string;
|
|
112
|
+
portId: string;
|
|
113
|
+
}
|
|
114
|
+
/** The port nearest to `p` within `radius`, or null. Later nodes are drawn on top, so they win ties. */
|
|
115
|
+
export declare function hitPort(nodes: readonly NormNode[], p: Point, radius: number): PortHit | null;
|
|
116
|
+
/** The topmost node under `p` (the last one in the list). */
|
|
117
|
+
export declare function hitNode(nodes: readonly NormNode[], p: Point): NormNode | null;
|
|
118
|
+
/** Reading order (top to bottom, then left to right) as ids. Stable for equal positions. */
|
|
119
|
+
export declare function readingOrder(nodes: readonly NormNode[]): string[];
|
|
120
|
+
export type Arrow = 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown';
|
|
121
|
+
/** The node nearest to `from` in the arrow's direction (distance along it plus twice the sideways offset), or null. */
|
|
122
|
+
export declare function nearestInDirection(from: NormNode, others: readonly NormNode[], key: Arrow): NormNode | null;
|
|
123
|
+
/** The node whose centre is closest to `from`. */
|
|
124
|
+
export declare function nearestNode(from: NormNode, others: readonly NormNode[]): NormNode | null;
|
|
125
|
+
export declare const LAYOUT_DIRECTIONS: readonly Direction[];
|
|
126
|
+
/** New top-left positions from the layered layout of the Mermaid renderer, starting at (margin, margin). */
|
|
127
|
+
export declare function layoutPositions(nodes: readonly NormNode[], edges: readonly NormEdge[], direction: Direction, grid: number, margin?: number): Map<string, Point>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bounded undo and redo. Each entry is the state BEFORE a change plus a short label for the announcement. Undoing swaps
|
|
3
|
+
* the entry with the current state, so redo is the same move in the other direction.
|
|
4
|
+
*/
|
|
5
|
+
import type { FlowEdge, FlowNode } from './types';
|
|
6
|
+
export interface FlowSnapshot {
|
|
7
|
+
nodes: FlowNode[];
|
|
8
|
+
edges: FlowEdge[];
|
|
9
|
+
}
|
|
10
|
+
export declare const COALESCE_MS = 1000;
|
|
11
|
+
export declare const cloneSnapshot: (nodes: readonly FlowNode[], edges: readonly FlowEdge[]) => FlowSnapshot;
|
|
12
|
+
export declare function historyLimit(value: unknown): number;
|
|
13
|
+
export interface FlowHistory {
|
|
14
|
+
/** Remember `before` as the state to return to. Entries with the same `key` within one second merge into one step. */
|
|
15
|
+
record: (before: FlowSnapshot, label: string, now: number, key?: string) => void;
|
|
16
|
+
undo: (current: FlowSnapshot) => {
|
|
17
|
+
state: FlowSnapshot;
|
|
18
|
+
label: string;
|
|
19
|
+
} | null;
|
|
20
|
+
redo: (current: FlowSnapshot) => {
|
|
21
|
+
state: FlowSnapshot;
|
|
22
|
+
label: string;
|
|
23
|
+
} | null;
|
|
24
|
+
clear: () => void;
|
|
25
|
+
setLimit: (limit: number) => void;
|
|
26
|
+
readonly undoSize: number;
|
|
27
|
+
readonly redoSize: number;
|
|
28
|
+
}
|
|
29
|
+
export declare function createHistory(limit: number): FlowHistory;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as FlowCanvas } from './FlowCanvas.vue';
|
|
2
|
+
export { flowCanvasVariants, flowCanvasViewportVariants, FLOW_VARIANTS, FLOW_SIZES, FLOW_EDGE_STYLES, FLOW_HEIGHTS } from './variants';
|
|
3
|
+
export type { FlowCanvasVariants } from './variants';
|
|
4
|
+
export { FLOW_SIDES, FLOW_PORT_TYPES, FLOW_LINES, layoutPositions as flowLayoutPositions } from './flowGeometry';
|
|
5
|
+
export type { FlowCanvasProps, FlowCanvasVariant, FlowCanvasSize, FlowCanvasEdgeStyle, FlowChangeEvent, FlowChangeReason, FlowConnectEvent, FlowDisconnectEvent, FlowEdge, FlowEdgeLine, FlowNode, FlowNodeMoveEvent, FlowNodeSlotProps, FlowPort, FlowPortType, FlowSelection, FlowSide, FlowToolbarSlotProps, FlowViewport, } from './types';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/** Shared helpers of the FlowCanvas tests: mounting with a working v-model and simulated pointer and keyboard input. */
|
|
2
|
+
import { type VueWrapper } from '@vue/test-utils';
|
|
3
|
+
import { nextTick } from 'vue';
|
|
4
|
+
import type { FlowEdge, FlowNode } from './types';
|
|
5
|
+
export declare const NODES: () => FlowNode[];
|
|
6
|
+
export declare const EDGES: () => FlowEdge[];
|
|
7
|
+
export declare const flush: () => Promise<void>;
|
|
8
|
+
export declare function unmountAll(): void;
|
|
9
|
+
/** Mounts with `v-model:nodes` and `v-model:edges` wired to the props, so changes flow back like in an app. */
|
|
10
|
+
export declare function mountCanvas(props?: Record<string, unknown>, slots?: Record<string, unknown>): VueWrapper<unknown, {
|
|
11
|
+
$: import("vue").ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {};
|
|
14
|
+
$attrs: import("vue").Attrs;
|
|
15
|
+
$refs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$slots: Readonly<{
|
|
19
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
22
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
23
|
+
$host: Element | null;
|
|
24
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
25
|
+
$el: any;
|
|
26
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & {
|
|
27
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
28
|
+
created?: (() => void) | (() => void)[];
|
|
29
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
30
|
+
mounted?: (() => void) | (() => void)[];
|
|
31
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
32
|
+
updated?: (() => void) | (() => void)[];
|
|
33
|
+
activated?: (() => void) | (() => void)[];
|
|
34
|
+
deactivated?: (() => void) | (() => void)[];
|
|
35
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
36
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
37
|
+
destroyed?: (() => void) | (() => void)[];
|
|
38
|
+
unmounted?: (() => void) | (() => void)[];
|
|
39
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
40
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
41
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
42
|
+
};
|
|
43
|
+
$forceUpdate: () => void;
|
|
44
|
+
$nextTick: typeof nextTick;
|
|
45
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
46
|
+
} & Readonly<{}> & Omit<{}, never> & {} & import("vue").ComponentCustomProperties & {}>;
|
|
47
|
+
export declare const viewport: (w: VueWrapper) => import("@vue/test-utils").DOMWrapper<Element>;
|
|
48
|
+
export declare const svgOf: (w: VueWrapper) => SVGSVGElement;
|
|
49
|
+
export declare const nodeEl: (w: VueWrapper, id: string) => SVGGElement;
|
|
50
|
+
export declare const edgeEl: (w: VueWrapper, id: string) => SVGGElement;
|
|
51
|
+
export declare const portEl: (w: VueWrapper, node: string, port: string) => SVGGElement;
|
|
52
|
+
export declare const status: (w: VueWrapper) => string;
|
|
53
|
+
export declare const content: (w: VueWrapper) => string | undefined;
|
|
54
|
+
export declare const nodeIds: (w: VueWrapper) => (string | undefined)[];
|
|
55
|
+
export declare const selected: (w: VueWrapper) => (string | undefined)[];
|
|
56
|
+
export declare const nodesProp: (w: VueWrapper) => FlowNode[];
|
|
57
|
+
export declare const edgesProp: (w: VueWrapper) => FlowEdge[];
|
|
58
|
+
export declare function pointer(target: Element, type: string, init?: PointerEventInit): void;
|
|
59
|
+
/** Press on `from`, move on the svg (the pointer is captured there) and release. */
|
|
60
|
+
export declare function dragTo(from: Element, svg: Element, start: [number, number], ...path: [number, number][]): Promise<void>;
|
|
61
|
+
export declare function key(target: Element, k: string, init?: KeyboardEventInit): KeyboardEvent;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import type { NodeShape } from '../_diagram/shapes';
|
|
3
|
+
import type { DiagramTone, Direction } from '../_diagram/types';
|
|
4
|
+
export type FlowSide = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
+
/** `source` ports start connections, `target` ports receive them, `both` does either. */
|
|
6
|
+
export type FlowPortType = 'source' | 'target' | 'both';
|
|
7
|
+
export type FlowEdgeLine = 'solid' | 'dashed' | 'dotted';
|
|
8
|
+
export type FlowCanvasVariant = 'plain' | 'dots' | 'grid';
|
|
9
|
+
export type FlowCanvasSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
export type FlowCanvasEdgeStyle = 'straight' | 'curved' | 'orthogonal';
|
|
11
|
+
export type FlowChangeReason = 'move' | 'connect' | 'disconnect' | 'delete' | 'layout' | 'undo' | 'redo';
|
|
12
|
+
/** A connection point on the outline of a node. */
|
|
13
|
+
export interface FlowPort {
|
|
14
|
+
/** Unique inside its node. Edges refer to it with `fromPort` / `toPort`. */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Which side of the node the port sits on. Default `right`. Ports on one side are spread evenly. */
|
|
17
|
+
side?: FlowSide;
|
|
18
|
+
/** Default `both`. */
|
|
19
|
+
type?: FlowPortType;
|
|
20
|
+
/** Shown as a tooltip on the port. */
|
|
21
|
+
label?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface FlowNode {
|
|
24
|
+
/** Unique, non-empty. */
|
|
25
|
+
id: string;
|
|
26
|
+
/** Text drawn in the node and used as its accessible name. Defaults to the id. */
|
|
27
|
+
label?: string;
|
|
28
|
+
/** Top-left corner in canvas units. */
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
/** Default 148 x 52. */
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
/** Outline: any Mermaid node shape (`rect`, `round`, `stadium`, `rhombus`, `circle`...). Default `rect`. */
|
|
35
|
+
shape?: NodeShape;
|
|
36
|
+
tone?: DiagramTone;
|
|
37
|
+
/** Omit for four ports (one per side). `[]` makes the node impossible to connect. */
|
|
38
|
+
ports?: FlowPort[];
|
|
39
|
+
}
|
|
40
|
+
export interface FlowEdge {
|
|
41
|
+
/** Unique, non-empty. */
|
|
42
|
+
id: string;
|
|
43
|
+
/** Id of the source node. */
|
|
44
|
+
from: string;
|
|
45
|
+
/** Id of the target node. */
|
|
46
|
+
to: string;
|
|
47
|
+
label?: string;
|
|
48
|
+
/** Port id on the source node. Omitted: the nearest compatible port is used. */
|
|
49
|
+
fromPort?: string;
|
|
50
|
+
/** Port id on the target node. */
|
|
51
|
+
toPort?: string;
|
|
52
|
+
/** Line style. Default `solid`. */
|
|
53
|
+
style?: FlowEdgeLine;
|
|
54
|
+
}
|
|
55
|
+
export interface FlowViewport {
|
|
56
|
+
/** Translation in CSS pixels. */
|
|
57
|
+
x: number;
|
|
58
|
+
y: number;
|
|
59
|
+
zoom: number;
|
|
60
|
+
}
|
|
61
|
+
export interface FlowSelection {
|
|
62
|
+
nodes: string[];
|
|
63
|
+
edges: string[];
|
|
64
|
+
}
|
|
65
|
+
export interface FlowNodeMoveEvent {
|
|
66
|
+
/** Every node that moved with its new position. */
|
|
67
|
+
nodes: {
|
|
68
|
+
id: string;
|
|
69
|
+
x: number;
|
|
70
|
+
y: number;
|
|
71
|
+
}[];
|
|
72
|
+
}
|
|
73
|
+
export interface FlowConnectEvent {
|
|
74
|
+
edge: FlowEdge;
|
|
75
|
+
}
|
|
76
|
+
export interface FlowDisconnectEvent {
|
|
77
|
+
edge: FlowEdge;
|
|
78
|
+
}
|
|
79
|
+
export interface FlowChangeEvent {
|
|
80
|
+
reason: FlowChangeReason;
|
|
81
|
+
nodes: FlowNode[];
|
|
82
|
+
edges: FlowEdge[];
|
|
83
|
+
}
|
|
84
|
+
/** Scoped slot props of the `node` slot (drawn in the node's own coordinates: 0,0 is its top-left corner). */
|
|
85
|
+
export interface FlowNodeSlotProps {
|
|
86
|
+
node: FlowNode;
|
|
87
|
+
selected: boolean;
|
|
88
|
+
/** The node that is the tab stop of the canvas. */
|
|
89
|
+
active: boolean;
|
|
90
|
+
/** A connection is being made and this node is the source or the current target. */
|
|
91
|
+
connecting: boolean;
|
|
92
|
+
width: number;
|
|
93
|
+
height: number;
|
|
94
|
+
}
|
|
95
|
+
/** Scoped slot props of the `toolbar` slot. */
|
|
96
|
+
export interface FlowToolbarSlotProps {
|
|
97
|
+
zoom: number;
|
|
98
|
+
readonly: boolean;
|
|
99
|
+
canUndo: boolean;
|
|
100
|
+
canRedo: boolean;
|
|
101
|
+
hasSelection: boolean;
|
|
102
|
+
zoomIn: () => void;
|
|
103
|
+
zoomOut: () => void;
|
|
104
|
+
fit: () => void;
|
|
105
|
+
autoLayout: () => void;
|
|
106
|
+
undo: () => void;
|
|
107
|
+
redo: () => void;
|
|
108
|
+
deleteSelected: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface FlowCanvasProps extends BaseProps {
|
|
111
|
+
/** Accessible name of the canvas. Required unless `aria-label` or `aria-labelledby` is set. */
|
|
112
|
+
label?: string;
|
|
113
|
+
/** No editing by pointer or keyboard: selecting, panning and zooming still work. */
|
|
114
|
+
readonly?: boolean;
|
|
115
|
+
/** Snap node positions to this many canvas units while dragging and moving. `true` is 20; `false` is off. */
|
|
116
|
+
grid?: number | boolean;
|
|
117
|
+
/** Background: `plain`, `dots` or `grid` lines. */
|
|
118
|
+
variant?: FlowCanvasVariant;
|
|
119
|
+
/** Canvas height: 288 / 384 / 512 px. */
|
|
120
|
+
size?: FlowCanvasSize;
|
|
121
|
+
/** Edge shape: `straight`, `curved` or `orthogonal`. */
|
|
122
|
+
edgeStyle?: FlowCanvasEdgeStyle;
|
|
123
|
+
/** Layout direction of `autoLayout()`. */
|
|
124
|
+
direction?: Direction;
|
|
125
|
+
/** Show the default toolbar (zoom, fit, layout, undo, redo, delete, area select). */
|
|
126
|
+
toolbar?: boolean;
|
|
127
|
+
/** Show a small overview with the visible area. */
|
|
128
|
+
minimap?: boolean;
|
|
129
|
+
minZoom?: number;
|
|
130
|
+
maxZoom?: number;
|
|
131
|
+
/** Most undo steps kept (1 to 500). */
|
|
132
|
+
historyLimit?: number;
|
|
133
|
+
/** Fit all nodes into view once the canvas has a size. */
|
|
134
|
+
autoFit?: boolean;
|
|
135
|
+
/** Text shown while there are no nodes. */
|
|
136
|
+
emptyText?: string;
|
|
137
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
import type { FlowCanvasEdgeStyle, FlowCanvasSize, FlowCanvasVariant } from './types';
|
|
3
|
+
export declare const FLOW_VARIANTS: readonly FlowCanvasVariant[];
|
|
4
|
+
export declare const FLOW_SIZES: readonly FlowCanvasSize[];
|
|
5
|
+
export declare const FLOW_EDGE_STYLES: readonly FlowCanvasEdgeStyle[];
|
|
6
|
+
/** Fallback height (px) of the canvas before it is measured, per `size`. Matches the `h-*` classes below. */
|
|
7
|
+
export declare const FLOW_HEIGHTS: Record<FlowCanvasSize, number>;
|
|
8
|
+
/** The wrapper: toolbar, canvas and the text alternative stacked. `size` sets the gap between them. */
|
|
9
|
+
export declare const flowCanvasVariants: (props?: ({
|
|
10
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
class?: import("../../..").ClassInput;
|
|
13
|
+
className?: import("../../..").ClassInput;
|
|
14
|
+
}) | undefined) => string;
|
|
15
|
+
/** The canvas surface (the `role="application"` element): its height follows `size`, `variant` marks the background. */
|
|
16
|
+
export declare const flowCanvasViewportVariants: (props?: ({
|
|
17
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
18
|
+
variant?: "plain" | "grid" | "dots" | null | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
class?: import("../../..").ClassInput;
|
|
21
|
+
className?: import("../../..").ClassInput;
|
|
22
|
+
}) | undefined) => string;
|
|
23
|
+
export type FlowCanvasVariants = VariantProps<typeof flowCanvasViewportVariants>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type ChartTone } from '../_chart/tones';
|
|
3
|
+
import { type FunnelStageInput } from './funnelMath';
|
|
4
|
+
import { type FunnelChartGap, type FunnelChartOrientation, type FunnelChartSize, type FunnelChartVariant, type FunnelLabelPlacement } from './variants';
|
|
5
|
+
export type { FunnelStageInput } from './funnelMath';
|
|
6
|
+
export interface FunnelChartProps extends BaseProps {
|
|
7
|
+
/** Stages in order, `{ label, value, tone? }`. Values may rise from one stage to the next: the shapes follow the data. At most 50 stages are drawn. */
|
|
8
|
+
stages: FunnelStageInput[];
|
|
9
|
+
/** `funnel` joins the stages into one shape, `pyramid` is the same shape upside down (the first stage is the base), `bars` aligns the stages to the start and `steps` centres a rectangle per stage. */
|
|
10
|
+
variant?: FunnelChartVariant;
|
|
11
|
+
/** `vertical` stacks the stages top to bottom, `horizontal` runs them from start to end with the labels underneath. */
|
|
12
|
+
orientation?: FunnelChartOrientation;
|
|
13
|
+
/** Where the text goes: `beside` the shapes (a label column, or underneath when horizontal) or `inside` them. Text that does not fit inside moves beside its stage. */
|
|
14
|
+
labelPlacement?: FunnelLabelPlacement;
|
|
15
|
+
/** Show the share of the previous stage (`62%`) next to each value. The first stage has none. Values of 0 or missing values read "n/a". */
|
|
16
|
+
showConversion?: boolean;
|
|
17
|
+
/** Show the value of each stage. */
|
|
18
|
+
showValues?: boolean;
|
|
19
|
+
/** Height of a stage (32 / 44 / 56) when vertical, height of the shapes (96 / 144 / 200) when horizontal. */
|
|
20
|
+
size?: FunnelChartSize;
|
|
21
|
+
/** Space between stages: 2, 4 or 8 units. */
|
|
22
|
+
gap?: FunnelChartGap;
|
|
23
|
+
/** Tone of the stages that set none. */
|
|
24
|
+
tone?: ChartTone;
|
|
25
|
+
/** Formats values and tooltips. Defaults to compact (labels) / grouped (tooltip) numbers. */
|
|
26
|
+
valueFormatter?: (n: number) => string;
|
|
27
|
+
/** Accessible name of the chart image. Without it `title` names the chart. */
|
|
28
|
+
label?: string;
|
|
29
|
+
/** Visible heading above the chart. */
|
|
30
|
+
title?: string;
|
|
31
|
+
/** Visible description under the title. The image is described by it. */
|
|
32
|
+
description?: string;
|
|
33
|
+
/** Shown when there is nothing to plot. */
|
|
34
|
+
emptyText?: string;
|
|
35
|
+
/** Show a busy placeholder instead of the chart. */
|
|
36
|
+
loading?: boolean;
|
|
37
|
+
/** Message of the loading placeholder. */
|
|
38
|
+
loadingText?: string;
|
|
39
|
+
/** ViewBox width used until the container is measured. The chart then fills its container (1 unit = 1 CSS px). */
|
|
40
|
+
width?: number;
|
|
41
|
+
/** ViewBox height. Overrides the height derived from `size` and the number of stages. */
|
|
42
|
+
height?: number;
|
|
43
|
+
}
|
|
44
|
+
declare const __VLS_export: import("vue").DefineComponent<FunnelChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FunnelChartProps> & Readonly<{}>, {
|
|
45
|
+
size: FunnelChartSize;
|
|
46
|
+
variant: FunnelChartVariant;
|
|
47
|
+
loading: boolean;
|
|
48
|
+
tone: ChartTone;
|
|
49
|
+
width: number;
|
|
50
|
+
orientation: FunnelChartOrientation;
|
|
51
|
+
gap: FunnelChartGap;
|
|
52
|
+
emptyText: string;
|
|
53
|
+
showValues: boolean;
|
|
54
|
+
loadingText: string;
|
|
55
|
+
labelPlacement: FunnelLabelPlacement;
|
|
56
|
+
showConversion: boolean;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: typeof __VLS_export;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type ChartTone } from '../_chart/tones';
|
|
2
|
+
export interface FunnelStageInput {
|
|
3
|
+
label: string;
|
|
4
|
+
/** Size of the stage (visitors, orders, ...). Negative values draw nothing; non-finite ones read "n/a". */
|
|
5
|
+
value: number;
|
|
6
|
+
/** Tone of this stage. Defaults to the chart's `tone`. */
|
|
7
|
+
tone?: ChartTone;
|
|
8
|
+
}
|
|
9
|
+
export interface NormStage {
|
|
10
|
+
label: string;
|
|
11
|
+
/** `null` when the value is not a finite number. */
|
|
12
|
+
value: number | null;
|
|
13
|
+
tone: ChartTone | undefined;
|
|
14
|
+
index: number;
|
|
15
|
+
}
|
|
16
|
+
/** More stages than this are not drawn (the funnel would be taller than any screen); the hidden table lists up to 200. */
|
|
17
|
+
export declare const FUNNEL_MAX_STAGES = 50;
|
|
18
|
+
/** Tolerant normalisation: entries that are not objects are skipped, missing labels become `Stage n`. */
|
|
19
|
+
export declare function normalizeStages(stages: unknown): {
|
|
20
|
+
stages: NormStage[];
|
|
21
|
+
total: number;
|
|
22
|
+
};
|
|
23
|
+
/** Width of each stage as a share (0..1) of the widest one. Negative and missing values are 0. */
|
|
24
|
+
export declare function stageFractions(values: readonly (number | null)[]): number[];
|
|
25
|
+
export interface Conversions {
|
|
26
|
+
/** Percent of the previous stage; `null` for the first stage, when either value is missing or negative, or the previous is 0. */
|
|
27
|
+
previous: (number | null)[];
|
|
28
|
+
/** Percent of the first stage. */
|
|
29
|
+
first: (number | null)[];
|
|
30
|
+
}
|
|
31
|
+
export declare function conversions(values: readonly (number | null)[]): Conversions;
|
|
32
|
+
/** `62.5%`, or `n/a` for a missing rate. Huge rates are compacted (`1200%`). */
|
|
33
|
+
export declare function formatPercent(p: number | null): string;
|
|
34
|
+
export type FunnelVariant = 'funnel' | 'pyramid' | 'bars' | 'steps';
|
|
35
|
+
export type FunnelOrientation = 'vertical' | 'horizontal';
|
|
36
|
+
export interface GeometryOptions {
|
|
37
|
+
variant: FunnelVariant;
|
|
38
|
+
orientation: FunnelOrientation;
|
|
39
|
+
/** Plot rectangle in viewBox units. */
|
|
40
|
+
x0: number;
|
|
41
|
+
y0: number;
|
|
42
|
+
x1: number;
|
|
43
|
+
y1: number;
|
|
44
|
+
/** Space between neighbouring stages along the main axis. */
|
|
45
|
+
gap: number;
|
|
46
|
+
}
|
|
47
|
+
export interface StageGeometry {
|
|
48
|
+
index: number;
|
|
49
|
+
/** Closed path of the stage, `''` when it has no area. */
|
|
50
|
+
d: string;
|
|
51
|
+
x0: number;
|
|
52
|
+
y0: number;
|
|
53
|
+
x1: number;
|
|
54
|
+
y1: number;
|
|
55
|
+
/** Width and height of the largest upright rectangle that fits in the stage (what text inside it may use). */
|
|
56
|
+
innerW: number;
|
|
57
|
+
innerH: number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Shapes of the stages. The main axis runs top to bottom (vertical) or start to end (horizontal); the cross axis is
|
|
61
|
+
* the width of a stage. `funnel` joins each stage to the next (the edge towards the next stage has the next value),
|
|
62
|
+
* `pyramid` is the same shape stacked the other way round (the first stage is the base), `steps` centres a rectangle
|
|
63
|
+
* per stage and `bars` aligns the rectangles to the start (left, or bottom when horizontal).
|
|
64
|
+
*/
|
|
65
|
+
export declare function funnelGeometry(fractions: readonly number[], o: GeometryOptions): StageGeometry[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as FunnelChart } from './FunnelChart.vue';
|
|
2
|
+
export type { FunnelChartProps, FunnelStageInput } from './FunnelChart.vue';
|
|
3
|
+
export { funnelChartVariants } from './variants';
|
|
4
|
+
export type { FunnelChartVariants, FunnelChartSize, FunnelChartVariant, FunnelChartOrientation, FunnelChartGap, FunnelLabelPlacement } from './variants';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
/** Root of a FunnelChart (the figure). `size` sets the space between caption, plot and the hidden data table. */
|
|
3
|
+
export declare const funnelChartVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
class?: import("../../..").ClassInput;
|
|
7
|
+
className?: import("../../..").ClassInput;
|
|
8
|
+
}) | undefined) => string;
|
|
9
|
+
export type FunnelChartVariants = VariantProps<typeof funnelChartVariants>;
|
|
10
|
+
export type FunnelChartSize = NonNullable<FunnelChartVariants['size']>;
|
|
11
|
+
/** `funnel` joins the stages into one shape, `pyramid` stacks it the other way round (first stage at the base), `bars` aligns the stages to the start, `steps` centres a rectangle per stage. */
|
|
12
|
+
export type FunnelChartVariant = 'funnel' | 'pyramid' | 'bars' | 'steps';
|
|
13
|
+
export type FunnelChartOrientation = 'vertical' | 'horizontal';
|
|
14
|
+
/** Space between stages: 2, 4 or 8 viewBox units. */
|
|
15
|
+
export type FunnelChartGap = 'sm' | 'md' | 'lg';
|
|
16
|
+
export type FunnelLabelPlacement = 'inside' | 'beside';
|
|
17
|
+
export declare const FUNNEL_VARIANTS: readonly FunnelChartVariant[];
|
|
18
|
+
export declare const FUNNEL_ORIENTATIONS: readonly FunnelChartOrientation[];
|
|
19
|
+
export declare const FUNNEL_SIZES: readonly FunnelChartSize[];
|
|
20
|
+
export declare const FUNNEL_GAPS: readonly FunnelChartGap[];
|
|
21
|
+
export declare const FUNNEL_PLACEMENTS: readonly FunnelLabelPlacement[];
|
|
22
|
+
/** Height of one stage (vertical) per `size`. */
|
|
23
|
+
export declare const FUNNEL_ROW_HEIGHT: Record<FunnelChartSize, number>;
|
|
24
|
+
/** Height of the shapes (horizontal) per `size`, without the text under them. */
|
|
25
|
+
export declare const FUNNEL_PLOT_HEIGHT: Record<FunnelChartSize, number>;
|
|
26
|
+
export declare const FUNNEL_GAP_PX: Record<FunnelChartGap, number>;
|