@acronis-platform/ui-react 0.36.0 → 0.43.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/card/card.js +92 -0
- package/dist/components/ui/card/card.js.map +1 -0
- 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/dialog/dialog.js +140 -0
- package/dist/components/ui/dialog/dialog.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/input/input.js +2 -2
- package/dist/components/ui/input/input.js.map +1 -1
- package/dist/components/ui/input-search/input-search.js +4 -4
- package/dist/components/ui/input-search/input-search.js.map +1 -1
- package/dist/components/ui/input-text/input-text.js +1 -1
- package/dist/components/ui/input-text/input-text.js.map +1 -1
- 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/search/search.js +2 -2
- package/dist/components/ui/search/search.js.map +1 -1
- package/dist/components/ui/separator/separator.js +22 -0
- package/dist/components/ui/separator/separator.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/table/table.js +118 -0
- package/dist/components/ui/table/table.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 +210 -113
- 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 +210 -113
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/card/card.d.ts +17 -0
- package/dist/src/components/ui/card/index.d.ts +1 -0
- 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/dialog/dialog.d.ts +39 -0
- package/dist/src/components/ui/dialog/dialog.docs.d.ts +24 -0
- package/dist/src/components/ui/dialog/index.d.ts +1 -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/input/index.d.ts +1 -1
- package/dist/src/components/ui/input/input.d.ts +3 -3
- package/dist/src/components/ui/input-search/input-search.d.ts +2 -2
- 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/search/index.d.ts +1 -1
- package/dist/src/components/ui/search/search.d.ts +3 -3
- 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/spinner/index.d.ts +1 -0
- package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
- package/dist/src/components/ui/table/index.d.ts +1 -0
- package/dist/src/components/ui/table/table.d.ts +23 -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 +18 -2
- package/dist/ui-react.css +1 -1
- package/package.json +4 -1
package/dist/react.js
CHANGED
|
@@ -1,119 +1,216 @@
|
|
|
1
|
-
import { cn as
|
|
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 {
|
|
1
|
+
import { cn as o } from "./lib/utils.js";
|
|
2
|
+
import { Avatar as a, AvatarFallback as n, AvatarGroup as i, AvatarImage as p, avatarVariants as l } from "./components/ui/avatar/avatar.js";
|
|
3
|
+
import { Tag as u, Tag as S, tagVariants as c } from "./components/ui/tag/tag.js";
|
|
4
|
+
import { Breadcrumb as b, BreadcrumbEllipsis as s, BreadcrumbItem as g, BreadcrumbLink as x, BreadcrumbList as I, BreadcrumbPage as T, BreadcrumbSeparator as f } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as y, buttonVariants as C } from "./components/ui/button/button.js";
|
|
6
|
+
import { ButtonIcon as M, buttonIconVariants as h } from "./components/ui/button-icon/button-icon.js";
|
|
7
|
+
import { ButtonMenu as B, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
|
|
8
|
+
import { Card as v, CardContent as E, CardDescription as F, CardFooter as H, 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 O } 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 { Dialog as oe, DialogBody as te, DialogClose as ae, DialogCloseButton as ne, DialogContent as ie, DialogDescription as pe, DialogFooter as le, DialogHeader as de, DialogOverlay as ue, DialogPortal as Se, DialogTitle as ce, DialogTrigger as me, dialogContentVariants as be } from "./components/ui/dialog/dialog.js";
|
|
18
|
+
import { DropdownMenu as ge, DropdownMenuCheckboxItem as xe, DropdownMenuContent as Ie, DropdownMenuGroup as Te, DropdownMenuItem as fe, DropdownMenuLabel as De, DropdownMenuPortal as ye, DropdownMenuRadioGroup as Ce, DropdownMenuRadioItem as Pe, DropdownMenuSeparator as Me, DropdownMenuShortcut as he, DropdownMenuSub as we, DropdownMenuSubContent as Be, DropdownMenuSubTrigger as Ve, DropdownMenuTrigger as Le } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
19
|
+
import { Empty as Ee, EmptyActions as Fe, EmptyDescription as He, EmptyHeader as Ge, EmptyIcon as We, EmptyLinks as Ae, EmptyTitle as Re } from "./components/ui/empty/empty.js";
|
|
20
|
+
import { InputText as ze, InputText as Oe } from "./components/ui/input-text/input-text.js";
|
|
21
|
+
import { InputDatePicker as je } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
22
|
+
import { InputSearch as Je, InputSearch as Ke } from "./components/ui/input-search/input-search.js";
|
|
23
|
+
import { InputSelect as Ue, InputSelectContent as Xe, InputSelectDescription as Ye, InputSelectError as Ze, InputSelectField as _e, InputSelectGroup as $e, InputSelectItem as er, InputSelectLabel as rr, InputSelectSearch as or, InputSelectSection as tr, InputSelectSectionLabel as ar, InputSelectStatus as nr, InputSelectTrigger as ir, InputSelectValue as pr, InputSelect as lr, InputSelectContent as dr, InputSelectSection as ur, InputSelectSectionLabel as Sr, InputSelectItem as cr, InputSelectTrigger as mr, InputSelectValue as br } from "./components/ui/input-select/input-select.js";
|
|
24
|
+
import { InputTextArea as gr, InputTextArea as xr } from "./components/ui/input-text-area/input-text-area.js";
|
|
25
|
+
import { Label as Tr, labelClassName as fr } from "./components/ui/label/label.js";
|
|
26
|
+
import { Link as yr } from "./components/ui/link/link.js";
|
|
27
|
+
import { Popover as Pr, PopoverContent as Mr, PopoverPortal as hr, PopoverTrigger as wr } from "./components/ui/popover/popover.js";
|
|
28
|
+
import { Progress as Vr } from "./components/ui/progress/progress.js";
|
|
29
|
+
import { Radio as vr, RadioGroup as Er } from "./components/ui/radio/radio.js";
|
|
30
|
+
import { ResizableHandle as Hr, ResizablePanel as Gr, ResizablePanelGroup as Wr } from "./components/ui/resizable/resizable.js";
|
|
31
|
+
import { SearchGlobal as Rr } from "./components/ui/search-global/search-global.js";
|
|
32
|
+
import { Separator as zr } from "./components/ui/separator/separator.js";
|
|
33
|
+
import { SidebarPrimary as Nr, SidebarPrimaryCollapseTrigger as jr, SidebarPrimaryContent as qr, SidebarPrimaryFooter as Jr, SidebarPrimaryHeader as Kr, SidebarPrimaryMenu as Qr, SidebarPrimaryMenuItem as Ur, SidebarPrimaryMenuItemExtras as Xr, SidebarPrimarySection as Yr, sidebarPrimaryMenuItemVariants as Zr } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
34
|
+
import { SidebarSecondary as $r, SidebarSecondaryCollapseTrigger as eo, SidebarSecondaryCollapsedBreadcrumb as ro, SidebarSecondaryContent as oo, SidebarSecondaryFooter as to, SidebarSecondaryHeader as ao, SidebarSecondaryMenu as no, SidebarSecondaryMenuItem as io, SidebarSecondaryMenuItemExtras as po, SidebarSecondaryMenuSub as lo, SidebarSecondaryMenuSubContent as uo, SidebarSecondaryMenuSubItem as So, SidebarSecondaryMenuSubTrigger as co, SidebarSecondarySection as mo, SidebarSecondarySectionLabel as bo, sidebarSecondaryMenuItemVariants as so } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
35
|
+
import { Spinner as xo, spinnerVariants as Io } from "./components/ui/spinner/spinner.js";
|
|
36
|
+
import { Switch as fo } from "./components/ui/switch/switch.js";
|
|
37
|
+
import { Table as yo, TableBody as Co, TableCaption as Po, TableCell as Mo, TableFooter as ho, TableHead as wo, TableHeader as Bo, TableRow as Vo } from "./components/ui/table/table.js";
|
|
38
|
+
import { Tabs as vo, TabsContent as Eo, TabsList as Fo, TabsTrigger as Ho } from "./components/ui/tabs/tabs.js";
|
|
39
|
+
import { Toaster as Wo, toast as Ao } from "./components/ui/toast/toast.js";
|
|
40
|
+
import { Tooltip as ko, TooltipContent as zo, TooltipProvider as Oo, TooltipTrigger as No } from "./components/ui/tooltip/tooltip.js";
|
|
41
|
+
import { WidgetPlaceholder as qo, WidgetPlaceholderAction as Jo, WidgetPlaceholderContent as Ko, WidgetPlaceholderFooter as Qo, WidgetPlaceholderHeader as Uo, WidgetPlaceholderIcon as Xo, WidgetPlaceholderImage as Yo, WidgetPlaceholderText as Zo, WidgetPlaceholderTitle as _o } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
26
42
|
export {
|
|
27
|
-
|
|
43
|
+
a as Avatar,
|
|
28
44
|
n as AvatarFallback,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
u as
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
I as
|
|
37
|
-
|
|
45
|
+
i as AvatarGroup,
|
|
46
|
+
p as AvatarImage,
|
|
47
|
+
u as Badge,
|
|
48
|
+
b as Breadcrumb,
|
|
49
|
+
s as BreadcrumbEllipsis,
|
|
50
|
+
g as BreadcrumbItem,
|
|
51
|
+
x as BreadcrumbLink,
|
|
52
|
+
I as BreadcrumbList,
|
|
53
|
+
T as BreadcrumbPage,
|
|
54
|
+
f as BreadcrumbSeparator,
|
|
38
55
|
y as Button,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
H as
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
Fe as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
je as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
56
|
+
M as ButtonIcon,
|
|
57
|
+
B as ButtonMenu,
|
|
58
|
+
v as Card,
|
|
59
|
+
E as CardContent,
|
|
60
|
+
F as CardDescription,
|
|
61
|
+
R as CardFilter,
|
|
62
|
+
H as CardFooter,
|
|
63
|
+
G as CardHeader,
|
|
64
|
+
W as CardTitle,
|
|
65
|
+
O as Checkbox,
|
|
66
|
+
j as Chip,
|
|
67
|
+
K as DataTable,
|
|
68
|
+
U as DataTableColumnHeader,
|
|
69
|
+
Y as DataTablePagination,
|
|
70
|
+
_ as DataTableToolbar,
|
|
71
|
+
ee as DataTableViewOptions,
|
|
72
|
+
oe as Dialog,
|
|
73
|
+
te as DialogBody,
|
|
74
|
+
ae as DialogClose,
|
|
75
|
+
ne as DialogCloseButton,
|
|
76
|
+
ie as DialogContent,
|
|
77
|
+
pe as DialogDescription,
|
|
78
|
+
le as DialogFooter,
|
|
79
|
+
de as DialogHeader,
|
|
80
|
+
ue as DialogOverlay,
|
|
81
|
+
Se as DialogPortal,
|
|
82
|
+
ce as DialogTitle,
|
|
83
|
+
me as DialogTrigger,
|
|
84
|
+
ge as DropdownMenu,
|
|
85
|
+
xe as DropdownMenuCheckboxItem,
|
|
86
|
+
Ie as DropdownMenuContent,
|
|
87
|
+
Te as DropdownMenuGroup,
|
|
88
|
+
fe as DropdownMenuItem,
|
|
89
|
+
De as DropdownMenuLabel,
|
|
90
|
+
ye as DropdownMenuPortal,
|
|
91
|
+
Ce as DropdownMenuRadioGroup,
|
|
92
|
+
Pe as DropdownMenuRadioItem,
|
|
93
|
+
Me as DropdownMenuSeparator,
|
|
94
|
+
he as DropdownMenuShortcut,
|
|
95
|
+
we as DropdownMenuSub,
|
|
96
|
+
Be as DropdownMenuSubContent,
|
|
97
|
+
Ve as DropdownMenuSubTrigger,
|
|
98
|
+
Le as DropdownMenuTrigger,
|
|
99
|
+
Ee as Empty,
|
|
100
|
+
Fe as EmptyActions,
|
|
101
|
+
He as EmptyDescription,
|
|
102
|
+
Ge as EmptyHeader,
|
|
103
|
+
We as EmptyIcon,
|
|
104
|
+
Ae as EmptyLinks,
|
|
105
|
+
Re as EmptyTitle,
|
|
106
|
+
ze as Input,
|
|
107
|
+
je as InputDatePicker,
|
|
108
|
+
Je as InputSearch,
|
|
109
|
+
Ue as InputSelect,
|
|
110
|
+
Xe as InputSelectContent,
|
|
111
|
+
Ye as InputSelectDescription,
|
|
112
|
+
Ze as InputSelectError,
|
|
113
|
+
_e as InputSelectField,
|
|
114
|
+
$e as InputSelectGroup,
|
|
115
|
+
er as InputSelectItem,
|
|
116
|
+
rr as InputSelectLabel,
|
|
117
|
+
or as InputSelectSearch,
|
|
118
|
+
tr as InputSelectSection,
|
|
119
|
+
ar as InputSelectSectionLabel,
|
|
120
|
+
nr as InputSelectStatus,
|
|
121
|
+
ir as InputSelectTrigger,
|
|
122
|
+
pr as InputSelectValue,
|
|
123
|
+
Oe as InputText,
|
|
124
|
+
gr as InputTextArea,
|
|
125
|
+
Tr as Label,
|
|
126
|
+
yr as Link,
|
|
127
|
+
Pr as Popover,
|
|
128
|
+
Mr as PopoverContent,
|
|
129
|
+
hr as PopoverPortal,
|
|
130
|
+
wr as PopoverTrigger,
|
|
131
|
+
Vr as Progress,
|
|
132
|
+
vr as Radio,
|
|
133
|
+
Er as RadioGroup,
|
|
134
|
+
Hr as ResizableHandle,
|
|
135
|
+
Gr as ResizablePanel,
|
|
136
|
+
Wr as ResizablePanelGroup,
|
|
137
|
+
Ke as Search,
|
|
138
|
+
Rr as SearchGlobal,
|
|
139
|
+
lr as Select,
|
|
140
|
+
dr as SelectContent,
|
|
141
|
+
ur as SelectGroup,
|
|
142
|
+
Sr as SelectGroupLabel,
|
|
143
|
+
cr as SelectItem,
|
|
144
|
+
mr as SelectTrigger,
|
|
145
|
+
br as SelectValue,
|
|
146
|
+
zr as Separator,
|
|
147
|
+
Nr as SidebarPrimary,
|
|
148
|
+
jr as SidebarPrimaryCollapseTrigger,
|
|
149
|
+
qr as SidebarPrimaryContent,
|
|
150
|
+
Jr as SidebarPrimaryFooter,
|
|
151
|
+
Kr as SidebarPrimaryHeader,
|
|
152
|
+
Qr as SidebarPrimaryMenu,
|
|
153
|
+
Ur as SidebarPrimaryMenuItem,
|
|
154
|
+
Xr as SidebarPrimaryMenuItemExtras,
|
|
155
|
+
Yr as SidebarPrimarySection,
|
|
156
|
+
$r as SidebarSecondary,
|
|
157
|
+
eo as SidebarSecondaryCollapseTrigger,
|
|
158
|
+
ro as SidebarSecondaryCollapsedBreadcrumb,
|
|
159
|
+
oo as SidebarSecondaryContent,
|
|
160
|
+
to as SidebarSecondaryFooter,
|
|
161
|
+
ao as SidebarSecondaryHeader,
|
|
162
|
+
no as SidebarSecondaryMenu,
|
|
163
|
+
io as SidebarSecondaryMenuItem,
|
|
164
|
+
po as SidebarSecondaryMenuItemExtras,
|
|
165
|
+
lo as SidebarSecondaryMenuSub,
|
|
166
|
+
uo as SidebarSecondaryMenuSubContent,
|
|
167
|
+
So as SidebarSecondaryMenuSubItem,
|
|
168
|
+
co as SidebarSecondaryMenuSubTrigger,
|
|
169
|
+
mo as SidebarSecondarySection,
|
|
170
|
+
bo as SidebarSecondarySectionLabel,
|
|
171
|
+
xo as Spinner,
|
|
172
|
+
fo as Switch,
|
|
173
|
+
yo as Table,
|
|
174
|
+
Co as TableBody,
|
|
175
|
+
Po as TableCaption,
|
|
176
|
+
Mo as TableCell,
|
|
177
|
+
ho as TableFooter,
|
|
178
|
+
wo as TableHead,
|
|
179
|
+
Bo as TableHeader,
|
|
180
|
+
Vo as TableRow,
|
|
181
|
+
vo as Tabs,
|
|
182
|
+
Eo as TabsContent,
|
|
183
|
+
Fo as TabsList,
|
|
184
|
+
Ho as TabsTrigger,
|
|
185
|
+
S as Tag,
|
|
186
|
+
xr as Textarea,
|
|
187
|
+
Wo as Toaster,
|
|
188
|
+
ko as Tooltip,
|
|
189
|
+
zo as TooltipContent,
|
|
190
|
+
Oo as TooltipProvider,
|
|
191
|
+
No as TooltipTrigger,
|
|
192
|
+
qo as WidgetPlaceholder,
|
|
193
|
+
Jo as WidgetPlaceholderAction,
|
|
194
|
+
Ko as WidgetPlaceholderContent,
|
|
195
|
+
Qo as WidgetPlaceholderFooter,
|
|
196
|
+
Uo as WidgetPlaceholderHeader,
|
|
197
|
+
Xo as WidgetPlaceholderIcon,
|
|
198
|
+
Yo as WidgetPlaceholderImage,
|
|
199
|
+
Zo as WidgetPlaceholderText,
|
|
200
|
+
_o as WidgetPlaceholderTitle,
|
|
201
|
+
l as avatarVariants,
|
|
202
|
+
h as buttonIconVariants,
|
|
110
203
|
V as buttonMenuVariants,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
204
|
+
C as buttonVariants,
|
|
205
|
+
k as cardFilterVariants,
|
|
206
|
+
q as chipVariants,
|
|
207
|
+
o as cn,
|
|
208
|
+
be as dialogContentVariants,
|
|
209
|
+
fr as labelClassName,
|
|
210
|
+
Zr as sidebarPrimaryMenuItemVariants,
|
|
211
|
+
so as sidebarSecondaryMenuItemVariants,
|
|
212
|
+
Io as spinnerVariants,
|
|
213
|
+
c as tagVariants,
|
|
214
|
+
Ao as toast
|
|
118
215
|
};
|
|
119
216
|
//# 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,17 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface CardPartProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Replace the rendered `<div>` with another element or component (Base UI
|
|
6
|
+
* composition) — e.g. render `CardTitle` as a heading. The component's props
|
|
7
|
+
* and class names are merged onto it.
|
|
8
|
+
*/
|
|
9
|
+
render?: useRender.RenderProp;
|
|
10
|
+
}
|
|
11
|
+
declare const Card: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const CardHeader: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const CardTitle: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const CardDescription: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const CardContent: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const CardFooter: React.ForwardRefExoticComponent<CardPartProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, type CardPartProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, type CardPartProps, } from './card';
|
|
@@ -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 { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const dialogContentVariants: (props?: ({
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
declare const Dialog: typeof DialogPrimitive.Root;
|
|
8
|
+
declare const DialogTrigger: DialogPrimitive.Trigger;
|
|
9
|
+
declare const DialogPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').AlertDialogPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').AlertDialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Popup>, VariantProps<typeof dialogContentVariants> {
|
|
13
|
+
/**
|
|
14
|
+
* Popup max-width. `sm` 512 · `xs` 464 · `md` 672 · `lg` 832 · `xl` 992 ·
|
|
15
|
+
* `2xl` 1136 (px). Defaults to `sm`.
|
|
16
|
+
*/
|
|
17
|
+
size?: VariantProps<typeof dialogContentVariants>['size'];
|
|
18
|
+
/**
|
|
19
|
+
* Render the content inside a portal (default `true`). Base UI requires the
|
|
20
|
+
* Popup to sit in a Portal for correct stacking; set `false` for inline usage
|
|
21
|
+
* (e.g. when the caller supplies its own `DialogPortal`, or in tests).
|
|
22
|
+
*/
|
|
23
|
+
portal?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
26
|
+
* (the docs demos do this via `useShadowMount`).
|
|
27
|
+
*/
|
|
28
|
+
portalContainer?: DialogPrimitive.Portal.Props['container'];
|
|
29
|
+
/** Keep the content mounted while closed (Base UI `Portal` prop). */
|
|
30
|
+
keepMounted?: DialogPrimitive.Portal.Props['keepMounted'];
|
|
31
|
+
}
|
|
32
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const DialogHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const DialogFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const DialogBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
37
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
38
|
+
declare const DialogCloseButton: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
39
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogCloseButton, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogBody, DialogDescription, dialogContentVariants, };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Props for `DialogContent` — the portaled, centered dialog popup. */
|
|
3
|
+
export interface DialogContentProps {
|
|
4
|
+
/**
|
|
5
|
+
* Popup max-width. One of `xs` (464px) · `sm` (512px, default) · `md` (672px)
|
|
6
|
+
* · `lg` (832px) · `xl` (992px) · `2xl` (1136px).
|
|
7
|
+
*/
|
|
8
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
9
|
+
/**
|
|
10
|
+
* Render the content inside a portal (default `true`). Disable only when you
|
|
11
|
+
* supply your own `DialogPortal` ancestor (e.g. inline usage).
|
|
12
|
+
*/
|
|
13
|
+
portal?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
16
|
+
* (the docs demos do this via `useShadowMount`).
|
|
17
|
+
*/
|
|
18
|
+
portalContainer?: HTMLElement | null;
|
|
19
|
+
/** Keep the content mounted while closed. */
|
|
20
|
+
keepMounted?: boolean;
|
|
21
|
+
/** Extra classes merged onto the popup. */
|
|
22
|
+
className?: string;
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogCloseButton, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogBody, DialogDescription, dialogContentVariants, type DialogContentProps, } from './dialog';
|
|
@@ -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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { InputBox, type InputBoxProps } from './input';
|