@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,599 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import {
|
|
4
|
+
Children,
|
|
5
|
+
createContext,
|
|
6
|
+
isValidElement,
|
|
7
|
+
useContext,
|
|
8
|
+
useId,
|
|
9
|
+
useMemo,
|
|
10
|
+
useState
|
|
11
|
+
} from "react";
|
|
12
|
+
import {
|
|
13
|
+
Bar as RechartsBar,
|
|
14
|
+
BarChart as RechartsBarChart,
|
|
15
|
+
CartesianGrid,
|
|
16
|
+
Rectangle,
|
|
17
|
+
XAxis as RechartsXAxis,
|
|
18
|
+
YAxis as RechartsYAxis
|
|
19
|
+
} from "recharts";
|
|
20
|
+
import { motion, useReducedMotion } from "motion/react";
|
|
21
|
+
import { ChartContainer } from "../lib/chart.js";
|
|
22
|
+
import { ChartFigure } from "../lib/figure.js";
|
|
23
|
+
import { useChartSelection } from "../lib/selection.js";
|
|
24
|
+
import {} from "../lib/empty.js";
|
|
25
|
+
import { axisLabel } from "../lib/axis.js";
|
|
26
|
+
import { defaultTick } from "../lib/format.js";
|
|
27
|
+
import { Annotation, ReferenceBand, ReferenceLine } from "../lib/annotations.js";
|
|
28
|
+
import { Values, findSlot, resolveValues } from "../lib/values.js";
|
|
29
|
+
import {
|
|
30
|
+
ChartSonifyButton,
|
|
31
|
+
Sonify,
|
|
32
|
+
useChartSonifySeries
|
|
33
|
+
} from "../lib/sonify-control.js";
|
|
34
|
+
import { ChartBackground } from "../lib/background.js";
|
|
35
|
+
import { ChartLegend, ChartLegendContent } from "../lib/legend.js";
|
|
36
|
+
import { ChartTooltip, ChartTooltipContent } from "../lib/tooltip.js";
|
|
37
|
+
import { Brush, ChartBrush } from "../lib/brush.js";
|
|
38
|
+
import { ChartControls, Toolbar } from "../lib/toolbar.js";
|
|
39
|
+
import { useChartZoom } from "../lib/zoom.js";
|
|
40
|
+
import { LoadingIndicator, LoadingShimmer, LOADING_KEY, useLoadingRows } from "../lib/loading.js";
|
|
41
|
+
import {
|
|
42
|
+
BarBufferFill,
|
|
43
|
+
BarDuotoneFill,
|
|
44
|
+
BarGradientFill,
|
|
45
|
+
BarHatchedFill,
|
|
46
|
+
BarStrippedFill,
|
|
47
|
+
GlowFilter,
|
|
48
|
+
REVEAL_EASE,
|
|
49
|
+
SeriesGradient
|
|
50
|
+
} from "../lib/paint.js";
|
|
51
|
+
const BAR_RADIUS = 2;
|
|
52
|
+
const GROW_DURATION = 0.5;
|
|
53
|
+
const GROW_STAGGER = 0.05;
|
|
54
|
+
const STACK_ID = "folio-bar-stack";
|
|
55
|
+
const CHART_MARGIN = { top: 8, right: 12, bottom: 0, left: 12 };
|
|
56
|
+
const FOOT_GAP = 3;
|
|
57
|
+
const MIN_BAR_LENGTH = 1;
|
|
58
|
+
const BarChartContext = createContext(null);
|
|
59
|
+
function useBarChart() {
|
|
60
|
+
const context = useContext(BarChartContext);
|
|
61
|
+
if (!context) throw new Error("A bar chart part must be rendered inside <BarChart>");
|
|
62
|
+
return context;
|
|
63
|
+
}
|
|
64
|
+
function BarChart({
|
|
65
|
+
config,
|
|
66
|
+
data,
|
|
67
|
+
title,
|
|
68
|
+
showTitle,
|
|
69
|
+
description,
|
|
70
|
+
children,
|
|
71
|
+
className,
|
|
72
|
+
chartProps,
|
|
73
|
+
stackType = "default",
|
|
74
|
+
orientation = "vertical",
|
|
75
|
+
barRadius = BAR_RADIUS,
|
|
76
|
+
animationType = "forward",
|
|
77
|
+
barGap,
|
|
78
|
+
barCategoryGap,
|
|
79
|
+
defaultSelectedDataKey = null,
|
|
80
|
+
selectedDataKey: controlledDataKey,
|
|
81
|
+
onSelectionChange,
|
|
82
|
+
isLoading = false,
|
|
83
|
+
loadingBars,
|
|
84
|
+
xDataKey,
|
|
85
|
+
hideDataTable = false,
|
|
86
|
+
empty
|
|
87
|
+
}) {
|
|
88
|
+
const chartId = useId().replace(/:/g, "");
|
|
89
|
+
const [introStartedAt] = useState(() => Date.now());
|
|
90
|
+
const [isPointerInChart, setIsPointerInChart] = useState(false);
|
|
91
|
+
const { rows: loadingData, onShimmerExit } = useLoadingRows(isLoading, loadingBars ?? 12);
|
|
92
|
+
const zoom = useChartZoom({ data, xDataKey });
|
|
93
|
+
const { brushSlot, toolbarSlot, sonifySlot, chartChildren } = useMemo(() => {
|
|
94
|
+
const parts = Children.toArray(children);
|
|
95
|
+
const element = parts.find((child) => isValidElement(child) && child.type === Brush);
|
|
96
|
+
const props = isValidElement(element) ? element.props : {};
|
|
97
|
+
return {
|
|
98
|
+
brushSlot: { present: isValidElement(element), ...props },
|
|
99
|
+
toolbarSlot: findSlot(parts, Toolbar),
|
|
100
|
+
sonifySlot: findSlot(parts, Sonify),
|
|
101
|
+
chartChildren: parts.filter(
|
|
102
|
+
(child) => !(isValidElement(child) && (child.type === Brush || child.type === Toolbar || child.type === Sonify))
|
|
103
|
+
)
|
|
104
|
+
};
|
|
105
|
+
}, [children]);
|
|
106
|
+
const isStacked = stackType === "stacked" || stackType === "percent";
|
|
107
|
+
const isHorizontal = orientation === "horizontal";
|
|
108
|
+
const columns = useMemo(
|
|
109
|
+
() => Object.entries(config).map(([key, series]) => ({ key, label: series.label })),
|
|
110
|
+
[config]
|
|
111
|
+
);
|
|
112
|
+
const showBrush = brushSlot.present && !isLoading;
|
|
113
|
+
const showToolbar = toolbarSlot !== null && !isLoading;
|
|
114
|
+
const isEmpty = !isLoading && empty !== false && data.length === 0;
|
|
115
|
+
const displayData = showBrush || showToolbar ? zoom.visibleData : data;
|
|
116
|
+
const bufferIndex = data.length > 0 && displayData[displayData.length - 1] === data[data.length - 1] ? displayData.length - 1 : -1;
|
|
117
|
+
const sonifySeries = useChartSonifySeries(
|
|
118
|
+
sonifySlot,
|
|
119
|
+
isLoading ? loadingData : displayData,
|
|
120
|
+
config,
|
|
121
|
+
xDataKey
|
|
122
|
+
);
|
|
123
|
+
const [selectedDataKey, selectDataKey] = useChartSelection(
|
|
124
|
+
controlledDataKey,
|
|
125
|
+
defaultSelectedDataKey,
|
|
126
|
+
onSelectionChange
|
|
127
|
+
);
|
|
128
|
+
const context = useMemo(
|
|
129
|
+
() => ({
|
|
130
|
+
config,
|
|
131
|
+
rows: displayData,
|
|
132
|
+
isStacked,
|
|
133
|
+
isHorizontal,
|
|
134
|
+
isLoading,
|
|
135
|
+
barRadius,
|
|
136
|
+
animationType,
|
|
137
|
+
introStartedAt,
|
|
138
|
+
dataLength: displayData.length,
|
|
139
|
+
bufferIndex,
|
|
140
|
+
selectedDataKey,
|
|
141
|
+
selectDataKey,
|
|
142
|
+
isPointerInChart
|
|
143
|
+
}),
|
|
144
|
+
[
|
|
145
|
+
animationType,
|
|
146
|
+
barRadius,
|
|
147
|
+
bufferIndex,
|
|
148
|
+
config,
|
|
149
|
+
displayData,
|
|
150
|
+
introStartedAt,
|
|
151
|
+
isHorizontal,
|
|
152
|
+
isLoading,
|
|
153
|
+
isPointerInChart,
|
|
154
|
+
isStacked,
|
|
155
|
+
selectDataKey,
|
|
156
|
+
selectedDataKey
|
|
157
|
+
]
|
|
158
|
+
);
|
|
159
|
+
return /* @__PURE__ */ jsx(BarChartContext.Provider, { value: context, children: /* @__PURE__ */ jsxs(
|
|
160
|
+
ChartFigure,
|
|
161
|
+
{
|
|
162
|
+
title,
|
|
163
|
+
showTitle,
|
|
164
|
+
description,
|
|
165
|
+
className,
|
|
166
|
+
table: hideDataTable ? false : { rows: data, rowKey: xDataKey, columns },
|
|
167
|
+
isEmpty,
|
|
168
|
+
empty,
|
|
169
|
+
children: [
|
|
170
|
+
sonifySlot && /* @__PURE__ */ jsx(ChartSonifyButton, { ...sonifySlot, title, series: sonifySeries }),
|
|
171
|
+
/* @__PURE__ */ jsx(
|
|
172
|
+
ChartControls,
|
|
173
|
+
{
|
|
174
|
+
toolbar: showToolbar ? toolbarSlot : null,
|
|
175
|
+
zoom,
|
|
176
|
+
title,
|
|
177
|
+
rows: data,
|
|
178
|
+
columns,
|
|
179
|
+
rowKey: xDataKey,
|
|
180
|
+
children: /* @__PURE__ */ jsx(
|
|
181
|
+
ChartContainer,
|
|
182
|
+
{
|
|
183
|
+
config,
|
|
184
|
+
footer: showBrush && /* @__PURE__ */ jsx(
|
|
185
|
+
ChartBrush,
|
|
186
|
+
{
|
|
187
|
+
data,
|
|
188
|
+
config,
|
|
189
|
+
xDataKey,
|
|
190
|
+
variant: "bar",
|
|
191
|
+
barRadius,
|
|
192
|
+
height: brushSlot.height,
|
|
193
|
+
formatLabel: brushSlot.formatLabel,
|
|
194
|
+
stacked: isStacked,
|
|
195
|
+
className: "mt-1",
|
|
196
|
+
...zoom.brushProps,
|
|
197
|
+
onChange: (range) => {
|
|
198
|
+
zoom.brushProps.onChange(range);
|
|
199
|
+
brushSlot.onChange?.(range);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
),
|
|
203
|
+
children: /* @__PURE__ */ jsxs(
|
|
204
|
+
RechartsBarChart,
|
|
205
|
+
{
|
|
206
|
+
id: chartId,
|
|
207
|
+
accessibilityLayer: true,
|
|
208
|
+
margin: CHART_MARGIN,
|
|
209
|
+
layout: isHorizontal ? "vertical" : "horizontal",
|
|
210
|
+
data: isLoading ? loadingData : displayData,
|
|
211
|
+
barGap,
|
|
212
|
+
barCategoryGap,
|
|
213
|
+
stackOffset: stackType === "percent" ? "expand" : void 0,
|
|
214
|
+
onMouseEnter: () => setIsPointerInChart(true),
|
|
215
|
+
onMouseLeave: () => setIsPointerInChart(false),
|
|
216
|
+
...chartProps,
|
|
217
|
+
children: [
|
|
218
|
+
chartChildren,
|
|
219
|
+
isLoading && /* @__PURE__ */ jsx(LoadingBar, { chartId, onShimmerExit })
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
)
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
}
|
|
226
|
+
),
|
|
227
|
+
/* @__PURE__ */ jsx(LoadingIndicator, { isLoading })
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
) });
|
|
231
|
+
}
|
|
232
|
+
function Bar({
|
|
233
|
+
dataKey,
|
|
234
|
+
variant = "default",
|
|
235
|
+
radius,
|
|
236
|
+
animationType,
|
|
237
|
+
isClickable = false,
|
|
238
|
+
enableHoverHighlight = false,
|
|
239
|
+
glowing = false,
|
|
240
|
+
buffer = false,
|
|
241
|
+
children,
|
|
242
|
+
barProps
|
|
243
|
+
}) {
|
|
244
|
+
const {
|
|
245
|
+
config,
|
|
246
|
+
isStacked,
|
|
247
|
+
isHorizontal,
|
|
248
|
+
isLoading,
|
|
249
|
+
rows,
|
|
250
|
+
barRadius: defaultRadius,
|
|
251
|
+
animationType: defaultAnimation,
|
|
252
|
+
introStartedAt,
|
|
253
|
+
dataLength,
|
|
254
|
+
bufferIndex,
|
|
255
|
+
selectedDataKey,
|
|
256
|
+
selectDataKey,
|
|
257
|
+
isPointerInChart
|
|
258
|
+
} = useBarChart();
|
|
259
|
+
const id = useId().replace(/:/g, "");
|
|
260
|
+
const reduceMotion = useReducedMotion();
|
|
261
|
+
if (isLoading) return null;
|
|
262
|
+
const resolvedRadius = radius ?? defaultRadius;
|
|
263
|
+
const isSelected = selectedDataKey === dataKey;
|
|
264
|
+
const reveal = reduceMotion ? "none" : animationType ?? defaultAnimation;
|
|
265
|
+
const shared = {
|
|
266
|
+
id,
|
|
267
|
+
dataKey,
|
|
268
|
+
variant,
|
|
269
|
+
barRadius: resolvedRadius,
|
|
270
|
+
glowing,
|
|
271
|
+
buffer,
|
|
272
|
+
isClickable,
|
|
273
|
+
enableHoverHighlight,
|
|
274
|
+
isPointerInChart,
|
|
275
|
+
isHorizontal,
|
|
276
|
+
introStartedAt,
|
|
277
|
+
selectedDataKey,
|
|
278
|
+
dataLength,
|
|
279
|
+
bufferIndex,
|
|
280
|
+
onSelect: () => {
|
|
281
|
+
if (!isClickable) return;
|
|
282
|
+
selectDataKey(isSelected ? null : dataKey);
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
286
|
+
/* @__PURE__ */ jsx(
|
|
287
|
+
RechartsBar,
|
|
288
|
+
{
|
|
289
|
+
dataKey,
|
|
290
|
+
stackId: isStacked ? STACK_ID : void 0,
|
|
291
|
+
fill: `url(#${id}-colors-${dataKey})`,
|
|
292
|
+
radius: resolvedRadius,
|
|
293
|
+
isAnimationActive: false,
|
|
294
|
+
style: isClickable || enableHoverHighlight ? { cursor: "pointer" } : void 0,
|
|
295
|
+
shape: (props) => /* @__PURE__ */ jsx(BarShape, { ...props, ...shared, animationType: reveal }),
|
|
296
|
+
activeBar: (props) => /* @__PURE__ */ jsx(BarShape, { ...props, ...shared, animationType: "none" }),
|
|
297
|
+
...barProps,
|
|
298
|
+
children: resolveValues(
|
|
299
|
+
findSlot(children, Values),
|
|
300
|
+
rows.map((row) => Number(row[dataKey])).filter(Number.isFinite)
|
|
301
|
+
)
|
|
302
|
+
}
|
|
303
|
+
),
|
|
304
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
305
|
+
/* @__PURE__ */ jsx(SeriesGradient, { id, dataKey, config, direction: "vertical" }),
|
|
306
|
+
variant === "hatched" && /* @__PURE__ */ jsx(BarHatchedFill, { id, dataKey }),
|
|
307
|
+
variant === "duotone" && /* @__PURE__ */ jsx(BarDuotoneFill, { id, dataKey, config }),
|
|
308
|
+
variant === "duotone-reverse" && /* @__PURE__ */ jsx(BarDuotoneFill, { id, dataKey, config, reverse: true }),
|
|
309
|
+
variant === "gradient" && /* @__PURE__ */ jsx(BarGradientFill, { id, dataKey }),
|
|
310
|
+
variant === "stripped" && /* @__PURE__ */ jsx(BarStrippedFill, { id, dataKey }),
|
|
311
|
+
buffer && /* @__PURE__ */ jsx(BarBufferFill, { id, dataKey }),
|
|
312
|
+
glowing && /* @__PURE__ */ jsx(GlowFilter, { id, dataKey })
|
|
313
|
+
] })
|
|
314
|
+
] });
|
|
315
|
+
}
|
|
316
|
+
function BarShape(props) {
|
|
317
|
+
const {
|
|
318
|
+
x = 0,
|
|
319
|
+
y = 0,
|
|
320
|
+
width = 0,
|
|
321
|
+
height = 0,
|
|
322
|
+
id,
|
|
323
|
+
dataKey,
|
|
324
|
+
variant,
|
|
325
|
+
barRadius,
|
|
326
|
+
glowing,
|
|
327
|
+
buffer,
|
|
328
|
+
isClickable,
|
|
329
|
+
enableHoverHighlight,
|
|
330
|
+
isPointerInChart,
|
|
331
|
+
isHorizontal,
|
|
332
|
+
animationType,
|
|
333
|
+
introStartedAt,
|
|
334
|
+
selectedDataKey,
|
|
335
|
+
isActive,
|
|
336
|
+
dataLength,
|
|
337
|
+
bufferIndex,
|
|
338
|
+
onSelect
|
|
339
|
+
} = props;
|
|
340
|
+
const index = typeof props.index === "number" ? props.index : -1;
|
|
341
|
+
const isBufferBar = buffer && index >= 0 && index === bufferIndex;
|
|
342
|
+
const isStripped = variant === "stripped";
|
|
343
|
+
const grow = growAnimation(animationType, index, dataLength, isHorizontal, introStartedAt);
|
|
344
|
+
const fill = isBufferBar ? `url(#${id}-buffer-${dataKey})` : variantFill(variant, id, dataKey);
|
|
345
|
+
const opacity = barOpacity({
|
|
346
|
+
isClickable,
|
|
347
|
+
selectedDataKey,
|
|
348
|
+
dataKey,
|
|
349
|
+
enableHoverHighlight,
|
|
350
|
+
isPointerInChart,
|
|
351
|
+
isActive
|
|
352
|
+
});
|
|
353
|
+
const radius = isStripped ? [barRadius, barRadius, 0, 0] : barRadius;
|
|
354
|
+
const painted = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
355
|
+
/* @__PURE__ */ jsx(
|
|
356
|
+
Rectangle,
|
|
357
|
+
{
|
|
358
|
+
x,
|
|
359
|
+
y,
|
|
360
|
+
width,
|
|
361
|
+
height: height <= 0 ? 0 : Math.max(MIN_BAR_LENGTH, height - FOOT_GAP),
|
|
362
|
+
opacity,
|
|
363
|
+
radius,
|
|
364
|
+
fill,
|
|
365
|
+
filter: glowing ? `url(#${id}-glow-${dataKey})` : void 0,
|
|
366
|
+
stroke: isBufferBar ? `url(#${id}-colors-${dataKey})` : void 0,
|
|
367
|
+
strokeWidth: isBufferBar ? 1 : void 0
|
|
368
|
+
}
|
|
369
|
+
),
|
|
370
|
+
isStripped && /* @__PURE__ */ jsx(
|
|
371
|
+
Rectangle,
|
|
372
|
+
{
|
|
373
|
+
x,
|
|
374
|
+
y: y - 4,
|
|
375
|
+
width,
|
|
376
|
+
height: 2,
|
|
377
|
+
radius: 1,
|
|
378
|
+
fill: `url(#${id}-colors-${dataKey})`
|
|
379
|
+
}
|
|
380
|
+
)
|
|
381
|
+
] });
|
|
382
|
+
return /* @__PURE__ */ jsxs(
|
|
383
|
+
"g",
|
|
384
|
+
{
|
|
385
|
+
style: isClickable || enableHoverHighlight ? { cursor: "pointer" } : void 0,
|
|
386
|
+
onClick: onSelect,
|
|
387
|
+
children: [
|
|
388
|
+
/* @__PURE__ */ jsx(Rectangle, { ...props, fill: "transparent" }),
|
|
389
|
+
grow ? /* @__PURE__ */ jsx(
|
|
390
|
+
motion.g,
|
|
391
|
+
{
|
|
392
|
+
initial: grow.initial,
|
|
393
|
+
animate: grow.animate,
|
|
394
|
+
transition: grow.transition,
|
|
395
|
+
style: grow.style,
|
|
396
|
+
children: painted
|
|
397
|
+
}
|
|
398
|
+
) : painted
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
function growAnimation(animationType, index, dataLength, isHorizontal, introStartedAt) {
|
|
404
|
+
if (animationType === "none" || index < 0 || dataLength <= 0) return null;
|
|
405
|
+
const lastIndex = dataLength - 1;
|
|
406
|
+
const centre = lastIndex / 2;
|
|
407
|
+
let step;
|
|
408
|
+
switch (animationType) {
|
|
409
|
+
case "reverse":
|
|
410
|
+
step = lastIndex - index;
|
|
411
|
+
break;
|
|
412
|
+
case "center-out":
|
|
413
|
+
step = Math.abs(index - centre);
|
|
414
|
+
break;
|
|
415
|
+
case "edges-in":
|
|
416
|
+
step = centre - Math.abs(index - centre);
|
|
417
|
+
break;
|
|
418
|
+
default:
|
|
419
|
+
step = index;
|
|
420
|
+
}
|
|
421
|
+
const startMs = step * GROW_STAGGER * 1e3;
|
|
422
|
+
const endMs = startMs + GROW_DURATION * 1e3;
|
|
423
|
+
const elapsed = Date.now() - introStartedAt;
|
|
424
|
+
if (elapsed >= endMs) return null;
|
|
425
|
+
const from = elapsed <= startMs ? 0 : (elapsed - startMs) / (GROW_DURATION * 1e3);
|
|
426
|
+
const transition = {
|
|
427
|
+
duration: (endMs - Math.max(elapsed, startMs)) / 1e3,
|
|
428
|
+
ease: REVEAL_EASE,
|
|
429
|
+
delay: Math.max(0, startMs - elapsed) / 1e3
|
|
430
|
+
};
|
|
431
|
+
return isHorizontal ? { initial: { scaleX: from }, animate: { scaleX: 1 }, transition, style: { originX: 0 } } : { initial: { scaleY: from }, animate: { scaleY: 1 }, transition, style: { originY: 1 } };
|
|
432
|
+
}
|
|
433
|
+
function variantFill(variant, id, dataKey) {
|
|
434
|
+
if (variant === "default") return `url(#${id}-colors-${dataKey})`;
|
|
435
|
+
return `url(#${id}-${variant}-${dataKey})`;
|
|
436
|
+
}
|
|
437
|
+
function barOpacity({
|
|
438
|
+
isClickable,
|
|
439
|
+
selectedDataKey,
|
|
440
|
+
dataKey,
|
|
441
|
+
enableHoverHighlight,
|
|
442
|
+
isPointerInChart,
|
|
443
|
+
isActive
|
|
444
|
+
}) {
|
|
445
|
+
const inSelection = selectedDataKey === null || selectedDataKey === dataKey;
|
|
446
|
+
const selectionOpacity = isClickable && selectedDataKey !== null ? inSelection ? 1 : 0.15 : 1;
|
|
447
|
+
if (enableHoverHighlight && isPointerInChart) {
|
|
448
|
+
return isActive ? selectionOpacity : selectionOpacity * 0.3;
|
|
449
|
+
}
|
|
450
|
+
return selectionOpacity;
|
|
451
|
+
}
|
|
452
|
+
function XAxis({
|
|
453
|
+
tickLine = false,
|
|
454
|
+
axisLine = false,
|
|
455
|
+
tickMargin = 8,
|
|
456
|
+
minTickGap = 8,
|
|
457
|
+
type,
|
|
458
|
+
label,
|
|
459
|
+
...rest
|
|
460
|
+
}) {
|
|
461
|
+
const { isLoading, isHorizontal } = useBarChart();
|
|
462
|
+
if (isLoading) return null;
|
|
463
|
+
return /* @__PURE__ */ jsx(
|
|
464
|
+
RechartsXAxis,
|
|
465
|
+
{
|
|
466
|
+
tickLine,
|
|
467
|
+
axisLine,
|
|
468
|
+
tickMargin,
|
|
469
|
+
minTickGap,
|
|
470
|
+
type: type ?? (isHorizontal ? "number" : "category"),
|
|
471
|
+
...rest,
|
|
472
|
+
children: axisLabel(label, "x")
|
|
473
|
+
}
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
function YAxis({
|
|
477
|
+
tickLine = false,
|
|
478
|
+
axisLine = false,
|
|
479
|
+
tickMargin = 8,
|
|
480
|
+
minTickGap = 8,
|
|
481
|
+
width = "auto",
|
|
482
|
+
type,
|
|
483
|
+
label,
|
|
484
|
+
tickFormatter,
|
|
485
|
+
...rest
|
|
486
|
+
}) {
|
|
487
|
+
const { isLoading, isHorizontal } = useBarChart();
|
|
488
|
+
if (isLoading) return null;
|
|
489
|
+
return /* @__PURE__ */ jsx(
|
|
490
|
+
RechartsYAxis,
|
|
491
|
+
{
|
|
492
|
+
tickLine,
|
|
493
|
+
axisLine,
|
|
494
|
+
tickMargin,
|
|
495
|
+
minTickGap,
|
|
496
|
+
width,
|
|
497
|
+
type: type ?? (isHorizontal ? "category" : "number"),
|
|
498
|
+
tickFormatter: tickFormatter ?? defaultTick,
|
|
499
|
+
...rest,
|
|
500
|
+
children: axisLabel(label, "y")
|
|
501
|
+
}
|
|
502
|
+
);
|
|
503
|
+
}
|
|
504
|
+
function Grid({
|
|
505
|
+
strokeDasharray = "3 3",
|
|
506
|
+
vertical,
|
|
507
|
+
horizontal,
|
|
508
|
+
...rest
|
|
509
|
+
}) {
|
|
510
|
+
const { isHorizontal } = useBarChart();
|
|
511
|
+
return /* @__PURE__ */ jsx(
|
|
512
|
+
CartesianGrid,
|
|
513
|
+
{
|
|
514
|
+
strokeDasharray,
|
|
515
|
+
vertical: vertical ?? isHorizontal,
|
|
516
|
+
horizontal: horizontal ?? !isHorizontal,
|
|
517
|
+
...rest
|
|
518
|
+
}
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
function Tooltip({ variant, roundness, defaultIndex, cursor = false }) {
|
|
522
|
+
const { isLoading, selectedDataKey } = useBarChart();
|
|
523
|
+
if (isLoading) return null;
|
|
524
|
+
return /* @__PURE__ */ jsx(
|
|
525
|
+
ChartTooltip,
|
|
526
|
+
{
|
|
527
|
+
cursor,
|
|
528
|
+
defaultIndex,
|
|
529
|
+
content: /* @__PURE__ */ jsx(ChartTooltipContent, { selected: selectedDataKey, roundness, variant })
|
|
530
|
+
}
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
function Legend({
|
|
534
|
+
variant,
|
|
535
|
+
align = "right",
|
|
536
|
+
verticalAlign = "top",
|
|
537
|
+
isClickable = false
|
|
538
|
+
}) {
|
|
539
|
+
const { selectedDataKey, selectDataKey } = useBarChart();
|
|
540
|
+
return /* @__PURE__ */ jsx(
|
|
541
|
+
ChartLegend,
|
|
542
|
+
{
|
|
543
|
+
verticalAlign,
|
|
544
|
+
align,
|
|
545
|
+
content: /* @__PURE__ */ jsx(
|
|
546
|
+
ChartLegendContent,
|
|
547
|
+
{
|
|
548
|
+
selected: selectedDataKey,
|
|
549
|
+
onSelectChange: selectDataKey,
|
|
550
|
+
isClickable,
|
|
551
|
+
variant
|
|
552
|
+
}
|
|
553
|
+
)
|
|
554
|
+
}
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
function Background({ variant }) {
|
|
558
|
+
const { isLoading } = useBarChart();
|
|
559
|
+
if (isLoading) return null;
|
|
560
|
+
return /* @__PURE__ */ jsx(ChartBackground, { variant });
|
|
561
|
+
}
|
|
562
|
+
function LoadingBar({ chartId, onShimmerExit }) {
|
|
563
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
564
|
+
/* @__PURE__ */ jsx(
|
|
565
|
+
RechartsBar,
|
|
566
|
+
{
|
|
567
|
+
dataKey: LOADING_KEY,
|
|
568
|
+
fill: "currentColor",
|
|
569
|
+
fillOpacity: 0.15,
|
|
570
|
+
radius: BAR_RADIUS,
|
|
571
|
+
isAnimationActive: false,
|
|
572
|
+
legendType: "none",
|
|
573
|
+
className: "text-(--ink)",
|
|
574
|
+
style: { mask: `url(#${chartId}-loading-mask)` }
|
|
575
|
+
}
|
|
576
|
+
),
|
|
577
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx(LoadingShimmer, { id: chartId, onShimmerExit }) })
|
|
578
|
+
] });
|
|
579
|
+
}
|
|
580
|
+
BarChart.Bar = Bar;
|
|
581
|
+
BarChart.XAxis = XAxis;
|
|
582
|
+
BarChart.YAxis = YAxis;
|
|
583
|
+
BarChart.Grid = Grid;
|
|
584
|
+
BarChart.Tooltip = Tooltip;
|
|
585
|
+
BarChart.Legend = Legend;
|
|
586
|
+
BarChart.Background = Background;
|
|
587
|
+
BarChart.ReferenceLine = ReferenceLine;
|
|
588
|
+
BarChart.ReferenceBand = ReferenceBand;
|
|
589
|
+
BarChart.Annotation = Annotation;
|
|
590
|
+
BarChart.Values = Values;
|
|
591
|
+
BarChart.Brush = Brush;
|
|
592
|
+
BarChart.Toolbar = Toolbar;
|
|
593
|
+
BarChart.Sonify = Sonify;
|
|
594
|
+
var BarChart_default = BarChart;
|
|
595
|
+
export {
|
|
596
|
+
BarChart,
|
|
597
|
+
BarChart_default as default
|
|
598
|
+
};
|
|
599
|
+
//# sourceMappingURL=BarChart.js.map
|