@acronis-platform/ui-react 0.44.0 → 0.46.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/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/description-list/description-list.js +54 -0
- package/dist/components/ui/description-list/description-list.js.map +1 -0
- 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/components/ui/sheet/sheet-details.js +80 -0
- package/dist/components/ui/sheet/sheet-details.js.map +1 -0
- package/dist/index.js +214 -202
- package/dist/index.js.map +1 -1
- package/dist/react.js +214 -202
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/data-table/data-table-column-header.d.ts +2 -2
- package/dist/src/components/ui/description-list/description-list.d.ts +8 -0
- package/dist/src/components/ui/description-list/index.d.ts +1 -0
- 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/index.d.ts +1 -0
- package/dist/src/components/ui/sheet/sheet-details.d.ts +42 -0
- 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 +3 -3
package/dist/react.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
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
|
|
5
|
-
import { Button as
|
|
3
|
+
import { Tag as d, 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 I } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as f, buttonVariants as C } 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
|
|
8
|
-
import { Card as
|
|
7
|
+
import { ButtonMenu as L, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
|
|
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
10
|
import { Checkbox as z } from "./components/ui/checkbox/checkbox.js";
|
|
11
11
|
import { Chip as j, chipVariants as q } from "./components/ui/chip/chip.js";
|
|
@@ -14,55 +14,58 @@ import { DataTableColumnHeader as U } from "./components/ui/data-table/data-tabl
|
|
|
14
14
|
import { DataTablePagination as Y } from "./components/ui/data-table/data-table-pagination.js";
|
|
15
15
|
import { DataTableToolbar as _ } from "./components/ui/data-table/data-table-toolbar.js";
|
|
16
16
|
import { DataTableViewOptions as ee } from "./components/ui/data-table/data-table-view-options.js";
|
|
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 {
|
|
17
|
+
import { DescriptionList as te, DescriptionListActions as oe, DescriptionListItem as ae, DescriptionListLabel as ne, DescriptionListValue as ie, DescriptionListValueDescription as le } from "./components/ui/description-list/description-list.js";
|
|
18
|
+
import { Sheet as Se, SheetBody as de, SheetClose as se, SheetCloseButton as ce, SheetContent as ue, SheetDescription as me, SheetFooter as be, SheetHeader as ge, SheetOverlay as De, SheetPortal as xe, SheetTitle as Te, SheetTrigger as Ie, Sheet as he, SheetBody as fe, SheetClose as Ce, SheetCloseButton as ye, SheetContent as Pe, SheetDescription as Me, SheetFooter as Be, SheetHeader as Le, SheetOverlay as Ve, SheetPortal as we, SheetTitle as ve, SheetTrigger as Fe, sheetVariants as He } from "./components/ui/sheet/sheet.js";
|
|
19
|
+
import { Dialog as Ae, DialogBody as Ge, DialogClose as We, DialogCloseButton as Re, DialogContent as ke, DialogDescription as Oe, DialogFooter as ze, DialogHeader as Ne, DialogOverlay as je, DialogPortal as qe, DialogTitle as Je, DialogTrigger as Ke, dialogContentVariants as Qe } from "./components/ui/dialog/dialog.js";
|
|
20
|
+
import { DropdownMenu as Xe, DropdownMenuCheckboxItem as Ye, DropdownMenuContent as Ze, DropdownMenuGroup as _e, DropdownMenuItem as $e, DropdownMenuLabel as er, DropdownMenuPortal as rr, DropdownMenuRadioGroup as tr, DropdownMenuRadioItem as or, DropdownMenuSeparator as ar, DropdownMenuShortcut as nr, DropdownMenuSub as ir, DropdownMenuSubContent as lr, DropdownMenuSubTrigger as pr, DropdownMenuTrigger as Sr } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
21
|
+
import { Empty as sr, EmptyActions as cr, EmptyDescription as ur, EmptyHeader as mr, EmptyIcon as br, EmptyLinks as gr, EmptyTitle as Dr } from "./components/ui/empty/empty.js";
|
|
22
|
+
import { InputText as Tr, InputText as Ir } from "./components/ui/input-text/input-text.js";
|
|
23
|
+
import { InputDatePicker as fr } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
24
|
+
import { InputSearch as yr, InputSearch as Pr } from "./components/ui/input-search/input-search.js";
|
|
25
|
+
import { InputSelect as Br, InputSelectContent as Lr, InputSelectDescription as Vr, InputSelectError as wr, InputSelectField as vr, InputSelectGroup as Fr, InputSelectItem as Hr, InputSelectLabel as Er, InputSelectSearch as Ar, InputSelectSection as Gr, InputSelectSectionLabel as Wr, InputSelectStatus as Rr, InputSelectTrigger as kr, InputSelectValue as Or, InputSelect as zr, InputSelectContent as Nr, InputSelectSection as jr, InputSelectSectionLabel as qr, InputSelectItem as Jr, InputSelectTrigger as Kr, InputSelectValue as Qr } from "./components/ui/input-select/input-select.js";
|
|
26
|
+
import { InputTextArea as Xr, InputTextArea as Yr } from "./components/ui/input-text-area/input-text-area.js";
|
|
27
|
+
import { Label as _r, labelClassName as $r } from "./components/ui/label/label.js";
|
|
28
|
+
import { Link as rt } from "./components/ui/link/link.js";
|
|
29
|
+
import { Popover as ot, PopoverContent as at, PopoverPortal as nt, PopoverTrigger as it } from "./components/ui/popover/popover.js";
|
|
30
|
+
import { Progress as pt } from "./components/ui/progress/progress.js";
|
|
31
|
+
import { ProgressCircle as dt, progressCircleVariants as st } from "./components/ui/progress-circle/progress-circle.js";
|
|
32
|
+
import { Radio as ut, RadioGroup as mt } from "./components/ui/radio/radio.js";
|
|
33
|
+
import { ResizableHandle as gt, ResizablePanel as Dt, ResizablePanelGroup as xt } from "./components/ui/resizable/resizable.js";
|
|
34
|
+
import { SearchGlobal as It } from "./components/ui/search-global/search-global.js";
|
|
35
|
+
import { Separator as ft } from "./components/ui/separator/separator.js";
|
|
36
|
+
import { SheetDetails as yt } from "./components/ui/sheet/sheet-details.js";
|
|
37
|
+
import { SidebarPrimary as Mt, SidebarPrimaryCollapseTrigger as Bt, SidebarPrimaryContent as Lt, SidebarPrimaryFooter as Vt, SidebarPrimaryHeader as wt, SidebarPrimaryMenu as vt, SidebarPrimaryMenuItem as Ft, SidebarPrimaryMenuItemExtras as Ht, SidebarPrimarySection as Et, sidebarPrimaryMenuItemVariants as At } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
38
|
+
import { SidebarSecondary as Wt, SidebarSecondaryCollapseTrigger as Rt, SidebarSecondaryCollapsedBreadcrumb as kt, SidebarSecondaryContent as Ot, SidebarSecondaryFooter as zt, SidebarSecondaryHeader as Nt, SidebarSecondaryMenu as jt, SidebarSecondaryMenuItem as qt, SidebarSecondaryMenuItemExtras as Jt, SidebarSecondaryMenuSub as Kt, SidebarSecondaryMenuSubContent as Qt, SidebarSecondaryMenuSubItem as Ut, SidebarSecondaryMenuSubTrigger as Xt, SidebarSecondarySection as Yt, SidebarSecondarySectionLabel as Zt, sidebarSecondaryMenuItemVariants as _t } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
39
|
+
import { Spinner as eo, spinnerVariants as ro } from "./components/ui/spinner/spinner.js";
|
|
40
|
+
import { Switch as oo } from "./components/ui/switch/switch.js";
|
|
41
|
+
import { Table as no, TableBody as io, TableCaption as lo, TableCell as po, TableFooter as So, TableHead as so, TableHeader as co, TableRow as uo } from "./components/ui/table/table.js";
|
|
42
|
+
import { Tabs as bo, TabsContent as go, TabsList as Do, TabsTrigger as xo } from "./components/ui/tabs/tabs.js";
|
|
43
|
+
import { Toaster as Io, toast as ho } from "./components/ui/toast/toast.js";
|
|
44
|
+
import { Tooltip as Co, TooltipContent as yo, TooltipProvider as Po, TooltipTrigger as Mo } from "./components/ui/tooltip/tooltip.js";
|
|
45
|
+
import { WidgetPlaceholder as Lo, WidgetPlaceholderAction as Vo, WidgetPlaceholderContent as wo, WidgetPlaceholderFooter as vo, WidgetPlaceholderHeader as Fo, WidgetPlaceholderIcon as Ho, WidgetPlaceholderImage as Eo, WidgetPlaceholderText as Ao, WidgetPlaceholderTitle as Go } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
43
46
|
export {
|
|
44
47
|
a as Avatar,
|
|
45
48
|
n as AvatarFallback,
|
|
46
49
|
i as AvatarGroup,
|
|
47
50
|
l as AvatarImage,
|
|
48
|
-
|
|
51
|
+
d as Badge,
|
|
49
52
|
m as Breadcrumb,
|
|
50
53
|
b as BreadcrumbEllipsis,
|
|
51
54
|
g as BreadcrumbItem,
|
|
52
|
-
|
|
55
|
+
D as BreadcrumbLink,
|
|
53
56
|
x as BreadcrumbList,
|
|
54
|
-
|
|
57
|
+
T as BreadcrumbPage,
|
|
55
58
|
I as BreadcrumbSeparator,
|
|
56
|
-
|
|
59
|
+
f as Button,
|
|
57
60
|
P as ButtonIcon,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
L as ButtonMenu,
|
|
62
|
+
v as Card,
|
|
63
|
+
F as CardContent,
|
|
64
|
+
H as CardDescription,
|
|
62
65
|
R as CardFilter,
|
|
63
66
|
E as CardFooter,
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
A as CardHeader,
|
|
68
|
+
G as CardTitle,
|
|
66
69
|
z as Checkbox,
|
|
67
70
|
j as Chip,
|
|
68
71
|
K as DataTable,
|
|
@@ -70,173 +73,182 @@ export {
|
|
|
70
73
|
Y as DataTablePagination,
|
|
71
74
|
_ as DataTableToolbar,
|
|
72
75
|
ee as DataTableViewOptions,
|
|
73
|
-
te as
|
|
74
|
-
oe as
|
|
75
|
-
ae as
|
|
76
|
-
ne as
|
|
77
|
-
ie as
|
|
78
|
-
le as
|
|
79
|
-
|
|
80
|
-
de as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Ge as
|
|
93
|
-
We as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
ar as
|
|
113
|
-
nr as
|
|
114
|
-
ir as
|
|
115
|
-
lr as
|
|
116
|
-
pr as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
cr as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
vr as
|
|
133
|
-
Fr as
|
|
134
|
-
Hr as
|
|
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
|
-
he as
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
ye as
|
|
171
|
-
Pe as
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
wt as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
Jt as
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
uo as
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
76
|
+
te as DescriptionList,
|
|
77
|
+
oe as DescriptionListActions,
|
|
78
|
+
ae as DescriptionListItem,
|
|
79
|
+
ne as DescriptionListLabel,
|
|
80
|
+
ie as DescriptionListValue,
|
|
81
|
+
le as DescriptionListValueDescription,
|
|
82
|
+
Se as Details,
|
|
83
|
+
de as DetailsBody,
|
|
84
|
+
se as DetailsClose,
|
|
85
|
+
ce as DetailsCloseButton,
|
|
86
|
+
ue as DetailsContent,
|
|
87
|
+
me as DetailsDescription,
|
|
88
|
+
be as DetailsFooter,
|
|
89
|
+
ge as DetailsHeader,
|
|
90
|
+
De as DetailsOverlay,
|
|
91
|
+
xe as DetailsPortal,
|
|
92
|
+
Te as DetailsTitle,
|
|
93
|
+
Ie as DetailsTrigger,
|
|
94
|
+
Ae as Dialog,
|
|
95
|
+
Ge as DialogBody,
|
|
96
|
+
We as DialogClose,
|
|
97
|
+
Re as DialogCloseButton,
|
|
98
|
+
ke as DialogContent,
|
|
99
|
+
Oe as DialogDescription,
|
|
100
|
+
ze as DialogFooter,
|
|
101
|
+
Ne as DialogHeader,
|
|
102
|
+
je as DialogOverlay,
|
|
103
|
+
qe as DialogPortal,
|
|
104
|
+
Je as DialogTitle,
|
|
105
|
+
Ke as DialogTrigger,
|
|
106
|
+
Xe as DropdownMenu,
|
|
107
|
+
Ye as DropdownMenuCheckboxItem,
|
|
108
|
+
Ze as DropdownMenuContent,
|
|
109
|
+
_e as DropdownMenuGroup,
|
|
110
|
+
$e as DropdownMenuItem,
|
|
111
|
+
er as DropdownMenuLabel,
|
|
112
|
+
rr as DropdownMenuPortal,
|
|
113
|
+
tr as DropdownMenuRadioGroup,
|
|
114
|
+
or as DropdownMenuRadioItem,
|
|
115
|
+
ar as DropdownMenuSeparator,
|
|
116
|
+
nr as DropdownMenuShortcut,
|
|
117
|
+
ir as DropdownMenuSub,
|
|
118
|
+
lr as DropdownMenuSubContent,
|
|
119
|
+
pr as DropdownMenuSubTrigger,
|
|
120
|
+
Sr as DropdownMenuTrigger,
|
|
121
|
+
sr as Empty,
|
|
122
|
+
cr as EmptyActions,
|
|
123
|
+
ur as EmptyDescription,
|
|
124
|
+
mr as EmptyHeader,
|
|
125
|
+
br as EmptyIcon,
|
|
126
|
+
gr as EmptyLinks,
|
|
127
|
+
Dr as EmptyTitle,
|
|
128
|
+
Tr as Input,
|
|
129
|
+
fr as InputDatePicker,
|
|
130
|
+
yr as InputSearch,
|
|
131
|
+
Br as InputSelect,
|
|
132
|
+
Lr as InputSelectContent,
|
|
133
|
+
Vr as InputSelectDescription,
|
|
134
|
+
wr as InputSelectError,
|
|
135
|
+
vr as InputSelectField,
|
|
136
|
+
Fr as InputSelectGroup,
|
|
137
|
+
Hr as InputSelectItem,
|
|
138
|
+
Er as InputSelectLabel,
|
|
139
|
+
Ar as InputSelectSearch,
|
|
140
|
+
Gr as InputSelectSection,
|
|
141
|
+
Wr as InputSelectSectionLabel,
|
|
142
|
+
Rr as InputSelectStatus,
|
|
143
|
+
kr as InputSelectTrigger,
|
|
144
|
+
Or as InputSelectValue,
|
|
145
|
+
Ir as InputText,
|
|
146
|
+
Xr as InputTextArea,
|
|
147
|
+
_r as Label,
|
|
148
|
+
rt as Link,
|
|
149
|
+
ot as Popover,
|
|
150
|
+
at as PopoverContent,
|
|
151
|
+
nt as PopoverPortal,
|
|
152
|
+
it as PopoverTrigger,
|
|
153
|
+
pt as Progress,
|
|
154
|
+
dt as ProgressCircle,
|
|
155
|
+
ut as Radio,
|
|
156
|
+
mt as RadioGroup,
|
|
157
|
+
gt as ResizableHandle,
|
|
158
|
+
Dt as ResizablePanel,
|
|
159
|
+
xt as ResizablePanelGroup,
|
|
160
|
+
Pr as Search,
|
|
161
|
+
It as SearchGlobal,
|
|
162
|
+
zr as Select,
|
|
163
|
+
Nr as SelectContent,
|
|
164
|
+
jr as SelectGroup,
|
|
165
|
+
qr as SelectGroupLabel,
|
|
166
|
+
Jr as SelectItem,
|
|
167
|
+
Kr as SelectTrigger,
|
|
168
|
+
Qr as SelectValue,
|
|
169
|
+
ft as Separator,
|
|
170
|
+
he as Sheet,
|
|
171
|
+
fe as SheetBody,
|
|
172
|
+
Ce as SheetClose,
|
|
173
|
+
ye as SheetCloseButton,
|
|
174
|
+
Pe as SheetContent,
|
|
175
|
+
Me as SheetDescription,
|
|
176
|
+
yt as SheetDetails,
|
|
177
|
+
Be as SheetFooter,
|
|
178
|
+
Le as SheetHeader,
|
|
179
|
+
Ve as SheetOverlay,
|
|
180
|
+
we as SheetPortal,
|
|
181
|
+
ve as SheetTitle,
|
|
182
|
+
Fe as SheetTrigger,
|
|
183
|
+
Mt as SidebarPrimary,
|
|
184
|
+
Bt as SidebarPrimaryCollapseTrigger,
|
|
185
|
+
Lt as SidebarPrimaryContent,
|
|
186
|
+
Vt as SidebarPrimaryFooter,
|
|
187
|
+
wt as SidebarPrimaryHeader,
|
|
188
|
+
vt as SidebarPrimaryMenu,
|
|
189
|
+
Ft as SidebarPrimaryMenuItem,
|
|
190
|
+
Ht as SidebarPrimaryMenuItemExtras,
|
|
191
|
+
Et as SidebarPrimarySection,
|
|
192
|
+
Wt as SidebarSecondary,
|
|
193
|
+
Rt as SidebarSecondaryCollapseTrigger,
|
|
194
|
+
kt as SidebarSecondaryCollapsedBreadcrumb,
|
|
195
|
+
Ot as SidebarSecondaryContent,
|
|
196
|
+
zt as SidebarSecondaryFooter,
|
|
197
|
+
Nt as SidebarSecondaryHeader,
|
|
198
|
+
jt as SidebarSecondaryMenu,
|
|
199
|
+
qt as SidebarSecondaryMenuItem,
|
|
200
|
+
Jt as SidebarSecondaryMenuItemExtras,
|
|
201
|
+
Kt as SidebarSecondaryMenuSub,
|
|
202
|
+
Qt as SidebarSecondaryMenuSubContent,
|
|
203
|
+
Ut as SidebarSecondaryMenuSubItem,
|
|
204
|
+
Xt as SidebarSecondaryMenuSubTrigger,
|
|
205
|
+
Yt as SidebarSecondarySection,
|
|
206
|
+
Zt as SidebarSecondarySectionLabel,
|
|
207
|
+
eo as Spinner,
|
|
208
|
+
oo as Switch,
|
|
209
|
+
no as Table,
|
|
210
|
+
io as TableBody,
|
|
211
|
+
lo as TableCaption,
|
|
212
|
+
po as TableCell,
|
|
213
|
+
So as TableFooter,
|
|
214
|
+
so as TableHead,
|
|
215
|
+
co as TableHeader,
|
|
216
|
+
uo as TableRow,
|
|
217
|
+
bo as Tabs,
|
|
218
|
+
go as TabsContent,
|
|
219
|
+
Do as TabsList,
|
|
220
|
+
xo as TabsTrigger,
|
|
221
|
+
s as Tag,
|
|
222
|
+
Yr as Textarea,
|
|
223
|
+
Io as Toaster,
|
|
224
|
+
Co as Tooltip,
|
|
225
|
+
yo as TooltipContent,
|
|
226
|
+
Po as TooltipProvider,
|
|
227
|
+
Mo as TooltipTrigger,
|
|
228
|
+
Lo as WidgetPlaceholder,
|
|
229
|
+
Vo as WidgetPlaceholderAction,
|
|
230
|
+
wo as WidgetPlaceholderContent,
|
|
231
|
+
vo as WidgetPlaceholderFooter,
|
|
232
|
+
Fo as WidgetPlaceholderHeader,
|
|
233
|
+
Ho as WidgetPlaceholderIcon,
|
|
234
|
+
Eo as WidgetPlaceholderImage,
|
|
235
|
+
Ao as WidgetPlaceholderText,
|
|
236
|
+
Go as WidgetPlaceholderTitle,
|
|
226
237
|
p as avatarVariants,
|
|
227
238
|
M as buttonIconVariants,
|
|
228
239
|
V as buttonMenuVariants,
|
|
229
|
-
|
|
240
|
+
C as buttonVariants,
|
|
230
241
|
k as cardFilterVariants,
|
|
231
242
|
q as chipVariants,
|
|
232
243
|
t as cn,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
244
|
+
Qe as dialogContentVariants,
|
|
245
|
+
$r as labelClassName,
|
|
246
|
+
st as progressCircleVariants,
|
|
247
|
+
He as sheetVariants,
|
|
248
|
+
At as sidebarPrimaryMenuItemVariants,
|
|
249
|
+
_t as sidebarSecondaryMenuItemVariants,
|
|
250
|
+
ro as spinnerVariants,
|
|
239
251
|
c as tagVariants,
|
|
240
|
-
|
|
252
|
+
ho as toast
|
|
241
253
|
};
|
|
242
254
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const DescriptionList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDListElement> & React.RefAttributes<HTMLDListElement>>;
|
|
3
|
+
declare const DescriptionListItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const DescriptionListLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const DescriptionListValue: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
declare const DescriptionListValueDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
declare const DescriptionListActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { DescriptionList, DescriptionListItem, DescriptionListLabel, DescriptionListValue, DescriptionListValueDescription, DescriptionListActions, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DescriptionList, DescriptionListItem, DescriptionListLabel, DescriptionListValue, DescriptionListValueDescription, DescriptionListActions, } from './description-list';
|
|
@@ -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 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Props for `ProgressCircle`. */
|
|
3
|
+
export interface ProgressCircleProps {
|
|
4
|
+
/** Current progress, clamped to `[0, max]`. */
|
|
5
|
+
value?: number;
|
|
6
|
+
/** Value representing full completion (default `100`). */
|
|
7
|
+
max?: number;
|
|
8
|
+
/** Ring diameter + stroke: `tiny` · `sm` (default) · `md` · `lg`. */
|
|
9
|
+
size?: 'tiny' | 'sm' | 'md' | 'lg';
|
|
10
|
+
/**
|
|
11
|
+
* Arc color level. Omit to derive from `value`/`max` by thresholds
|
|
12
|
+
* (≈ <40% danger, <60% critical, <80% warning, else success).
|
|
13
|
+
*/
|
|
14
|
+
status?: 'brand' | 'danger' | 'critical' | 'warning' | 'success';
|
|
15
|
+
/** Show the rounded percentage in the center. */
|
|
16
|
+
showValue?: boolean;
|
|
17
|
+
/** Show a status icon in the center (priority over `showValue`). */
|
|
18
|
+
showIcon?: boolean;
|
|
19
|
+
/** Custom center content (priority over icon / value). */
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { Sheet, SheetTrigger, SheetPortal, SheetClose, SheetCloseButton, SheetOverlay, SheetContent, SheetHeader, SheetFooter, SheetBody, SheetTitle, SheetDescription, sheetVariants, type SheetContentProps, } from './sheet';
|
|
2
|
+
export { SheetDetails, type SheetDetailsProps, type SheetDetailsProperty, type SheetDetailsContentState, } from './sheet-details';
|
|
2
3
|
export { Sheet as Details, SheetTrigger as DetailsTrigger, SheetPortal as DetailsPortal, SheetClose as DetailsClose, SheetCloseButton as DetailsCloseButton, SheetOverlay as DetailsOverlay, SheetContent as DetailsContent, SheetHeader as DetailsHeader, SheetFooter as DetailsFooter, SheetBody as DetailsBody, SheetTitle as DetailsTitle, SheetDescription as DetailsDescription, type SheetContentProps as DetailsContentProps, } from './sheet';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SheetContentProps } from './sheet';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface SheetDetailsProperty {
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
value: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export type SheetDetailsContentState = 'content' | 'loading' | 'empty' | 'error';
|
|
8
|
+
export interface SheetDetailsProps {
|
|
9
|
+
/** Controlled open state. Pair with `onOpenChange`. */
|
|
10
|
+
open?: boolean;
|
|
11
|
+
/** Initial open state when uncontrolled. */
|
|
12
|
+
defaultOpen?: boolean;
|
|
13
|
+
/** Fires when the sheet opens or closes. */
|
|
14
|
+
onOpenChange?: (open: boolean, eventDetails: unknown) => void;
|
|
15
|
+
/** Panel title (header). Also the accessible name. */
|
|
16
|
+
title: React.ReactNode;
|
|
17
|
+
/** Edge the panel anchors to. Defaults to `right`. */
|
|
18
|
+
side?: SheetContentProps['side'];
|
|
19
|
+
/** Which body view to show. Defaults to `content`. */
|
|
20
|
+
contentState?: SheetDetailsContentState;
|
|
21
|
+
/** Key/value rows rendered as the body in the `content` state (unless `children`). */
|
|
22
|
+
properties?: SheetDetailsProperty[];
|
|
23
|
+
/** Custom body for the `content` state — overrides `properties`. */
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
/** Footer action(s). Omit for no footer. */
|
|
26
|
+
actions?: React.ReactNode;
|
|
27
|
+
/** Optional trigger element (rendered via the Sheet trigger's `render`). */
|
|
28
|
+
trigger?: React.ReactElement;
|
|
29
|
+
/** Empty-state copy (`contentState="empty"`). */
|
|
30
|
+
emptyTitle?: React.ReactNode;
|
|
31
|
+
emptyDescription?: React.ReactNode;
|
|
32
|
+
/** Error-state copy (`contentState="error"`). */
|
|
33
|
+
errorTitle?: React.ReactNode;
|
|
34
|
+
errorDescription?: React.ReactNode;
|
|
35
|
+
/** Portal container (shadow-root mount for isolated previews). */
|
|
36
|
+
portalContainer?: SheetContentProps['portalContainer'];
|
|
37
|
+
}
|
|
38
|
+
declare function SheetDetails({ open, defaultOpen, onOpenChange, title, side, contentState, properties, children, actions, trigger, emptyTitle, emptyDescription, errorTitle, errorDescription, portalContainer, }: SheetDetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare namespace SheetDetails {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
42
|
+
export { SheetDetails };
|