@acronis-platform/ui-react 0.45.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/react.js CHANGED
@@ -1,10 +1,10 @@
1
- import { cn as r } from "./lib/utils.js";
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
3
  import { Tag as d, Tag as s, tagVariants as c } from "./components/ui/tag/tag.js";
4
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
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 L, buttonMenuVariants as w } from "./components/ui/button-menu/button-menu.js";
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
10
  import { Checkbox as z } from "./components/ui/checkbox/checkbox.js";
@@ -14,34 +14,35 @@ 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 { DescriptionList as re, 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 we, SheetPortal as Ve, SheetTitle as ve, SheetTrigger as Fe, sheetVariants as He } from "./components/ui/sheet/sheet.js";
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
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 et, DropdownMenuPortal as tt, DropdownMenuRadioGroup as rt, DropdownMenuRadioItem as ot, DropdownMenuSeparator as at, DropdownMenuShortcut as nt, DropdownMenuSub as it, DropdownMenuSubContent as lt, DropdownMenuSubTrigger as pt, DropdownMenuTrigger as St } from "./components/ui/dropdown-menu/dropdown-menu.js";
21
- import { Empty as st, EmptyActions as ct, EmptyDescription as ut, EmptyHeader as mt, EmptyIcon as bt, EmptyLinks as gt, EmptyTitle as Dt } from "./components/ui/empty/empty.js";
22
- import { InputText as Tt, InputText as It } from "./components/ui/input-text/input-text.js";
23
- import { InputDatePicker as ft } from "./components/ui/input-date-picker/input-date-picker.js";
24
- import { InputSearch as yt, InputSearch as Pt } from "./components/ui/input-search/input-search.js";
25
- import { InputSelect as Bt, InputSelectContent as Lt, InputSelectDescription as wt, InputSelectError as Vt, InputSelectField as vt, InputSelectGroup as Ft, InputSelectItem as Ht, InputSelectLabel as Et, InputSelectSearch as At, InputSelectSection as Gt, InputSelectSectionLabel as Wt, InputSelectStatus as Rt, InputSelectTrigger as kt, InputSelectValue as Ot, InputSelect as zt, InputSelectContent as Nt, InputSelectSection as jt, InputSelectSectionLabel as qt, InputSelectItem as Jt, InputSelectTrigger as Kt, InputSelectValue as Qt } from "./components/ui/input-select/input-select.js";
26
- import { InputTextArea as Xt, InputTextArea as Yt } from "./components/ui/input-text-area/input-text-area.js";
27
- import { Label as _t, labelClassName as $t } from "./components/ui/label/label.js";
28
- import { Link as tr } from "./components/ui/link/link.js";
29
- import { Popover as or, PopoverContent as ar, PopoverPortal as nr, PopoverTrigger as ir } from "./components/ui/popover/popover.js";
30
- import { Progress as pr } from "./components/ui/progress/progress.js";
31
- import { Radio as dr, RadioGroup as sr } from "./components/ui/radio/radio.js";
32
- import { ResizableHandle as ur, ResizablePanel as mr, ResizablePanelGroup as br } from "./components/ui/resizable/resizable.js";
33
- import { SearchGlobal as Dr } from "./components/ui/search-global/search-global.js";
34
- import { Separator as Tr } from "./components/ui/separator/separator.js";
35
- import { SheetDetails as hr } from "./components/ui/sheet/sheet-details.js";
36
- import { SidebarPrimary as Cr, SidebarPrimaryCollapseTrigger as yr, SidebarPrimaryContent as Pr, SidebarPrimaryFooter as Mr, SidebarPrimaryHeader as Br, SidebarPrimaryMenu as Lr, SidebarPrimaryMenuItem as wr, SidebarPrimaryMenuItemExtras as Vr, SidebarPrimarySection as vr, sidebarPrimaryMenuItemVariants as Fr } from "./components/ui/sidebar-primary/sidebar-primary.js";
37
- import { SidebarSecondary as Er, SidebarSecondaryCollapseTrigger as Ar, SidebarSecondaryCollapsedBreadcrumb as Gr, SidebarSecondaryContent as Wr, SidebarSecondaryFooter as Rr, SidebarSecondaryHeader as kr, SidebarSecondaryMenu as Or, SidebarSecondaryMenuItem as zr, SidebarSecondaryMenuItemExtras as Nr, SidebarSecondaryMenuSub as jr, SidebarSecondaryMenuSubContent as qr, SidebarSecondaryMenuSubItem as Jr, SidebarSecondaryMenuSubTrigger as Kr, SidebarSecondarySection as Qr, SidebarSecondarySectionLabel as Ur, sidebarSecondaryMenuItemVariants as Xr } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
38
- import { Spinner as Zr, spinnerVariants as _r } from "./components/ui/spinner/spinner.js";
39
- import { Switch as eo } from "./components/ui/switch/switch.js";
40
- import { Table as ro, TableBody as oo, TableCaption as ao, TableCell as no, TableFooter as io, TableHead as lo, TableHeader as po, TableRow as So } from "./components/ui/table/table.js";
41
- import { Tabs as co, TabsContent as uo, TabsList as mo, TabsTrigger as bo } from "./components/ui/tabs/tabs.js";
42
- import { Toaster as Do, toast as xo } from "./components/ui/toast/toast.js";
43
- import { Tooltip as Io, TooltipContent as ho, TooltipProvider as fo, TooltipTrigger as Co } from "./components/ui/tooltip/tooltip.js";
44
- import { WidgetPlaceholder as Po, WidgetPlaceholderAction as Mo, WidgetPlaceholderContent as Bo, WidgetPlaceholderFooter as Lo, WidgetPlaceholderHeader as wo, WidgetPlaceholderIcon as Vo, WidgetPlaceholderImage as vo, WidgetPlaceholderText as Fo, WidgetPlaceholderTitle as Ho } from "./components/ui/widget-placeholder/widget-placeholder.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";
45
46
  export {
46
47
  a as Avatar,
47
48
  n as AvatarFallback,
@@ -72,7 +73,7 @@ export {
72
73
  Y as DataTablePagination,
73
74
  _ as DataTableToolbar,
74
75
  ee as DataTableViewOptions,
75
- re as DescriptionList,
76
+ te as DescriptionList,
76
77
  oe as DescriptionListActions,
77
78
  ae as DescriptionListItem,
78
79
  ne as DescriptionListLabel,
@@ -107,145 +108,147 @@ export {
107
108
  Ze as DropdownMenuContent,
108
109
  _e as DropdownMenuGroup,
109
110
  $e as DropdownMenuItem,
110
- et as DropdownMenuLabel,
111
- tt as DropdownMenuPortal,
112
- rt as DropdownMenuRadioGroup,
113
- ot as DropdownMenuRadioItem,
114
- at as DropdownMenuSeparator,
115
- nt as DropdownMenuShortcut,
116
- it as DropdownMenuSub,
117
- lt as DropdownMenuSubContent,
118
- pt as DropdownMenuSubTrigger,
119
- St as DropdownMenuTrigger,
120
- st as Empty,
121
- ct as EmptyActions,
122
- ut as EmptyDescription,
123
- mt as EmptyHeader,
124
- bt as EmptyIcon,
125
- gt as EmptyLinks,
126
- Dt as EmptyTitle,
127
- Tt as Input,
128
- ft as InputDatePicker,
129
- yt as InputSearch,
130
- Bt as InputSelect,
131
- Lt as InputSelectContent,
132
- wt as InputSelectDescription,
133
- Vt as InputSelectError,
134
- vt as InputSelectField,
135
- Ft as InputSelectGroup,
136
- Ht as InputSelectItem,
137
- Et as InputSelectLabel,
138
- At as InputSelectSearch,
139
- Gt as InputSelectSection,
140
- Wt as InputSelectSectionLabel,
141
- Rt as InputSelectStatus,
142
- kt as InputSelectTrigger,
143
- Ot as InputSelectValue,
144
- It as InputText,
145
- Xt as InputTextArea,
146
- _t as Label,
147
- tr as Link,
148
- or as Popover,
149
- ar as PopoverContent,
150
- nr as PopoverPortal,
151
- ir as PopoverTrigger,
152
- pr as Progress,
153
- dr as Radio,
154
- sr as RadioGroup,
155
- ur as ResizableHandle,
156
- mr as ResizablePanel,
157
- br as ResizablePanelGroup,
158
- Pt as Search,
159
- Dr as SearchGlobal,
160
- zt as Select,
161
- Nt as SelectContent,
162
- jt as SelectGroup,
163
- qt as SelectGroupLabel,
164
- Jt as SelectItem,
165
- Kt as SelectTrigger,
166
- Qt as SelectValue,
167
- Tr as Separator,
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,
168
170
  he as Sheet,
169
171
  fe as SheetBody,
170
172
  Ce as SheetClose,
171
173
  ye as SheetCloseButton,
172
174
  Pe as SheetContent,
173
175
  Me as SheetDescription,
174
- hr as SheetDetails,
176
+ yt as SheetDetails,
175
177
  Be as SheetFooter,
176
178
  Le as SheetHeader,
177
- we as SheetOverlay,
178
- Ve as SheetPortal,
179
+ Ve as SheetOverlay,
180
+ we as SheetPortal,
179
181
  ve as SheetTitle,
180
182
  Fe as SheetTrigger,
181
- Cr as SidebarPrimary,
182
- yr as SidebarPrimaryCollapseTrigger,
183
- Pr as SidebarPrimaryContent,
184
- Mr as SidebarPrimaryFooter,
185
- Br as SidebarPrimaryHeader,
186
- Lr as SidebarPrimaryMenu,
187
- wr as SidebarPrimaryMenuItem,
188
- Vr as SidebarPrimaryMenuItemExtras,
189
- vr as SidebarPrimarySection,
190
- Er as SidebarSecondary,
191
- Ar as SidebarSecondaryCollapseTrigger,
192
- Gr as SidebarSecondaryCollapsedBreadcrumb,
193
- Wr as SidebarSecondaryContent,
194
- Rr as SidebarSecondaryFooter,
195
- kr as SidebarSecondaryHeader,
196
- Or as SidebarSecondaryMenu,
197
- zr as SidebarSecondaryMenuItem,
198
- Nr as SidebarSecondaryMenuItemExtras,
199
- jr as SidebarSecondaryMenuSub,
200
- qr as SidebarSecondaryMenuSubContent,
201
- Jr as SidebarSecondaryMenuSubItem,
202
- Kr as SidebarSecondaryMenuSubTrigger,
203
- Qr as SidebarSecondarySection,
204
- Ur as SidebarSecondarySectionLabel,
205
- Zr as Spinner,
206
- eo as Switch,
207
- ro as Table,
208
- oo as TableBody,
209
- ao as TableCaption,
210
- no as TableCell,
211
- io as TableFooter,
212
- lo as TableHead,
213
- po as TableHeader,
214
- So as TableRow,
215
- co as Tabs,
216
- uo as TabsContent,
217
- mo as TabsList,
218
- bo as TabsTrigger,
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,
219
221
  s as Tag,
220
- Yt as Textarea,
221
- Do as Toaster,
222
- Io as Tooltip,
223
- ho as TooltipContent,
224
- fo as TooltipProvider,
225
- Co as TooltipTrigger,
226
- Po as WidgetPlaceholder,
227
- Mo as WidgetPlaceholderAction,
228
- Bo as WidgetPlaceholderContent,
229
- Lo as WidgetPlaceholderFooter,
230
- wo as WidgetPlaceholderHeader,
231
- Vo as WidgetPlaceholderIcon,
232
- vo as WidgetPlaceholderImage,
233
- Fo as WidgetPlaceholderText,
234
- Ho as WidgetPlaceholderTitle,
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,
235
237
  p as avatarVariants,
236
238
  M as buttonIconVariants,
237
- w as buttonMenuVariants,
239
+ V as buttonMenuVariants,
238
240
  C as buttonVariants,
239
241
  k as cardFilterVariants,
240
242
  q as chipVariants,
241
- r as cn,
243
+ t as cn,
242
244
  Qe as dialogContentVariants,
243
- $t as labelClassName,
245
+ $r as labelClassName,
246
+ st as progressCircleVariants,
244
247
  He as sheetVariants,
245
- Fr as sidebarPrimaryMenuItemVariants,
246
- Xr as sidebarSecondaryMenuItemVariants,
247
- _r as spinnerVariants,
248
+ At as sidebarPrimaryMenuItemVariants,
249
+ _t as sidebarSecondaryMenuItemVariants,
250
+ ro as spinnerVariants,
248
251
  c as tagVariants,
249
- xo as toast
252
+ ho as toast
250
253
  };
251
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.HTMLAttributes<HTMLDivElement> {
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 };
@@ -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,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const tagVariants: (props?: ({
4
- variant?: "ai" | "success" | "info" | "warning" | "critical" | "danger" | "neutral" | null | undefined;
4
+ variant?: "ai" | "danger" | "critical" | "warning" | "success" | "info" | "neutral" | null | undefined;
5
5
  size?: "default" | "sm" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
@@ -22,6 +22,7 @@ export * from './components/ui/label';
22
22
  export * from './components/ui/link';
23
23
  export * from './components/ui/popover';
24
24
  export * from './components/ui/progress';
25
+ export * from './components/ui/progress-circle';
25
26
  export * from './components/ui/search-global';
26
27
  export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
27
28
  export { InputSearch as Search, type InputSearchProps as SearchProps, } from './components/ui/input-search';