@acronis-platform/ui-react 5.4.4 → 5.5.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/dist/components/ui/area-chart/area-chart.js +114 -113
- package/dist/components/ui/area-chart/area-chart.js.map +1 -1
- package/dist/components/ui/bar-chart/bar-chart.js +53 -49
- package/dist/components/ui/bar-chart/bar-chart.js.map +1 -1
- package/dist/components/ui/chart/chart.js +108 -97
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/composed-chart/composed-chart.js +134 -130
- package/dist/components/ui/composed-chart/composed-chart.js.map +1 -1
- package/dist/components/ui/confidence-cone/confidence-cone.js +36 -35
- package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -1
- package/dist/components/ui/dialog/dialog.js +69 -67
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/funnel-chart/funnel-chart.js +38 -37
- package/dist/components/ui/funnel-chart/funnel-chart.js.map +1 -1
- package/dist/components/ui/line-chart/line-chart.js +35 -34
- package/dist/components/ui/line-chart/line-chart.js.map +1 -1
- package/dist/components/ui/pie-chart/pie-chart.js +28 -27
- package/dist/components/ui/pie-chart/pie-chart.js.map +1 -1
- package/dist/components/ui/radar-chart/radar-chart.js +68 -65
- package/dist/components/ui/radar-chart/radar-chart.js.map +1 -1
- package/dist/components/ui/radial-bar-chart/radial-bar-chart.js +64 -63
- package/dist/components/ui/radial-bar-chart/radial-bar-chart.js.map +1 -1
- package/dist/components/ui/scatter-chart/scatter-chart.js +26 -26
- package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -1
- package/dist/components/ui/treemap/treemap.js +22 -22
- package/dist/components/ui/treemap/treemap.js.map +1 -1
- package/dist/index.js +106 -106
- package/dist/llms/area-chart.md +1 -0
- package/dist/llms/bar-chart.md +1 -0
- package/dist/llms/chart.md +10 -0
- package/dist/llms/composed-chart.md +1 -0
- package/dist/llms/confidence-cone.md +1 -0
- package/dist/llms/funnel-chart.md +1 -0
- package/dist/llms/line-chart.md +1 -0
- package/dist/llms/pie-chart.md +1 -0
- package/dist/llms/radar-chart.md +1 -0
- package/dist/llms/radial-bar-chart.md +1 -0
- package/dist/llms/scatter-chart.md +1 -0
- package/dist/llms/treemap.md +1 -0
- package/dist/llms.txt +1 -1
- package/dist/react.js +106 -106
- package/dist/src/components/ui/area-chart/area-chart.d.ts +6 -1
- package/dist/src/components/ui/bar-chart/bar-chart.d.ts +8 -2
- package/dist/src/components/ui/category-bar/category-bar.d.ts +1 -1
- package/dist/src/components/ui/chart/__stories__/palette-control.d.ts +16 -0
- package/dist/src/components/ui/chart/chart.d.ts +12 -1
- package/dist/src/components/ui/chart/index.d.ts +1 -1
- package/dist/src/components/ui/composed-chart/composed-chart.d.ts +6 -1
- package/dist/src/components/ui/confidence-cone/confidence-cone.d.ts +6 -1
- package/dist/src/components/ui/funnel-chart/funnel-chart.d.ts +6 -1
- package/dist/src/components/ui/grid/grid.d.ts +1 -1
- package/dist/src/components/ui/line-chart/line-chart.d.ts +6 -1
- package/dist/src/components/ui/pie-chart/pie-chart.d.ts +6 -1
- package/dist/src/components/ui/progress-circle/progress-circle.d.ts +1 -1
- package/dist/src/components/ui/radar-chart/radar-chart.d.ts +9 -1
- package/dist/src/components/ui/radial-bar-chart/radial-bar-chart.d.ts +6 -1
- package/dist/src/components/ui/scatter-chart/scatter-chart.d.ts +6 -1
- package/dist/src/components/ui/spinner/spinner.d.ts +1 -1
- package/dist/src/components/ui/stack/stack.d.ts +1 -1
- package/dist/src/components/ui/treemap/treemap.d.ts +6 -1
- package/dist/ui-react.css +1 -1
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -11,118 +11,118 @@ import { ButtonIcon as e, buttonIconVariants as t } from "./components/ui/button
|
|
|
11
11
|
import { Alert as n, AlertActions as r, AlertClose as i, AlertContent as a, AlertDescription as o, AlertIcon as s, AlertText as c, AlertTitle as l, alertVariants as u } from "./components/ui/alert/alert.js";
|
|
12
12
|
import { Tooltip as d, TooltipContent as f, TooltipProvider as p, TooltipTrigger as m } from "./components/ui/tooltip/tooltip.js";
|
|
13
13
|
import { AppShellChat as h, AppShellChatChat as g, AppShellChatChatBody as _, AppShellChatChatHeader as v, AppShellChatContent as y, AppShellChatContentBody as b, AppShellChatContentHeader as x, AppShellChatSidebar as S, getAppShellChatInitialLayout as C, useAppShellChatInitialLayout as w } from "./components/ui/app-shell-chat/app-shell-chat.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
14
|
+
import { middleTruncate as T } from "./components/ui/truncate-text/middle-truncate.js";
|
|
15
|
+
import { measureTextWidth as E } from "./components/ui/truncate-text/text-width.js";
|
|
16
|
+
import { TruncateText as D } from "./components/ui/truncate-text/truncate-text.js";
|
|
17
|
+
import { CHART_CATEGORICAL_TOKENS as O, CHART_DEFAULT_PALETTE as k, CHART_DIVERGING_TOKENS as Te, CHART_SEQUENTIAL_TOKENS as Ee, CHART_STATUS_TOKENS as De, findDuplicateTones as Oe, listPaletteChoices as ke, listPaletteStops as Ae, resolveSeriesColor as je } from "./components/ui/chart/chart-palette.js";
|
|
18
|
+
import { ChartContainer as Me, ChartLegend as Ne, ChartLegendContent as Pe, ChartStyle as Fe, ChartTooltip as Ie, ChartTooltipContent as Le, resolveChartColors as Re, toCssKey as ze } from "./components/ui/chart/chart.js";
|
|
19
|
+
import { CHART_BRUSH_ARIA_LABEL as Be, CHART_BRUSH_HEIGHT as Ve, CHART_LABEL_FILL_CLASS as He, CHART_LABEL_FILL_ON_SERIES_CLASS as Ue, CHART_LABEL_FONT_SIZE as We, CHART_LABEL_MARGIN as Ge, CHART_REFERENCE_LINE_STROKE as Ke, createTickFormatter as qe, dropProjectionPayload as Je, formatCompactNumber as Ye, formatPercent as Xe, resolveAnimation as Ze, resolveAxisDomain as Qe, resolveBrushProps as $e, resolveCartesianLabelPosition as et, resolveCategoryRange as tt, resolveChartReferenceValue as nt, resolveLabelFillClass as rt, resolveReferenceLineProps as it, resolveRotatedTickAnchor as at, resolveXAxisHeight as ot, resolveXAxisTitle as st, resolveYAxisTitle as ct, toLabelFormatter as lt, toReferenceLineList as ut } from "./components/ui/chart/chart-format.js";
|
|
20
|
+
import { AreaChart as dt, areaChartVariants as ft } from "./components/ui/area-chart/area-chart.js";
|
|
21
|
+
import { Avatar as pt, AvatarFallback as mt, AvatarGroup as ht, AvatarImage as gt, avatarVariants as _t } from "./components/ui/avatar/avatar.js";
|
|
22
|
+
import { BarChart as vt, barChartVariants as yt } from "./components/ui/bar-chart/bar-chart.js";
|
|
23
|
+
import { Breadcrumb as bt, BreadcrumbEllipsis as xt, BreadcrumbItem as St, BreadcrumbLink as Ct, BreadcrumbList as wt, BreadcrumbPage as Tt, BreadcrumbSeparator as Et } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
24
|
+
import { Button as Dt, buttonVariants as Ot } from "./components/ui/button/button.js";
|
|
25
|
+
import { ButtonGroup as kt, ButtonGroupItem as At, buttonGroupItemVariants as jt, buttonGroupVariants as Mt } from "./components/ui/button-group/button-group.js";
|
|
26
|
+
import { ButtonMenu as Nt, buttonMenuVariants as Pt } from "./components/ui/button-menu/button-menu.js";
|
|
27
|
+
import { Calendar as Ft, CalendarDayButton as It } from "./components/ui/calendar/calendar.js";
|
|
28
|
+
import { DialogFooterDefault as Lt } from "./components/ui/dialog-footer-default/dialog-footer-default.js";
|
|
29
|
+
import { InputSelect as A, InputSelectContent as j, InputSelectDescription as Rt, InputSelectError as zt, InputSelectExpander as Bt, InputSelectField as Vt, InputSelectGroup as Ht, InputSelectItem as M, InputSelectLabel as Ut, InputSelectSearch as Wt, InputSelectSection as N, InputSelectSectionLabel as P, InputSelectStatus as Gt, InputSelectTrigger as F, InputSelectValue as I, useInputSelectFilter as Kt } from "./components/ui/input-select/input-select.js";
|
|
30
|
+
import { CalendarHeader as qt, CalendarItem as Jt, CalendarPanel as Yt } from "./components/ui/calendar-panel/calendar-panel.js";
|
|
31
|
+
import { ButtonIconInput as Xt, buttonIconInputVariants as Zt } from "./components/ui/button-icon-input/button-icon-input.js";
|
|
32
|
+
import { Switch as Qt } from "./components/ui/switch/switch.js";
|
|
33
|
+
import { Card as $t, CardContent as en, CardFooter as tn, CardHeader as nn, cardVariants as rn } from "./components/ui/card/card.js";
|
|
34
|
+
import { CardFilter as an, cardFilterVariants as on } from "./components/ui/card-filter/card-filter.js";
|
|
35
|
+
import { CardSection as sn, cardSectionVariants as cn } from "./components/ui/card-section/card-section.js";
|
|
36
|
+
import { CardWidgetCarousel as ln } from "./components/ui/card-widget-carousel/card-widget-carousel.js";
|
|
37
|
+
import { CardWidget as un } from "./components/ui/card-widget-carousel/card-widget.js";
|
|
38
|
+
import { CategoryBar as dn, categoryBarVariants as fn } from "./components/ui/category-bar/category-bar.js";
|
|
39
|
+
import { CHART_STATE_ILLUSTRATIONS as pn } from "./components/ui/chart-state/chart-state-illustrations.js";
|
|
40
|
+
import { ChartState as mn } from "./components/ui/chart-state/chart-state.js";
|
|
41
|
+
import { ChartWidget as hn } from "./components/ui/chart-widget/chart-widget.js";
|
|
42
|
+
import { Checkbox as gn } from "./components/ui/checkbox/checkbox.js";
|
|
43
|
+
import { Chip as _n, chipVariants as vn } from "./components/ui/chip/chip.js";
|
|
44
|
+
import { Combobox as yn, ComboboxContent as bn, ComboboxEmpty as xn, ComboboxGroup as Sn, ComboboxGroupLabel as Cn, ComboboxInput as wn, ComboboxItem as Tn, ComboboxList as En } from "./components/ui/combobox/combobox.js";
|
|
45
|
+
import { ComposedChart as Dn, composedChartVariants as On } from "./components/ui/composed-chart/composed-chart.js";
|
|
46
|
+
import { ConfidenceCone as kn } from "./components/ui/confidence-cone/confidence-cone.js";
|
|
47
|
+
import { DropdownMenu as An, DropdownMenuCheckboxItem as jn, DropdownMenuContent as Mn, DropdownMenuGroup as Nn, DropdownMenuItem as Pn, DropdownMenuLabel as Fn, DropdownMenuPortal as In, DropdownMenuRadioGroup as Ln, DropdownMenuRadioItem as Rn, DropdownMenuSeparator as zn, DropdownMenuShortcut as Bn, DropdownMenuSub as Vn, DropdownMenuSubContent as Hn, DropdownMenuSubTrigger as Un, DropdownMenuTrigger as Wn } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
48
|
+
import { Table as Gn, TableActionsCell as Kn, TableBody as qn, TableCaption as Jn, TableCell as Yn, TableFooter as Xn, TableHead as Zn, TableHeader as Qn, TableRow as $n, TableSelectCell as er, TableSettingsCell as tr } from "./components/ui/table/table.js";
|
|
49
|
+
import { TablePagination as nr } from "./components/ui/table/table-pagination.js";
|
|
50
|
+
import { TableViewOptions as rr } from "./components/ui/table/table-view-options.js";
|
|
51
|
+
import { isBulkSelectionActive as ir } from "./components/ui/data-table/data-table-selection.js";
|
|
52
|
+
import { DataTableViewOptions as ar } from "./components/ui/data-table/data-table-view-options.js";
|
|
53
|
+
import { DataTable as or, getCellStyle as sr, getColumnWidth as cr, getPinnedStyle as lr, reorderColumn as ur } from "./components/ui/data-table/data-table.js";
|
|
54
|
+
import { DataTableBulkActionsBar as dr } from "./components/ui/data-table/data-table-bulk-actions-bar.js";
|
|
55
|
+
import { DataTableColumnHeader as fr } from "./components/ui/data-table/data-table-column-header.js";
|
|
56
|
+
import { DataTableExpandTrigger as pr } from "./components/ui/data-table/data-table-expand-trigger.js";
|
|
57
|
+
import { DataTablePagination as mr } from "./components/ui/data-table/data-table-pagination.js";
|
|
58
|
+
import { FilterChips as hr, FilterChipsList as gr, FilterChipsReset as _r } from "./components/ui/filter-chips/filter-chips.js";
|
|
59
|
+
import { Popover as vr, PopoverBody as yr, PopoverContent as br, PopoverFooter as xr, PopoverPortal as Sr, PopoverTrigger as Cr } from "./components/ui/popover/popover.js";
|
|
60
|
+
import { FilterSearch as wr, FilterSearchActions as Tr, FilterSearchAppliedFilters as Er, FilterSearchFilters as Dr, useFilterSearchFilters as Or } from "./components/ui/filter-search/filter-search.js";
|
|
58
61
|
import { InputSearch as L } from "./components/ui/input-search/input-search.js";
|
|
59
|
-
import { DataTableToolbar as
|
|
60
|
-
import { InputDatePicker as
|
|
61
|
-
import { DateRangePicker as
|
|
62
|
-
import { DescriptionList as
|
|
63
|
-
import { InputBox as
|
|
62
|
+
import { DataTableToolbar as R } from "./components/ui/data-table/data-table-toolbar.js";
|
|
63
|
+
import { InputDatePicker as kr } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
64
|
+
import { DateRangePicker as Ar } from "./components/ui/date-range-picker/date-range-picker.js";
|
|
65
|
+
import { DescriptionList as jr, DescriptionListActions as Mr, DescriptionListItem as Nr, DescriptionListLabel as Pr, DescriptionListValue as Fr, DescriptionListValueDescription as Ir } from "./components/ui/description-list/description-list.js";
|
|
66
|
+
import { InputBox as Lr } from "./components/ui/input/input.js";
|
|
64
67
|
import { InputText as z } from "./components/ui/input-text/input-text.js";
|
|
65
|
-
import { Loading as
|
|
66
|
-
import { Dialog as
|
|
67
|
-
import { DialogFooterCarousel as
|
|
68
|
-
import { DialogWelcome as
|
|
69
|
-
import { Empty as
|
|
70
|
-
import { EmptyOverlay as
|
|
71
|
-
import { labelClassName as
|
|
72
|
-
import { Separator as
|
|
73
|
-
import { Field as
|
|
74
|
-
import { FittedActions as
|
|
75
|
-
import { FilterCards as
|
|
76
|
-
import { FUNNEL_CHART_DEFAULT_PALETTE as
|
|
77
|
-
import { Grid as
|
|
78
|
-
import { Histogram as
|
|
79
|
-
import { Form as
|
|
80
|
-
import { RadarChart as
|
|
81
|
-
import { RadialBarChart as
|
|
82
|
-
import { Radio as
|
|
83
|
-
import { InputNumPicker as
|
|
84
|
-
import { InputOTP as
|
|
85
|
-
import { InputPassword as
|
|
68
|
+
import { Loading as Rr, loadingVariants as zr } from "./components/ui/loading/loading.js";
|
|
69
|
+
import { Dialog as Br, DialogClose as Vr } from "./components/ui/dialog/dialog.js";
|
|
70
|
+
import { DialogFooterCarousel as Hr } from "./components/ui/dialog-footer-carousel/dialog-footer-carousel.js";
|
|
71
|
+
import { DialogWelcome as Ur } from "./components/ui/dialog-welcome/dialog-welcome.js";
|
|
72
|
+
import { Empty as Wr, EmptyActions as Gr, EmptyDescription as Kr, EmptyHeader as qr, EmptyIcon as Jr, EmptyLinks as Yr, EmptyTitle as Xr } from "./components/ui/empty/empty.js";
|
|
73
|
+
import { EmptyOverlay as Zr, emptyOverlayIconVariants as Qr } from "./components/ui/empty-overlay/empty-overlay.js";
|
|
74
|
+
import { labelClassName as $r } from "./components/ui/label/label.js";
|
|
75
|
+
import { Separator as ei } from "./components/ui/separator/separator.js";
|
|
76
|
+
import { Field as ti, FieldContent as ni, FieldControl as ri, FieldDescription as ii, FieldError as ai, FieldGroup as oi, FieldLabel as si, FieldLegend as ci, FieldSeparator as li, FieldSet as ui, FieldTitle as di } from "./components/ui/field/field.js";
|
|
77
|
+
import { FittedActions as fi, computeFittedVisibleCount as pi } from "./components/ui/fitted-actions/fitted-actions.js";
|
|
78
|
+
import { FilterCards as mi } from "./components/ui/filter-cards/filter-cards.js";
|
|
79
|
+
import { FUNNEL_CHART_DEFAULT_PALETTE as hi, FunnelChart as gi, funnelChartPercent as _i, funnelChartVariants as vi } from "./components/ui/funnel-chart/funnel-chart.js";
|
|
80
|
+
import { Grid as yi, gridVariants as bi } from "./components/ui/grid/grid.js";
|
|
81
|
+
import { Histogram as xi } from "./components/ui/histogram/histogram.js";
|
|
82
|
+
import { Form as Si } from "./components/ui/form/form.js";
|
|
83
|
+
import { RadarChart as Ci, radarChartVariants as wi } from "./components/ui/radar-chart/radar-chart.js";
|
|
84
|
+
import { RadialBarChart as Ti } from "./components/ui/radial-bar-chart/radial-bar-chart.js";
|
|
85
|
+
import { Radio as Ei, RadioGroup as Di } from "./components/ui/radio/radio.js";
|
|
86
|
+
import { InputNumPicker as Oi } from "./components/ui/input-num-picker/input-num-picker.js";
|
|
87
|
+
import { InputOTP as ki } from "./components/ui/input-otp/input-otp.js";
|
|
88
|
+
import { InputPassword as Ai } from "./components/ui/input-password/input-password.js";
|
|
86
89
|
import { InputTextArea as B } from "./components/ui/input-text-area/input-text-area.js";
|
|
87
|
-
import { LineChart as
|
|
88
|
-
import { Link as
|
|
89
|
-
import { Skeleton as
|
|
90
|
-
import { TrendIndicator as
|
|
91
|
-
import { Metric as
|
|
92
|
-
import { NumberField as
|
|
93
|
-
import { PageContent as
|
|
94
|
-
import { Tag as V, tagVariants as
|
|
95
|
-
import { PageHeader as
|
|
96
|
-
import { Pagination as
|
|
97
|
-
import { PieChart as
|
|
98
|
-
import { Progress as
|
|
99
|
-
import { ProgressCircle as
|
|
100
|
-
import { SankeyChart as
|
|
101
|
-
import { ScatterChart as
|
|
102
|
-
import { ScrollArea as
|
|
103
|
-
import { Section as
|
|
104
|
-
import { SegmentControl as
|
|
105
|
-
import { Sheet as H, SheetBody as U, SheetClose as W, SheetCloseButton as G, SheetContent as K, SheetDescription as q, SheetFooter as J, SheetHeader as Y, SheetOverlay as X, SheetPortal as Z, SheetTitle as Q, SheetTrigger as $, sheetVariants as
|
|
106
|
-
import { SheetDetails as
|
|
107
|
-
import { Slider as
|
|
108
|
-
import { Stack as
|
|
109
|
-
import { Stepper as
|
|
110
|
-
import { StepperItem as
|
|
111
|
-
import { ResizableHandle as
|
|
112
|
-
import { SidebarPrimary as
|
|
113
|
-
import { SidebarSecondary as
|
|
114
|
-
import { ButtonIconMenu as
|
|
115
|
-
import { Tabs as
|
|
116
|
-
import { Toaster as
|
|
117
|
-
import { Toggle as
|
|
118
|
-
import { Toolbar as
|
|
119
|
-
import { middleTruncate as po } from "./components/ui/truncate-text/middle-truncate.js";
|
|
120
|
-
import { measureTextWidth as mo } from "./components/ui/truncate-text/text-width.js";
|
|
121
|
-
import { TruncateText as ho } from "./components/ui/truncate-text/truncate-text.js";
|
|
90
|
+
import { LineChart as ji, lineChartVariants as Mi } from "./components/ui/line-chart/line-chart.js";
|
|
91
|
+
import { Link as Ni, linkVariants as Pi } from "./components/ui/link/link.js";
|
|
92
|
+
import { Skeleton as Fi } from "./components/ui/skeleton/skeleton.js";
|
|
93
|
+
import { TrendIndicator as Ii, trendIndicatorVariants as Li } from "./components/ui/trend-indicator/trend-indicator.js";
|
|
94
|
+
import { Metric as Ri } from "./components/ui/metric/metric.js";
|
|
95
|
+
import { NumberField as zi, NumberFieldDecrement as Bi, NumberFieldGroup as Vi, NumberFieldIncrement as Hi, NumberFieldInput as Ui } from "./components/ui/number-field/number-field.js";
|
|
96
|
+
import { PageContent as Wi } from "./components/ui/page-content/page-content.js";
|
|
97
|
+
import { Tag as V, tagVariants as Gi } from "./components/ui/tag/tag.js";
|
|
98
|
+
import { PageHeader as Ki, PageHeaderActions as qi, PageHeaderDescription as Ji, PageHeaderDescriptionRow as Yi, PageHeaderRow as Xi, PageHeaderTags as Zi, PageHeaderTitle as Qi } from "./components/ui/page-header/page-header.js";
|
|
99
|
+
import { Pagination as $i, PaginationContent as ea, PaginationEllipsis as ta, PaginationItem as na, PaginationLink as ra, PaginationNext as ia, PaginationPrevious as aa } from "./components/ui/pagination/pagination.js";
|
|
100
|
+
import { PieChart as oa, pieChartVariants as sa } from "./components/ui/pie-chart/pie-chart.js";
|
|
101
|
+
import { Progress as ca } from "./components/ui/progress/progress.js";
|
|
102
|
+
import { ProgressCircle as la, progressCircleVariants as ua } from "./components/ui/progress-circle/progress-circle.js";
|
|
103
|
+
import { SankeyChart as da } from "./components/ui/sankey-chart/sankey-chart.js";
|
|
104
|
+
import { ScatterChart as fa } from "./components/ui/scatter-chart/scatter-chart.js";
|
|
105
|
+
import { ScrollArea as pa, ScrollBar as ma } from "./components/ui/scroll-area/scroll-area.js";
|
|
106
|
+
import { Section as ha, SectionContent as ga, SectionHeader as _a, sectionVariants as va, useSectionContext as ya } from "./components/ui/section/section.js";
|
|
107
|
+
import { SegmentControl as ba, SegmentControlItem as xa, segmentControlVariants as Sa } from "./components/ui/segment-control/segment-control.js";
|
|
108
|
+
import { Sheet as H, SheetBody as U, SheetClose as W, SheetCloseButton as G, SheetContent as K, SheetDescription as q, SheetFooter as J, SheetHeader as Y, SheetOverlay as X, SheetPortal as Z, SheetTitle as Q, SheetTrigger as $, sheetVariants as Ca } from "./components/ui/sheet/sheet.js";
|
|
109
|
+
import { SheetDetails as wa } from "./components/ui/sheet/sheet-details.js";
|
|
110
|
+
import { Slider as Ta } from "./components/ui/slider/slider.js";
|
|
111
|
+
import { Stack as Ea, stackVariants as Da } from "./components/ui/stack/stack.js";
|
|
112
|
+
import { Stepper as Oa } from "./components/ui/stepper/stepper.js";
|
|
113
|
+
import { StepperItem as ka, stepperItemVariants as Aa } from "./components/ui/stepper-item/stepper-item.js";
|
|
114
|
+
import { ResizableHandle as ja, ResizablePanel as Ma, ResizablePanelGroup as Na } from "./components/ui/resizable/resizable.js";
|
|
115
|
+
import { SidebarPrimary as Pa, SidebarPrimaryCollapseTrigger as Fa, SidebarPrimaryContent as Ia, SidebarPrimaryFooter as La, SidebarPrimaryHeader as Ra, SidebarPrimaryMenu as za, SidebarPrimaryMenuItem as Ba, SidebarPrimaryMenuItemExtras as Va, SidebarPrimarySection as Ha, sidebarPrimaryMenuItemVariants as Ua } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
116
|
+
import { SidebarSecondary as Wa, SidebarSecondaryCollapseTrigger as Ga, SidebarSecondaryContent as Ka, SidebarSecondaryFooter as qa, SidebarSecondaryHeader as Ja, SidebarSecondaryMenu as Ya, SidebarSecondaryMenuItem as Xa, SidebarSecondaryMenuItemExtras as Za, SidebarSecondarySection as Qa, SidebarSecondarySectionLabel as $a, sidebarSecondaryMenuItemVariants as eo } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
117
|
+
import { ButtonIconMenu as to } from "./components/ui/button-icon-menu/button-icon-menu.js";
|
|
118
|
+
import { Tabs as no, TabsContent as ro, TabsList as io, TabsTrigger as ao } from "./components/ui/tabs/tabs.js";
|
|
119
|
+
import { Toaster as oo, toast as so, toastVariants as co } from "./components/ui/toast/toast.js";
|
|
120
|
+
import { Toggle as lo, ToggleGroup as uo, ToggleGroupItem as fo } from "./components/ui/toggle-group/toggle-group.js";
|
|
121
|
+
import { Toolbar as po, ToolbarActionList as mo, ToolbarActions as ho } from "./components/ui/toolbar/toolbar.js";
|
|
122
122
|
import { Timeline as go, TimelineItem as _o } from "./components/ui/timeline/timeline.js";
|
|
123
123
|
import { Timer as vo } from "./components/ui/timer/timer.js";
|
|
124
124
|
import { TreeItem as yo } from "./components/ui/tree-item/tree-item.js";
|
|
125
125
|
import { Treemap as bo } from "./components/ui/treemap/treemap.js";
|
|
126
126
|
import { WidgetPlaceholder as xo, WidgetPlaceholderAction as So, WidgetPlaceholderContent as Co, WidgetPlaceholderFooter as wo, WidgetPlaceholderHeader as To, WidgetPlaceholderIcon as Eo, WidgetPlaceholderImage as Do, WidgetPlaceholderText as Oo, WidgetPlaceholderTitle as ko } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
127
127
|
import { Wizard as Ao, WizardBody as jo, WizardHeader as Mo, WizardSubtitle as No } from "./components/ui/wizard/wizard.js";
|
|
128
|
-
export { _e as Accordion, xe as AccordionContainer, Se as AccordionContainerContent, Ce as AccordionContainerTrigger, ve as AccordionContent, ye as AccordionItem, be as AccordionTrigger, n as Alert, r as AlertActions, i as AlertClose, a as AlertContent, o as AlertDescription, s as AlertIcon, c as AlertText, l as AlertTitle, h as AppShellChat, g as AppShellChatChat, _ as AppShellChatChatBody, v as AppShellChatChatHeader, y as AppShellChatContent, b as AppShellChatContentBody, x as AppShellChatContentHeader, S as AppShellChatSidebar,
|
|
128
|
+
export { _e as Accordion, xe as AccordionContainer, Se as AccordionContainerContent, Ce as AccordionContainerTrigger, ve as AccordionContent, ye as AccordionItem, be as AccordionTrigger, n as Alert, r as AlertActions, i as AlertClose, a as AlertContent, o as AlertDescription, s as AlertIcon, c as AlertText, l as AlertTitle, h as AppShellChat, g as AppShellChatChat, _ as AppShellChatChatBody, v as AppShellChatChatHeader, y as AppShellChatContent, b as AppShellChatContentBody, x as AppShellChatContentHeader, S as AppShellChatSidebar, dt as AreaChart, pt as Avatar, mt as AvatarFallback, ht as AvatarGroup, gt as AvatarImage, ce as BREAKPOINT_2XL, le as BREAKPOINT_3XL, ue as BREAKPOINT_4XL, de as BREAKPOINT_LG, fe as BREAKPOINT_XL, V as Badge, vt as BarChart, bt as Breadcrumb, xt as BreadcrumbEllipsis, St as BreadcrumbItem, Ct as BreadcrumbLink, wt as BreadcrumbList, Tt as BreadcrumbPage, Et as BreadcrumbSeparator, Dt as Button, kt as ButtonGroup, At as ButtonGroupItem, e as ButtonIcon, Xt as ButtonIconInput, to as ButtonIconMenu, Nt as ButtonMenu, Be as CHART_BRUSH_ARIA_LABEL, Ve as CHART_BRUSH_HEIGHT, O as CHART_CATEGORICAL_TOKENS, k as CHART_DEFAULT_PALETTE, Te as CHART_DIVERGING_TOKENS, He as CHART_LABEL_FILL_CLASS, Ue as CHART_LABEL_FILL_ON_SERIES_CLASS, We as CHART_LABEL_FONT_SIZE, Ge as CHART_LABEL_MARGIN, Ke as CHART_REFERENCE_LINE_STROKE, Ee as CHART_SEQUENTIAL_TOKENS, pn as CHART_STATE_ILLUSTRATIONS, De as CHART_STATUS_TOKENS, Ft as Calendar, It as CalendarDayButton, qt as CalendarHeader, Jt as CalendarItem, Yt as CalendarPanel, $t as Card, en as CardContent, an as CardFilter, tn as CardFooter, nn as CardHeader, sn as CardSection, un as CardWidget, ln as CardWidgetCarousel, dn as CategoryBar, Me as ChartContainer, Ne as ChartLegend, Pe as ChartLegendContent, mn as ChartState, Fe as ChartStyle, Ie as ChartTooltip, Le as ChartTooltipContent, hn as ChartWidget, gn as Checkbox, _n as Chip, yn as Combobox, bn as ComboboxContent, xn as ComboboxEmpty, Sn as ComboboxGroup, Cn as ComboboxGroupLabel, wn as ComboboxInput, Tn as ComboboxItem, En as ComboboxList, Dn as ComposedChart, kn as ConfidenceCone, re as DEFAULT_TABLE_URL_PARAM_KEYS, or as DataTable, dr as DataTableBulkActionsBar, fr as DataTableColumnHeader, pr as DataTableExpandTrigger, mr as DataTablePagination, R as DataTableToolbar, ar as DataTableViewOptions, Ar as DateRangePicker, jr as DescriptionList, Mr as DescriptionListActions, Nr as DescriptionListItem, Pr as DescriptionListLabel, Fr as DescriptionListValue, Ir as DescriptionListValueDescription, H as Details, U as DetailsBody, W as DetailsClose, G as DetailsCloseButton, K as DetailsContent, q as DetailsDescription, J as DetailsFooter, Y as DetailsHeader, X as DetailsOverlay, Z as DetailsPortal, Q as DetailsTitle, $ as DetailsTrigger, Br as Dialog, Vr as DialogClose, Hr as DialogFooterCarousel, Lt as DialogFooterDefault, Ur as DialogWelcome, An as DropdownMenu, jn as DropdownMenuCheckboxItem, Mn as DropdownMenuContent, Nn as DropdownMenuGroup, Pn as DropdownMenuItem, Fn as DropdownMenuLabel, In as DropdownMenuPortal, Ln as DropdownMenuRadioGroup, Rn as DropdownMenuRadioItem, zn as DropdownMenuSeparator, Bn as DropdownMenuShortcut, Vn as DropdownMenuSub, Hn as DropdownMenuSubContent, Un as DropdownMenuSubTrigger, Wn as DropdownMenuTrigger, Wr as Empty, Gr as EmptyActions, Kr as EmptyDescription, qr as EmptyHeader, Jr as EmptyIcon, Yr as EmptyLinks, Zr as EmptyOverlay, Xr as EmptyTitle, hi as FUNNEL_CHART_DEFAULT_PALETTE, ti as Field, ni as FieldContent, ri as FieldControl, ii as FieldDescription, ai as FieldError, oi as FieldGroup, si as FieldLabel, ci as FieldLegend, li as FieldSeparator, ui as FieldSet, di as FieldTitle, mi as FilterCards, hr as FilterChips, gr as FilterChipsList, _r as FilterChipsReset, wr as FilterSearch, Tr as FilterSearchActions, Er as FilterSearchAppliedFilters, Dr as FilterSearchFilters, fi as FittedActions, Si as Form, gi as FunnelChart, yi as Grid, xi as Histogram, z as Input, Lr as InputBox, kr as InputDatePicker, Oi as InputNumPicker, ki as InputOTP, Ai as InputPassword, L as InputSearch, A as InputSelect, j as InputSelectContent, Rt as InputSelectDescription, zt as InputSelectError, Bt as InputSelectExpander, Vt as InputSelectField, Ht as InputSelectGroup, M as InputSelectItem, Ut as InputSelectLabel, Wt as InputSelectSearch, N as InputSelectSection, P as InputSelectSectionLabel, Gt as InputSelectStatus, F as InputSelectTrigger, I as InputSelectValue, z as InputText, B as InputTextArea, ji as LineChart, Ni as Link, Rr as Loading, Ri as Metric, zi as NumberField, Bi as NumberFieldDecrement, Vi as NumberFieldGroup, Hi as NumberFieldIncrement, Ui as NumberFieldInput, Wi as PageContent, Ki as PageHeader, qi as PageHeaderActions, Ji as PageHeaderDescription, Yi as PageHeaderDescriptionRow, Xi as PageHeaderRow, Zi as PageHeaderTags, Qi as PageHeaderTitle, $i as Pagination, ea as PaginationContent, ta as PaginationEllipsis, na as PaginationItem, ra as PaginationLink, ia as PaginationNext, aa as PaginationPrevious, oa as PieChart, vr as Popover, yr as PopoverBody, br as PopoverContent, xr as PopoverFooter, Sr as PopoverPortal, Cr as PopoverTrigger, he as PortalContainerProvider, ca as Progress, la as ProgressCircle, pe as ROOT_FONT_SIZE_PX, Ci as RadarChart, Ti as RadialBarChart, Ei as Radio, Di as RadioGroup, ja as ResizableHandle, Ma as ResizablePanel, Na as ResizablePanelGroup, da as SankeyChart, fa as ScatterChart, pa as ScrollArea, ma as ScrollBar, L as Search, ha as Section, ga as SectionContent, _a as SectionHeader, ba as SegmentControl, xa as SegmentControlItem, A as Select, j as SelectContent, N as SelectGroup, P as SelectGroupLabel, M as SelectItem, F as SelectTrigger, I as SelectValue, ei as Separator, H as Sheet, U as SheetBody, W as SheetClose, G as SheetCloseButton, K as SheetContent, q as SheetDescription, wa as SheetDetails, J as SheetFooter, Y as SheetHeader, X as SheetOverlay, Z as SheetPortal, Q as SheetTitle, $ as SheetTrigger, Pa as SidebarPrimary, Fa as SidebarPrimaryCollapseTrigger, Ia as SidebarPrimaryContent, La as SidebarPrimaryFooter, Ra as SidebarPrimaryHeader, za as SidebarPrimaryMenu, Ba as SidebarPrimaryMenuItem, Va as SidebarPrimaryMenuItemExtras, Ha as SidebarPrimarySection, Wa as SidebarSecondary, Ga as SidebarSecondaryCollapseTrigger, Ka as SidebarSecondaryContent, qa as SidebarSecondaryFooter, Ja as SidebarSecondaryHeader, Ya as SidebarSecondaryMenu, Xa as SidebarSecondaryMenuItem, Za as SidebarSecondaryMenuItemExtras, Qa as SidebarSecondarySection, $a as SidebarSecondarySectionLabel, Fi as Skeleton, Ta as Slider, Ea as Stack, Oa as Stepper, ka as StepperItem, Qt as Switch, Gn as Table, Kn as TableActionsCell, qn as TableBody, Jn as TableCaption, Yn as TableCell, Xn as TableFooter, Zn as TableHead, Qn as TableHeader, nr as TablePagination, $n as TableRow, er as TableSelectCell, tr as TableSettingsCell, rr as TableViewOptions, no as Tabs, ro as TabsContent, io as TabsList, ao as TabsTrigger, V as Tag, B as Textarea, go as Timeline, _o as TimelineItem, vo as Timer, oo as Toaster, lo as Toggle, uo as ToggleGroup, fo as ToggleGroupItem, po as Toolbar, mo as ToolbarActionList, ho as ToolbarActions, d as Tooltip, f as TooltipContent, p as TooltipProvider, m as TooltipTrigger, yo as TreeItem, bo as Treemap, Ii as TrendIndicator, D as TruncateText, xo as WidgetPlaceholder, So as WidgetPlaceholderAction, Co as WidgetPlaceholderContent, wo as WidgetPlaceholderFooter, To as WidgetPlaceholderHeader, Eo as WidgetPlaceholderIcon, Do as WidgetPlaceholderImage, Oo as WidgetPlaceholderText, ko as WidgetPlaceholderTitle, Ao as Wizard, jo as WizardBody, Mo as WizardHeader, No as WizardSubtitle, u as alertVariants, ft as areaChartVariants, _t as avatarVariants, yt as barChartVariants, jt as buttonGroupItemVariants, Mt as buttonGroupVariants, Zt as buttonIconInputVariants, t as buttonIconVariants, Pt as buttonMenuVariants, Ot as buttonVariants, on as cardFilterVariants, cn as cardSectionVariants, rn as cardVariants, fn as categoryBarVariants, vn as chipVariants, ee as cn, On as composedChartVariants, pi as computeFittedVisibleCount, qe as createTickFormatter, Je as dropProjectionPayload, Qr as emptyOverlayIconVariants, Oe as findDuplicateTones, Ye as formatCompactNumber, Xe as formatPercent, _i as funnelChartPercent, vi as funnelChartVariants, C as getAppShellChatInitialLayout, sr as getCellStyle, cr as getColumnWidth, lr as getPinnedStyle, me as getViewportWidth, bi as gridVariants, ir as isBulkSelectionActive, $r as labelClassName, Mi as lineChartVariants, Pi as linkVariants, ke as listPaletteChoices, Ae as listPaletteStops, zr as loadingVariants, E as measureTextWidth, T as middleTruncate, ie as parseTableUrlState, sa as pieChartVariants, ua as progressCircleVariants, wi as radarChartVariants, ur as reorderColumn, Ze as resolveAnimation, Qe as resolveAxisDomain, $e as resolveBrushProps, et as resolveCartesianLabelPosition, tt as resolveCategoryRange, Re as resolveChartColors, nt as resolveChartReferenceValue, rt as resolveLabelFillClass, it as resolveReferenceLineProps, at as resolveRotatedTickAnchor, je as resolveSeriesColor, ot as resolveXAxisHeight, st as resolveXAxisTitle, ct as resolveYAxisTitle, va as sectionVariants, Sa as segmentControlVariants, ae as serializeTableUrlState, Ca as sheetVariants, Ua as sidebarPrimaryMenuItemVariants, eo as sidebarSecondaryMenuItemVariants, Da as stackVariants, Aa as stepperItemVariants, Gi as tagVariants, ze as toCssKey, lt as toLabelFormatter, ut as toReferenceLineList, so as toast, co as toastVariants, Li as trendIndicatorVariants, we as useAccordionContainerContext, w as useAppShellChatInitialLayout, Or as useFilterSearchFilters, Kt as useInputSelectFilter, ne as useIntersectionObserver, ge as usePortalContainer, ya as useSectionContext, te as useSortState, oe as useTableUrlState, se as useWizard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ChartConfig, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCurveType, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition } from '../chart';
|
|
2
|
+
import { ChartConfig, ChartLegendFontSize, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCurveType, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const areaChartVariants: (props?: ({
|
|
5
5
|
layout?: "single" | "stacked" | null | undefined;
|
|
@@ -92,6 +92,11 @@ export interface AreaChartProps extends Omit<React.ComponentProps<'div'>, 'child
|
|
|
92
92
|
*/
|
|
93
93
|
projectionStart?: string | number;
|
|
94
94
|
showLegend?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Font size of the legend text. Defaults to `'xs'` — the size the legend has
|
|
97
|
+
* always rendered at. See `ChartLegendFontSize`.
|
|
98
|
+
*/
|
|
99
|
+
legendFontSize?: ChartLegendFontSize;
|
|
95
100
|
/** Position of the value labels when `showLabels` is on. Defaults to `top`. */
|
|
96
101
|
labelPosition?: CartesianLabelPosition;
|
|
97
102
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { BarShapeProps } from 'recharts/types/cartesian/Bar';
|
|
3
|
-
import { ChartLegend, ChartTooltip, ChartConfig, ChartPalette, ChartStatusTone, ChartReferenceLine, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCategoryRange, ChartDataLabelProps, CartesianLabelPosition } from '../chart';
|
|
3
|
+
import { ChartLegend, ChartTooltip, ChartConfig, ChartLegendFontSize, ChartPalette, ChartStatusTone, ChartReferenceLine, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCategoryRange, ChartDataLabelProps, CartesianLabelPosition } from '../chart';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
declare const barChartVariants: (props?: ({
|
|
6
6
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -99,8 +99,9 @@ export declare function NormalizedTooltipContent({ content, dataKeys, ...props }
|
|
|
99
99
|
* in `dataKeys` order the legend would silently reorder itself depending on
|
|
100
100
|
* which bar-styling props happen to be set.
|
|
101
101
|
*/
|
|
102
|
-
export declare function NormalizedLegendContent({ dataKeys, ...props }: Partial<LegendRenderProps> & {
|
|
102
|
+
export declare function NormalizedLegendContent({ dataKeys, fontSize, ...props }: Partial<LegendRenderProps> & {
|
|
103
103
|
dataKeys: string[];
|
|
104
|
+
fontSize?: ChartLegendFontSize;
|
|
104
105
|
}): import("react/jsx-runtime").JSX.Element;
|
|
105
106
|
/** Paint overrides recharts spreads over a bar to mark it as the active one. */
|
|
106
107
|
interface BarPaintOverride {
|
|
@@ -191,6 +192,11 @@ export interface BarChartVerticalProps extends Omit<React.ComponentProps<'div'>,
|
|
|
191
192
|
opacity?: number;
|
|
192
193
|
};
|
|
193
194
|
showLegend?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Font size of the legend text. Defaults to `'xs'` — the size the legend has
|
|
197
|
+
* always rendered at. See `ChartLegendFontSize`.
|
|
198
|
+
*/
|
|
199
|
+
legendFontSize?: ChartLegendFontSize;
|
|
194
200
|
/**
|
|
195
201
|
* Position of the value labels when `showLabels` is on. Defaults to the bar's
|
|
196
202
|
* growing end (`top`), or the segment centre when the layout is stacked.
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { ChartConfig, ChartPalette } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const categoryBarVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
5
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface CategoryBarSegment {
|
|
8
8
|
/** Key into `config` for this segment's label + color. */
|
|
@@ -46,3 +46,19 @@ export declare const paletteArgTypes: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
+
export declare const legendFontSizeArgTypes: {
|
|
50
|
+
legendFontSize: {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
control: {
|
|
54
|
+
type: "select";
|
|
55
|
+
};
|
|
56
|
+
options: string[];
|
|
57
|
+
table: {
|
|
58
|
+
category: string;
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -51,12 +51,23 @@ export type ChartTooltipContentProps = Partial<TooltipContentProps<ValueType, Na
|
|
|
51
51
|
labelClassName?: string;
|
|
52
52
|
color?: string;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* The legend text-size scale. `xs` is the size the legend has always rendered
|
|
56
|
+
* at; the rest of the steps follow Tailwind's `text-*` scale.
|
|
57
|
+
*/
|
|
58
|
+
export type ChartLegendFontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl';
|
|
54
59
|
export type ChartLegendContentProps = {
|
|
55
60
|
className?: string;
|
|
56
61
|
hideIcon?: boolean;
|
|
57
62
|
verticalAlign?: LegendProps['verticalAlign'];
|
|
58
63
|
payload?: LegendPayload[];
|
|
59
64
|
nameKey?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Font size of the legend text — labels, and the right-hand values of the
|
|
67
|
+
* `list` variant. Defaults to `'xs'`, the size the legend has always
|
|
68
|
+
* rendered at.
|
|
69
|
+
*/
|
|
70
|
+
fontSize?: ChartLegendFontSize;
|
|
60
71
|
/**
|
|
61
72
|
* The series config the entries take their labels and icons from. Defaults to
|
|
62
73
|
* the enclosing `ChartContainer`'s — pass it only to render the legend *outside*
|
|
@@ -118,5 +129,5 @@ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
|
118
129
|
export type ChartTooltipContentType = React.ComponentProps<typeof ChartTooltip>['content'];
|
|
119
130
|
declare function ChartTooltipContent({ active, payload, label, className, hideLabel, hideIndicator, labelFormatter, formatter, labelClassName, color, nameKey, labelKey, }: ChartTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
120
131
|
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
121
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, config: configFromProps, variant, valueKey, valueFormatter, valueClassName, }: ChartLegendContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
132
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, config: configFromProps, variant, fontSize, valueKey, valueFormatter, valueClassName, }: ChartLegendContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
122
133
|
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, resolveChartColors, toCssKey, } from './chart';
|
|
2
|
-
export type { ChartConfig, ResolvedChartConfig, ChartContainerProps, ChartTooltipContentProps, ChartLegendContentProps, ChartTooltipContentType, } from './chart';
|
|
2
|
+
export type { ChartConfig, ResolvedChartConfig, ChartContainerProps, ChartTooltipContentProps, ChartLegendContentProps, ChartLegendFontSize, ChartTooltipContentType, } from './chart';
|
|
3
3
|
export { CHART_CATEGORICAL_TOKENS, CHART_SEQUENTIAL_TOKENS, CHART_DIVERGING_TOKENS, CHART_STATUS_TOKENS, CHART_DEFAULT_PALETTE, listPaletteStops, listPaletteChoices, resolveSeriesColor, findDuplicateTones, } from './chart-palette';
|
|
4
4
|
export type { ChartPalette, ChartSeriesTone, ChartSequentialRamp, ChartDivergingPair, ChartDivergingSide, ChartStatusTone, ResolveSeriesColorOptions, } from './chart-palette';
|
|
5
5
|
export { formatCompactNumber, formatPercent, createTickFormatter, resolveAxisDomain, resolveRotatedTickAnchor, resolveXAxisHeight, resolveXAxisTitle, resolveYAxisTitle, resolveCategoryRange, resolveAnimation, toLabelFormatter, resolveLabelFillClass, resolveCartesianLabelPosition, resolveBrushProps, resolveChartReferenceValue, resolveReferenceLineProps, toReferenceLineList, CHART_REFERENCE_LINE_STROKE, CHART_LABEL_MARGIN, CHART_LABEL_FILL_CLASS, CHART_LABEL_FILL_ON_SERIES_CLASS, CHART_LABEL_FONT_SIZE, CHART_BRUSH_HEIGHT, CHART_BRUSH_ARIA_LABEL, dropProjectionPayload, } from './chart-format';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ChartConfig, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCategoryRange, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition, ChartYAxisTarget, SecondaryYAxisProps } from '../chart';
|
|
2
|
+
import { ChartConfig, ChartLegendFontSize, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCategoryRange, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition, ChartYAxisTarget, SecondaryYAxisProps } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const composedChartVariants: (props?: ({
|
|
5
5
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -176,6 +176,11 @@ export interface ComposedChartProps extends Omit<React.ComponentProps<'div'>, 'c
|
|
|
176
176
|
showLegend?: boolean;
|
|
177
177
|
/** Which edge the legend sits on. Defaults to `bottom`. */
|
|
178
178
|
legendPosition?: 'top' | 'bottom';
|
|
179
|
+
/**
|
|
180
|
+
* Font size of the legend text. Defaults to `'xs'` — the size the legend has
|
|
181
|
+
* always rendered at. See `ChartLegendFontSize`.
|
|
182
|
+
*/
|
|
183
|
+
legendFontSize?: ChartLegendFontSize;
|
|
179
184
|
/**
|
|
180
185
|
* Position of the value labels when `showLabels` is on. Defaults to each
|
|
181
186
|
* series' growing end — `top` (or `right` when horizontal), and the centre of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartTooltip, ChartConfig, ChartPalette, CartesianChartProps, ChartAnimationProps } from '../chart';
|
|
1
|
+
import { ChartTooltip, ChartConfig, ChartLegendFontSize, ChartPalette, CartesianChartProps, ChartAnimationProps } from '../chart';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Drop every synthetic cone-band range series from a recharts tooltip/legend
|
|
@@ -161,6 +161,11 @@ export interface ConfidenceConeBaseProps extends Omit<React.ComponentProps<'div'
|
|
|
161
161
|
*/
|
|
162
162
|
showForecastRegion?: boolean;
|
|
163
163
|
showLegend?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Font size of the legend text. Defaults to `'xs'` — the size the legend has
|
|
166
|
+
* always rendered at. See `ChartLegendFontSize`.
|
|
167
|
+
*/
|
|
168
|
+
legendFontSize?: ChartLegendFontSize;
|
|
164
169
|
}
|
|
165
170
|
/**
|
|
166
171
|
* Which columns to plot has to be spelled out one way or the other: the `series`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ChartTooltip, ChartAnimationProps, ChartConfig, ChartPalette, TickFormatter } from '../chart';
|
|
2
|
+
import { ChartTooltip, ChartAnimationProps, ChartConfig, ChartLegendFontSize, ChartPalette, TickFormatter } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const funnelChartVariants: (props?: ({
|
|
5
5
|
lastShape?: "triangle" | "rectangle" | null | undefined;
|
|
@@ -267,6 +267,11 @@ export interface FunnelChartProps extends Omit<React.ComponentProps<'div'>, 'chi
|
|
|
267
267
|
* carries no on-plot labels, so the legend is where the stages are named.
|
|
268
268
|
*/
|
|
269
269
|
showLegend?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Font size of the legend text (stage names and values). Defaults to `'xs'` —
|
|
272
|
+
* the size the legend has always rendered at. See `ChartLegendFontSize`.
|
|
273
|
+
*/
|
|
274
|
+
legendFontSize?: ChartLegendFontSize;
|
|
270
275
|
/** Format the value in each legend row — the stage's `dataKey` number. */
|
|
271
276
|
legendValueFormatter?: (value: string | number) => string;
|
|
272
277
|
/** Per-stage `color` / `hidden` overrides, keyed by the stage's `nameKey` value. */
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const gridVariants: (props?: ({
|
|
4
4
|
cols?: 1 | 2 | 3 | 6 | 4 | 12 | null | undefined;
|
|
5
|
-
gap?: "none" | "sm" | "
|
|
5
|
+
gap?: "none" | "sm" | "lg" | "xl" | "md" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ChartTooltip, ChartConfig, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCurveType, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition } from '../chart';
|
|
2
|
+
import { ChartTooltip, ChartConfig, ChartLegendFontSize, ChartPalette, CartesianChartProps, ChartAnimationProps, ChartBrushProps, ChartCurveType, ChartDataLabelProps, ChartReferenceLine, CartesianLabelPosition } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const lineChartVariants: (props?: ({
|
|
5
5
|
curve?: "step" | "linear" | "monotone" | "natural" | "basis" | "stepBefore" | "stepAfter" | null | undefined;
|
|
@@ -124,6 +124,11 @@ export interface LineChartProps extends Omit<React.ComponentProps<'div'>, 'child
|
|
|
124
124
|
*/
|
|
125
125
|
projectionStart?: string | number;
|
|
126
126
|
showLegend?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Font size of the legend text. Defaults to `'xs'` — the size the legend has
|
|
129
|
+
* always rendered at. See `ChartLegendFontSize`.
|
|
130
|
+
*/
|
|
131
|
+
legendFontSize?: ChartLegendFontSize;
|
|
127
132
|
/** Position of the value labels when `showLabels` is on. Defaults to `top`. */
|
|
128
133
|
labelPosition?: CartesianLabelPosition;
|
|
129
134
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ChartTooltip, ChartConfig, ChartPalette, ChartTooltipContentProps, ChartAnimationProps, ChartDataLabelProps, PolarLabelPosition, TickFormatter } from '../chart';
|
|
2
|
+
import { ChartTooltip, ChartConfig, ChartLegendFontSize, ChartPalette, ChartTooltipContentProps, ChartAnimationProps, ChartDataLabelProps, PolarLabelPosition, TickFormatter } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const pieChartVariants: (props?: ({
|
|
5
5
|
shape?: "donut" | "pie" | null | undefined;
|
|
@@ -142,6 +142,11 @@ export interface PieChartProps extends Omit<React.ComponentProps<'div'>, 'childr
|
|
|
142
142
|
sliceSettings?: Record<string, PieChartSliceSettings>;
|
|
143
143
|
showTooltip?: boolean;
|
|
144
144
|
showLegend?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Font size of the legend text (labels and values). Defaults to `'xs'` —
|
|
147
|
+
* the size the legend has always rendered at. See `ChartLegendFontSize`.
|
|
148
|
+
*/
|
|
149
|
+
legendFontSize?: ChartLegendFontSize;
|
|
145
150
|
/**
|
|
146
151
|
* Format each slice's value in the list legend. When omitted the raw value is
|
|
147
152
|
* stringified with `String()`.
|
|
@@ -25,7 +25,7 @@ declare const SIZES: {
|
|
|
25
25
|
};
|
|
26
26
|
export type ProgressCircleSize = keyof typeof SIZES;
|
|
27
27
|
declare const progressCircleVariants: (props?: ({
|
|
28
|
-
size?: "sm" | "
|
|
28
|
+
size?: "sm" | "lg" | "md" | "tiny" | null | undefined;
|
|
29
29
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
30
30
|
export interface ProgressCircleProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressCircleVariants> {
|
|
31
31
|
/** Current progress; clamped to `[0, max]`. */
|