@acronis-platform/ui-react 0.45.0 → 0.47.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/chart/chart.js +213 -0
- package/dist/components/ui/chart/chart.js.map +1 -0
- package/dist/components/ui/data-table/data-table-column-header.js +30 -42
- package/dist/components/ui/data-table/data-table-column-header.js.map +1 -1
- package/dist/components/ui/progress-circle/progress-circle.js +115 -0
- package/dist/components/ui/progress-circle/progress-circle.js.map +1 -0
- package/dist/index.js +230 -220
- package/dist/index.js.map +1 -1
- package/dist/react.js +230 -220
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/chart/chart.d.ts +55 -0
- package/dist/src/components/ui/chart/index.d.ts +2 -0
- package/dist/src/components/ui/data-table/data-table-column-header.d.ts +2 -2
- package/dist/src/components/ui/progress-circle/index.d.ts +1 -0
- package/dist/src/components/ui/progress-circle/progress-circle.d.ts +47 -0
- package/dist/src/components/ui/progress-circle/progress-circle.docs.d.ts +21 -0
- package/dist/src/components/ui/sheet/sheet.d.ts +1 -1
- package/dist/src/components/ui/tag/tag.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/ui-react.css +1 -1
- package/package.json +2 -1
package/dist/react.js
CHANGED
|
@@ -1,61 +1,63 @@
|
|
|
1
|
-
import { cn as
|
|
1
|
+
import { cn as t } from "./lib/utils.js";
|
|
2
2
|
import { Avatar as a, AvatarFallback as n, AvatarGroup as i, AvatarImage as l, avatarVariants as p } from "./components/ui/avatar/avatar.js";
|
|
3
|
-
import { Tag as
|
|
4
|
-
import { Breadcrumb as m, BreadcrumbEllipsis as b, BreadcrumbItem as g, BreadcrumbLink as D, BreadcrumbList as x, BreadcrumbPage as T, BreadcrumbSeparator as
|
|
5
|
-
import { Button as
|
|
3
|
+
import { Tag as S, Tag as s, tagVariants as c } from "./components/ui/tag/tag.js";
|
|
4
|
+
import { Breadcrumb as m, BreadcrumbEllipsis as b, BreadcrumbItem as g, BreadcrumbLink as D, BreadcrumbList as x, BreadcrumbPage as T, BreadcrumbSeparator as C } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as I, buttonVariants as f } from "./components/ui/button/button.js";
|
|
6
6
|
import { ButtonIcon as P, buttonIconVariants as M } from "./components/ui/button-icon/button-icon.js";
|
|
7
|
-
import { ButtonMenu as L, buttonMenuVariants as
|
|
7
|
+
import { ButtonMenu as L, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
|
|
8
8
|
import { Card as v, CardContent as F, CardDescription as H, CardFooter as E, CardHeader as A, CardTitle as G } from "./components/ui/card/card.js";
|
|
9
9
|
import { CardFilter as R, cardFilterVariants as k } from "./components/ui/card-filter/card-filter.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
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 {
|
|
10
|
+
import { ChartContainer as z, ChartLegend as N, ChartLegendContent as j, ChartStyle as q, ChartTooltip as J, ChartTooltipContent as K } from "./components/ui/chart/chart.js";
|
|
11
|
+
import { Checkbox as U } from "./components/ui/checkbox/checkbox.js";
|
|
12
|
+
import { Chip as Y, chipVariants as Z } from "./components/ui/chip/chip.js";
|
|
13
|
+
import { DataTable as $ } from "./components/ui/data-table/data-table.js";
|
|
14
|
+
import { DataTableColumnHeader as re } from "./components/ui/data-table/data-table-column-header.js";
|
|
15
|
+
import { DataTablePagination as oe } from "./components/ui/data-table/data-table-pagination.js";
|
|
16
|
+
import { DataTableToolbar as ne } from "./components/ui/data-table/data-table-toolbar.js";
|
|
17
|
+
import { DataTableViewOptions as le } from "./components/ui/data-table/data-table-view-options.js";
|
|
18
|
+
import { DescriptionList as de, DescriptionListActions as Se, DescriptionListItem as se, DescriptionListLabel as ce, DescriptionListValue as ue, DescriptionListValueDescription as me } from "./components/ui/description-list/description-list.js";
|
|
19
|
+
import { Sheet as ge, SheetBody as De, SheetClose as xe, SheetCloseButton as Te, SheetContent as Ce, SheetDescription as he, SheetFooter as Ie, SheetHeader as fe, SheetOverlay as ye, SheetPortal as Pe, SheetTitle as Me, SheetTrigger as Be, Sheet as Le, SheetBody as Ve, SheetClose as we, SheetCloseButton as ve, SheetContent as Fe, SheetDescription as He, SheetFooter as Ee, SheetHeader as Ae, SheetOverlay as Ge, SheetPortal as We, SheetTitle as Re, SheetTrigger as ke, sheetVariants as Oe } from "./components/ui/sheet/sheet.js";
|
|
20
|
+
import { Dialog as Ne, DialogBody as je, DialogClose as qe, DialogCloseButton as Je, DialogContent as Ke, DialogDescription as Qe, DialogFooter as Ue, DialogHeader as Xe, DialogOverlay as Ye, DialogPortal as Ze, DialogTitle as _e, DialogTrigger as $e, dialogContentVariants as er } from "./components/ui/dialog/dialog.js";
|
|
21
|
+
import { DropdownMenu as tr, DropdownMenuCheckboxItem as or, DropdownMenuContent as ar, DropdownMenuGroup as nr, DropdownMenuItem as ir, DropdownMenuLabel as lr, DropdownMenuPortal as pr, DropdownMenuRadioGroup as dr, DropdownMenuRadioItem as Sr, DropdownMenuSeparator as sr, DropdownMenuShortcut as cr, DropdownMenuSub as ur, DropdownMenuSubContent as mr, DropdownMenuSubTrigger as br, DropdownMenuTrigger as gr } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
22
|
+
import { Empty as xr, EmptyActions as Tr, EmptyDescription as Cr, EmptyHeader as hr, EmptyIcon as Ir, EmptyLinks as fr, EmptyTitle as yr } from "./components/ui/empty/empty.js";
|
|
23
|
+
import { InputText as Mr, InputText as Br } from "./components/ui/input-text/input-text.js";
|
|
24
|
+
import { InputDatePicker as Vr } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
25
|
+
import { InputSearch as vr, InputSearch as Fr } from "./components/ui/input-search/input-search.js";
|
|
26
|
+
import { InputSelect as Er, InputSelectContent as Ar, InputSelectDescription as Gr, InputSelectError as Wr, InputSelectField as Rr, InputSelectGroup as kr, InputSelectItem as Or, InputSelectLabel as zr, InputSelectSearch as Nr, InputSelectSection as jr, InputSelectSectionLabel as qr, InputSelectStatus as Jr, InputSelectTrigger as Kr, InputSelectValue as Qr, InputSelect as Ur, InputSelectContent as Xr, InputSelectSection as Yr, InputSelectSectionLabel as Zr, InputSelectItem as _r, InputSelectTrigger as $r, InputSelectValue as et } from "./components/ui/input-select/input-select.js";
|
|
27
|
+
import { InputTextArea as tt, InputTextArea as ot } from "./components/ui/input-text-area/input-text-area.js";
|
|
28
|
+
import { Label as nt, labelClassName as it } from "./components/ui/label/label.js";
|
|
29
|
+
import { Link as pt } from "./components/ui/link/link.js";
|
|
30
|
+
import { Popover as St, PopoverContent as st, PopoverPortal as ct, PopoverTrigger as ut } from "./components/ui/popover/popover.js";
|
|
31
|
+
import { Progress as bt } from "./components/ui/progress/progress.js";
|
|
32
|
+
import { ProgressCircle as Dt, progressCircleVariants as xt } from "./components/ui/progress-circle/progress-circle.js";
|
|
33
|
+
import { Radio as Ct, RadioGroup as ht } from "./components/ui/radio/radio.js";
|
|
34
|
+
import { ResizableHandle as ft, ResizablePanel as yt, ResizablePanelGroup as Pt } from "./components/ui/resizable/resizable.js";
|
|
35
|
+
import { SearchGlobal as Bt } from "./components/ui/search-global/search-global.js";
|
|
36
|
+
import { Separator as Vt } from "./components/ui/separator/separator.js";
|
|
37
|
+
import { SheetDetails as vt } from "./components/ui/sheet/sheet-details.js";
|
|
38
|
+
import { SidebarPrimary as Ht, SidebarPrimaryCollapseTrigger as Et, SidebarPrimaryContent as At, SidebarPrimaryFooter as Gt, SidebarPrimaryHeader as Wt, SidebarPrimaryMenu as Rt, SidebarPrimaryMenuItem as kt, SidebarPrimaryMenuItemExtras as Ot, SidebarPrimarySection as zt, sidebarPrimaryMenuItemVariants as Nt } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
39
|
+
import { SidebarSecondary as qt, SidebarSecondaryCollapseTrigger as Jt, SidebarSecondaryCollapsedBreadcrumb as Kt, SidebarSecondaryContent as Qt, SidebarSecondaryFooter as Ut, SidebarSecondaryHeader as Xt, SidebarSecondaryMenu as Yt, SidebarSecondaryMenuItem as Zt, SidebarSecondaryMenuItemExtras as _t, SidebarSecondaryMenuSub as $t, SidebarSecondaryMenuSubContent as eo, SidebarSecondaryMenuSubItem as ro, SidebarSecondaryMenuSubTrigger as to, SidebarSecondarySection as oo, SidebarSecondarySectionLabel as ao, sidebarSecondaryMenuItemVariants as no } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
40
|
+
import { Spinner as lo, spinnerVariants as po } from "./components/ui/spinner/spinner.js";
|
|
41
|
+
import { Switch as so } from "./components/ui/switch/switch.js";
|
|
42
|
+
import { Table as uo, TableBody as mo, TableCaption as bo, TableCell as go, TableFooter as Do, TableHead as xo, TableHeader as To, TableRow as Co } from "./components/ui/table/table.js";
|
|
43
|
+
import { Tabs as Io, TabsContent as fo, TabsList as yo, TabsTrigger as Po } from "./components/ui/tabs/tabs.js";
|
|
44
|
+
import { Toaster as Bo, toast as Lo } from "./components/ui/toast/toast.js";
|
|
45
|
+
import { Tooltip as wo, TooltipContent as vo, TooltipProvider as Fo, TooltipTrigger as Ho } from "./components/ui/tooltip/tooltip.js";
|
|
46
|
+
import { WidgetPlaceholder as Ao, WidgetPlaceholderAction as Go, WidgetPlaceholderContent as Wo, WidgetPlaceholderFooter as Ro, WidgetPlaceholderHeader as ko, WidgetPlaceholderIcon as Oo, WidgetPlaceholderImage as zo, WidgetPlaceholderText as No, WidgetPlaceholderTitle as jo } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
45
47
|
export {
|
|
46
48
|
a as Avatar,
|
|
47
49
|
n as AvatarFallback,
|
|
48
50
|
i as AvatarGroup,
|
|
49
51
|
l as AvatarImage,
|
|
50
|
-
|
|
52
|
+
S as Badge,
|
|
51
53
|
m as Breadcrumb,
|
|
52
54
|
b as BreadcrumbEllipsis,
|
|
53
55
|
g as BreadcrumbItem,
|
|
54
56
|
D as BreadcrumbLink,
|
|
55
57
|
x as BreadcrumbList,
|
|
56
58
|
T as BreadcrumbPage,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
C as BreadcrumbSeparator,
|
|
60
|
+
I as Button,
|
|
59
61
|
P as ButtonIcon,
|
|
60
62
|
L as ButtonMenu,
|
|
61
63
|
v as Card,
|
|
@@ -65,187 +67,195 @@ export {
|
|
|
65
67
|
E as CardFooter,
|
|
66
68
|
A as CardHeader,
|
|
67
69
|
G as CardTitle,
|
|
68
|
-
z as
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
le as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
se as
|
|
84
|
-
ce as
|
|
85
|
-
ue as
|
|
86
|
-
me as
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
we as
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
lo as
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
70
|
+
z as ChartContainer,
|
|
71
|
+
N as ChartLegend,
|
|
72
|
+
j as ChartLegendContent,
|
|
73
|
+
q as ChartStyle,
|
|
74
|
+
J as ChartTooltip,
|
|
75
|
+
K as ChartTooltipContent,
|
|
76
|
+
U as Checkbox,
|
|
77
|
+
Y as Chip,
|
|
78
|
+
$ as DataTable,
|
|
79
|
+
re as DataTableColumnHeader,
|
|
80
|
+
oe as DataTablePagination,
|
|
81
|
+
ne as DataTableToolbar,
|
|
82
|
+
le as DataTableViewOptions,
|
|
83
|
+
de as DescriptionList,
|
|
84
|
+
Se as DescriptionListActions,
|
|
85
|
+
se as DescriptionListItem,
|
|
86
|
+
ce as DescriptionListLabel,
|
|
87
|
+
ue as DescriptionListValue,
|
|
88
|
+
me as DescriptionListValueDescription,
|
|
89
|
+
ge as Details,
|
|
90
|
+
De as DetailsBody,
|
|
91
|
+
xe as DetailsClose,
|
|
92
|
+
Te as DetailsCloseButton,
|
|
93
|
+
Ce as DetailsContent,
|
|
94
|
+
he as DetailsDescription,
|
|
95
|
+
Ie as DetailsFooter,
|
|
96
|
+
fe as DetailsHeader,
|
|
97
|
+
ye as DetailsOverlay,
|
|
98
|
+
Pe as DetailsPortal,
|
|
99
|
+
Me as DetailsTitle,
|
|
100
|
+
Be as DetailsTrigger,
|
|
101
|
+
Ne as Dialog,
|
|
102
|
+
je as DialogBody,
|
|
103
|
+
qe as DialogClose,
|
|
104
|
+
Je as DialogCloseButton,
|
|
105
|
+
Ke as DialogContent,
|
|
106
|
+
Qe as DialogDescription,
|
|
107
|
+
Ue as DialogFooter,
|
|
108
|
+
Xe as DialogHeader,
|
|
109
|
+
Ye as DialogOverlay,
|
|
110
|
+
Ze as DialogPortal,
|
|
111
|
+
_e as DialogTitle,
|
|
112
|
+
$e as DialogTrigger,
|
|
113
|
+
tr as DropdownMenu,
|
|
114
|
+
or as DropdownMenuCheckboxItem,
|
|
115
|
+
ar as DropdownMenuContent,
|
|
116
|
+
nr as DropdownMenuGroup,
|
|
117
|
+
ir as DropdownMenuItem,
|
|
118
|
+
lr as DropdownMenuLabel,
|
|
119
|
+
pr as DropdownMenuPortal,
|
|
120
|
+
dr as DropdownMenuRadioGroup,
|
|
121
|
+
Sr as DropdownMenuRadioItem,
|
|
122
|
+
sr as DropdownMenuSeparator,
|
|
123
|
+
cr as DropdownMenuShortcut,
|
|
124
|
+
ur as DropdownMenuSub,
|
|
125
|
+
mr as DropdownMenuSubContent,
|
|
126
|
+
br as DropdownMenuSubTrigger,
|
|
127
|
+
gr as DropdownMenuTrigger,
|
|
128
|
+
xr as Empty,
|
|
129
|
+
Tr as EmptyActions,
|
|
130
|
+
Cr as EmptyDescription,
|
|
131
|
+
hr as EmptyHeader,
|
|
132
|
+
Ir as EmptyIcon,
|
|
133
|
+
fr as EmptyLinks,
|
|
134
|
+
yr as EmptyTitle,
|
|
135
|
+
Mr as Input,
|
|
136
|
+
Vr as InputDatePicker,
|
|
137
|
+
vr as InputSearch,
|
|
138
|
+
Er as InputSelect,
|
|
139
|
+
Ar as InputSelectContent,
|
|
140
|
+
Gr as InputSelectDescription,
|
|
141
|
+
Wr as InputSelectError,
|
|
142
|
+
Rr as InputSelectField,
|
|
143
|
+
kr as InputSelectGroup,
|
|
144
|
+
Or as InputSelectItem,
|
|
145
|
+
zr as InputSelectLabel,
|
|
146
|
+
Nr as InputSelectSearch,
|
|
147
|
+
jr as InputSelectSection,
|
|
148
|
+
qr as InputSelectSectionLabel,
|
|
149
|
+
Jr as InputSelectStatus,
|
|
150
|
+
Kr as InputSelectTrigger,
|
|
151
|
+
Qr as InputSelectValue,
|
|
152
|
+
Br as InputText,
|
|
153
|
+
tt as InputTextArea,
|
|
154
|
+
nt as Label,
|
|
155
|
+
pt as Link,
|
|
156
|
+
St as Popover,
|
|
157
|
+
st as PopoverContent,
|
|
158
|
+
ct as PopoverPortal,
|
|
159
|
+
ut as PopoverTrigger,
|
|
160
|
+
bt as Progress,
|
|
161
|
+
Dt as ProgressCircle,
|
|
162
|
+
Ct as Radio,
|
|
163
|
+
ht as RadioGroup,
|
|
164
|
+
ft as ResizableHandle,
|
|
165
|
+
yt as ResizablePanel,
|
|
166
|
+
Pt as ResizablePanelGroup,
|
|
167
|
+
Fr as Search,
|
|
168
|
+
Bt as SearchGlobal,
|
|
169
|
+
Ur as Select,
|
|
170
|
+
Xr as SelectContent,
|
|
171
|
+
Yr as SelectGroup,
|
|
172
|
+
Zr as SelectGroupLabel,
|
|
173
|
+
_r as SelectItem,
|
|
174
|
+
$r as SelectTrigger,
|
|
175
|
+
et as SelectValue,
|
|
176
|
+
Vt as Separator,
|
|
177
|
+
Le as Sheet,
|
|
178
|
+
Ve as SheetBody,
|
|
179
|
+
we as SheetClose,
|
|
180
|
+
ve as SheetCloseButton,
|
|
181
|
+
Fe as SheetContent,
|
|
182
|
+
He as SheetDescription,
|
|
183
|
+
vt as SheetDetails,
|
|
184
|
+
Ee as SheetFooter,
|
|
185
|
+
Ae as SheetHeader,
|
|
186
|
+
Ge as SheetOverlay,
|
|
187
|
+
We as SheetPortal,
|
|
188
|
+
Re as SheetTitle,
|
|
189
|
+
ke as SheetTrigger,
|
|
190
|
+
Ht as SidebarPrimary,
|
|
191
|
+
Et as SidebarPrimaryCollapseTrigger,
|
|
192
|
+
At as SidebarPrimaryContent,
|
|
193
|
+
Gt as SidebarPrimaryFooter,
|
|
194
|
+
Wt as SidebarPrimaryHeader,
|
|
195
|
+
Rt as SidebarPrimaryMenu,
|
|
196
|
+
kt as SidebarPrimaryMenuItem,
|
|
197
|
+
Ot as SidebarPrimaryMenuItemExtras,
|
|
198
|
+
zt as SidebarPrimarySection,
|
|
199
|
+
qt as SidebarSecondary,
|
|
200
|
+
Jt as SidebarSecondaryCollapseTrigger,
|
|
201
|
+
Kt as SidebarSecondaryCollapsedBreadcrumb,
|
|
202
|
+
Qt as SidebarSecondaryContent,
|
|
203
|
+
Ut as SidebarSecondaryFooter,
|
|
204
|
+
Xt as SidebarSecondaryHeader,
|
|
205
|
+
Yt as SidebarSecondaryMenu,
|
|
206
|
+
Zt as SidebarSecondaryMenuItem,
|
|
207
|
+
_t as SidebarSecondaryMenuItemExtras,
|
|
208
|
+
$t as SidebarSecondaryMenuSub,
|
|
209
|
+
eo as SidebarSecondaryMenuSubContent,
|
|
210
|
+
ro as SidebarSecondaryMenuSubItem,
|
|
211
|
+
to as SidebarSecondaryMenuSubTrigger,
|
|
212
|
+
oo as SidebarSecondarySection,
|
|
213
|
+
ao as SidebarSecondarySectionLabel,
|
|
214
|
+
lo as Spinner,
|
|
215
|
+
so as Switch,
|
|
216
|
+
uo as Table,
|
|
217
|
+
mo as TableBody,
|
|
218
|
+
bo as TableCaption,
|
|
219
|
+
go as TableCell,
|
|
220
|
+
Do as TableFooter,
|
|
221
|
+
xo as TableHead,
|
|
222
|
+
To as TableHeader,
|
|
223
|
+
Co as TableRow,
|
|
224
|
+
Io as Tabs,
|
|
225
|
+
fo as TabsContent,
|
|
226
|
+
yo as TabsList,
|
|
227
|
+
Po as TabsTrigger,
|
|
219
228
|
s as Tag,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
229
|
+
ot as Textarea,
|
|
230
|
+
Bo as Toaster,
|
|
231
|
+
wo as Tooltip,
|
|
232
|
+
vo as TooltipContent,
|
|
233
|
+
Fo as TooltipProvider,
|
|
234
|
+
Ho as TooltipTrigger,
|
|
235
|
+
Ao as WidgetPlaceholder,
|
|
236
|
+
Go as WidgetPlaceholderAction,
|
|
237
|
+
Wo as WidgetPlaceholderContent,
|
|
238
|
+
Ro as WidgetPlaceholderFooter,
|
|
239
|
+
ko as WidgetPlaceholderHeader,
|
|
240
|
+
Oo as WidgetPlaceholderIcon,
|
|
241
|
+
zo as WidgetPlaceholderImage,
|
|
242
|
+
No as WidgetPlaceholderText,
|
|
243
|
+
jo as WidgetPlaceholderTitle,
|
|
235
244
|
p as avatarVariants,
|
|
236
245
|
M as buttonIconVariants,
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
V as buttonMenuVariants,
|
|
247
|
+
f as buttonVariants,
|
|
239
248
|
k as cardFilterVariants,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
Z as chipVariants,
|
|
250
|
+
t as cn,
|
|
251
|
+
er as dialogContentVariants,
|
|
252
|
+
it as labelClassName,
|
|
253
|
+
xt as progressCircleVariants,
|
|
254
|
+
Oe as sheetVariants,
|
|
255
|
+
Nt as sidebarPrimaryMenuItemVariants,
|
|
256
|
+
no as sidebarSecondaryMenuItemVariants,
|
|
257
|
+
po as spinnerVariants,
|
|
248
258
|
c as tagVariants,
|
|
249
|
-
|
|
259
|
+
Lo as toast
|
|
250
260
|
};
|
|
251
261
|
//# sourceMappingURL=react.js.map
|
package/dist/react.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { LegendPayload } from 'recharts/types/component/DefaultLegendContent';
|
|
2
|
+
import { NameType, Payload, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
+
import { Props as LegendProps } from 'recharts/types/component/Legend';
|
|
4
|
+
import { TooltipContentProps } from 'recharts/types/component/Tooltip';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import * as RechartsPrimitive from 'recharts';
|
|
7
|
+
declare const THEMES: {
|
|
8
|
+
readonly light: "";
|
|
9
|
+
readonly dark: "[data-theme='dark']";
|
|
10
|
+
};
|
|
11
|
+
export type ChartConfig = {
|
|
12
|
+
[k in string]: {
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
icon?: React.ComponentType;
|
|
15
|
+
} & ({
|
|
16
|
+
color?: string;
|
|
17
|
+
theme?: never;
|
|
18
|
+
} | {
|
|
19
|
+
color?: never;
|
|
20
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export type ChartTooltipContentProps = Partial<TooltipContentProps<ValueType, NameType>> & {
|
|
24
|
+
className?: string;
|
|
25
|
+
hideLabel?: boolean;
|
|
26
|
+
hideIndicator?: boolean;
|
|
27
|
+
indicator?: 'line' | 'dot' | 'dashed';
|
|
28
|
+
nameKey?: string;
|
|
29
|
+
labelKey?: string;
|
|
30
|
+
labelFormatter?: (label: TooltipContentProps<number, string>['label'], payload: TooltipContentProps<number, string>['payload']) => React.ReactNode;
|
|
31
|
+
formatter?: (value: number | string, name: string, item: Payload<number | string, string>, index: number, payload: ReadonlyArray<Payload<number | string, string>>) => React.ReactNode;
|
|
32
|
+
labelClassName?: string;
|
|
33
|
+
color?: string;
|
|
34
|
+
};
|
|
35
|
+
export type ChartLegendContentProps = {
|
|
36
|
+
className?: string;
|
|
37
|
+
hideIcon?: boolean;
|
|
38
|
+
verticalAlign?: LegendProps['verticalAlign'];
|
|
39
|
+
payload?: LegendPayload[];
|
|
40
|
+
nameKey?: string;
|
|
41
|
+
};
|
|
42
|
+
export interface ChartContainerProps extends React.ComponentProps<'div'> {
|
|
43
|
+
config: ChartConfig;
|
|
44
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
|
|
45
|
+
}
|
|
46
|
+
declare function ChartContainer({ id, className, children, config, ...props }: ChartContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
declare const ChartStyle: ({ id, config }: {
|
|
48
|
+
id: string;
|
|
49
|
+
config: ChartConfig;
|
|
50
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
51
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
52
|
+
declare function ChartTooltipContent({ active, payload, label, className, indicator, hideLabel, hideIndicator, labelFormatter, formatter, labelClassName, color, nameKey, labelKey, }: ChartTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
53
|
+
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
54
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: ChartLegendContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
55
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Column } from '@tanstack/react-table';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface DataTableColumnHeaderProps<TData, TValue> extends React.
|
|
3
|
+
interface DataTableColumnHeaderProps<TData, TValue> extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
column: Column<TData, TValue>;
|
|
5
5
|
title: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function DataTableColumnHeader<TData, TValue>({ column, title, className, ...props }: DataTableColumnHeaderProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressCircle, progressCircleVariants, type ProgressCircleProps, type ProgressCircleSize, type ProgressCircleStatus, } from './progress-circle';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type ProgressCircleStatus = 'brand' | 'danger' | 'critical' | 'warning' | 'success';
|
|
4
|
+
declare const SIZES: {
|
|
5
|
+
readonly tiny: {
|
|
6
|
+
readonly d: 16;
|
|
7
|
+
readonly stroke: 2;
|
|
8
|
+
readonly font: "text-[10px] leading-none";
|
|
9
|
+
};
|
|
10
|
+
readonly sm: {
|
|
11
|
+
readonly d: 24;
|
|
12
|
+
readonly stroke: 3;
|
|
13
|
+
readonly font: "text-[10px] leading-none";
|
|
14
|
+
};
|
|
15
|
+
readonly md: {
|
|
16
|
+
readonly d: 40;
|
|
17
|
+
readonly stroke: 4;
|
|
18
|
+
readonly font: "text-xs font-semibold";
|
|
19
|
+
};
|
|
20
|
+
readonly lg: {
|
|
21
|
+
readonly d: 64;
|
|
22
|
+
readonly stroke: 5;
|
|
23
|
+
readonly font: "text-sm font-semibold";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type ProgressCircleSize = keyof typeof SIZES;
|
|
27
|
+
declare const progressCircleVariants: (props?: ({
|
|
28
|
+
size?: "sm" | "md" | "lg" | "tiny" | null | undefined;
|
|
29
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
30
|
+
export interface ProgressCircleProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressCircleVariants> {
|
|
31
|
+
/** Current progress; clamped to `[0, max]`. */
|
|
32
|
+
value?: number;
|
|
33
|
+
/** Value representing full completion. */
|
|
34
|
+
max?: number;
|
|
35
|
+
/** Ring diameter + stroke. Defaults to `sm`. */
|
|
36
|
+
size?: ProgressCircleSize;
|
|
37
|
+
/** Color level for the arc. Omit to derive from `value`/`max` by thresholds. */
|
|
38
|
+
status?: ProgressCircleStatus;
|
|
39
|
+
/** Show the rounded percentage in the center. */
|
|
40
|
+
showValue?: boolean;
|
|
41
|
+
/** Show a status icon in the center (takes priority over `showValue`). */
|
|
42
|
+
showIcon?: boolean;
|
|
43
|
+
/** Custom center content (takes priority over icon/value). */
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
declare const ProgressCircle: React.ForwardRefExoticComponent<ProgressCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
export { ProgressCircle, progressCircleVariants };
|