@misoto22/folio 0.0.0 → 0.16.0
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/AGENTS.md +88 -0
- package/CLAUDE.md +1 -0
- package/LICENSE +21 -0
- package/README.md +208 -2
- package/bin/folio-design.mjs +277 -0
- package/bin/migrate-legacy.mjs +81 -0
- package/dist/agent/Accordion.md +65 -0
- package/dist/agent/Actions.md +49 -0
- package/dist/agent/Alert.md +65 -0
- package/dist/agent/AppShell.md +69 -0
- package/dist/agent/ArchitectureFigure.md +72 -0
- package/dist/agent/AreaChart.md +94 -0
- package/dist/agent/Article.md +65 -0
- package/dist/agent/AspectRatio.md +58 -0
- package/dist/agent/Avatar.md +53 -0
- package/dist/agent/Badge.md +62 -0
- package/dist/agent/BarChart.md +93 -0
- package/dist/agent/BarList.md +67 -0
- package/dist/agent/BigNumber.md +70 -0
- package/dist/agent/BoxPlot.md +82 -0
- package/dist/agent/Breadcrumb.md +55 -0
- package/dist/agent/BulletChart.md +71 -0
- package/dist/agent/Button.md +81 -0
- package/dist/agent/Calendar.md +77 -0
- package/dist/agent/CalendarHeatmap.md +75 -0
- package/dist/agent/Card.md +72 -0
- package/dist/agent/Checkbox.md +57 -0
- package/dist/agent/Code.md +51 -0
- package/dist/agent/CodeBlock.md +77 -0
- package/dist/agent/Collapsible.md +68 -0
- package/dist/agent/Collection.md +169 -0
- package/dist/agent/ColorPicker.md +76 -0
- package/dist/agent/Combobox.md +77 -0
- package/dist/agent/Command.md +122 -0
- package/dist/agent/ComposedChart.md +82 -0
- package/dist/agent/Contact.md +90 -0
- package/dist/agent/Content.md +70 -0
- package/dist/agent/ContextMenu.md +93 -0
- package/dist/agent/Conversation.md +247 -0
- package/dist/agent/DataflowFigure.md +49 -0
- package/dist/agent/DatePicker.md +104 -0
- package/dist/agent/DescriptionList.md +69 -0
- package/dist/agent/Diagram.md +71 -0
- package/dist/agent/DiagramCanvas.md +71 -0
- package/dist/agent/DiagramExportMenu.md +65 -0
- package/dist/agent/DiagramInspector.md +73 -0
- package/dist/agent/DiagramLegend.md +56 -0
- package/dist/agent/DiagramMinimap.md +69 -0
- package/dist/agent/DiagramToolbar.md +70 -0
- package/dist/agent/Dialog.md +76 -0
- package/dist/agent/DropdownMenu.md +110 -0
- package/dist/agent/EmptyState.md +63 -0
- package/dist/agent/ErrorState.md +67 -0
- package/dist/agent/Evidence.md +165 -0
- package/dist/agent/Facet.md +107 -0
- package/dist/agent/Field.md +79 -0
- package/dist/agent/FigureBand.md +49 -0
- package/dist/agent/FloatingIconButton.md +61 -0
- package/dist/agent/FunnelChart.md +75 -0
- package/dist/agent/Heading.md +65 -0
- package/dist/agent/Heatmap.md +78 -0
- package/dist/agent/Histogram.md +88 -0
- package/dist/agent/Input.md +52 -0
- package/dist/agent/Kbd.md +48 -0
- package/dist/agent/LifecycleFigure.md +50 -0
- package/dist/agent/LineChart.md +85 -0
- package/dist/agent/LinkArrow.md +49 -0
- package/dist/agent/Markdown.md +69 -0
- package/dist/agent/Media.md +261 -0
- package/dist/agent/Metric.md +70 -0
- package/dist/agent/Metrics.md +114 -0
- package/dist/agent/Music.md +86 -0
- package/dist/agent/NativeSelect.md +62 -0
- package/dist/agent/NavItem.md +56 -0
- package/dist/agent/NumberField.md +73 -0
- package/dist/agent/PageHeader.md +69 -0
- package/dist/agent/Pagination.md +70 -0
- package/dist/agent/PieChart.md +80 -0
- package/dist/agent/Popover.md +80 -0
- package/dist/agent/Portfolio.md +93 -0
- package/dist/agent/PortfolioIndex.md +34 -0
- package/dist/agent/Progress.md +58 -0
- package/dist/agent/RadarChart.md +79 -0
- package/dist/agent/RadialChart.md +81 -0
- package/dist/agent/RadioGroup.md +66 -0
- package/dist/agent/Reading.md +233 -0
- package/dist/agent/Recovery.md +72 -0
- package/dist/agent/SankeyChart.md +85 -0
- package/dist/agent/ScatterChart.md +80 -0
- package/dist/agent/ScrollArea.md +62 -0
- package/dist/agent/SearchPalette.md +51 -0
- package/dist/agent/SearchableMenu.md +69 -0
- package/dist/agent/Select.md +102 -0
- package/dist/agent/Separator.md +60 -0
- package/dist/agent/SequenceFigure.md +51 -0
- package/dist/agent/Sheet.md +82 -0
- package/dist/agent/Sidebar.md +194 -0
- package/dist/agent/SiteNavigation.md +62 -0
- package/dist/agent/SiteShell.md +67 -0
- package/dist/agent/Skeleton.md +96 -0
- package/dist/agent/Slider.md +67 -0
- package/dist/agent/Sparkline.md +68 -0
- package/dist/agent/Spinner.md +62 -0
- package/dist/agent/StatusDot.md +56 -0
- package/dist/agent/StatusPill.md +55 -0
- package/dist/agent/Steps.md +68 -0
- package/dist/agent/Switch.md +50 -0
- package/dist/agent/Table.md +111 -0
- package/dist/agent/Tabs.md +71 -0
- package/dist/agent/Tag.md +67 -0
- package/dist/agent/Text.md +66 -0
- package/dist/agent/Textarea.md +46 -0
- package/dist/agent/Timeline.md +114 -0
- package/dist/agent/Timestamp.md +65 -0
- package/dist/agent/Toast.md +51 -0
- package/dist/agent/ToggleGroup.md +67 -0
- package/dist/agent/Toolbar.md +72 -0
- package/dist/agent/Tooltip.md +74 -0
- package/dist/agent/TreemapChart.md +76 -0
- package/dist/agent/WaterfallChart.md +86 -0
- package/dist/agent/WorkflowFigure.md +51 -0
- package/dist/agent/catalog.json +8006 -0
- package/dist/agent/index.md +182 -0
- package/dist/article.css +407 -0
- package/dist/charts/AreaChart/AreaChart.d.ts +198 -0
- package/dist/charts/AreaChart/AreaChart.js +479 -0
- package/dist/charts/AreaChart/AreaChart.js.map +1 -0
- package/dist/charts/BarChart/BarChart.d.ts +190 -0
- package/dist/charts/BarChart/BarChart.js +599 -0
- package/dist/charts/BarChart/BarChart.js.map +1 -0
- package/dist/charts/BarList/BarList.d.ts +65 -0
- package/dist/charts/BarList/BarList.js +79 -0
- package/dist/charts/BarList/BarList.js.map +1 -0
- package/dist/charts/BigNumber/BigNumber.d.ts +72 -0
- package/dist/charts/BigNumber/BigNumber.js +51 -0
- package/dist/charts/BigNumber/BigNumber.js.map +1 -0
- package/dist/charts/BoxPlot/BoxPlot.d.ts +177 -0
- package/dist/charts/BoxPlot/BoxPlot.js +497 -0
- package/dist/charts/BoxPlot/BoxPlot.js.map +1 -0
- package/dist/charts/BulletChart/BulletChart.d.ts +100 -0
- package/dist/charts/BulletChart/BulletChart.js +197 -0
- package/dist/charts/BulletChart/BulletChart.js.map +1 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.d.ts +106 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.js +103 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.js.map +1 -0
- package/dist/charts/ComposedChart/ComposedChart.d.ts +178 -0
- package/dist/charts/ComposedChart/ComposedChart.js +667 -0
- package/dist/charts/ComposedChart/ComposedChart.js.map +1 -0
- package/dist/charts/Facet/Facet.d.ts +240 -0
- package/dist/charts/Facet/Facet.js +133 -0
- package/dist/charts/Facet/Facet.js.map +1 -0
- package/dist/charts/Facet/panels.d.ts +187 -0
- package/dist/charts/Facet/panels.js +203 -0
- package/dist/charts/Facet/panels.js.map +1 -0
- package/dist/charts/FunnelChart/FunnelChart.d.ts +106 -0
- package/dist/charts/FunnelChart/FunnelChart.js +137 -0
- package/dist/charts/FunnelChart/FunnelChart.js.map +1 -0
- package/dist/charts/Heatmap/Heatmap.d.ts +101 -0
- package/dist/charts/Heatmap/Heatmap.js +125 -0
- package/dist/charts/Heatmap/Heatmap.js.map +1 -0
- package/dist/charts/Histogram/Histogram.d.ts +188 -0
- package/dist/charts/Histogram/Histogram.js +382 -0
- package/dist/charts/Histogram/Histogram.js.map +1 -0
- package/dist/charts/LineChart/LineChart.d.ts +174 -0
- package/dist/charts/LineChart/LineChart.js +485 -0
- package/dist/charts/LineChart/LineChart.js.map +1 -0
- package/dist/charts/PieChart/PieChart.d.ts +140 -0
- package/dist/charts/PieChart/PieChart.js +317 -0
- package/dist/charts/PieChart/PieChart.js.map +1 -0
- package/dist/charts/RadarChart/RadarChart.d.ts +135 -0
- package/dist/charts/RadarChart/RadarChart.js +303 -0
- package/dist/charts/RadarChart/RadarChart.js.map +1 -0
- package/dist/charts/RadialChart/RadialChart.d.ts +142 -0
- package/dist/charts/RadialChart/RadialChart.js +279 -0
- package/dist/charts/RadialChart/RadialChart.js.map +1 -0
- package/dist/charts/SankeyChart/SankeyChart.d.ts +149 -0
- package/dist/charts/SankeyChart/SankeyChart.js +509 -0
- package/dist/charts/SankeyChart/SankeyChart.js.map +1 -0
- package/dist/charts/ScatterChart/ScatterChart.d.ts +149 -0
- package/dist/charts/ScatterChart/ScatterChart.js +275 -0
- package/dist/charts/ScatterChart/ScatterChart.js.map +1 -0
- package/dist/charts/Sparkline/Sparkline.d.ts +53 -0
- package/dist/charts/Sparkline/Sparkline.js +95 -0
- package/dist/charts/Sparkline/Sparkline.js.map +1 -0
- package/dist/charts/TreemapChart/TreemapChart.d.ts +98 -0
- package/dist/charts/TreemapChart/TreemapChart.js +127 -0
- package/dist/charts/TreemapChart/TreemapChart.js.map +1 -0
- package/dist/charts/WaterfallChart/WaterfallChart.d.ts +164 -0
- package/dist/charts/WaterfallChart/WaterfallChart.js +321 -0
- package/dist/charts/WaterfallChart/WaterfallChart.js.map +1 -0
- package/dist/charts/index.d.ts +43 -0
- package/dist/charts/index.js +130 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/lib/annotations.d.ts +103 -0
- package/dist/charts/lib/annotations.js +99 -0
- package/dist/charts/lib/annotations.js.map +1 -0
- package/dist/charts/lib/axis.d.ts +18 -0
- package/dist/charts/lib/axis.js +21 -0
- package/dist/charts/lib/axis.js.map +1 -0
- package/dist/charts/lib/background.d.ts +33 -0
- package/dist/charts/lib/background.js +173 -0
- package/dist/charts/lib/background.js.map +1 -0
- package/dist/charts/lib/brush.d.ts +94 -0
- package/dist/charts/lib/brush.js +535 -0
- package/dist/charts/lib/brush.js.map +1 -0
- package/dist/charts/lib/chart.d.ts +94 -0
- package/dist/charts/lib/chart.js +149 -0
- package/dist/charts/lib/chart.js.map +1 -0
- package/dist/charts/lib/dot.d.ts +29 -0
- package/dist/charts/lib/dot.js +78 -0
- package/dist/charts/lib/dot.js.map +1 -0
- package/dist/charts/lib/empty.d.ts +31 -0
- package/dist/charts/lib/empty.js +24 -0
- package/dist/charts/lib/empty.js.map +1 -0
- package/dist/charts/lib/export.d.ts +94 -0
- package/dist/charts/lib/export.js +62 -0
- package/dist/charts/lib/export.js.map +1 -0
- package/dist/charts/lib/figure.d.ts +81 -0
- package/dist/charts/lib/figure.js +62 -0
- package/dist/charts/lib/figure.js.map +1 -0
- package/dist/charts/lib/format.d.ts +46 -0
- package/dist/charts/lib/format.js +56 -0
- package/dist/charts/lib/format.js.map +1 -0
- package/dist/charts/lib/legend.d.ts +45 -0
- package/dist/charts/lib/legend.js +117 -0
- package/dist/charts/lib/legend.js.map +1 -0
- package/dist/charts/lib/loading.d.ts +48 -0
- package/dist/charts/lib/loading.js +105 -0
- package/dist/charts/lib/loading.js.map +1 -0
- package/dist/charts/lib/paint.d.ts +154 -0
- package/dist/charts/lib/paint.js +551 -0
- package/dist/charts/lib/paint.js.map +1 -0
- package/dist/charts/lib/scale.d.ts +23 -0
- package/dist/charts/lib/scale.js +13 -0
- package/dist/charts/lib/scale.js.map +1 -0
- package/dist/charts/lib/selection.d.ts +20 -0
- package/dist/charts/lib/selection.js +18 -0
- package/dist/charts/lib/selection.js.map +1 -0
- package/dist/charts/lib/sonify-control.d.ts +163 -0
- package/dist/charts/lib/sonify-control.js +172 -0
- package/dist/charts/lib/sonify-control.js.map +1 -0
- package/dist/charts/lib/sonify.d.ts +248 -0
- package/dist/charts/lib/sonify.js +262 -0
- package/dist/charts/lib/sonify.js.map +1 -0
- package/dist/charts/lib/toolbar.d.ts +144 -0
- package/dist/charts/lib/toolbar.js +156 -0
- package/dist/charts/lib/toolbar.js.map +1 -0
- package/dist/charts/lib/tooltip.d.ts +59 -0
- package/dist/charts/lib/tooltip.js +135 -0
- package/dist/charts/lib/tooltip.js.map +1 -0
- package/dist/charts/lib/values.d.ts +56 -0
- package/dist/charts/lib/values.js +71 -0
- package/dist/charts/lib/values.js.map +1 -0
- package/dist/charts/lib/zoom.d.ts +139 -0
- package/dist/charts/lib/zoom.js +314 -0
- package/dist/charts/lib/zoom.js.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +34 -0
- package/dist/components/Accordion/Accordion.js +43 -0
- package/dist/components/Accordion/Accordion.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +32 -0
- package/dist/components/Alert/Alert.js +49 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/AppShell/AppShell.d.ts +58 -0
- package/dist/components/AppShell/AppShell.js +126 -0
- package/dist/components/AppShell/AppShell.js.map +1 -0
- package/dist/components/Article/Article.d.ts +58 -0
- package/dist/components/Article/Article.js +34 -0
- package/dist/components/Article/Article.js.map +1 -0
- package/dist/components/AspectRatio/AspectRatio.d.ts +46 -0
- package/dist/components/AspectRatio/AspectRatio.js +33 -0
- package/dist/components/AspectRatio/AspectRatio.js.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +38 -0
- package/dist/components/Avatar/Avatar.js +44 -0
- package/dist/components/Avatar/Avatar.js.map +1 -0
- package/dist/components/Badge/Badge.d.ts +30 -0
- package/dist/components/Badge/Badge.js +29 -0
- package/dist/components/Badge/Badge.js.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +37 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +46 -0
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/components/Button/Button.d.ts +70 -0
- package/dist/components/Button/Button.js +95 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +54 -0
- package/dist/components/Calendar/Calendar.js +369 -0
- package/dist/components/Calendar/Calendar.js.map +1 -0
- package/dist/components/Card/Card.d.ts +55 -0
- package/dist/components/Card/Card.js +64 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +26 -0
- package/dist/components/Checkbox/Checkbox.js +34 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Code/Code.d.ts +30 -0
- package/dist/components/Code/Code.js +21 -0
- package/dist/components/Code/Code.js.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +145 -0
- package/dist/components/CodeBlock/CodeBlock.js +114 -0
- package/dist/components/CodeBlock/CodeBlock.js.map +1 -0
- package/dist/components/Collapsible/Collapsible.d.ts +45 -0
- package/dist/components/Collapsible/Collapsible.js +60 -0
- package/dist/components/Collapsible/Collapsible.js.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +67 -0
- package/dist/components/ColorPicker/ColorPicker.js +334 -0
- package/dist/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +77 -0
- package/dist/components/Combobox/Combobox.js +170 -0
- package/dist/components/Combobox/Combobox.js.map +1 -0
- package/dist/components/Command/Command.d.ts +125 -0
- package/dist/components/Command/Command.js +204 -0
- package/dist/components/Command/Command.js.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +63 -0
- package/dist/components/ContextMenu/ContextMenu.js +109 -0
- package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +130 -0
- package/dist/components/DatePicker/DatePicker.js +257 -0
- package/dist/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +73 -0
- package/dist/components/DescriptionList/DescriptionList.js +35 -0
- package/dist/components/DescriptionList/DescriptionList.js.map +1 -0
- package/dist/components/Diagram/Diagram.d.ts +86 -0
- package/dist/components/Diagram/Diagram.js +211 -0
- package/dist/components/Diagram/Diagram.js.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +63 -0
- package/dist/components/Dialog/Dialog.js +90 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +87 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +120 -0
- package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +55 -0
- package/dist/components/EmptyState/EmptyState.js +32 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/ErrorState/ErrorState.d.ts +55 -0
- package/dist/components/ErrorState/ErrorState.js +41 -0
- package/dist/components/ErrorState/ErrorState.js.map +1 -0
- package/dist/components/Field/Field.d.ts +111 -0
- package/dist/components/Field/Field.js +95 -0
- package/dist/components/Field/Field.js.map +1 -0
- package/dist/components/Field/field-control.d.ts +31 -0
- package/dist/components/Field/field-control.js +12 -0
- package/dist/components/Field/field-control.js.map +1 -0
- package/dist/components/FigureBand/FigureBand.d.ts +31 -0
- package/dist/components/FigureBand/FigureBand.js +51 -0
- package/dist/components/FigureBand/FigureBand.js.map +1 -0
- package/dist/components/FloatingIconButton/FloatingIconButton.d.ts +29 -0
- package/dist/components/FloatingIconButton/FloatingIconButton.js +34 -0
- package/dist/components/FloatingIconButton/FloatingIconButton.js.map +1 -0
- package/dist/components/Heading/Heading.d.ts +62 -0
- package/dist/components/Heading/Heading.js +44 -0
- package/dist/components/Heading/Heading.js.map +1 -0
- package/dist/components/Input/Input.d.ts +22 -0
- package/dist/components/Input/Input.js +21 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Kbd/Kbd.d.ts +27 -0
- package/dist/components/Kbd/Kbd.js +21 -0
- package/dist/components/Kbd/Kbd.js.map +1 -0
- package/dist/components/LinkArrow/LinkArrow.d.ts +24 -0
- package/dist/components/LinkArrow/LinkArrow.js +24 -0
- package/dist/components/LinkArrow/LinkArrow.js.map +1 -0
- package/dist/components/Markdown/Markdown.d.ts +139 -0
- package/dist/components/Markdown/Markdown.js +135 -0
- package/dist/components/Markdown/Markdown.js.map +1 -0
- package/dist/components/Markdown/inline.d.ts +29 -0
- package/dist/components/Markdown/inline.js +74 -0
- package/dist/components/Markdown/inline.js.map +1 -0
- package/dist/components/Markdown/nodes.d.ts +65 -0
- package/dist/components/Markdown/nodes.js +1 -0
- package/dist/components/Markdown/nodes.js.map +1 -0
- package/dist/components/Markdown/parse.d.ts +24 -0
- package/dist/components/Markdown/parse.js +110 -0
- package/dist/components/Markdown/parse.js.map +1 -0
- package/dist/components/Markdown/slug.d.ts +15 -0
- package/dist/components/Markdown/slug.js +7 -0
- package/dist/components/Markdown/slug.js.map +1 -0
- package/dist/components/Metric/Metric.d.ts +61 -0
- package/dist/components/Metric/Metric.js +51 -0
- package/dist/components/Metric/Metric.js.map +1 -0
- package/dist/components/NativeSelect/NativeSelect.d.ts +33 -0
- package/dist/components/NativeSelect/NativeSelect.js +44 -0
- package/dist/components/NativeSelect/NativeSelect.js.map +1 -0
- package/dist/components/NavItem/NavItem.d.ts +39 -0
- package/dist/components/NavItem/NavItem.js +31 -0
- package/dist/components/NavItem/NavItem.js.map +1 -0
- package/dist/components/NumberField/NumberField.d.ts +69 -0
- package/dist/components/NumberField/NumberField.js +162 -0
- package/dist/components/NumberField/NumberField.js.map +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +92 -0
- package/dist/components/PageHeader/PageHeader.js +37 -0
- package/dist/components/PageHeader/PageHeader.js.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +67 -0
- package/dist/components/Pagination/Pagination.js +112 -0
- package/dist/components/Pagination/Pagination.js.map +1 -0
- package/dist/components/Popover/Popover.d.ts +39 -0
- package/dist/components/Popover/Popover.js +57 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/Progress/Progress.d.ts +43 -0
- package/dist/components/Progress/Progress.js +57 -0
- package/dist/components/Progress/Progress.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +49 -0
- package/dist/components/RadioGroup/RadioGroup.js +53 -0
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +46 -0
- package/dist/components/ScrollArea/ScrollArea.js +54 -0
- package/dist/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/components/SearchableMenu/SearchableMenu.d.ts +68 -0
- package/dist/components/SearchableMenu/SearchableMenu.js +101 -0
- package/dist/components/SearchableMenu/SearchableMenu.js.map +1 -0
- package/dist/components/Select/Select.d.ts +87 -0
- package/dist/components/Select/Select.js +130 -0
- package/dist/components/Select/Select.js.map +1 -0
- package/dist/components/Separator/Separator.d.ts +48 -0
- package/dist/components/Separator/Separator.js +43 -0
- package/dist/components/Separator/Separator.js.map +1 -0
- package/dist/components/Sheet/Sheet.d.ts +43 -0
- package/dist/components/Sheet/Sheet.js +79 -0
- package/dist/components/Sheet/Sheet.js.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +357 -0
- package/dist/components/Sidebar/Sidebar.js +447 -0
- package/dist/components/Sidebar/Sidebar.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +70 -0
- package/dist/components/Skeleton/Skeleton.js +44 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Slider/Slider.d.ts +74 -0
- package/dist/components/Slider/Slider.js +143 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +58 -0
- package/dist/components/Spinner/Spinner.js +49 -0
- package/dist/components/Spinner/Spinner.js.map +1 -0
- package/dist/components/StatusDot/StatusDot.d.ts +29 -0
- package/dist/components/StatusDot/StatusDot.js +44 -0
- package/dist/components/StatusDot/StatusDot.js.map +1 -0
- package/dist/components/StatusPill/StatusPill.d.ts +30 -0
- package/dist/components/StatusPill/StatusPill.js +37 -0
- package/dist/components/StatusPill/StatusPill.js.map +1 -0
- package/dist/components/Steps/Steps.d.ts +65 -0
- package/dist/components/Steps/Steps.js +25 -0
- package/dist/components/Steps/Steps.js.map +1 -0
- package/dist/components/Switch/Switch.d.ts +23 -0
- package/dist/components/Switch/Switch.js +23 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Table/Table.d.ts +116 -0
- package/dist/components/Table/Table.js +137 -0
- package/dist/components/Table/Table.js.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +37 -0
- package/dist/components/Tabs/Tabs.js +205 -0
- package/dist/components/Tabs/Tabs.js.map +1 -0
- package/dist/components/Tag/Tag.d.ts +87 -0
- package/dist/components/Tag/Tag.js +62 -0
- package/dist/components/Tag/Tag.js.map +1 -0
- package/dist/components/Text/Text.d.ts +62 -0
- package/dist/components/Text/Text.js +30 -0
- package/dist/components/Text/Text.js.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +20 -0
- package/dist/components/Textarea/Textarea.js +32 -0
- package/dist/components/Textarea/Textarea.js.map +1 -0
- package/dist/components/Timestamp/Timestamp.d.ts +59 -0
- package/dist/components/Timestamp/Timestamp.js +56 -0
- package/dist/components/Timestamp/Timestamp.js.map +1 -0
- package/dist/components/Toast/Toast.d.ts +32 -0
- package/dist/components/Toast/Toast.js +64 -0
- package/dist/components/Toast/Toast.js.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +46 -0
- package/dist/components/ToggleGroup/ToggleGroup.js +88 -0
- package/dist/components/ToggleGroup/ToggleGroup.js.map +1 -0
- package/dist/components/Toolbar/Toolbar.d.ts +55 -0
- package/dist/components/Toolbar/Toolbar.js +43 -0
- package/dist/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +43 -0
- package/dist/components/Tooltip/Tooltip.js +40 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.d.ts +55 -0
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js +175 -0
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js.map +1 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.d.ts +28 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.js +148 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.js.map +1 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.d.ts +78 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.js +229 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.js.map +1 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.d.ts +106 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js +123 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js.map +1 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.d.ts +70 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.js +94 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.js.map +1 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.d.ts +42 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.js +35 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.js.map +1 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.d.ts +77 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.js +106 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.js.map +1 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.d.ts +48 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.js +53 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.js.map +1 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.d.ts +31 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.js +234 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.js.map +1 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.d.ts +38 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.js +261 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.js.map +1 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.d.ts +36 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.js +259 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.js.map +1 -0
- package/dist/diagrams/index.d.ts +17 -0
- package/dist/diagrams/index.js +29 -0
- package/dist/diagrams/index.js.map +1 -0
- package/dist/diagrams/lib/dev.d.ts +61 -0
- package/dist/diagrams/lib/dev.js +96 -0
- package/dist/diagrams/lib/dev.js.map +1 -0
- package/dist/diagrams/lib/frame.d.ts +138 -0
- package/dist/diagrams/lib/frame.js +131 -0
- package/dist/diagrams/lib/frame.js.map +1 -0
- package/dist/diagrams/lib/geometry.d.ts +114 -0
- package/dist/diagrams/lib/geometry.js +113 -0
- package/dist/diagrams/lib/geometry.js.map +1 -0
- package/dist/diagrams/lib/legend.d.ts +32 -0
- package/dist/diagrams/lib/legend.js +84 -0
- package/dist/diagrams/lib/legend.js.map +1 -0
- package/dist/diagrams/lib/marks.d.ts +207 -0
- package/dist/diagrams/lib/marks.js +480 -0
- package/dist/diagrams/lib/marks.js.map +1 -0
- package/dist/diagrams/lib/route.d.ts +106 -0
- package/dist/diagrams/lib/route.js +201 -0
- package/dist/diagrams/lib/route.js.map +1 -0
- package/dist/diagrams/lib/wires.d.ts +59 -0
- package/dist/diagrams/lib/wires.js +94 -0
- package/dist/diagrams/lib/wires.js.map +1 -0
- package/dist/diagrams/spec.d.ts +405 -0
- package/dist/diagrams/spec.js +1 -0
- package/dist/diagrams/spec.js.map +1 -0
- package/dist/fonts/hanken-grotesk-300.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-400.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-500.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-600.woff2 +0 -0
- package/dist/fonts/hanken-grotesk-700.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-400.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-500.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-600.woff2 +0 -0
- package/dist/fonts/newsreader-300.woff2 +0 -0
- package/dist/fonts/newsreader-400.woff2 +0 -0
- package/dist/fonts/newsreader-500.woff2 +0 -0
- package/dist/fonts/newsreader-600.woff2 +0 -0
- package/dist/fonts.css +96 -0
- package/dist/index.d.ts +97 -0
- package/dist/index.js +80 -0
- package/dist/index.js.map +1 -0
- package/dist/keyframes.css +300 -0
- package/dist/lib/cn.d.ts +21 -0
- package/dist/lib/cn.js +9 -0
- package/dist/lib/cn.js.map +1 -0
- package/dist/lib/color.d.ts +80 -0
- package/dist/lib/color.js +189 -0
- package/dist/lib/color.js.map +1 -0
- package/dist/lib/control.d.ts +32 -0
- package/dist/lib/control.js +14 -0
- package/dist/lib/control.js.map +1 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +11 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/numeric.d.ts +35 -0
- package/dist/lib/numeric.js +29 -0
- package/dist/lib/numeric.js.map +1 -0
- package/dist/lib/overlay-container.d.ts +48 -0
- package/dist/lib/overlay-container.js +15 -0
- package/dist/lib/overlay-container.js.map +1 -0
- package/dist/lib/slot-content.d.ts +8 -0
- package/dist/lib/slot-content.js +17 -0
- package/dist/lib/slot-content.js.map +1 -0
- package/dist/lib/step-rail.d.ts +45 -0
- package/dist/lib/step-rail.js +47 -0
- package/dist/lib/step-rail.js.map +1 -0
- package/dist/lib/svg-export.d.ts +138 -0
- package/dist/lib/svg-export.js +198 -0
- package/dist/lib/svg-export.js.map +1 -0
- package/dist/lib/useClipboardCopy.d.ts +30 -0
- package/dist/lib/useClipboardCopy.js +37 -0
- package/dist/lib/useClipboardCopy.js.map +1 -0
- package/dist/lib/useSelectionIndicator.d.ts +29 -0
- package/dist/lib/useSelectionIndicator.js +49 -0
- package/dist/lib/useSelectionIndicator.js.map +1 -0
- package/dist/lib/warn.d.ts +73 -0
- package/dist/lib/warn.js +38 -0
- package/dist/lib/warn.js.map +1 -0
- package/dist/semantic.css +193 -0
- package/dist/styles.css +98 -0
- package/dist/themes.css +514 -0
- package/dist/tokens/brand.d.ts +47 -0
- package/dist/tokens/brand.js +38 -0
- package/dist/tokens/brand.js.map +1 -0
- package/dist/tokens.css +652 -0
- package/dist/tokens.d.ts +198 -0
- package/dist/tokens.js +1020 -0
- package/dist/tokens.json +1019 -0
- package/dist/website/Actions/Actions.d.ts +34 -0
- package/dist/website/Actions/Actions.js +29 -0
- package/dist/website/Actions/Actions.js.map +1 -0
- package/dist/website/Collection/Collection.d.ts +128 -0
- package/dist/website/Collection/Collection.js +162 -0
- package/dist/website/Collection/Collection.js.map +1 -0
- package/dist/website/Contact/Contact.d.ts +87 -0
- package/dist/website/Contact/Contact.js +94 -0
- package/dist/website/Contact/Contact.js.map +1 -0
- package/dist/website/Content/CodePanel.d.ts +27 -0
- package/dist/website/Content/CodePanel.js +30 -0
- package/dist/website/Content/CodePanel.js.map +1 -0
- package/dist/website/Content/Content.d.ts +29 -0
- package/dist/website/Content/Content.js +38 -0
- package/dist/website/Content/Content.js.map +1 -0
- package/dist/website/Conversation/Conversation.d.ts +193 -0
- package/dist/website/Conversation/Conversation.js +252 -0
- package/dist/website/Conversation/Conversation.js.map +1 -0
- package/dist/website/Evidence/Evidence.d.ts +116 -0
- package/dist/website/Evidence/Evidence.js +142 -0
- package/dist/website/Evidence/Evidence.js.map +1 -0
- package/dist/website/Media/Media.d.ts +173 -0
- package/dist/website/Media/Media.js +225 -0
- package/dist/website/Media/Media.js.map +1 -0
- package/dist/website/Media/MediaLightbox.d.ts +18 -0
- package/dist/website/Media/MediaLightbox.js +38 -0
- package/dist/website/Media/MediaLightbox.js.map +1 -0
- package/dist/website/Metrics/Metrics.d.ts +74 -0
- package/dist/website/Metrics/Metrics.js +96 -0
- package/dist/website/Metrics/Metrics.js.map +1 -0
- package/dist/website/Music/Music.d.ts +60 -0
- package/dist/website/Music/Music.js +80 -0
- package/dist/website/Music/Music.js.map +1 -0
- package/dist/website/Portfolio/FrameLayout.d.ts +9 -0
- package/dist/website/Portfolio/FrameLayout.js +42 -0
- package/dist/website/Portfolio/FrameLayout.js.map +1 -0
- package/dist/website/Portfolio/Portfolio.d.ts +49 -0
- package/dist/website/Portfolio/Portfolio.js +66 -0
- package/dist/website/Portfolio/Portfolio.js.map +1 -0
- package/dist/website/Portfolio/QuestionCard.d.ts +22 -0
- package/dist/website/Portfolio/QuestionCard.js +33 -0
- package/dist/website/Portfolio/QuestionCard.js.map +1 -0
- package/dist/website/PortfolioIndex/PortfolioIndex.d.ts +21 -0
- package/dist/website/PortfolioIndex/PortfolioIndex.js +31 -0
- package/dist/website/PortfolioIndex/PortfolioIndex.js.map +1 -0
- package/dist/website/Reading/Reading.d.ts +203 -0
- package/dist/website/Reading/Reading.js +357 -0
- package/dist/website/Reading/Reading.js.map +1 -0
- package/dist/website/Recovery/Recovery.d.ts +39 -0
- package/dist/website/Recovery/Recovery.js +96 -0
- package/dist/website/Recovery/Recovery.js.map +1 -0
- package/dist/website/SearchPalette/SearchPalette.d.ts +59 -0
- package/dist/website/SearchPalette/SearchPalette.js +120 -0
- package/dist/website/SearchPalette/SearchPalette.js.map +1 -0
- package/dist/website/SiteNavigation/SiteNavigation.d.ts +46 -0
- package/dist/website/SiteNavigation/SiteNavigation.js +101 -0
- package/dist/website/SiteNavigation/SiteNavigation.js.map +1 -0
- package/dist/website/SiteShell/SiteShell.d.ts +45 -0
- package/dist/website/SiteShell/SiteShell.js +46 -0
- package/dist/website/SiteShell/SiteShell.js.map +1 -0
- package/dist/website/Timeline/Timeline.d.ts +80 -0
- package/dist/website/Timeline/Timeline.js +99 -0
- package/dist/website/Timeline/Timeline.js.map +1 -0
- package/dist/website/index.d.ts +27 -0
- package/dist/website/index.js +21 -0
- package/dist/website/index.js.map +1 -0
- package/dist/website-actions.css +6 -0
- package/dist/website-base.css +46 -0
- package/dist/website-collection.css +89 -0
- package/dist/website-contact.css +29 -0
- package/dist/website-content.css +17 -0
- package/dist/website-controls.css +91 -0
- package/dist/website-conversation.css +115 -0
- package/dist/website-evidence.css +56 -0
- package/dist/website-media.css +227 -0
- package/dist/website-metrics.css +15 -0
- package/dist/website-music.css +27 -0
- package/dist/website-portfolio.css +94 -0
- package/dist/website-reading.css +159 -0
- package/dist/website-recovery.css +28 -0
- package/dist/website-search.css +26 -0
- package/dist/website-shell.css +89 -0
- package/dist/website-timeline.css +43 -0
- package/dist/website.css +25 -0
- package/llms.txt +35 -0
- package/package.json +163 -5
- package/skills/folio-design/SKILL.md +228 -0
- package/skills/folio-design/evals/claims.json +95 -0
- package/skills/folio-design/evals/evals.json +84 -0
- package/skills/folio-design/rules/a11y.md +167 -0
- package/skills/folio-design/rules/composition.md +108 -0
- package/skills/folio-design/rules/forms.md +135 -0
- package/skills/folio-design/rules/naming.md +155 -0
- package/skills/folio-design/rules/tokens.md +133 -0
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The five diagram specifications, and the vocabulary they share.
|
|
3
|
+
*
|
|
4
|
+
* These types mirror the JSON schemas published by
|
|
5
|
+
* [archify](https://github.com/tt-a1i/archify) — `architecture`, `workflow`,
|
|
6
|
+
* `sequence`, `dataflow` and `lifecycle` — so a specification authored for that
|
|
7
|
+
* tool renders here without a translation step. That compatibility is the whole
|
|
8
|
+
* point of copying somebody else's field names: an agent that already knows how
|
|
9
|
+
* to write `{ "diagram_type": "architecture", "components": [...] }` can hand
|
|
10
|
+
* the same object to a React component and get the system's own look back.
|
|
11
|
+
*
|
|
12
|
+
* WHAT IS DELIBERATELY NOT HERE: archify's routing micro-controls. `via`,
|
|
13
|
+
* `channelX`, `channelY`, `labelAt`, `labelSegment` and `bias` exist there to
|
|
14
|
+
* let an author nudge a line after a validator complains about a collision.
|
|
15
|
+
* They are accepted below so a specification carrying them still typechecks,
|
|
16
|
+
* and each one says on its own field whether it is applied: `via` and the two
|
|
17
|
+
* channels are, but only between two nodes placed with `pos`; the three label
|
|
18
|
+
* nudges never are. They are hints, not a contract, and a figure that needs
|
|
19
|
+
* many of them is a figure that wants fewer edges.
|
|
20
|
+
*
|
|
21
|
+
* Every position in every type is EXPLICIT — a row and a column, a lane and a
|
|
22
|
+
* step, a participant and a y. Nothing below is solved for. That is what makes
|
|
23
|
+
* these figures server-renderable: layout is arithmetic on numbers the
|
|
24
|
+
* specification already carries, not a simulation that has to settle.
|
|
25
|
+
*/
|
|
26
|
+
/** A point in the figure's own user-unit space. */
|
|
27
|
+
type Point = [x: number, y: number];
|
|
28
|
+
/** Which face of a box a line leaves from or arrives at. */
|
|
29
|
+
type Side = 'left' | 'right' | 'top' | 'bottom';
|
|
30
|
+
/**
|
|
31
|
+
* What a node IS, across every diagram type that has nodes.
|
|
32
|
+
*
|
|
33
|
+
* Seven kinds, and in a monochrome system none of them is a colour. Each is
|
|
34
|
+
* drawn as a distinct sigil in the node's leading corner — a cylinder for a
|
|
35
|
+
* database, a shield for a security boundary, rails and ticks for a queue — so
|
|
36
|
+
* the kind survives a greyscale print, a colour-blind reader, and the system's
|
|
37
|
+
* own rule that the only chroma left is bound to state.
|
|
38
|
+
*/
|
|
39
|
+
type NodeKind = 'frontend' | 'backend' | 'database' | 'cloud' | 'security' | 'messagebus' | 'external';
|
|
40
|
+
/**
|
|
41
|
+
* How much a relationship or a node is being insisted upon.
|
|
42
|
+
*
|
|
43
|
+
* `emphasis` reverses the plate; `security` dashes the frame and doubles the
|
|
44
|
+
* rule; `dashed` is the quiet one — an optional path, an asynchronous hop.
|
|
45
|
+
*/
|
|
46
|
+
type Variant = 'default' | 'emphasis' | 'security' | 'dashed';
|
|
47
|
+
/** How a line gets from one box to another. */
|
|
48
|
+
type RouteMode = 'auto' | 'straight' | 'orthogonal-h' | 'orthogonal-v';
|
|
49
|
+
/** Whether the key beside the figure names every kind, only the used ones, or none. */
|
|
50
|
+
type LegendMode = 'auto' | 'all' | 'hidden';
|
|
51
|
+
/**
|
|
52
|
+
* One curated stop in a guided reading of the figure.
|
|
53
|
+
*
|
|
54
|
+
* At most five, which is archify's cap and a good one: a sixth chapter is a
|
|
55
|
+
* second diagram wearing the first one's clothes.
|
|
56
|
+
*/
|
|
57
|
+
interface DiagramView {
|
|
58
|
+
id: string;
|
|
59
|
+
label: string;
|
|
60
|
+
/** Node ids this chapter lights. */
|
|
61
|
+
focus: string[];
|
|
62
|
+
note?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* A conclusion card printed under the figure.
|
|
66
|
+
*
|
|
67
|
+
* `dot` names a hue in archify's palette. Here it selects a MARK — a filled
|
|
68
|
+
* square, a ring, a bar — rather than a colour, so seven cards in a row are
|
|
69
|
+
* still seven distinguishable cards on paper-white.
|
|
70
|
+
*/
|
|
71
|
+
interface DiagramCard {
|
|
72
|
+
dot: 'cyan' | 'emerald' | 'violet' | 'amber' | 'rose' | 'orange' | 'slate';
|
|
73
|
+
title: string;
|
|
74
|
+
items: string[];
|
|
75
|
+
}
|
|
76
|
+
/** What every specification says about itself. */
|
|
77
|
+
interface DiagramMeta {
|
|
78
|
+
title: string;
|
|
79
|
+
subtitle?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The extent the author's own renderer came out at.
|
|
82
|
+
*
|
|
83
|
+
* Accepted so a specification carrying it still typechecks, and deliberately
|
|
84
|
+
* NOT applied. It describes archify's layout — a different grid, different
|
|
85
|
+
* column widths, a different plate height — so on any figure placed from
|
|
86
|
+
* lanes and columns it is simply the wrong rectangle: too small and it crops
|
|
87
|
+
* the last participants off the edge, too large and it hangs a band of dead
|
|
88
|
+
* paper under the diagram. The extent here is computed from the marks
|
|
89
|
+
* actually drawn, which is the only number that can be right.
|
|
90
|
+
*/
|
|
91
|
+
viewBox?: [number, number] | [number, number, number, number];
|
|
92
|
+
legend?: {
|
|
93
|
+
mode?: LegendMode;
|
|
94
|
+
entries?: Record<string, {
|
|
95
|
+
label?: string;
|
|
96
|
+
visible?: boolean;
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* A guided reading, and no renderer here reads it.
|
|
101
|
+
*
|
|
102
|
+
* Accepted for the same reason `viewBox` is — an archify document carrying
|
|
103
|
+
* chapters still typechecks — and not applied for a different one: chapters
|
|
104
|
+
* are a CONTROL, not a layout. Lighting one means changing what is lit while
|
|
105
|
+
* a reader walks through them, and a figure that owned that state would be a
|
|
106
|
+
* figure with a hidden step counter, a second source of truth about what is
|
|
107
|
+
* selected, and no way for the page's own next/previous buttons to agree
|
|
108
|
+
* with it.
|
|
109
|
+
*
|
|
110
|
+
* So the chapters stay the caller's: hold the index, hand the chapter's
|
|
111
|
+
* `focus` ids to `activeIds`, and the figure dims everything else and
|
|
112
|
+
* announces how many are lit. That is the whole of what a renderer could
|
|
113
|
+
* have done, in a place a page can also put a heading and a caption.
|
|
114
|
+
*/
|
|
115
|
+
views?: DiagramView[];
|
|
116
|
+
}
|
|
117
|
+
/** Where a node's facts came from, when the figure was built against real code. */
|
|
118
|
+
interface SourceRef {
|
|
119
|
+
path: string;
|
|
120
|
+
line?: number;
|
|
121
|
+
end_line?: number;
|
|
122
|
+
label?: string;
|
|
123
|
+
}
|
|
124
|
+
/** The fields every drawn box carries, whatever the diagram type calls it. */
|
|
125
|
+
interface NodeBase {
|
|
126
|
+
id: string;
|
|
127
|
+
label: string;
|
|
128
|
+
/** One short line under the label — what it is, a step back. */
|
|
129
|
+
sublabel?: string;
|
|
130
|
+
/** A mono chip on the box: a version, a region, a protocol. */
|
|
131
|
+
tag?: string;
|
|
132
|
+
/** How wide and tall this box is, when the type's default does not suit it. */
|
|
133
|
+
width?: number;
|
|
134
|
+
height?: number;
|
|
135
|
+
}
|
|
136
|
+
/** The fields every drawn line carries. */
|
|
137
|
+
interface EdgeBase {
|
|
138
|
+
id?: string;
|
|
139
|
+
from: string;
|
|
140
|
+
to: string;
|
|
141
|
+
label?: string;
|
|
142
|
+
variant?: Variant;
|
|
143
|
+
fromSide?: Side;
|
|
144
|
+
toSide?: Side;
|
|
145
|
+
route?: RouteMode | string;
|
|
146
|
+
/**
|
|
147
|
+
* Waypoints the line is dragged through, in order.
|
|
148
|
+
*
|
|
149
|
+
* Honoured only when BOTH endpoints were placed with `pos` — see
|
|
150
|
+
* `Wire.keepWaypoints`. A waypoint is a coordinate in the space the author's
|
|
151
|
+
* nodes were placed in, and on a lane-and-column grid that space is one this
|
|
152
|
+
* renderer chose, not one the author saw.
|
|
153
|
+
*/
|
|
154
|
+
via?: Point[];
|
|
155
|
+
/**
|
|
156
|
+
* Where the label goes, and where it is nudged to — accepted, never applied.
|
|
157
|
+
*
|
|
158
|
+
* These three are collision repairs authored against archify's router and
|
|
159
|
+
* measured in the positions THAT router produced. This one does not produce
|
|
160
|
+
* the same collisions, so honouring them moves labels off clear ground and
|
|
161
|
+
* onto the nodes they were nudged away from. Dropping the nudge and keeping
|
|
162
|
+
* the wording is the reading that preserves the meaning; the fields stay so
|
|
163
|
+
* a specification carrying them still typechecks.
|
|
164
|
+
*/
|
|
165
|
+
labelAt?: Point;
|
|
166
|
+
labelDx?: number;
|
|
167
|
+
labelDy?: number;
|
|
168
|
+
/** Forces an orthogonal run through a fixed coordinate. */
|
|
169
|
+
channelX?: number;
|
|
170
|
+
channelY?: number;
|
|
171
|
+
/** Stroke weight, in user units. */
|
|
172
|
+
width?: number;
|
|
173
|
+
}
|
|
174
|
+
interface ArchitectureComponent extends NodeBase {
|
|
175
|
+
type: NodeKind;
|
|
176
|
+
/**
|
|
177
|
+
* Grid placement. Ignored when `pos` is given.
|
|
178
|
+
*
|
|
179
|
+
* Declaring NEITHER is also a placement: the component takes the next free
|
|
180
|
+
* cell in declaration order, wrapping at `layout.cols`. A missing one of the
|
|
181
|
+
* two still reads as 0, so `{ col: 2 }` is row 0, column 2.
|
|
182
|
+
*/
|
|
183
|
+
row?: number;
|
|
184
|
+
col?: number;
|
|
185
|
+
/** Absolute placement, in user units, overriding the grid. */
|
|
186
|
+
pos?: Point;
|
|
187
|
+
/**
|
|
188
|
+
* `[width, height]`, which is how archify's architecture schema spells it.
|
|
189
|
+
*
|
|
190
|
+
* Accepted alongside the `width` / `height` pair every other diagram type
|
|
191
|
+
* uses, and it wins when both are given. Two spellings for one fact is not a
|
|
192
|
+
* design — it is the cost of reading somebody else's file format without
|
|
193
|
+
* making its authors edit their files.
|
|
194
|
+
*/
|
|
195
|
+
size?: [number, number];
|
|
196
|
+
sources?: SourceRef[];
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A frame drawn around several components.
|
|
200
|
+
*
|
|
201
|
+
* `region` is a deployment boundary — an availability zone, a VPC, a cluster.
|
|
202
|
+
* `security-group` is a trust boundary, and is drawn dashed for that reason: a
|
|
203
|
+
* reader should be able to see which line is about where a thing runs and which
|
|
204
|
+
* is about what may reach it, without reading either label.
|
|
205
|
+
*/
|
|
206
|
+
interface ArchitectureBoundary {
|
|
207
|
+
kind: 'region' | 'security-group';
|
|
208
|
+
label: string;
|
|
209
|
+
/** Component ids this frame encloses. */
|
|
210
|
+
wraps: string[];
|
|
211
|
+
/** Clear space between the frame and the boxes it holds. */
|
|
212
|
+
pad?: number;
|
|
213
|
+
}
|
|
214
|
+
interface ArchitectureSpec {
|
|
215
|
+
diagram_type?: 'architecture';
|
|
216
|
+
meta: DiagramMeta;
|
|
217
|
+
layout?: {
|
|
218
|
+
origin?: Point;
|
|
219
|
+
/** How many columns the flow wraps at, for components with no row or col. */
|
|
220
|
+
cols?: number;
|
|
221
|
+
gapX?: number;
|
|
222
|
+
gapY?: number;
|
|
223
|
+
/** A cell's width, which is also the width of the plates drawn in it. */
|
|
224
|
+
cellW?: number;
|
|
225
|
+
cellH?: number;
|
|
226
|
+
};
|
|
227
|
+
components: ArchitectureComponent[];
|
|
228
|
+
boundaries?: ArchitectureBoundary[];
|
|
229
|
+
connections?: EdgeBase[];
|
|
230
|
+
cards?: DiagramCard[];
|
|
231
|
+
}
|
|
232
|
+
/** A horizontal band: who or what performs the steps in it. */
|
|
233
|
+
interface WorkflowLane {
|
|
234
|
+
id: string;
|
|
235
|
+
label: string;
|
|
236
|
+
/** `exception` bands hold the failure path and are drawn on a washed ground. */
|
|
237
|
+
variant?: 'normal' | 'exception';
|
|
238
|
+
}
|
|
239
|
+
/** A vertical band across every lane: a stage of the process. */
|
|
240
|
+
interface WorkflowPhase {
|
|
241
|
+
id: string;
|
|
242
|
+
label: string;
|
|
243
|
+
/** The columns this phase claims. The header rule is drawn across them. */
|
|
244
|
+
fromCol: number;
|
|
245
|
+
toCol: number;
|
|
246
|
+
/** `security` and `dashed` dash the phase's rule; `emphasis` thickens it. */
|
|
247
|
+
variant?: Variant;
|
|
248
|
+
}
|
|
249
|
+
/** A frame around a run of columns inside ONE lane. */
|
|
250
|
+
interface WorkflowGroup extends WorkflowPhase {
|
|
251
|
+
lane: string;
|
|
252
|
+
}
|
|
253
|
+
interface WorkflowNode extends NodeBase {
|
|
254
|
+
lane: string;
|
|
255
|
+
col: number;
|
|
256
|
+
type?: NodeKind;
|
|
257
|
+
/** Nudges this box off its row's centre line, for a branch that needs room. */
|
|
258
|
+
yOffset?: number;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* What a line MEANS in a process, which is not the same question as how it is
|
|
262
|
+
* drawn.
|
|
263
|
+
*
|
|
264
|
+
* `main` is the path the reader should be able to follow without thinking;
|
|
265
|
+
* `branch` leaves it and comes back; `async` does not block; `return` goes
|
|
266
|
+
* backwards; `error` leaves for the exception lane.
|
|
267
|
+
*
|
|
268
|
+
* Three of them reach the drawing on their own: `async` and `error` take the
|
|
269
|
+
* quiet dashed line, and `return` takes an open arrowhead. `main` and `branch`
|
|
270
|
+
* do not, because `mainPath` already draws that distinction as weight. An
|
|
271
|
+
* explicit `variant` overrides any of it.
|
|
272
|
+
*/
|
|
273
|
+
type WorkflowEdgeRole = 'main' | 'branch' | 'async' | 'return' | 'error';
|
|
274
|
+
interface WorkflowEdge extends EdgeBase {
|
|
275
|
+
role?: WorkflowEdgeRole;
|
|
276
|
+
}
|
|
277
|
+
interface WorkflowSpec {
|
|
278
|
+
diagram_type?: 'workflow';
|
|
279
|
+
schema_version?: 1 | 2;
|
|
280
|
+
meta: DiagramMeta;
|
|
281
|
+
lanes: WorkflowLane[];
|
|
282
|
+
phases?: WorkflowPhase[];
|
|
283
|
+
groups?: WorkflowGroup[];
|
|
284
|
+
nodes: WorkflowNode[];
|
|
285
|
+
edges?: WorkflowEdge[];
|
|
286
|
+
/** Node ids on the path a reader should follow first. Drawn heavier. */
|
|
287
|
+
mainPath?: string[];
|
|
288
|
+
cards?: DiagramCard[];
|
|
289
|
+
}
|
|
290
|
+
interface SequenceParticipant extends NodeBase {
|
|
291
|
+
type?: NodeKind;
|
|
292
|
+
}
|
|
293
|
+
/** A labelled horizontal band across the whole figure: a phase of the exchange. */
|
|
294
|
+
interface SequenceSegment {
|
|
295
|
+
from: number;
|
|
296
|
+
to: number;
|
|
297
|
+
label: string;
|
|
298
|
+
}
|
|
299
|
+
interface SequenceMessage {
|
|
300
|
+
id?: string;
|
|
301
|
+
from: string;
|
|
302
|
+
to: string;
|
|
303
|
+
/** Where this message sits on the vertical time axis, in user units. */
|
|
304
|
+
y: number;
|
|
305
|
+
label?: string;
|
|
306
|
+
/** `return` is drawn dashed with an open head — a reply, not a call. */
|
|
307
|
+
variant?: Variant | 'return';
|
|
308
|
+
note?: string;
|
|
309
|
+
}
|
|
310
|
+
/** A bar on a lifeline: this participant is busy for this span of the axis. */
|
|
311
|
+
interface SequenceActivation {
|
|
312
|
+
participant: string;
|
|
313
|
+
from: number;
|
|
314
|
+
to: number;
|
|
315
|
+
type?: NodeKind;
|
|
316
|
+
}
|
|
317
|
+
interface SequenceSpec {
|
|
318
|
+
diagram_type?: 'sequence';
|
|
319
|
+
meta: DiagramMeta & {
|
|
320
|
+
/**
|
|
321
|
+
* `fixed` gives every participant a 148-unit column; `spread` gives every
|
|
322
|
+
* participant the width the WIDEST label needs.
|
|
323
|
+
*
|
|
324
|
+
* Both are uniform — a sequence diagram with columns of different widths
|
|
325
|
+
* reads as a diagram where the wide participant matters more — so `spread`
|
|
326
|
+
* widens the whole figure rather than dividing it. Reach for it when a
|
|
327
|
+
* meaningful participant label does not fit a fixed column. Shortening the
|
|
328
|
+
* label to make it fit is the wrong repair: the label is the data.
|
|
329
|
+
*/
|
|
330
|
+
column_fit?: 'fixed' | 'spread';
|
|
331
|
+
};
|
|
332
|
+
participants: SequenceParticipant[];
|
|
333
|
+
segments?: SequenceSegment[];
|
|
334
|
+
messages: SequenceMessage[];
|
|
335
|
+
activations?: SequenceActivation[];
|
|
336
|
+
cards?: DiagramCard[];
|
|
337
|
+
}
|
|
338
|
+
/** A column header: a stage of the pipeline. */
|
|
339
|
+
interface DataflowStage {
|
|
340
|
+
label: string;
|
|
341
|
+
}
|
|
342
|
+
interface DataflowNode extends NodeBase {
|
|
343
|
+
type: NodeKind;
|
|
344
|
+
/** Index into `stages`. */
|
|
345
|
+
stage: number;
|
|
346
|
+
row: number;
|
|
347
|
+
yOffset?: number;
|
|
348
|
+
}
|
|
349
|
+
interface DataflowEdge extends EdgeBase {
|
|
350
|
+
/**
|
|
351
|
+
* What is travelling, in governance terms — `PII`, `aggregated`, `hashed`.
|
|
352
|
+
*
|
|
353
|
+
* Printed as a mono chip on the line rather than folded into the label,
|
|
354
|
+
* because a data-flow diagram is very often read for exactly this and for
|
|
355
|
+
* nothing else.
|
|
356
|
+
*/
|
|
357
|
+
classification?: string;
|
|
358
|
+
}
|
|
359
|
+
interface DataflowSpec {
|
|
360
|
+
diagram_type?: 'dataflow';
|
|
361
|
+
meta: DiagramMeta;
|
|
362
|
+
stages: DataflowStage[];
|
|
363
|
+
nodes: DataflowNode[];
|
|
364
|
+
flows?: DataflowEdge[];
|
|
365
|
+
cards?: DiagramCard[];
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* What a state IS, and here the system's one licence for colour applies.
|
|
369
|
+
*
|
|
370
|
+
* `success` and `failure` are bound to `--ok` and `--danger` — the two tokens
|
|
371
|
+
* this design system reserves for state and refuses to spend on brand. Every
|
|
372
|
+
* other kind is carried by shape: a start is a filled cap, a decision is a
|
|
373
|
+
* diamond, a wait is dashed, an external is a plate with a cut corner.
|
|
374
|
+
*/
|
|
375
|
+
type LifecycleStateKind = 'start' | 'active' | 'waiting' | 'decision' | 'success' | 'failure' | 'neutral' | 'external';
|
|
376
|
+
interface LifecycleLane {
|
|
377
|
+
id: string;
|
|
378
|
+
label: string;
|
|
379
|
+
}
|
|
380
|
+
interface LifecycleState extends NodeBase {
|
|
381
|
+
type: LifecycleStateKind;
|
|
382
|
+
/** A step number printed in the corner — `01`, `02a`. */
|
|
383
|
+
step?: string;
|
|
384
|
+
/** Which lane holds it. Defaults to the first, which is the main rail. */
|
|
385
|
+
lane?: string;
|
|
386
|
+
col: number;
|
|
387
|
+
/** Nudges this state off its lane's centre line, for a state that needs room. */
|
|
388
|
+
yOffset?: number;
|
|
389
|
+
}
|
|
390
|
+
interface LifecycleTransition extends EdgeBase {
|
|
391
|
+
/** A second line under the label: the condition, the timeout, the retry count. */
|
|
392
|
+
note?: string;
|
|
393
|
+
}
|
|
394
|
+
interface LifecycleSpec {
|
|
395
|
+
diagram_type?: 'lifecycle';
|
|
396
|
+
meta: DiagramMeta;
|
|
397
|
+
lanes?: LifecycleLane[];
|
|
398
|
+
states: LifecycleState[];
|
|
399
|
+
transitions?: LifecycleTransition[];
|
|
400
|
+
cards?: DiagramCard[];
|
|
401
|
+
}
|
|
402
|
+
/** Any of the five, for a call site that dispatches on `diagram_type`. */
|
|
403
|
+
type DiagramSpecAny = ArchitectureSpec | WorkflowSpec | SequenceSpec | DataflowSpec | LifecycleSpec;
|
|
404
|
+
|
|
405
|
+
export type { ArchitectureBoundary, ArchitectureComponent, ArchitectureSpec, DataflowEdge, DataflowNode, DataflowSpec, DataflowStage, DiagramCard, DiagramMeta, DiagramSpecAny, DiagramView, EdgeBase, LegendMode, LifecycleLane, LifecycleSpec, LifecycleState, LifecycleStateKind, LifecycleTransition, NodeBase, NodeKind, Point, RouteMode, SequenceActivation, SequenceMessage, SequenceParticipant, SequenceSegment, SequenceSpec, Side, SourceRef, Variant, WorkflowEdge, WorkflowEdgeRole, WorkflowGroup, WorkflowLane, WorkflowNode, WorkflowPhase, WorkflowSpec };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fonts.css
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* GENERATED by scripts/vendor-fonts.mjs — do not edit by hand.
|
|
2
|
+
Vendored Latin webfaces for @misoto22/folio, declared under the literal
|
|
3
|
+
family names the token layer falls back to. A host that loads these itself
|
|
4
|
+
(next/font, a CDN) sets --font-* and never reaches these rules.
|
|
5
|
+
Re-run: pnpm --filter @misoto22/folio build:fonts */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* ─── Hanken Grotesk — 5 weights ─── */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Hanken Grotesk';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 300;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
src: url('./fonts/hanken-grotesk-300.woff2') format('woff2');
|
|
15
|
+
}
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: 'Hanken Grotesk';
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-display: swap;
|
|
21
|
+
src: url('./fonts/hanken-grotesk-400.woff2') format('woff2');
|
|
22
|
+
}
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Hanken Grotesk';
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
font-display: swap;
|
|
28
|
+
src: url('./fonts/hanken-grotesk-500.woff2') format('woff2');
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Hanken Grotesk';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
src: url('./fonts/hanken-grotesk-600.woff2') format('woff2');
|
|
36
|
+
}
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: 'Hanken Grotesk';
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
font-display: swap;
|
|
42
|
+
src: url('./fonts/hanken-grotesk-700.woff2') format('woff2');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* ─── Newsreader — 4 weights ─── */
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'Newsreader';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 300;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
src: url('./fonts/newsreader-300.woff2') format('woff2');
|
|
52
|
+
}
|
|
53
|
+
@font-face {
|
|
54
|
+
font-family: 'Newsreader';
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
src: url('./fonts/newsreader-400.woff2') format('woff2');
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Newsreader';
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
font-display: swap;
|
|
65
|
+
src: url('./fonts/newsreader-500.woff2') format('woff2');
|
|
66
|
+
}
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Newsreader';
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
font-display: swap;
|
|
72
|
+
src: url('./fonts/newsreader-600.woff2') format('woff2');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ─── IBM Plex Mono — 3 weights ─── */
|
|
76
|
+
@font-face {
|
|
77
|
+
font-family: 'IBM Plex Mono';
|
|
78
|
+
font-style: normal;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
font-display: swap;
|
|
81
|
+
src: url('./fonts/ibm-plex-mono-400.woff2') format('woff2');
|
|
82
|
+
}
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: 'IBM Plex Mono';
|
|
85
|
+
font-style: normal;
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
font-display: swap;
|
|
88
|
+
src: url('./fonts/ibm-plex-mono-500.woff2') format('woff2');
|
|
89
|
+
}
|
|
90
|
+
@font-face {
|
|
91
|
+
font-family: 'IBM Plex Mono';
|
|
92
|
+
font-style: normal;
|
|
93
|
+
font-weight: 600;
|
|
94
|
+
font-display: swap;
|
|
95
|
+
src: url('./fonts/ibm-plex-mono-600.woff2') format('woff2');
|
|
96
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export { OverlayContainer, OverlayContainerProps, useOverlayContainer } from './lib/overlay-container.js';
|
|
2
|
+
export { BRAND, BrandColor } from './tokens/brand.js';
|
|
3
|
+
export { cn } from './lib/cn.js';
|
|
4
|
+
export { CONTROL_BASE, CONTROL_BORDER, isInvalid } from './lib/control.js';
|
|
5
|
+
export { IndicatorStyle, useSelectionIndicator } from './lib/useSelectionIndicator.js';
|
|
6
|
+
export { Button, ButtonProps, ButtonSize, ButtonVariant } from './components/Button/Button.js';
|
|
7
|
+
export { FloatingIconButton, FloatingIconButtonProps } from './components/FloatingIconButton/FloatingIconButton.js';
|
|
8
|
+
export { Text, TextElement, TextProps, TextSize, TextTone } from './components/Text/Text.js';
|
|
9
|
+
export { Heading, HeadingLevel, HeadingProps, HeadingSize } from './components/Heading/Heading.js';
|
|
10
|
+
export { Code, CodeProps } from './components/Code/Code.js';
|
|
11
|
+
export { CodeBlock, CodeBlockProps } from './components/CodeBlock/CodeBlock.js';
|
|
12
|
+
export { Markdown, MarkdownProps } from './components/Markdown/Markdown.js';
|
|
13
|
+
export { Badge, BadgeProps, BadgeTone } from './components/Badge/Badge.js';
|
|
14
|
+
export { Tag, TagProps } from './components/Tag/Tag.js';
|
|
15
|
+
export { Kbd, KbdProps } from './components/Kbd/Kbd.js';
|
|
16
|
+
export { Avatar, AvatarProps } from './components/Avatar/Avatar.js';
|
|
17
|
+
export { StatusDot, StatusDotProps, StatusTone } from './components/StatusDot/StatusDot.js';
|
|
18
|
+
export { Metric, MetricProps } from './components/Metric/Metric.js';
|
|
19
|
+
export { StatusPill, StatusPillProps } from './components/StatusPill/StatusPill.js';
|
|
20
|
+
export { EXTERNAL_LINK_ARROW, LinkArrow, LinkArrowProps } from './components/LinkArrow/LinkArrow.js';
|
|
21
|
+
export { Separator, SeparatorProps } from './components/Separator/Separator.js';
|
|
22
|
+
export { Timestamp, TimestampFormat, TimestampProps } from './components/Timestamp/Timestamp.js';
|
|
23
|
+
export { Figure, FigureBand, FigureBandProps } from './components/FigureBand/FigureBand.js';
|
|
24
|
+
export { Spinner, SpinnerProps } from './components/Spinner/Spinner.js';
|
|
25
|
+
export { Skeleton, SkeletonBlock, SkeletonCircle, SkeletonLine, SkeletonPage, SkeletonPageProps, SkeletonProps, SkeletonText, SkeletonTextProps } from './components/Skeleton/Skeleton.js';
|
|
26
|
+
export { Progress, ProgressProps } from './components/Progress/Progress.js';
|
|
27
|
+
export { Alert, AlertProps, AlertTone } from './components/Alert/Alert.js';
|
|
28
|
+
export { EmptyState, EmptyStateProps } from './components/EmptyState/EmptyState.js';
|
|
29
|
+
export { ERROR_ACTION_CLASS, ErrorState, ErrorStateProps } from './components/ErrorState/ErrorState.js';
|
|
30
|
+
export { Toaster } from './components/Toast/Toast.js';
|
|
31
|
+
export { Field, FieldLayout, FieldProps } from './components/Field/Field.js';
|
|
32
|
+
export { ColorPicker, ColorPickerProps } from './components/ColorPicker/ColorPicker.js';
|
|
33
|
+
export { Combobox, ComboboxOption, ComboboxProps } from './components/Combobox/Combobox.js';
|
|
34
|
+
export { DATE_PRESETS, DatePicker, DatePickerProps, DatePreset, DateRangePicker, DateRangePickerProps, RANGE_PRESETS } from './components/DatePicker/DatePicker.js';
|
|
35
|
+
export { NumberField, NumberFieldProps } from './components/NumberField/NumberField.js';
|
|
36
|
+
export { Slider, SliderProps } from './components/Slider/Slider.js';
|
|
37
|
+
export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from './components/ToggleGroup/ToggleGroup.js';
|
|
38
|
+
export { Input, InputProps } from './components/Input/Input.js';
|
|
39
|
+
export { Textarea, TextareaProps } from './components/Textarea/Textarea.js';
|
|
40
|
+
export { Select, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectProps, SelectRoot, SelectSeparator } from './components/Select/Select.js';
|
|
41
|
+
export { NativeSelect, NativeSelectProps } from './components/NativeSelect/NativeSelect.js';
|
|
42
|
+
export { Checkbox, CheckboxProps } from './components/Checkbox/Checkbox.js';
|
|
43
|
+
export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from './components/RadioGroup/RadioGroup.js';
|
|
44
|
+
export { Switch, SwitchProps } from './components/Switch/Switch.js';
|
|
45
|
+
export { Dialog, DialogClose, DialogContent, DialogContentProps, DialogTrigger } from './components/Dialog/Dialog.js';
|
|
46
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from './components/DropdownMenu/DropdownMenu.js';
|
|
47
|
+
export { Tooltip, TooltipProps, TooltipProvider } from './components/Tooltip/Tooltip.js';
|
|
48
|
+
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverTrigger } from './components/Popover/Popover.js';
|
|
49
|
+
export { Sheet, SheetClose, SheetContent, SheetContentProps, SheetSide, SheetTrigger } from './components/Sheet/Sheet.js';
|
|
50
|
+
export { ContextMenu, ContextMenuContent, ContextMenuGroup, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger } from './components/ContextMenu/ContextMenu.js';
|
|
51
|
+
export { Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandHint, CommandHintProps, CommandInput, CommandItem, CommandItemProps, CommandList, CommandSeparator } from './components/Command/Command.js';
|
|
52
|
+
export { MenuAction, SearchableMenu, SearchableMenuProps } from './components/SearchableMenu/SearchableMenu.js';
|
|
53
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/Tabs/Tabs.js';
|
|
54
|
+
export { Accordion, AccordionItem, AccordionItemProps } from './components/Accordion/Accordion.js';
|
|
55
|
+
export { Collapsible, CollapsibleContent, CollapsibleSection, CollapsibleSectionProps, CollapsibleTrigger } from './components/Collapsible/Collapsible.js';
|
|
56
|
+
export { Breadcrumb, BreadcrumbProps, Crumb } from './components/Breadcrumb/Breadcrumb.js';
|
|
57
|
+
export { Pagination, PaginationProps, paginationRange } from './components/Pagination/Pagination.js';
|
|
58
|
+
export { NavItem, NavItemProps } from './components/NavItem/NavItem.js';
|
|
59
|
+
export { Sidebar, SidebarBranch, SidebarBranchProps, SidebarBreakpoint, SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupProps, SidebarHeader, SidebarInset, SidebarItem, SidebarItemProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarSeparator, SidebarSide, SidebarTrigger, SidebarTriggerProps, SidebarVariant, useSidebar } from './components/Sidebar/Sidebar.js';
|
|
60
|
+
export { Card, CardBody, CardFooter, CardHeader, CardProps, CardTitle } from './components/Card/Card.js';
|
|
61
|
+
export { SortDirection, TBody, TD, TDProps, TH, THProps, THead, TR, Table, TableAlign, TableBorders, TableProps } from './components/Table/Table.js';
|
|
62
|
+
export { DescriptionList, DescriptionListItem, DescriptionListLayout, DescriptionListProps } from './components/DescriptionList/DescriptionList.js';
|
|
63
|
+
export { Toolbar, ToolbarAlign, ToolbarPosition, ToolbarProps } from './components/Toolbar/Toolbar.js';
|
|
64
|
+
export { AspectRatio, AspectRatioProps } from './components/AspectRatio/AspectRatio.js';
|
|
65
|
+
export { Calendar, CalendarLabels, CalendarProps } from './components/Calendar/Calendar.js';
|
|
66
|
+
export { ScrollArea, ScrollAreaProps } from './components/ScrollArea/ScrollArea.js';
|
|
67
|
+
export { AppShell, AppShellProps } from './components/AppShell/AppShell.js';
|
|
68
|
+
export { PageHeader, PageHeaderProps } from './components/PageHeader/PageHeader.js';
|
|
69
|
+
export { Article, ArticleProps } from './components/Article/Article.js';
|
|
70
|
+
export { Diagram, DiagramEdge, DiagramNode, DiagramProps, DiagramSpec } from './components/Diagram/Diagram.js';
|
|
71
|
+
export { Step, Steps, StepsProps } from './components/Steps/Steps.js';
|
|
72
|
+
export { DateRange } from 'react-day-picker';
|
|
73
|
+
export { MarkdownHeadingLevel, MarkdownInline, MarkdownNode } from './components/Markdown/nodes.js';
|
|
74
|
+
export { parseMarkdown } from './components/Markdown/parse.js';
|
|
75
|
+
export { slugify } from './components/Markdown/slug.js';
|
|
76
|
+
export { toast } from 'sonner';
|
|
77
|
+
import 'react';
|
|
78
|
+
import 'clsx';
|
|
79
|
+
import '@radix-ui/react-avatar';
|
|
80
|
+
import '@radix-ui/react-progress';
|
|
81
|
+
import '@remixicon/react';
|
|
82
|
+
import '@radix-ui/react-slider';
|
|
83
|
+
import '@radix-ui/react-toggle-group';
|
|
84
|
+
import '@radix-ui/react-select';
|
|
85
|
+
import '@radix-ui/react-checkbox';
|
|
86
|
+
import '@radix-ui/react-radio-group';
|
|
87
|
+
import '@radix-ui/react-switch';
|
|
88
|
+
import '@radix-ui/react-dialog';
|
|
89
|
+
import '@radix-ui/react-dropdown-menu';
|
|
90
|
+
import '@radix-ui/react-tooltip';
|
|
91
|
+
import '@radix-ui/react-popover';
|
|
92
|
+
import '@radix-ui/react-context-menu';
|
|
93
|
+
import 'cmdk';
|
|
94
|
+
import '@radix-ui/react-tabs';
|
|
95
|
+
import '@radix-ui/react-accordion';
|
|
96
|
+
import '@radix-ui/react-collapsible';
|
|
97
|
+
import '@radix-ui/react-scroll-area';
|