@perfect-design/ui 0.0.0-stage → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/data-display/ActivityFeed/ActivityFeed.vue.d.ts +98 -0
- package/dist/components/data-display/ActivityFeed/format.d.ts +14 -0
- package/dist/components/data-display/ActivityFeed/index.d.ts +4 -0
- package/dist/components/data-display/ActivityFeed/variants.d.ts +45 -0
- package/dist/components/data-display/BarChart/BarChart.vue.d.ts +52 -0
- package/dist/components/data-display/BarChart/index.d.ts +2 -0
- package/dist/components/data-display/BoardCard/BoardCard.vue.d.ts +47 -0
- package/dist/components/data-display/BoardCard/boardDrag.d.ts +14 -0
- package/dist/components/data-display/BoardCard/index.d.ts +4 -0
- package/dist/components/data-display/BoardCard/variants.d.ts +15 -0
- package/dist/components/data-display/BoardColumn/BoardColumn.vue.d.ts +66 -0
- package/dist/components/data-display/BoardColumn/index.d.ts +4 -0
- package/dist/components/data-display/BoardColumn/variants.d.ts +14 -0
- package/dist/components/data-display/BulletChart/BulletChart.vue.d.ts +55 -0
- package/dist/components/data-display/BulletChart/bulletData.d.ts +51 -0
- package/dist/components/data-display/BulletChart/index.d.ts +6 -0
- package/dist/components/data-display/BulletChart/variants.d.ts +24 -0
- package/dist/components/data-display/CalendarHeatmap/CalendarHeatmap.vue.d.ts +59 -0
- package/dist/components/data-display/CalendarHeatmap/calendarDates.d.ts +30 -0
- package/dist/components/data-display/CalendarHeatmap/calendarMath.d.ts +79 -0
- package/dist/components/data-display/CalendarHeatmap/calendarRamp.d.ts +6 -0
- package/dist/components/data-display/CalendarHeatmap/index.d.ts +9 -0
- package/dist/components/data-display/CalendarHeatmap/variants.d.ts +21 -0
- package/dist/components/data-display/Card/Card.vue.d.ts +54 -0
- package/dist/components/data-display/Card/CardAction.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardBody.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardContent.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardDescription.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardFooter.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardHeader.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardMedia.vue.d.ts +23 -0
- package/dist/components/data-display/Card/CardTitle.vue.d.ts +23 -0
- package/dist/components/data-display/Card/context.d.ts +8 -0
- package/dist/components/data-display/Card/index.d.ts +14 -0
- package/dist/components/data-display/Card/variants.d.ts +18 -0
- package/dist/components/data-display/Carousel/Carousel.vue.d.ts +67 -0
- package/dist/components/data-display/Carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/CarouselCounter.vue.d.ts +21 -0
- package/dist/components/data-display/Carousel/CarouselDots.vue.d.ts +28 -0
- package/dist/components/data-display/Carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/components/data-display/Carousel/CarouselNext.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/CarouselPlayPause.vue.d.ts +13 -0
- package/dist/components/data-display/Carousel/CarouselPrevious.vue.d.ts +22 -0
- package/dist/components/data-display/Carousel/context.d.ts +27 -0
- package/dist/components/data-display/Carousel/index.d.ts +18 -0
- package/dist/components/data-display/Carousel/variants.d.ts +21 -0
- package/dist/components/data-display/ChatMessage/ChatMessage.vue.d.ts +69 -0
- package/dist/components/data-display/ChatMessage/ChatMessageImageLink.vue.d.ts +8 -0
- package/dist/components/data-display/ChatMessage/date.d.ts +13 -0
- package/dist/components/data-display/ChatMessage/index.d.ts +5 -0
- package/dist/components/data-display/ChatMessage/variants.d.ts +38 -0
- package/dist/components/data-display/ChatThread/ChatThread.vue.d.ts +93 -0
- package/dist/components/data-display/ChatThread/index.d.ts +4 -0
- package/dist/components/data-display/ChatThread/variants.d.ts +20 -0
- package/dist/components/data-display/CodeBlock/CodeBlock.vue.d.ts +63 -0
- package/dist/components/data-display/CodeBlock/index.d.ts +5 -0
- package/dist/components/data-display/CodeBlock/lines.d.ts +8 -0
- package/dist/components/data-display/CodeBlock/variants.d.ts +46 -0
- package/dist/components/data-display/CodeViewer/CodeViewer.vue.d.ts +32 -0
- package/dist/components/data-display/CodeViewer/fold.d.ts +22 -0
- package/dist/components/data-display/CodeViewer/index.d.ts +7 -0
- package/dist/components/data-display/CodeViewer/lineSpec.d.ts +8 -0
- package/dist/components/data-display/CodeViewer/tokenize/go.d.ts +7 -0
- package/dist/components/data-display/CodeViewer/tokenize/index.d.ts +14 -0
- package/dist/components/data-display/CodeViewer/tokenize/json.d.ts +5 -0
- package/dist/components/data-display/CodeViewer/tokenize/plain.d.ts +2 -0
- package/dist/components/data-display/CodeViewer/tokenize/shell.d.ts +4 -0
- package/dist/components/data-display/CodeViewer/tokenize/toml.d.ts +3 -0
- package/dist/components/data-display/CodeViewer/tokenize/types.d.ts +19 -0
- package/dist/components/data-display/CodeViewer/tokenize/yaml.d.ts +6 -0
- package/dist/components/data-display/CodeViewer/types.d.ts +36 -0
- package/dist/components/data-display/CodeViewer/variants.d.ts +25 -0
- package/dist/components/data-display/DataGrid/DataGrid.vue.d.ts +58 -0
- package/dist/components/data-display/DataGrid/DataGridCellEditor.vue.d.ts +24 -0
- package/dist/components/data-display/DataGrid/DataGridHeaderCell.vue.d.ts +45 -0
- package/dist/components/data-display/DataGrid/column-sizing.d.ts +29 -0
- package/dist/components/data-display/DataGrid/grid-navigation.d.ts +34 -0
- package/dist/components/data-display/DataGrid/index.d.ts +4 -0
- package/dist/components/data-display/DataGrid/selection.d.ts +10 -0
- package/dist/components/data-display/DataGrid/tsv.d.ts +9 -0
- package/dist/components/data-display/DataGrid/types.d.ts +84 -0
- package/dist/components/data-display/DataGrid/variants.d.ts +30 -0
- package/dist/components/data-display/DataGrid/virtual-window.d.ts +26 -0
- package/dist/components/data-display/DataTable/DataTable.vue.d.ts +36 -0
- package/dist/components/data-display/DataTable/SortHeaderButton.vue.d.ts +28 -0
- package/dist/components/data-display/DataTable/TableCardControls.vue.d.ts +58 -0
- package/dist/components/data-display/DataTable/index.d.ts +7 -0
- package/dist/components/data-display/DataTable/selectStyles.d.ts +2 -0
- package/dist/components/data-display/DataTable/sort.d.ts +16 -0
- package/dist/components/data-display/DataTable/types.d.ts +91 -0
- package/dist/components/data-display/DescriptionList/DescriptionItem.vue.d.ts +30 -0
- package/dist/components/data-display/DescriptionList/DescriptionList.vue.d.ts +41 -0
- package/dist/components/data-display/DescriptionList/DetailField.vue.d.ts +33 -0
- package/dist/components/data-display/DescriptionList/context.d.ts +6 -0
- package/dist/components/data-display/DescriptionList/index.d.ts +8 -0
- package/dist/components/data-display/DescriptionList/variants.d.ts +35 -0
- package/dist/components/data-display/DiffViewer/DiffText.vue.d.ts +14 -0
- package/dist/components/data-display/DiffViewer/DiffViewer.vue.d.ts +80 -0
- package/dist/components/data-display/DiffViewer/api.d.ts +6 -0
- package/dist/components/data-display/DiffViewer/diff.d.ts +87 -0
- package/dist/components/data-display/DiffViewer/index.d.ts +4 -0
- package/dist/components/data-display/DiffViewer/variants.d.ts +45 -0
- package/dist/components/data-display/DonutChart/DonutChart.vue.d.ts +49 -0
- package/dist/components/data-display/DonutChart/index.d.ts +4 -0
- package/dist/components/data-display/DonutChart/variants.d.ts +29 -0
- package/dist/components/data-display/FlowCanvas/FlowCanvas.vue.d.ts +79 -0
- package/dist/components/data-display/FlowCanvas/FlowCanvasMinimap.vue.d.ts +19 -0
- package/dist/components/data-display/FlowCanvas/flowGeometry.d.ts +127 -0
- package/dist/components/data-display/FlowCanvas/flowHistory.d.ts +29 -0
- package/dist/components/data-display/FlowCanvas/index.d.ts +5 -0
- package/dist/components/data-display/FlowCanvas/testing.d.ts +61 -0
- package/dist/components/data-display/FlowCanvas/types.d.ts +137 -0
- package/dist/components/data-display/FlowCanvas/variants.d.ts +23 -0
- package/dist/components/data-display/FunnelChart/FunnelChart.vue.d.ts +59 -0
- package/dist/components/data-display/FunnelChart/funnelMath.d.ts +65 -0
- package/dist/components/data-display/FunnelChart/index.d.ts +4 -0
- package/dist/components/data-display/FunnelChart/variants.d.ts +26 -0
- package/dist/components/data-display/Gauge/Gauge.vue.d.ts +63 -0
- package/dist/components/data-display/Gauge/index.d.ts +4 -0
- package/dist/components/data-display/Gauge/variants.d.ts +20 -0
- package/dist/components/data-display/GoViewer/GoViewer.vue.d.ts +28 -0
- package/dist/components/data-display/GoViewer/goLiteral.d.ts +21 -0
- package/dist/components/data-display/GoViewer/index.d.ts +4 -0
- package/dist/components/data-display/Heatmap/Heatmap.vue.d.ts +44 -0
- package/dist/components/data-display/Heatmap/heatLevel.d.ts +18 -0
- package/dist/components/data-display/Heatmap/index.d.ts +5 -0
- package/dist/components/data-display/Heatmap/variants.d.ts +20 -0
- package/dist/components/data-display/JsonViewer/JsonViewer.vue.d.ts +54 -0
- package/dist/components/data-display/JsonViewer/index.d.ts +5 -0
- package/dist/components/data-display/JsonViewer/jsonTree.d.ts +63 -0
- package/dist/components/data-display/JsonViewer/variants.d.ts +21 -0
- package/dist/components/data-display/KpiTile/KpiTile.vue.d.ts +69 -0
- package/dist/components/data-display/KpiTile/index.d.ts +4 -0
- package/dist/components/data-display/KpiTile/variants.d.ts +27 -0
- package/dist/components/data-display/Leaderboard/Leaderboard.vue.d.ts +79 -0
- package/dist/components/data-display/Leaderboard/helpers.d.ts +70 -0
- package/dist/components/data-display/Leaderboard/index.d.ts +6 -0
- package/dist/components/data-display/Leaderboard/variants.d.ts +33 -0
- package/dist/components/data-display/LineChart/LineChart.vue.d.ts +51 -0
- package/dist/components/data-display/LineChart/index.d.ts +2 -0
- package/dist/components/data-display/List/List.vue.d.ts +42 -0
- package/dist/components/data-display/List/ListItem.vue.d.ts +41 -0
- package/dist/components/data-display/List/index.d.ts +6 -0
- package/dist/components/data-display/List/variants.d.ts +28 -0
- package/dist/components/data-display/LogViewer/LogViewer.vue.d.ts +87 -0
- package/dist/components/data-display/LogViewer/ansi.d.ts +27 -0
- package/dist/components/data-display/LogViewer/index.d.ts +8 -0
- package/dist/components/data-display/LogViewer/logs.d.ts +46 -0
- package/dist/components/data-display/LogViewer/variants.d.ts +27 -0
- package/dist/components/data-display/MermaidDiagram/MermaidDiagram.vue.d.ts +25 -0
- package/dist/components/data-display/MermaidDiagram/index.d.ts +14 -0
- package/dist/components/data-display/MermaidDiagram/parse/class.d.ts +78 -0
- package/dist/components/data-display/MermaidDiagram/parse/er.d.ts +58 -0
- package/dist/components/data-display/MermaidDiagram/parse/flowchart.d.ts +66 -0
- package/dist/components/data-display/MermaidDiagram/parse/gantt.d.ts +48 -0
- package/dist/components/data-display/MermaidDiagram/parse/index.d.ts +25 -0
- package/dist/components/data-display/MermaidDiagram/parse/journey.d.ts +31 -0
- package/dist/components/data-display/MermaidDiagram/parse/mindmap.d.ts +40 -0
- package/dist/components/data-display/MermaidDiagram/parse/pie.d.ts +24 -0
- package/dist/components/data-display/MermaidDiagram/parse/sequence.d.ts +80 -0
- package/dist/components/data-display/MermaidDiagram/parse/state.d.ts +62 -0
- package/dist/components/data-display/MermaidDiagram/parse/timeline.d.ts +30 -0
- package/dist/components/data-display/MermaidDiagram/render/class.d.ts +7 -0
- package/dist/components/data-display/MermaidDiagram/render/er.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/flowchart.d.ts +5 -0
- package/dist/components/data-display/MermaidDiagram/render/gantt.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/index.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/journey.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/mindmap.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/pie.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/sequence.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/state.d.ts +5 -0
- package/dist/components/data-display/MermaidDiagram/render/timeline.d.ts +3 -0
- package/dist/components/data-display/MermaidDiagram/render/timelineKit/testing.d.ts +18 -0
- package/dist/components/data-display/MermaidDiagram/types.d.ts +42 -0
- package/dist/components/data-display/MermaidDiagram/variants.d.ts +25 -0
- package/dist/components/data-display/NetworkGraph/NetworkGraph.vue.d.ts +50 -0
- package/dist/components/data-display/NetworkGraph/graphData.d.ts +68 -0
- package/dist/components/data-display/NetworkGraph/index.d.ts +7 -0
- package/dist/components/data-display/NetworkGraph/networkGeometry.d.ts +35 -0
- package/dist/components/data-display/NetworkGraph/networkLayout.d.ts +59 -0
- package/dist/components/data-display/NetworkGraph/variants.d.ts +20 -0
- package/dist/components/data-display/RadarChart/RadarChart.vue.d.ts +61 -0
- package/dist/components/data-display/RadarChart/index.d.ts +4 -0
- package/dist/components/data-display/RadarChart/radarMath.d.ts +35 -0
- package/dist/components/data-display/RadarChart/variants.d.ts +20 -0
- package/dist/components/data-display/Sankey/Sankey.vue.d.ts +59 -0
- package/dist/components/data-display/Sankey/index.d.ts +5 -0
- package/dist/components/data-display/Sankey/sankeyLayout.d.ts +69 -0
- package/dist/components/data-display/Sankey/sankeyTones.d.ts +21 -0
- package/dist/components/data-display/Sankey/variants.d.ts +36 -0
- package/dist/components/data-display/ScatterChart/ScatterChart.vue.d.ts +68 -0
- package/dist/components/data-display/ScatterChart/index.d.ts +4 -0
- package/dist/components/data-display/ScatterChart/scatterMath.d.ts +60 -0
- package/dist/components/data-display/ScatterChart/variants.d.ts +21 -0
- package/dist/components/data-display/Sparkline/Sparkline.vue.d.ts +44 -0
- package/dist/components/data-display/Sparkline/index.d.ts +4 -0
- package/dist/components/data-display/Sparkline/variants.d.ts +11 -0
- package/dist/components/data-display/StatBar/StatBar.vue.d.ts +34 -0
- package/dist/components/data-display/StatBar/index.d.ts +2 -0
- package/dist/components/data-display/StatGroup/StatGroup.vue.d.ts +29 -0
- package/dist/components/data-display/StatGroup/index.d.ts +4 -0
- package/dist/components/data-display/StatGroup/variants.d.ts +15 -0
- package/dist/components/data-display/Table/Table.vue.d.ts +57 -0
- package/dist/components/data-display/Table/TableBody.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableCaption.vue.d.ts +20 -0
- package/dist/components/data-display/Table/TableCell.vue.d.ts +31 -0
- package/dist/components/data-display/Table/TableEmpty.vue.d.ts +22 -0
- package/dist/components/data-display/Table/TableFooter.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableHead.vue.d.ts +25 -0
- package/dist/components/data-display/Table/TableHeader.vue.d.ts +16 -0
- package/dist/components/data-display/Table/TableRow.vue.d.ts +28 -0
- package/dist/components/data-display/Table/context.d.ts +17 -0
- package/dist/components/data-display/Table/index.d.ts +17 -0
- package/dist/components/data-display/Table/variants.d.ts +76 -0
- package/dist/components/data-display/Timeline/Timeline.vue.d.ts +40 -0
- package/dist/components/data-display/Timeline/TimelineItem.vue.d.ts +36 -0
- package/dist/components/data-display/Timeline/index.d.ts +6 -0
- package/dist/components/data-display/Timeline/variants.d.ts +52 -0
- package/dist/components/data-display/Tree/Tree.vue.d.ts +69 -0
- package/dist/components/data-display/Tree/flatten.d.ts +44 -0
- package/dist/components/data-display/Tree/index.d.ts +8 -0
- package/dist/components/data-display/Tree/variants.d.ts +50 -0
- package/dist/components/data-display/Treemap/Treemap.vue.d.ts +59 -0
- package/dist/components/data-display/Treemap/index.d.ts +6 -0
- package/dist/components/data-display/Treemap/treemapLayout.d.ts +64 -0
- package/dist/components/data-display/Treemap/treemapTones.d.ts +13 -0
- package/dist/components/data-display/Treemap/variants.d.ts +31 -0
- package/dist/components/data-display/TrendBadge/TrendBadge.vue.d.ts +53 -0
- package/dist/components/data-display/TrendBadge/index.d.ts +4 -0
- package/dist/components/data-display/TrendBadge/variants.d.ts +18 -0
- package/dist/components/data-display/VirtualList/VirtualList.vue.d.ts +54 -0
- package/dist/components/data-display/VirtualList/index.d.ts +4 -0
- package/dist/components/data-display/VirtualList/variants.d.ts +19 -0
- package/dist/components/data-display/WaterfallChart/WaterfallChart.vue.d.ts +69 -0
- package/dist/components/data-display/WaterfallChart/index.d.ts +5 -0
- package/dist/components/data-display/WaterfallChart/variants.d.ts +21 -0
- package/dist/components/data-display/WaterfallChart/waterfallMath.d.ts +33 -0
- package/dist/components/data-display/YamlViewer/YamlViewer.vue.d.ts +26 -0
- package/dist/components/data-display/YamlViewer/index.d.ts +4 -0
- package/dist/components/data-display/YamlViewer/yamlStringify.d.ts +16 -0
- package/dist/components/data-display/_chart/ChartCaption.vue.d.ts +10 -0
- package/dist/components/data-display/_chart/ChartDataTable.vue.d.ts +21 -0
- package/dist/components/data-display/_chart/ChartLegend.vue.d.ts +22 -0
- package/dist/components/data-display/_chart/ChartMarkerLegend.vue.d.ts +23 -0
- package/dist/components/data-display/_chart/ChartPlaceholder.vue.d.ts +17 -0
- package/dist/components/data-display/_chart/chartContract.d.ts +18 -0
- package/dist/components/data-display/_chart/chartFrame.d.ts +42 -0
- package/dist/components/data-display/_chart/chartKit.d.ts +76 -0
- package/dist/components/data-display/_chart/chartMath.d.ts +44 -0
- package/dist/components/data-display/_chart/chartText.d.ts +5 -0
- package/dist/components/data-display/_chart/tones.d.ts +15 -0
- package/dist/components/data-display/_chart/useMeasuredWidth.d.ts +7 -0
- package/dist/components/data-display/_diagram/DiagramCanvas.vue.d.ts +18 -0
- package/dist/components/data-display/_diagram/ganttDates.d.ts +48 -0
- package/dist/components/data-display/_diagram/graph.d.ts +57 -0
- package/dist/components/data-display/_diagram/layout.d.ts +78 -0
- package/dist/components/data-display/_diagram/palette.d.ts +33 -0
- package/dist/components/data-display/_diagram/route.d.ts +65 -0
- package/dist/components/data-display/_diagram/shapes.d.ts +29 -0
- package/dist/components/data-display/_diagram/source.d.ts +38 -0
- package/dist/components/data-display/_diagram/style.d.ts +20 -0
- package/dist/components/data-display/_diagram/text.d.ts +21 -0
- package/dist/components/data-display/_diagram/timelineRows.d.ts +11 -0
- package/dist/components/data-display/_diagram/types.d.ts +170 -0
- package/dist/components/data-display/_shared/CopyButton.vue.d.ts +27 -0
- package/dist/components/data-display/_shared/contract.d.ts +17 -0
- package/dist/components/data-display/_shared/useVirtualWindow.d.ts +38 -0
- package/dist/components/data-display/index.d.ts +46 -0
- package/dist/components/feedback/Alert/Alert.vue.d.ts +51 -0
- package/dist/components/feedback/Alert/AlertDescription.vue.d.ts +16 -0
- package/dist/components/feedback/Alert/AlertTitle.vue.d.ts +16 -0
- package/dist/components/feedback/Alert/index.d.ts +6 -0
- package/dist/components/feedback/Alert/variants.d.ts +45 -0
- package/dist/components/feedback/AsyncBoundary/AsyncBoundary.vue.d.ts +101 -0
- package/dist/components/feedback/AsyncBoundary/describeError.d.ts +8 -0
- package/dist/components/feedback/AsyncBoundary/index.d.ts +5 -0
- package/dist/components/feedback/AsyncBoundary/variants.d.ts +25 -0
- package/dist/components/feedback/Banner/Banner.vue.d.ts +62 -0
- package/dist/components/feedback/Banner/index.d.ts +4 -0
- package/dist/components/feedback/Banner/storage.d.ts +4 -0
- package/dist/components/feedback/Banner/variants.d.ts +23 -0
- package/dist/components/feedback/Callout/Callout.vue.d.ts +52 -0
- package/dist/components/feedback/Callout/icons.d.ts +4 -0
- package/dist/components/feedback/Callout/index.d.ts +4 -0
- package/dist/components/feedback/Callout/variants.d.ts +30 -0
- package/dist/components/feedback/ConfirmDialog/ConfirmDialog.vue.d.ts +60 -0
- package/dist/components/feedback/ConfirmDialog/ConfirmHost.vue.d.ts +3 -0
- package/dist/components/feedback/ConfirmDialog/index.d.ts +5 -0
- package/dist/components/feedback/ConfirmDialog/useConfirm.d.ts +84 -0
- package/dist/components/feedback/EmptyState/EmptyState.vue.d.ts +50 -0
- package/dist/components/feedback/EmptyState/index.d.ts +4 -0
- package/dist/components/feedback/EmptyState/variants.d.ts +61 -0
- package/dist/components/feedback/ErrorState/ErrorState.vue.d.ts +65 -0
- package/dist/components/feedback/ErrorState/index.d.ts +6 -0
- package/dist/components/feedback/ErrorState/presets.d.ts +9 -0
- package/dist/components/feedback/ErrorState/variants.d.ts +71 -0
- package/dist/components/feedback/InlineMessage/InlineMessage.vue.d.ts +34 -0
- package/dist/components/feedback/InlineMessage/index.d.ts +4 -0
- package/dist/components/feedback/InlineMessage/variants.d.ts +14 -0
- package/dist/components/feedback/LoadingState/LoadingState.vue.d.ts +50 -0
- package/dist/components/feedback/LoadingState/count.d.ts +2 -0
- package/dist/components/feedback/LoadingState/index.d.ts +4 -0
- package/dist/components/feedback/LoadingState/variants.d.ts +24 -0
- package/dist/components/feedback/NotificationList/NotificationList.vue.d.ts +114 -0
- package/dist/components/feedback/NotificationList/index.d.ts +6 -0
- package/dist/components/feedback/NotificationList/time.d.ts +16 -0
- package/dist/components/feedback/NotificationList/variants.d.ts +34 -0
- package/dist/components/feedback/OfflineIndicator/OfflineIndicator.vue.d.ts +32 -0
- package/dist/components/feedback/OfflineIndicator/index.d.ts +4 -0
- package/dist/components/feedback/OfflineIndicator/variants.d.ts +25 -0
- package/dist/components/feedback/StaleNotice/StaleNotice.vue.d.ts +43 -0
- package/dist/components/feedback/StaleNotice/formatRelativeTime.d.ts +11 -0
- package/dist/components/feedback/StaleNotice/index.d.ts +6 -0
- package/dist/components/feedback/StaleNotice/variants.d.ts +33 -0
- package/dist/components/feedback/ToastItem/ToastItem.vue.d.ts +46 -0
- package/dist/components/feedback/ToastItem/index.d.ts +4 -0
- package/dist/components/feedback/ToastItem/variants.d.ts +32 -0
- package/dist/components/feedback/Toaster/Toaster.vue.d.ts +30 -0
- package/dist/components/feedback/Toaster/index.d.ts +4 -0
- package/dist/components/feedback/Toaster/positions.d.ts +5 -0
- package/dist/components/feedback/index.d.ts +15 -0
- package/dist/components/feedback/pick.d.ts +2 -0
- package/dist/components/feedback/requireContent.d.ts +6 -0
- package/dist/components/feedback/tones.d.ts +8 -0
- package/dist/components/forms/Calendar/Calendar.vue.d.ts +74 -0
- package/dist/components/forms/Calendar/dateMath.d.ts +103 -0
- package/dist/components/forms/Calendar/index.d.ts +6 -0
- package/dist/components/forms/Calendar/variants.d.ts +29 -0
- package/dist/components/forms/Checkbox/Checkbox.vue.d.ts +62 -0
- package/dist/components/forms/Checkbox/index.d.ts +6 -0
- package/dist/components/forms/Checkbox/tones.d.ts +13 -0
- package/dist/components/forms/Checkbox/variants.d.ts +24 -0
- package/dist/components/forms/CheckboxCard/CheckboxCard.vue.d.ts +75 -0
- package/dist/components/forms/CheckboxCard/CheckboxCardGroup.vue.d.ts +55 -0
- package/dist/components/forms/CheckboxCard/SelectableCardShell.vue.d.ts +50 -0
- package/dist/components/forms/CheckboxCard/context.d.ts +17 -0
- package/dist/components/forms/CheckboxCard/contract-helpers.d.ts +28 -0
- package/dist/components/forms/CheckboxCard/index.d.ts +6 -0
- package/dist/components/forms/CheckboxCard/use-controllable.d.ts +9 -0
- package/dist/components/forms/CheckboxCard/variants.d.ts +38 -0
- package/dist/components/forms/ColorPicker/ColorPicker.vue.d.ts +45 -0
- package/dist/components/forms/ColorPicker/color.d.ts +8 -0
- package/dist/components/forms/ColorPicker/index.d.ts +5 -0
- package/dist/components/forms/ColorPicker/variants.d.ts +52 -0
- package/dist/components/forms/Combobox/Combobox.vue.d.ts +72 -0
- package/dist/components/forms/Combobox/index.d.ts +4 -0
- package/dist/components/forms/Combobox/variants.d.ts +36 -0
- package/dist/components/forms/CopyField/CopyField.vue.d.ts +57 -0
- package/dist/components/forms/CopyField/index.d.ts +4 -0
- package/dist/components/forms/CopyField/variants.d.ts +30 -0
- package/dist/components/forms/DateInput/DateInput.vue.d.ts +60 -0
- package/dist/components/forms/DateInput/index.d.ts +4 -0
- package/dist/components/forms/DateInput/variants.d.ts +16 -0
- package/dist/components/forms/DatePicker/DatePicker.vue.d.ts +62 -0
- package/dist/components/forms/DatePicker/DatePickerIcon.vue.d.ts +7 -0
- package/dist/components/forms/DatePicker/index.d.ts +4 -0
- package/dist/components/forms/DatePicker/usePickerDropdown.d.ts +29 -0
- package/dist/components/forms/DatePicker/usePickerTrigger.d.ts +36 -0
- package/dist/components/forms/DatePicker/variants.d.ts +14 -0
- package/dist/components/forms/DateRangePicker/DateRangePicker.vue.d.ts +82 -0
- package/dist/components/forms/DateRangePicker/index.d.ts +3 -0
- package/dist/components/forms/Editable/Editable.vue.d.ts +61 -0
- package/dist/components/forms/Editable/index.d.ts +4 -0
- package/dist/components/forms/Editable/variants.d.ts +20 -0
- package/dist/components/forms/Field/Field.vue.d.ts +49 -0
- package/dist/components/forms/Field/FieldStatusIcon.vue.d.ts +16 -0
- package/dist/components/forms/Field/field-styles.d.ts +19 -0
- package/dist/components/forms/Field/field-variants.d.ts +62 -0
- package/dist/components/forms/Field/index.d.ts +6 -0
- package/dist/components/forms/Field/useFieldContext.d.ts +52 -0
- package/dist/components/forms/Field/useNativeValidation.d.ts +10 -0
- package/dist/components/forms/FieldGroup/FieldGroup.vue.d.ts +31 -0
- package/dist/components/forms/FieldGroup/index.d.ts +2 -0
- package/dist/components/forms/Fieldset/Fieldset.vue.d.ts +36 -0
- package/dist/components/forms/Fieldset/index.d.ts +2 -0
- package/dist/components/forms/FileDropzone/FileDropzone.vue.d.ts +66 -0
- package/dist/components/forms/FileDropzone/index.d.ts +4 -0
- package/dist/components/forms/FileDropzone/variants.d.ts +36 -0
- package/dist/components/forms/FilterBar/FilterBar.vue.d.ts +64 -0
- package/dist/components/forms/FilterBar/FilterChip.vue.d.ts +43 -0
- package/dist/components/forms/FilterBar/format.d.ts +22 -0
- package/dist/components/forms/FilterBar/index.d.ts +11 -0
- package/dist/components/forms/FilterBar/query.d.ts +20 -0
- package/dist/components/forms/FilterBar/testing.d.ts +249 -0
- package/dist/components/forms/FilterBar/types.d.ts +86 -0
- package/dist/components/forms/FilterBar/variants.d.ts +46 -0
- package/dist/components/forms/FormActions/FormActions.vue.d.ts +54 -0
- package/dist/components/forms/FormActions/index.d.ts +4 -0
- package/dist/components/forms/FormActions/variants.d.ts +26 -0
- package/dist/components/forms/FormSection/FormSection.vue.d.ts +47 -0
- package/dist/components/forms/FormSection/index.d.ts +4 -0
- package/dist/components/forms/FormSection/variants.d.ts +19 -0
- package/dist/components/forms/Input/Input.vue.d.ts +49 -0
- package/dist/components/forms/Input/index.d.ts +4 -0
- package/dist/components/forms/Input/variants.d.ts +16 -0
- package/dist/components/forms/InputGroup/InputGroup.vue.d.ts +37 -0
- package/dist/components/forms/InputGroup/InputGroupAddon.vue.d.ts +24 -0
- package/dist/components/forms/InputGroup/context.d.ts +11 -0
- package/dist/components/forms/InputGroup/index.d.ts +6 -0
- package/dist/components/forms/InputGroup/variants.d.ts +29 -0
- package/dist/components/forms/Label/Label.vue.d.ts +38 -0
- package/dist/components/forms/Label/index.d.ts +4 -0
- package/dist/components/forms/Label/variants.d.ts +12 -0
- package/dist/components/forms/ModelPicker/ModelPicker.vue.d.ts +72 -0
- package/dist/components/forms/ModelPicker/index.d.ts +5 -0
- package/dist/components/forms/ModelPicker/options.d.ts +37 -0
- package/dist/components/forms/ModelPicker/variants.d.ts +15 -0
- package/dist/components/forms/MultiSelect/MultiSelect.vue.d.ts +96 -0
- package/dist/components/forms/MultiSelect/index.d.ts +4 -0
- package/dist/components/forms/MultiSelect/variants.d.ts +24 -0
- package/dist/components/forms/NativeSelect/NativeSelect.vue.d.ts +54 -0
- package/dist/components/forms/NativeSelect/index.d.ts +4 -0
- package/dist/components/forms/NativeSelect/variants.d.ts +16 -0
- package/dist/components/forms/NumberInput/NumberInput.vue.d.ts +55 -0
- package/dist/components/forms/NumberInput/index.d.ts +4 -0
- package/dist/components/forms/NumberInput/variants.d.ts +16 -0
- package/dist/components/forms/PasswordInput/PasswordInput.vue.d.ts +52 -0
- package/dist/components/forms/PasswordInput/index.d.ts +4 -0
- package/dist/components/forms/PasswordInput/variants.d.ts +11 -0
- package/dist/components/forms/PinInput/PinInput.vue.d.ts +51 -0
- package/dist/components/forms/PinInput/index.d.ts +4 -0
- package/dist/components/forms/PinInput/variants.d.ts +30 -0
- package/dist/components/forms/PromptInput/PromptInput.vue.d.ts +87 -0
- package/dist/components/forms/PromptInput/icons.d.ts +3 -0
- package/dist/components/forms/PromptInput/index.d.ts +4 -0
- package/dist/components/forms/PromptInput/variants.d.ts +21 -0
- package/dist/components/forms/RadioCard/RadioCard.vue.d.ts +60 -0
- package/dist/components/forms/RadioCard/RadioCardGroup.vue.d.ts +56 -0
- package/dist/components/forms/RadioCard/context.d.ts +18 -0
- package/dist/components/forms/RadioCard/index.d.ts +6 -0
- package/dist/components/forms/RadioCard/variants.d.ts +4 -0
- package/dist/components/forms/RadioGroup/RadioGroup.vue.d.ts +52 -0
- package/dist/components/forms/RadioGroup/RadioGroupItem.vue.d.ts +43 -0
- package/dist/components/forms/RadioGroup/context.d.ts +10 -0
- package/dist/components/forms/RadioGroup/index.d.ts +6 -0
- package/dist/components/forms/RadioGroup/variants.d.ts +28 -0
- package/dist/components/forms/Rating/Rating.vue.d.ts +40 -0
- package/dist/components/forms/Rating/index.d.ts +4 -0
- package/dist/components/forms/Rating/variants.d.ts +46 -0
- package/dist/components/forms/SearchInput/SearchInput.vue.d.ts +55 -0
- package/dist/components/forms/SearchInput/index.d.ts +4 -0
- package/dist/components/forms/SearchInput/variants.d.ts +16 -0
- package/dist/components/forms/SegmentedControl/SegmentedControl.vue.d.ts +61 -0
- package/dist/components/forms/SegmentedControl/index.d.ts +4 -0
- package/dist/components/forms/SegmentedControl/variants.d.ts +25 -0
- package/dist/components/forms/Select/Select.vue.d.ts +40 -0
- package/dist/components/forms/Select/SelectContent.vue.d.ts +32 -0
- package/dist/components/forms/Select/SelectGroup.vue.d.ts +19 -0
- package/dist/components/forms/Select/SelectItem.vue.d.ts +27 -0
- package/dist/components/forms/Select/SelectLabel.vue.d.ts +19 -0
- package/dist/components/forms/Select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/forms/Select/SelectTrigger.vue.d.ts +36 -0
- package/dist/components/forms/Select/SelectValue.vue.d.ts +21 -0
- package/dist/components/forms/Select/index.d.ts +20 -0
- package/dist/components/forms/Select/select-size.d.ts +10 -0
- package/dist/components/forms/Select/variants.d.ts +24 -0
- package/dist/components/forms/Slider/Slider.vue.d.ts +71 -0
- package/dist/components/forms/Slider/index.d.ts +5 -0
- package/dist/components/forms/Slider/variants.d.ts +68 -0
- package/dist/components/forms/Switch/Switch.vue.d.ts +64 -0
- package/dist/components/forms/Switch/index.d.ts +4 -0
- package/dist/components/forms/Switch/variants.d.ts +42 -0
- package/dist/components/forms/TagsInput/TagsInput.vue.d.ts +76 -0
- package/dist/components/forms/TagsInput/index.d.ts +4 -0
- package/dist/components/forms/TagsInput/variants.d.ts +31 -0
- package/dist/components/forms/Textarea/Textarea.vue.d.ts +51 -0
- package/dist/components/forms/Textarea/index.d.ts +4 -0
- package/dist/components/forms/Textarea/variants.d.ts +17 -0
- package/dist/components/forms/TimeInput/TimeInput.vue.d.ts +54 -0
- package/dist/components/forms/TimeInput/announce.d.ts +16 -0
- package/dist/components/forms/TimeInput/index.d.ts +6 -0
- package/dist/components/forms/TimeInput/time.d.ts +13 -0
- package/dist/components/forms/TimeInput/variants.d.ts +36 -0
- package/dist/components/forms/TimeRangePicker/TimeRangePicker.vue.d.ts +142 -0
- package/dist/components/forms/TimeRangePicker/index.d.ts +6 -0
- package/dist/components/forms/TimeRangePicker/timeRange.d.ts +76 -0
- package/dist/components/forms/TimeRangePicker/variants.d.ts +27 -0
- package/dist/components/forms/index.d.ts +39 -0
- package/dist/components/forms/testing.d.ts +49 -0
- package/dist/components/layout/Affix/Affix.vue.d.ts +41 -0
- package/dist/components/layout/Affix/index.d.ts +4 -0
- package/dist/components/layout/Affix/variants.d.ts +10 -0
- package/dist/components/layout/AppShell/AppShell.vue.d.ts +277 -0
- package/dist/components/layout/AppShell/AppShellSidebar.vue.d.ts +31 -0
- package/dist/components/layout/AppShell/index.d.ts +4 -0
- package/dist/components/layout/AppShell/variants.d.ts +29 -0
- package/dist/components/layout/CenteredLayout/CenteredLayout.vue.d.ts +43 -0
- package/dist/components/layout/CenteredLayout/index.d.ts +3 -0
- package/dist/components/layout/CenteredLayout/variants.d.ts +13 -0
- package/dist/components/layout/ConfigProvider/ConfigProvider.vue.d.ts +39 -0
- package/dist/components/layout/ConfigProvider/config.d.ts +57 -0
- package/dist/components/layout/ConfigProvider/index.d.ts +4 -0
- package/dist/components/layout/Container/Container.vue.d.ts +37 -0
- package/dist/components/layout/Container/index.d.ts +4 -0
- package/dist/components/layout/Container/variants.d.ts +18 -0
- package/dist/components/layout/Grid/Grid.vue.d.ts +62 -0
- package/dist/components/layout/Grid/index.d.ts +4 -0
- package/dist/components/layout/Grid/variants.d.ts +47 -0
- package/dist/components/layout/InfiniteScroll/InfiniteScroll.vue.d.ts +57 -0
- package/dist/components/layout/InfiniteScroll/index.d.ts +4 -0
- package/dist/components/layout/InfiniteScroll/variants.d.ts +32 -0
- package/dist/components/layout/PageHeader/PageHeader.vue.d.ts +65 -0
- package/dist/components/layout/PageHeader/index.d.ts +4 -0
- package/dist/components/layout/PageHeader/variants.d.ts +25 -0
- package/dist/components/layout/ResizablePanels/ResizableHandle.vue.d.ts +35 -0
- package/dist/components/layout/ResizablePanels/ResizablePanel.vue.d.ts +44 -0
- package/dist/components/layout/ResizablePanels/ResizablePanels.vue.d.ts +51 -0
- package/dist/components/layout/ResizablePanels/context.d.ts +42 -0
- package/dist/components/layout/ResizablePanels/index.d.ts +8 -0
- package/dist/components/layout/ResizablePanels/layout.d.ts +32 -0
- package/dist/components/layout/ResizablePanels/variants.d.ts +33 -0
- package/dist/components/layout/Section/Section.vue.d.ts +35 -0
- package/dist/components/layout/Section/index.d.ts +4 -0
- package/dist/components/layout/Section/variants.d.ts +17 -0
- package/dist/components/layout/Spacer/Spacer.vue.d.ts +20 -0
- package/dist/components/layout/Spacer/index.d.ts +3 -0
- package/dist/components/layout/Spacer/variants.d.ts +16 -0
- package/dist/components/layout/SplitLayout/SplitLayout.vue.d.ts +49 -0
- package/dist/components/layout/SplitLayout/index.d.ts +3 -0
- package/dist/components/layout/SplitLayout/variants.d.ts +17 -0
- package/dist/components/layout/Stack/HStack.vue.d.ts +21 -0
- package/dist/components/layout/Stack/Stack.vue.d.ts +53 -0
- package/dist/components/layout/Stack/VStack.vue.d.ts +20 -0
- package/dist/components/layout/Stack/gap.d.ts +13 -0
- package/dist/components/layout/Stack/index.d.ts +8 -0
- package/dist/components/layout/Stack/variants.d.ts +27 -0
- package/dist/components/layout/StyleScope/StyleScope.vue.d.ts +25 -0
- package/dist/components/layout/StyleScope/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts +14 -0
- package/dist/components/marketing/BeforeAfter/BeforeAfter.vue.d.ts +59 -0
- package/dist/components/marketing/BeforeAfter/index.d.ts +4 -0
- package/dist/components/marketing/BeforeAfter/variants.d.ts +73 -0
- package/dist/components/marketing/BlogCard/BlogCard.vue.d.ts +57 -0
- package/dist/components/marketing/BlogCard/contract.d.ts +4 -0
- package/dist/components/marketing/BlogCard/date.d.ts +7 -0
- package/dist/components/marketing/BlogCard/index.d.ts +4 -0
- package/dist/components/marketing/BlogCard/variants.d.ts +63 -0
- package/dist/components/marketing/BlogGrid/BlogGrid.vue.d.ts +60 -0
- package/dist/components/marketing/BlogGrid/index.d.ts +4 -0
- package/dist/components/marketing/BlogGrid/variants.d.ts +15 -0
- package/dist/components/marketing/ComparisonTable/ComparisonCell.vue.d.ts +13 -0
- package/dist/components/marketing/ComparisonTable/ComparisonTable.vue.d.ts +88 -0
- package/dist/components/marketing/ComparisonTable/index.d.ts +4 -0
- package/dist/components/marketing/ComparisonTable/variants.d.ts +28 -0
- package/dist/components/marketing/ContactLink/ContactLink.vue.d.ts +48 -0
- package/dist/components/marketing/ContactLink/index.d.ts +4 -0
- package/dist/components/marketing/ContactLink/variants.d.ts +42 -0
- package/dist/components/marketing/ContactSection/ContactSection.vue.d.ts +46 -0
- package/dist/components/marketing/ContactSection/index.d.ts +4 -0
- package/dist/components/marketing/ContactSection/variants.d.ts +55 -0
- package/dist/components/marketing/CookieConsent/CookieConsent.vue.d.ts +70 -0
- package/dist/components/marketing/CookieConsent/categories.d.ts +30 -0
- package/dist/components/marketing/CookieConsent/index.d.ts +8 -0
- package/dist/components/marketing/CookieConsent/storage.d.ts +17 -0
- package/dist/components/marketing/CookieConsent/variants.d.ts +21 -0
- package/dist/components/marketing/CtaBand/CtaBand.vue.d.ts +50 -0
- package/dist/components/marketing/CtaBand/index.d.ts +4 -0
- package/dist/components/marketing/CtaBand/variants.d.ts +64 -0
- package/dist/components/marketing/FaqList/FaqEntry.vue.d.ts +37 -0
- package/dist/components/marketing/FaqList/FaqList.vue.d.ts +80 -0
- package/dist/components/marketing/FaqList/index.d.ts +4 -0
- package/dist/components/marketing/FaqList/variants.d.ts +21 -0
- package/dist/components/marketing/FeatureCard/FeatureCard.vue.d.ts +54 -0
- package/dist/components/marketing/FeatureCard/index.d.ts +4 -0
- package/dist/components/marketing/FeatureCard/variants.d.ts +66 -0
- package/dist/components/marketing/FeatureGrid/FeatureGrid.vue.d.ts +76 -0
- package/dist/components/marketing/FeatureGrid/FeatureGridItems.vue.d.ts +39 -0
- package/dist/components/marketing/FeatureGrid/index.d.ts +4 -0
- package/dist/components/marketing/FeatureGrid/variants.d.ts +50 -0
- package/dist/components/marketing/Hero/Hero.vue.d.ts +93 -0
- package/dist/components/marketing/Hero/index.d.ts +4 -0
- package/dist/components/marketing/Hero/variants.d.ts +51 -0
- package/dist/components/marketing/ImageGrid/ImageGrid.vue.d.ts +46 -0
- package/dist/components/marketing/ImageGrid/index.d.ts +4 -0
- package/dist/components/marketing/ImageGrid/variants.d.ts +45 -0
- package/dist/components/marketing/InstallTabs/InstallTabs.vue.d.ts +48 -0
- package/dist/components/marketing/InstallTabs/index.d.ts +4 -0
- package/dist/components/marketing/InstallTabs/variants.d.ts +47 -0
- package/dist/components/marketing/Lightbox/Lightbox.vue.d.ts +44 -0
- package/dist/components/marketing/Lightbox/contract.d.ts +7 -0
- package/dist/components/marketing/Lightbox/index.d.ts +2 -0
- package/dist/components/marketing/LogoCloud/LogoCloud.vue.d.ts +45 -0
- package/dist/components/marketing/LogoCloud/LogoCloudLogo.vue.d.ts +14 -0
- package/dist/components/marketing/LogoCloud/index.d.ts +4 -0
- package/dist/components/marketing/LogoCloud/variants.d.ts +49 -0
- package/dist/components/marketing/Marquee/Marquee.vue.d.ts +67 -0
- package/dist/components/marketing/Marquee/index.d.ts +4 -0
- package/dist/components/marketing/Marquee/variants.d.ts +59 -0
- package/dist/components/marketing/MediaFrame/MediaFrame.vue.d.ts +44 -0
- package/dist/components/marketing/MediaFrame/index.d.ts +4 -0
- package/dist/components/marketing/MediaFrame/variants.d.ts +55 -0
- package/dist/components/marketing/NewsletterSignup/NewsletterSignup.vue.d.ts +66 -0
- package/dist/components/marketing/NewsletterSignup/index.d.ts +4 -0
- package/dist/components/marketing/NewsletterSignup/variants.d.ts +87 -0
- package/dist/components/marketing/NumberedSteps/NumberedSteps.vue.d.ts +61 -0
- package/dist/components/marketing/NumberedSteps/index.d.ts +4 -0
- package/dist/components/marketing/NumberedSteps/variants.d.ts +65 -0
- package/dist/components/marketing/PricingCard/PricingCard.vue.d.ts +66 -0
- package/dist/components/marketing/PricingCard/index.d.ts +5 -0
- package/dist/components/marketing/PricingCard/pricing.d.ts +25 -0
- package/dist/components/marketing/PricingCard/variants.d.ts +45 -0
- package/dist/components/marketing/PricingGrid/BillingToggle.vue.d.ts +22 -0
- package/dist/components/marketing/PricingGrid/PricingGrid.vue.d.ts +63 -0
- package/dist/components/marketing/PricingGrid/billing.d.ts +25 -0
- package/dist/components/marketing/PricingGrid/index.d.ts +4 -0
- package/dist/components/marketing/PricingGrid/variants.d.ts +16 -0
- package/dist/components/marketing/PricingTable/PricingTable.vue.d.ts +100 -0
- package/dist/components/marketing/PricingTable/index.d.ts +4 -0
- package/dist/components/marketing/PricingTable/variants.d.ts +9 -0
- package/dist/components/marketing/ScrollProgress/ScrollProgress.vue.d.ts +23 -0
- package/dist/components/marketing/ScrollProgress/index.d.ts +4 -0
- package/dist/components/marketing/ScrollProgress/variants.d.ts +33 -0
- package/dist/components/marketing/SectionHeading/SectionHeading.vue.d.ts +49 -0
- package/dist/components/marketing/SectionHeading/index.d.ts +4 -0
- package/dist/components/marketing/SectionHeading/variants.d.ts +42 -0
- package/dist/components/marketing/SectionReveal/SectionReveal.vue.d.ts +55 -0
- package/dist/components/marketing/SectionReveal/index.d.ts +4 -0
- package/dist/components/marketing/SectionReveal/variants.d.ts +21 -0
- package/dist/components/marketing/SiteFooter/SiteFooter.vue.d.ts +77 -0
- package/dist/components/marketing/SiteFooter/index.d.ts +4 -0
- package/dist/components/marketing/SiteFooter/variants.d.ts +94 -0
- package/dist/components/marketing/SiteHeader/SiteHeader.vue.d.ts +96 -0
- package/dist/components/marketing/SiteHeader/index.d.ts +4 -0
- package/dist/components/marketing/SiteHeader/sticky-offset.d.ts +6 -0
- package/dist/components/marketing/SiteHeader/variants.d.ts +90 -0
- package/dist/components/marketing/SocialLinks/SocialLinks.vue.d.ts +33 -0
- package/dist/components/marketing/SocialLinks/index.d.ts +4 -0
- package/dist/components/marketing/SocialLinks/variants.d.ts +29 -0
- package/dist/components/marketing/StatCounter/StatCounter.vue.d.ts +38 -0
- package/dist/components/marketing/StatCounter/index.d.ts +4 -0
- package/dist/components/marketing/StatCounter/variants.d.ts +22 -0
- package/dist/components/marketing/StatGrid/StatGrid.vue.d.ts +49 -0
- package/dist/components/marketing/StatGrid/index.d.ts +4 -0
- package/dist/components/marketing/StatGrid/variants.d.ts +69 -0
- package/dist/components/marketing/TeamGrid/TeamGrid.vue.d.ts +51 -0
- package/dist/components/marketing/TeamGrid/TeamMemberCard.vue.d.ts +57 -0
- package/dist/components/marketing/TeamGrid/contract.d.ts +4 -0
- package/dist/components/marketing/TeamGrid/index.d.ts +6 -0
- package/dist/components/marketing/TeamGrid/variants.d.ts +71 -0
- package/dist/components/marketing/Testimonial/Testimonial.vue.d.ts +51 -0
- package/dist/components/marketing/Testimonial/TestimonialAvatar.vue.d.ts +12 -0
- package/dist/components/marketing/Testimonial/contract.d.ts +9 -0
- package/dist/components/marketing/Testimonial/index.d.ts +4 -0
- package/dist/components/marketing/Testimonial/variants.d.ts +68 -0
- package/dist/components/marketing/TestimonialGrid/TestimonialGrid.vue.d.ts +54 -0
- package/dist/components/marketing/TestimonialGrid/index.d.ts +4 -0
- package/dist/components/marketing/TestimonialGrid/variants.d.ts +26 -0
- package/dist/components/marketing/TestimonialSlider/TestimonialSlider.vue.d.ts +64 -0
- package/dist/components/marketing/TestimonialSlider/index.d.ts +4 -0
- package/dist/components/marketing/TestimonialSlider/variants.d.ts +26 -0
- package/dist/components/marketing/index.d.ts +35 -0
- package/dist/components/marketing/shared/contract/testing.d.ts +53 -0
- package/dist/components/marketing/shared/contract-harness/testing.d.ts +49 -0
- package/dist/components/marketing/shared/itemsContract.d.ts +15 -0
- package/dist/components/marketing/shared/motion.d.ts +14 -0
- package/dist/components/marketing/shared/pick.d.ts +4 -0
- package/dist/components/marketing/shared/sample.d.ts +7 -0
- package/dist/components/marketing/shared/styles.d.ts +9 -0
- package/dist/components/marketing/shared/surface.d.ts +19 -0
- package/dist/components/marketing/shared/testing.d.ts +16 -0
- package/dist/components/marketing/shared/vnodeWalk.d.ts +3 -0
- package/dist/components/navigation/AccentPicker/AccentPicker.vue.d.ts +24 -0
- package/dist/components/navigation/AccentPicker/index.d.ts +4 -0
- package/dist/components/navigation/AccentPicker/variants.d.ts +33 -0
- package/dist/components/navigation/Accordion/Accordion.vue.d.ts +50 -0
- package/dist/components/navigation/Accordion/AccordionContent.vue.d.ts +18 -0
- package/dist/components/navigation/Accordion/AccordionItem.vue.d.ts +18 -0
- package/dist/components/navigation/Accordion/AccordionTrigger.vue.d.ts +26 -0
- package/dist/components/navigation/Accordion/context.d.ts +9 -0
- package/dist/components/navigation/Accordion/index.d.ts +9 -0
- package/dist/components/navigation/Accordion/variants.d.ts +48 -0
- package/dist/components/navigation/AppHeader/AppHeader.vue.d.ts +42 -0
- package/dist/components/navigation/AppHeader/index.d.ts +2 -0
- package/dist/components/navigation/BackToTop/BackToTop.vue.d.ts +32 -0
- package/dist/components/navigation/BackToTop/index.d.ts +4 -0
- package/dist/components/navigation/BackToTop/variants.d.ts +32 -0
- package/dist/components/navigation/Breadcrumb/Breadcrumb.vue.d.ts +46 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbEllipsis.vue.d.ts +19 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbItem.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbLink.vue.d.ts +26 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbList.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
- package/dist/components/navigation/Breadcrumb/context.d.ts +8 -0
- package/dist/components/navigation/Breadcrumb/index.d.ts +13 -0
- package/dist/components/navigation/Breadcrumb/variants.d.ts +17 -0
- package/dist/components/navigation/Collapsible/Collapsible.vue.d.ts +34 -0
- package/dist/components/navigation/Collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/components/navigation/Collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/components/navigation/Collapsible/context.d.ts +4 -0
- package/dist/components/navigation/Collapsible/index.d.ts +7 -0
- package/dist/components/navigation/Collapsible/variants.d.ts +26 -0
- package/dist/components/navigation/DocsSidebar/DocsSidebar.vue.d.ts +41 -0
- package/dist/components/navigation/DocsSidebar/index.d.ts +4 -0
- package/dist/components/navigation/DocsSidebar/variants.d.ts +33 -0
- package/dist/components/navigation/Menubar/Menubar.vue.d.ts +29 -0
- package/dist/components/navigation/Menubar/MenubarCheckboxItem.vue.d.ts +26 -0
- package/dist/components/navigation/Menubar/MenubarContent.vue.d.ts +38 -0
- package/dist/components/navigation/Menubar/MenubarGroup.vue.d.ts +16 -0
- package/dist/components/navigation/Menubar/MenubarItem.vue.d.ts +26 -0
- package/dist/components/navigation/Menubar/MenubarLabel.vue.d.ts +21 -0
- package/dist/components/navigation/Menubar/MenubarMenu.vue.d.ts +16 -0
- package/dist/components/navigation/Menubar/MenubarRadioGroup.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/MenubarRadioItem.vue.d.ts +24 -0
- package/dist/components/navigation/Menubar/MenubarSeparator.vue.d.ts +8 -0
- package/dist/components/navigation/Menubar/MenubarShortcut.vue.d.ts +19 -0
- package/dist/components/navigation/Menubar/MenubarSub.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/MenubarSubContent.vue.d.ts +36 -0
- package/dist/components/navigation/Menubar/MenubarSubTrigger.vue.d.ts +21 -0
- package/dist/components/navigation/Menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/Menubar/context.d.ts +4 -0
- package/dist/components/navigation/Menubar/index.d.ts +19 -0
- package/dist/components/navigation/Menubar/variants.d.ts +20 -0
- package/dist/components/navigation/MobileNav/MobileNav.vue.d.ts +38 -0
- package/dist/components/navigation/MobileNav/index.d.ts +2 -0
- package/dist/components/navigation/NavLink/NavLink.vue.d.ts +47 -0
- package/dist/components/navigation/NavLink/context.d.ts +8 -0
- package/dist/components/navigation/NavLink/index.d.ts +6 -0
- package/dist/components/navigation/NavLink/variants.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenu.vue.d.ts +34 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuContent.vue.d.ts +30 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuIndicator.vue.d.ts +8 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuItem.vue.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuLink.vue.d.ts +33 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuList.vue.d.ts +20 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuTrigger.vue.d.ts +24 -0
- package/dist/components/navigation/NavigationMenu/NavigationMenuViewport.vue.d.ts +8 -0
- package/dist/components/navigation/NavigationMenu/context.d.ts +4 -0
- package/dist/components/navigation/NavigationMenu/index.d.ts +14 -0
- package/dist/components/navigation/NavigationMenu/variants.d.ts +25 -0
- package/dist/components/navigation/Pagination/Pagination.vue.d.ts +57 -0
- package/dist/components/navigation/Pagination/index.d.ts +6 -0
- package/dist/components/navigation/Pagination/range.d.ts +9 -0
- package/dist/components/navigation/Pagination/variants.d.ts +26 -0
- package/dist/components/navigation/SidebarNav/SidebarNav.vue.d.ts +67 -0
- package/dist/components/navigation/SidebarNav/index.d.ts +4 -0
- package/dist/components/navigation/SidebarNav/variants.d.ts +29 -0
- package/dist/components/navigation/SkipLink/SkipLink.vue.d.ts +29 -0
- package/dist/components/navigation/SkipLink/index.d.ts +4 -0
- package/dist/components/navigation/SkipLink/variants.d.ts +20 -0
- package/dist/components/navigation/Stepper/Stepper.vue.d.ts +68 -0
- package/dist/components/navigation/Stepper/index.d.ts +4 -0
- package/dist/components/navigation/Stepper/variants.d.ts +51 -0
- package/dist/components/navigation/StylePicker/StylePicker.vue.d.ts +14 -0
- package/dist/components/navigation/StylePicker/index.d.ts +2 -0
- package/dist/components/navigation/TableOfContents/TableOfContents.vue.d.ts +40 -0
- package/dist/components/navigation/TableOfContents/index.d.ts +4 -0
- package/dist/components/navigation/TableOfContents/variants.d.ts +39 -0
- package/dist/components/navigation/Tabs/Tabs.vue.d.ts +46 -0
- package/dist/components/navigation/Tabs/TabsContent.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/TabsList.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs/context.d.ts +11 -0
- package/dist/components/navigation/Tabs/index.d.ts +9 -0
- package/dist/components/navigation/Tabs/variants.d.ts +32 -0
- package/dist/components/navigation/ThemeToggle/ThemeToggle.vue.d.ts +20 -0
- package/dist/components/navigation/ThemeToggle/index.d.ts +4 -0
- package/dist/components/navigation/ThemeToggle/variants.d.ts +37 -0
- package/dist/components/navigation/Toolbar/Toolbar.vue.d.ts +45 -0
- package/dist/components/navigation/Toolbar/ToolbarButton.vue.d.ts +31 -0
- package/dist/components/navigation/Toolbar/ToolbarLink.vue.d.ts +26 -0
- package/dist/components/navigation/Toolbar/ToolbarSeparator.vue.d.ts +9 -0
- package/dist/components/navigation/Toolbar/ToolbarToggleGroup.vue.d.ts +36 -0
- package/dist/components/navigation/Toolbar/ToolbarToggleItem.vue.d.ts +29 -0
- package/dist/components/navigation/Toolbar/context.d.ts +12 -0
- package/dist/components/navigation/Toolbar/index.d.ts +16 -0
- package/dist/components/navigation/Toolbar/variants.d.ts +85 -0
- package/dist/components/navigation/contract.d.ts +36 -0
- package/dist/components/navigation/index.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogAction.vue.d.ts +26 -0
- package/dist/components/overlays/AlertDialog/AlertDialogCancel.vue.d.ts +26 -0
- package/dist/components/overlays/AlertDialog/AlertDialogContent.vue.d.ts +47 -0
- package/dist/components/overlays/AlertDialog/AlertDialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogFooter.vue.d.ts +19 -0
- package/dist/components/overlays/AlertDialog/AlertDialogHeader.vue.d.ts +19 -0
- package/dist/components/overlays/AlertDialog/AlertDialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/AlertDialog/AlertDialogTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/AlertDialog/context.d.ts +5 -0
- package/dist/components/overlays/AlertDialog/index.d.ts +12 -0
- package/dist/components/overlays/AlertDialog/variants.d.ts +22 -0
- package/dist/components/overlays/Command/Command.vue.d.ts +59 -0
- package/dist/components/overlays/Command/CommandDialog.vue.d.ts +40 -0
- package/dist/components/overlays/Command/CommandEmpty.vue.d.ts +19 -0
- package/dist/components/overlays/Command/CommandGroup.vue.d.ts +21 -0
- package/dist/components/overlays/Command/CommandInput.vue.d.ts +8 -0
- package/dist/components/overlays/Command/CommandItem.vue.d.ts +25 -0
- package/dist/components/overlays/Command/CommandList.vue.d.ts +69 -0
- package/dist/components/overlays/Command/CommandSeparator.vue.d.ts +7 -0
- package/dist/components/overlays/Command/CommandShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/Command/commandContext.d.ts +25 -0
- package/dist/components/overlays/Command/index.d.ts +13 -0
- package/dist/components/overlays/Command/variants.d.ts +71 -0
- package/dist/components/overlays/ContextMenu/ContextMenu.vue.d.ts +25 -0
- package/dist/components/overlays/ContextMenu/ContextMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/components/overlays/ContextMenu/ContextMenuContent.vue.d.ts +39 -0
- package/dist/components/overlays/ContextMenu/ContextMenuGroup.vue.d.ts +16 -0
- package/dist/components/overlays/ContextMenu/ContextMenuItem.vue.d.ts +26 -0
- package/dist/components/overlays/ContextMenu/ContextMenuLabel.vue.d.ts +21 -0
- package/dist/components/overlays/ContextMenu/ContextMenuRadioGroup.vue.d.ts +20 -0
- package/dist/components/overlays/ContextMenu/ContextMenuRadioItem.vue.d.ts +24 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/ContextMenu/ContextMenuShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSub.vue.d.ts +20 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/components/overlays/ContextMenu/ContextMenuSubTrigger.vue.d.ts +21 -0
- package/dist/components/overlays/ContextMenu/ContextMenuTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/ContextMenu/index.d.ts +14 -0
- package/dist/components/overlays/Dialog/Dialog.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogClose.vue.d.ts +16 -0
- package/dist/components/overlays/Dialog/DialogContent.vue.d.ts +50 -0
- package/dist/components/overlays/Dialog/DialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogFooter.vue.d.ts +19 -0
- package/dist/components/overlays/Dialog/DialogHeader.vue.d.ts +19 -0
- package/dist/components/overlays/Dialog/DialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/Dialog/DialogTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/Dialog/index.d.ts +13 -0
- package/dist/components/overlays/Dialog/variants.d.ts +24 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenu.vue.d.ts +25 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuCheckboxItem.vue.d.ts +26 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuContent.vue.d.ts +41 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuGroup.vue.d.ts +16 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuLabel.vue.d.ts +21 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuRadioGroup.vue.d.ts +20 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuRadioItem.vue.d.ts +24 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuShortcut.vue.d.ts +19 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSub.vue.d.ts +20 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuSubTrigger.vue.d.ts +21 -0
- package/dist/components/overlays/DropdownMenu/DropdownMenuTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/DropdownMenu/density.d.ts +10 -0
- package/dist/components/overlays/DropdownMenu/index.d.ts +16 -0
- package/dist/components/overlays/HoverCard/HoverCard.vue.d.ts +20 -0
- package/dist/components/overlays/HoverCard/HoverCardContent.vue.d.ts +32 -0
- package/dist/components/overlays/HoverCard/HoverCardTrigger.vue.d.ts +63 -0
- package/dist/components/overlays/HoverCard/index.d.ts +5 -0
- package/dist/components/overlays/HoverCard/variants.d.ts +28 -0
- package/dist/components/overlays/Popover/Popover.vue.d.ts +20 -0
- package/dist/components/overlays/Popover/PopoverAnchor.vue.d.ts +16 -0
- package/dist/components/overlays/Popover/PopoverClose.vue.d.ts +16 -0
- package/dist/components/overlays/Popover/PopoverContent.vue.d.ts +46 -0
- package/dist/components/overlays/Popover/PopoverTrigger.vue.d.ts +62 -0
- package/dist/components/overlays/Popover/index.d.ts +7 -0
- package/dist/components/overlays/Popover/variants.d.ts +29 -0
- package/dist/components/overlays/Sheet/Sheet.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetClose.vue.d.ts +16 -0
- package/dist/components/overlays/Sheet/SheetContent.vue.d.ts +56 -0
- package/dist/components/overlays/Sheet/SheetDescription.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetFooter.vue.d.ts +19 -0
- package/dist/components/overlays/Sheet/SheetHeader.vue.d.ts +19 -0
- package/dist/components/overlays/Sheet/SheetTitle.vue.d.ts +20 -0
- package/dist/components/overlays/Sheet/SheetTrigger.vue.d.ts +16 -0
- package/dist/components/overlays/Sheet/index.d.ts +11 -0
- package/dist/components/overlays/Sheet/variants.d.ts +30 -0
- package/dist/components/overlays/ShortcutsDialog/ShortcutsDialog.vue.d.ts +70 -0
- package/dist/components/overlays/ShortcutsDialog/index.d.ts +4 -0
- package/dist/components/overlays/ShortcutsDialog/variants.d.ts +38 -0
- package/dist/components/overlays/Tooltip/SimpleTooltip.vue.d.ts +42 -0
- package/dist/components/overlays/Tooltip/Tooltip.vue.d.ts +22 -0
- package/dist/components/overlays/Tooltip/TooltipContent.vue.d.ts +36 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.vue.d.ts +18 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.vue.d.ts +64 -0
- package/dist/components/overlays/Tooltip/context.d.ts +7 -0
- package/dist/components/overlays/Tooltip/index.d.ts +8 -0
- package/dist/components/overlays/Tooltip/variants.d.ts +28 -0
- package/dist/components/overlays/Tour/Tour.vue.d.ts +126 -0
- package/dist/components/overlays/Tour/index.d.ts +6 -0
- package/dist/components/overlays/Tour/position.d.ts +29 -0
- package/dist/components/overlays/Tour/variants.d.ts +21 -0
- package/dist/components/overlays/index.d.ts +11 -0
- package/dist/components/overlays/menuContext.d.ts +19 -0
- package/dist/components/overlays/menuStyles.d.ts +59 -0
- package/dist/components/overlays/overlayTone.d.ts +10 -0
- package/dist/components/overlays/triggerCheck.d.ts +19 -0
- package/dist/components/primitives/AspectRatio/AspectRatio.vue.d.ts +35 -0
- package/dist/components/primitives/AspectRatio/index.d.ts +4 -0
- package/dist/components/primitives/AspectRatio/variants.d.ts +21 -0
- package/dist/components/primitives/Avatar/Avatar.vue.d.ts +41 -0
- package/dist/components/primitives/Avatar/context.d.ts +10 -0
- package/dist/components/primitives/Avatar/index.d.ts +6 -0
- package/dist/components/primitives/Avatar/variants.d.ts +23 -0
- package/dist/components/primitives/AvatarGroup/AvatarGroup.vue.d.ts +34 -0
- package/dist/components/primitives/AvatarGroup/flatten.d.ts +3 -0
- package/dist/components/primitives/AvatarGroup/index.d.ts +4 -0
- package/dist/components/primitives/AvatarGroup/variants.d.ts +12 -0
- package/dist/components/primitives/Badge/Badge.vue.d.ts +38 -0
- package/dist/components/primitives/Badge/index.d.ts +4 -0
- package/dist/components/primitives/Badge/variants.d.ts +32 -0
- package/dist/components/primitives/Button/Button.vue.d.ts +51 -0
- package/dist/components/primitives/Button/index.d.ts +4 -0
- package/dist/components/primitives/Button/variants.d.ts +14 -0
- package/dist/components/primitives/Chip/Chip.vue.d.ts +59 -0
- package/dist/components/primitives/Chip/index.d.ts +4 -0
- package/dist/components/primitives/Chip/variants.d.ts +15 -0
- package/dist/components/primitives/CountBadge/CountBadge.vue.d.ts +34 -0
- package/dist/components/primitives/CountBadge/CountBadgeAnchor.vue.d.ts +28 -0
- package/dist/components/primitives/CountBadge/count.d.ts +18 -0
- package/dist/components/primitives/CountBadge/index.d.ts +8 -0
- package/dist/components/primitives/CountBadge/variants.d.ts +42 -0
- package/dist/components/primitives/Icon/Icon.vue.d.ts +19 -0
- package/dist/components/primitives/Icon/index.d.ts +2 -0
- package/dist/components/primitives/IconButton/IconButton.vue.d.ts +42 -0
- package/dist/components/primitives/IconButton/index.d.ts +4 -0
- package/dist/components/primitives/IconButton/variants.d.ts +27 -0
- package/dist/components/primitives/Kbd/Kbd.vue.d.ts +29 -0
- package/dist/components/primitives/Kbd/KbdGroup.vue.d.ts +26 -0
- package/dist/components/primitives/Kbd/flatten.d.ts +3 -0
- package/dist/components/primitives/Kbd/index.d.ts +6 -0
- package/dist/components/primitives/Kbd/variants.d.ts +42 -0
- package/dist/components/primitives/Link/Link.vue.d.ts +41 -0
- package/dist/components/primitives/Link/index.d.ts +4 -0
- package/dist/components/primitives/Link/variants.d.ts +22 -0
- package/dist/components/primitives/Progress/Progress.vue.d.ts +37 -0
- package/dist/components/primitives/Progress/index.d.ts +4 -0
- package/dist/components/primitives/Progress/variants.d.ts +40 -0
- package/dist/components/primitives/ProgressRing/ProgressRing.vue.d.ts +44 -0
- package/dist/components/primitives/ProgressRing/index.d.ts +4 -0
- package/dist/components/primitives/ProgressRing/variants.d.ts +24 -0
- package/dist/components/primitives/ScrollArea/ScrollArea.vue.d.ts +47 -0
- package/dist/components/primitives/ScrollArea/ScrollBar.vue.d.ts +19 -0
- package/dist/components/primitives/ScrollArea/index.d.ts +6 -0
- package/dist/components/primitives/ScrollArea/scrollable.d.ts +15 -0
- package/dist/components/primitives/ScrollArea/variants.d.ts +31 -0
- package/dist/components/primitives/Separator/Separator.vue.d.ts +41 -0
- package/dist/components/primitives/Separator/index.d.ts +4 -0
- package/dist/components/primitives/Separator/variants.d.ts +52 -0
- package/dist/components/primitives/ShowMore/ShowMore.vue.d.ts +65 -0
- package/dist/components/primitives/ShowMore/index.d.ts +4 -0
- package/dist/components/primitives/ShowMore/layout-stub.d.ts +22 -0
- package/dist/components/primitives/ShowMore/variants.d.ts +51 -0
- package/dist/components/primitives/Skeleton/Skeleton.vue.d.ts +26 -0
- package/dist/components/primitives/Skeleton/index.d.ts +4 -0
- package/dist/components/primitives/Skeleton/variants.d.ts +29 -0
- package/dist/components/primitives/Spinner/Spinner.vue.d.ts +14 -0
- package/dist/components/primitives/Spinner/index.d.ts +2 -0
- package/dist/components/primitives/StatusBadge/StatusBadge.vue.d.ts +45 -0
- package/dist/components/primitives/StatusBadge/index.d.ts +6 -0
- package/dist/components/primitives/StatusBadge/status.d.ts +16 -0
- package/dist/components/primitives/StatusBadge/variants.d.ts +36 -0
- package/dist/components/primitives/StatusDot/StatusDot.vue.d.ts +23 -0
- package/dist/components/primitives/StatusDot/index.d.ts +4 -0
- package/dist/components/primitives/StatusDot/variants.d.ts +32 -0
- package/dist/components/primitives/Toggle/Toggle.vue.d.ts +48 -0
- package/dist/components/primitives/Toggle/index.d.ts +4 -0
- package/dist/components/primitives/Toggle/variants.d.ts +32 -0
- package/dist/components/primitives/ToggleGroup/ToggleGroup.vue.d.ts +63 -0
- package/dist/components/primitives/ToggleGroup/ToggleGroupItem.vue.d.ts +40 -0
- package/dist/components/primitives/ToggleGroup/context.d.ts +21 -0
- package/dist/components/primitives/ToggleGroup/index.d.ts +8 -0
- package/dist/components/primitives/ToggleGroup/variants.d.ts +40 -0
- package/dist/components/primitives/VisuallyHidden/VisuallyHidden.vue.d.ts +24 -0
- package/dist/components/primitives/VisuallyHidden/index.d.ts +2 -0
- package/dist/components/primitives/index.d.ts +23 -0
- package/dist/components/typography/Blockquote/Blockquote.vue.d.ts +51 -0
- package/dist/components/typography/Blockquote/index.d.ts +4 -0
- package/dist/components/typography/Blockquote/variants.d.ts +23 -0
- package/dist/components/typography/Eyebrow/Eyebrow.vue.d.ts +35 -0
- package/dist/components/typography/Eyebrow/index.d.ts +4 -0
- package/dist/components/typography/Eyebrow/variants.d.ts +28 -0
- package/dist/components/typography/FormattedNumber/FormattedNumber.vue.d.ts +54 -0
- package/dist/components/typography/FormattedNumber/format.d.ts +51 -0
- package/dist/components/typography/FormattedNumber/index.d.ts +6 -0
- package/dist/components/typography/FormattedNumber/variants.d.ts +28 -0
- package/dist/components/typography/Heading/Heading.vue.d.ts +56 -0
- package/dist/components/typography/Heading/index.d.ts +4 -0
- package/dist/components/typography/Heading/variants.d.ts +41 -0
- package/dist/components/typography/InlineCode/InlineCode.vue.d.ts +33 -0
- package/dist/components/typography/InlineCode/index.d.ts +4 -0
- package/dist/components/typography/InlineCode/variants.d.ts +24 -0
- package/dist/components/typography/Lead/Lead.vue.d.ts +33 -0
- package/dist/components/typography/Lead/index.d.ts +4 -0
- package/dist/components/typography/Lead/variants.d.ts +22 -0
- package/dist/components/typography/Markdown/Markdown.vue.d.ts +29 -0
- package/dist/components/typography/Markdown/index.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/ast.d.ts +118 -0
- package/dist/components/typography/Markdown/parse/block.d.ts +9 -0
- package/dist/components/typography/Markdown/parse/entities.d.ts +9 -0
- package/dist/components/typography/Markdown/parse/headings.d.ts +21 -0
- package/dist/components/typography/Markdown/parse/index.d.ts +12 -0
- package/dist/components/typography/Markdown/parse/info.d.ts +8 -0
- package/dist/components/typography/Markdown/parse/inline.d.ts +22 -0
- package/dist/components/typography/Markdown/parse/parse.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/slug.d.ts +4 -0
- package/dist/components/typography/Markdown/parse/testing.d.ts +7 -0
- package/dist/components/typography/Markdown/parse/text.d.ts +6 -0
- package/dist/components/typography/Markdown/parse/url.d.ts +22 -0
- package/dist/components/typography/Markdown/render.d.ts +39 -0
- package/dist/components/typography/Markdown/source.d.ts +5 -0
- package/dist/components/typography/Markdown/types.d.ts +62 -0
- package/dist/components/typography/Markdown/variants.d.ts +66 -0
- package/dist/components/typography/Prose/Prose.vue.d.ts +36 -0
- package/dist/components/typography/Prose/index.d.ts +4 -0
- package/dist/components/typography/Prose/variants.d.ts +14 -0
- package/dist/components/typography/RelativeTime/RelativeTime.vue.d.ts +55 -0
- package/dist/components/typography/RelativeTime/clock.d.ts +18 -0
- package/dist/components/typography/RelativeTime/format.d.ts +45 -0
- package/dist/components/typography/RelativeTime/index.d.ts +9 -0
- package/dist/components/typography/RelativeTime/units.d.ts +26 -0
- package/dist/components/typography/RelativeTime/variants.d.ts +24 -0
- package/dist/components/typography/Text/Text.vue.d.ts +49 -0
- package/dist/components/typography/Text/index.d.ts +4 -0
- package/dist/components/typography/Text/variants.d.ts +45 -0
- package/dist/components/typography/index.d.ts +10 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useControllableState.d.ts +7 -0
- package/dist/composables/useDisclosure.d.ts +10 -0
- package/dist/docs-types.d.ts +81 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +69354 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cn.d.ts +5 -0
- package/dist/lib/contract.d.ts +61 -0
- package/dist/lib/cva.d.ts +26 -0
- package/dist/lib/hotkeys.d.ts +112 -0
- package/dist/lib/icons-tools.d.ts +13 -0
- package/dist/lib/icons.d.ts +41 -0
- package/dist/lib/index.d.ts +7 -0
- package/dist/lib/styles.d.ts +13 -0
- package/dist/lib/types.d.ts +11 -0
- package/dist/lib/use-helpers.d.ts +24 -0
- package/dist/registry.d.ts +3 -0
- package/dist/stores/index.d.ts +2 -0
- package/dist/stores/theme.d.ts +28 -0
- package/dist/stores/toast.d.ts +56 -0
- package/package.json +73 -4
- package/src/styles/packs/contrast.css +32 -0
- package/src/styles/packs/editorial.css +24 -0
- package/src/styles/packs/quiet.css +40 -0
- package/src/styles/packs/raw.css +21 -0
- package/src/styles/packs/tactile.css +25 -0
- package/src/styles/packs/terminal.css +35 -0
- package/src/styles/packs/workbench.css +42 -0
- package/src/styles/packs.css +8 -0
- package/src/styles/theme.css +327 -0
- package/src/styles/themes/amber.css +17 -0
- package/src/styles/themes/cyan.css +17 -0
- package/src/styles/themes/emerald.css +17 -0
- package/src/styles/themes/indigo.css +17 -0
- package/src/styles/themes/lime.css +27 -0
- package/src/styles/themes/rose.css +17 -0
- package/src/styles/themes/violet.css +17 -0
- package/README.md +0 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type GaugeSize, type GaugeTone, type GaugeVariant } from './variants';
|
|
3
|
+
export interface GaugeThreshold {
|
|
4
|
+
/** The tone applies once the value is >= this number (the highest matching threshold wins). */
|
|
5
|
+
value: number;
|
|
6
|
+
tone: GaugeTone;
|
|
7
|
+
}
|
|
8
|
+
export interface GaugeProps extends BaseProps {
|
|
9
|
+
value?: number | null;
|
|
10
|
+
min?: number;
|
|
11
|
+
max?: number;
|
|
12
|
+
/** Tone steps, e.g. `[{ value: 0, tone: 'success' }, { value: 70, tone: 'warning' }, { value: 90, tone: 'danger' }]`. */
|
|
13
|
+
thresholds?: GaugeThreshold[];
|
|
14
|
+
/** Tone used below every threshold (or when there are none). */
|
|
15
|
+
tone?: GaugeTone;
|
|
16
|
+
size?: GaugeSize;
|
|
17
|
+
/** `semicircle` half-dial (default), `arc` three-quarter dial with the value inside, `linear` horizontal bar. Same meter semantics in all three. */
|
|
18
|
+
variant?: GaugeVariant;
|
|
19
|
+
/** Visible caption under the value; also the accessible name unless `aria-label` is passed. */
|
|
20
|
+
label?: string;
|
|
21
|
+
/** Replaces the formatted value inside the gauge and as `aria-valuetext`. */
|
|
22
|
+
valueText?: string;
|
|
23
|
+
/** Animate the arc (sweep on mount and on change). Never animates under prefers-reduced-motion. */
|
|
24
|
+
animated?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const __VLS_template: () => {
|
|
27
|
+
__VLS_Slots: {
|
|
28
|
+
label?: (props: {}) => any;
|
|
29
|
+
} & {
|
|
30
|
+
default?: (props: {
|
|
31
|
+
value: number;
|
|
32
|
+
percent: number;
|
|
33
|
+
tone: import("../../..").Tone;
|
|
34
|
+
text: string;
|
|
35
|
+
}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
default?: (props: {
|
|
38
|
+
value: number;
|
|
39
|
+
percent: number;
|
|
40
|
+
tone: import("../../..").Tone;
|
|
41
|
+
text: string;
|
|
42
|
+
}) => any;
|
|
43
|
+
} & {
|
|
44
|
+
label?: (props: {}) => any;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
48
|
+
declare const __VLS_base: import("vue").DefineComponent<GaugeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GaugeProps> & Readonly<{}>, {
|
|
49
|
+
size: GaugeSize;
|
|
50
|
+
variant: GaugeVariant;
|
|
51
|
+
tone: import("../../..").Tone;
|
|
52
|
+
animated: boolean;
|
|
53
|
+
max: number;
|
|
54
|
+
min: number;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as Gauge } from './Gauge.vue';
|
|
2
|
+
export type { GaugeProps, GaugeThreshold } from './Gauge.vue';
|
|
3
|
+
export { gaugeVariants, gaugeToneStroke, gaugeLinearValueSize } from './variants';
|
|
4
|
+
export type { GaugeVariants, GaugeSize, GaugeTone, GaugeVariant } from './variants';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
import type { Tone } from '../../../lib/types';
|
|
3
|
+
export declare const gaugeVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
variant?: "linear" | "semicircle" | "arc" | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
class?: import("../../..").ClassInput;
|
|
8
|
+
className?: import("../../..").ClassInput;
|
|
9
|
+
}) | undefined) => string;
|
|
10
|
+
/** `semicircle` is the half-dial (default), `arc` a three-quarter dial with the value in its centre, `linear` a horizontal bar. */
|
|
11
|
+
export type GaugeVariant = 'semicircle' | 'arc' | 'linear';
|
|
12
|
+
export declare const GAUGE_VARIANTS: readonly GaugeVariant[];
|
|
13
|
+
export declare const GAUGE_SIZES: readonly GaugeSize[];
|
|
14
|
+
/** The value of a linear gauge sits on a line with its caption, so it is smaller than the dial value of the same size. */
|
|
15
|
+
export declare const gaugeLinearValueSize: Record<GaugeSize, string>;
|
|
16
|
+
export type GaugeVariants = VariantProps<typeof gaugeVariants>;
|
|
17
|
+
export type GaugeSize = NonNullable<GaugeVariants['size']>;
|
|
18
|
+
export type GaugeTone = Tone;
|
|
19
|
+
/** Arc stroke class per tone (theme tokens only). */
|
|
20
|
+
export declare const gaugeToneStroke: Record<GaugeTone, string>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CodeViewerBaseProps, CodeViewerFoldEvent } from '../CodeViewer/types';
|
|
2
|
+
export interface GoViewerProps extends CodeViewerBaseProps {
|
|
3
|
+
/** Go source text. Takes precedence over `value`. */
|
|
4
|
+
source?: string;
|
|
5
|
+
/** Any JS value; it is rendered as a Go composite literal (`map[string]any{...}`, `[]any{...}`). Ignored when `source` is a string. */
|
|
6
|
+
value?: unknown;
|
|
7
|
+
/** With `value`: wrap the literal in a file with this package name (`package <name>`, `var data = ...`). */
|
|
8
|
+
package?: string;
|
|
9
|
+
/** With `value`: `natural` keeps `42` and `3.5`; `float64` writes `float64(42)` like `encoding/json` decodes. */
|
|
10
|
+
numbers?: 'natural' | 'float64';
|
|
11
|
+
}
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<GoViewerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
copy: (text: string) => any;
|
|
14
|
+
fold: (event: CodeViewerFoldEvent) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<GoViewerProps> & Readonly<{
|
|
16
|
+
onCopy?: ((text: string) => any) | undefined;
|
|
17
|
+
onFold?: ((event: CodeViewerFoldEvent) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
copy: boolean;
|
|
20
|
+
variant: "plain" | "bordered" | "flush";
|
|
21
|
+
wrap: boolean;
|
|
22
|
+
lineNumbers: boolean;
|
|
23
|
+
foldable: boolean;
|
|
24
|
+
startLine: number;
|
|
25
|
+
numbers: "natural" | "float64";
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface GoLiteralOptions {
|
|
2
|
+
/** `natural` writes `42` and `3.5` (an `int` and a `float64` once stored in `any`); `float64` writes every number as `float64(42)`, matching `encoding/json`. */
|
|
3
|
+
numbers?: 'natural' | 'float64';
|
|
4
|
+
}
|
|
5
|
+
export interface GoPackageOptions extends GoLiteralOptions {
|
|
6
|
+
/** Go package name. Invalid identifiers fall back to `main`. */
|
|
7
|
+
packageName?: string;
|
|
8
|
+
/** Variable that receives the literal. Invalid identifiers fall back to `data`. */
|
|
9
|
+
variable?: string;
|
|
10
|
+
}
|
|
11
|
+
/** Go interpreted string literal: escapes `\\`, `"`, control characters and characters Go source treats specially. */
|
|
12
|
+
export declare function goQuote(s: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* Render a JS value as a Go composite literal in gofmt style (tabs, trailing commas, aligned map values).
|
|
15
|
+
* Objects and Maps become `map[string]any{...}`, arrays and Sets `[]any{...}`, `null`/`undefined` `nil`, Dates their ISO 8601 string.
|
|
16
|
+
* `NaN` and infinities use `math.NaN()` / `math.Inf`, so the result needs `import "math"`. Functions and symbols are skipped in maps and `nil` in slices.
|
|
17
|
+
* Circular references throw a `TypeError` naming the path.
|
|
18
|
+
*/
|
|
19
|
+
export declare function goLiteral(value: unknown, options?: GoLiteralOptions): string;
|
|
20
|
+
/** Wrap the literal in a minimal compilable file: `package`, an `import "math"` when needed and `var data = ...`. */
|
|
21
|
+
export declare function goPackageSource(value: unknown, options?: GoPackageOptions): string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import type { ChartTone } from '../_chart/tones';
|
|
3
|
+
import { type HeatmapGap, type HeatmapShape, type HeatmapSize } from './variants';
|
|
4
|
+
export interface HeatmapProps extends BaseProps {
|
|
5
|
+
/** Rows × columns. `null` / NaN / missing cells are "empty". Rows may be ragged. */
|
|
6
|
+
values: (number | null)[][];
|
|
7
|
+
rowLabels?: string[];
|
|
8
|
+
colLabels?: string[];
|
|
9
|
+
tone?: ChartTone;
|
|
10
|
+
/** Domain minimum (default: smallest value in the data). */
|
|
11
|
+
min?: number;
|
|
12
|
+
/** Domain maximum (default: largest value in the data). */
|
|
13
|
+
max?: number;
|
|
14
|
+
/** Number of intensity steps, 1–5. */
|
|
15
|
+
levels?: number;
|
|
16
|
+
/** Cell size: `sm` size-3, `md` size-4, `lg` size-6. */
|
|
17
|
+
size?: HeatmapSize;
|
|
18
|
+
/** Cell shape: rounded `square` (default) or `circle`. */
|
|
19
|
+
shape?: HeatmapShape;
|
|
20
|
+
/** Space between cells: `sm` 1px, `md` 2px, `lg` 4px. */
|
|
21
|
+
gap?: HeatmapGap;
|
|
22
|
+
/** Show the Less … More legend. */
|
|
23
|
+
showLegend?: boolean;
|
|
24
|
+
/** Show every n-th column label visibly (the rest stay available to screen readers). */
|
|
25
|
+
colLabelStep?: number;
|
|
26
|
+
/** Accessible label (table caption); defaults to an auto-generated summary. */
|
|
27
|
+
label?: string;
|
|
28
|
+
/** Shown when `values` has no cells. */
|
|
29
|
+
emptyText?: string;
|
|
30
|
+
/** Custom tooltip text per cell. */
|
|
31
|
+
cellTitle?: (value: number | null, rowLabel: string, colLabel: string) => string;
|
|
32
|
+
}
|
|
33
|
+
declare const __VLS_export: import("vue").DefineComponent<HeatmapProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeatmapProps> & Readonly<{}>, {
|
|
34
|
+
size: HeatmapSize;
|
|
35
|
+
tone: ChartTone;
|
|
36
|
+
shape: HeatmapShape;
|
|
37
|
+
gap: HeatmapGap;
|
|
38
|
+
emptyText: string;
|
|
39
|
+
showLegend: boolean;
|
|
40
|
+
levels: number;
|
|
41
|
+
colLabelStep: number;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChartTone } from '../_chart/tones';
|
|
2
|
+
/**
|
|
3
|
+
* Intensity ramp per tone. Literal class names so Tailwind's scanner emits them
|
|
4
|
+
* (index 0 = faintest, 4 = full colour).
|
|
5
|
+
*/
|
|
6
|
+
export declare const HEAT_CLASSES: Record<ChartTone, readonly [string, string, string, string, string]>;
|
|
7
|
+
export declare const HEAT_EMPTY_CLASS = "bg-muted";
|
|
8
|
+
export declare const MAX_HEAT_LEVELS = 5;
|
|
9
|
+
/** `levels` clamped to an integer in 1..5 (non-finite → 5). */
|
|
10
|
+
export declare function normalizeLevels(levels: unknown): number;
|
|
11
|
+
/**
|
|
12
|
+
* Intensity bucket of `value` within [min, max].
|
|
13
|
+
* 0 = empty (non-finite or exactly 0); otherwise 1..levels (values outside the domain are clamped;
|
|
14
|
+
* when min === max every non-empty value is the top level).
|
|
15
|
+
*/
|
|
16
|
+
export declare function heatLevel(value: unknown, min: number, max: number, levels: number): number;
|
|
17
|
+
/** Background class for a level: empty → `bg-muted`; otherwise the ramp entry spread across `levels` steps. */
|
|
18
|
+
export declare function heatClass(tone: ChartTone, level: number, levels: number): string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Heatmap } from './Heatmap.vue';
|
|
2
|
+
export type { HeatmapProps } from './Heatmap.vue';
|
|
3
|
+
export { heatLevel, heatClass, HEAT_CLASSES } from './heatLevel';
|
|
4
|
+
export { heatmapCellVariants, heatmapTableVariants } from './variants';
|
|
5
|
+
export type { HeatmapCellVariants, HeatmapGap, HeatmapShape, HeatmapSize } from './variants';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
/** One cell swatch (and one legend swatch). `shape` square keeps the original `rounded-xs`; circle is a dot. */
|
|
3
|
+
export declare const heatmapCellVariants: (props?: ({
|
|
4
|
+
shape?: "circle" | "square" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
class?: import("../../..").ClassInput;
|
|
8
|
+
className?: import("../../..").ClassInput;
|
|
9
|
+
}) | undefined) => string;
|
|
10
|
+
/** Spacing between cells: `sm` 1px, `md` 2px (default), `lg` 4px. */
|
|
11
|
+
export declare const heatmapTableVariants: (props?: ({
|
|
12
|
+
gap?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
class?: import("../../..").ClassInput;
|
|
15
|
+
className?: import("../../..").ClassInput;
|
|
16
|
+
}) | undefined) => string;
|
|
17
|
+
export type HeatmapCellVariants = VariantProps<typeof heatmapCellVariants>;
|
|
18
|
+
export type HeatmapSize = NonNullable<HeatmapCellVariants['size']>;
|
|
19
|
+
export type HeatmapShape = NonNullable<HeatmapCellVariants['shape']>;
|
|
20
|
+
export type HeatmapGap = NonNullable<VariantProps<typeof heatmapTableVariants>['gap']>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type JsonViewerSize, type JsonViewerVariant } from './variants';
|
|
3
|
+
export interface JsonViewerCopyEvent {
|
|
4
|
+
/** The copied JSON path, e.g. `$.users[0].name`. */
|
|
5
|
+
path: string;
|
|
6
|
+
/** False when the clipboard was unavailable or rejected. */
|
|
7
|
+
ok: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface JsonViewerProps extends BaseProps {
|
|
10
|
+
/** Any value: objects, arrays, Map, Set, Date, BigInt, functions, circular graphs... Replace it (do not mutate) to update the view. */
|
|
11
|
+
value?: unknown;
|
|
12
|
+
/** Levels opened initially when `v-model:expanded` is not used. 0 = fully collapsed, 1 = root only. Capped at 32. */
|
|
13
|
+
defaultExpandDepth?: number;
|
|
14
|
+
/** Children rendered per container before a "Show N more" row. Invalid values fall back to 100. */
|
|
15
|
+
maxItems?: number;
|
|
16
|
+
/** Strings longer than this are truncated with an ellipsis (full text in the tooltip). */
|
|
17
|
+
maxStringLength?: number;
|
|
18
|
+
/** Label shown on the root row. */
|
|
19
|
+
rootLabel?: string;
|
|
20
|
+
/** Show a copy-path button on every row (the `c` key always works). */
|
|
21
|
+
showCopy?: boolean;
|
|
22
|
+
variant?: JsonViewerVariant;
|
|
23
|
+
size?: JsonViewerSize;
|
|
24
|
+
/** Accessible name of the tree. */
|
|
25
|
+
label?: string;
|
|
26
|
+
}
|
|
27
|
+
type __VLS_Props = JsonViewerProps;
|
|
28
|
+
declare function expandAll(): void;
|
|
29
|
+
declare function collapseAll(): void;
|
|
30
|
+
type __VLS_ModelProps = {
|
|
31
|
+
/** Paths of open containers (`v-model:expanded`). Leave unbound for uncontrolled use driven by `defaultExpandDepth`. */
|
|
32
|
+
'expanded'?: string[];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
35
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
36
|
+
expandAll: typeof expandAll;
|
|
37
|
+
collapseAll: typeof collapseAll;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
copy: (event: JsonViewerCopyEvent) => any;
|
|
40
|
+
"update:expanded": (value: string[] | undefined) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
42
|
+
onCopy?: ((event: JsonViewerCopyEvent) => any) | undefined;
|
|
43
|
+
"onUpdate:expanded"?: ((value: string[] | undefined) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
label: string;
|
|
46
|
+
size: JsonViewerSize;
|
|
47
|
+
variant: JsonViewerVariant;
|
|
48
|
+
maxItems: number;
|
|
49
|
+
defaultExpandDepth: number;
|
|
50
|
+
maxStringLength: number;
|
|
51
|
+
showCopy: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const _default: typeof __VLS_export;
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as JsonViewer } from './JsonViewer.vue';
|
|
2
|
+
export type { JsonViewerProps, JsonViewerCopyEvent } from './JsonViewer.vue';
|
|
3
|
+
export { jsonViewerVariants, jsonViewerValueVariants, JSON_VIEWER_VARIANTS, JSON_VIEWER_SIZES } from './variants';
|
|
4
|
+
export type { JsonViewerVariants, JsonViewerVariant, JsonViewerSize } from './variants';
|
|
5
|
+
export type { JsonViewerValueType } from './jsonTree';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helpers that turn any JS value into the flat list of visible rows the JsonViewer renders.
|
|
3
|
+
* Everything here is iterative (no recursion) and guarded, so circular references, hostile getters, revoked
|
|
4
|
+
* proxies and absurdly deep or wide data cannot hang or crash the viewer.
|
|
5
|
+
*/
|
|
6
|
+
export type JsonViewerValueType = 'string' | 'number' | 'boolean' | 'null' | 'undefined' | 'bigint' | 'symbol' | 'function' | 'date' | 'error' | 'object' | 'array' | 'map' | 'set' | 'circular' | 'unreadable';
|
|
7
|
+
export interface JsonViewerRow {
|
|
8
|
+
/** `node` = a value, `more` = the "show N more" expander, `note` = the global row-budget notice. */
|
|
9
|
+
kind: 'node' | 'more' | 'note';
|
|
10
|
+
/** Unique, stable key (the JSON path for nodes). */
|
|
11
|
+
key: string;
|
|
12
|
+
/** JSON path of the value, e.g. `$.users[0].name` (for `more` rows: of the container being extended). */
|
|
13
|
+
path: string;
|
|
14
|
+
/** Zero-based nesting depth. */
|
|
15
|
+
depth: number;
|
|
16
|
+
/** Key / index shown before the value. Undefined for the root. */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** True when the label is an array/set index (rendered muted). */
|
|
19
|
+
indexLabel: boolean;
|
|
20
|
+
type: JsonViewerValueType;
|
|
21
|
+
/** Text shown for the value (leaf) or the summary (container). */
|
|
22
|
+
text: string;
|
|
23
|
+
/** Longer text for a native tooltip when `text` was truncated. */
|
|
24
|
+
title?: string;
|
|
25
|
+
truncated: boolean;
|
|
26
|
+
expandable: boolean;
|
|
27
|
+
expanded: boolean;
|
|
28
|
+
/** Number of children for containers. */
|
|
29
|
+
size: number;
|
|
30
|
+
posinset: number;
|
|
31
|
+
setsize: number;
|
|
32
|
+
/** Row key of the parent (for ArrowLeft navigation). */
|
|
33
|
+
parentKey?: string;
|
|
34
|
+
/** `more` rows: items still hidden and how many the click reveals. */
|
|
35
|
+
remaining: number;
|
|
36
|
+
chunk: number;
|
|
37
|
+
/** `circular` rows: path of the ancestor the value points back to. */
|
|
38
|
+
circularPath?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface JsonViewerBuildOptions {
|
|
41
|
+
/** Expanded paths. `null` = nothing chosen yet, use `defaultDepth`. */
|
|
42
|
+
expanded: ReadonlySet<string> | null;
|
|
43
|
+
/** Containers shallower than this are open when `expanded` is null. */
|
|
44
|
+
defaultDepth: number;
|
|
45
|
+
/** Children rendered per container before the "show more" row. */
|
|
46
|
+
maxItems: number;
|
|
47
|
+
/** Strings longer than this are cut with an ellipsis. */
|
|
48
|
+
maxStringLength: number;
|
|
49
|
+
/** Extra children revealed per container path through "show more". */
|
|
50
|
+
extra: ReadonlyMap<string, number>;
|
|
51
|
+
rootLabel?: string;
|
|
52
|
+
}
|
|
53
|
+
/** Hard ceilings so hostile input cannot freeze the page. */
|
|
54
|
+
export declare const JSON_VIEWER_MAX_ROWS = 10000;
|
|
55
|
+
export declare const JSON_VIEWER_MAX_AUTO_DEPTH = 32;
|
|
56
|
+
export declare function propertyPath(parent: string, key: string): string;
|
|
57
|
+
/** Flatten `value` into the rows visible under the given expansion state. */
|
|
58
|
+
export declare function buildRows(root: unknown, o: JsonViewerBuildOptions): JsonViewerRow[];
|
|
59
|
+
/**
|
|
60
|
+
* Paths of containers that have children, down to `maxDepth` levels (exclusive), skipping circular back-references.
|
|
61
|
+
* Bounded by visit/path ceilings so generated or enormous data cannot stall it.
|
|
62
|
+
*/
|
|
63
|
+
export declare function collectExpandablePaths(root: unknown, maxDepth: number): string[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
export declare const JSON_VIEWER_VARIANTS: readonly ["default", "plain", "flush"];
|
|
3
|
+
export declare const JSON_VIEWER_SIZES: readonly ["sm", "md", "lg"];
|
|
4
|
+
/** Outer surface of the viewer: `default` bordered card, `plain` no chrome, `flush` full-bleed with top and bottom rules. */
|
|
5
|
+
export declare const jsonViewerVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "plain" | "flush" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
class?: import("../../..").ClassInput;
|
|
10
|
+
className?: import("../../..").ClassInput;
|
|
11
|
+
}) | undefined) => string;
|
|
12
|
+
/** Token colour per JSON value type. Exported so custom row renderers stay consistent. */
|
|
13
|
+
export declare const jsonViewerValueVariants: (props?: ({
|
|
14
|
+
type?: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "map" | "set" | "error" | "date" | "null" | "array" | "circular" | "unreadable" | null | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
class?: import("../../..").ClassInput;
|
|
17
|
+
className?: import("../../..").ClassInput;
|
|
18
|
+
}) | undefined) => string;
|
|
19
|
+
export type JsonViewerVariants = VariantProps<typeof jsonViewerVariants>;
|
|
20
|
+
export type JsonViewerVariant = NonNullable<JsonViewerVariants['variant']>;
|
|
21
|
+
export type JsonViewerSize = NonNullable<JsonViewerVariants['size']>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { IconDefinition } from '../../../lib/icons-tools';
|
|
3
|
+
import type { BaseProps, Tone } from '../../../lib/types';
|
|
4
|
+
import type { CardVariant } from '../Card/variants';
|
|
5
|
+
import { type KpiTileLayout, type KpiTileSize, type KpiTileSurface } from './variants';
|
|
6
|
+
export type KpiTrend = 'up' | 'down' | 'flat';
|
|
7
|
+
export interface KpiTileProps extends BaseProps {
|
|
8
|
+
label: string;
|
|
9
|
+
/** Headline value. Numbers are formatted (1,234.57); non-finite numbers and null show `–`. */
|
|
10
|
+
value?: string | number | null;
|
|
11
|
+
/** Delta text, e.g. `+12%`. Numbers are formatted with a sign. */
|
|
12
|
+
delta?: string | number;
|
|
13
|
+
/** Direction of the change; drives the arrow icon. */
|
|
14
|
+
trend?: KpiTrend;
|
|
15
|
+
/** Which trend direction is GOOD: `up` (revenue), `down` (latency, cost) or `none` (neutral colouring). */
|
|
16
|
+
goodWhen?: 'up' | 'down' | 'none';
|
|
17
|
+
/** Supporting text under the value, e.g. "vs last 7 days". */
|
|
18
|
+
hint?: string;
|
|
19
|
+
icon?: IconDefinition;
|
|
20
|
+
/** Show a skeleton instead of the value. */
|
|
21
|
+
loading?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Card surface (`default`, `outline`, `elevated`, `interactive`, ...) or `inverted` (high-contrast foreground surface).
|
|
24
|
+
*/
|
|
25
|
+
variant?: CardVariant | KpiTileSurface;
|
|
26
|
+
/** `compact` tightens padding and the value size for dense dashboards; `lg` gives the tile more room and a larger value. Unknown values behave like `default`. */
|
|
27
|
+
size?: KpiTileSize;
|
|
28
|
+
/** `stacked` (default) column; `split` label at the start and value at the end of one row, the rest below; `centered` centres every row. Unknown values behave like `stacked`. */
|
|
29
|
+
layout?: KpiTileLayout;
|
|
30
|
+
/** Colour of the progress bar and the sparkline. */
|
|
31
|
+
tone?: Tone;
|
|
32
|
+
/** Values for a mini trend line under the delta (or use the `sparkline` slot). */
|
|
33
|
+
sparkline?: number[];
|
|
34
|
+
/** Percentage (0-100, clamped) shown as a progress bar; non-finite values hide it. */
|
|
35
|
+
progress?: number | null;
|
|
36
|
+
as?: PrimitiveProps['as'];
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
}
|
|
39
|
+
declare const __VLS_template: () => {
|
|
40
|
+
__VLS_Slots: {
|
|
41
|
+
icon?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
value?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
delta?: (props: {}) => any;
|
|
46
|
+
} & {
|
|
47
|
+
hint?: (props: {}) => any;
|
|
48
|
+
} & {
|
|
49
|
+
sparkline?: (props: {}) => any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
53
|
+
declare const __VLS_base: import("vue").DefineComponent<KpiTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KpiTileProps> & Readonly<{}>, {
|
|
54
|
+
progress: number | null;
|
|
55
|
+
size: KpiTileSize;
|
|
56
|
+
variant: "inverted" | CardVariant;
|
|
57
|
+
tone: Tone;
|
|
58
|
+
layout: KpiTileLayout;
|
|
59
|
+
trend: KpiTrend;
|
|
60
|
+
goodWhen: "none" | "down" | "up";
|
|
61
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
62
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
63
|
+
declare const _default: typeof __VLS_export;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as KpiTile } from './KpiTile.vue';
|
|
2
|
+
export type { KpiTileProps, KpiTrend } from './KpiTile.vue';
|
|
3
|
+
export { kpiTileVariants, KPI_TILE_SIZES, KPI_TILE_LAYOUTS } from './variants';
|
|
4
|
+
export type { KpiTileVariants, KpiTileLayout, KpiTileSize, KpiTileSurface, KpiTileTone } from './variants';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type VariantProps } from '../../../lib/cva';
|
|
2
|
+
import type { Tone } from '../../../lib/types';
|
|
3
|
+
import type { ChartTone } from '../_chart/tones';
|
|
4
|
+
/** Extra tile surface on top of the Card variants (`inverted` = high-contrast foreground surface). */
|
|
5
|
+
export type KpiTileSurface = 'inverted';
|
|
6
|
+
declare const base: (props?: ({
|
|
7
|
+
size?: "lg" | "default" | "compact" | null | undefined;
|
|
8
|
+
layout?: "split" | "stacked" | "centered" | null | undefined;
|
|
9
|
+
variant?: "default" | "inverted" | null | undefined;
|
|
10
|
+
tone?: "neutral" | "primary" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
class?: import("../../..").ClassInput;
|
|
13
|
+
className?: import("../../..").ClassInput;
|
|
14
|
+
}) | undefined) => string;
|
|
15
|
+
/** Padding / surface classes applied on top of `Card` by `KpiTile` (merged with tailwind-merge). */
|
|
16
|
+
export declare const kpiTileVariants: (props?: Parameters<typeof base>[0]) => string;
|
|
17
|
+
export type KpiTileVariants = VariantProps<typeof base>;
|
|
18
|
+
export type KpiTileSize = NonNullable<KpiTileVariants['size']>;
|
|
19
|
+
export type KpiTileLayout = NonNullable<KpiTileVariants['layout']>;
|
|
20
|
+
export type KpiTileTone = Tone;
|
|
21
|
+
export declare const KPI_TILE_SIZES: readonly ["default", "compact", "lg"];
|
|
22
|
+
export declare const KPI_TILE_LAYOUTS: readonly ["stacked", "split", "centered"];
|
|
23
|
+
/** Progress-bar fill colour per tone. */
|
|
24
|
+
export declare const kpiProgressFill: Record<Tone, string>;
|
|
25
|
+
/** Sparkline colour per tone. */
|
|
26
|
+
export declare const kpiSparklineTone: Record<Tone, ChartTone>;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { BaseProps } from '../../../lib/types';
|
|
2
|
+
import { type LeaderboardDensity, type LeaderboardEntry, type LeaderboardSize, type LeaderboardSort, type LeaderboardTies, type LeaderboardValueFormat, type LeaderboardVariant } from './helpers';
|
|
3
|
+
export interface LeaderboardColumnLabels {
|
|
4
|
+
/** Rank column header and the hidden text before each rank. Default `Rank`. */
|
|
5
|
+
rank?: string;
|
|
6
|
+
/** Name column header of the table. Default `Name`. */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** Value column header of the table. Default `Value`. */
|
|
9
|
+
value?: string;
|
|
10
|
+
/** Change column header of the table. Default `Change`. */
|
|
11
|
+
delta?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LeaderboardProps extends BaseProps {
|
|
14
|
+
/** The entries. They are sorted by `sort`; the order you pass breaks ties. */
|
|
15
|
+
entries?: readonly LeaderboardEntry[] | null;
|
|
16
|
+
/** Accessible name of the leaderboard (also the hidden table caption). Required, or pass `aria-label` / `aria-labelledby`. */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** `list` (default, ruled rows), `table` (a real table in a focusable scroll region) or `podium` (the top three as 2-1-3 steps, the rest in a list below). Unknown values fall back to `list`. */
|
|
19
|
+
variant?: LeaderboardVariant;
|
|
20
|
+
/** Text and avatar size: `sm`, `md` (default) or `lg`. Unknown values fall back to `md`. */
|
|
21
|
+
size?: LeaderboardSize;
|
|
22
|
+
/** Row spacing: `comfortable` (default) or `compact`. Unknown values fall back to `comfortable`. */
|
|
23
|
+
density?: LeaderboardDensity;
|
|
24
|
+
/** Show the rank of every entry. */
|
|
25
|
+
showRank?: boolean;
|
|
26
|
+
/** Id of the entry to mark. It gets `aria-current`, a tinted surface and the visible `highlightLabel`. */
|
|
27
|
+
highlight?: string | number;
|
|
28
|
+
/** Visible text on the highlighted entry. */
|
|
29
|
+
highlightLabel?: string;
|
|
30
|
+
/** Draw a bar under each entry, proportional to the largest value. */
|
|
31
|
+
bars?: boolean;
|
|
32
|
+
/** Number format of values and deltas: the `format`, `currency`, `unit`, `notation` and fraction digit options of FormattedNumber. */
|
|
33
|
+
valueFormat?: LeaderboardValueFormat;
|
|
34
|
+
/** BCP 47 locale for numbers. Defaults to `en`. */
|
|
35
|
+
locale?: string;
|
|
36
|
+
/** `competition` (default, 1 2 2 4), `dense` (1 2 2 3) or `none` (rank by position). Unknown values fall back to `competition`. */
|
|
37
|
+
ties?: LeaderboardTies;
|
|
38
|
+
/** `desc` (default, highest first), `asc` (lowest first, lowest is rank 1) or `none` (keep the given order). Unknown values fall back to `desc`. */
|
|
39
|
+
sort?: LeaderboardSort;
|
|
40
|
+
/** Replacement texts for the table headers and the hidden rank prefix. */
|
|
41
|
+
columnLabels?: LeaderboardColumnLabels;
|
|
42
|
+
/** Text when there are no entries and no `empty` slot. */
|
|
43
|
+
emptyText?: string;
|
|
44
|
+
}
|
|
45
|
+
type __VLS_Slots = {
|
|
46
|
+
entry(props: {
|
|
47
|
+
entry: LeaderboardEntry;
|
|
48
|
+
rank: number | null;
|
|
49
|
+
index: number;
|
|
50
|
+
highlighted: boolean;
|
|
51
|
+
}): unknown;
|
|
52
|
+
value(props: {
|
|
53
|
+
entry: LeaderboardEntry;
|
|
54
|
+
rank: number | null;
|
|
55
|
+
index: number;
|
|
56
|
+
formatted: string;
|
|
57
|
+
}): unknown;
|
|
58
|
+
empty(): unknown;
|
|
59
|
+
};
|
|
60
|
+
declare const __VLS_base: import("vue").DefineComponent<LeaderboardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LeaderboardProps> & Readonly<{}>, {
|
|
61
|
+
sort: "desc" | "none" | "asc";
|
|
62
|
+
entries: readonly LeaderboardEntry[] | null;
|
|
63
|
+
size: "sm" | "md" | "lg";
|
|
64
|
+
variant: "table" | "list" | "podium";
|
|
65
|
+
bars: boolean;
|
|
66
|
+
density: "compact" | "comfortable";
|
|
67
|
+
emptyText: string;
|
|
68
|
+
showRank: boolean;
|
|
69
|
+
highlightLabel: string;
|
|
70
|
+
ties: "none" | "dense" | "competition";
|
|
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,70 @@
|
|
|
1
|
+
import type { FormatNumberOptions, NumberFormatStyle, NumberNotation, NumberSignDisplay } from '../../typography/FormattedNumber/format';
|
|
2
|
+
export declare const LEADERBOARD_VARIANTS: readonly ["list", "table", "podium"];
|
|
3
|
+
export type LeaderboardVariant = (typeof LEADERBOARD_VARIANTS)[number];
|
|
4
|
+
export declare const LEADERBOARD_SIZES: readonly ["sm", "md", "lg"];
|
|
5
|
+
export type LeaderboardSize = (typeof LEADERBOARD_SIZES)[number];
|
|
6
|
+
export declare const LEADERBOARD_DENSITIES: readonly ["comfortable", "compact"];
|
|
7
|
+
export type LeaderboardDensity = (typeof LEADERBOARD_DENSITIES)[number];
|
|
8
|
+
export declare const LEADERBOARD_TIES: readonly ["competition", "dense", "none"];
|
|
9
|
+
export type LeaderboardTies = (typeof LEADERBOARD_TIES)[number];
|
|
10
|
+
export declare const LEADERBOARD_SORTS: readonly ["desc", "asc", "none"];
|
|
11
|
+
export type LeaderboardSort = (typeof LEADERBOARD_SORTS)[number];
|
|
12
|
+
/** Avatar of an entry: an image source (an inline data URI works), or an object with an optional image and fallback text. */
|
|
13
|
+
export type LeaderboardAvatar = string | {
|
|
14
|
+
src?: string;
|
|
15
|
+
fallback?: string;
|
|
16
|
+
};
|
|
17
|
+
export interface LeaderboardEntry {
|
|
18
|
+
/** Unique, stable id (non-empty string or finite number). Used for keys and for `highlight`. */
|
|
19
|
+
id: string | number;
|
|
20
|
+
/** Name of the thing ranked, e.g. "Team A". */
|
|
21
|
+
label: string;
|
|
22
|
+
/** The score. NaN, Infinity and non-numbers render the fallback text and are left unranked. */
|
|
23
|
+
value: number;
|
|
24
|
+
/** Overrides the computed rank (a whole number from 1). */
|
|
25
|
+
rank?: number;
|
|
26
|
+
/** Change since the last period, in the same unit as `value`. Shown as an arrow and a signed number. */
|
|
27
|
+
delta?: number;
|
|
28
|
+
avatar?: LeaderboardAvatar;
|
|
29
|
+
}
|
|
30
|
+
/** The number options of `FormattedNumber` that apply to values and deltas. */
|
|
31
|
+
export interface LeaderboardValueFormat {
|
|
32
|
+
format?: NumberFormatStyle;
|
|
33
|
+
currency?: string;
|
|
34
|
+
unit?: string;
|
|
35
|
+
notation?: NumberNotation;
|
|
36
|
+
minimumFractionDigits?: number;
|
|
37
|
+
maximumFractionDigits?: number;
|
|
38
|
+
signDisplay?: NumberSignDisplay;
|
|
39
|
+
}
|
|
40
|
+
export interface LeaderboardRow {
|
|
41
|
+
key: string;
|
|
42
|
+
/** Position in the displayed order. */
|
|
43
|
+
index: number;
|
|
44
|
+
entry: LeaderboardEntry;
|
|
45
|
+
/** The value when it is a finite number, else null. */
|
|
46
|
+
value: number | null;
|
|
47
|
+
/** Effective rank (override or computed), null when unranked. */
|
|
48
|
+
rank: number | null;
|
|
49
|
+
/** Another row has the same rank. */
|
|
50
|
+
tied: boolean;
|
|
51
|
+
/** Share of the largest value, 0..1 (for bars). */
|
|
52
|
+
ratio: number;
|
|
53
|
+
/** The delta when it is a finite number, else null. */
|
|
54
|
+
delta: number | null;
|
|
55
|
+
}
|
|
56
|
+
export declare const finiteOrNull: (v: unknown) => number | null;
|
|
57
|
+
export declare const validId: (id: unknown) => id is string | number;
|
|
58
|
+
export declare const avatarParts: (avatar: LeaderboardAvatar | undefined) => {
|
|
59
|
+
src?: string;
|
|
60
|
+
fallback?: string;
|
|
61
|
+
} | null;
|
|
62
|
+
/** Options for `formatNumber` (the plain-string twin of FormattedNumber). */
|
|
63
|
+
export declare const toFormatOptions: (vf: LeaderboardValueFormat | undefined, locale: string | undefined) => FormatNumberOptions;
|
|
64
|
+
/**
|
|
65
|
+
* Sort (stable; unranked values always last) and rank the entries.
|
|
66
|
+
* `desc`: the highest value is rank 1. `asc`: the lowest is rank 1. `none`: keep the given order, ranks follow `desc`.
|
|
67
|
+
* `competition` gives equal values the same rank and skips the next ones (1, 2, 2, 4); `dense` does not skip (1, 2, 2, 3);
|
|
68
|
+
* `none` ranks by position. An entry's own `rank` always wins.
|
|
69
|
+
*/
|
|
70
|
+
export declare function buildRows(entries: readonly LeaderboardEntry[], sort: LeaderboardSort, ties: LeaderboardTies): LeaderboardRow[];
|