@oneplatformdev/ui 0.0.1-beta.5 → 0.0.1-beta.50

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 (69) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Accordion/Accordion.mjs +23 -20
  3. package/AlertDialog/AlertDialog.mjs +58 -60
  4. package/Button/buttonVariants.mjs +5 -5
  5. package/Calendar/Calendar.mjs +3 -2
  6. package/Combobox/Combobox.mjs +106 -82
  7. package/Combobox/Combobox.types.d.ts +10 -1
  8. package/Command/Command.d.ts +1 -1
  9. package/DataTable/DataTable.mjs +32 -51
  10. package/DataTable/DataTableColumnFilter.d.ts +4 -0
  11. package/DataTable/DataTableColumnFilter.mjs +31 -0
  12. package/DatePicker/DatePicker.mjs +2 -2
  13. package/Dropzone/Dropzone.d.ts +22 -0
  14. package/Dropzone/Dropzone.mjs +151 -0
  15. package/Dropzone/Dropzone.types.d.ts +38 -0
  16. package/Dropzone/DropzoneFilePreview.d.ts +4 -0
  17. package/Dropzone/DropzoneFilePreview.mjs +9 -0
  18. package/Dropzone/DropzoneSinglePickPreview.d.ts +9 -0
  19. package/Dropzone/DropzoneSinglePickPreview.mjs +38 -0
  20. package/Dropzone/DropzoneUtils.d.ts +5 -0
  21. package/Dropzone/DropzoneUtils.mjs +24 -0
  22. package/Dropzone/index.d.ts +2 -0
  23. package/Dropzone/index.mjs +7 -0
  24. package/Dropzone/package.json +7 -0
  25. package/DropzoneFilePreview-Dhtv8F4u.js +67 -0
  26. package/Form/FormRenderControl.d.ts +1 -2
  27. package/Form/FormRenderControl.mjs +10 -10
  28. package/Form/FormRenderControl.types.d.ts +4 -3
  29. package/FormCheckbox/FormCheckbox.d.ts +1 -2
  30. package/FormCheckbox/FormCheckbox.types.d.ts +1 -2
  31. package/FormCombobox/FormCombobox.d.ts +2 -2
  32. package/FormCombobox/FormCombobox.types.d.ts +1 -2
  33. package/FormDatePicker/FormDatePicker.d.ts +2 -2
  34. package/FormDatePicker/FormDatePicker.mjs +20 -18
  35. package/FormDatePicker/FormDatePicker.types.d.ts +1 -2
  36. package/FormDropzone/FormDropzone.d.ts +4 -0
  37. package/FormDropzone/FormDropzone.mjs +19 -0
  38. package/FormDropzone/FormDropzone.types.d.ts +6 -0
  39. package/FormDropzone/index.d.ts +2 -0
  40. package/FormDropzone/index.mjs +4 -0
  41. package/FormDropzone/package.json +7 -0
  42. package/FormInput/FormInput.d.ts +1 -2
  43. package/FormInput/FormInput.types.d.ts +1 -2
  44. package/FormSelect/FormSelect.d.ts +1 -2
  45. package/FormSelect/FormSelect.mjs +19 -17
  46. package/FormSelect/FormSelect.types.d.ts +1 -2
  47. package/FormTextarea/FormTextarea.d.ts +1 -2
  48. package/FormTextarea/FormTextarea.mjs +13 -12
  49. package/FormTextarea/FormTextarea.types.d.ts +1 -2
  50. package/Input/Input.mjs +42 -37
  51. package/Input/Input.types.d.ts +3 -1
  52. package/Select/Select.mjs +44 -42
  53. package/Select/Select.types.d.ts +7 -1
  54. package/Select/SelectRoot.d.ts +2 -2
  55. package/Select/SelectRoot.mjs +1 -0
  56. package/Tabs/Tabs.d.ts +3 -2
  57. package/Tabs/Tabs.mjs +20 -6
  58. package/Tabs/Tabs.types.d.ts +5 -2
  59. package/Tabs/index.mjs +8 -7
  60. package/Textarea/Textarea.d.ts +1 -1
  61. package/Textarea/Textarea.mjs +71 -15
  62. package/Textarea/Textarea.types.d.ts +16 -2
  63. package/Textarea/useAutosizeTextArea.d.ts +3 -0
  64. package/Textarea/useAutosizeTextArea.mjs +20 -0
  65. package/Toast/toastVariants.mjs +3 -3
  66. package/index.css +1 -1
  67. package/index.d.ts +2 -0
  68. package/index.mjs +233 -225
  69. package/package.json +9 -8
package/index.mjs CHANGED
@@ -1,82 +1,85 @@
1
1
  import { Accordion as e, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./Accordion/Accordion.mjs";
2
2
  import { Alert as p, AlertDescription as l, AlertTitle as m } from "./Alert/Alert.mjs";
3
- import { AlertDialogAction as d, AlertDialogCancel as g, AlertDialogContent as b, AlertDialogDescription as x, AlertDialogFooter as f, AlertDialogHeader as S, AlertDialogOverlay as s, AlertDialogPortal as C, AlertDialogRoot as T, AlertDialogTitle as c, AlertDialogTrigger as D } from "./AlertDialog/AlertDialogRoot.mjs";
3
+ import { AlertDialogAction as d, AlertDialogCancel as b, AlertDialogContent as g, AlertDialogDescription as x, AlertDialogFooter as f, AlertDialogHeader as S, AlertDialogOverlay as s, AlertDialogPortal as C, AlertDialogRoot as T, AlertDialogTitle as D, AlertDialogTrigger as c } from "./AlertDialog/AlertDialogRoot.mjs";
4
4
  import { AlertDialog as P } from "./AlertDialog/AlertDialog.mjs";
5
- import { AreaChart as A } from "./AreaChart/AreaChart.mjs";
5
+ import { AreaChart as I } from "./AreaChart/AreaChart.mjs";
6
6
  import { Aside as h } from "./Aside/Aside.mjs";
7
7
  import { AsideSidebar as F } from "./Aside/AsideSidebar.mjs";
8
8
  import { AspectRatio as B } from "./AspectRatio/AspectRatio.mjs";
9
9
  import { Avatar as G, AvatarFallback as k, AvatarImage as H } from "./Avatar/Avatar.mjs";
10
10
  import { Badge as V } from "./Badge/Badge.mjs";
11
- import { badgeVariants as O } from "./Badge/badgeVariants.mjs";
12
- import { Breadcrumb as E, BreadcrumbEllipsis as U, BreadcrumbItem as j, BreadcrumbLink as q, BreadcrumbList as J, BreadcrumbPage as K, BreadcrumbSeparator as Q } from "./Breadcrumb/Breadcrumb.mjs";
13
- import { Button as X } from "./Button/Button.mjs";
14
- import { buttonVariants as Z } from "./Button/buttonVariants.mjs";
11
+ import { badgeVariants as E } from "./Badge/badgeVariants.mjs";
12
+ import { Breadcrumb as z, BreadcrumbEllipsis as _, BreadcrumbItem as U, BreadcrumbLink as Y, BreadcrumbList as j, BreadcrumbPage as q, BreadcrumbSeparator as J } from "./Breadcrumb/Breadcrumb.mjs";
13
+ import { Button as Q } from "./Button/Button.mjs";
14
+ import { buttonVariants as X } from "./Button/buttonVariants.mjs";
15
15
  import { ButtonIcon as $ } from "./ButtonIcon/ButtonIcon.mjs";
16
- import { buttonIconVariants as or } from "./ButtonIcon/buttonIconVariants.mjs";
17
- import { Calendar as tr } from "./Calendar/Calendar.mjs";
18
- import { Card as nr, CardContent as ir, CardDescription as pr, CardFooter as lr, CardHeader as mr, CardTitle as ur } from "./Card/Card.mjs";
19
- import { Carousel as gr, CarouselContent as br, CarouselItem as xr, CarouselNext as fr, CarouselPrevious as Sr } from "./Carousel/Carousel.mjs";
20
- import { ChartContainer as Cr, ChartLegend as Tr, ChartLegendContent as cr, ChartStyle as Dr, ChartTooltip as Mr, ChartTooltipContent as Pr } from "./Chart/Chart.mjs";
21
- import { Checkbox as Ar } from "./Checkbox/Checkbox.mjs";
22
- import { Collapsible as hr, CollapsibleContent as vr, CollapsibleTrigger as Fr } from "./Collapsible/Collapsible.mjs";
23
- import { Combobox as Br } from "./Combobox/Combobox.mjs";
24
- import { Command as Gr, CommandDialog as kr, CommandEmpty as Hr, CommandGroup as Nr, CommandInput as Vr, CommandItem as yr, CommandList as Or, CommandSeparator as zr, CommandShortcut as Er } from "./Command/Command.mjs";
25
- import { DataTable as jr } from "./DataTable/DataTable.mjs";
26
- import { DatePicker as Jr } from "./DatePicker/DatePicker.mjs";
27
- import { Dialog as Qr, DialogClose as Wr, DialogContent as Xr, DialogDescription as Yr, DialogFooter as Zr, DialogHeader as _r, DialogOverlay as $r, DialogPortal as ro, DialogTitle as oo, DialogTrigger as eo } from "./Dialog/Dialog.mjs";
28
- import { Drawer as ao, DrawerClose as no, DrawerContent as io, DrawerDescription as po, DrawerFooter as lo, DrawerHeader as mo, DrawerOverlay as uo, DrawerPortal as go, DrawerTitle as bo, DrawerTrigger as xo } from "./Drawer/Drawer.mjs";
29
- import { DropdownMenu as So, DropdownMenuCheckboxItem as so, DropdownMenuContent as Co, DropdownMenuGroup as To, DropdownMenuItem as co, DropdownMenuLabel as Do, DropdownMenuPortal as Mo, DropdownMenuRadioGroup as Po, DropdownMenuRadioItem as Io, DropdownMenuSeparator as Ao, DropdownMenuShortcut as wo, DropdownMenuSub as ho, DropdownMenuSubContent as vo, DropdownMenuSubTrigger as Fo, DropdownMenuTrigger as Lo } from "./DropdownMenu/DropdownMenu.mjs";
30
- import { Form as Ro, FormControl as Go, FormDescription as ko, FormField as Ho, FormItem as No, FormLabel as Vo, FormMessage as yo, useFormField as Oo } from "./Form/Form.mjs";
31
- import { FormRenderControl as Eo } from "./Form/FormRenderControl.mjs";
32
- import { FormCheckbox as jo } from "./FormCheckbox/FormCheckbox.mjs";
33
- import { FormCombobox as Jo } from "./FormCombobox/FormCombobox.mjs";
34
- import { FormDatePicker as Qo } from "./FormDatePicker/FormDatePicker.mjs";
35
- import { FormInput as Xo } from "./FormInput/FormInput.mjs";
36
- import { FormSelect as Zo } from "./FormSelect/FormSelect.mjs";
37
- import { FormTextarea as $o } from "./FormTextarea/FormTextarea.mjs";
38
- import { Header as oe } from "./Header/Header.mjs";
16
+ import { buttonIconVariants as ro } from "./ButtonIcon/buttonIconVariants.mjs";
17
+ import { Calendar as to } from "./Calendar/Calendar.mjs";
18
+ import { Card as no, CardContent as io, CardDescription as po, CardFooter as lo, CardHeader as mo, CardTitle as uo } from "./Card/Card.mjs";
19
+ import { Carousel as go, CarouselContent as xo, CarouselItem as fo, CarouselNext as So, CarouselPrevious as so } from "./Carousel/Carousel.mjs";
20
+ import { ChartContainer as To, ChartLegend as Do, ChartLegendContent as co, ChartStyle as Mo, ChartTooltip as Po, ChartTooltipContent as Ao } from "./Chart/Chart.mjs";
21
+ import { Checkbox as wo } from "./Checkbox/Checkbox.mjs";
22
+ import { Collapsible as vo, CollapsibleContent as Fo, CollapsibleTrigger as Lo } from "./Collapsible/Collapsible.mjs";
23
+ import { Combobox as Ro } from "./Combobox/Combobox.mjs";
24
+ import { Command as ko, CommandDialog as Ho, CommandEmpty as No, CommandGroup as Vo, CommandInput as yo, CommandItem as Eo, CommandList as Oo, CommandSeparator as zo, CommandShortcut as _o } from "./Command/Command.mjs";
25
+ import { DataTable as Yo } from "./DataTable/DataTable.mjs";
26
+ import { DatePicker as qo } from "./DatePicker/DatePicker.mjs";
27
+ import { Dialog as Ko, DialogClose as Qo, DialogContent as Wo, DialogDescription as Xo, DialogFooter as Zo, DialogHeader as $o, DialogOverlay as or, DialogPortal as rr, DialogTitle as er, DialogTrigger as tr } from "./Dialog/Dialog.mjs";
28
+ import { Drawer as nr, DrawerClose as ir, DrawerContent as pr, DrawerDescription as lr, DrawerFooter as mr, DrawerHeader as ur, DrawerOverlay as dr, DrawerPortal as br, DrawerTitle as gr, DrawerTrigger as xr } from "./Drawer/Drawer.mjs";
29
+ import { DropdownMenu as Sr, DropdownMenuCheckboxItem as sr, DropdownMenuContent as Cr, DropdownMenuGroup as Tr, DropdownMenuItem as Dr, DropdownMenuLabel as cr, DropdownMenuPortal as Mr, DropdownMenuRadioGroup as Pr, DropdownMenuRadioItem as Ar, DropdownMenuSeparator as Ir, DropdownMenuShortcut as wr, DropdownMenuSub as hr, DropdownMenuSubContent as vr, DropdownMenuSubTrigger as Fr, DropdownMenuTrigger as Lr } from "./DropdownMenu/DropdownMenu.mjs";
30
+ import { Form as Rr, FormControl as Gr, FormDescription as kr, FormField as Hr, FormItem as Nr, FormLabel as Vr, FormMessage as yr, useFormField as Er } from "./Form/Form.mjs";
31
+ import { FormRenderControl as zr } from "./Form/FormRenderControl.mjs";
32
+ import { FormCheckbox as Ur } from "./FormCheckbox/FormCheckbox.mjs";
33
+ import { FormCombobox as jr } from "./FormCombobox/FormCombobox.mjs";
34
+ import { FormDatePicker as Jr } from "./FormDatePicker/FormDatePicker.mjs";
35
+ import { FormInput as Qr } from "./FormInput/FormInput.mjs";
36
+ import { FormSelect as Xr } from "./FormSelect/FormSelect.mjs";
37
+ import { FormTextarea as $r } from "./FormTextarea/FormTextarea.mjs";
38
+ import { Header as re } from "./Header/Header.mjs";
39
39
  import { HoverCard as te, HoverCardContent as ae, HoverCardTrigger as ne } from "./HoverCard/HoverCard.mjs";
40
40
  import { BaseInput as pe, Input as le, PasswordInput as me } from "./Input/Input.mjs";
41
- import { InputOTP as de, InputOTPGroup as ge, InputOTPSeparator as be, InputOTPSlot as xe } from "./InputOTP/InputOTP.mjs";
41
+ import { InputOTP as de, InputOTPGroup as be, InputOTPSeparator as ge, InputOTPSlot as xe } from "./InputOTP/InputOTP.mjs";
42
42
  import { Label as Se } from "./Label/Label.mjs";
43
43
  import { labelVariants as Ce } from "./Label/labelVariants.mjs";
44
- import { LazyLoader as ce } from "./LazyLoader/LazyLoader.mjs";
44
+ import { LazyLoader as De } from "./LazyLoader/LazyLoader.mjs";
45
45
  import { LoadingMask as Me } from "./LoadingMask/LoadingMask.mjs";
46
- import { LoadingProgress as Ie } from "./LoadingProgress/LoadingProgress.mjs";
46
+ import { LoadingProgress as Ae } from "./LoadingProgress/LoadingProgress.mjs";
47
47
  import { loadingProgressVariants as we } from "./LoadingProgress/loadingProgressVariants.mjs";
48
- import { Menubar as ve, MenubarCheckboxItem as Fe, MenubarContent as Le, MenubarGroup as Be, MenubarItem as Re, MenubarLabel as Ge, MenubarMenu as ke, MenubarPortal as He, MenubarRadioGroup as Ne, MenubarRadioItem as Ve, MenubarSeparator as ye, MenubarShortcut as Oe, MenubarSub as ze, MenubarSubContent as Ee, MenubarSubTrigger as Ue, MenubarTrigger as je } from "./Menubar/Menubar.mjs";
49
- import { NavigationMenu as Je, NavigationMenuContent as Ke, NavigationMenuIndicator as Qe, NavigationMenuItem as We, NavigationMenuLink as Xe, NavigationMenuList as Ye, NavigationMenuTrigger as Ze, NavigationMenuViewport as _e } from "./NavigationMenu/NavigationMenu.mjs";
50
- import { navigationMenuVariants as rt } from "./NavigationMenu/navigationMenuVariants.mjs";
48
+ import { Menubar as ve, MenubarCheckboxItem as Fe, MenubarContent as Le, MenubarGroup as Be, MenubarItem as Re, MenubarLabel as Ge, MenubarMenu as ke, MenubarPortal as He, MenubarRadioGroup as Ne, MenubarRadioItem as Ve, MenubarSeparator as ye, MenubarShortcut as Ee, MenubarSub as Oe, MenubarSubContent as ze, MenubarSubTrigger as _e, MenubarTrigger as Ue } from "./Menubar/Menubar.mjs";
49
+ import { NavigationMenu as je, NavigationMenuContent as qe, NavigationMenuIndicator as Je, NavigationMenuItem as Ke, NavigationMenuLink as Qe, NavigationMenuList as We, NavigationMenuTrigger as Xe, NavigationMenuViewport as Ze } from "./NavigationMenu/NavigationMenu.mjs";
50
+ import { navigationMenuVariants as ot } from "./NavigationMenu/navigationMenuVariants.mjs";
51
51
  import { Pagination as et, PaginationContent as tt, PaginationEllipsis as at, PaginationItem as nt, PaginationLink as it, PaginationNext as pt, PaginationPrevious as lt } from "./Pagination/Pagination.mjs";
52
- import { Popover as ut, PopoverAnchor as dt, PopoverContent as gt, PopoverTrigger as bt } from "./Popover/Popover.mjs";
52
+ import { Popover as ut, PopoverAnchor as dt, PopoverContent as bt, PopoverTrigger as gt } from "./Popover/Popover.mjs";
53
53
  import { Progress as ft } from "./Progress/Progress.mjs";
54
54
  import { RadioGroup as st, RadioGroupItem as Ct } from "./RadioGroup/RadioGroup.mjs";
55
- import { ResizableHandle as ct, ResizablePanel as Dt, ResizablePanelGroup as Mt } from "./Resizable/Resizable.mjs";
56
- import { ScrollArea as It, ScrollBar as At } from "./ScrollArea/ScrollArea.mjs";
55
+ import { ResizableHandle as Dt, ResizablePanel as ct, ResizablePanelGroup as Mt } from "./Resizable/Resizable.mjs";
56
+ import { ScrollArea as At, ScrollBar as It } from "./ScrollArea/ScrollArea.mjs";
57
57
  import { Search as ht } from "./Search/Search.mjs";
58
58
  import { SelectContent as Ft, SelectGroup as Lt, SelectItem as Bt, SelectLabel as Rt, SelectRoot as Gt, SelectScrollDownButton as kt, SelectScrollUpButton as Ht, SelectSeparator as Nt, SelectTrigger as Vt, SelectValue as yt } from "./Select/SelectRoot.mjs";
59
- import { Select as zt } from "./Select/Select.mjs";
60
- import { Separator as Ut } from "./Separator/Separator.mjs";
61
- import { Sheet as qt, SheetClose as Jt, SheetContent as Kt, SheetDescription as Qt, SheetFooter as Wt, SheetHeader as Xt, SheetOverlay as Yt, SheetPortal as Zt, SheetTitle as _t, SheetTrigger as $t } from "./Sheet/Sheet.mjs";
62
- import { Sidebar as oa, SidebarContent as ea, SidebarFooter as ta, SidebarGroup as aa, SidebarGroupAction as na, SidebarGroupContent as ia, SidebarGroupLabel as pa, SidebarHeader as la, SidebarInput as ma, SidebarInset as ua, SidebarMenu as da, SidebarMenuAction as ga, SidebarMenuBadge as ba, SidebarMenuButton as xa, SidebarMenuItem as fa, SidebarMenuSkeleton as Sa, SidebarMenuSub as sa, SidebarMenuSubButton as Ca, SidebarMenuSubItem as Ta, SidebarProvider as ca, SidebarRail as Da, SidebarSeparator as Ma, SidebarTrigger as Pa, useSidebar as Ia } from "./Sidebar/Sidebar.mjs";
59
+ import { Select as Ot } from "./Select/Select.mjs";
60
+ import { Separator as _t } from "./Separator/Separator.mjs";
61
+ import { Sheet as Yt, SheetClose as jt, SheetContent as qt, SheetDescription as Jt, SheetFooter as Kt, SheetHeader as Qt, SheetOverlay as Wt, SheetPortal as Xt, SheetTitle as Zt, SheetTrigger as $t } from "./Sheet/Sheet.mjs";
62
+ import { Sidebar as ra, SidebarContent as ea, SidebarFooter as ta, SidebarGroup as aa, SidebarGroupAction as na, SidebarGroupContent as ia, SidebarGroupLabel as pa, SidebarHeader as la, SidebarInput as ma, SidebarInset as ua, SidebarMenu as da, SidebarMenuAction as ba, SidebarMenuBadge as ga, SidebarMenuButton as xa, SidebarMenuItem as fa, SidebarMenuSkeleton as Sa, SidebarMenuSub as sa, SidebarMenuSubButton as Ca, SidebarMenuSubItem as Ta, SidebarProvider as Da, SidebarRail as ca, SidebarSeparator as Ma, SidebarTrigger as Pa, useSidebar as Aa } from "./Sidebar/Sidebar.mjs";
63
63
  import { Skeleton as wa } from "./Skeleton/Skeleton.mjs";
64
64
  import { Slider as va } from "./Slider/Slider.mjs";
65
65
  import { Sonner as La } from "./Sonner/Sonner.mjs";
66
66
  import { Switch as Ra } from "./Switch/Switch.mjs";
67
- import { Table as ka, TableBody as Ha, TableCaption as Na, TableCell as Va, TableFooter as ya, TableHead as Oa, TableHeader as za, TableRow as Ea } from "./Table/Table.mjs";
68
- import { TabsContent as ja, TabsList as qa, TabsRoot as Ja, TabsTrigger as Ka } from "./Tabs/TabsRoot.mjs";
69
- import { Tabs as Wa } from "./Tabs/Tabs.mjs";
70
- import { Textarea as Ya } from "./Textarea/Textarea.mjs";
71
- import { ThemeProvider as _a } from "./Theme/ThemeProvider.mjs";
67
+ import { Table as ka, TableBody as Ha, TableCaption as Na, TableCell as Va, TableFooter as ya, TableHead as Ea, TableHeader as Oa, TableRow as za } from "./Table/Table.mjs";
68
+ import { TabsContent as Ua, TabsList as Ya, TabsRoot as ja, TabsTrigger as qa } from "./Tabs/TabsRoot.mjs";
69
+ import { TabRender as Ka, Tabs as Qa } from "./Tabs/Tabs.mjs";
70
+ import { Textarea as Xa } from "./Textarea/Textarea.mjs";
71
+ import { ThemeProvider as $a } from "./Theme/ThemeProvider.mjs";
72
72
  import { ThemeModeToggle as rn } from "./Theme/ThemeModeToggle.mjs";
73
- import { Toast as en, ToastAction as tn, ToastClose as an, ToastDescription as nn, ToastProvider as pn, ToastTitle as ln, ToastViewport as mn } from "./Toast/Toast.mjs";
74
- import { reducer as dn, toast as gn, useNotify as bn, useToast as xn } from "./Toast/useToast.mjs";
75
- import { Toaster as Sn } from "./Toaster/Toaster.mjs";
76
- import { Toggle as Cn, toggleVariants as Tn } from "./Toggle/Toggle.mjs";
77
- import { ToggleGroup as Dn, ToggleGroupItem as Mn } from "./ToggleGroup/ToggleGroup.mjs";
78
- import { TooltipContent as In, TooltipProvider as An, TooltipRoot as wn, TooltipTrigger as hn } from "./Tooltip/TooltipRoot.mjs";
79
- import { Tooltip as Fn } from "./Tooltip/Tooltip.mjs";
73
+ import { Toast as tn, ToastAction as an, ToastClose as nn, ToastDescription as pn, ToastProvider as ln, ToastTitle as mn, ToastViewport as un } from "./Toast/Toast.mjs";
74
+ import { reducer as bn, toast as gn, useNotify as xn, useToast as fn } from "./Toast/useToast.mjs";
75
+ import { Toaster as sn } from "./Toaster/Toaster.mjs";
76
+ import { Toggle as Tn, toggleVariants as Dn } from "./Toggle/Toggle.mjs";
77
+ import { ToggleGroup as Mn, ToggleGroupItem as Pn } from "./ToggleGroup/ToggleGroup.mjs";
78
+ import { TooltipContent as In, TooltipProvider as wn, TooltipRoot as hn, TooltipTrigger as vn } from "./Tooltip/TooltipRoot.mjs";
79
+ import { Tooltip as Ln } from "./Tooltip/Tooltip.mjs";
80
+ import { Dropzone as Rn } from "./Dropzone/Dropzone.mjs";
81
+ import { D as kn, a as Hn } from "./DropzoneFilePreview-Dhtv8F4u.js";
82
+ import { FormDropzone as Vn } from "./FormDropzone/FormDropzone.mjs";
80
83
  export {
81
84
  e as Accordion,
82
85
  t as AccordionContent,
@@ -86,18 +89,18 @@ export {
86
89
  l as AlertDescription,
87
90
  P as AlertDialog,
88
91
  d as AlertDialogAction,
89
- g as AlertDialogCancel,
90
- b as AlertDialogContent,
92
+ b as AlertDialogCancel,
93
+ g as AlertDialogContent,
91
94
  x as AlertDialogDescription,
92
95
  f as AlertDialogFooter,
93
96
  S as AlertDialogHeader,
94
97
  s as AlertDialogOverlay,
95
98
  C as AlertDialogPortal,
96
99
  T as AlertDialogRoot,
97
- c as AlertDialogTitle,
98
- D as AlertDialogTrigger,
100
+ D as AlertDialogTitle,
101
+ c as AlertDialogTrigger,
99
102
  m as AlertTitle,
100
- A as AreaChart,
103
+ I as AreaChart,
101
104
  h as Aside,
102
105
  F as AsideSidebar,
103
106
  B as AspectRatio,
@@ -106,111 +109,115 @@ export {
106
109
  H as AvatarImage,
107
110
  V as Badge,
108
111
  pe as BaseInput,
109
- E as Breadcrumb,
110
- U as BreadcrumbEllipsis,
111
- j as BreadcrumbItem,
112
- q as BreadcrumbLink,
113
- J as BreadcrumbList,
114
- K as BreadcrumbPage,
115
- Q as BreadcrumbSeparator,
116
- X as Button,
112
+ z as Breadcrumb,
113
+ _ as BreadcrumbEllipsis,
114
+ U as BreadcrumbItem,
115
+ Y as BreadcrumbLink,
116
+ j as BreadcrumbList,
117
+ q as BreadcrumbPage,
118
+ J as BreadcrumbSeparator,
119
+ Q as Button,
117
120
  $ as ButtonIcon,
118
- tr as Calendar,
119
- nr as Card,
120
- ir as CardContent,
121
- pr as CardDescription,
122
- lr as CardFooter,
123
- mr as CardHeader,
124
- ur as CardTitle,
125
- gr as Carousel,
126
- br as CarouselContent,
127
- xr as CarouselItem,
128
- fr as CarouselNext,
129
- Sr as CarouselPrevious,
130
- Cr as ChartContainer,
131
- Tr as ChartLegend,
132
- cr as ChartLegendContent,
133
- Dr as ChartStyle,
134
- Mr as ChartTooltip,
135
- Pr as ChartTooltipContent,
136
- Ar as Checkbox,
137
- hr as Collapsible,
138
- vr as CollapsibleContent,
139
- Fr as CollapsibleTrigger,
140
- Br as Combobox,
141
- Gr as Command,
142
- kr as CommandDialog,
143
- Hr as CommandEmpty,
144
- Nr as CommandGroup,
145
- Vr as CommandInput,
146
- yr as CommandItem,
147
- Or as CommandList,
148
- zr as CommandSeparator,
149
- Er as CommandShortcut,
150
- jr as DataTable,
151
- Jr as DatePicker,
152
- Qr as Dialog,
153
- Wr as DialogClose,
154
- Xr as DialogContent,
155
- Yr as DialogDescription,
156
- Zr as DialogFooter,
157
- _r as DialogHeader,
158
- $r as DialogOverlay,
159
- ro as DialogPortal,
160
- oo as DialogTitle,
161
- eo as DialogTrigger,
162
- ao as Drawer,
163
- no as DrawerClose,
164
- io as DrawerContent,
165
- po as DrawerDescription,
166
- lo as DrawerFooter,
167
- mo as DrawerHeader,
168
- uo as DrawerOverlay,
169
- go as DrawerPortal,
170
- bo as DrawerTitle,
171
- xo as DrawerTrigger,
172
- So as DropdownMenu,
173
- so as DropdownMenuCheckboxItem,
174
- Co as DropdownMenuContent,
175
- To as DropdownMenuGroup,
176
- co as DropdownMenuItem,
177
- Do as DropdownMenuLabel,
178
- Mo as DropdownMenuPortal,
179
- Po as DropdownMenuRadioGroup,
180
- Io as DropdownMenuRadioItem,
181
- Ao as DropdownMenuSeparator,
182
- wo as DropdownMenuShortcut,
183
- ho as DropdownMenuSub,
184
- vo as DropdownMenuSubContent,
185
- Fo as DropdownMenuSubTrigger,
186
- Lo as DropdownMenuTrigger,
187
- Ro as Form,
188
- jo as FormCheckbox,
189
- Jo as FormCombobox,
190
- Go as FormControl,
191
- Qo as FormDatePicker,
192
- ko as FormDescription,
193
- Ho as FormField,
194
- Xo as FormInput,
195
- No as FormItem,
196
- Vo as FormLabel,
197
- yo as FormMessage,
198
- Eo as FormRenderControl,
199
- Zo as FormSelect,
200
- $o as FormTextarea,
201
- oe as Header,
121
+ to as Calendar,
122
+ no as Card,
123
+ io as CardContent,
124
+ po as CardDescription,
125
+ lo as CardFooter,
126
+ mo as CardHeader,
127
+ uo as CardTitle,
128
+ go as Carousel,
129
+ xo as CarouselContent,
130
+ fo as CarouselItem,
131
+ So as CarouselNext,
132
+ so as CarouselPrevious,
133
+ To as ChartContainer,
134
+ Do as ChartLegend,
135
+ co as ChartLegendContent,
136
+ Mo as ChartStyle,
137
+ Po as ChartTooltip,
138
+ Ao as ChartTooltipContent,
139
+ wo as Checkbox,
140
+ vo as Collapsible,
141
+ Fo as CollapsibleContent,
142
+ Lo as CollapsibleTrigger,
143
+ Ro as Combobox,
144
+ ko as Command,
145
+ Ho as CommandDialog,
146
+ No as CommandEmpty,
147
+ Vo as CommandGroup,
148
+ yo as CommandInput,
149
+ Eo as CommandItem,
150
+ Oo as CommandList,
151
+ zo as CommandSeparator,
152
+ _o as CommandShortcut,
153
+ kn as DEFAULT_FILE_TYPES,
154
+ Hn as DEFAULT_IMAGES_TYPES,
155
+ Yo as DataTable,
156
+ qo as DatePicker,
157
+ Ko as Dialog,
158
+ Qo as DialogClose,
159
+ Wo as DialogContent,
160
+ Xo as DialogDescription,
161
+ Zo as DialogFooter,
162
+ $o as DialogHeader,
163
+ or as DialogOverlay,
164
+ rr as DialogPortal,
165
+ er as DialogTitle,
166
+ tr as DialogTrigger,
167
+ nr as Drawer,
168
+ ir as DrawerClose,
169
+ pr as DrawerContent,
170
+ lr as DrawerDescription,
171
+ mr as DrawerFooter,
172
+ ur as DrawerHeader,
173
+ dr as DrawerOverlay,
174
+ br as DrawerPortal,
175
+ gr as DrawerTitle,
176
+ xr as DrawerTrigger,
177
+ Sr as DropdownMenu,
178
+ sr as DropdownMenuCheckboxItem,
179
+ Cr as DropdownMenuContent,
180
+ Tr as DropdownMenuGroup,
181
+ Dr as DropdownMenuItem,
182
+ cr as DropdownMenuLabel,
183
+ Mr as DropdownMenuPortal,
184
+ Pr as DropdownMenuRadioGroup,
185
+ Ar as DropdownMenuRadioItem,
186
+ Ir as DropdownMenuSeparator,
187
+ wr as DropdownMenuShortcut,
188
+ hr as DropdownMenuSub,
189
+ vr as DropdownMenuSubContent,
190
+ Fr as DropdownMenuSubTrigger,
191
+ Lr as DropdownMenuTrigger,
192
+ Rn as Dropzone,
193
+ Rr as Form,
194
+ Ur as FormCheckbox,
195
+ jr as FormCombobox,
196
+ Gr as FormControl,
197
+ Jr as FormDatePicker,
198
+ kr as FormDescription,
199
+ Vn as FormDropzone,
200
+ Hr as FormField,
201
+ Qr as FormInput,
202
+ Nr as FormItem,
203
+ Vr as FormLabel,
204
+ yr as FormMessage,
205
+ zr as FormRenderControl,
206
+ Xr as FormSelect,
207
+ $r as FormTextarea,
208
+ re as Header,
202
209
  te as HoverCard,
203
210
  ae as HoverCardContent,
204
211
  ne as HoverCardTrigger,
205
212
  le as Input,
206
213
  de as InputOTP,
207
- ge as InputOTPGroup,
208
- be as InputOTPSeparator,
214
+ be as InputOTPGroup,
215
+ ge as InputOTPSeparator,
209
216
  xe as InputOTPSlot,
210
217
  Se as Label,
211
- ce as LazyLoader,
218
+ De as LazyLoader,
212
219
  Me as LoadingMask,
213
- Ie as LoadingProgress,
220
+ Ae as LoadingProgress,
214
221
  ve as Menubar,
215
222
  Fe as MenubarCheckboxItem,
216
223
  Le as MenubarContent,
@@ -222,19 +229,19 @@ export {
222
229
  Ne as MenubarRadioGroup,
223
230
  Ve as MenubarRadioItem,
224
231
  ye as MenubarSeparator,
225
- Oe as MenubarShortcut,
226
- ze as MenubarSub,
227
- Ee as MenubarSubContent,
228
- Ue as MenubarSubTrigger,
229
- je as MenubarTrigger,
230
- Je as NavigationMenu,
231
- Ke as NavigationMenuContent,
232
- Qe as NavigationMenuIndicator,
233
- We as NavigationMenuItem,
234
- Xe as NavigationMenuLink,
235
- Ye as NavigationMenuList,
236
- Ze as NavigationMenuTrigger,
237
- _e as NavigationMenuViewport,
232
+ Ee as MenubarShortcut,
233
+ Oe as MenubarSub,
234
+ ze as MenubarSubContent,
235
+ _e as MenubarSubTrigger,
236
+ Ue as MenubarTrigger,
237
+ je as NavigationMenu,
238
+ qe as NavigationMenuContent,
239
+ Je as NavigationMenuIndicator,
240
+ Ke as NavigationMenuItem,
241
+ Qe as NavigationMenuLink,
242
+ We as NavigationMenuList,
243
+ Xe as NavigationMenuTrigger,
244
+ Ze as NavigationMenuViewport,
238
245
  et as Pagination,
239
246
  tt as PaginationContent,
240
247
  at as PaginationEllipsis,
@@ -245,18 +252,18 @@ export {
245
252
  me as PasswordInput,
246
253
  ut as Popover,
247
254
  dt as PopoverAnchor,
248
- gt as PopoverContent,
249
- bt as PopoverTrigger,
255
+ bt as PopoverContent,
256
+ gt as PopoverTrigger,
250
257
  ft as Progress,
251
258
  st as RadioGroup,
252
259
  Ct as RadioGroupItem,
253
- ct as ResizableHandle,
254
- Dt as ResizablePanel,
260
+ Dt as ResizableHandle,
261
+ ct as ResizablePanel,
255
262
  Mt as ResizablePanelGroup,
256
- It as ScrollArea,
257
- At as ScrollBar,
263
+ At as ScrollArea,
264
+ It as ScrollBar,
258
265
  ht as Search,
259
- zt as Select,
266
+ Ot as Select,
260
267
  Ft as SelectContent,
261
268
  Lt as SelectGroup,
262
269
  Bt as SelectItem,
@@ -267,18 +274,18 @@ export {
267
274
  Nt as SelectSeparator,
268
275
  Vt as SelectTrigger,
269
276
  yt as SelectValue,
270
- Ut as Separator,
271
- qt as Sheet,
272
- Jt as SheetClose,
273
- Kt as SheetContent,
274
- Qt as SheetDescription,
275
- Wt as SheetFooter,
276
- Xt as SheetHeader,
277
- Yt as SheetOverlay,
278
- Zt as SheetPortal,
279
- _t as SheetTitle,
277
+ _t as Separator,
278
+ Yt as Sheet,
279
+ jt as SheetClose,
280
+ qt as SheetContent,
281
+ Jt as SheetDescription,
282
+ Kt as SheetFooter,
283
+ Qt as SheetHeader,
284
+ Wt as SheetOverlay,
285
+ Xt as SheetPortal,
286
+ Zt as SheetTitle,
280
287
  $t as SheetTrigger,
281
- oa as Sidebar,
288
+ ra as Sidebar,
282
289
  ea as SidebarContent,
283
290
  ta as SidebarFooter,
284
291
  aa as SidebarGroup,
@@ -289,65 +296,66 @@ export {
289
296
  ma as SidebarInput,
290
297
  ua as SidebarInset,
291
298
  da as SidebarMenu,
292
- ga as SidebarMenuAction,
293
- ba as SidebarMenuBadge,
299
+ ba as SidebarMenuAction,
300
+ ga as SidebarMenuBadge,
294
301
  xa as SidebarMenuButton,
295
302
  fa as SidebarMenuItem,
296
303
  Sa as SidebarMenuSkeleton,
297
304
  sa as SidebarMenuSub,
298
305
  Ca as SidebarMenuSubButton,
299
306
  Ta as SidebarMenuSubItem,
300
- ca as SidebarProvider,
301
- Da as SidebarRail,
307
+ Da as SidebarProvider,
308
+ ca as SidebarRail,
302
309
  Ma as SidebarSeparator,
303
310
  Pa as SidebarTrigger,
304
311
  wa as Skeleton,
305
312
  va as Slider,
306
313
  La as Sonner,
307
314
  Ra as Switch,
315
+ Ka as TabRender,
308
316
  ka as Table,
309
317
  Ha as TableBody,
310
318
  Na as TableCaption,
311
319
  Va as TableCell,
312
320
  ya as TableFooter,
313
- Oa as TableHead,
314
- za as TableHeader,
315
- Ea as TableRow,
316
- Wa as Tabs,
317
- ja as TabsContent,
318
- qa as TabsList,
319
- Ja as TabsRoot,
320
- Ka as TabsTrigger,
321
- Ya as Textarea,
321
+ Ea as TableHead,
322
+ Oa as TableHeader,
323
+ za as TableRow,
324
+ Qa as Tabs,
325
+ Ua as TabsContent,
326
+ Ya as TabsList,
327
+ ja as TabsRoot,
328
+ qa as TabsTrigger,
329
+ Xa as Textarea,
322
330
  rn as ThemeModeToggle,
323
- _a as ThemeProvider,
324
- en as Toast,
325
- tn as ToastAction,
326
- an as ToastClose,
327
- nn as ToastDescription,
328
- pn as ToastProvider,
329
- ln as ToastTitle,
330
- mn as ToastViewport,
331
- Sn as Toaster,
332
- Cn as Toggle,
333
- Dn as ToggleGroup,
334
- Mn as ToggleGroupItem,
335
- Fn as Tooltip,
331
+ $a as ThemeProvider,
332
+ tn as Toast,
333
+ an as ToastAction,
334
+ nn as ToastClose,
335
+ pn as ToastDescription,
336
+ ln as ToastProvider,
337
+ mn as ToastTitle,
338
+ un as ToastViewport,
339
+ sn as Toaster,
340
+ Tn as Toggle,
341
+ Mn as ToggleGroup,
342
+ Pn as ToggleGroupItem,
343
+ Ln as Tooltip,
336
344
  In as TooltipContent,
337
- An as TooltipProvider,
338
- wn as TooltipRoot,
339
- hn as TooltipTrigger,
340
- O as badgeVariants,
341
- or as buttonIconVariants,
342
- Z as buttonVariants,
345
+ wn as TooltipProvider,
346
+ hn as TooltipRoot,
347
+ vn as TooltipTrigger,
348
+ E as badgeVariants,
349
+ ro as buttonIconVariants,
350
+ X as buttonVariants,
343
351
  Ce as labelVariants,
344
352
  we as loadingProgressVariants,
345
- rt as navigationMenuVariants,
346
- dn as reducer,
353
+ ot as navigationMenuVariants,
354
+ bn as reducer,
347
355
  gn as toast,
348
- Tn as toggleVariants,
349
- Oo as useFormField,
350
- bn as useNotify,
351
- Ia as useSidebar,
352
- xn as useToast
356
+ Dn as toggleVariants,
357
+ Er as useFormField,
358
+ xn as useNotify,
359
+ Aa as useSidebar,
360
+ fn as useToast
353
361
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.0.1-beta.5",
3
+ "version": "0.0.1-beta.50",
4
4
  "description": "UI React Components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -35,16 +35,16 @@
35
35
  "directory": "build",
36
36
  "registry": "https://registry.npmjs.org/",
37
37
  "dependencies": {
38
- "@oneplatformdev/utils": "latest",
39
- "@oneplatformdev/hooks": "latest"
38
+ "@oneplatformdev/hooks": "~0.0.1-beta.3",
39
+ "@oneplatformdev/utils": "~0.0.2-beta.10"
40
40
  }
41
41
  },
42
42
  "peerDependency": {
43
43
  "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
44
44
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
45
45
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
46
- "@oneplatformdev/utils": "latest",
47
- "@oneplatformdev/hooks": "latest",
46
+ "@oneplatformdev/hooks": "~0.0.1-beta.7",
47
+ "@oneplatformdev/utils": "~0.0.2-beta.17",
48
48
  "lucide-react": "^0.469.0"
49
49
  },
50
50
  "peerDependenciesMeta": {
@@ -57,8 +57,8 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@hookform/resolvers": "^3.9.1",
60
- "@oneplatformdev/hooks": "workspace:*",
61
- "@oneplatformdev/utils": "workspace:*",
60
+ "@oneplatformdev/hooks": "~0.0.1-beta.7",
61
+ "@oneplatformdev/utils": "~0.0.2-beta.16",
62
62
  "@radix-ui/react-accordion": "^1.2.2",
63
63
  "@radix-ui/react-alert-dialog": "^1.1.4",
64
64
  "@radix-ui/react-aspect-ratio": "^1.1.1",
@@ -87,16 +87,17 @@
87
87
  "@radix-ui/react-tooltip": "^1.1.6",
88
88
  "@tanstack/react-table": "^8.20.6",
89
89
  "cmdk": "1.0.0",
90
+ "date-fns": "^4.1.0",
90
91
  "embla-carousel-react": "^8.5.1",
91
92
  "input-otp": "^1.4.1",
92
93
  "next-themes": "^0.4.4",
93
94
  "react-day-picker": "8.10.1",
95
+ "react-dropzone": "^14.3.5",
94
96
  "react-hook-form": "^7.54.2",
95
97
  "react-resizable-panels": "^2.1.7",
96
98
  "recharts": "^2.15.0",
97
99
  "sonner": "^1.7.1",
98
100
  "vaul": "^1.1.2",
99
- "date-fns": "^4.1.0",
100
101
  "zod": "^3.24.1"
101
102
  }
102
103
  }