@trsys-tech/matrix-library 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,221 +1,252 @@
1
1
  /* empty css */
2
- import { Badge as t } from "./badge.es.js";
3
- import { Button as i, buttonVariants as m } from "./button.es.js";
4
- import { Breadcrumb as n, BreadcrumbEllipsis as l, BreadcrumbItem as S, BreadcrumbLink as d, BreadcrumbList as b, BreadcrumbPage as x, BreadcrumbSeparator as f } from "./breadcrumb.es.js";
5
- import { Card as D, CardContent as u, CardDescription as C, CardFooter as g, CardHeader as s, CardTitle as T } from "./card.es.js";
6
- import { Checkbox as P } from "./checkbox.es.js";
7
- import { Chip as k } from "./chip.es.js";
8
- import { Combobox as M } from "./combobox.es.js";
9
- import { Command as G, CommandDialog as I, CommandEmpty as A, CommandGroup as R, CommandInput as v, CommandItem as L, CommandList as H, CommandSeparator as y, CommandShortcut as E } from "./command.es.js";
10
- import { Collapsible as V, CollapsibleContent as z, CollapsibleTrigger as U } from "./collapsible.es.js";
11
- import { ConfirmProvider as q, useConfirm as J } from "./confirm.es.js";
12
- import { DatePicker as N } from "./datepicker.es.js";
13
- import { DateRangePicker as W } from "./daterangepicker.es.js";
14
- import { TimePicker as Y } from "./timepicker.es.js";
15
- import { Calendar as _ } from "./calendar.es.js";
16
- import { DataGrid as ee, DataGridActionBar as re, DataGridContent as oe, DeleteAction as te, ExtraActions as ae, FreezeAction as ie, PrintAction as me, RefreshAction as pe, SearchAction as ne, useDataGrid as le } from "./datagrid.es.js";
17
- import { Dialog as de, DialogClose as be, DialogContent as xe, DialogDescription as fe, DialogFooter as ce, DialogHeader as De, DialogOverlay as ue, DialogPortal as Ce, DialogTitle as ge, DialogTrigger as se } from "./dialog.es.js";
18
- import { Drawer as Fe, DrawerContent as Pe, DrawerMain as we } from "./drawer.es.js";
19
- import { SwipableDrawer as he, SwipableDrawerClose as Me, SwipableDrawerContent as Be, SwipableDrawerDescription as Ge, SwipableDrawerFooter as Ie, SwipableDrawerHeader as Ae, SwipableDrawerTitle as Re, SwipableDrawerTrigger as ve } from "./swipabledrawer.es.js";
20
- import { Form as He, FormControl as ye, FormDescription as Ee, FormField as Oe, FormItem as Ve, FormLabel as ze, FormMessage as Ue } from "./form.es.js";
21
- import { FormCheckbox as qe } from "./formcheckbox.es.js";
22
- import { FormCombobox as Ke } from "./formcombobox.es.js";
23
- import { FormDatePicker as Qe } from "./formdatepicker.es.js";
24
- import { FormDateRangePicker as Xe } from "./formdaterangepicker.es.js";
25
- import { FormInput as Ze } from "./forminput.es.js";
26
- import { FormMultiSelect as $e } from "./formmultiselect.es.js";
27
- import { FormRating as rr } from "./formrating.es.js";
28
- import { FormSelect as tr } from "./formselect.es.js";
29
- import { FormSwitch as ir } from "./formswitch.es.js";
30
- import { FormTextarea as pr } from "./formtextarea.es.js";
31
- import { FormTimePicker as lr } from "./formtimepicker.es.js";
32
- import { IconButton as dr } from "./iconbutton.es.js";
33
- import { Label as xr } from "./label.es.js";
34
- import { Modal as cr, ModalFooter as Dr } from "./modal.es.js";
35
- import { Popover as Cr, PopoverAnchor as gr, PopoverContent as sr, PopoverTrigger as Tr } from "./popover.es.js";
36
- import { Rating as Pr } from "./rating.es.js";
37
- import { RadioGroup as kr, RadioGroupItem as hr } from "./radiogroup.es.js";
38
- import { Select as Br, SelectContent as Gr, SelectGroup as Ir, SelectItem as Ar, SelectLabel as Rr, SelectScrollDownButton as vr, SelectScrollUpButton as Lr, SelectSeparator as Hr, SelectTrigger as yr, SelectValue as Er } from "./select.es.js";
39
- import { Separator as Vr } from "./separator.es.js";
40
- import { Sheet as Ur, SheetClose as jr, SheetContent as qr, SheetDescription as Jr, SheetFooter as Kr, SheetHeader as Nr, SheetOverlay as Qr, SheetPortal as Wr, SheetTitle as Xr, SheetTrigger as Yr } from "./sheet.es.js";
41
- import { Sidebar as _r, SidebarContent as $r, SidebarFooter as eo, SidebarGroup as ro, SidebarGroupAction as oo, SidebarGroupContent as to, SidebarGroupLabel as ao, SidebarHeader as io, SidebarInset as mo, SidebarMenu as po, SidebarMenuAction as no, SidebarMenuBadge as lo, SidebarMenuButton as So, SidebarMenuItem as bo, SidebarMenuSkeleton as xo, SidebarMenuSub as fo, SidebarMenuSubButton as co, SidebarMenuSubItem as Do, SidebarProvider as uo, SidebarRail as Co, SidebarSeparator as go, SidebarTrigger as so, useSidebar as To } from "./sidebar.es.js";
42
- import { Skeleton as Po } from "./skeleton.es.js";
43
- import { Switch as ko } from "./switch.es.js";
44
- import { Tabs as Mo, TabsContent as Bo, TabsList as Go, TabsTrigger as Io } from "./tabs.es.js";
45
- import { TextField as Ro } from "./textfield.es.js";
46
- import { Toast as Lo } from "./toast.es.js";
47
- import { toast as yo } from "./use-toast.es.js";
48
- import { Tooltip as Oo, TooltipContent as Vo, TooltipProvider as zo, TooltipTrigger as Uo } from "./tooltip.es.js";
49
- import { useIsMobile as qo } from "./use-mobile.es.js";
50
- import { cn as Ko } from "./utils.es.js";
51
- import { DesktopDatePicker as Qo } from "./desktopdatepicker.es.js";
52
- import { MobileDatePicker as Xo } from "./mobiledatepicker.es.js";
53
- import { DesktopDateRangePicker as Zo } from "./desktopdaterangepicker.es.js";
54
- import { MobileDateRangePicker as $o } from "./mobiledaterangepicker.es.js";
55
- import { MobileTimePicker as rt } from "./mobiletimepicker.es.js";
56
- import { DesktopTimePicker as tt } from "./desktoptimepicker.es.js";
2
+ import { Accordion as t, AccordionContent as a, AccordionItem as i, AccordionTrigger as n } from "./accordion.es.js";
3
+ import { Avatar as p, AvatarFallback as l, AvatarImage as x } from "./avatar.es.js";
4
+ import { Badge as d } from "./badge.es.js";
5
+ import { Breadcrumb as c, BreadcrumbEllipsis as u, BreadcrumbItem as f, BreadcrumbLink as C, BreadcrumbList as g, BreadcrumbPage as D, BreadcrumbSeparator as s } from "./breadcrumb.es.js";
6
+ import { Button as T, buttonVariants as F } from "./button.es.js";
7
+ import { Calendar as k } from "./calendar.es.js";
8
+ import { Card as h, CardContent as A, CardDescription as I, CardFooter as B, CardHeader as G, CardTitle as v } from "./card.es.js";
9
+ import { Checkbox as L } from "./checkbox.es.js";
10
+ import { Chip as y } from "./chip.es.js";
11
+ import { Collapsible as O, CollapsibleContent as V, CollapsibleTrigger as z } from "./collapsible.es.js";
12
+ import { Combobox as j } from "./combobox.es.js";
13
+ import { Command as J, CommandDialog as K, CommandEmpty as N, CommandGroup as Q, CommandInput as W, CommandItem as X, CommandList as Y, CommandSeparator as Z, CommandShortcut as _ } from "./command.es.js";
14
+ import { ConfirmProvider as ee, useConfirm as re } from "./confirm.es.js";
15
+ import { ContextMenu as te, ContextMenuCheckboxItem as ae, ContextMenuContent as ie, ContextMenuGroup as ne, ContextMenuItem as me, ContextMenuLabel as pe, ContextMenuPortal as le, ContextMenuRadioGroup as xe, ContextMenuRadioItem as Se, ContextMenuSeparator as de, ContextMenuShortcut as be, ContextMenuSub as ce, ContextMenuSubContent as ue, ContextMenuSubTrigger as fe, ContextMenuTrigger as Ce } from "./contextmenu.es.js";
16
+ import { DataGrid as De, DataGridActionBar as se, DataGridContent as Me, DeleteAction as Te, ExtraActions as Fe, FreezeAction as Pe, PrintAction as ke, RefreshAction as we, SearchAction as he, useDataGrid as Ae } from "./datagrid.es.js";
17
+ import { DatePicker as Be } from "./datepicker.es.js";
18
+ import { DateRangePicker as ve } from "./daterangepicker.es.js";
19
+ import { TimePicker as Le } from "./timepicker.es.js";
20
+ import { Dialog as ye, DialogClose as Ee, DialogContent as Oe, DialogDescription as Ve, DialogFooter as ze, DialogHeader as Ue, DialogOverlay as je, DialogPortal as qe, DialogTitle as Je, DialogTrigger as Ke } from "./dialog.es.js";
21
+ import { Drawer as Qe, DrawerContent as We, DrawerMain as Xe } from "./drawer.es.js";
22
+ import { SwipableDrawer as Ze, SwipableDrawerClose as _e, SwipableDrawerContent as $e, SwipableDrawerDescription as er, SwipableDrawerFooter as rr, SwipableDrawerHeader as or, SwipableDrawerTitle as tr, SwipableDrawerTrigger as ar } from "./swipabledrawer.es.js";
23
+ import { Form as nr, FormControl as mr, FormDescription as pr, FormField as lr, FormItem as xr, FormLabel as Sr, FormMessage as dr } from "./form.es.js";
24
+ import { FormCheckbox as cr } from "./formcheckbox.es.js";
25
+ import { FormCombobox as fr } from "./formcombobox.es.js";
26
+ import { FormDatePicker as gr } from "./formdatepicker.es.js";
27
+ import { FormDateRangePicker as sr } from "./formdaterangepicker.es.js";
28
+ import { FormInput as Tr } from "./forminput.es.js";
29
+ import { FormMultiSelect as Pr } from "./formmultiselect.es.js";
30
+ import { FormRating as wr } from "./formrating.es.js";
31
+ import { FormSelect as Ar } from "./formselect.es.js";
32
+ import { FormSwitch as Br } from "./formswitch.es.js";
33
+ import { FormTextarea as vr } from "./formtextarea.es.js";
34
+ import { FormTimePicker as Lr } from "./formtimepicker.es.js";
35
+ import { IconButton as yr } from "./iconbutton.es.js";
36
+ import { Label as Or } from "./label.es.js";
37
+ import { Modal as zr, ModalFooter as Ur } from "./modal.es.js";
38
+ import { MultiSelect as qr } from "./multiselect.es.js";
39
+ import { Popover as Kr, PopoverAnchor as Nr, PopoverContent as Qr, PopoverTrigger as Wr } from "./popover.es.js";
40
+ import { Progress as Yr } from "./progress.es.js";
41
+ import { RadioGroup as _r, RadioGroupItem as $r } from "./radiogroup.es.js";
42
+ import { Rating as ro } from "./rating.es.js";
43
+ import { Select as to, SelectContent as ao, SelectGroup as io, SelectItem as no, SelectLabel as mo, SelectScrollDownButton as po, SelectScrollUpButton as lo, SelectSeparator as xo, SelectTrigger as So, SelectValue as bo } from "./select.es.js";
44
+ import { Separator as uo } from "./separator.es.js";
45
+ import { Sheet as Co, SheetClose as go, SheetContent as Do, SheetDescription as so, SheetFooter as Mo, SheetHeader as To, SheetOverlay as Fo, SheetPortal as Po, SheetTitle as ko, SheetTrigger as wo } from "./sheet.es.js";
46
+ import { Sidebar as Ao, SidebarContent as Io, SidebarFooter as Bo, SidebarGroup as Go, SidebarGroupAction as vo, SidebarGroupContent as Ro, SidebarGroupLabel as Lo, SidebarHeader as Ho, SidebarInset as yo, SidebarMenu as Eo, SidebarMenuAction as Oo, SidebarMenuBadge as Vo, SidebarMenuButton as zo, SidebarMenuItem as Uo, SidebarMenuSkeleton as jo, SidebarMenuSub as qo, SidebarMenuSubButton as Jo, SidebarMenuSubItem as Ko, SidebarProvider as No, SidebarRail as Qo, SidebarSeparator as Wo, SidebarTrigger as Xo, useSidebar as Yo } from "./sidebar.es.js";
47
+ import { Skeleton as _o } from "./skeleton.es.js";
48
+ import { Switch as et } from "./switch.es.js";
49
+ import { Tabs as ot, TabsContent as tt, TabsList as at, TabsTrigger as it } from "./tabs.es.js";
50
+ import { TextField as mt } from "./textfield.es.js";
51
+ import { Textarea as lt } from "./textarea.es.js";
52
+ import { Toast as St } from "./toast.es.js";
53
+ import { toast as bt } from "./use-toast.es.js";
54
+ import { Tooltip as ut, TooltipContent as ft, TooltipProvider as Ct, TooltipTrigger as gt } from "./tooltip.es.js";
55
+ import { useIsMobile as st } from "./use-mobile.es.js";
56
+ import { cn as Tt } from "./utils.es.js";
57
+ import { DesktopDatePicker as Pt } from "./desktopdatepicker.es.js";
58
+ import { MobileDatePicker as wt } from "./mobiledatepicker.es.js";
59
+ import { DesktopDateRangePicker as At } from "./desktopdaterangepicker.es.js";
60
+ import { MobileDateRangePicker as Bt } from "./mobiledaterangepicker.es.js";
61
+ import { MobileTimePicker as vt } from "./mobiletimepicker.es.js";
62
+ import { DesktopTimePicker as Lt } from "./desktoptimepicker.es.js";
57
63
  export {
58
- t as Badge,
59
- n as Breadcrumb,
60
- l as BreadcrumbEllipsis,
61
- S as BreadcrumbItem,
62
- d as BreadcrumbLink,
63
- b as BreadcrumbList,
64
- x as BreadcrumbPage,
65
- f as BreadcrumbSeparator,
66
- i as Button,
67
- _ as Calendar,
68
- D as Card,
69
- u as CardContent,
70
- C as CardDescription,
71
- g as CardFooter,
72
- s as CardHeader,
73
- T as CardTitle,
74
- P as Checkbox,
75
- k as Chip,
76
- V as Collapsible,
77
- z as CollapsibleContent,
78
- U as CollapsibleTrigger,
79
- M as Combobox,
80
- G as Command,
81
- I as CommandDialog,
82
- A as CommandEmpty,
83
- R as CommandGroup,
84
- v as CommandInput,
85
- L as CommandItem,
86
- H as CommandList,
87
- y as CommandSeparator,
88
- E as CommandShortcut,
89
- q as ConfirmProvider,
90
- ee as DataGrid,
91
- re as DataGridActionBar,
92
- oe as DataGridContent,
93
- N as DatePicker,
94
- W as DateRangePicker,
95
- te as DeleteAction,
96
- Qo as DesktopDatePicker,
97
- Zo as DesktopDateRangePicker,
98
- tt as DesktopTimePicker,
99
- de as Dialog,
100
- be as DialogClose,
101
- xe as DialogContent,
102
- fe as DialogDescription,
103
- ce as DialogFooter,
104
- De as DialogHeader,
105
- ue as DialogOverlay,
106
- Ce as DialogPortal,
107
- ge as DialogTitle,
108
- se as DialogTrigger,
109
- Fe as Drawer,
110
- Pe as DrawerContent,
111
- we as DrawerMain,
112
- ae as ExtraActions,
113
- He as Form,
114
- qe as FormCheckbox,
115
- Ke as FormCombobox,
116
- ye as FormControl,
117
- Qe as FormDatePicker,
118
- Xe as FormDateRangePicker,
119
- Ee as FormDescription,
120
- Oe as FormField,
121
- Ze as FormInput,
122
- Ve as FormItem,
123
- ze as FormLabel,
124
- Ue as FormMessage,
125
- $e as FormMultiSelect,
126
- rr as FormRating,
127
- tr as FormSelect,
128
- ir as FormSwitch,
129
- pr as FormTextarea,
130
- lr as FormTimePicker,
131
- ie as FreezeAction,
132
- dr as IconButton,
133
- xr as Label,
134
- Xo as MobileDatePicker,
135
- $o as MobileDateRangePicker,
136
- rt as MobileTimePicker,
137
- cr as Modal,
138
- Dr as ModalFooter,
139
- Cr as Popover,
140
- gr as PopoverAnchor,
141
- sr as PopoverContent,
142
- Tr as PopoverTrigger,
143
- me as PrintAction,
144
- kr as RadioGroup,
145
- hr as RadioGroupItem,
146
- Pr as Rating,
147
- pe as RefreshAction,
148
- ne as SearchAction,
149
- Br as Select,
150
- Gr as SelectContent,
151
- Ir as SelectGroup,
152
- Ar as SelectItem,
153
- Rr as SelectLabel,
154
- vr as SelectScrollDownButton,
155
- Lr as SelectScrollUpButton,
156
- Hr as SelectSeparator,
157
- yr as SelectTrigger,
158
- Er as SelectValue,
159
- Vr as Separator,
160
- Ur as Sheet,
161
- jr as SheetClose,
162
- qr as SheetContent,
163
- Jr as SheetDescription,
164
- Kr as SheetFooter,
165
- Nr as SheetHeader,
166
- Qr as SheetOverlay,
167
- Wr as SheetPortal,
168
- Xr as SheetTitle,
169
- Yr as SheetTrigger,
170
- _r as Sidebar,
171
- $r as SidebarContent,
172
- eo as SidebarFooter,
173
- ro as SidebarGroup,
174
- oo as SidebarGroupAction,
175
- to as SidebarGroupContent,
176
- ao as SidebarGroupLabel,
177
- io as SidebarHeader,
178
- mo as SidebarInset,
179
- po as SidebarMenu,
180
- no as SidebarMenuAction,
181
- lo as SidebarMenuBadge,
182
- So as SidebarMenuButton,
183
- bo as SidebarMenuItem,
184
- xo as SidebarMenuSkeleton,
185
- fo as SidebarMenuSub,
186
- co as SidebarMenuSubButton,
187
- Do as SidebarMenuSubItem,
188
- uo as SidebarProvider,
189
- Co as SidebarRail,
190
- go as SidebarSeparator,
191
- so as SidebarTrigger,
192
- Po as Skeleton,
193
- he as SwipableDrawer,
194
- Me as SwipableDrawerClose,
195
- Be as SwipableDrawerContent,
196
- Ge as SwipableDrawerDescription,
197
- Ie as SwipableDrawerFooter,
198
- Ae as SwipableDrawerHeader,
199
- Re as SwipableDrawerTitle,
200
- ve as SwipableDrawerTrigger,
201
- ko as Switch,
202
- Mo as Tabs,
203
- Bo as TabsContent,
204
- Go as TabsList,
205
- Io as TabsTrigger,
206
- Ro as TextField,
207
- Y as TimePicker,
208
- Lo as Toast,
209
- Oo as Tooltip,
210
- Vo as TooltipContent,
211
- zo as TooltipProvider,
212
- Uo as TooltipTrigger,
213
- m as buttonVariants,
214
- Ko as cn,
215
- yo as toast,
216
- J as useConfirm,
217
- le as useDataGrid,
218
- qo as useIsMobile,
219
- To as useSidebar
64
+ t as Accordion,
65
+ a as AccordionContent,
66
+ i as AccordionItem,
67
+ n as AccordionTrigger,
68
+ p as Avatar,
69
+ l as AvatarFallback,
70
+ x as AvatarImage,
71
+ d as Badge,
72
+ c as Breadcrumb,
73
+ u as BreadcrumbEllipsis,
74
+ f as BreadcrumbItem,
75
+ C as BreadcrumbLink,
76
+ g as BreadcrumbList,
77
+ D as BreadcrumbPage,
78
+ s as BreadcrumbSeparator,
79
+ T as Button,
80
+ k as Calendar,
81
+ h as Card,
82
+ A as CardContent,
83
+ I as CardDescription,
84
+ B as CardFooter,
85
+ G as CardHeader,
86
+ v as CardTitle,
87
+ L as Checkbox,
88
+ y as Chip,
89
+ O as Collapsible,
90
+ V as CollapsibleContent,
91
+ z as CollapsibleTrigger,
92
+ j as Combobox,
93
+ J as Command,
94
+ K as CommandDialog,
95
+ N as CommandEmpty,
96
+ Q as CommandGroup,
97
+ W as CommandInput,
98
+ X as CommandItem,
99
+ Y as CommandList,
100
+ Z as CommandSeparator,
101
+ _ as CommandShortcut,
102
+ ee as ConfirmProvider,
103
+ te as ContextMenu,
104
+ ae as ContextMenuCheckboxItem,
105
+ ie as ContextMenuContent,
106
+ ne as ContextMenuGroup,
107
+ me as ContextMenuItem,
108
+ pe as ContextMenuLabel,
109
+ le as ContextMenuPortal,
110
+ xe as ContextMenuRadioGroup,
111
+ Se as ContextMenuRadioItem,
112
+ de as ContextMenuSeparator,
113
+ be as ContextMenuShortcut,
114
+ ce as ContextMenuSub,
115
+ ue as ContextMenuSubContent,
116
+ fe as ContextMenuSubTrigger,
117
+ Ce as ContextMenuTrigger,
118
+ De as DataGrid,
119
+ se as DataGridActionBar,
120
+ Me as DataGridContent,
121
+ Be as DatePicker,
122
+ ve as DateRangePicker,
123
+ Te as DeleteAction,
124
+ Pt as DesktopDatePicker,
125
+ At as DesktopDateRangePicker,
126
+ Lt as DesktopTimePicker,
127
+ ye as Dialog,
128
+ Ee as DialogClose,
129
+ Oe as DialogContent,
130
+ Ve as DialogDescription,
131
+ ze as DialogFooter,
132
+ Ue as DialogHeader,
133
+ je as DialogOverlay,
134
+ qe as DialogPortal,
135
+ Je as DialogTitle,
136
+ Ke as DialogTrigger,
137
+ Qe as Drawer,
138
+ We as DrawerContent,
139
+ Xe as DrawerMain,
140
+ Fe as ExtraActions,
141
+ nr as Form,
142
+ cr as FormCheckbox,
143
+ fr as FormCombobox,
144
+ mr as FormControl,
145
+ gr as FormDatePicker,
146
+ sr as FormDateRangePicker,
147
+ pr as FormDescription,
148
+ lr as FormField,
149
+ Tr as FormInput,
150
+ xr as FormItem,
151
+ Sr as FormLabel,
152
+ dr as FormMessage,
153
+ Pr as FormMultiSelect,
154
+ wr as FormRating,
155
+ Ar as FormSelect,
156
+ Br as FormSwitch,
157
+ vr as FormTextarea,
158
+ Lr as FormTimePicker,
159
+ Pe as FreezeAction,
160
+ yr as IconButton,
161
+ Or as Label,
162
+ wt as MobileDatePicker,
163
+ Bt as MobileDateRangePicker,
164
+ vt as MobileTimePicker,
165
+ zr as Modal,
166
+ Ur as ModalFooter,
167
+ qr as MultiSelect,
168
+ Kr as Popover,
169
+ Nr as PopoverAnchor,
170
+ Qr as PopoverContent,
171
+ Wr as PopoverTrigger,
172
+ ke as PrintAction,
173
+ Yr as Progress,
174
+ _r as RadioGroup,
175
+ $r as RadioGroupItem,
176
+ ro as Rating,
177
+ we as RefreshAction,
178
+ he as SearchAction,
179
+ to as Select,
180
+ ao as SelectContent,
181
+ io as SelectGroup,
182
+ no as SelectItem,
183
+ mo as SelectLabel,
184
+ po as SelectScrollDownButton,
185
+ lo as SelectScrollUpButton,
186
+ xo as SelectSeparator,
187
+ So as SelectTrigger,
188
+ bo as SelectValue,
189
+ uo as Separator,
190
+ Co as Sheet,
191
+ go as SheetClose,
192
+ Do as SheetContent,
193
+ so as SheetDescription,
194
+ Mo as SheetFooter,
195
+ To as SheetHeader,
196
+ Fo as SheetOverlay,
197
+ Po as SheetPortal,
198
+ ko as SheetTitle,
199
+ wo as SheetTrigger,
200
+ Ao as Sidebar,
201
+ Io as SidebarContent,
202
+ Bo as SidebarFooter,
203
+ Go as SidebarGroup,
204
+ vo as SidebarGroupAction,
205
+ Ro as SidebarGroupContent,
206
+ Lo as SidebarGroupLabel,
207
+ Ho as SidebarHeader,
208
+ yo as SidebarInset,
209
+ Eo as SidebarMenu,
210
+ Oo as SidebarMenuAction,
211
+ Vo as SidebarMenuBadge,
212
+ zo as SidebarMenuButton,
213
+ Uo as SidebarMenuItem,
214
+ jo as SidebarMenuSkeleton,
215
+ qo as SidebarMenuSub,
216
+ Jo as SidebarMenuSubButton,
217
+ Ko as SidebarMenuSubItem,
218
+ No as SidebarProvider,
219
+ Qo as SidebarRail,
220
+ Wo as SidebarSeparator,
221
+ Xo as SidebarTrigger,
222
+ _o as Skeleton,
223
+ Ze as SwipableDrawer,
224
+ _e as SwipableDrawerClose,
225
+ $e as SwipableDrawerContent,
226
+ er as SwipableDrawerDescription,
227
+ rr as SwipableDrawerFooter,
228
+ or as SwipableDrawerHeader,
229
+ tr as SwipableDrawerTitle,
230
+ ar as SwipableDrawerTrigger,
231
+ et as Switch,
232
+ ot as Tabs,
233
+ tt as TabsContent,
234
+ at as TabsList,
235
+ it as TabsTrigger,
236
+ mt as TextField,
237
+ lt as Textarea,
238
+ Le as TimePicker,
239
+ St as Toast,
240
+ ut as Tooltip,
241
+ ft as TooltipContent,
242
+ Ct as TooltipProvider,
243
+ gt as TooltipTrigger,
244
+ F as buttonVariants,
245
+ Tt as cn,
246
+ bt as toast,
247
+ re as useConfirm,
248
+ Ae as useDataGrid,
249
+ st as useIsMobile,
250
+ Yo as useSidebar
220
251
  };
221
252
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,39 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import * as r from "@radix-ui/react-progress";
4
+ import { cn as s } from "./utils.es.js";
5
+ import { tv as g } from "tailwind-variants";
6
+ const i = g({
7
+ base: "",
8
+ variants: {
9
+ variant: {
10
+ primary: "bg-primary",
11
+ info: "bg-info",
12
+ success: "bg-success",
13
+ warning: "bg-warning",
14
+ danger: "bg-danger"
15
+ },
16
+ size: {
17
+ sm: "h-[3px]",
18
+ md: "h-[4px]",
19
+ lg: "h-[5px]"
20
+ }
21
+ },
22
+ defaultVariants: {
23
+ variant: "primary",
24
+ size: "md"
25
+ }
26
+ }), p = f.forwardRef(
27
+ ({ className: o, value: e, variant: t, size: n, ...m }, l) => /* @__PURE__ */ a(r.Root, { ref: l, className: s(i({ size: n }), "relative w-full overflow-hidden bg-gray-300", o), ...m, children: /* @__PURE__ */ a(
28
+ r.Indicator,
29
+ {
30
+ className: s("h-full w-full flex-1 transition-all", i({ variant: t })),
31
+ style: { transform: `translateX(-${100 - (e || 0)}%)` }
32
+ }
33
+ ) })
34
+ );
35
+ p.displayName = r.Root.displayName;
36
+ export {
37
+ p as Progress
38
+ };
39
+ //# sourceMappingURL=progress.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.es.js","sources":["../src/components/progress/Progress.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\";\r\nimport { cn } from \"../../lib/utils\";\r\nimport { tv, VariantProps } from \"tailwind-variants\";\r\n\r\nconst progressVariants = tv({\r\n base: \"\",\r\n variants: {\r\n variant: {\r\n primary: \"bg-primary\",\r\n info: \"bg-info\",\r\n success: \"bg-success\",\r\n warning: \"bg-warning\",\r\n danger: \"bg-danger\",\r\n },\r\n size: {\r\n sm: \"h-[3px]\",\r\n md: \"h-[4px]\",\r\n lg: \"h-[5px]\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"primary\",\r\n size: \"md\",\r\n },\r\n});\r\n\r\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & {\r\n variant?: VariantProps<typeof progressVariants>[\"variant\"];\r\n size?: VariantProps<typeof progressVariants>[\"size\"];\r\n};\r\n\r\nconst Progress = React.forwardRef<React.ElementRef<typeof ProgressPrimitive.Root>, ProgressProps>(\r\n ({ className, value, variant, size, ...props }, ref) => (\r\n <ProgressPrimitive.Root ref={ref} className={cn(progressVariants({ size }), \"relative w-full overflow-hidden bg-gray-300\", className)} {...props}>\r\n <ProgressPrimitive.Indicator\r\n className={cn(\"h-full w-full flex-1 transition-all\", progressVariants({ variant }))}\r\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\r\n />\r\n </ProgressPrimitive.Root>\r\n ),\r\n);\r\nProgress.displayName = ProgressPrimitive.Root.displayName;\r\n\r\nexport { Progress, type ProgressProps };\r\n"],"names":["progressVariants","tv","Progress","React","className","value","variant","size","props","ref","jsx","ProgressPrimitive","cn"],"mappings":";;;;;AAOA,MAAMA,IAAmBC,EAAG;AAAA,EAC1B,MAAM;AAAA,EACN,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,SAAS;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA;AAAA,EAER;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,EAAA;AAEV,CAAC,GAOKC,IAAWC,EAAM;AAAA,EACrB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,SAAAC,GAAS,MAAAC,GAAM,GAAGC,EAAM,GAAGC,MAC9C,gBAAAC,EAACC,EAAkB,MAAlB,EAAuB,KAAAF,GAAU,WAAWG,EAAGZ,EAAiB,EAAE,MAAAO,EAAM,CAAA,GAAG,+CAA+CH,CAAS,GAAI,GAAGI,GACzI,UAAA,gBAAAE;AAAA,IAACC,EAAkB;AAAA,IAAlB;AAAA,MACC,WAAWC,EAAG,uCAAuCZ,EAAiB,EAAE,SAAAM,EAAS,CAAA,CAAC;AAAA,MAClF,OAAO,EAAE,WAAW,eAAe,OAAOD,KAAS,EAAE,KAAK;AAAA,IAAA;AAAA,EAAA,EAE9D,CAAA;AAEJ;AACAH,EAAS,cAAcS,EAAkB,KAAK;"}