@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.
Files changed (83) hide show
  1. package/dist/components/ui/checkbox/checkbox.js +3 -1
  2. package/dist/components/ui/checkbox/checkbox.js.map +1 -1
  3. package/dist/components/ui/data-table/data-table-column-header.js +48 -0
  4. package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
  5. package/dist/components/ui/data-table/data-table-pagination.js +89 -0
  6. package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
  7. package/dist/components/ui/data-table/data-table-toolbar.js +46 -0
  8. package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
  9. package/dist/components/ui/data-table/data-table-view-options.js +40 -0
  10. package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
  11. package/dist/components/ui/data-table/data-table.js +89 -0
  12. package/dist/components/ui/data-table/data-table.js.map +1 -0
  13. package/dist/components/ui/dropdown-menu/dropdown-menu.js +159 -0
  14. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  15. package/dist/components/ui/empty/empty.js +78 -0
  16. package/dist/components/ui/empty/empty.js.map +1 -0
  17. package/dist/components/ui/label/label.js +12 -0
  18. package/dist/components/ui/label/label.js.map +1 -0
  19. package/dist/components/ui/popover/popover.js +48 -0
  20. package/dist/components/ui/popover/popover.js.map +1 -0
  21. package/dist/components/ui/progress/progress.js +30 -0
  22. package/dist/components/ui/progress/progress.js.map +1 -0
  23. package/dist/components/ui/separator/separator.js +22 -0
  24. package/dist/components/ui/separator/separator.js.map +1 -0
  25. package/dist/components/ui/sheet/sheet.js +138 -0
  26. package/dist/components/ui/sheet/sheet.js.map +1 -0
  27. package/dist/components/ui/spinner/spinner.js +38 -0
  28. package/dist/components/ui/spinner/spinner.js.map +1 -0
  29. package/dist/components/ui/tabs/tabs.js +44 -0
  30. package/dist/components/ui/tabs/tabs.js.map +1 -0
  31. package/dist/components/ui/toast/toast.js +83 -0
  32. package/dist/components/ui/toast/toast.js.map +1 -0
  33. package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
  34. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
  35. package/dist/index.js +234 -140
  36. package/dist/index.js.map +1 -1
  37. 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
  38. 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
  39. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
  40. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  41. package/dist/react.js +234 -140
  42. package/dist/react.js.map +1 -1
  43. package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
  44. package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
  45. package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +9 -0
  46. package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
  47. package/dist/src/components/ui/data-table/data-table.d.ts +24 -0
  48. package/dist/src/components/ui/data-table/data-table.docs.d.ts +22 -0
  49. package/dist/src/components/ui/data-table/index.d.ts +5 -0
  50. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +39 -0
  51. package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
  52. package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
  53. package/dist/src/components/ui/empty/empty.d.ts +9 -0
  54. package/dist/src/components/ui/empty/index.d.ts +1 -0
  55. package/dist/src/components/ui/label/index.d.ts +1 -0
  56. package/dist/src/components/ui/label/label.d.ts +5 -0
  57. package/dist/src/components/ui/label/label.docs.d.ts +10 -0
  58. package/dist/src/components/ui/popover/index.d.ts +1 -0
  59. package/dist/src/components/ui/popover/popover.d.ts +27 -0
  60. package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
  61. package/dist/src/components/ui/progress/index.d.ts +1 -0
  62. package/dist/src/components/ui/progress/progress.d.ts +9 -0
  63. package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
  64. package/dist/src/components/ui/separator/index.d.ts +1 -0
  65. package/dist/src/components/ui/separator/separator.d.ts +3 -0
  66. package/dist/src/components/ui/sheet/index.d.ts +2 -0
  67. package/dist/src/components/ui/sheet/sheet.d.ts +36 -0
  68. package/dist/src/components/ui/sheet/sheet.docs.d.ts +21 -0
  69. package/dist/src/components/ui/spinner/index.d.ts +1 -0
  70. package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
  71. package/dist/src/components/ui/tabs/index.d.ts +1 -0
  72. package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
  73. package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
  74. package/dist/src/components/ui/tag/tag.d.ts +1 -1
  75. package/dist/src/components/ui/toast/index.d.ts +1 -0
  76. package/dist/src/components/ui/toast/toast.d.ts +48 -0
  77. package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
  78. package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
  79. package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
  80. package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
  81. package/dist/src/index.d.ts +13 -0
  82. package/dist/ui-react.css +1 -1
  83. 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 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";
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
- o as Avatar,
44
+ a as Avatar,
29
45
  n as AvatarFallback,
30
46
  i as AvatarGroup,
31
47
  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,
44
- 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,
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
- ee as dialogContentVariants,
144
- rr as sidebarPrimaryMenuItemVariants,
145
- gr as sidebarSecondaryMenuItemVariants,
146
- Gr as tagVariants
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';