ml-uikit 1.0.6 → 1.0.8

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 (160) hide show
  1. package/dist/components/button.d.ts +2 -11
  2. package/dist/components/button.d.ts.map +1 -1
  3. package/dist/components/ui/badge.d.ts +14 -3
  4. package/dist/components/ui/badge.d.ts.map +1 -1
  5. package/dist/components/ui/button-group.d.ts +1 -0
  6. package/dist/components/ui/button-group.d.ts.map +1 -1
  7. package/dist/components/ui/button.d.ts +2 -2
  8. package/dist/components/ui/button.d.ts.map +1 -1
  9. package/dist/components/ui/chart.d.ts +1 -1
  10. package/dist/components/ui/command.d.ts +7 -7
  11. package/dist/components/ui/empty.d.ts +1 -0
  12. package/dist/components/ui/empty.d.ts.map +1 -1
  13. package/dist/components/ui/input-group.d.ts +2 -2
  14. package/dist/components/ui/input-otp.d.ts +2 -2
  15. package/dist/components/ui/input.d.ts.map +1 -1
  16. package/dist/components/ui/item.d.ts +1 -1
  17. package/dist/components/ui/kbd.d.ts +1 -0
  18. package/dist/components/ui/kbd.d.ts.map +1 -1
  19. package/dist/components/ui/sheet.d.ts +1 -1
  20. package/dist/components/ui/sidebar.d.ts +2 -2
  21. package/dist/components/ui/skeleton.d.ts +1 -0
  22. package/dist/components/ui/skeleton.d.ts.map +1 -1
  23. package/dist/components/ui/table.d.ts +24 -2
  24. package/dist/components/ui/table.d.ts.map +1 -1
  25. package/dist/components/ui/textarea.d.ts.map +1 -1
  26. package/dist/components/ui/toggle-group.d.ts +2 -2
  27. package/dist/components/ui/toggle.d.ts +2 -2
  28. package/dist/components/ui/typography.d.ts +171 -0
  29. package/dist/components/ui/typography.d.ts.map +1 -0
  30. package/dist/index.cjs.js +1 -1
  31. package/dist/index.cjs10.js +1 -1
  32. package/dist/index.cjs10.js.map +1 -1
  33. package/dist/index.cjs11.js +1 -1
  34. package/dist/index.cjs11.js.map +1 -1
  35. package/dist/index.cjs2.js +1 -1
  36. package/dist/index.cjs23.js +1 -1
  37. package/dist/index.cjs23.js.map +1 -1
  38. package/dist/index.cjs24.js +1 -1
  39. package/dist/index.cjs27.js +1 -1
  40. package/dist/index.cjs27.js.map +1 -1
  41. package/dist/index.cjs28.js +1 -1
  42. package/dist/index.cjs30.js +1 -1
  43. package/dist/index.cjs31.js +1 -1
  44. package/dist/index.cjs31.js.map +1 -1
  45. package/dist/index.cjs33.js +1 -1
  46. package/dist/index.cjs33.js.map +1 -1
  47. package/dist/index.cjs34.js +1 -1
  48. package/dist/index.cjs34.js.map +1 -1
  49. package/dist/index.cjs35.js +1 -1
  50. package/dist/index.cjs35.js.map +1 -1
  51. package/dist/index.cjs36.js +1 -1
  52. package/dist/index.cjs36.js.map +1 -1
  53. package/dist/index.cjs37.js +1 -1
  54. package/dist/index.cjs37.js.map +1 -1
  55. package/dist/index.cjs38.js +1 -1
  56. package/dist/index.cjs38.js.map +1 -1
  57. package/dist/index.cjs39.js +1 -1
  58. package/dist/index.cjs39.js.map +1 -1
  59. package/dist/index.cjs40.js +1 -1
  60. package/dist/index.cjs40.js.map +1 -1
  61. package/dist/index.cjs41.js +1 -1
  62. package/dist/index.cjs41.js.map +1 -1
  63. package/dist/index.cjs42.js +1 -1
  64. package/dist/index.cjs42.js.map +1 -1
  65. package/dist/index.cjs43.js +1 -1
  66. package/dist/index.cjs43.js.map +1 -1
  67. package/dist/index.cjs44.js +1 -1
  68. package/dist/index.cjs44.js.map +1 -1
  69. package/dist/index.cjs45.js +1 -1
  70. package/dist/index.cjs45.js.map +1 -1
  71. package/dist/index.cjs46.js +1 -1
  72. package/dist/index.cjs46.js.map +1 -1
  73. package/dist/index.cjs47.js +1 -1
  74. package/dist/index.cjs47.js.map +1 -1
  75. package/dist/index.cjs48.js +1 -1
  76. package/dist/index.cjs48.js.map +1 -1
  77. package/dist/index.cjs49.js +1 -1
  78. package/dist/index.cjs49.js.map +1 -1
  79. package/dist/index.cjs50.js +1 -1
  80. package/dist/index.cjs50.js.map +1 -1
  81. package/dist/index.cjs51.js +1 -1
  82. package/dist/index.cjs51.js.map +1 -1
  83. package/dist/index.cjs52.js +1 -1
  84. package/dist/index.cjs52.js.map +1 -1
  85. package/dist/index.cjs53.js +1 -1
  86. package/dist/index.cjs53.js.map +1 -1
  87. package/dist/index.cjs54.js +1 -1
  88. package/dist/index.cjs54.js.map +1 -1
  89. package/dist/index.cjs55.js +1 -1
  90. package/dist/index.cjs55.js.map +1 -1
  91. package/dist/index.cjs8.js +1 -1
  92. package/dist/index.cjs8.js.map +1 -1
  93. package/dist/index.d.ts +2 -0
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.es.js +154 -151
  96. package/dist/index.es.js.map +1 -1
  97. package/dist/index.es10.js +31 -24
  98. package/dist/index.es10.js.map +1 -1
  99. package/dist/index.es11.js +22 -21
  100. package/dist/index.es11.js.map +1 -1
  101. package/dist/index.es2.js +1 -1
  102. package/dist/index.es23.js +24 -23
  103. package/dist/index.es23.js.map +1 -1
  104. package/dist/index.es24.js +1 -1
  105. package/dist/index.es27.js +13 -9
  106. package/dist/index.es27.js.map +1 -1
  107. package/dist/index.es28.js +1 -1
  108. package/dist/index.es30.js +1 -1
  109. package/dist/index.es31.js +8 -7
  110. package/dist/index.es31.js.map +1 -1
  111. package/dist/index.es33.js +91 -189
  112. package/dist/index.es33.js.map +1 -1
  113. package/dist/index.es34.js +165 -71
  114. package/dist/index.es34.js.map +1 -1
  115. package/dist/index.es35.js +85 -84
  116. package/dist/index.es35.js.map +1 -1
  117. package/dist/index.es36.js +92 -17
  118. package/dist/index.es36.js.map +1 -1
  119. package/dist/index.es37.js +19 -21
  120. package/dist/index.es37.js.map +1 -1
  121. package/dist/index.es38.js +16 -21
  122. package/dist/index.es38.js.map +1 -1
  123. package/dist/index.es39.js +16 -21
  124. package/dist/index.es39.js.map +1 -1
  125. package/dist/index.es40.js +25 -104
  126. package/dist/index.es40.js.map +1 -1
  127. package/dist/index.es41.js +111 -20
  128. package/dist/index.es41.js.map +1 -1
  129. package/dist/index.es42.js +19 -97
  130. package/dist/index.es42.js.map +1 -1
  131. package/dist/index.es43.js +77 -509
  132. package/dist/index.es43.js.map +1 -1
  133. package/dist/index.es44.js +526 -9
  134. package/dist/index.es44.js.map +1 -1
  135. package/dist/index.es45.js +15 -18
  136. package/dist/index.es45.js.map +1 -1
  137. package/dist/index.es46.js +18 -22
  138. package/dist/index.es46.js.map +1 -1
  139. package/dist/index.es47.js +19 -12
  140. package/dist/index.es47.js.map +1 -1
  141. package/dist/index.es48.js +13 -22
  142. package/dist/index.es48.js.map +1 -1
  143. package/dist/index.es49.js +17 -80
  144. package/dist/index.es49.js.map +1 -1
  145. package/dist/index.es50.js +186 -28
  146. package/dist/index.es50.js.map +1 -1
  147. package/dist/index.es51.js +38 -10
  148. package/dist/index.es51.js.map +1 -1
  149. package/dist/index.es52.js +13 -29
  150. package/dist/index.es52.js.map +1 -1
  151. package/dist/index.es53.js +30 -34
  152. package/dist/index.es53.js.map +1 -1
  153. package/dist/index.es54.js +37 -19
  154. package/dist/index.es54.js.map +1 -1
  155. package/dist/index.es55.js +18 -41
  156. package/dist/index.es55.js.map +1 -1
  157. package/dist/index.es8.js +71 -20
  158. package/dist/index.es8.js.map +1 -1
  159. package/dist/style.css +421 -34
  160. package/package.json +17 -3
package/dist/index.es.js CHANGED
@@ -3,8 +3,8 @@ import { Accordion as t, AccordionContent as n, AccordionItem as M, AccordionTri
3
3
  import { Alert as L, AlertDescription as u, AlertTitle as l } from "./index.es4.js";
4
4
  import { AlertDialog as d, AlertDialogAction as m, AlertDialogCancel as g, AlertDialogContent as b, AlertDialogDescription as C, AlertDialogFooter as S, AlertDialogHeader as T, AlertDialogOverlay as D, AlertDialogPortal as c, AlertDialogTitle as x, AlertDialogTrigger as I } from "./index.es5.js";
5
5
  import { AspectRatio as w } from "./index.es6.js";
6
- import { Avatar as F, AvatarFallback as P, AvatarImage as v } from "./index.es7.js";
7
- import { Badge as h, badgeVariants as B } from "./index.es8.js";
6
+ import { Avatar as F, AvatarFallback as h, AvatarImage as P } from "./index.es7.js";
7
+ import { Badge as v, badgeVariants as B } from "./index.es8.js";
8
8
  import { Breadcrumb as H, BreadcrumbEllipsis as R, BreadcrumbItem as N, BreadcrumbLink as k, BreadcrumbList as E, BreadcrumbPage as O, BreadcrumbSeparator as V } from "./index.es9.js";
9
9
  import { Button as U, buttonVariants as j } from "./index.es10.js";
10
10
  import { ButtonGroup as z, ButtonGroupSeparator as J, ButtonGroupText as Q, buttonGroupVariants as W } from "./index.es11.js";
@@ -14,11 +14,11 @@ import { Carousel as Me, CarouselContent as ie, CarouselItem as se, CarouselNext
14
14
  import { ChartContainer as pe, ChartLegend as de, ChartLegendContent as me, ChartStyle as ge, ChartTooltip as be, ChartTooltipContent as Ce } from "./index.es15.js";
15
15
  import { Checkbox as Te } from "./index.es16.js";
16
16
  import { Collapsible as ce, CollapsibleContent as xe, CollapsibleTrigger as Ie } from "./index.es17.js";
17
- import { Command as we, CommandDialog as Ae, CommandEmpty as Fe, CommandGroup as Pe, CommandInput as ve, CommandItem as fe, CommandList as he, CommandSeparator as Be, CommandShortcut as ye } from "./index.es18.js";
17
+ import { Command as we, CommandDialog as Ae, CommandEmpty as Fe, CommandGroup as he, CommandInput as Pe, CommandItem as fe, CommandList as ve, CommandSeparator as Be, CommandShortcut as ye } from "./index.es18.js";
18
18
  import { ContextMenu as Re, ContextMenuCheckboxItem as Ne, ContextMenuContent as ke, ContextMenuGroup as Ee, ContextMenuItem as Oe, ContextMenuLabel as Ve, ContextMenuPortal as Ke, ContextMenuRadioGroup as Ue, ContextMenuRadioItem as je, ContextMenuSeparator as qe, ContextMenuShortcut as ze, ContextMenuSub as Je, ContextMenuSubContent as Qe, ContextMenuSubTrigger as We, ContextMenuTrigger as Xe } from "./index.es19.js";
19
19
  import { Dialog as Ze, DialogClose as _e, DialogContent as $e, DialogDescription as ea, DialogFooter as aa, DialogHeader as ra, DialogOverlay as oa, DialogPortal as ta, DialogTitle as na, DialogTrigger as Ma } from "./index.es20.js";
20
20
  import { Drawer as sa, DrawerClose as La, DrawerContent as ua, DrawerDescription as la, DrawerFooter as pa, DrawerHeader as da, DrawerOverlay as ma, DrawerPortal as ga, DrawerTitle as ba, DrawerTrigger as Ca } from "./index.es21.js";
21
- import { DropdownMenu as Ta, DropdownMenuCheckboxItem as Da, DropdownMenuContent as ca, DropdownMenuGroup as xa, DropdownMenuItem as Ia, DropdownMenuLabel as Ga, DropdownMenuPortal as wa, DropdownMenuRadioGroup as Aa, DropdownMenuRadioItem as Fa, DropdownMenuSeparator as Pa, DropdownMenuShortcut as va, DropdownMenuSub as fa, DropdownMenuSubContent as ha, DropdownMenuSubTrigger as Ba, DropdownMenuTrigger as ya } from "./index.es22.js";
21
+ import { DropdownMenu as Ta, DropdownMenuCheckboxItem as Da, DropdownMenuContent as ca, DropdownMenuGroup as xa, DropdownMenuItem as Ia, DropdownMenuLabel as Ga, DropdownMenuPortal as wa, DropdownMenuRadioGroup as Aa, DropdownMenuRadioItem as Fa, DropdownMenuSeparator as ha, DropdownMenuShortcut as Pa, DropdownMenuSub as fa, DropdownMenuSubContent as va, DropdownMenuSubTrigger as Ba, DropdownMenuTrigger as ya } from "./index.es22.js";
22
22
  import { Empty as Ra, EmptyContent as Na, EmptyDescription as ka, EmptyHeader as Ea, EmptyMedia as Oa, EmptyTitle as Va } from "./index.es23.js";
23
23
  import { Field as Ua, FieldContent as ja, FieldDescription as qa, FieldError as za, FieldGroup as Ja, FieldLabel as Qa, FieldLegend as Wa, FieldSeparator as Xa, FieldSet as Ya, FieldTitle as Za } from "./index.es24.js";
24
24
  import { Form as $a, FormControl as er, FormDescription as ar, FormField as rr, FormItem as or, FormLabel as tr, FormMessage as nr, useFormField as Mr } from "./index.es25.js";
@@ -26,31 +26,32 @@ import { HoverCard as sr, HoverCardContent as Lr, HoverCardTrigger as ur } from
26
26
  import { Input as pr } from "./index.es27.js";
27
27
  import { InputGroup as mr, InputGroupAddon as gr, InputGroupButton as br, InputGroupInput as Cr, InputGroupText as Sr, InputGroupTextarea as Tr } from "./index.es28.js";
28
28
  import { InputOTP as cr, InputOTPGroup as xr, InputOTPSeparator as Ir, InputOTPSlot as Gr } from "./index.es29.js";
29
- import { Item as Ar, ItemActions as Fr, ItemContent as Pr, ItemDescription as vr, ItemFooter as fr, ItemGroup as hr, ItemHeader as Br, ItemMedia as yr, ItemSeparator as Hr, ItemTitle as Rr } from "./index.es30.js";
29
+ import { Item as Ar, ItemActions as Fr, ItemContent as hr, ItemDescription as Pr, ItemFooter as fr, ItemGroup as vr, ItemHeader as Br, ItemMedia as yr, ItemSeparator as Hr, ItemTitle as Rr } from "./index.es30.js";
30
30
  import { Kbd as kr, KbdGroup as Er } from "./index.es31.js";
31
31
  import { Label as Vr } from "./index.es32.js";
32
- import { Menubar as Ur, MenubarCheckboxItem as jr, MenubarContent as qr, MenubarGroup as zr, MenubarItem as Jr, MenubarLabel as Qr, MenubarMenu as Wr, MenubarPortal as Xr, MenubarRadioGroup as Yr, MenubarRadioItem as Zr, MenubarSeparator as _r, MenubarShortcut as $r, MenubarSub as eo, MenubarSubContent as ao, MenubarSubTrigger as ro, MenubarTrigger as oo } from "./index.es33.js";
33
- import { NavigationMenu as no, NavigationMenuContent as Mo, NavigationMenuIndicator as io, NavigationMenuItem as so, NavigationMenuLink as Lo, NavigationMenuList as uo, NavigationMenuTrigger as lo, navigationMenuTriggerStyle as po, NavigationMenuViewport as mo } from "./index.es34.js";
34
- import { Pagination as bo, PaginationContent as Co, PaginationEllipsis as So, PaginationItem as To, PaginationLink as Do, PaginationNext as co, PaginationPrevious as xo } from "./index.es35.js";
35
- import { Popover as Go, PopoverAnchor as wo, PopoverContent as Ao, PopoverTrigger as Fo } from "./index.es36.js";
36
- import { Progress as vo } from "./index.es37.js";
37
- import { RadioGroup as ho, RadioGroupItem as Bo } from "./index.es38.js";
38
- import { ScrollArea as Ho, ScrollBar as Ro } from "./index.es39.js";
39
- import { Select as ko, SelectContent as Eo, SelectGroup as Oo, SelectItem as Vo, SelectLabel as Ko, SelectScrollDownButton as Uo, SelectScrollUpButton as jo, SelectSeparator as qo, SelectTrigger as zo, SelectValue as Jo } from "./index.es40.js";
40
- import { Separator as Wo } from "./index.es41.js";
41
- import { Sheet as Yo, SheetClose as Zo, SheetContent as _o, SheetDescription as $o, SheetFooter as et, SheetHeader as at, SheetOverlay as rt, SheetPortal as ot, SheetTitle as tt, SheetTrigger as nt } from "./index.es42.js";
42
- import { Sidebar as it, SidebarContent as st, SidebarFooter as Lt, SidebarGroup as ut, SidebarGroupAction as lt, SidebarGroupContent as pt, SidebarGroupLabel as dt, SidebarHeader as mt, SidebarInput as gt, SidebarInset as bt, SidebarMenu as Ct, SidebarMenuAction as St, SidebarMenuBadge as Tt, SidebarMenuButton as Dt, SidebarMenuItem as ct, SidebarMenuSkeleton as xt, SidebarMenuSub as It, SidebarMenuSubButton as Gt, SidebarMenuSubItem as wt, SidebarProvider as At, SidebarRail as Ft, SidebarSeparator as Pt, SidebarTrigger as vt, useSidebar as ft } from "./index.es43.js";
43
- import { Skeleton as Bt } from "./index.es44.js";
44
- import { Slider as Ht } from "./index.es45.js";
45
- import { Toaster as Nt } from "./index.es46.js";
46
- import { Spinner as Et } from "./index.es47.js";
47
- import { Switch as Vt } from "./index.es48.js";
48
- import { Table as Ut, TableBody as jt, TableCaption as qt, TableCell as zt, TableFooter as Jt, TableHead as Qt, TableHeader as Wt, TableRow as Xt } from "./index.es49.js";
49
- import { Tabs as Zt, TabsContent as _t, TabsList as $t, TabsTrigger as en } from "./index.es50.js";
50
- import { Textarea as rn } from "./index.es51.js";
51
- import { Toggle as tn, toggleVariants as nn } from "./index.es52.js";
52
- import { ToggleGroup as sn, ToggleGroupItem as Ln } from "./index.es53.js";
53
- import { Tooltip as ln, TooltipContent as pn, TooltipProvider as dn, TooltipTrigger as mn } from "./index.es54.js";
32
+ import { Typography as Ur, typographyVariants as jr } from "./index.es33.js";
33
+ import { Menubar as zr, MenubarCheckboxItem as Jr, MenubarContent as Qr, MenubarGroup as Wr, MenubarItem as Xr, MenubarLabel as Yr, MenubarMenu as Zr, MenubarPortal as _r, MenubarRadioGroup as $r, MenubarRadioItem as eo, MenubarSeparator as ao, MenubarShortcut as ro, MenubarSub as oo, MenubarSubContent as to, MenubarSubTrigger as no, MenubarTrigger as Mo } from "./index.es34.js";
34
+ import { NavigationMenu as so, NavigationMenuContent as Lo, NavigationMenuIndicator as uo, NavigationMenuItem as lo, NavigationMenuLink as po, NavigationMenuList as mo, NavigationMenuTrigger as go, navigationMenuTriggerStyle as bo, NavigationMenuViewport as Co } from "./index.es35.js";
35
+ import { Pagination as To, PaginationContent as Do, PaginationEllipsis as co, PaginationItem as xo, PaginationLink as Io, PaginationNext as Go, PaginationPrevious as wo } from "./index.es36.js";
36
+ import { Popover as Fo, PopoverAnchor as ho, PopoverContent as Po, PopoverTrigger as fo } from "./index.es37.js";
37
+ import { Progress as Bo } from "./index.es38.js";
38
+ import { RadioGroup as Ho, RadioGroupItem as Ro } from "./index.es39.js";
39
+ import { ScrollArea as ko, ScrollBar as Eo } from "./index.es40.js";
40
+ import { Select as Vo, SelectContent as Ko, SelectGroup as Uo, SelectItem as jo, SelectLabel as qo, SelectScrollDownButton as zo, SelectScrollUpButton as Jo, SelectSeparator as Qo, SelectTrigger as Wo, SelectValue as Xo } from "./index.es41.js";
41
+ import { Separator as Zo } from "./index.es42.js";
42
+ import { Sheet as $o, SheetClose as et, SheetContent as at, SheetDescription as rt, SheetFooter as ot, SheetHeader as tt, SheetOverlay as nt, SheetPortal as Mt, SheetTitle as it, SheetTrigger as st } from "./index.es43.js";
43
+ import { Sidebar as ut, SidebarContent as lt, SidebarFooter as pt, SidebarGroup as dt, SidebarGroupAction as mt, SidebarGroupContent as gt, SidebarGroupLabel as bt, SidebarHeader as Ct, SidebarInput as St, SidebarInset as Tt, SidebarMenu as Dt, SidebarMenuAction as ct, SidebarMenuBadge as xt, SidebarMenuButton as It, SidebarMenuItem as Gt, SidebarMenuSkeleton as wt, SidebarMenuSub as At, SidebarMenuSubButton as Ft, SidebarMenuSubItem as ht, SidebarProvider as Pt, SidebarRail as ft, SidebarSeparator as vt, SidebarTrigger as Bt, useSidebar as yt } from "./index.es44.js";
44
+ import { Skeleton as Rt } from "./index.es45.js";
45
+ import { Slider as kt } from "./index.es46.js";
46
+ import { Toaster as Ot } from "./index.es47.js";
47
+ import { Spinner as Kt } from "./index.es48.js";
48
+ import { Switch as jt } from "./index.es49.js";
49
+ import { Table as zt, TableBody as Jt, TableCaption as Qt, TableCell as Wt, TableFooter as Xt, TableHead as Yt, TableHeader as Zt, TableRow as _t } from "./index.es50.js";
50
+ import { Tabs as en, TabsContent as an, TabsList as rn, TabsTrigger as on } from "./index.es51.js";
51
+ import { Textarea as nn } from "./index.es52.js";
52
+ import { Toggle as sn, toggleVariants as Ln } from "./index.es53.js";
53
+ import { ToggleGroup as ln, ToggleGroupItem as pn } from "./index.es54.js";
54
+ import { Tooltip as mn, TooltipContent as gn, TooltipProvider as bn, TooltipTrigger as Cn } from "./index.es55.js";
54
55
  export {
55
56
  r as Login,
56
57
  t as MLAccordion,
@@ -73,9 +74,9 @@ export {
73
74
  l as MLAlertTitle,
74
75
  w as MLAspectRatio,
75
76
  F as MLAvatar,
76
- P as MLAvatarFallback,
77
- v as MLAvatarImage,
78
- h as MLBadge,
77
+ h as MLAvatarFallback,
78
+ P as MLAvatarImage,
79
+ v as MLBadge,
79
80
  B as MLBadgeVariants,
80
81
  H as MLBreadcrumb,
81
82
  R as MLBreadcrumbEllipsis,
@@ -116,10 +117,10 @@ export {
116
117
  we as MLCommand,
117
118
  Ae as MLCommandDialog,
118
119
  Fe as MLCommandEmpty,
119
- Pe as MLCommandGroup,
120
- ve as MLCommandInput,
120
+ he as MLCommandGroup,
121
+ Pe as MLCommandInput,
121
122
  fe as MLCommandItem,
122
- he as MLCommandList,
123
+ ve as MLCommandList,
123
124
  Be as MLCommandSeparator,
124
125
  ye as MLCommandShortcut,
125
126
  Re as MLContextMenu,
@@ -166,10 +167,10 @@ export {
166
167
  wa as MLDropdownMenuPortal,
167
168
  Aa as MLDropdownMenuRadioGroup,
168
169
  Fa as MLDropdownMenuRadioItem,
169
- Pa as MLDropdownMenuSeparator,
170
- va as MLDropdownMenuShortcut,
170
+ ha as MLDropdownMenuSeparator,
171
+ Pa as MLDropdownMenuShortcut,
171
172
  fa as MLDropdownMenuSub,
172
- ha as MLDropdownMenuSubContent,
173
+ va as MLDropdownMenuSubContent,
173
174
  Ba as MLDropdownMenuSubTrigger,
174
175
  ya as MLDropdownMenuTrigger,
175
176
  Ra as MLEmpty,
@@ -211,10 +212,10 @@ export {
211
212
  Gr as MLInputOTPSlot,
212
213
  Ar as MLItem,
213
214
  Fr as MLItemActions,
214
- Pr as MLItemContent,
215
- vr as MLItemDescription,
215
+ hr as MLItemContent,
216
+ Pr as MLItemDescription,
216
217
  fr as MLItemFooter,
217
- hr as MLItemGroup,
218
+ vr as MLItemGroup,
218
219
  Br as MLItemHeader,
219
220
  yr as MLItemMedia,
220
221
  Hr as MLItemSeparator,
@@ -222,118 +223,120 @@ export {
222
223
  kr as MLKbd,
223
224
  Er as MLKbdGroup,
224
225
  Vr as MLLabel,
225
- Ur as MLMenubar,
226
- jr as MLMenubarCheckboxItem,
227
- qr as MLMenubarContent,
228
- zr as MLMenubarGroup,
229
- Jr as MLMenubarItem,
230
- Qr as MLMenubarLabel,
231
- Wr as MLMenubarMenu,
232
- Xr as MLMenubarPortal,
233
- Yr as MLMenubarRadioGroup,
234
- Zr as MLMenubarRadioItem,
235
- _r as MLMenubarSeparator,
236
- $r as MLMenubarShortcut,
237
- eo as MLMenubarSub,
238
- ao as MLMenubarSubContent,
239
- ro as MLMenubarSubTrigger,
240
- oo as MLMenubarTrigger,
241
- no as MLNavigationMenu,
242
- Mo as MLNavigationMenuContent,
243
- io as MLNavigationMenuIndicator,
244
- so as MLNavigationMenuItem,
245
- Lo as MLNavigationMenuLink,
246
- uo as MLNavigationMenuList,
247
- lo as MLNavigationMenuTrigger,
248
- po as MLNavigationMenuTriggerStyle,
249
- mo as MLNavigationMenuViewport,
250
- bo as MLPagination,
251
- Co as MLPaginationContent,
252
- So as MLPaginationEllipsis,
253
- To as MLPaginationItem,
254
- Do as MLPaginationLink,
255
- co as MLPaginationNext,
256
- xo as MLPaginationPrevious,
257
- Go as MLPopover,
258
- wo as MLPopoverAnchor,
259
- Ao as MLPopoverContent,
260
- Fo as MLPopoverTrigger,
261
- vo as MLProgress,
262
- ho as MLRadioGroup,
263
- Bo as MLRadioGroupItem,
264
- Ho as MLScrollArea,
265
- Ro as MLScrollBar,
266
- ko as MLSelect,
267
- Eo as MLSelectContent,
268
- Oo as MLSelectGroup,
269
- Vo as MLSelectItem,
270
- Ko as MLSelectLabel,
271
- Uo as MLSelectScrollDownButton,
272
- jo as MLSelectScrollUpButton,
273
- qo as MLSelectSeparator,
274
- zo as MLSelectTrigger,
275
- Jo as MLSelectValue,
276
- Wo as MLSeparator,
277
- Yo as MLSheet,
278
- Zo as MLSheetClose,
279
- _o as MLSheetContent,
280
- $o as MLSheetDescription,
281
- et as MLSheetFooter,
282
- at as MLSheetHeader,
283
- rt as MLSheetOverlay,
284
- ot as MLSheetPortal,
285
- tt as MLSheetTitle,
286
- nt as MLSheetTrigger,
287
- it as MLSidebar,
288
- st as MLSidebarContent,
289
- Lt as MLSidebarFooter,
290
- ut as MLSidebarGroup,
291
- lt as MLSidebarGroupAction,
292
- pt as MLSidebarGroupContent,
293
- dt as MLSidebarGroupLabel,
294
- mt as MLSidebarHeader,
295
- gt as MLSidebarInput,
296
- bt as MLSidebarInset,
297
- Ct as MLSidebarMenu,
298
- St as MLSidebarMenuAction,
299
- Tt as MLSidebarMenuBadge,
300
- Dt as MLSidebarMenuButton,
301
- ct as MLSidebarMenuItem,
302
- xt as MLSidebarMenuSkeleton,
303
- It as MLSidebarMenuSub,
304
- Gt as MLSidebarMenuSubButton,
305
- wt as MLSidebarMenuSubItem,
306
- At as MLSidebarProvider,
307
- Ft as MLSidebarRail,
308
- Pt as MLSidebarSeparator,
309
- vt as MLSidebarTrigger,
310
- Bt as MLSkeleton,
311
- Ht as MLSlider,
312
- Et as MLSpinner,
313
- Vt as MLSwitch,
314
- Ut as MLTable,
315
- jt as MLTableBody,
316
- qt as MLTableCaption,
317
- zt as MLTableCell,
318
- Jt as MLTableFooter,
319
- Qt as MLTableHead,
320
- Wt as MLTableHeader,
321
- Xt as MLTableRow,
322
- Zt as MLTabs,
323
- _t as MLTabsContent,
324
- $t as MLTabsList,
325
- en as MLTabsTrigger,
326
- rn as MLTextarea,
327
- Nt as MLToaster,
328
- tn as MLToggle,
329
- sn as MLToggleGroup,
330
- Ln as MLToggleGroupItem,
331
- nn as MLToggleVariants,
332
- ln as MLTooltip,
333
- pn as MLTooltipContent,
334
- dn as MLTooltipProvider,
335
- mn as MLTooltipTrigger,
226
+ zr as MLMenubar,
227
+ Jr as MLMenubarCheckboxItem,
228
+ Qr as MLMenubarContent,
229
+ Wr as MLMenubarGroup,
230
+ Xr as MLMenubarItem,
231
+ Yr as MLMenubarLabel,
232
+ Zr as MLMenubarMenu,
233
+ _r as MLMenubarPortal,
234
+ $r as MLMenubarRadioGroup,
235
+ eo as MLMenubarRadioItem,
236
+ ao as MLMenubarSeparator,
237
+ ro as MLMenubarShortcut,
238
+ oo as MLMenubarSub,
239
+ to as MLMenubarSubContent,
240
+ no as MLMenubarSubTrigger,
241
+ Mo as MLMenubarTrigger,
242
+ so as MLNavigationMenu,
243
+ Lo as MLNavigationMenuContent,
244
+ uo as MLNavigationMenuIndicator,
245
+ lo as MLNavigationMenuItem,
246
+ po as MLNavigationMenuLink,
247
+ mo as MLNavigationMenuList,
248
+ go as MLNavigationMenuTrigger,
249
+ bo as MLNavigationMenuTriggerStyle,
250
+ Co as MLNavigationMenuViewport,
251
+ To as MLPagination,
252
+ Do as MLPaginationContent,
253
+ co as MLPaginationEllipsis,
254
+ xo as MLPaginationItem,
255
+ Io as MLPaginationLink,
256
+ Go as MLPaginationNext,
257
+ wo as MLPaginationPrevious,
258
+ Fo as MLPopover,
259
+ ho as MLPopoverAnchor,
260
+ Po as MLPopoverContent,
261
+ fo as MLPopoverTrigger,
262
+ Bo as MLProgress,
263
+ Ho as MLRadioGroup,
264
+ Ro as MLRadioGroupItem,
265
+ ko as MLScrollArea,
266
+ Eo as MLScrollBar,
267
+ Vo as MLSelect,
268
+ Ko as MLSelectContent,
269
+ Uo as MLSelectGroup,
270
+ jo as MLSelectItem,
271
+ qo as MLSelectLabel,
272
+ zo as MLSelectScrollDownButton,
273
+ Jo as MLSelectScrollUpButton,
274
+ Qo as MLSelectSeparator,
275
+ Wo as MLSelectTrigger,
276
+ Xo as MLSelectValue,
277
+ Zo as MLSeparator,
278
+ $o as MLSheet,
279
+ et as MLSheetClose,
280
+ at as MLSheetContent,
281
+ rt as MLSheetDescription,
282
+ ot as MLSheetFooter,
283
+ tt as MLSheetHeader,
284
+ nt as MLSheetOverlay,
285
+ Mt as MLSheetPortal,
286
+ it as MLSheetTitle,
287
+ st as MLSheetTrigger,
288
+ ut as MLSidebar,
289
+ lt as MLSidebarContent,
290
+ pt as MLSidebarFooter,
291
+ dt as MLSidebarGroup,
292
+ mt as MLSidebarGroupAction,
293
+ gt as MLSidebarGroupContent,
294
+ bt as MLSidebarGroupLabel,
295
+ Ct as MLSidebarHeader,
296
+ St as MLSidebarInput,
297
+ Tt as MLSidebarInset,
298
+ Dt as MLSidebarMenu,
299
+ ct as MLSidebarMenuAction,
300
+ xt as MLSidebarMenuBadge,
301
+ It as MLSidebarMenuButton,
302
+ Gt as MLSidebarMenuItem,
303
+ wt as MLSidebarMenuSkeleton,
304
+ At as MLSidebarMenuSub,
305
+ Ft as MLSidebarMenuSubButton,
306
+ ht as MLSidebarMenuSubItem,
307
+ Pt as MLSidebarProvider,
308
+ ft as MLSidebarRail,
309
+ vt as MLSidebarSeparator,
310
+ Bt as MLSidebarTrigger,
311
+ Rt as MLSkeleton,
312
+ kt as MLSlider,
313
+ Kt as MLSpinner,
314
+ jt as MLSwitch,
315
+ zt as MLTable,
316
+ Jt as MLTableBody,
317
+ Qt as MLTableCaption,
318
+ Wt as MLTableCell,
319
+ Xt as MLTableFooter,
320
+ Yt as MLTableHead,
321
+ Zt as MLTableHeader,
322
+ _t as MLTableRow,
323
+ en as MLTabs,
324
+ an as MLTabsContent,
325
+ rn as MLTabsList,
326
+ on as MLTabsTrigger,
327
+ nn as MLTextarea,
328
+ Ot as MLToaster,
329
+ sn as MLToggle,
330
+ ln as MLToggleGroup,
331
+ pn as MLToggleGroupItem,
332
+ Ln as MLToggleVariants,
333
+ mn as MLTooltip,
334
+ gn as MLTooltipContent,
335
+ bn as MLTooltipProvider,
336
+ Cn as MLTooltipTrigger,
337
+ Ur as MLTypography,
338
+ jr as MLTypographyVariants,
336
339
  Mr as MLUseFormField,
337
- ft as MLUseSidebar
340
+ yt as MLUseSidebar
338
341
  };
339
342
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,24 +1,31 @@
1
1
  import * as e from "react";
2
- import { Slot as d } from "@radix-ui/react-slot";
3
- import { cva as c } from "class-variance-authority";
4
- import { cn as u } from "./index.es56.js";
5
- const m = c(
6
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2
+ import { Slot as c } from "@radix-ui/react-slot";
3
+ import { cva as g } from "class-variance-authority";
4
+ import { cn as p } from "./index.es56.js";
5
+ const t = "bg-primary text-primary-foreground hover:bg-primary/90", l = "bg-secondary text-secondary-foreground hover:bg-secondary/80", m = "border border-primary bg-background text-primary hover:bg-primary/10", r = "border border-input bg-background text-foreground hover:bg-muted", v = "bg-transparent text-foreground hover:bg-muted", b = "bg-destructive text-destructive-foreground hover:bg-destructive/90", f = "text-primary underline-offset-4 hover:underline", y = g(
6
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
7
7
  {
8
8
  variants: {
9
9
  variant: {
10
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
11
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
12
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
13
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
14
- ghost: "hover:bg-accent hover:text-accent-foreground",
15
- link: "text-primary underline-offset-4 hover:underline"
10
+ default: t,
11
+ primary: t,
12
+ secondary: l,
13
+ "outline-primary": m,
14
+ "outline-neutral": r,
15
+ outline: r,
16
+ ghost: v,
17
+ destructive: b,
18
+ link: f
16
19
  },
17
20
  size: {
18
- default: "h-9 px-4 py-2",
19
- sm: "h-8 rounded-md px-3 text-xs",
20
- lg: "h-10 rounded-md px-8",
21
- icon: "h-9 w-9"
21
+ default: "h-9 px-4 text-sm [&_svg]:size-4",
22
+ lg: "h-10 px-5 text-sm [&_svg]:size-5",
23
+ sm: "h-8 px-3 text-xs [&_svg]:size-3.5",
24
+ mini: "h-7 px-2 text-[10px] leading-4 [&_svg]:size-3",
25
+ icon: "h-9 w-9 p-0 [&_svg]:size-4",
26
+ "icon-lg": "h-10 w-10 p-0 [&_svg]:size-5",
27
+ "icon-sm": "h-8 w-8 p-0 [&_svg]:size-3.5",
28
+ "icon-mini": "h-7 w-7 p-0 [&_svg]:size-3"
22
29
  }
23
30
  },
24
31
  defaultVariants: {
@@ -26,22 +33,22 @@ const m = c(
26
33
  size: "default"
27
34
  }
28
35
  }
29
- ), f = e.forwardRef(
30
- ({ className: t, variant: r, size: o, asChild: n = !1, ...s }, i) => {
31
- const a = n ? d : "button";
36
+ ), h = e.forwardRef(
37
+ ({ className: i, variant: n, size: o, asChild: a = !1, ...s }, d) => {
38
+ const u = a ? c : "button";
32
39
  return /* @__PURE__ */ e.createElement(
33
- a,
40
+ u,
34
41
  {
35
- className: u(m({ variant: r, size: o, className: t })),
36
- ref: i,
42
+ className: p(y({ variant: n, size: o, className: i })),
43
+ ref: d,
37
44
  ...s
38
45
  }
39
46
  );
40
47
  }
41
48
  );
42
- f.displayName = "Button";
49
+ h.displayName = "Button";
43
50
  export {
44
- f as Button,
45
- m as buttonVariants
51
+ h as Button,
52
+ y as buttonVariants
46
53
  };
47
54
  //# sourceMappingURL=index.es10.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es10.js","sources":["../src/components/ui/button.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n icon: \"h-9 w-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\"\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants }\n"],"names":["buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","cn"],"mappings":";;;;AAMA,MAAMA,IAAiBC;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,MAAA;AAAA,MAER,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAQMC,IAASC,EAAM;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAO,GAAGC,EAAA,GAASC,MAAQ;AAChE,UAAMC,IAAOH,IAAUI,IAAO;AAC9B,WACE,gBAAAR,EAAA;AAAA,MAACO;AAAA,MAAA;AAAA,QACC,WAAWE,EAAGZ,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,QAC1D,KAAAK;AAAA,QACC,GAAGD;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AACAN,EAAO,cAAc;"}
1
+ {"version":3,"file":"index.es10.js","sources":["../src/components/ui/button.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst primaryVariant = \"bg-primary text-primary-foreground hover:bg-primary/90\"\nconst secondaryVariant =\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80\"\nconst outlinePrimaryVariant =\n \"border border-primary bg-background text-primary hover:bg-primary/10\"\nconst outlineNeutralVariant =\n \"border border-input bg-background text-foreground hover:bg-muted\"\nconst ghostVariant = \"bg-transparent text-foreground hover:bg-muted\"\nconst destructiveVariant =\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\"\nconst linkVariant = \"text-primary underline-offset-4 hover:underline\"\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: primaryVariant,\n primary: primaryVariant,\n secondary: secondaryVariant,\n \"outline-primary\": outlinePrimaryVariant,\n \"outline-neutral\": outlineNeutralVariant,\n outline: outlineNeutralVariant,\n ghost: ghostVariant,\n destructive: destructiveVariant,\n link: linkVariant,\n },\n size: {\n default: \"h-9 px-4 text-sm [&_svg]:size-4\",\n lg: \"h-10 px-5 text-sm [&_svg]:size-5\",\n sm: \"h-8 px-3 text-xs [&_svg]:size-3.5\",\n mini: \"h-7 px-2 text-[10px] leading-4 [&_svg]:size-3\",\n icon: \"h-9 w-9 p-0 [&_svg]:size-4\",\n \"icon-lg\": \"h-10 w-10 p-0 [&_svg]:size-5\",\n \"icon-sm\": \"h-8 w-8 p-0 [&_svg]:size-3.5\",\n \"icon-mini\": \"h-7 w-7 p-0 [&_svg]:size-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\"\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport { Button, buttonVariants }\n"],"names":["primaryVariant","secondaryVariant","outlinePrimaryVariant","outlineNeutralVariant","ghostVariant","destructiveVariant","linkVariant","buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","cn"],"mappings":";;;;AAMA,MAAMA,IAAiB,0DACjBC,IACJ,gEACIC,IACJ,wEACIC,IACJ,oEACIC,IAAe,iDACfC,IACJ,sEACIC,IAAc,mDAEdC,IAAiBC;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAASR;AAAA,QACT,SAASA;AAAA,QACT,WAAWC;AAAA,QACX,mBAAmBC;AAAA,QACnB,mBAAmBC;AAAA,QACnB,SAASA;AAAA,QACT,OAAOC;AAAA,QACP,aAAaC;AAAA,QACb,MAAMC;AAAA,MAAA;AAAA,MAER,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW;AAAA,QACX,WAAW;AAAA,QACX,aAAa;AAAA,MAAA;AAAA,IACf;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAQMG,IAASC,EAAM;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAO,GAAGC,EAAA,GAASC,MAAQ;AAChE,UAAMC,IAAOH,IAAUI,IAAO;AAC9B,WACE,gBAAAR,EAAA;AAAA,MAACO;AAAA,MAAA;AAAA,QACC,WAAWE,EAAGZ,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,QAC1D,KAAAK;AAAA,QACC,GAAGD;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AACAN,EAAO,cAAc;"}
@@ -1,8 +1,9 @@
1
- import { Slot as n } from "@radix-ui/react-slot";
2
- import { cva as i } from "class-variance-authority";
3
- import { cn as r } from "./index.es56.js";
4
- import { Separator as s } from "./index.es41.js";
5
- const l = i(
1
+ import * as r from "react";
2
+ import { Slot as i } from "@radix-ui/react-slot";
3
+ import { cva as s } from "class-variance-authority";
4
+ import { cn as a } from "./index.es56.js";
5
+ import { Separator as l } from "./index.es42.js";
6
+ const d = s(
6
7
  "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
7
8
  {
8
9
  variants: {
@@ -16,32 +17,32 @@ const l = i(
16
17
  }
17
18
  }
18
19
  );
19
- function m({
20
+ function p({
20
21
  className: e,
21
22
  orientation: t,
22
23
  ...o
23
24
  }) {
24
- return /* @__PURE__ */ React.createElement(
25
+ return /* @__PURE__ */ r.createElement(
25
26
  "div",
26
27
  {
27
28
  role: "group",
28
29
  "data-slot": "button-group",
29
30
  "data-orientation": t,
30
- className: r(l({ orientation: t }), e),
31
+ className: a(d({ orientation: t }), e),
31
32
  ...o
32
33
  }
33
34
  );
34
35
  }
35
- function p({
36
+ function h({
36
37
  className: e,
37
38
  asChild: t = !1,
38
39
  ...o
39
40
  }) {
40
- const a = t ? n : "div";
41
- return /* @__PURE__ */ React.createElement(
42
- a,
41
+ const n = t ? i : "div";
42
+ return /* @__PURE__ */ r.createElement(
43
+ n,
43
44
  {
44
- className: r(
45
+ className: a(
45
46
  "bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
46
47
  e
47
48
  ),
@@ -49,17 +50,17 @@ function p({
49
50
  }
50
51
  );
51
52
  }
52
- function h({
53
+ function g({
53
54
  className: e,
54
55
  orientation: t = "vertical",
55
56
  ...o
56
57
  }) {
57
- return /* @__PURE__ */ React.createElement(
58
- s,
58
+ return /* @__PURE__ */ r.createElement(
59
+ l,
59
60
  {
60
61
  "data-slot": "button-group-separator",
61
62
  orientation: t,
62
- className: r(
63
+ className: a(
63
64
  "bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto",
64
65
  e
65
66
  ),
@@ -68,9 +69,9 @@ function h({
68
69
  );
69
70
  }
70
71
  export {
71
- m as ButtonGroup,
72
- h as ButtonGroupSeparator,
73
- p as ButtonGroupText,
74
- l as buttonGroupVariants
72
+ p as ButtonGroup,
73
+ g as ButtonGroupSeparator,
74
+ h as ButtonGroupText,
75
+ d as buttonGroupVariants
75
76
  };
76
77
  //# sourceMappingURL=index.es11.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es11.js","sources":["../src/components/ui/button-group.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Separator } from \"@/components/ui/separator\"\n\nconst buttonGroupVariants = cva(\n \"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal:\n \"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none\",\n vertical:\n \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n },\n }\n)\n\nfunction ButtonGroup({\n className,\n orientation,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof buttonGroupVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"button-group\"\n data-orientation={orientation}\n className={cn(buttonGroupVariants({ orientation }), className)}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupText({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & {\n asChild?: boolean\n}) {\n const Comp = asChild ? Slot : \"div\"\n\n return (\n <Comp\n className={cn(\n \"bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupSeparator({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn(\n \"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n ButtonGroup,\n ButtonGroupSeparator,\n ButtonGroupText,\n buttonGroupVariants,\n}\n"],"names":["buttonGroupVariants","cva","ButtonGroup","className","orientation","props","cn","ButtonGroupText","asChild","Comp","Slot","ButtonGroupSeparator","Separator"],"mappings":";;;;AAMA,MAAMA,IAAsBC;AAAA,EAC1B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,aAAa;AAAA,QACX,YACE;AAAA,QACF,UACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ;AAEA,SAASC,EAAY;AAAA,EACnB,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,GAAGC;AACL,GAA2E;AACzE,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAU;AAAA,MACV,oBAAkBD;AAAA,MAClB,WAAWE,EAAGN,EAAoB,EAAE,aAAAI,EAAA,CAAa,GAAGD,CAAS;AAAA,MAC5D,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASE,EAAgB;AAAA,EACvB,WAAAJ;AAAA,EACA,SAAAK,IAAU;AAAA,EACV,GAAGH;AACL,GAEG;AACD,QAAMI,IAAOD,IAAUE,IAAO;AAE9B,SACE,sBAAA;AAAA,IAACD;AAAA,IAAA;AAAA,MACC,WAAWH;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASM,EAAqB;AAAA,EAC5B,WAAAR;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,GAAGC;AACL,GAA2C;AACzC,SACE,sBAAA;AAAA,IAACO;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAAR;AAAA,MACA,WAAWE;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;"}
1
+ {"version":3,"file":"index.es11.js","sources":["../src/components/ui/button-group.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Separator } from \"@/components/ui/separator\"\n\nconst buttonGroupVariants = cva(\n \"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal:\n \"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none\",\n vertical:\n \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n },\n }\n)\n\nfunction ButtonGroup({\n className,\n orientation,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof buttonGroupVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"button-group\"\n data-orientation={orientation}\n className={cn(buttonGroupVariants({ orientation }), className)}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupText({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & {\n asChild?: boolean\n}) {\n const Comp = asChild ? Slot : \"div\"\n\n return (\n <Comp\n className={cn(\n \"bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ButtonGroupSeparator({\n className,\n orientation = \"vertical\",\n ...props\n}: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn(\n \"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n ButtonGroup,\n ButtonGroupSeparator,\n ButtonGroupText,\n buttonGroupVariants,\n}\n"],"names":["buttonGroupVariants","cva","ButtonGroup","className","orientation","props","React","cn","ButtonGroupText","asChild","Comp","Slot","ButtonGroupSeparator","Separator"],"mappings":";;;;;AAOA,MAAMA,IAAsBC;AAAA,EAC1B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,aAAa;AAAA,QACX,YACE;AAAA,QACF,UACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ;AAEA,SAASC,EAAY;AAAA,EACnB,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,GAAGC;AACL,GAA2E;AACzE,SACE,gBAAAC,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAU;AAAA,MACV,oBAAkBF;AAAA,MAClB,WAAWG,EAAGP,EAAoB,EAAE,aAAAI,EAAA,CAAa,GAAGD,CAAS;AAAA,MAC5D,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAgB;AAAA,EACvB,WAAAL;AAAA,EACA,SAAAM,IAAU;AAAA,EACV,GAAGJ;AACL,GAEG;AACD,QAAMK,IAAOD,IAAUE,IAAO;AAE9B,SACE,gBAAAL,EAAA;AAAA,IAACI;AAAA,IAAA;AAAA,MACC,WAAWH;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASO,EAAqB;AAAA,EAC5B,WAAAT;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,GAAGC;AACL,GAA2C;AACzC,SACE,gBAAAC,EAAA;AAAA,IAACO;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAAT;AAAA,MACA,WAAWG;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;"}
package/dist/index.es2.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import e from "react";
2
2
  import { Input as t } from "./index.es27.js";
3
- import { Button as r } from "./index.es55.js";
3
+ import { Button as r } from "./index.es10.js";
4
4
  function m() {
5
5
  return /* @__PURE__ */ e.createElement("div", { className: "border p-4 flex gap-4 rounded-md flex-col" }, /* @__PURE__ */ e.createElement(t, { type: "email", placeholder: "Email" }), /* @__PURE__ */ e.createElement(t, { type: "password", placeholder: "Password" }), /* @__PURE__ */ e.createElement(r, null, "Login"));
6
6
  }