@acronis-platform/ui-react 0.38.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.
Files changed (78) hide show
  1. package/dist/components/ui/data-table/data-table-column-header.js +48 -0
  2. package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
  3. package/dist/components/ui/data-table/data-table-pagination.js +89 -0
  4. package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
  5. package/dist/components/ui/data-table/data-table-toolbar.js +46 -0
  6. package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
  7. package/dist/components/ui/data-table/data-table-view-options.js +40 -0
  8. package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
  9. package/dist/components/ui/data-table/data-table.js +89 -0
  10. package/dist/components/ui/data-table/data-table.js.map +1 -0
  11. package/dist/components/ui/dropdown-menu/dropdown-menu.js +159 -0
  12. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  13. package/dist/components/ui/empty/empty.js +78 -0
  14. package/dist/components/ui/empty/empty.js.map +1 -0
  15. package/dist/components/ui/label/label.js +12 -0
  16. package/dist/components/ui/label/label.js.map +1 -0
  17. package/dist/components/ui/popover/popover.js +48 -0
  18. package/dist/components/ui/popover/popover.js.map +1 -0
  19. package/dist/components/ui/progress/progress.js +30 -0
  20. package/dist/components/ui/progress/progress.js.map +1 -0
  21. package/dist/components/ui/separator/separator.js +22 -0
  22. package/dist/components/ui/separator/separator.js.map +1 -0
  23. package/dist/components/ui/spinner/spinner.js +38 -0
  24. package/dist/components/ui/spinner/spinner.js.map +1 -0
  25. package/dist/components/ui/table/table.js +8 -8
  26. package/dist/components/ui/table/table.js.map +1 -1
  27. package/dist/components/ui/tabs/tabs.js +44 -0
  28. package/dist/components/ui/tabs/tabs.js.map +1 -0
  29. package/dist/components/ui/toast/toast.js +83 -0
  30. package/dist/components/ui/toast/toast.js.map +1 -0
  31. package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
  32. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
  33. package/dist/index.js +210 -142
  34. package/dist/index.js.map +1 -1
  35. 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
  36. 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
  37. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
  38. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  39. package/dist/react.js +210 -142
  40. package/dist/react.js.map +1 -1
  41. package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
  42. package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
  43. package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +9 -0
  44. package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
  45. package/dist/src/components/ui/data-table/data-table.d.ts +24 -0
  46. package/dist/src/components/ui/data-table/data-table.docs.d.ts +22 -0
  47. package/dist/src/components/ui/data-table/index.d.ts +5 -0
  48. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +39 -0
  49. package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
  50. package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
  51. package/dist/src/components/ui/empty/empty.d.ts +9 -0
  52. package/dist/src/components/ui/empty/index.d.ts +1 -0
  53. package/dist/src/components/ui/label/index.d.ts +1 -0
  54. package/dist/src/components/ui/label/label.d.ts +5 -0
  55. package/dist/src/components/ui/label/label.docs.d.ts +10 -0
  56. package/dist/src/components/ui/popover/index.d.ts +1 -0
  57. package/dist/src/components/ui/popover/popover.d.ts +27 -0
  58. package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
  59. package/dist/src/components/ui/progress/index.d.ts +1 -0
  60. package/dist/src/components/ui/progress/progress.d.ts +9 -0
  61. package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
  62. package/dist/src/components/ui/separator/index.d.ts +1 -0
  63. package/dist/src/components/ui/separator/separator.d.ts +3 -0
  64. package/dist/src/components/ui/spinner/index.d.ts +1 -0
  65. package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
  66. package/dist/src/components/ui/tabs/index.d.ts +1 -0
  67. package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
  68. package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
  69. package/dist/src/components/ui/tag/tag.d.ts +1 -1
  70. package/dist/src/components/ui/toast/index.d.ts +1 -0
  71. package/dist/src/components/ui/toast/toast.d.ts +48 -0
  72. package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
  73. package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
  74. package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
  75. package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
  76. package/dist/src/index.d.ts +12 -0
  77. package/dist/ui-react.css +1 -1
  78. package/package.json +5 -3
package/dist/react.js CHANGED
@@ -1,148 +1,216 @@
1
- import { cn as t } from "./lib/utils.js";
2
- import { Avatar as o, AvatarFallback as n, AvatarGroup as i, AvatarImage as l, avatarVariants as S } from "./components/ui/avatar/avatar.js";
3
- import { Breadcrumb as p, BreadcrumbEllipsis as d, BreadcrumbItem as u, BreadcrumbLink as b, BreadcrumbList as m, BreadcrumbPage as I, BreadcrumbSeparator as s } from "./components/ui/breadcrumb/breadcrumb.js";
4
- import { Button as g, buttonVariants as y } from "./components/ui/button/button.js";
5
- import { ButtonIcon as f, buttonIconVariants as C } from "./components/ui/button-icon/button-icon.js";
6
- import { ButtonMenu as P, buttonMenuVariants as B } from "./components/ui/button-menu/button-menu.js";
7
- import { Card as V, CardContent as h, CardDescription as F, CardFooter as L, CardHeader as v, CardTitle as G } from "./components/ui/card/card.js";
8
- import { CardFilter as A, cardFilterVariants as R } from "./components/ui/card-filter/card-filter.js";
9
- import { Checkbox as E } from "./components/ui/checkbox/checkbox.js";
10
- import { Chip as w, chipVariants as O } from "./components/ui/chip/chip.js";
11
- import { Dialog as q, DialogBody as J, DialogClose as K, DialogCloseButton as N, DialogContent as Q, DialogDescription as U, DialogFooter as W, DialogHeader as X, DialogOverlay as Y, DialogPortal as Z, DialogTitle as _, DialogTrigger as $, dialogContentVariants as ee } from "./components/ui/dialog/dialog.js";
12
- import { InputText as te, InputText as ae } from "./components/ui/input-text/input-text.js";
13
- import { InputDatePicker as ne } from "./components/ui/input-date-picker/input-date-picker.js";
14
- import { InputSearch as le, InputSearch as Se } from "./components/ui/input-search/input-search.js";
15
- import { InputSelect as pe, InputSelectContent as de, InputSelectDescription as ue, InputSelectError as be, InputSelectField as me, InputSelectGroup as Ie, InputSelectItem as se, InputSelectLabel as xe, InputSelectSearch as ge, InputSelectSection as ye, InputSelectSectionLabel as Te, InputSelectStatus as fe, InputSelectTrigger as Ce, InputSelectValue as De, InputSelect as Pe, InputSelectContent as Be, InputSelectSection as Me, InputSelectSectionLabel as Ve, InputSelectItem as he, InputSelectTrigger as Fe, InputSelectValue as Le } from "./components/ui/input-select/input-select.js";
16
- import { InputTextArea as Ge, InputTextArea as He } from "./components/ui/input-text-area/input-text-area.js";
17
- import { Link as Re } from "./components/ui/link/link.js";
18
- import { Radio as Ee, RadioGroup as ze } from "./components/ui/radio/radio.js";
19
- import { ResizableHandle as Oe, ResizablePanel as je, ResizablePanelGroup as qe } from "./components/ui/resizable/resizable.js";
20
- import { SearchGlobal as Ke } from "./components/ui/search-global/search-global.js";
21
- import { SidebarPrimary as Qe, SidebarPrimaryCollapseTrigger as Ue, SidebarPrimaryContent as We, SidebarPrimaryFooter as Xe, SidebarPrimaryHeader as Ye, SidebarPrimaryMenu as Ze, SidebarPrimaryMenuItem as _e, SidebarPrimaryMenuItemExtras as $e, SidebarPrimarySection as er, sidebarPrimaryMenuItemVariants as rr } from "./components/ui/sidebar-primary/sidebar-primary.js";
22
- import { SidebarSecondary as ar, SidebarSecondaryCollapseTrigger as or, SidebarSecondaryCollapsedBreadcrumb as nr, SidebarSecondaryContent as ir, SidebarSecondaryFooter as lr, SidebarSecondaryHeader as Sr, SidebarSecondaryMenu as cr, SidebarSecondaryMenuItem as pr, SidebarSecondaryMenuItemExtras as dr, SidebarSecondaryMenuSub as ur, SidebarSecondaryMenuSubContent as br, SidebarSecondaryMenuSubItem as mr, SidebarSecondaryMenuSubTrigger as Ir, SidebarSecondarySection as sr, SidebarSecondarySectionLabel as xr, sidebarSecondaryMenuItemVariants as gr } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
23
- import { Switch as Tr } from "./components/ui/switch/switch.js";
24
- import { Table as Cr, TableBody as Dr, TableCaption as Pr, TableCell as Br, TableFooter as Mr, TableHead as Vr, TableHeader as hr, TableRow as Fr } from "./components/ui/table/table.js";
25
- import { Tag as vr, tagVariants as Gr } from "./components/ui/tag/tag.js";
26
- import { Tooltip as Ar, TooltipContent as Rr, TooltipProvider as kr, TooltipTrigger as Er } from "./components/ui/tooltip/tooltip.js";
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";
27
42
  export {
28
- o as Avatar,
43
+ a as Avatar,
29
44
  n as AvatarFallback,
30
45
  i as AvatarGroup,
31
- l as AvatarImage,
32
- p as Breadcrumb,
33
- d as BreadcrumbEllipsis,
34
- u as BreadcrumbItem,
35
- b as BreadcrumbLink,
36
- m as BreadcrumbList,
37
- I as BreadcrumbPage,
38
- s as BreadcrumbSeparator,
39
- g as Button,
40
- f as ButtonIcon,
41
- P as ButtonMenu,
42
- V as Card,
43
- h as CardContent,
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,
55
+ y as Button,
56
+ M as ButtonIcon,
57
+ B as ButtonMenu,
58
+ v as Card,
59
+ E as CardContent,
44
60
  F as CardDescription,
45
- A as CardFilter,
46
- L as CardFooter,
47
- v as CardHeader,
48
- G as CardTitle,
49
- E as Checkbox,
50
- w as Chip,
51
- q as Dialog,
52
- J as DialogBody,
53
- K as DialogClose,
54
- N as DialogCloseButton,
55
- Q as DialogContent,
56
- U as DialogDescription,
57
- W as DialogFooter,
58
- X as DialogHeader,
59
- Y as DialogOverlay,
60
- Z as DialogPortal,
61
- _ as DialogTitle,
62
- $ as DialogTrigger,
63
- te as Input,
64
- ne as InputDatePicker,
65
- le as InputSearch,
66
- pe as InputSelect,
67
- de as InputSelectContent,
68
- ue as InputSelectDescription,
69
- be as InputSelectError,
70
- me as InputSelectField,
71
- Ie as InputSelectGroup,
72
- se as InputSelectItem,
73
- xe as InputSelectLabel,
74
- ge as InputSelectSearch,
75
- ye as InputSelectSection,
76
- Te as InputSelectSectionLabel,
77
- fe as InputSelectStatus,
78
- Ce as InputSelectTrigger,
79
- De as InputSelectValue,
80
- ae as InputText,
81
- Ge as InputTextArea,
82
- Re as Link,
83
- Ee as Radio,
84
- ze as RadioGroup,
85
- Oe as ResizableHandle,
86
- je as ResizablePanel,
87
- qe as ResizablePanelGroup,
88
- Se as Search,
89
- Ke as SearchGlobal,
90
- Pe as Select,
91
- Be as SelectContent,
92
- Me as SelectGroup,
93
- Ve as SelectGroupLabel,
94
- he as SelectItem,
95
- Fe as SelectTrigger,
96
- Le as SelectValue,
97
- Qe as SidebarPrimary,
98
- Ue as SidebarPrimaryCollapseTrigger,
99
- We as SidebarPrimaryContent,
100
- Xe as SidebarPrimaryFooter,
101
- Ye as SidebarPrimaryHeader,
102
- Ze as SidebarPrimaryMenu,
103
- _e as SidebarPrimaryMenuItem,
104
- $e as SidebarPrimaryMenuItemExtras,
105
- er as SidebarPrimarySection,
106
- ar as SidebarSecondary,
107
- or as SidebarSecondaryCollapseTrigger,
108
- nr as SidebarSecondaryCollapsedBreadcrumb,
109
- ir as SidebarSecondaryContent,
110
- lr as SidebarSecondaryFooter,
111
- Sr as SidebarSecondaryHeader,
112
- cr as SidebarSecondaryMenu,
113
- pr as SidebarSecondaryMenuItem,
114
- dr as SidebarSecondaryMenuItemExtras,
115
- ur as SidebarSecondaryMenuSub,
116
- br as SidebarSecondaryMenuSubContent,
117
- mr as SidebarSecondaryMenuSubItem,
118
- Ir as SidebarSecondaryMenuSubTrigger,
119
- sr as SidebarSecondarySection,
120
- xr as SidebarSecondarySectionLabel,
121
- Tr as Switch,
122
- Cr as Table,
123
- Dr as TableBody,
124
- Pr as TableCaption,
125
- Br as TableCell,
126
- Mr as TableFooter,
127
- Vr as TableHead,
128
- hr as TableHeader,
129
- Fr as TableRow,
130
- vr as Tag,
131
- He as Textarea,
132
- Ar as Tooltip,
133
- Rr as TooltipContent,
134
- kr as TooltipProvider,
135
- Er as TooltipTrigger,
136
- S as avatarVariants,
137
- C as buttonIconVariants,
138
- B as buttonMenuVariants,
139
- y as buttonVariants,
140
- R as cardFilterVariants,
141
- O as chipVariants,
142
- t as cn,
143
- ee as dialogContentVariants,
144
- rr as sidebarPrimaryMenuItemVariants,
145
- gr as sidebarSecondaryMenuItemVariants,
146
- Gr as tagVariants
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,
203
+ V as buttonMenuVariants,
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
147
215
  };
148
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,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';
@@ -0,0 +1,27 @@
1
+ import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
2
+ import * as React from 'react';
3
+ declare const Popover: typeof PopoverPrimitive.Root;
4
+ declare const PopoverTrigger: PopoverPrimitive.Trigger;
5
+ declare const PopoverPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').PopoverPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export interface PopoverContentProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Popup> {
7
+ /** Which side of the trigger to render on. */
8
+ side?: PopoverPrimitive.Positioner.Props['side'];
9
+ /** Alignment along the chosen side. */
10
+ align?: PopoverPrimitive.Positioner.Props['align'];
11
+ /** Distance in px from the trigger. */
12
+ sideOffset?: number;
13
+ /**
14
+ * Render inside a portal (default `true`). Set `false` for inline usage
15
+ * (e.g. when supplying your own `PopoverPortal`).
16
+ */
17
+ portal?: boolean;
18
+ /**
19
+ * Portal container. Pass a shadow-root mount for isolated-style previews
20
+ * (the docs demos do this via `useShadowMount`).
21
+ */
22
+ portalContainer?: PopoverPrimitive.Portal.Props['container'];
23
+ /** Keep the content mounted while closed (Base UI `Portal` prop). */
24
+ keepMounted?: PopoverPrimitive.Portal.Props['keepMounted'];
25
+ }
26
+ declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
27
+ export { Popover, PopoverTrigger, PopoverPortal, PopoverContent };