@acronis-platform/ui-react 0.36.0 → 0.38.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 (33) hide show
  1. package/dist/components/ui/card/card.js +92 -0
  2. package/dist/components/ui/card/card.js.map +1 -0
  3. package/dist/components/ui/dialog/dialog.js +140 -0
  4. package/dist/components/ui/dialog/dialog.js.map +1 -0
  5. package/dist/components/ui/input/input.js +2 -2
  6. package/dist/components/ui/input/input.js.map +1 -1
  7. package/dist/components/ui/input-search/input-search.js +4 -4
  8. package/dist/components/ui/input-search/input-search.js.map +1 -1
  9. package/dist/components/ui/input-text/input-text.js +1 -1
  10. package/dist/components/ui/input-text/input-text.js.map +1 -1
  11. package/dist/components/ui/search/search.js +2 -2
  12. package/dist/components/ui/search/search.js.map +1 -1
  13. package/dist/components/ui/table/table.js +118 -0
  14. package/dist/components/ui/table/table.js.map +1 -0
  15. package/dist/index.js +139 -110
  16. package/dist/index.js.map +1 -1
  17. package/dist/react.js +139 -110
  18. package/dist/react.js.map +1 -1
  19. package/dist/src/components/ui/card/card.d.ts +17 -0
  20. package/dist/src/components/ui/card/index.d.ts +1 -0
  21. package/dist/src/components/ui/dialog/dialog.d.ts +39 -0
  22. package/dist/src/components/ui/dialog/dialog.docs.d.ts +24 -0
  23. package/dist/src/components/ui/dialog/index.d.ts +1 -0
  24. package/dist/src/components/ui/input/index.d.ts +1 -1
  25. package/dist/src/components/ui/input/input.d.ts +3 -3
  26. package/dist/src/components/ui/input-search/input-search.d.ts +2 -2
  27. package/dist/src/components/ui/search/index.d.ts +1 -1
  28. package/dist/src/components/ui/search/search.d.ts +3 -3
  29. package/dist/src/components/ui/table/index.d.ts +1 -0
  30. package/dist/src/components/ui/table/table.d.ts +23 -0
  31. package/dist/src/index.d.ts +6 -2
  32. package/dist/ui-react.css +1 -1
  33. package/package.json +4 -3
package/dist/index.js CHANGED
@@ -1,119 +1,148 @@
1
1
  import { cn as t } from "./lib/utils.js";
2
- import { Avatar as o, AvatarFallback as n, AvatarGroup as S, AvatarImage as i, avatarVariants as c } from "./components/ui/avatar/avatar.js";
3
- import { Breadcrumb as u, BreadcrumbEllipsis as l, BreadcrumbItem as d, BreadcrumbLink as m, BreadcrumbList as b, BreadcrumbPage as I, BreadcrumbSeparator as s } from "./components/ui/breadcrumb/breadcrumb.js";
4
- import { Button as y, buttonVariants as f } from "./components/ui/button/button.js";
5
- import { ButtonIcon as P, buttonIconVariants as M } from "./components/ui/button-icon/button-icon.js";
6
- import { ButtonMenu as C, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
7
- import { CardFilter as h, cardFilterVariants as L } from "./components/ui/card-filter/card-filter.js";
8
- import { Checkbox as v } from "./components/ui/checkbox/checkbox.js";
9
- import { Chip as k, chipVariants as A } from "./components/ui/chip/chip.js";
10
- import { Input as E } from "./components/ui/input/input.js";
11
- import { InputDatePicker as H } from "./components/ui/input-date-picker/input-date-picker.js";
12
- import { InputSearch as w } from "./components/ui/input-search/input-search.js";
13
- import { InputSelect as q, InputSelectContent as J, InputSelectDescription as K, InputSelectError as N, InputSelectField as O, InputSelectGroup as Q, InputSelectItem as U, InputSelectLabel as W, InputSelectSearch as X, InputSelectSection as Y, InputSelectSectionLabel as Z, InputSelectStatus as _, InputSelectTrigger as $, InputSelectValue as ee, InputSelect as re, InputSelectContent as te, InputSelectSection as ae, InputSelectSectionLabel as oe, InputSelectItem as ne, InputSelectTrigger as Se, InputSelectValue as ie } from "./components/ui/input-select/input-select.js";
14
- import { InputText as pe } from "./components/ui/input-text/input-text.js";
15
- import { InputTextArea as le } from "./components/ui/input-text-area/input-text-area.js";
16
- import { Link as me } from "./components/ui/link/link.js";
17
- import { Radio as Ie, RadioGroup as se } from "./components/ui/radio/radio.js";
18
- import { ResizableHandle as ye, ResizablePanel as fe, ResizablePanelGroup as ge } from "./components/ui/resizable/resizable.js";
19
- import { Search as Me } from "./components/ui/search/search.js";
20
- import { SearchGlobal as Ce } from "./components/ui/search-global/search-global.js";
21
- import { SidebarPrimary as Be, SidebarPrimaryCollapseTrigger as he, SidebarPrimaryContent as Le, SidebarPrimaryFooter as Ge, SidebarPrimaryHeader as ve, SidebarPrimaryMenu as Fe, SidebarPrimaryMenuItem as ke, SidebarPrimaryMenuItemExtras as Ae, SidebarPrimarySection as Re, sidebarPrimaryMenuItemVariants as Ee } from "./components/ui/sidebar-primary/sidebar-primary.js";
22
- import { SidebarSecondary as He, SidebarSecondaryCollapseTrigger as De, SidebarSecondaryCollapsedBreadcrumb as we, SidebarSecondaryContent as je, SidebarSecondaryFooter as qe, SidebarSecondaryHeader as Je, SidebarSecondaryMenu as Ke, SidebarSecondaryMenuItem as Ne, SidebarSecondaryMenuItemExtras as Oe, SidebarSecondaryMenuSub as Qe, SidebarSecondaryMenuSubContent as Ue, SidebarSecondaryMenuSubItem as We, SidebarSecondaryMenuSubTrigger as Xe, SidebarSecondarySection as Ye, SidebarSecondarySectionLabel as Ze, sidebarSecondaryMenuItemVariants as _e } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
23
- import { Switch as er } from "./components/ui/switch/switch.js";
24
- import { Tag as tr, tagVariants as ar } from "./components/ui/tag/tag.js";
25
- import { Tooltip as nr, TooltipContent as Sr, TooltipProvider as ir, TooltipTrigger as cr } from "./components/ui/tooltip/tooltip.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";
26
27
  export {
27
28
  o as Avatar,
28
29
  n as AvatarFallback,
29
- S as AvatarGroup,
30
- i as AvatarImage,
31
- u as Breadcrumb,
32
- l as BreadcrumbEllipsis,
33
- d as BreadcrumbItem,
34
- m as BreadcrumbLink,
35
- b as BreadcrumbList,
30
+ 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,
36
37
  I as BreadcrumbPage,
37
38
  s as BreadcrumbSeparator,
38
- y as Button,
39
- P as ButtonIcon,
40
- C as ButtonMenu,
41
- h as CardFilter,
42
- v as Checkbox,
43
- k as Chip,
44
- E as Input,
45
- H as InputDatePicker,
46
- w as InputSearch,
47
- q as InputSelect,
48
- J as InputSelectContent,
49
- K as InputSelectDescription,
50
- N as InputSelectError,
51
- O as InputSelectField,
52
- Q as InputSelectGroup,
53
- U as InputSelectItem,
54
- W as InputSelectLabel,
55
- X as InputSelectSearch,
56
- Y as InputSelectSection,
57
- Z as InputSelectSectionLabel,
58
- _ as InputSelectStatus,
59
- $ as InputSelectTrigger,
60
- ee as InputSelectValue,
61
- pe as InputText,
62
- le as InputTextArea,
63
- me as Link,
64
- Ie as Radio,
65
- se as RadioGroup,
66
- ye as ResizableHandle,
67
- fe as ResizablePanel,
68
- ge as ResizablePanelGroup,
69
- Me as Search,
70
- Ce as SearchGlobal,
71
- re as Select,
72
- te as SelectContent,
73
- ae as SelectGroup,
74
- oe as SelectGroupLabel,
75
- ne as SelectItem,
76
- Se as SelectTrigger,
77
- ie as SelectValue,
78
- Be as SidebarPrimary,
79
- he as SidebarPrimaryCollapseTrigger,
80
- Le as SidebarPrimaryContent,
81
- Ge as SidebarPrimaryFooter,
82
- ve as SidebarPrimaryHeader,
83
- Fe as SidebarPrimaryMenu,
84
- ke as SidebarPrimaryMenuItem,
85
- Ae as SidebarPrimaryMenuItemExtras,
86
- Re as SidebarPrimarySection,
87
- He as SidebarSecondary,
88
- De as SidebarSecondaryCollapseTrigger,
89
- we as SidebarSecondaryCollapsedBreadcrumb,
90
- je as SidebarSecondaryContent,
91
- qe as SidebarSecondaryFooter,
92
- Je as SidebarSecondaryHeader,
93
- Ke as SidebarSecondaryMenu,
94
- Ne as SidebarSecondaryMenuItem,
95
- Oe as SidebarSecondaryMenuItemExtras,
96
- Qe as SidebarSecondaryMenuSub,
97
- Ue as SidebarSecondaryMenuSubContent,
98
- We as SidebarSecondaryMenuSubItem,
99
- Xe as SidebarSecondaryMenuSubTrigger,
100
- Ye as SidebarSecondarySection,
101
- Ze as SidebarSecondarySectionLabel,
102
- er as Switch,
103
- tr as Tag,
104
- nr as Tooltip,
105
- Sr as TooltipContent,
106
- ir as TooltipProvider,
107
- cr as TooltipTrigger,
108
- c as avatarVariants,
109
- M as buttonIconVariants,
110
- V as buttonMenuVariants,
111
- f as buttonVariants,
112
- L as cardFilterVariants,
113
- A as chipVariants,
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,
114
142
  t as cn,
115
- Ee as sidebarPrimaryMenuItemVariants,
116
- _e as sidebarSecondaryMenuItemVariants,
117
- ar as tagVariants
143
+ ee as dialogContentVariants,
144
+ rr as sidebarPrimaryMenuItemVariants,
145
+ gr as sidebarSecondaryMenuItemVariants,
146
+ Gr as tagVariants
118
147
  };
119
148
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/react.js CHANGED
@@ -1,119 +1,148 @@
1
1
  import { cn as t } from "./lib/utils.js";
2
- import { Avatar as o, AvatarFallback as n, AvatarGroup as S, AvatarImage as i, avatarVariants as c } from "./components/ui/avatar/avatar.js";
3
- import { Breadcrumb as u, BreadcrumbEllipsis as l, BreadcrumbItem as d, BreadcrumbLink as m, BreadcrumbList as b, BreadcrumbPage as I, BreadcrumbSeparator as s } from "./components/ui/breadcrumb/breadcrumb.js";
4
- import { Button as y, buttonVariants as f } from "./components/ui/button/button.js";
5
- import { ButtonIcon as P, buttonIconVariants as M } from "./components/ui/button-icon/button-icon.js";
6
- import { ButtonMenu as C, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
7
- import { CardFilter as h, cardFilterVariants as L } from "./components/ui/card-filter/card-filter.js";
8
- import { Checkbox as v } from "./components/ui/checkbox/checkbox.js";
9
- import { Chip as k, chipVariants as A } from "./components/ui/chip/chip.js";
10
- import { Input as E } from "./components/ui/input/input.js";
11
- import { InputDatePicker as H } from "./components/ui/input-date-picker/input-date-picker.js";
12
- import { InputSearch as w } from "./components/ui/input-search/input-search.js";
13
- import { InputSelect as q, InputSelectContent as J, InputSelectDescription as K, InputSelectError as N, InputSelectField as O, InputSelectGroup as Q, InputSelectItem as U, InputSelectLabel as W, InputSelectSearch as X, InputSelectSection as Y, InputSelectSectionLabel as Z, InputSelectStatus as _, InputSelectTrigger as $, InputSelectValue as ee, InputSelect as re, InputSelectContent as te, InputSelectSection as ae, InputSelectSectionLabel as oe, InputSelectItem as ne, InputSelectTrigger as Se, InputSelectValue as ie } from "./components/ui/input-select/input-select.js";
14
- import { InputText as pe } from "./components/ui/input-text/input-text.js";
15
- import { InputTextArea as le } from "./components/ui/input-text-area/input-text-area.js";
16
- import { Link as me } from "./components/ui/link/link.js";
17
- import { Radio as Ie, RadioGroup as se } from "./components/ui/radio/radio.js";
18
- import { ResizableHandle as ye, ResizablePanel as fe, ResizablePanelGroup as ge } from "./components/ui/resizable/resizable.js";
19
- import { Search as Me } from "./components/ui/search/search.js";
20
- import { SearchGlobal as Ce } from "./components/ui/search-global/search-global.js";
21
- import { SidebarPrimary as Be, SidebarPrimaryCollapseTrigger as he, SidebarPrimaryContent as Le, SidebarPrimaryFooter as Ge, SidebarPrimaryHeader as ve, SidebarPrimaryMenu as Fe, SidebarPrimaryMenuItem as ke, SidebarPrimaryMenuItemExtras as Ae, SidebarPrimarySection as Re, sidebarPrimaryMenuItemVariants as Ee } from "./components/ui/sidebar-primary/sidebar-primary.js";
22
- import { SidebarSecondary as He, SidebarSecondaryCollapseTrigger as De, SidebarSecondaryCollapsedBreadcrumb as we, SidebarSecondaryContent as je, SidebarSecondaryFooter as qe, SidebarSecondaryHeader as Je, SidebarSecondaryMenu as Ke, SidebarSecondaryMenuItem as Ne, SidebarSecondaryMenuItemExtras as Oe, SidebarSecondaryMenuSub as Qe, SidebarSecondaryMenuSubContent as Ue, SidebarSecondaryMenuSubItem as We, SidebarSecondaryMenuSubTrigger as Xe, SidebarSecondarySection as Ye, SidebarSecondarySectionLabel as Ze, sidebarSecondaryMenuItemVariants as _e } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
23
- import { Switch as er } from "./components/ui/switch/switch.js";
24
- import { Tag as tr, tagVariants as ar } from "./components/ui/tag/tag.js";
25
- import { Tooltip as nr, TooltipContent as Sr, TooltipProvider as ir, TooltipTrigger as cr } from "./components/ui/tooltip/tooltip.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";
26
27
  export {
27
28
  o as Avatar,
28
29
  n as AvatarFallback,
29
- S as AvatarGroup,
30
- i as AvatarImage,
31
- u as Breadcrumb,
32
- l as BreadcrumbEllipsis,
33
- d as BreadcrumbItem,
34
- m as BreadcrumbLink,
35
- b as BreadcrumbList,
30
+ 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,
36
37
  I as BreadcrumbPage,
37
38
  s as BreadcrumbSeparator,
38
- y as Button,
39
- P as ButtonIcon,
40
- C as ButtonMenu,
41
- h as CardFilter,
42
- v as Checkbox,
43
- k as Chip,
44
- E as Input,
45
- H as InputDatePicker,
46
- w as InputSearch,
47
- q as InputSelect,
48
- J as InputSelectContent,
49
- K as InputSelectDescription,
50
- N as InputSelectError,
51
- O as InputSelectField,
52
- Q as InputSelectGroup,
53
- U as InputSelectItem,
54
- W as InputSelectLabel,
55
- X as InputSelectSearch,
56
- Y as InputSelectSection,
57
- Z as InputSelectSectionLabel,
58
- _ as InputSelectStatus,
59
- $ as InputSelectTrigger,
60
- ee as InputSelectValue,
61
- pe as InputText,
62
- le as InputTextArea,
63
- me as Link,
64
- Ie as Radio,
65
- se as RadioGroup,
66
- ye as ResizableHandle,
67
- fe as ResizablePanel,
68
- ge as ResizablePanelGroup,
69
- Me as Search,
70
- Ce as SearchGlobal,
71
- re as Select,
72
- te as SelectContent,
73
- ae as SelectGroup,
74
- oe as SelectGroupLabel,
75
- ne as SelectItem,
76
- Se as SelectTrigger,
77
- ie as SelectValue,
78
- Be as SidebarPrimary,
79
- he as SidebarPrimaryCollapseTrigger,
80
- Le as SidebarPrimaryContent,
81
- Ge as SidebarPrimaryFooter,
82
- ve as SidebarPrimaryHeader,
83
- Fe as SidebarPrimaryMenu,
84
- ke as SidebarPrimaryMenuItem,
85
- Ae as SidebarPrimaryMenuItemExtras,
86
- Re as SidebarPrimarySection,
87
- He as SidebarSecondary,
88
- De as SidebarSecondaryCollapseTrigger,
89
- we as SidebarSecondaryCollapsedBreadcrumb,
90
- je as SidebarSecondaryContent,
91
- qe as SidebarSecondaryFooter,
92
- Je as SidebarSecondaryHeader,
93
- Ke as SidebarSecondaryMenu,
94
- Ne as SidebarSecondaryMenuItem,
95
- Oe as SidebarSecondaryMenuItemExtras,
96
- Qe as SidebarSecondaryMenuSub,
97
- Ue as SidebarSecondaryMenuSubContent,
98
- We as SidebarSecondaryMenuSubItem,
99
- Xe as SidebarSecondaryMenuSubTrigger,
100
- Ye as SidebarSecondarySection,
101
- Ze as SidebarSecondarySectionLabel,
102
- er as Switch,
103
- tr as Tag,
104
- nr as Tooltip,
105
- Sr as TooltipContent,
106
- ir as TooltipProvider,
107
- cr as TooltipTrigger,
108
- c as avatarVariants,
109
- M as buttonIconVariants,
110
- V as buttonMenuVariants,
111
- f as buttonVariants,
112
- L as cardFilterVariants,
113
- A as chipVariants,
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,
114
142
  t as cn,
115
- Ee as sidebarPrimaryMenuItemVariants,
116
- _e as sidebarSecondaryMenuItemVariants,
117
- ar as tagVariants
143
+ ee as dialogContentVariants,
144
+ rr as sidebarPrimaryMenuItemVariants,
145
+ gr as sidebarSecondaryMenuItemVariants,
146
+ Gr as tagVariants
118
147
  };
119
148
  //# 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,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, };