@acronis-platform/ui-react 0.38.0 → 0.44.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/checkbox/checkbox.js +3 -1
- package/dist/components/ui/checkbox/checkbox.js.map +1 -1
- package/dist/components/ui/data-table/data-table-column-header.js +48 -0
- package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
- package/dist/components/ui/data-table/data-table-pagination.js +89 -0
- package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
- package/dist/components/ui/data-table/data-table-toolbar.js +46 -0
- package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
- package/dist/components/ui/data-table/data-table-view-options.js +40 -0
- package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
- package/dist/components/ui/data-table/data-table.js +89 -0
- package/dist/components/ui/data-table/data-table.js.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +159 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty/empty.js +78 -0
- package/dist/components/ui/empty/empty.js.map +1 -0
- package/dist/components/ui/label/label.js +12 -0
- package/dist/components/ui/label/label.js.map +1 -0
- package/dist/components/ui/popover/popover.js +48 -0
- package/dist/components/ui/popover/popover.js.map +1 -0
- package/dist/components/ui/progress/progress.js +30 -0
- package/dist/components/ui/progress/progress.js.map +1 -0
- package/dist/components/ui/separator/separator.js +22 -0
- package/dist/components/ui/separator/separator.js.map +1 -0
- package/dist/components/ui/sheet/sheet.js +138 -0
- package/dist/components/ui/sheet/sheet.js.map +1 -0
- package/dist/components/ui/spinner/spinner.js +38 -0
- package/dist/components/ui/spinner/spinner.js.map +1 -0
- package/dist/components/ui/tabs/tabs.js +44 -0
- package/dist/components/ui/tabs/tabs.js.map +1 -0
- package/dist/components/ui/toast/toast.js +83 -0
- package/dist/components/ui/toast/toast.js.map +1 -0
- package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
- package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
- package/dist/index.js +234 -140
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +104 -0
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
- package/dist/react.js +234 -140
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
- package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
- package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +9 -0
- package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
- package/dist/src/components/ui/data-table/data-table.d.ts +24 -0
- package/dist/src/components/ui/data-table/data-table.docs.d.ts +22 -0
- package/dist/src/components/ui/data-table/index.d.ts +5 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +39 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
- package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/src/components/ui/empty/empty.d.ts +9 -0
- package/dist/src/components/ui/empty/index.d.ts +1 -0
- package/dist/src/components/ui/label/index.d.ts +1 -0
- package/dist/src/components/ui/label/label.d.ts +5 -0
- package/dist/src/components/ui/label/label.docs.d.ts +10 -0
- package/dist/src/components/ui/popover/index.d.ts +1 -0
- package/dist/src/components/ui/popover/popover.d.ts +27 -0
- package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
- package/dist/src/components/ui/progress/index.d.ts +1 -0
- package/dist/src/components/ui/progress/progress.d.ts +9 -0
- package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
- package/dist/src/components/ui/separator/index.d.ts +1 -0
- package/dist/src/components/ui/separator/separator.d.ts +3 -0
- package/dist/src/components/ui/sheet/index.d.ts +2 -0
- package/dist/src/components/ui/sheet/sheet.d.ts +36 -0
- package/dist/src/components/ui/sheet/sheet.docs.d.ts +21 -0
- package/dist/src/components/ui/spinner/index.d.ts +1 -0
- package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
- package/dist/src/components/ui/tabs/index.d.ts +1 -0
- package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
- package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
- package/dist/src/components/ui/tag/tag.d.ts +1 -1
- package/dist/src/components/ui/toast/index.d.ts +1 -0
- package/dist/src/components/ui/toast/toast.d.ts +48 -0
- package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
- package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/ui-react.css +1 -1
- package/package.json +5 -3
package/dist/react.js
CHANGED
|
@@ -1,148 +1,242 @@
|
|
|
1
1
|
import { cn as t } from "./lib/utils.js";
|
|
2
|
-
import { Avatar as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
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 {
|
|
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 S, Tag as u, tagVariants as c } from "./components/ui/tag/tag.js";
|
|
4
|
+
import { Breadcrumb as m, BreadcrumbEllipsis as b, BreadcrumbItem as g, BreadcrumbLink as T, BreadcrumbList as x, BreadcrumbPage as D, BreadcrumbSeparator as I } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as C, buttonVariants as f } from "./components/ui/button/button.js";
|
|
6
|
+
import { ButtonIcon as P, buttonIconVariants as M } from "./components/ui/button-icon/button-icon.js";
|
|
7
|
+
import { ButtonMenu as w, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
|
|
8
|
+
import { Card as F, CardContent as H, CardDescription as L, CardFooter as E, CardHeader as G, CardTitle as W } from "./components/ui/card/card.js";
|
|
9
|
+
import { CardFilter as R, cardFilterVariants as k } from "./components/ui/card-filter/card-filter.js";
|
|
10
|
+
import { Checkbox as z } from "./components/ui/checkbox/checkbox.js";
|
|
11
|
+
import { Chip as j, chipVariants as q } from "./components/ui/chip/chip.js";
|
|
12
|
+
import { DataTable as K } from "./components/ui/data-table/data-table.js";
|
|
13
|
+
import { DataTableColumnHeader as U } from "./components/ui/data-table/data-table-column-header.js";
|
|
14
|
+
import { DataTablePagination as Y } from "./components/ui/data-table/data-table-pagination.js";
|
|
15
|
+
import { DataTableToolbar as _ } from "./components/ui/data-table/data-table-toolbar.js";
|
|
16
|
+
import { DataTableViewOptions as ee } from "./components/ui/data-table/data-table-view-options.js";
|
|
17
|
+
import { Sheet as te, SheetBody as oe, SheetClose as ae, SheetCloseButton as ne, SheetContent as ie, SheetDescription as le, SheetFooter as pe, SheetHeader as de, SheetOverlay as Se, SheetPortal as ue, SheetTitle as ce, SheetTrigger as se, Sheet as me, SheetBody as be, SheetClose as ge, SheetCloseButton as Te, SheetContent as xe, SheetDescription as De, SheetFooter as Ie, SheetHeader as he, SheetOverlay as Ce, SheetPortal as fe, SheetTitle as ye, SheetTrigger as Pe, sheetVariants as Me } from "./components/ui/sheet/sheet.js";
|
|
18
|
+
import { Dialog as we, DialogBody as Ve, DialogClose as ve, DialogCloseButton as Fe, DialogContent as He, DialogDescription as Le, DialogFooter as Ee, DialogHeader as Ge, DialogOverlay as We, DialogPortal as Ae, DialogTitle as Re, DialogTrigger as ke, dialogContentVariants as Oe } from "./components/ui/dialog/dialog.js";
|
|
19
|
+
import { DropdownMenu as Ne, DropdownMenuCheckboxItem as je, DropdownMenuContent as qe, DropdownMenuGroup as Je, DropdownMenuItem as Ke, DropdownMenuLabel as Qe, DropdownMenuPortal as Ue, DropdownMenuRadioGroup as Xe, DropdownMenuRadioItem as Ye, DropdownMenuSeparator as Ze, DropdownMenuShortcut as _e, DropdownMenuSub as $e, DropdownMenuSubContent as er, DropdownMenuSubTrigger as rr, DropdownMenuTrigger as tr } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
20
|
+
import { Empty as ar, EmptyActions as nr, EmptyDescription as ir, EmptyHeader as lr, EmptyIcon as pr, EmptyLinks as dr, EmptyTitle as Sr } from "./components/ui/empty/empty.js";
|
|
21
|
+
import { InputText as cr, InputText as sr } from "./components/ui/input-text/input-text.js";
|
|
22
|
+
import { InputDatePicker as br } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
23
|
+
import { InputSearch as Tr, InputSearch as xr } from "./components/ui/input-search/input-search.js";
|
|
24
|
+
import { InputSelect as Ir, InputSelectContent as hr, InputSelectDescription as Cr, InputSelectError as fr, InputSelectField as yr, InputSelectGroup as Pr, InputSelectItem as Mr, InputSelectLabel as Br, InputSelectSearch as wr, InputSelectSection as Vr, InputSelectSectionLabel as vr, InputSelectStatus as Fr, InputSelectTrigger as Hr, InputSelectValue as Lr, InputSelect as Er, InputSelectContent as Gr, InputSelectSection as Wr, InputSelectSectionLabel as Ar, InputSelectItem as Rr, InputSelectTrigger as kr, InputSelectValue as Or } from "./components/ui/input-select/input-select.js";
|
|
25
|
+
import { InputTextArea as Nr, InputTextArea as jr } from "./components/ui/input-text-area/input-text-area.js";
|
|
26
|
+
import { Label as Jr, labelClassName as Kr } from "./components/ui/label/label.js";
|
|
27
|
+
import { Link as Ur } from "./components/ui/link/link.js";
|
|
28
|
+
import { Popover as Yr, PopoverContent as Zr, PopoverPortal as _r, PopoverTrigger as $r } from "./components/ui/popover/popover.js";
|
|
29
|
+
import { Progress as rt } from "./components/ui/progress/progress.js";
|
|
30
|
+
import { Radio as ot, RadioGroup as at } from "./components/ui/radio/radio.js";
|
|
31
|
+
import { ResizableHandle as it, ResizablePanel as lt, ResizablePanelGroup as pt } from "./components/ui/resizable/resizable.js";
|
|
32
|
+
import { SearchGlobal as St } from "./components/ui/search-global/search-global.js";
|
|
33
|
+
import { Separator as ct } from "./components/ui/separator/separator.js";
|
|
34
|
+
import { SidebarPrimary as mt, SidebarPrimaryCollapseTrigger as bt, SidebarPrimaryContent as gt, SidebarPrimaryFooter as Tt, SidebarPrimaryHeader as xt, SidebarPrimaryMenu as Dt, SidebarPrimaryMenuItem as It, SidebarPrimaryMenuItemExtras as ht, SidebarPrimarySection as Ct, sidebarPrimaryMenuItemVariants as ft } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
35
|
+
import { SidebarSecondary as Pt, SidebarSecondaryCollapseTrigger as Mt, SidebarSecondaryCollapsedBreadcrumb as Bt, SidebarSecondaryContent as wt, SidebarSecondaryFooter as Vt, SidebarSecondaryHeader as vt, SidebarSecondaryMenu as Ft, SidebarSecondaryMenuItem as Ht, SidebarSecondaryMenuItemExtras as Lt, SidebarSecondaryMenuSub as Et, SidebarSecondaryMenuSubContent as Gt, SidebarSecondaryMenuSubItem as Wt, SidebarSecondaryMenuSubTrigger as At, SidebarSecondarySection as Rt, SidebarSecondarySectionLabel as kt, sidebarSecondaryMenuItemVariants as Ot } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
36
|
+
import { Spinner as Nt, spinnerVariants as jt } from "./components/ui/spinner/spinner.js";
|
|
37
|
+
import { Switch as Jt } from "./components/ui/switch/switch.js";
|
|
38
|
+
import { Table as Qt, TableBody as Ut, TableCaption as Xt, TableCell as Yt, TableFooter as Zt, TableHead as _t, TableHeader as $t, TableRow as eo } from "./components/ui/table/table.js";
|
|
39
|
+
import { Tabs as to, TabsContent as oo, TabsList as ao, TabsTrigger as no } from "./components/ui/tabs/tabs.js";
|
|
40
|
+
import { Toaster as lo, toast as po } from "./components/ui/toast/toast.js";
|
|
41
|
+
import { Tooltip as uo, TooltipContent as co, TooltipProvider as so, TooltipTrigger as mo } from "./components/ui/tooltip/tooltip.js";
|
|
42
|
+
import { WidgetPlaceholder as go, WidgetPlaceholderAction as To, WidgetPlaceholderContent as xo, WidgetPlaceholderFooter as Do, WidgetPlaceholderHeader as Io, WidgetPlaceholderIcon as ho, WidgetPlaceholderImage as Co, WidgetPlaceholderText as fo, WidgetPlaceholderTitle as yo } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
27
43
|
export {
|
|
28
|
-
|
|
44
|
+
a as Avatar,
|
|
29
45
|
n as AvatarFallback,
|
|
30
46
|
i as AvatarGroup,
|
|
31
47
|
l as AvatarImage,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
P as
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
G as
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
48
|
+
S as Badge,
|
|
49
|
+
m as Breadcrumb,
|
|
50
|
+
b as BreadcrumbEllipsis,
|
|
51
|
+
g as BreadcrumbItem,
|
|
52
|
+
T as BreadcrumbLink,
|
|
53
|
+
x as BreadcrumbList,
|
|
54
|
+
D as BreadcrumbPage,
|
|
55
|
+
I as BreadcrumbSeparator,
|
|
56
|
+
C as Button,
|
|
57
|
+
P as ButtonIcon,
|
|
58
|
+
w as ButtonMenu,
|
|
59
|
+
F as Card,
|
|
60
|
+
H as CardContent,
|
|
61
|
+
L as CardDescription,
|
|
62
|
+
R as CardFilter,
|
|
63
|
+
E as CardFooter,
|
|
64
|
+
G as CardHeader,
|
|
65
|
+
W as CardTitle,
|
|
66
|
+
z as Checkbox,
|
|
67
|
+
j as Chip,
|
|
68
|
+
K as DataTable,
|
|
69
|
+
U as DataTableColumnHeader,
|
|
70
|
+
Y as DataTablePagination,
|
|
71
|
+
_ as DataTableToolbar,
|
|
72
|
+
ee as DataTableViewOptions,
|
|
73
|
+
te as Details,
|
|
74
|
+
oe as DetailsBody,
|
|
75
|
+
ae as DetailsClose,
|
|
76
|
+
ne as DetailsCloseButton,
|
|
77
|
+
ie as DetailsContent,
|
|
78
|
+
le as DetailsDescription,
|
|
79
|
+
pe as DetailsFooter,
|
|
80
|
+
de as DetailsHeader,
|
|
81
|
+
Se as DetailsOverlay,
|
|
82
|
+
ue as DetailsPortal,
|
|
83
|
+
ce as DetailsTitle,
|
|
84
|
+
se as DetailsTrigger,
|
|
85
|
+
we as Dialog,
|
|
86
|
+
Ve as DialogBody,
|
|
87
|
+
ve as DialogClose,
|
|
88
|
+
Fe as DialogCloseButton,
|
|
89
|
+
He as DialogContent,
|
|
90
|
+
Le as DialogDescription,
|
|
91
|
+
Ee as DialogFooter,
|
|
92
|
+
Ge as DialogHeader,
|
|
93
|
+
We as DialogOverlay,
|
|
94
|
+
Ae as DialogPortal,
|
|
95
|
+
Re as DialogTitle,
|
|
96
|
+
ke as DialogTrigger,
|
|
97
|
+
Ne as DropdownMenu,
|
|
98
|
+
je as DropdownMenuCheckboxItem,
|
|
99
|
+
qe as DropdownMenuContent,
|
|
100
|
+
Je as DropdownMenuGroup,
|
|
101
|
+
Ke as DropdownMenuItem,
|
|
102
|
+
Qe as DropdownMenuLabel,
|
|
103
|
+
Ue as DropdownMenuPortal,
|
|
104
|
+
Xe as DropdownMenuRadioGroup,
|
|
105
|
+
Ye as DropdownMenuRadioItem,
|
|
106
|
+
Ze as DropdownMenuSeparator,
|
|
107
|
+
_e as DropdownMenuShortcut,
|
|
108
|
+
$e as DropdownMenuSub,
|
|
109
|
+
er as DropdownMenuSubContent,
|
|
110
|
+
rr as DropdownMenuSubTrigger,
|
|
111
|
+
tr as DropdownMenuTrigger,
|
|
112
|
+
ar as Empty,
|
|
113
|
+
nr as EmptyActions,
|
|
114
|
+
ir as EmptyDescription,
|
|
115
|
+
lr as EmptyHeader,
|
|
116
|
+
pr as EmptyIcon,
|
|
117
|
+
dr as EmptyLinks,
|
|
118
|
+
Sr as EmptyTitle,
|
|
119
|
+
cr as Input,
|
|
120
|
+
br as InputDatePicker,
|
|
121
|
+
Tr as InputSearch,
|
|
122
|
+
Ir as InputSelect,
|
|
123
|
+
hr as InputSelectContent,
|
|
124
|
+
Cr as InputSelectDescription,
|
|
125
|
+
fr as InputSelectError,
|
|
126
|
+
yr as InputSelectField,
|
|
127
|
+
Pr as InputSelectGroup,
|
|
128
|
+
Mr as InputSelectItem,
|
|
129
|
+
Br as InputSelectLabel,
|
|
130
|
+
wr as InputSelectSearch,
|
|
131
|
+
Vr as InputSelectSection,
|
|
132
|
+
vr as InputSelectSectionLabel,
|
|
133
|
+
Fr as InputSelectStatus,
|
|
134
|
+
Hr as InputSelectTrigger,
|
|
135
|
+
Lr as InputSelectValue,
|
|
136
|
+
sr as InputText,
|
|
137
|
+
Nr as InputTextArea,
|
|
138
|
+
Jr as Label,
|
|
139
|
+
Ur as Link,
|
|
140
|
+
Yr as Popover,
|
|
141
|
+
Zr as PopoverContent,
|
|
142
|
+
_r as PopoverPortal,
|
|
143
|
+
$r as PopoverTrigger,
|
|
144
|
+
rt as Progress,
|
|
145
|
+
ot as Radio,
|
|
146
|
+
at as RadioGroup,
|
|
147
|
+
it as ResizableHandle,
|
|
148
|
+
lt as ResizablePanel,
|
|
149
|
+
pt as ResizablePanelGroup,
|
|
150
|
+
xr as Search,
|
|
151
|
+
St as SearchGlobal,
|
|
152
|
+
Er as Select,
|
|
153
|
+
Gr as SelectContent,
|
|
154
|
+
Wr as SelectGroup,
|
|
155
|
+
Ar as SelectGroupLabel,
|
|
156
|
+
Rr as SelectItem,
|
|
157
|
+
kr as SelectTrigger,
|
|
158
|
+
Or as SelectValue,
|
|
159
|
+
ct as Separator,
|
|
160
|
+
me as Sheet,
|
|
161
|
+
be as SheetBody,
|
|
162
|
+
ge as SheetClose,
|
|
163
|
+
Te as SheetCloseButton,
|
|
164
|
+
xe as SheetContent,
|
|
165
|
+
De as SheetDescription,
|
|
166
|
+
Ie as SheetFooter,
|
|
167
|
+
he as SheetHeader,
|
|
168
|
+
Ce as SheetOverlay,
|
|
169
|
+
fe as SheetPortal,
|
|
170
|
+
ye as SheetTitle,
|
|
171
|
+
Pe as SheetTrigger,
|
|
172
|
+
mt as SidebarPrimary,
|
|
173
|
+
bt as SidebarPrimaryCollapseTrigger,
|
|
174
|
+
gt as SidebarPrimaryContent,
|
|
175
|
+
Tt as SidebarPrimaryFooter,
|
|
176
|
+
xt as SidebarPrimaryHeader,
|
|
177
|
+
Dt as SidebarPrimaryMenu,
|
|
178
|
+
It as SidebarPrimaryMenuItem,
|
|
179
|
+
ht as SidebarPrimaryMenuItemExtras,
|
|
180
|
+
Ct as SidebarPrimarySection,
|
|
181
|
+
Pt as SidebarSecondary,
|
|
182
|
+
Mt as SidebarSecondaryCollapseTrigger,
|
|
183
|
+
Bt as SidebarSecondaryCollapsedBreadcrumb,
|
|
184
|
+
wt as SidebarSecondaryContent,
|
|
185
|
+
Vt as SidebarSecondaryFooter,
|
|
186
|
+
vt as SidebarSecondaryHeader,
|
|
187
|
+
Ft as SidebarSecondaryMenu,
|
|
188
|
+
Ht as SidebarSecondaryMenuItem,
|
|
189
|
+
Lt as SidebarSecondaryMenuItemExtras,
|
|
190
|
+
Et as SidebarSecondaryMenuSub,
|
|
191
|
+
Gt as SidebarSecondaryMenuSubContent,
|
|
192
|
+
Wt as SidebarSecondaryMenuSubItem,
|
|
193
|
+
At as SidebarSecondaryMenuSubTrigger,
|
|
194
|
+
Rt as SidebarSecondarySection,
|
|
195
|
+
kt as SidebarSecondarySectionLabel,
|
|
196
|
+
Nt as Spinner,
|
|
197
|
+
Jt as Switch,
|
|
198
|
+
Qt as Table,
|
|
199
|
+
Ut as TableBody,
|
|
200
|
+
Xt as TableCaption,
|
|
201
|
+
Yt as TableCell,
|
|
202
|
+
Zt as TableFooter,
|
|
203
|
+
_t as TableHead,
|
|
204
|
+
$t as TableHeader,
|
|
205
|
+
eo as TableRow,
|
|
206
|
+
to as Tabs,
|
|
207
|
+
oo as TabsContent,
|
|
208
|
+
ao as TabsList,
|
|
209
|
+
no as TabsTrigger,
|
|
210
|
+
u as Tag,
|
|
211
|
+
jr as Textarea,
|
|
212
|
+
lo as Toaster,
|
|
213
|
+
uo as Tooltip,
|
|
214
|
+
co as TooltipContent,
|
|
215
|
+
so as TooltipProvider,
|
|
216
|
+
mo as TooltipTrigger,
|
|
217
|
+
go as WidgetPlaceholder,
|
|
218
|
+
To as WidgetPlaceholderAction,
|
|
219
|
+
xo as WidgetPlaceholderContent,
|
|
220
|
+
Do as WidgetPlaceholderFooter,
|
|
221
|
+
Io as WidgetPlaceholderHeader,
|
|
222
|
+
ho as WidgetPlaceholderIcon,
|
|
223
|
+
Co as WidgetPlaceholderImage,
|
|
224
|
+
fo as WidgetPlaceholderText,
|
|
225
|
+
yo as WidgetPlaceholderTitle,
|
|
226
|
+
p as avatarVariants,
|
|
227
|
+
M as buttonIconVariants,
|
|
228
|
+
V as buttonMenuVariants,
|
|
229
|
+
f as buttonVariants,
|
|
230
|
+
k as cardFilterVariants,
|
|
231
|
+
q as chipVariants,
|
|
142
232
|
t as cn,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
233
|
+
Oe as dialogContentVariants,
|
|
234
|
+
Kr as labelClassName,
|
|
235
|
+
Me as sheetVariants,
|
|
236
|
+
ft as sidebarPrimaryMenuItemVariants,
|
|
237
|
+
Ot as sidebarSecondaryMenuItemVariants,
|
|
238
|
+
jt as spinnerVariants,
|
|
239
|
+
c as tagVariants,
|
|
240
|
+
po as toast
|
|
147
241
|
};
|
|
148
242
|
//# 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,8 @@
|
|
|
1
|
+
import { Column } from '@tanstack/react-table';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
column: Column<TData, TValue>;
|
|
5
|
+
title: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Table } from '@tanstack/react-table';
|
|
2
|
+
interface DataTablePaginationProps<TData> {
|
|
3
|
+
table: Table<TData>;
|
|
4
|
+
/** Page-size options offered in the rows-per-page select. */
|
|
5
|
+
pageSizeOptions?: number[];
|
|
6
|
+
}
|
|
7
|
+
export declare function DataTablePagination<TData>({ table, pageSizeOptions, }: DataTablePaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Table } from '@tanstack/react-table';
|
|
2
|
+
interface DataTableToolbarProps<TData> {
|
|
3
|
+
table: Table<TData>;
|
|
4
|
+
/** Column id to wire the search box to (client-side text filter). */
|
|
5
|
+
searchKey?: string;
|
|
6
|
+
searchPlaceholder?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function DataTableToolbar<TData>({ table, searchKey, searchPlaceholder, }: DataTableToolbarProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Table } from '@tanstack/react-table';
|
|
2
|
+
interface DataTableViewOptionsProps<TData> {
|
|
3
|
+
table: Table<TData>;
|
|
4
|
+
}
|
|
5
|
+
export declare function DataTableViewOptions<TData>({ table, }: DataTableViewOptionsProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ColumnDef, Row } from '@tanstack/react-table';
|
|
3
|
+
export interface DataTableProps<TData, TValue> {
|
|
4
|
+
columns: ColumnDef<TData, TValue>[];
|
|
5
|
+
data: TData[];
|
|
6
|
+
/** Enables row expansion for rows that return true. Pair with `renderExpandedRow`. */
|
|
7
|
+
getRowCanExpand?: (row: Row<TData>) => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Renders expanded content for an expanded row. Used together with
|
|
10
|
+
* `getRowCanExpand`.
|
|
11
|
+
*/
|
|
12
|
+
renderExpandedRow?: (row: Row<TData>) => ReactNode;
|
|
13
|
+
/** Alternating row backgrounds. */
|
|
14
|
+
striped?: boolean;
|
|
15
|
+
/** Vertical borders between columns (rows already have horizontal borders). */
|
|
16
|
+
bordered?: boolean;
|
|
17
|
+
/** Highlight the row the user last clicked (the "current" row). */
|
|
18
|
+
highlightCurrentRow?: boolean;
|
|
19
|
+
/** Render placeholder skeleton rows instead of data (loading state). */
|
|
20
|
+
skeleton?: boolean;
|
|
21
|
+
/** Number of skeleton rows to render when `skeleton` is set. */
|
|
22
|
+
skeletonRows?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare function DataTable<TData, TValue>({ columns, data, getRowCanExpand, renderExpandedRow, striped, bordered, highlightCurrentRow, skeleton, skeletonRows, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Props for `DataTable`. */
|
|
3
|
+
export interface DataTableProps {
|
|
4
|
+
/** TanStack column definitions — header/cell renderers and accessors. */
|
|
5
|
+
columns: unknown[];
|
|
6
|
+
/** The row data. */
|
|
7
|
+
data: unknown[];
|
|
8
|
+
/** Enables row expansion for rows that return true; pair with `renderExpandedRow`. */
|
|
9
|
+
getRowCanExpand?: (row: unknown) => boolean;
|
|
10
|
+
/** Renders the detail content for an expanded row. */
|
|
11
|
+
renderExpandedRow?: (row: unknown) => ReactNode;
|
|
12
|
+
/** Alternating row backgrounds. */
|
|
13
|
+
striped?: boolean;
|
|
14
|
+
/** Vertical borders between columns (rows already have horizontal borders). */
|
|
15
|
+
bordered?: boolean;
|
|
16
|
+
/** Highlight the row the user last clicked (the "current" row). */
|
|
17
|
+
highlightCurrentRow?: boolean;
|
|
18
|
+
/** Render placeholder skeleton rows instead of data (loading state). */
|
|
19
|
+
skeleton?: boolean;
|
|
20
|
+
/** Number of skeleton rows to render when `skeleton` is set (default 5). */
|
|
21
|
+
skeletonRows?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DataTable, type DataTableProps } from './data-table';
|
|
2
|
+
export { DataTableColumnHeader } from './data-table-column-header';
|
|
3
|
+
export { DataTablePagination } from './data-table-pagination';
|
|
4
|
+
export { DataTableToolbar } from './data-table-toolbar';
|
|
5
|
+
export { DataTableViewOptions } from './data-table-view-options';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const DropdownMenu: <Payload>(props: MenuPrimitive.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const DropdownMenuTrigger: MenuPrimitive.Trigger;
|
|
5
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').ContextMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const DropdownMenuPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').ContextMenuPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const DropdownMenuSub: typeof MenuPrimitive.SubmenuRoot;
|
|
8
|
+
declare const DropdownMenuRadioGroup: React.NamedExoticComponent<Omit<import('@base-ui/react').ContextMenuRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export interface DropdownMenuContentProps extends React.ComponentPropsWithoutRef<typeof MenuPrimitive.Popup> {
|
|
10
|
+
side?: MenuPrimitive.Positioner.Props['side'];
|
|
11
|
+
align?: MenuPrimitive.Positioner.Props['align'];
|
|
12
|
+
sideOffset?: number;
|
|
13
|
+
/** Render inside a portal (default `true`). */
|
|
14
|
+
portal?: boolean;
|
|
15
|
+
/** Portal container — pass a shadow-root mount for isolated-style previews. */
|
|
16
|
+
portalContainer?: MenuPrimitive.Portal.Props['container'];
|
|
17
|
+
keepMounted?: MenuPrimitive.Portal.Props['keepMounted'];
|
|
18
|
+
}
|
|
19
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
+
sideOffset?: number;
|
|
22
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & {
|
|
24
|
+
inset?: boolean;
|
|
25
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
26
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuSubmenuTriggerProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & {
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
29
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuCheckboxItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
30
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuRadioItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
31
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
32
|
+
inset?: boolean;
|
|
33
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare function DropdownMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare namespace DropdownMenuShortcut {
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Props for `DropdownMenuContent` — the positioned, portaled menu popup. */
|
|
3
|
+
export interface DropdownMenuContentProps {
|
|
4
|
+
/** Which side of the trigger to render on. Defaults to `bottom`. */
|
|
5
|
+
side?: 'top' | 'bottom' | 'left' | 'right' | 'inline-start' | 'inline-end';
|
|
6
|
+
/** Alignment along the chosen side. */
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
/** Distance in px from the trigger. Defaults to `4`. */
|
|
9
|
+
sideOffset?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Render inside a portal (default `true`). Disable only when you supply your
|
|
12
|
+
* own `DropdownMenuPortal` ancestor.
|
|
13
|
+
*/
|
|
14
|
+
portal?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
17
|
+
* (the docs demos do this via `useShadowMount`).
|
|
18
|
+
*/
|
|
19
|
+
portalContainer?: HTMLElement | null;
|
|
20
|
+
/** Keep the content mounted while closed. */
|
|
21
|
+
keepMounted?: boolean;
|
|
22
|
+
/** Extra classes merged onto the popup. */
|
|
23
|
+
className?: string;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, type DropdownMenuContentProps, } from './dropdown-menu';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Empty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const EmptyIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const EmptyHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const EmptyTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
6
|
+
declare const EmptyDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
declare const EmptyActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const EmptyLinks: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export { Empty, EmptyIcon, EmptyHeader, EmptyTitle, EmptyDescription, EmptyActions, EmptyLinks, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Empty, EmptyIcon, EmptyHeader, EmptyTitle, EmptyDescription, EmptyActions, EmptyLinks, } from './empty';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Label, labelClassName, type LabelProps } from './label';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const labelClassName = "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70";
|
|
3
|
+
export type LabelProps = React.ComponentPropsWithoutRef<'label'>;
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
+
export { Label, labelClassName };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Props for `Label` — a caption for a form control. */
|
|
3
|
+
export interface LabelProps {
|
|
4
|
+
/** The `id` of the control this label captions; clicking focuses it. */
|
|
5
|
+
htmlFor?: string;
|
|
6
|
+
/** Extra classes merged onto the label. */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** The label text. */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Popover, PopoverTrigger, PopoverPortal, PopoverContent, type PopoverContentProps, } from './popover';
|