@misoto22/design 0.5.0 → 0.6.1
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/README.md +124 -0
- package/bin/misoto22-design.mjs +205 -0
- package/dist/agent/Accordion.md +41 -0
- package/dist/agent/Alert.md +42 -0
- package/dist/agent/AppShell.md +40 -0
- package/dist/agent/AreaChart.md +68 -0
- package/dist/agent/Article.md +41 -0
- package/dist/agent/Avatar.md +32 -0
- package/dist/agent/Badge.md +40 -0
- package/dist/agent/BarChart.md +65 -0
- package/dist/agent/BarList.md +40 -0
- package/dist/agent/BigNumber.md +45 -0
- package/dist/agent/BoxPlot.md +58 -0
- package/dist/agent/Breadcrumb.md +32 -0
- package/dist/agent/BulletChart.md +48 -0
- package/dist/agent/Button.md +56 -0
- package/dist/agent/Calendar.md +42 -0
- package/dist/agent/Card.md +49 -0
- package/dist/agent/Checkbox.md +35 -0
- package/dist/agent/Collapsible.md +46 -0
- package/dist/agent/Combobox.md +50 -0
- package/dist/agent/Command.md +93 -0
- package/dist/agent/ComposedChart.md +57 -0
- package/dist/agent/ContextMenu.md +59 -0
- package/dist/agent/DatePicker.md +75 -0
- package/dist/agent/Diagram.md +46 -0
- package/dist/agent/Dialog.md +52 -0
- package/dist/agent/DropdownMenu.md +70 -0
- package/dist/agent/EmptyState.md +37 -0
- package/dist/agent/ErrorState.md +41 -0
- package/dist/agent/Facet.md +82 -0
- package/dist/agent/Field.md +37 -0
- package/dist/agent/FigureBand.md +37 -0
- package/dist/agent/FloatingIconButton.md +38 -0
- package/dist/agent/FunnelChart.md +52 -0
- package/dist/agent/Heatmap.md +53 -0
- package/dist/agent/Histogram.md +63 -0
- package/dist/agent/Input.md +30 -0
- package/dist/agent/Kbd.md +29 -0
- package/dist/agent/LineChart.md +60 -0
- package/dist/agent/LinkArrow.md +29 -0
- package/dist/agent/NativeSelect.md +40 -0
- package/dist/agent/NavItem.md +35 -0
- package/dist/agent/Pagination.md +43 -0
- package/dist/agent/PieChart.md +55 -0
- package/dist/agent/Popover.md +57 -0
- package/dist/agent/Progress.md +33 -0
- package/dist/agent/RadarChart.md +54 -0
- package/dist/agent/RadialChart.md +57 -0
- package/dist/agent/RadioGroup.md +44 -0
- package/dist/agent/SankeyChart.md +61 -0
- package/dist/agent/ScatterChart.md +54 -0
- package/dist/agent/ScrollArea.md +40 -0
- package/dist/agent/SearchableMenu.md +46 -0
- package/dist/agent/Select.md +75 -0
- package/dist/agent/Separator.md +35 -0
- package/dist/agent/Sheet.md +57 -0
- package/dist/agent/Skeleton.md +73 -0
- package/dist/agent/Slider.md +39 -0
- package/dist/agent/Sparkline.md +45 -0
- package/dist/agent/Spinner.md +39 -0
- package/dist/agent/StatusDot.md +36 -0
- package/dist/agent/StatusPill.md +28 -0
- package/dist/agent/Steps.md +44 -0
- package/dist/agent/Switch.md +29 -0
- package/dist/agent/Table.md +85 -0
- package/dist/agent/Tabs.md +48 -0
- package/dist/agent/Tag.md +35 -0
- package/dist/agent/Textarea.md +26 -0
- package/dist/agent/Toast.md +26 -0
- package/dist/agent/ToggleGroup.md +44 -0
- package/dist/agent/Tooltip.md +51 -0
- package/dist/agent/TreemapChart.md +52 -0
- package/dist/agent/WaterfallChart.md +62 -0
- package/dist/agent/catalog.json +1863 -0
- package/dist/agent/index.md +131 -0
- package/dist/charts/AreaChart/AreaChart.d.ts +191 -0
- package/dist/charts/AreaChart/AreaChart.js +480 -0
- package/dist/charts/AreaChart/AreaChart.js.map +1 -0
- package/dist/charts/BarChart/BarChart.d.ts +179 -0
- package/dist/charts/BarChart/BarChart.js +591 -0
- package/dist/charts/BarChart/BarChart.js.map +1 -0
- package/dist/charts/BarList/BarList.d.ts +57 -0
- package/dist/charts/BarList/BarList.js +71 -0
- package/dist/charts/BarList/BarList.js.map +1 -0
- package/dist/charts/BigNumber/BigNumber.d.ts +56 -0
- package/dist/charts/BigNumber/BigNumber.js +31 -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 +495 -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 +162 -0
- package/dist/charts/BulletChart/BulletChart.js.map +1 -0
- package/dist/charts/ComposedChart/ComposedChart.d.ts +171 -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 +101 -0
- package/dist/charts/FunnelChart/FunnelChart.js +147 -0
- package/dist/charts/FunnelChart/FunnelChart.js.map +1 -0
- package/dist/charts/Heatmap/Heatmap.d.ts +78 -0
- package/dist/charts/Heatmap/Heatmap.js +108 -0
- package/dist/charts/Heatmap/Heatmap.js.map +1 -0
- package/dist/charts/Histogram/Histogram.d.ts +165 -0
- package/dist/charts/Histogram/Histogram.js +350 -0
- package/dist/charts/Histogram/Histogram.js.map +1 -0
- package/dist/charts/LineChart/LineChart.d.ts +167 -0
- package/dist/charts/LineChart/LineChart.js +486 -0
- package/dist/charts/LineChart/LineChart.js.map +1 -0
- package/dist/charts/PieChart/PieChart.d.ts +128 -0
- package/dist/charts/PieChart/PieChart.js +309 -0
- package/dist/charts/PieChart/PieChart.js.map +1 -0
- package/dist/charts/RadarChart/RadarChart.d.ts +123 -0
- package/dist/charts/RadarChart/RadarChart.js +299 -0
- package/dist/charts/RadarChart/RadarChart.js.map +1 -0
- package/dist/charts/RadialChart/RadialChart.d.ts +124 -0
- package/dist/charts/RadialChart/RadialChart.js +257 -0
- package/dist/charts/RadialChart/RadialChart.js.map +1 -0
- package/dist/charts/SankeyChart/SankeyChart.d.ts +137 -0
- package/dist/charts/SankeyChart/SankeyChart.js +501 -0
- package/dist/charts/SankeyChart/SankeyChart.js.map +1 -0
- package/dist/charts/ScatterChart/ScatterChart.d.ts +128 -0
- package/dist/charts/ScatterChart/ScatterChart.js +269 -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 +93 -0
- package/dist/charts/Sparkline/Sparkline.js.map +1 -0
- package/dist/charts/TreemapChart/TreemapChart.d.ts +93 -0
- package/dist/charts/TreemapChart/TreemapChart.js +118 -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 +319 -0
- package/dist/charts/WaterfallChart/WaterfallChart.js.map +1 -0
- package/dist/charts/index.d.ts +41 -0
- package/dist/charts/index.js +128 -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 +134 -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 +13 -0
- package/dist/charts/lib/empty.js.map +1 -0
- package/dist/charts/lib/export.d.ts +103 -0
- package/dist/charts/lib/export.js +204 -0
- package/dist/charts/lib/export.js.map +1 -0
- package/dist/charts/lib/figure.d.ts +61 -0
- package/dist/charts/lib/figure.js +59 -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/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 +143 -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/semantic.css +19 -0
- package/dist/styles.css +1 -1
- package/dist/themes.css +50 -0
- package/dist/tokens.css +118 -0
- package/dist/tokens.d.ts +17 -0
- package/dist/tokens.js +101 -0
- package/dist/tokens.json +101 -0
- package/package.json +26 -4
- package/skills/misoto22-design/SKILL.md +209 -0
- package/skills/misoto22-design/evals/claims.json +95 -0
- package/skills/misoto22-design/rules/a11y.md +115 -0
- package/skills/misoto22-design/rules/composition.md +108 -0
- package/skills/misoto22-design/rules/forms.md +128 -0
- package/skills/misoto22-design/rules/naming.md +155 -0
- package/skills/misoto22-design/rules/tokens.md +131 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { ChartTooltipSlotProps, ChartLegendSlotProps } from '../AreaChart/AreaChart.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
4
|
+
import { BarChart as BarChart$1, Bar, XAxis, YAxis, CartesianGrid } from 'recharts';
|
|
5
|
+
import { ChartConfig } from '../lib/chart.js';
|
|
6
|
+
import { ChartEmptyProps } from '../lib/empty.js';
|
|
7
|
+
import { ValuesProps } from '../lib/values.js';
|
|
8
|
+
import { SonifyProps } from '../lib/sonify-control.js';
|
|
9
|
+
import { ChartBackgroundVariant } from '../lib/background.js';
|
|
10
|
+
import { BrushProps } from '../lib/brush.js';
|
|
11
|
+
import { ToolbarProps } from '../lib/toolbar.js';
|
|
12
|
+
import { ChartRevealType } from '../lib/paint.js';
|
|
13
|
+
import { ReferenceLine, ReferenceBand, Annotation } from '../lib/annotations.js';
|
|
14
|
+
import '../lib/dot.js';
|
|
15
|
+
import '../lib/legend.js';
|
|
16
|
+
import '../lib/tooltip.js';
|
|
17
|
+
import 'recharts/types/component/DefaultTooltipContent';
|
|
18
|
+
import '../lib/sonify.js';
|
|
19
|
+
import '../lib/zoom.js';
|
|
20
|
+
import '../lib/figure.js';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The axis props, with `label` narrowed to a string.
|
|
24
|
+
*
|
|
25
|
+
* Recharts' own `label` accepts a render function and a config object, neither
|
|
26
|
+
* of which a call site should be reaching for to name an axis — and both of
|
|
27
|
+
* which would let a consumer opt out of the system's own axis type styling
|
|
28
|
+
* without noticing.
|
|
29
|
+
*/
|
|
30
|
+
type ChartXAxisProps = Omit<ComponentProps<typeof XAxis>, 'label'> & {
|
|
31
|
+
/** What this axis measures. Say the unit here or in the series label, once. */
|
|
32
|
+
label?: string;
|
|
33
|
+
};
|
|
34
|
+
type ChartYAxisProps = Omit<ComponentProps<typeof YAxis>, 'label'> & {
|
|
35
|
+
/** What this axis measures. Say the unit here or in the series label, once. */
|
|
36
|
+
label?: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** How a bar meets the plot. The primary carrier of identity in monochrome. */
|
|
40
|
+
type BarVariant = 'default' | 'hatched' | 'duotone' | 'duotone-reverse' | 'gradient' | 'stripped';
|
|
41
|
+
/** How several bars combine: side by side, stacked, or normalised to 100%. */
|
|
42
|
+
type BarStackType = 'default' | 'stacked' | 'percent';
|
|
43
|
+
/**
|
|
44
|
+
* Which way the bars run.
|
|
45
|
+
*
|
|
46
|
+
* `vertical` stands them up from a category axis along the bottom — the default,
|
|
47
|
+
* and what a time series wants. `horizontal` lays them out from a category axis
|
|
48
|
+
* down the side, which is what long category NAMES want: a label that would be
|
|
49
|
+
* rotated 45° to fit under a column reads straight beside a row.
|
|
50
|
+
*/
|
|
51
|
+
type BarOrientation = 'vertical' | 'horizontal';
|
|
52
|
+
type ValidateKeys<TData, TConfig> = {
|
|
53
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
54
|
+
};
|
|
55
|
+
interface BarChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> {
|
|
56
|
+
config: TConfig & ValidateKeys<TData, TConfig>;
|
|
57
|
+
/** The rows the chart draws. One entry per point, bar or category. */
|
|
58
|
+
data: TData[];
|
|
59
|
+
/**
|
|
60
|
+
* What the chart shows, in a sentence a reader could act on. Required, and
|
|
61
|
+
* announced to a screen reader even when it is not printed.
|
|
62
|
+
*/
|
|
63
|
+
title: string;
|
|
64
|
+
/** Prints the title above the plot instead of hiding it from sight. */
|
|
65
|
+
showTitle?: boolean;
|
|
66
|
+
/** A line under the title — the unit, the window, the caveat. */
|
|
67
|
+
description?: ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* The composed parts — axes, grid, tooltip, legend, and the marks
|
|
70
|
+
* themselves.
|
|
71
|
+
*/
|
|
72
|
+
children: ReactNode;
|
|
73
|
+
/** Merged onto the figure, last, so a call site can size or space it. */
|
|
74
|
+
className?: string;
|
|
75
|
+
/** Escape hatch onto the raw Recharts chart element. */
|
|
76
|
+
chartProps?: ComponentProps<typeof BarChart$1>;
|
|
77
|
+
/** How several marks combine: side by side, stacked, or normalised to 100%. */
|
|
78
|
+
stackType?: BarStackType;
|
|
79
|
+
/**
|
|
80
|
+
* Which way the bars run. Reach for `horizontal` when the category names are
|
|
81
|
+
* long enough to need rotating under a column.
|
|
82
|
+
*/
|
|
83
|
+
orientation?: BarOrientation;
|
|
84
|
+
/** The corner every `<BarChart.Bar>` inherits. */
|
|
85
|
+
barRadius?: number;
|
|
86
|
+
/** The grow-in order every `<BarChart.Bar>` inherits. */
|
|
87
|
+
animationType?: ChartRevealType;
|
|
88
|
+
/** Gap between bars inside one category. */
|
|
89
|
+
barGap?: number;
|
|
90
|
+
/** Gap between categories. */
|
|
91
|
+
barCategoryGap?: number;
|
|
92
|
+
/** The series lit on first render. Selection dims every other series. */
|
|
93
|
+
defaultSelectedDataKey?: string | null;
|
|
94
|
+
/** Fires when the selection changes, and with null when it is cleared. */
|
|
95
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Swaps the marks for an animated skeleton, keeping the measured height so
|
|
98
|
+
* the page does not jump when the data lands.
|
|
99
|
+
*/
|
|
100
|
+
isLoading?: boolean;
|
|
101
|
+
/** How many bars the skeleton draws. */
|
|
102
|
+
loadingBars?: number;
|
|
103
|
+
/**
|
|
104
|
+
* The row field on the category axis. Needed by the brush and by the table
|
|
105
|
+
* view.
|
|
106
|
+
*/
|
|
107
|
+
xDataKey?: keyof TData & string;
|
|
108
|
+
/**
|
|
109
|
+
* Drops the hidden table view. Only correct when the page prints the data
|
|
110
|
+
* itself.
|
|
111
|
+
*/
|
|
112
|
+
hideDataTable?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* What the chart shows when it has nothing to draw.
|
|
115
|
+
*
|
|
116
|
+
* Rendered instead of the plot whenever `data` is empty and the chart is not
|
|
117
|
+
* loading — the state a real dashboard reaches within a week, and the one an
|
|
118
|
+
* empty pair of axes is indistinguishable from a failed load. `false` keeps
|
|
119
|
+
* the axes, for a chart whose emptiness is itself the reading.
|
|
120
|
+
*/
|
|
121
|
+
empty?: ChartEmptyProps | false;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Discrete categories compared by length — the shape for "how much, per thing".
|
|
125
|
+
*
|
|
126
|
+
* Reach for `<AreaChart>` or `<LineChart>` when the axis is continuous and the
|
|
127
|
+
* reader is following a trend rather than comparing buckets.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* <BarChart title="Visitors by month" config={config} data={data} xDataKey="month">
|
|
131
|
+
* <BarChart.Grid />
|
|
132
|
+
* <BarChart.XAxis dataKey="month" />
|
|
133
|
+
* <BarChart.Tooltip />
|
|
134
|
+
* <BarChart.Bar dataKey="desktop" variant="duotone" />
|
|
135
|
+
* </BarChart>
|
|
136
|
+
*/
|
|
137
|
+
declare function BarChart<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>>({ config, data, title, showTitle, description, children, className, chartProps, stackType, orientation, barRadius, animationType, barGap, barCategoryGap, defaultSelectedDataKey, onSelectionChange, isLoading, loadingBars, xDataKey, hideDataTable, empty, }: BarChartProps<TData, TConfig>): react.JSX.Element;
|
|
138
|
+
declare namespace BarChart {
|
|
139
|
+
var Bar: ({ dataKey, variant, radius, animationType, isClickable, enableHoverHighlight, glowing, buffer, children, barProps, }: BarProps) => react.JSX.Element | null;
|
|
140
|
+
var XAxis: ({ tickLine, axisLine, tickMargin, minTickGap, type, label, ...rest }: ChartXAxisProps) => react.JSX.Element | null;
|
|
141
|
+
var YAxis: ({ tickLine, axisLine, tickMargin, minTickGap, width, type, label, tickFormatter, ...rest }: ChartYAxisProps) => react.JSX.Element | null;
|
|
142
|
+
var Grid: ({ strokeDasharray, vertical, horizontal, ...rest }: ComponentProps<typeof CartesianGrid>) => react.JSX.Element;
|
|
143
|
+
var Tooltip: ({ variant, roundness, defaultIndex, cursor }: ChartTooltipSlotProps) => react.JSX.Element | null;
|
|
144
|
+
var Legend: ({ variant, align, verticalAlign, isClickable, }: ChartLegendSlotProps) => react.JSX.Element;
|
|
145
|
+
var Background: ({ variant }: {
|
|
146
|
+
variant: ChartBackgroundVariant;
|
|
147
|
+
}) => react.JSX.Element | null;
|
|
148
|
+
var ReferenceLine: typeof ReferenceLine;
|
|
149
|
+
var ReferenceBand: typeof ReferenceBand;
|
|
150
|
+
var Annotation: typeof Annotation;
|
|
151
|
+
var Values: react.FC<ValuesProps>;
|
|
152
|
+
var Brush: react.FC<BrushProps>;
|
|
153
|
+
var Toolbar: react.FC<ToolbarProps>;
|
|
154
|
+
var Sonify: react.FC<SonifyProps>;
|
|
155
|
+
}
|
|
156
|
+
interface BarProps {
|
|
157
|
+
dataKey: string;
|
|
158
|
+
variant?: BarVariant;
|
|
159
|
+
radius?: number;
|
|
160
|
+
animationType?: ChartRevealType;
|
|
161
|
+
/** Lets a click on this series select it, dimming the rest. */
|
|
162
|
+
isClickable?: boolean;
|
|
163
|
+
/** Dims this series while another bar in the same column is hovered. */
|
|
164
|
+
enableHoverHighlight?: boolean;
|
|
165
|
+
/** A halo behind the bars — for the one series that is the point of the figure. */
|
|
166
|
+
glowing?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Draws the LAST category as an open hatch rather than a solid bar.
|
|
169
|
+
*
|
|
170
|
+
* The idiom for a period still in progress: the bar is the same height as any
|
|
171
|
+
* other but is visibly not the same kind of fact.
|
|
172
|
+
*/
|
|
173
|
+
buffer?: boolean;
|
|
174
|
+
/** `<BarChart.Values>`. */
|
|
175
|
+
children?: ReactNode;
|
|
176
|
+
barProps?: ComponentProps<typeof Bar>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export { BarChart, type BarChartProps, type BarOrientation, type BarProps, type BarStackType, type BarVariant, type ChartXAxisProps, type ChartYAxisProps, BarChart as default };
|