una-nuxt-module 2.1.27 → 2.1.29

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 (291) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/ui/accordion/AccordionContent.vue +1 -1
  4. package/dist/runtime/components/ui/accordion/AccordionItem.vue +1 -1
  5. package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +2 -5
  6. package/dist/runtime/components/ui/alert/Alert.vue +1 -1
  7. package/dist/runtime/components/ui/alert/AlertDescription.vue +7 -2
  8. package/dist/runtime/components/ui/alert/AlertTitle.vue +7 -2
  9. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +6 -3
  10. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +5 -7
  11. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +1 -1
  12. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +2 -4
  13. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +2 -5
  14. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +1 -1
  15. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +1 -1
  16. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.d.vue.ts +1 -1
  17. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +30 -11
  18. package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +1 -1
  19. package/dist/runtime/components/ui/avatar/Avatar.vue +7 -2
  20. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +7 -2
  21. package/dist/runtime/components/ui/badge/Badge.vue +1 -1
  22. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +1 -1
  23. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -1
  24. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -1
  25. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +7 -2
  26. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -1
  27. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -1
  28. package/dist/runtime/components/ui/button/Button.vue +1 -1
  29. package/dist/runtime/components/ui/button-group/ButtonGroup.vue +4 -2
  30. package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue +8 -6
  31. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +7 -2
  32. package/dist/runtime/components/ui/calendar/Calendar.vue +21 -10
  33. package/dist/runtime/components/ui/calendar/CalendarCell.vue +7 -2
  34. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +18 -16
  35. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -1
  36. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +3 -2
  37. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +7 -2
  38. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +4 -2
  39. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -1
  40. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +10 -8
  41. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +10 -8
  42. package/dist/runtime/components/ui/card/Card.vue +1 -1
  43. package/dist/runtime/components/ui/card/CardAction.vue +7 -2
  44. package/dist/runtime/components/ui/card/CardContent.vue +2 -5
  45. package/dist/runtime/components/ui/card/CardDescription.vue +1 -1
  46. package/dist/runtime/components/ui/card/CardFooter.vue +1 -1
  47. package/dist/runtime/components/ui/card/CardHeader.vue +7 -2
  48. package/dist/runtime/components/ui/card/CardTitle.vue +1 -1
  49. package/dist/runtime/components/ui/carousel/Carousel.vue +19 -3
  50. package/dist/runtime/components/ui/carousel/CarouselContent.vue +2 -6
  51. package/dist/runtime/components/ui/carousel/CarouselItem.vue +8 -6
  52. package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +1 -1
  53. package/dist/runtime/components/ui/carousel/CarouselNext.vue +9 -7
  54. package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
  55. package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +1 -1
  56. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +9 -7
  57. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
  58. package/dist/runtime/components/ui/chart-area/AreaChart.vue +44 -14
  59. package/dist/runtime/components/ui/chart-bar/BarChart.vue +39 -14
  60. package/dist/runtime/components/ui/chart-donut/DonutChart.vue +24 -12
  61. package/dist/runtime/components/ui/chart-line/LineChart.vue +27 -11
  62. package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -1
  63. package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +1 -1
  64. package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +1 -1
  65. package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +5 -2
  66. package/dist/runtime/components/ui/combobox/ComboboxInput.vue +7 -6
  67. package/dist/runtime/components/ui/combobox/ComboboxItem.vue +7 -2
  68. package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +1 -1
  69. package/dist/runtime/components/ui/combobox/ComboboxList.vue +7 -2
  70. package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +1 -1
  71. package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +1 -1
  72. package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +7 -2
  73. package/dist/runtime/components/ui/command/Command.vue +14 -7
  74. package/dist/runtime/components/ui/command/CommandEmpty.vue +3 -2
  75. package/dist/runtime/components/ui/command/CommandGroup.vue +9 -5
  76. package/dist/runtime/components/ui/command/CommandInput.vue +7 -2
  77. package/dist/runtime/components/ui/command/CommandItem.vue +17 -8
  78. package/dist/runtime/components/ui/command/CommandList.vue +7 -2
  79. package/dist/runtime/components/ui/command/CommandSeparator.vue +1 -1
  80. package/dist/runtime/components/ui/command/CommandShortcut.vue +4 -2
  81. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +10 -6
  82. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +7 -5
  83. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +8 -9
  84. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +7 -2
  85. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +10 -6
  86. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +2 -4
  87. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +4 -2
  88. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +2 -5
  89. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +8 -9
  90. package/dist/runtime/components/ui/dialog/DialogContent.vue +1 -1
  91. package/dist/runtime/components/ui/dialog/DialogDescription.vue +1 -1
  92. package/dist/runtime/components/ui/dialog/DialogFooter.vue +4 -2
  93. package/dist/runtime/components/ui/dialog/DialogHeader.vue +1 -1
  94. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +7 -2
  95. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +2 -2
  96. package/dist/runtime/components/ui/dialog/DialogTitle.vue +1 -1
  97. package/dist/runtime/components/ui/drawer/DrawerContent.vue +14 -10
  98. package/dist/runtime/components/ui/drawer/DrawerDescription.vue +1 -1
  99. package/dist/runtime/components/ui/drawer/DrawerFooter.vue +1 -1
  100. package/dist/runtime/components/ui/drawer/DrawerHeader.vue +1 -1
  101. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +7 -2
  102. package/dist/runtime/components/ui/drawer/DrawerTitle.vue +1 -1
  103. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +10 -6
  104. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +7 -2
  105. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +7 -2
  106. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +4 -2
  107. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +10 -6
  108. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +2 -4
  109. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +4 -2
  110. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +8 -6
  111. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +8 -9
  112. package/dist/runtime/components/ui/empty/Empty.vue +7 -5
  113. package/dist/runtime/components/ui/empty/EmptyContent.vue +7 -5
  114. package/dist/runtime/components/ui/empty/EmptyDescription.vue +7 -5
  115. package/dist/runtime/components/ui/empty/EmptyHeader.vue +7 -5
  116. package/dist/runtime/components/ui/empty/EmptyMedia.vue +1 -1
  117. package/dist/runtime/components/ui/empty/EmptyTitle.vue +1 -1
  118. package/dist/runtime/components/ui/field/Field.vue +2 -5
  119. package/dist/runtime/components/ui/field/FieldContent.vue +7 -5
  120. package/dist/runtime/components/ui/field/FieldDescription.vue +9 -7
  121. package/dist/runtime/components/ui/field/FieldError.vue +6 -4
  122. package/dist/runtime/components/ui/field/FieldGroup.vue +7 -5
  123. package/dist/runtime/components/ui/field/FieldLabel.vue +10 -8
  124. package/dist/runtime/components/ui/field/FieldLegend.vue +9 -7
  125. package/dist/runtime/components/ui/field/FieldSeparator.vue +8 -6
  126. package/dist/runtime/components/ui/field/FieldSet.vue +8 -6
  127. package/dist/runtime/components/ui/field/FieldTitle.vue +7 -5
  128. package/dist/runtime/components/ui/form/FormDescription.vue +1 -1
  129. package/dist/runtime/components/ui/form/FormItem.vue +2 -5
  130. package/dist/runtime/components/ui/form/FormLabel.vue +3 -6
  131. package/dist/runtime/components/ui/form/FormMessage.vue +1 -1
  132. package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +2 -6
  133. package/dist/runtime/components/ui/input/Input.vue +10 -8
  134. package/dist/runtime/components/ui/input-group/InputGroup.vue +17 -15
  135. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +1 -1
  136. package/dist/runtime/components/ui/input-group/InputGroupButton.vue +2 -2
  137. package/dist/runtime/components/ui/input-group/InputGroupInput.vue +8 -6
  138. package/dist/runtime/components/ui/input-group/InputGroupText.vue +7 -5
  139. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +8 -6
  140. package/dist/runtime/components/ui/item/Item.vue +1 -1
  141. package/dist/runtime/components/ui/item/ItemActions.vue +1 -1
  142. package/dist/runtime/components/ui/item/ItemContent.vue +7 -2
  143. package/dist/runtime/components/ui/item/ItemDescription.vue +8 -6
  144. package/dist/runtime/components/ui/item/ItemFooter.vue +4 -2
  145. package/dist/runtime/components/ui/item/ItemGroup.vue +1 -1
  146. package/dist/runtime/components/ui/item/ItemHeader.vue +4 -2
  147. package/dist/runtime/components/ui/item/ItemMedia.vue +1 -1
  148. package/dist/runtime/components/ui/item/ItemSeparator.vue +2 -2
  149. package/dist/runtime/components/ui/item/ItemTitle.vue +7 -2
  150. package/dist/runtime/components/ui/kbd/Kbd.vue +9 -7
  151. package/dist/runtime/components/ui/kbd/KbdGroup.vue +1 -1
  152. package/dist/runtime/components/ui/label/Label.vue +1 -1
  153. package/dist/runtime/components/ui/menubar/Menubar.vue +2 -5
  154. package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +10 -6
  155. package/dist/runtime/components/ui/menubar/MenubarContent.vue +2 -6
  156. package/dist/runtime/components/ui/menubar/MenubarItem.vue +8 -9
  157. package/dist/runtime/components/ui/menubar/MenubarLabel.vue +4 -2
  158. package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +10 -6
  159. package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +1 -1
  160. package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +4 -2
  161. package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +1 -1
  162. package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +7 -5
  163. package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +1 -1
  164. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +8 -6
  165. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +9 -10
  166. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +10 -3
  167. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +1 -1
  168. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +8 -6
  169. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
  170. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +2 -5
  171. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +2 -5
  172. package/dist/runtime/components/ui/number-field/NumberField.vue +1 -1
  173. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +9 -2
  174. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +11 -2
  175. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +11 -2
  176. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +7 -2
  177. package/dist/runtime/components/ui/pagination/Pagination.vue +1 -1
  178. package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -1
  179. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +1 -1
  180. package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +1 -1
  181. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +9 -3
  182. package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
  183. package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +1 -1
  184. package/dist/runtime/components/ui/pagination/PaginationItem.vue +11 -9
  185. package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
  186. package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +1 -1
  187. package/dist/runtime/components/ui/pagination/PaginationLast.vue +9 -3
  188. package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
  189. package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +1 -1
  190. package/dist/runtime/components/ui/pagination/PaginationNext.vue +9 -3
  191. package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
  192. package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +1 -1
  193. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +9 -3
  194. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
  195. package/dist/runtime/components/ui/pin-input/PinInput.vue +8 -2
  196. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +1 -1
  197. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +7 -2
  198. package/dist/runtime/components/ui/popover/PopoverContent.vue +2 -6
  199. package/dist/runtime/components/ui/progress/Progress.vue +2 -5
  200. package/dist/runtime/components/ui/radio-group/RadioGroup.vue +1 -1
  201. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +5 -7
  202. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +21 -10
  203. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +7 -2
  204. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +20 -18
  205. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +1 -1
  206. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +3 -2
  207. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +7 -2
  208. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +4 -2
  209. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +1 -1
  210. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +10 -8
  211. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +10 -8
  212. package/dist/runtime/components/ui/resizable/ResizableHandle.vue +10 -3
  213. package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +4 -2
  214. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +2 -6
  215. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +1 -1
  216. package/dist/runtime/components/ui/select/SelectContent.vue +9 -2
  217. package/dist/runtime/components/ui/select/SelectItem.vue +1 -1
  218. package/dist/runtime/components/ui/select/SelectLabel.vue +1 -1
  219. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +4 -2
  220. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +4 -2
  221. package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -1
  222. package/dist/runtime/components/ui/select/SelectTrigger.vue +7 -5
  223. package/dist/runtime/components/ui/separator/Separator.vue +1 -1
  224. package/dist/runtime/components/ui/sheet/SheetContent.vue +11 -9
  225. package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -1
  226. package/dist/runtime/components/ui/sheet/SheetFooter.vue +2 -4
  227. package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -1
  228. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +7 -2
  229. package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -1
  230. package/dist/runtime/components/ui/sidebar/Sidebar.vue +34 -20
  231. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +7 -2
  232. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -1
  233. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -1
  234. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +9 -7
  235. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -1
  236. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +8 -6
  237. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -1
  238. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +3 -6
  239. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +8 -6
  240. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -1
  241. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +13 -11
  242. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +12 -10
  243. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -1
  244. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -1
  245. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +2 -2
  246. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +8 -6
  247. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +11 -9
  248. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
  249. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +24 -5
  250. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +12 -10
  251. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +2 -2
  252. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +2 -2
  253. package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -1
  254. package/dist/runtime/components/ui/slider/Slider.vue +14 -6
  255. package/dist/runtime/components/ui/spinner/Spinner.vue +1 -1
  256. package/dist/runtime/components/ui/stepper/Stepper.vue +2 -5
  257. package/dist/runtime/components/ui/stepper/StepperDescription.vue +6 -2
  258. package/dist/runtime/components/ui/stepper/StepperIndicator.vue +13 -11
  259. package/dist/runtime/components/ui/stepper/StepperItem.vue +7 -2
  260. package/dist/runtime/components/ui/stepper/StepperSeparator.vue +11 -9
  261. package/dist/runtime/components/ui/stepper/StepperTitle.vue +5 -2
  262. package/dist/runtime/components/ui/stepper/StepperTrigger.vue +7 -2
  263. package/dist/runtime/components/ui/switch/Switch.vue +13 -11
  264. package/dist/runtime/components/ui/table/Table.vue +5 -2
  265. package/dist/runtime/components/ui/table/TableBody.vue +1 -1
  266. package/dist/runtime/components/ui/table/TableCaption.vue +1 -1
  267. package/dist/runtime/components/ui/table/TableCell.vue +1 -1
  268. package/dist/runtime/components/ui/table/TableEmpty.vue +1 -1
  269. package/dist/runtime/components/ui/table/TableFooter.vue +4 -2
  270. package/dist/runtime/components/ui/table/TableHead.vue +7 -2
  271. package/dist/runtime/components/ui/table/TableHeader.vue +2 -5
  272. package/dist/runtime/components/ui/table/TableRow.vue +7 -2
  273. package/dist/runtime/components/ui/tabs/Tabs.vue +1 -1
  274. package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -1
  275. package/dist/runtime/components/ui/tabs/TabsList.vue +7 -5
  276. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +7 -5
  277. package/dist/runtime/components/ui/tags-input/TagsInput.vue +10 -2
  278. package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +10 -2
  279. package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +10 -2
  280. package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +5 -2
  281. package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +5 -2
  282. package/dist/runtime/components/ui/textarea/Textarea.vue +7 -2
  283. package/dist/runtime/components/ui/toggle/Toggle.vue +1 -1
  284. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -1
  285. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +7 -2
  286. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -1
  287. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +1 -1
  288. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +12 -10
  289. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -1
  290. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +16 -4
  291. package/package.json +3 -3
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
4
4
  "configKey": "unaxt",
5
5
  "compatibility": {
6
6
  "nuxt": ">=4.0.0"
package/dist/module.mjs CHANGED
@@ -198,7 +198,7 @@ function addTemplates() {
198
198
  }
199
199
 
200
200
  const name = "una-nuxt-module";
201
- const version = "2.1.27";
201
+ const version = "2.1.29";
202
202
 
203
203
  const module = defineNuxtModule({
204
204
  meta: {
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AccordionContent } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  forceMount: { type: Boolean, required: false },
7
7
  asChild: { type: Boolean, required: false },
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AccordionItem, useForwardProps } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  disabled: { type: Boolean, required: false },
7
7
  value: { type: String, required: true },
@@ -1,11 +1,8 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { ChevronDown } from "lucide-vue-next";
4
- import {
5
- AccordionHeader,
6
- AccordionTrigger
7
- } from "reka-ui";
8
- import { cn } from "~/src/runtime/lib/utils";
4
+ import { AccordionHeader, AccordionTrigger } from "reka-ui";
5
+ import cn from "../../../utils/cn";
9
6
  const props = defineProps({
10
7
  asChild: { type: Boolean, required: false },
11
8
  as: { type: null, required: false },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  import { alertVariants } from ".";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -8,7 +8,12 @@ const props = defineProps({
8
8
  <template>
9
9
  <div
10
10
  data-slot="alert-description"
11
- :class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
11
+ :class="
12
+ cn(
13
+ 'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',
14
+ props.class
15
+ )
16
+ "
12
17
  >
13
18
  <slot />
14
19
  </div>
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -8,7 +8,12 @@ const props = defineProps({
8
8
  <template>
9
9
  <div
10
10
  data-slot="alert-title"
11
- :class="cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', props.class)"
11
+ :class="
12
+ cn(
13
+ 'col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight',
14
+ props.class
15
+ )
16
+ "
12
17
  >
13
18
  <slot />
14
19
  </div>
@@ -1,8 +1,8 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AlertDialogAction } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
5
- import { buttonVariants } from "~/src/runtime/components/ui/button";
4
+ import cn from "../../../utils/cn";
5
+ import { buttonVariants } from "../button";
6
6
  const props = defineProps({
7
7
  asChild: { type: Boolean, required: false },
8
8
  as: { type: null, required: false },
@@ -12,7 +12,10 @@ const delegatedProps = reactiveOmit(props, "class");
12
12
  </script>
13
13
 
14
14
  <template>
15
- <AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
15
+ <AlertDialogAction
16
+ v-bind="delegatedProps"
17
+ :class="cn(buttonVariants(), props.class)"
18
+ >
16
19
  <slot />
17
20
  </AlertDialogAction>
18
21
  </template>
@@ -1,8 +1,8 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AlertDialogCancel } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
5
- import { buttonVariants } from "~/src/runtime/components/ui/button";
4
+ import cn from "../../../utils/cn";
5
+ import { buttonVariants } from "../button";
6
6
  const props = defineProps({
7
7
  asChild: { type: Boolean, required: false },
8
8
  as: { type: null, required: false },
@@ -14,11 +14,9 @@ const delegatedProps = reactiveOmit(props, "class");
14
14
  <template>
15
15
  <AlertDialogCancel
16
16
  v-bind="delegatedProps"
17
- :class="cn(
18
- buttonVariants({ variant: 'outline' }),
19
- 'mt-2 sm:mt-0',
20
- props.class
21
- )"
17
+ :class="
18
+ cn(buttonVariants({ variant: 'outline' }), 'mt-2 sm:mt-0', props.class)
19
+ "
22
20
  >
23
21
  <slot />
24
22
  </AlertDialogCancel>
@@ -6,7 +6,7 @@ import {
6
6
  AlertDialogPortal,
7
7
  useForwardPropsEmits
8
8
  } from "reka-ui";
9
- import { cn } from "~/src/runtime/lib/utils";
9
+ import cn from "../../../utils/cn";
10
10
  const props = defineProps({
11
11
  forceMount: { type: Boolean, required: false },
12
12
  disableOutsidePointerEvents: { type: Boolean, required: false },
@@ -1,9 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
- import {
4
- AlertDialogDescription
5
- } from "reka-ui";
6
- import { cn } from "~/src/runtime/lib/utils";
3
+ import { AlertDialogDescription } from "reka-ui";
4
+ import cn from "../../../utils/cn";
7
5
  const props = defineProps({
8
6
  asChild: { type: Boolean, required: false },
9
7
  as: { type: null, required: false },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -9,10 +9,7 @@ const props = defineProps({
9
9
  <div
10
10
  data-slot="alert-dialog-footer"
11
11
  :class="
12
- cn(
13
- 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
14
- props.class
15
- )
12
+ cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)
16
13
  "
17
14
  >
18
15
  <slot />
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AlertDialogTitle } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  asChild: { type: Boolean, required: false },
7
7
  as: { type: null, required: false },
@@ -1,4 +1,4 @@
1
- import type { FieldProps } from './interface.js';
1
+ import type { FieldProps } from "./interface.js";
2
2
  declare var __VLS_21: {
3
3
  field: import("vee-validate").FieldBindingObject<any>;
4
4
  componentField: import("vee-validate").ComponentFieldBindingObject<any>;
@@ -1,9 +1,15 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
3
- import { Button } from "~/src/runtime/components/ui/button";
4
- import { Calendar } from "~/src/runtime/components/ui/calendar";
5
- import { FormControl, FormDescription, FormField, FormItem, FormMessage } from "~/src/runtime/components/ui/form";
6
- import { Popover, PopoverContent, PopoverTrigger } from "~/src/runtime/components/ui/popover";
2
+ import cn from "../../../utils/cn";
3
+ import { Button } from "../button";
4
+ import { Calendar } from "../calendar";
5
+ import {
6
+ FormControl,
7
+ FormDescription,
8
+ FormField,
9
+ FormItem,
10
+ FormMessage
11
+ } from "../form";
12
+ import { Popover, PopoverContent, PopoverTrigger } from "../popover";
7
13
  import { DateFormatter, getLocalTimeZone } from "@internationalized/date";
8
14
  import { CalendarIcon } from "lucide-vue-next";
9
15
  import AutoFormLabel from "./AutoFormLabel.vue";
@@ -30,16 +36,29 @@ const df = new DateFormatter("en-US", {
30
36
  <slot v-bind="slotProps">
31
37
  <div>
32
38
  <Popover>
33
- <PopoverTrigger as-child :disabled="maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled">
39
+ <PopoverTrigger
40
+ as-child
41
+ :disabled="
42
+ maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled
43
+ "
44
+ >
34
45
  <Button
35
46
  variant="outline"
36
- :class="cn(
37
- 'w-full justify-start text-left font-normal',
38
- !slotProps.componentField.modelValue && 'text-muted-foreground'
39
- )"
47
+ :class="
48
+ cn(
49
+ 'w-full justify-start text-left font-normal',
50
+ !slotProps.componentField.modelValue && 'text-muted-foreground'
51
+ )
52
+ "
40
53
  >
41
54
  <CalendarIcon class="mr-2 h-4 w-4" />
42
- {{ slotProps.componentField.modelValue ? df.format(slotProps.componentField.modelValue.toDate(getLocalTimeZone())) : "Pick a date" }}
55
+ {{
56
+ slotProps.componentField.modelValue ? df.format(
57
+ slotProps.componentField.modelValue.toDate(
58
+ getLocalTimeZone()
59
+ )
60
+ ) : "Pick a date"
61
+ }}
43
62
  </Button>
44
63
  </PopoverTrigger>
45
64
  <PopoverContent class="w-auto p-0">
@@ -1,4 +1,4 @@
1
- import type { FieldProps } from './interface.js';
1
+ import type { FieldProps } from "./interface.js";
2
2
  declare var __VLS_21: {
3
3
  field: import("vee-validate").FieldBindingObject<any>;
4
4
  componentField: import("vee-validate").ComponentFieldBindingObject<any>;
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { AvatarRoot } from "reka-ui";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false }
6
6
  });
@@ -9,7 +9,12 @@ const props = defineProps({
9
9
  <template>
10
10
  <AvatarRoot
11
11
  data-slot="avatar"
12
- :class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
12
+ :class="
13
+ cn(
14
+ 'relative flex size-8 shrink-0 overflow-hidden rounded-full',
15
+ props.class
16
+ )
17
+ "
13
18
  >
14
19
  <slot />
15
20
  </AvatarRoot>
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { AvatarFallback } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  delayMs: { type: Number, required: false },
7
7
  asChild: { type: Boolean, required: false },
@@ -15,7 +15,12 @@ const delegatedProps = reactiveOmit(props, "class");
15
15
  <AvatarFallback
16
16
  data-slot="avatar-fallback"
17
17
  v-bind="delegatedProps"
18
- :class="cn('bg-muted flex size-full items-center justify-center rounded-full', props.class)"
18
+ :class="
19
+ cn(
20
+ 'bg-muted flex size-full items-center justify-center rounded-full',
21
+ props.class
22
+ )
23
+ "
19
24
  >
20
25
  <slot />
21
26
  </AvatarFallback>
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { Primitive } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  import { badgeVariants } from ".";
6
6
  const props = defineProps({
7
7
  asChild: { type: Boolean, required: false },
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { MoreHorizontal } from "lucide-vue-next";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false }
6
6
  });
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { Primitive } from "reka-ui";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  const props = defineProps({
5
5
  asChild: { type: Boolean, required: false },
6
6
  as: { type: null, required: false, default: "a" },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -8,7 +8,12 @@ const props = defineProps({
8
8
  <template>
9
9
  <ol
10
10
  data-slot="breadcrumb-list"
11
- :class="cn('text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5', props.class)"
11
+ :class="
12
+ cn(
13
+ 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',
14
+ props.class
15
+ )
16
+ "
12
17
  >
13
18
  <slot />
14
19
  </ol>
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  const props = defineProps({
4
4
  class: { type: null, required: false }
5
5
  });
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { ChevronRight } from "lucide-vue-next";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false }
6
6
  });
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { Primitive } from "reka-ui";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  import { buttonVariants } from ".";
5
5
  const props = defineProps({
6
6
  variant: { type: null, required: false },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { cn } from "~/src/runtime/lib/utils";
2
+ import cn from "../../../utils/cn";
3
3
  import { buttonGroupVariants } from ".";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false },
@@ -12,7 +12,9 @@ const props = defineProps({
12
12
  role="group"
13
13
  data-slot="button-group"
14
14
  :data-orientation="props.orientation"
15
- :class="cn(buttonGroupVariants({ orientation: props.orientation }), props.class)"
15
+ :class="
16
+ cn(buttonGroupVariants({ orientation: props.orientation }), props.class)
17
+ "
16
18
  >
17
19
  <slot />
18
20
  </div>
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
- import { cn } from "~/src/runtime/lib/utils";
4
- import { Separator } from "~/src/runtime/components/ui/separator";
3
+ import cn from "../../../utils/cn";
4
+ import { Separator } from "../separator";
5
5
  const props = defineProps({
6
6
  orientation: { type: String, required: false, default: "vertical" },
7
7
  decorative: { type: Boolean, required: false },
@@ -17,9 +17,11 @@ const delegatedProps = reactiveOmit(props, "class");
17
17
  data-slot="button-group-separator"
18
18
  v-bind="delegatedProps"
19
19
  :orientation="props.orientation"
20
- :class="cn(
21
- 'bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto',
22
- props.class
23
- )"
20
+ :class="
21
+ cn(
22
+ 'bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto',
23
+ props.class
24
+ )
25
+ "
24
26
  />
25
27
  </template>
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { Primitive } from "reka-ui";
3
- import { cn } from "~/src/runtime/lib/utils";
3
+ import cn from "../../../utils/cn";
4
4
  const props = defineProps({
5
5
  class: { type: null, required: false },
6
6
  orientation: { type: null, required: false },
@@ -16,7 +16,12 @@ const props = defineProps({
16
16
  :data-orientation="props.orientation"
17
17
  :as="as"
18
18
  :as-child="asChild"
19
- :class="cn('bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*=\'size-\'])]:size-4', props.class)"
19
+ :class="
20
+ cn(
21
+ 'bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*=\'size-\'])]:size-4',
22
+ props.class
23
+ )
24
+ "
20
25
  >
21
26
  <slot />
22
27
  </Primitive>
@@ -1,8 +1,20 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { CalendarRoot, useForwardPropsEmits } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
5
- import { CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNextButton, CalendarPrevButton } from ".";
4
+ import cn from "../../../utils/cn";
5
+ import {
6
+ CalendarCell,
7
+ CalendarCellTrigger,
8
+ CalendarGrid,
9
+ CalendarGridBody,
10
+ CalendarGridHead,
11
+ CalendarGridRow,
12
+ CalendarHeadCell,
13
+ CalendarHeader,
14
+ CalendarHeading,
15
+ CalendarNextButton,
16
+ CalendarPrevButton
17
+ } from ".";
6
18
  const props = defineProps({
7
19
  defaultValue: { type: null, required: false },
8
20
  defaultPlaceholder: { type: null, required: false },
@@ -57,24 +69,23 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
57
69
  <CalendarGrid v-for="month in grid" :key="month.value.toString()">
58
70
  <CalendarGridHead>
59
71
  <CalendarGridRow>
60
- <CalendarHeadCell
61
- v-for="day in weekDays" :key="day"
62
- >
72
+ <CalendarHeadCell v-for="day in weekDays" :key="day">
63
73
  {{ day }}
64
74
  </CalendarHeadCell>
65
75
  </CalendarGridRow>
66
76
  </CalendarGridHead>
67
77
  <CalendarGridBody>
68
- <CalendarGridRow v-for="(weekDates, index) in month.rows" :key="`weekDate-${index}`" class="mt-2 w-full">
78
+ <CalendarGridRow
79
+ v-for="(weekDates, index) in month.rows"
80
+ :key="`weekDate-${index}`"
81
+ class="mt-2 w-full"
82
+ >
69
83
  <CalendarCell
70
84
  v-for="weekDate in weekDates"
71
85
  :key="weekDate.toString()"
72
86
  :date="weekDate"
73
87
  >
74
- <CalendarCellTrigger
75
- :day="weekDate"
76
- :month="month.value"
77
- />
88
+ <CalendarCellTrigger :day="weekDate" :month="month.value" />
78
89
  </CalendarCell>
79
90
  </CalendarGridRow>
80
91
  </CalendarGridBody>
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { CalendarCell, useForwardProps } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  date: { type: null, required: true },
7
7
  asChild: { type: Boolean, required: false },
@@ -15,7 +15,12 @@ const forwardedProps = useForwardProps(delegatedProps);
15
15
  <template>
16
16
  <CalendarCell
17
17
  data-slot="calendar-cell"
18
- :class="cn('relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent', props.class)"
18
+ :class="
19
+ cn(
20
+ 'relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent',
21
+ props.class
22
+ )
23
+ "
19
24
  v-bind="forwardedProps"
20
25
  >
21
26
  <slot />
@@ -1,8 +1,8 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { CalendarCellTrigger, useForwardProps } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
5
- import { buttonVariants } from "~/src/runtime/components/ui/button";
4
+ import cn from "../../../utils/cn";
5
+ import { buttonVariants } from "../button";
6
6
  const props = defineProps({
7
7
  day: { type: null, required: true },
8
8
  month: { type: null, required: true },
@@ -17,20 +17,22 @@ const forwardedProps = useForwardProps(delegatedProps);
17
17
  <template>
18
18
  <CalendarCellTrigger
19
19
  data-slot="calendar-cell-trigger"
20
- :class="cn(
21
- buttonVariants({ variant: 'ghost' }),
22
- 'size-8 p-0 font-normal aria-selected:opacity-100 cursor-default',
23
- '[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground',
24
- // Selected
25
- 'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
26
- // Disabled
27
- 'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50',
28
- // Unavailable
29
- 'data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through',
30
- // Outside months
31
- 'data-[outside-view]:text-muted-foreground',
32
- props.class
33
- )"
20
+ :class="
21
+ cn(
22
+ buttonVariants({ variant: 'ghost' }),
23
+ 'size-8 p-0 font-normal aria-selected:opacity-100 cursor-default',
24
+ '[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground',
25
+ // Selected
26
+ 'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
27
+ // Disabled
28
+ 'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50',
29
+ // Unavailable
30
+ 'data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through',
31
+ // Outside months
32
+ 'data-[outside-view]:text-muted-foreground',
33
+ props.class
34
+ )
35
+ "
34
36
  v-bind="forwardedProps"
35
37
  >
36
38
  <slot />
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { CalendarGrid, useForwardProps } from "reka-ui";
4
- import { cn } from "~/src/runtime/lib/utils";
4
+ import cn from "../../../utils/cn";
5
5
  const props = defineProps({
6
6
  asChild: { type: Boolean, required: false },
7
7
  as: { type: null, required: false },