@oneplatformdev/ui 0.0.1-beta.6 → 0.0.1-beta.60

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 (74) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Accordion/Accordion.mjs +23 -20
  3. package/Button/buttonVariants.mjs +5 -5
  4. package/Calendar/Calendar.mjs +3 -2
  5. package/Combobox/Combobox.mjs +124 -86
  6. package/Combobox/Combobox.types.d.ts +13 -1
  7. package/Command/Command.d.ts +1 -1
  8. package/DataTable/DataTable.d.ts +10 -3
  9. package/DataTable/DataTable.mjs +33 -33
  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 +93 -63
  53. package/Select/Select.types.d.ts +9 -2
  54. package/Select/SelectRoot.d.ts +2 -2
  55. package/Select/SelectRoot.mjs +1 -0
  56. package/TablePagination/TablePagination.d.ts +16 -0
  57. package/TablePagination/TablePagination.mjs +74 -0
  58. package/TablePagination/index.d.ts +1 -0
  59. package/TablePagination/index.mjs +4 -0
  60. package/TablePagination/package.json +7 -0
  61. package/Tabs/Tabs.d.ts +3 -2
  62. package/Tabs/Tabs.mjs +20 -6
  63. package/Tabs/Tabs.types.d.ts +5 -2
  64. package/Tabs/index.mjs +8 -7
  65. package/Textarea/Textarea.d.ts +1 -1
  66. package/Textarea/Textarea.mjs +71 -15
  67. package/Textarea/Textarea.types.d.ts +16 -2
  68. package/Textarea/useAutosizeTextArea.d.ts +3 -0
  69. package/Textarea/useAutosizeTextArea.mjs +20 -0
  70. package/Toast/toastVariants.mjs +3 -3
  71. package/index.css +1 -1
  72. package/index.d.ts +3 -0
  73. package/index.mjs +235 -225
  74. package/package.json +9 -8
package/index.mjs CHANGED
@@ -1,82 +1,86 @@
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";
83
+ import { TablePagination as En } from "./TablePagination/TablePagination.mjs";
80
84
  export {
81
85
  e as Accordion,
82
86
  t as AccordionContent,
@@ -86,18 +90,18 @@ export {
86
90
  l as AlertDescription,
87
91
  P as AlertDialog,
88
92
  d as AlertDialogAction,
89
- g as AlertDialogCancel,
90
- b as AlertDialogContent,
93
+ b as AlertDialogCancel,
94
+ g as AlertDialogContent,
91
95
  x as AlertDialogDescription,
92
96
  f as AlertDialogFooter,
93
97
  S as AlertDialogHeader,
94
98
  s as AlertDialogOverlay,
95
99
  C as AlertDialogPortal,
96
100
  T as AlertDialogRoot,
97
- c as AlertDialogTitle,
98
- D as AlertDialogTrigger,
101
+ D as AlertDialogTitle,
102
+ c as AlertDialogTrigger,
99
103
  m as AlertTitle,
100
- A as AreaChart,
104
+ I as AreaChart,
101
105
  h as Aside,
102
106
  F as AsideSidebar,
103
107
  B as AspectRatio,
@@ -106,111 +110,115 @@ export {
106
110
  H as AvatarImage,
107
111
  V as Badge,
108
112
  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,
113
+ z as Breadcrumb,
114
+ _ as BreadcrumbEllipsis,
115
+ U as BreadcrumbItem,
116
+ Y as BreadcrumbLink,
117
+ j as BreadcrumbList,
118
+ q as BreadcrumbPage,
119
+ J as BreadcrumbSeparator,
120
+ Q as Button,
117
121
  $ 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,
122
+ to as Calendar,
123
+ no as Card,
124
+ io as CardContent,
125
+ po as CardDescription,
126
+ lo as CardFooter,
127
+ mo as CardHeader,
128
+ uo as CardTitle,
129
+ go as Carousel,
130
+ xo as CarouselContent,
131
+ fo as CarouselItem,
132
+ So as CarouselNext,
133
+ so as CarouselPrevious,
134
+ To as ChartContainer,
135
+ Do as ChartLegend,
136
+ co as ChartLegendContent,
137
+ Mo as ChartStyle,
138
+ Po as ChartTooltip,
139
+ Ao as ChartTooltipContent,
140
+ wo as Checkbox,
141
+ vo as Collapsible,
142
+ Fo as CollapsibleContent,
143
+ Lo as CollapsibleTrigger,
144
+ Ro as Combobox,
145
+ ko as Command,
146
+ Ho as CommandDialog,
147
+ No as CommandEmpty,
148
+ Vo as CommandGroup,
149
+ yo as CommandInput,
150
+ Eo as CommandItem,
151
+ Oo as CommandList,
152
+ zo as CommandSeparator,
153
+ _o as CommandShortcut,
154
+ kn as DEFAULT_FILE_TYPES,
155
+ Hn as DEFAULT_IMAGES_TYPES,
156
+ Yo as DataTable,
157
+ qo as DatePicker,
158
+ Ko as Dialog,
159
+ Qo as DialogClose,
160
+ Wo as DialogContent,
161
+ Xo as DialogDescription,
162
+ Zo as DialogFooter,
163
+ $o as DialogHeader,
164
+ or as DialogOverlay,
165
+ rr as DialogPortal,
166
+ er as DialogTitle,
167
+ tr as DialogTrigger,
168
+ nr as Drawer,
169
+ ir as DrawerClose,
170
+ pr as DrawerContent,
171
+ lr as DrawerDescription,
172
+ mr as DrawerFooter,
173
+ ur as DrawerHeader,
174
+ dr as DrawerOverlay,
175
+ br as DrawerPortal,
176
+ gr as DrawerTitle,
177
+ xr as DrawerTrigger,
178
+ Sr as DropdownMenu,
179
+ sr as DropdownMenuCheckboxItem,
180
+ Cr as DropdownMenuContent,
181
+ Tr as DropdownMenuGroup,
182
+ Dr as DropdownMenuItem,
183
+ cr as DropdownMenuLabel,
184
+ Mr as DropdownMenuPortal,
185
+ Pr as DropdownMenuRadioGroup,
186
+ Ar as DropdownMenuRadioItem,
187
+ Ir as DropdownMenuSeparator,
188
+ wr as DropdownMenuShortcut,
189
+ hr as DropdownMenuSub,
190
+ vr as DropdownMenuSubContent,
191
+ Fr as DropdownMenuSubTrigger,
192
+ Lr as DropdownMenuTrigger,
193
+ Rn as Dropzone,
194
+ Rr as Form,
195
+ Ur as FormCheckbox,
196
+ jr as FormCombobox,
197
+ Gr as FormControl,
198
+ Jr as FormDatePicker,
199
+ kr as FormDescription,
200
+ Vn as FormDropzone,
201
+ Hr as FormField,
202
+ Qr as FormInput,
203
+ Nr as FormItem,
204
+ Vr as FormLabel,
205
+ yr as FormMessage,
206
+ zr as FormRenderControl,
207
+ Xr as FormSelect,
208
+ $r as FormTextarea,
209
+ re as Header,
202
210
  te as HoverCard,
203
211
  ae as HoverCardContent,
204
212
  ne as HoverCardTrigger,
205
213
  le as Input,
206
214
  de as InputOTP,
207
- ge as InputOTPGroup,
208
- be as InputOTPSeparator,
215
+ be as InputOTPGroup,
216
+ ge as InputOTPSeparator,
209
217
  xe as InputOTPSlot,
210
218
  Se as Label,
211
- ce as LazyLoader,
219
+ De as LazyLoader,
212
220
  Me as LoadingMask,
213
- Ie as LoadingProgress,
221
+ Ae as LoadingProgress,
214
222
  ve as Menubar,
215
223
  Fe as MenubarCheckboxItem,
216
224
  Le as MenubarContent,
@@ -222,19 +230,19 @@ export {
222
230
  Ne as MenubarRadioGroup,
223
231
  Ve as MenubarRadioItem,
224
232
  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,
233
+ Ee as MenubarShortcut,
234
+ Oe as MenubarSub,
235
+ ze as MenubarSubContent,
236
+ _e as MenubarSubTrigger,
237
+ Ue as MenubarTrigger,
238
+ je as NavigationMenu,
239
+ qe as NavigationMenuContent,
240
+ Je as NavigationMenuIndicator,
241
+ Ke as NavigationMenuItem,
242
+ Qe as NavigationMenuLink,
243
+ We as NavigationMenuList,
244
+ Xe as NavigationMenuTrigger,
245
+ Ze as NavigationMenuViewport,
238
246
  et as Pagination,
239
247
  tt as PaginationContent,
240
248
  at as PaginationEllipsis,
@@ -245,18 +253,18 @@ export {
245
253
  me as PasswordInput,
246
254
  ut as Popover,
247
255
  dt as PopoverAnchor,
248
- gt as PopoverContent,
249
- bt as PopoverTrigger,
256
+ bt as PopoverContent,
257
+ gt as PopoverTrigger,
250
258
  ft as Progress,
251
259
  st as RadioGroup,
252
260
  Ct as RadioGroupItem,
253
- ct as ResizableHandle,
254
- Dt as ResizablePanel,
261
+ Dt as ResizableHandle,
262
+ ct as ResizablePanel,
255
263
  Mt as ResizablePanelGroup,
256
- It as ScrollArea,
257
- At as ScrollBar,
264
+ At as ScrollArea,
265
+ It as ScrollBar,
258
266
  ht as Search,
259
- zt as Select,
267
+ Ot as Select,
260
268
  Ft as SelectContent,
261
269
  Lt as SelectGroup,
262
270
  Bt as SelectItem,
@@ -267,18 +275,18 @@ export {
267
275
  Nt as SelectSeparator,
268
276
  Vt as SelectTrigger,
269
277
  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,
278
+ _t as Separator,
279
+ Yt as Sheet,
280
+ jt as SheetClose,
281
+ qt as SheetContent,
282
+ Jt as SheetDescription,
283
+ Kt as SheetFooter,
284
+ Qt as SheetHeader,
285
+ Wt as SheetOverlay,
286
+ Xt as SheetPortal,
287
+ Zt as SheetTitle,
280
288
  $t as SheetTrigger,
281
- oa as Sidebar,
289
+ ra as Sidebar,
282
290
  ea as SidebarContent,
283
291
  ta as SidebarFooter,
284
292
  aa as SidebarGroup,
@@ -289,65 +297,67 @@ export {
289
297
  ma as SidebarInput,
290
298
  ua as SidebarInset,
291
299
  da as SidebarMenu,
292
- ga as SidebarMenuAction,
293
- ba as SidebarMenuBadge,
300
+ ba as SidebarMenuAction,
301
+ ga as SidebarMenuBadge,
294
302
  xa as SidebarMenuButton,
295
303
  fa as SidebarMenuItem,
296
304
  Sa as SidebarMenuSkeleton,
297
305
  sa as SidebarMenuSub,
298
306
  Ca as SidebarMenuSubButton,
299
307
  Ta as SidebarMenuSubItem,
300
- ca as SidebarProvider,
301
- Da as SidebarRail,
308
+ Da as SidebarProvider,
309
+ ca as SidebarRail,
302
310
  Ma as SidebarSeparator,
303
311
  Pa as SidebarTrigger,
304
312
  wa as Skeleton,
305
313
  va as Slider,
306
314
  La as Sonner,
307
315
  Ra as Switch,
316
+ Ka as TabRender,
308
317
  ka as Table,
309
318
  Ha as TableBody,
310
319
  Na as TableCaption,
311
320
  Va as TableCell,
312
321
  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,
322
+ Ea as TableHead,
323
+ Oa as TableHeader,
324
+ En as TablePagination,
325
+ za as TableRow,
326
+ Qa as Tabs,
327
+ Ua as TabsContent,
328
+ Ya as TabsList,
329
+ ja as TabsRoot,
330
+ qa as TabsTrigger,
331
+ Xa as Textarea,
322
332
  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,
333
+ $a as ThemeProvider,
334
+ tn as Toast,
335
+ an as ToastAction,
336
+ nn as ToastClose,
337
+ pn as ToastDescription,
338
+ ln as ToastProvider,
339
+ mn as ToastTitle,
340
+ un as ToastViewport,
341
+ sn as Toaster,
342
+ Tn as Toggle,
343
+ Mn as ToggleGroup,
344
+ Pn as ToggleGroupItem,
345
+ Ln as Tooltip,
336
346
  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,
347
+ wn as TooltipProvider,
348
+ hn as TooltipRoot,
349
+ vn as TooltipTrigger,
350
+ E as badgeVariants,
351
+ ro as buttonIconVariants,
352
+ X as buttonVariants,
343
353
  Ce as labelVariants,
344
354
  we as loadingProgressVariants,
345
- rt as navigationMenuVariants,
346
- dn as reducer,
355
+ ot as navigationMenuVariants,
356
+ bn as reducer,
347
357
  gn as toast,
348
- Tn as toggleVariants,
349
- Oo as useFormField,
350
- bn as useNotify,
351
- Ia as useSidebar,
352
- xn as useToast
358
+ Dn as toggleVariants,
359
+ Er as useFormField,
360
+ xn as useNotify,
361
+ Aa as useSidebar,
362
+ fn as useToast
353
363
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.0.1-beta.6",
3
+ "version": "0.0.1-beta.60",
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
  }