@una-ui/nuxt 0.52.0 → 0.53.0

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 (393) hide show
  1. package/dist/module.d.mts +2 -1
  2. package/dist/module.json +2 -2
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/components/alert-dialog/AlertDialog.vue +136 -0
  5. package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +45 -0
  6. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +50 -0
  7. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +16 -0
  8. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +55 -0
  9. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +16 -0
  10. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +68 -0
  11. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue.d.ts +45 -0
  12. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +26 -0
  13. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue.d.ts +13 -0
  14. package/dist/runtime/components/alert-dialog/AlertDialogFooter.vue +22 -0
  15. package/dist/runtime/components/alert-dialog/AlertDialogFooter.vue.d.ts +13 -0
  16. package/dist/runtime/components/alert-dialog/AlertDialogHeader.vue +20 -0
  17. package/dist/runtime/components/alert-dialog/AlertDialogHeader.vue.d.ts +13 -0
  18. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +25 -0
  19. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue.d.ts +13 -0
  20. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +26 -0
  21. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue.d.ts +13 -0
  22. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +16 -0
  23. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue.d.ts +13 -0
  24. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +18 -16
  25. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +18 -0
  26. package/dist/runtime/components/combobox/Combobox.vue +150 -135
  27. package/dist/runtime/components/combobox/Combobox.vue.d.ts +89 -0
  28. package/dist/runtime/components/combobox/ComboboxAnchor.vue +20 -18
  29. package/dist/runtime/components/combobox/ComboboxAnchor.vue.d.ts +13 -0
  30. package/dist/runtime/components/combobox/ComboboxEmpty.vue +18 -16
  31. package/dist/runtime/components/combobox/ComboboxEmpty.vue.d.ts +13 -0
  32. package/dist/runtime/components/combobox/ComboboxGroup.vue +25 -19
  33. package/dist/runtime/components/combobox/ComboboxGroup.vue.d.ts +17 -0
  34. package/dist/runtime/components/combobox/ComboboxInput.vue +38 -26
  35. package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +16 -0
  36. package/dist/runtime/components/combobox/ComboboxItem.vue +23 -20
  37. package/dist/runtime/components/combobox/ComboboxItem.vue.d.ts +18 -0
  38. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +23 -23
  39. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue.d.ts +15 -0
  40. package/dist/runtime/components/combobox/ComboboxLabel.vue +16 -10
  41. package/dist/runtime/components/combobox/ComboboxLabel.vue.d.ts +13 -0
  42. package/dist/runtime/components/combobox/ComboboxList.vue +43 -25
  43. package/dist/runtime/components/combobox/ComboboxList.vue.d.ts +43 -0
  44. package/dist/runtime/components/combobox/ComboboxSeparator.vue +18 -16
  45. package/dist/runtime/components/combobox/ComboboxSeparator.vue.d.ts +13 -0
  46. package/dist/runtime/components/combobox/ComboboxTrigger.vue +77 -53
  47. package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +17 -0
  48. package/dist/runtime/components/combobox/ComboboxViewport.vue +20 -18
  49. package/dist/runtime/components/combobox/ComboboxViewport.vue.d.ts +13 -0
  50. package/dist/runtime/components/data/table/Table.vue +206 -186
  51. package/dist/runtime/components/data/table/Table.vue.d.ts +184 -0
  52. package/dist/runtime/components/data/table/TableBody.vue +15 -15
  53. package/dist/runtime/components/data/table/TableBody.vue.d.ts +15 -0
  54. package/dist/runtime/components/data/table/TableCaption.vue +16 -16
  55. package/dist/runtime/components/data/table/TableCaption.vue.d.ts +15 -0
  56. package/dist/runtime/components/data/table/TableCell.vue +20 -19
  57. package/dist/runtime/components/data/table/TableCell.vue.d.ts +15 -0
  58. package/dist/runtime/components/data/table/TableEmpty.vue +27 -27
  59. package/dist/runtime/components/data/table/TableEmpty.vue.d.ts +15 -0
  60. package/dist/runtime/components/data/table/TableFooter.vue +15 -15
  61. package/dist/runtime/components/data/table/TableFooter.vue.d.ts +15 -0
  62. package/dist/runtime/components/data/table/TableHead.vue +18 -17
  63. package/dist/runtime/components/data/table/TableHead.vue.d.ts +15 -0
  64. package/dist/runtime/components/data/table/TableHeader.vue +15 -15
  65. package/dist/runtime/components/data/table/TableHeader.vue.d.ts +15 -0
  66. package/dist/runtime/components/data/table/TableLoading.vue +31 -28
  67. package/dist/runtime/components/data/table/TableLoading.vue.d.ts +15 -0
  68. package/dist/runtime/components/data/table/TableRow.vue +15 -15
  69. package/dist/runtime/components/data/table/TableRow.vue.d.ts +15 -0
  70. package/dist/runtime/components/elements/Accordion.vue +99 -92
  71. package/dist/runtime/components/elements/Accordion.vue.d.ts +28 -0
  72. package/dist/runtime/components/elements/Alert.vue +37 -50
  73. package/dist/runtime/components/elements/Alert.vue.d.ts +22 -0
  74. package/dist/runtime/components/elements/AvatarGroup.vue +64 -71
  75. package/dist/runtime/components/elements/AvatarGroup.vue.d.ts +11 -0
  76. package/dist/runtime/components/elements/Badge.vue +19 -20
  77. package/dist/runtime/components/elements/Badge.vue.d.ts +26 -0
  78. package/dist/runtime/components/elements/Button.vue +75 -62
  79. package/dist/runtime/components/elements/Button.vue.d.ts +34 -0
  80. package/dist/runtime/components/elements/Icon.vue +4 -4
  81. package/dist/runtime/components/elements/Icon.vue.d.ts +3 -0
  82. package/dist/runtime/components/elements/Indicator.vue +25 -29
  83. package/dist/runtime/components/elements/Indicator.vue.d.ts +19 -0
  84. package/dist/runtime/components/elements/Kbd.vue +13 -12
  85. package/dist/runtime/components/elements/Kbd.vue.d.ts +13 -0
  86. package/dist/runtime/components/elements/Label.vue +17 -14
  87. package/dist/runtime/components/elements/Label.vue.d.ts +13 -0
  88. package/dist/runtime/components/elements/Link.vue +2 -2
  89. package/dist/runtime/components/elements/Link.vue.d.ts +0 -109
  90. package/dist/runtime/components/elements/Progress.vue +39 -37
  91. package/dist/runtime/components/elements/Progress.vue.d.ts +18 -0
  92. package/dist/runtime/components/elements/Separator.vue +31 -26
  93. package/dist/runtime/components/elements/Separator.vue.d.ts +15 -0
  94. package/dist/runtime/components/elements/Skeleton.vue +15 -11
  95. package/dist/runtime/components/elements/Skeleton.vue.d.ts +13 -0
  96. package/dist/runtime/components/elements/Toggle.vue +48 -26
  97. package/dist/runtime/components/elements/Toggle.vue.d.ts +22 -0
  98. package/dist/runtime/components/elements/avatar/Avatar.vue +31 -22
  99. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +21 -0
  100. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +26 -17
  101. package/dist/runtime/components/elements/avatar/AvatarFallback.vue.d.ts +13 -0
  102. package/dist/runtime/components/elements/avatar/AvatarImage.vue +20 -11
  103. package/dist/runtime/components/elements/avatar/AvatarImage.vue.d.ts +3 -0
  104. package/dist/runtime/components/elements/card/Card.vue +28 -24
  105. package/dist/runtime/components/elements/card/Card.vue.d.ts +25 -0
  106. package/dist/runtime/components/elements/card/CardContent.vue +10 -9
  107. package/dist/runtime/components/elements/card/CardContent.vue.d.ts +13 -0
  108. package/dist/runtime/components/elements/card/CardDescription.vue +10 -9
  109. package/dist/runtime/components/elements/card/CardDescription.vue.d.ts +13 -0
  110. package/dist/runtime/components/elements/card/CardFooter.vue +10 -9
  111. package/dist/runtime/components/elements/card/CardFooter.vue.d.ts +13 -0
  112. package/dist/runtime/components/elements/card/CardHeader.vue +10 -9
  113. package/dist/runtime/components/elements/card/CardHeader.vue.d.ts +13 -0
  114. package/dist/runtime/components/elements/card/CardTitle.vue +12 -11
  115. package/dist/runtime/components/elements/card/CardTitle.vue.d.ts +13 -0
  116. package/dist/runtime/components/elements/collapsible/Collapsible.vue +15 -11
  117. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +25 -0
  118. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +12 -9
  119. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue.d.ts +13 -0
  120. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +6 -5
  121. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue.d.ts +13 -0
  122. package/dist/runtime/components/elements/dialog/Dialog.vue +43 -35
  123. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +34 -0
  124. package/dist/runtime/components/elements/dialog/DialogClose.vue +34 -11
  125. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +18 -0
  126. package/dist/runtime/components/elements/dialog/DialogContent.vue +40 -35
  127. package/dist/runtime/components/elements/dialog/DialogContent.vue.d.ts +46 -0
  128. package/dist/runtime/components/elements/dialog/DialogDescription.vue +16 -15
  129. package/dist/runtime/components/elements/dialog/DialogDescription.vue.d.ts +13 -0
  130. package/dist/runtime/components/elements/dialog/DialogFooter.vue +10 -9
  131. package/dist/runtime/components/elements/dialog/DialogFooter.vue.d.ts +13 -0
  132. package/dist/runtime/components/elements/dialog/DialogHeader.vue +10 -9
  133. package/dist/runtime/components/elements/dialog/DialogHeader.vue.d.ts +13 -0
  134. package/dist/runtime/components/elements/dialog/DialogOverlay.vue +13 -11
  135. package/dist/runtime/components/elements/dialog/DialogOverlay.vue.d.ts +13 -0
  136. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +39 -37
  137. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue.d.ts +46 -0
  138. package/dist/runtime/components/elements/dialog/DialogTitle.vue +19 -17
  139. package/dist/runtime/components/elements/dialog/DialogTitle.vue.d.ts +13 -0
  140. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +85 -38
  141. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +61 -0
  142. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +43 -26
  143. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue.d.ts +43 -0
  144. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +14 -10
  145. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue.d.ts +13 -0
  146. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +58 -33
  147. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +14 -0
  148. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +21 -19
  149. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue.d.ts +13 -0
  150. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuRoot.vue +13 -9
  151. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuRoot.vue.d.ts +17 -0
  152. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +25 -18
  153. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -0
  154. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuShortcut.vue +12 -9
  155. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuShortcut.vue.d.ts +13 -0
  156. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSub.vue +9 -13
  157. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSub.vue.d.ts +17 -0
  158. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +36 -21
  159. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue.d.ts +45 -0
  160. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +52 -27
  161. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +16 -0
  162. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +44 -17
  163. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue.d.ts +13 -0
  164. package/dist/runtime/components/elements/pagination/Pagination.vue +51 -31
  165. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +41 -0
  166. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +27 -25
  167. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue.d.ts +15 -0
  168. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +45 -25
  169. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +18 -0
  170. package/dist/runtime/components/elements/pagination/PaginationLast.vue +45 -25
  171. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +18 -0
  172. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +50 -27
  173. package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +17 -0
  174. package/dist/runtime/components/elements/pagination/PaginationNext.vue +45 -25
  175. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +18 -0
  176. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +45 -25
  177. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +18 -0
  178. package/dist/runtime/components/elements/popover/Popover.vue +15 -16
  179. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +21 -0
  180. package/dist/runtime/components/elements/popover/PopoverContent.vue +39 -31
  181. package/dist/runtime/components/elements/popover/PopoverContent.vue.d.ts +46 -0
  182. package/dist/runtime/components/elements/tabs/Tabs.vue +32 -21
  183. package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +28 -0
  184. package/dist/runtime/components/elements/tabs/TabsContent.vue +22 -18
  185. package/dist/runtime/components/elements/tabs/TabsContent.vue.d.ts +13 -0
  186. package/dist/runtime/components/elements/tabs/TabsList.vue +19 -14
  187. package/dist/runtime/components/elements/tabs/TabsList.vue.d.ts +13 -0
  188. package/dist/runtime/components/elements/tabs/TabsRoot.vue +22 -13
  189. package/dist/runtime/components/elements/tabs/TabsRoot.vue.d.ts +17 -0
  190. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +47 -19
  191. package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +13 -0
  192. package/dist/runtime/components/elements/tooltip/Tooltip.vue +36 -24
  193. package/dist/runtime/components/elements/tooltip/Tooltip.vue.d.ts +19 -0
  194. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +37 -27
  195. package/dist/runtime/components/elements/tooltip/TooltipContent.vue.d.ts +22 -0
  196. package/dist/runtime/components/elements/tooltip/TooltipProvider.vue +10 -7
  197. package/dist/runtime/components/elements/tooltip/TooltipProvider.vue.d.ts +15 -0
  198. package/dist/runtime/components/elements/tooltip/TooltipRoot.vue +13 -9
  199. package/dist/runtime/components/elements/tooltip/TooltipRoot.vue.d.ts +17 -0
  200. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +34 -5
  201. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue.d.ts +13 -0
  202. package/dist/runtime/components/forms/Checkbox.vue +50 -42
  203. package/dist/runtime/components/forms/Checkbox.vue.d.ts +21 -0
  204. package/dist/runtime/components/forms/FormGroup.vue +40 -33
  205. package/dist/runtime/components/forms/FormGroup.vue.d.ts +27 -0
  206. package/dist/runtime/components/forms/Input.vue +119 -134
  207. package/dist/runtime/components/forms/Input.vue.d.ts +31 -0
  208. package/dist/runtime/components/forms/Slider.vue +49 -36
  209. package/dist/runtime/components/forms/Slider.vue.d.ts +25 -0
  210. package/dist/runtime/components/forms/Switch.vue +43 -42
  211. package/dist/runtime/components/forms/Switch.vue.d.ts +27 -0
  212. package/dist/runtime/components/forms/form/FormControl.vue +4 -5
  213. package/dist/runtime/components/forms/form/FormControl.vue.d.ts +12 -0
  214. package/dist/runtime/components/forms/form/FormDescription.vue +12 -12
  215. package/dist/runtime/components/forms/form/FormDescription.vue.d.ts +13 -0
  216. package/dist/runtime/components/forms/form/FormField.vue +65 -56
  217. package/dist/runtime/components/forms/form/FormField.vue.d.ts +25 -0
  218. package/dist/runtime/components/forms/form/FormItem.vue +14 -14
  219. package/dist/runtime/components/forms/form/FormItem.vue.d.ts +13 -0
  220. package/dist/runtime/components/forms/form/FormLabel.vue +17 -13
  221. package/dist/runtime/components/forms/form/FormLabel.vue.d.ts +13 -0
  222. package/dist/runtime/components/forms/form/FormMessage.vue +14 -14
  223. package/dist/runtime/components/forms/form/FormMessage.vue.d.ts +3 -0
  224. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +68 -63
  225. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +29 -0
  226. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +60 -54
  227. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +22 -0
  228. package/dist/runtime/components/forms/select/Select.vue +82 -64
  229. package/dist/runtime/components/forms/select/Select.vue.d.ts +72 -0
  230. package/dist/runtime/components/forms/select/SelectContent.vue +55 -38
  231. package/dist/runtime/components/forms/select/SelectContent.vue.d.ts +27 -0
  232. package/dist/runtime/components/forms/select/SelectGroup.vue +18 -16
  233. package/dist/runtime/components/forms/select/SelectGroup.vue.d.ts +13 -0
  234. package/dist/runtime/components/forms/select/SelectItem.vue +31 -25
  235. package/dist/runtime/components/forms/select/SelectItem.vue.d.ts +17 -0
  236. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +17 -15
  237. package/dist/runtime/components/forms/select/SelectItemIndicator.vue.d.ts +15 -0
  238. package/dist/runtime/components/forms/select/SelectItemText.vue +9 -5
  239. package/dist/runtime/components/forms/select/SelectItemText.vue.d.ts +13 -0
  240. package/dist/runtime/components/forms/select/SelectLabel.vue +15 -10
  241. package/dist/runtime/components/forms/select/SelectLabel.vue.d.ts +13 -0
  242. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +20 -19
  243. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue.d.ts +13 -0
  244. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +20 -19
  245. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue.d.ts +13 -0
  246. package/dist/runtime/components/forms/select/SelectSeparator.vue +18 -16
  247. package/dist/runtime/components/forms/select/SelectSeparator.vue.d.ts +3 -0
  248. package/dist/runtime/components/forms/select/SelectTrigger.vue +78 -53
  249. package/dist/runtime/components/forms/select/SelectTrigger.vue.d.ts +15 -0
  250. package/dist/runtime/components/forms/select/SelectValue.vue +15 -10
  251. package/dist/runtime/components/forms/select/SelectValue.vue.d.ts +13 -0
  252. package/dist/runtime/components/misc/ThemeSwitcher.vue +51 -69
  253. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +16 -0
  254. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue +35 -22
  255. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +45 -0
  256. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue +13 -14
  257. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +16 -0
  258. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbItem.vue +10 -9
  259. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbItem.vue.d.ts +13 -0
  260. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbLink.vue +46 -26
  261. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbLink.vue.d.ts +18 -0
  262. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbList.vue +10 -9
  263. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbList.vue.d.ts +13 -0
  264. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbPage.vue +5 -7
  265. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
  266. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbRoot.vue +9 -8
  267. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbRoot.vue.d.ts +13 -0
  268. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue +13 -13
  269. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
  270. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +52 -32
  271. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +46 -0
  272. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +22 -19
  273. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue.d.ts +39 -0
  274. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +53 -24
  275. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue.d.ts +21 -0
  276. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +18 -15
  277. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue.d.ts +13 -0
  278. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +40 -5
  279. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue.d.ts +13 -0
  280. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +51 -28
  281. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +27 -0
  282. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +24 -22
  283. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue.d.ts +13 -0
  284. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +54 -34
  285. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
  286. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +29 -26
  287. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue.d.ts +3 -0
  288. package/dist/runtime/components/overlays/Toaster.vue +19 -16
  289. package/dist/runtime/components/overlays/Toaster.vue.d.ts +13 -0
  290. package/dist/runtime/components/overlays/toast/Toast.vue +58 -38
  291. package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +112 -0
  292. package/dist/runtime/components/overlays/toast/ToastAction.vue +42 -19
  293. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +16 -0
  294. package/dist/runtime/components/overlays/toast/ToastClose.vue +21 -20
  295. package/dist/runtime/components/overlays/toast/ToastClose.vue.d.ts +3 -0
  296. package/dist/runtime/components/overlays/toast/ToastDescription.vue +17 -16
  297. package/dist/runtime/components/overlays/toast/ToastDescription.vue.d.ts +13 -0
  298. package/dist/runtime/components/overlays/toast/ToastInfo.vue +10 -9
  299. package/dist/runtime/components/overlays/toast/ToastInfo.vue.d.ts +13 -0
  300. package/dist/runtime/components/overlays/toast/ToastProvider.vue +8 -7
  301. package/dist/runtime/components/overlays/toast/ToastProvider.vue.d.ts +15 -0
  302. package/dist/runtime/components/overlays/toast/ToastTitle.vue +17 -16
  303. package/dist/runtime/components/overlays/toast/ToastTitle.vue.d.ts +13 -0
  304. package/dist/runtime/components/overlays/toast/ToastViewport.vue +19 -16
  305. package/dist/runtime/components/overlays/toast/ToastViewport.vue.d.ts +3 -0
  306. package/dist/runtime/components/resizable/ResizableHandle.vue +61 -0
  307. package/dist/runtime/components/resizable/ResizableHandle.vue.d.ts +21 -0
  308. package/dist/runtime/components/resizable/ResizablePanel.vue +36 -0
  309. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +24 -0
  310. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +34 -0
  311. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +19 -0
  312. package/dist/runtime/components/scroll-area/ScrollArea.vue +31 -23
  313. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +17 -0
  314. package/dist/runtime/components/scroll-area/ScrollBar.vue +29 -25
  315. package/dist/runtime/components/scroll-area/ScrollBar.vue.d.ts +6 -0
  316. package/dist/runtime/components/sheet/Sheet.vue +40 -29
  317. package/dist/runtime/components/sheet/Sheet.vue.d.ts +36 -0
  318. package/dist/runtime/components/sheet/SheetClose.vue +34 -12
  319. package/dist/runtime/components/sheet/SheetClose.vue.d.ts +42 -0
  320. package/dist/runtime/components/sheet/SheetContent.vue +35 -29
  321. package/dist/runtime/components/sheet/SheetContent.vue.d.ts +68 -0
  322. package/dist/runtime/components/sheet/SheetDescription.vue +13 -13
  323. package/dist/runtime/components/sheet/SheetDescription.vue.d.ts +12 -0
  324. package/dist/runtime/components/sheet/SheetFooter.vue +12 -11
  325. package/dist/runtime/components/sheet/SheetFooter.vue.d.ts +12 -0
  326. package/dist/runtime/components/sheet/SheetHeader.vue +8 -7
  327. package/dist/runtime/components/sheet/SheetHeader.vue.d.ts +12 -0
  328. package/dist/runtime/components/sheet/SheetTitle.vue +13 -12
  329. package/dist/runtime/components/sheet/SheetTitle.vue.d.ts +12 -0
  330. package/dist/runtime/components/sheet/SheetTrigger.vue +6 -7
  331. package/dist/runtime/components/sheet/SheetTrigger.vue.d.ts +15 -0
  332. package/dist/runtime/components/sidebar/Sidebar.vue +48 -52
  333. package/dist/runtime/components/sidebar/Sidebar.vue.d.ts +24 -0
  334. package/dist/runtime/components/sidebar/SidebarContent.vue +11 -10
  335. package/dist/runtime/components/sidebar/SidebarContent.vue.d.ts +12 -0
  336. package/dist/runtime/components/sidebar/SidebarFooter.vue +10 -9
  337. package/dist/runtime/components/sidebar/SidebarFooter.vue.d.ts +12 -0
  338. package/dist/runtime/components/sidebar/SidebarGroup.vue +12 -10
  339. package/dist/runtime/components/sidebar/SidebarGroup.vue.d.ts +16 -0
  340. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +13 -13
  341. package/dist/runtime/components/sidebar/SidebarGroupAction.vue.d.ts +36 -0
  342. package/dist/runtime/components/sidebar/SidebarGroupContent.vue +10 -9
  343. package/dist/runtime/components/sidebar/SidebarGroupContent.vue.d.ts +12 -0
  344. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +13 -13
  345. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue.d.ts +36 -0
  346. package/dist/runtime/components/sidebar/SidebarHeader.vue +10 -9
  347. package/dist/runtime/components/sidebar/SidebarHeader.vue.d.ts +12 -0
  348. package/dist/runtime/components/sidebar/SidebarInput.vue +26 -10
  349. package/dist/runtime/components/sidebar/SidebarInput.vue.d.ts +12 -0
  350. package/dist/runtime/components/sidebar/SidebarInset.vue +10 -9
  351. package/dist/runtime/components/sidebar/SidebarInset.vue.d.ts +12 -0
  352. package/dist/runtime/components/sidebar/SidebarMenu.vue +16 -14
  353. package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +22 -0
  354. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +15 -13
  355. package/dist/runtime/components/sidebar/SidebarMenuAction.vue.d.ts +34 -0
  356. package/dist/runtime/components/sidebar/SidebarMenuBadge.vue +10 -9
  357. package/dist/runtime/components/sidebar/SidebarMenuBadge.vue.d.ts +12 -0
  358. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +27 -28
  359. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +19 -0
  360. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +29 -41
  361. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +31 -0
  362. package/dist/runtime/components/sidebar/SidebarMenuItem.vue +10 -9
  363. package/dist/runtime/components/sidebar/SidebarMenuItem.vue.d.ts +12 -0
  364. package/dist/runtime/components/sidebar/SidebarMenuSkeleton.vue +15 -14
  365. package/dist/runtime/components/sidebar/SidebarMenuSkeleton.vue.d.ts +12 -0
  366. package/dist/runtime/components/sidebar/SidebarMenuSub.vue +10 -9
  367. package/dist/runtime/components/sidebar/SidebarMenuSub.vue.d.ts +12 -0
  368. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +19 -17
  369. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +16 -0
  370. package/dist/runtime/components/sidebar/SidebarMenuSubItem.vue +10 -9
  371. package/dist/runtime/components/sidebar/SidebarMenuSubItem.vue.d.ts +12 -0
  372. package/dist/runtime/components/sidebar/SidebarProvider.vue +38 -55
  373. package/dist/runtime/components/sidebar/SidebarProvider.vue.d.ts +20 -0
  374. package/dist/runtime/components/sidebar/SidebarRail.vue +12 -12
  375. package/dist/runtime/components/sidebar/SidebarRail.vue.d.ts +12 -0
  376. package/dist/runtime/components/sidebar/SidebarSeparator.vue +11 -10
  377. package/dist/runtime/components/sidebar/SidebarSeparator.vue.d.ts +12 -0
  378. package/dist/runtime/components/sidebar/SidebarTrigger.vue +38 -18
  379. package/dist/runtime/components/sidebar/SidebarTrigger.vue.d.ts +30 -0
  380. package/dist/runtime/types/alert-dialog.d.ts +98 -0
  381. package/dist/runtime/types/alert-dialog.js +0 -0
  382. package/dist/runtime/types/index.d.ts +2 -0
  383. package/dist/runtime/types/index.js +2 -0
  384. package/dist/runtime/types/input.d.ts +1 -0
  385. package/dist/runtime/types/resizable.d.ts +46 -0
  386. package/dist/runtime/types/resizable.js +0 -0
  387. package/dist/types.d.mts +5 -1
  388. package/dist/una.config.mjs +1 -1
  389. package/package.json +8 -10
  390. package/dist/module.cjs +0 -5
  391. package/dist/module.d.ts +0 -36
  392. package/dist/types.d.ts +0 -1
  393. package/dist/una.config.d.ts +0 -8
@@ -0,0 +1,25 @@
1
+ import type { NCardProps } from '../../../types/card.js';
2
+ declare var __VLS_1: {}, __VLS_6: {}, __VLS_11: {}, __VLS_16: {}, __VLS_21: {}, __VLS_26: {};
3
+ type __VLS_Slots = {} & {
4
+ root?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ header?: (props: typeof __VLS_6) => any;
7
+ } & {
8
+ title?: (props: typeof __VLS_11) => any;
9
+ } & {
10
+ description?: (props: typeof __VLS_16) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_21) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_26) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<NCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardProps> & Readonly<{}>, {
17
+ card: string;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -1,17 +1,18 @@
1
- <script setup lang="ts">
2
- import type { NCardContentProps } from '../../../types'
3
- import { cn } from '../../../utils'
4
-
5
- const props = defineProps<NCardContentProps>()
1
+ <script setup>
2
+ import { cn } from "../../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
9
10
  <div
10
11
  :class="cn(
11
- 'card-content',
12
- props.una?.cardContent,
13
- props.class,
14
- )"
12
+ 'card-content',
13
+ props.una?.cardContent,
14
+ props.class
15
+ )"
15
16
  >
16
17
  <slot />
17
18
  </div>
@@ -0,0 +1,13 @@
1
+ import type { NCardContentProps } from '../../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCardContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,17 +1,18 @@
1
- <script setup lang="ts">
2
- import type { NCardDescriptionProps } from '../../../types'
3
- import { cn } from '../../../utils'
4
-
5
- const props = defineProps<NCardDescriptionProps>()
1
+ <script setup>
2
+ import { cn } from "../../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
9
10
  <p
10
11
  :class="cn(
11
- 'card-description',
12
- props.una?.cardDescription,
13
- props.class,
14
- )"
12
+ 'card-description',
13
+ props.una?.cardDescription,
14
+ props.class
15
+ )"
15
16
  >
16
17
  <slot />
17
18
  </p>
@@ -0,0 +1,13 @@
1
+ import type { NCardDescriptionProps } from '../../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCardDescriptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,17 +1,18 @@
1
- <script setup lang="ts">
2
- import type { NCardFooterProps } from '../../../types'
3
- import { cn } from '../../../utils'
4
-
5
- const props = defineProps<NCardFooterProps>()
1
+ <script setup>
2
+ import { cn } from "../../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
9
10
  <div
10
11
  :class="cn(
11
- 'card-footer',
12
- props.una?.cardFooter,
13
- props.class,
14
- )"
12
+ 'card-footer',
13
+ props.una?.cardFooter,
14
+ props.class
15
+ )"
15
16
  >
16
17
  <slot />
17
18
  </div>
@@ -0,0 +1,13 @@
1
+ import type { NCardFooterProps } from '../../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCardFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,17 +1,18 @@
1
- <script setup lang="ts">
2
- import type { NCardHeaderProps } from '../../../types'
3
- import { cn } from '../../../utils'
4
-
5
- const props = defineProps<NCardHeaderProps>()
1
+ <script setup>
2
+ import { cn } from "../../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
9
10
  <div
10
11
  :class="cn(
11
- 'card-header',
12
- props.una?.cardHeader,
13
- props.class,
14
- )"
12
+ 'card-header',
13
+ props.una?.cardHeader,
14
+ props.class
15
+ )"
15
16
  >
16
17
  <slot />
17
18
  </div>
@@ -0,0 +1,13 @@
1
+ import type { NCardHeaderProps } from '../../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCardHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,19 +1,20 @@
1
- <script setup lang="ts">
2
- import type { NCardTitleProps } from '../../../types'
3
- import { cn } from '../../../utils'
4
-
5
- const props = defineProps<NCardTitleProps>()
1
+ <script setup>
2
+ import { cn } from "../../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
9
10
  <h3
10
11
  :class="
11
- cn(
12
- 'card-title',
13
- props.una?.cardTitle,
14
- props.class,
15
- )
16
- "
12
+ cn(
13
+ 'card-title',
14
+ props.una?.cardTitle,
15
+ props.class
16
+ )
17
+ "
17
18
  >
18
19
  <slot />
19
20
  </h3>
@@ -0,0 +1,13 @@
1
+ import type { NCardTitleProps } from '../../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCardTitleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCardTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,14 +1,18 @@
1
- <script setup lang="ts">
2
- import type { CollapsibleRootEmits } from 'reka-ui'
3
- import type { NCollapsibleProps } from '../../../types'
4
- import { CollapsibleRoot, useForwardPropsEmits } from 'reka-ui'
5
- import CollapsibleContent from './CollapsibleContent.vue'
6
- import CollapsibleTrigger from './CollapsibleTrigger.vue'
7
-
8
- const props = defineProps<NCollapsibleProps>()
9
- const emits = defineEmits<CollapsibleRootEmits>()
10
-
11
- const forwarded = useForwardPropsEmits(props, emits)
1
+ <script setup>
2
+ import { CollapsibleRoot, useForwardPropsEmits } from "reka-ui";
3
+ import CollapsibleContent from "./CollapsibleContent.vue";
4
+ import CollapsibleTrigger from "./CollapsibleTrigger.vue";
5
+ const props = defineProps({
6
+ _collapsibleContent: { type: Object, required: false },
7
+ defaultOpen: { type: Boolean, required: false },
8
+ open: { type: Boolean, required: false },
9
+ disabled: { type: Boolean, required: false },
10
+ unmountOnHide: { type: Boolean, required: false },
11
+ asChild: { type: Boolean, required: false },
12
+ as: { type: null, required: false }
13
+ });
14
+ const emits = defineEmits(["update:open"]);
15
+ const forwarded = useForwardPropsEmits(props, emits);
12
16
  </script>
13
17
 
14
18
  <template>
@@ -0,0 +1,25 @@
1
+ import type { NCollapsibleProps } from '../../../types/index.js';
2
+ declare var __VLS_6: {
3
+ open: boolean;
4
+ }, __VLS_11: {
5
+ open: boolean;
6
+ }, __VLS_16: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ } & {
10
+ trigger?: (props: typeof __VLS_11) => any;
11
+ } & {
12
+ content?: (props: typeof __VLS_16) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<NCollapsibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:open": (value: boolean) => any;
16
+ }, string, import("vue").PublicProps, Readonly<NCollapsibleProps> & Readonly<{
17
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -1,18 +1,21 @@
1
- <script setup lang="ts">
2
- import type { NCollapsibleContentProps } from '../../../types'
3
- import { CollapsibleContent } from 'reka-ui'
4
- import { cn } from '../../../utils'
5
-
6
- const props = defineProps<NCollapsibleContentProps>()
1
+ <script setup>
2
+ import { CollapsibleContent } from "reka-ui";
3
+ import { cn } from "../../../utils";
4
+ const props = defineProps({
5
+ forceMount: { type: Boolean, required: false },
6
+ asChild: { type: Boolean, required: false },
7
+ as: { type: null, required: false },
8
+ class: { type: null, required: false }
9
+ });
7
10
  </script>
8
11
 
9
12
  <template>
10
13
  <CollapsibleContent
11
14
  v-bind="props"
12
15
  :class="cn(
13
- 'collapsible-content',
14
- props.class,
15
- )"
16
+ 'collapsible-content',
17
+ props.class
18
+ )"
16
19
  >
17
20
  <slot />
18
21
  </CollapsibleContent>
@@ -0,0 +1,13 @@
1
+ import type { NCollapsibleContentProps } from '../../../types/index.js';
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NCollapsibleContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NCollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,8 +1,9 @@
1
- <script setup lang="ts">
2
- import type { CollapsibleTriggerProps } from 'reka-ui'
3
- import { CollapsibleTrigger } from 'reka-ui'
4
-
5
- const props = defineProps<CollapsibleTriggerProps>()
1
+ <script setup>
2
+ import { CollapsibleTrigger } from "reka-ui";
3
+ const props = defineProps({
4
+ asChild: { type: Boolean, required: false },
5
+ as: { type: null, required: false }
6
+ });
6
7
  </script>
7
8
 
8
9
  <template>
@@ -0,0 +1,13 @@
1
+ import type { CollapsibleTriggerProps } from 'reka-ui';
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,39 +1,47 @@
1
- <script setup lang="ts">
2
- import type { DialogRootEmits } from 'reka-ui'
3
- import type { NDialogProps } from '../../../types'
4
- import { reactivePick } from '@vueuse/core'
5
- import { DialogRoot, DialogTrigger, useForwardPropsEmits, VisuallyHidden } from 'reka-ui'
6
- import { computed } from 'vue'
7
- import { randomId } from '../../../utils'
8
- import DialogContent from './DialogContent.vue'
9
- import DialogDescription from './DialogDescription.vue'
10
- import DialogFooter from './DialogFooter.vue'
11
- import DialogHeader from './DialogHeader.vue'
12
- import DialogScrollContent from './DialogScrollContent.vue'
13
- import DialogTitle from './DialogTitle.vue'
14
-
1
+ <script setup>
2
+ import { reactivePick } from "@vueuse/core";
3
+ import { DialogRoot, DialogTrigger, useForwardPropsEmits, VisuallyHidden } from "reka-ui";
4
+ import { computed } from "vue";
5
+ import { randomId } from "../../../utils";
6
+ import DialogContent from "./DialogContent.vue";
7
+ import DialogDescription from "./DialogDescription.vue";
8
+ import DialogFooter from "./DialogFooter.vue";
9
+ import DialogHeader from "./DialogHeader.vue";
10
+ import DialogScrollContent from "./DialogScrollContent.vue";
11
+ import DialogTitle from "./DialogTitle.vue";
15
12
  defineOptions({
16
- inheritAttrs: false,
17
- })
18
-
19
- const props = withDefaults(defineProps<NDialogProps>(), {
20
- showClose: true,
21
- overlay: true,
22
- })
23
- const emits = defineEmits<DialogRootEmits>()
24
- const DEFAULT_TITLE = randomId('dialog-title')
25
- const DEFAULT_DESCRIPTION = randomId('dialog-description')
26
-
27
- const title = computed(() => props.title ?? DEFAULT_TITLE)
28
- const description = computed(() => props.description ?? DEFAULT_DESCRIPTION)
29
-
13
+ inheritAttrs: false
14
+ });
15
+ const props = defineProps({
16
+ title: { type: String, required: false },
17
+ description: { type: String, required: false },
18
+ scrollable: { type: Boolean, required: false },
19
+ _dialogTitle: { type: Object, required: false },
20
+ _dialogDescription: { type: Object, required: false },
21
+ _dialogHeader: { type: Object, required: false },
22
+ _dialogFooter: { type: Object, required: false },
23
+ _dialogContent: { type: Object, required: false },
24
+ una: { type: Object, required: false },
25
+ open: { type: Boolean, required: false },
26
+ defaultOpen: { type: Boolean, required: false },
27
+ modal: { type: Boolean, required: false },
28
+ preventClose: { type: Boolean, required: false },
29
+ showClose: { type: Boolean, required: false, default: true },
30
+ overlay: { type: Boolean, required: false, default: true },
31
+ _dialogClose: { type: Object, required: false },
32
+ _dialogOverlay: { type: Object, required: false }
33
+ });
34
+ const emits = defineEmits(["update:open"]);
35
+ const DEFAULT_TITLE = randomId("dialog-title");
36
+ const DEFAULT_DESCRIPTION = randomId("dialog-description");
37
+ const title = computed(() => props.title ?? DEFAULT_TITLE);
38
+ const description = computed(() => props.description ?? DEFAULT_DESCRIPTION);
30
39
  const rootProps = reactivePick(props, [
31
- 'open',
32
- 'defaultOpen',
33
- 'modal',
34
- ])
35
-
36
- const rootPropsEmits = useForwardPropsEmits(rootProps, emits)
40
+ "open",
41
+ "defaultOpen",
42
+ "modal"
43
+ ]);
44
+ const rootPropsEmits = useForwardPropsEmits(rootProps, emits);
37
45
  </script>
38
46
 
39
47
  <template>
@@ -52,7 +60,7 @@ const rootPropsEmits = useForwardPropsEmits(rootProps, emits)
52
60
  :prevent-close
53
61
  :una
54
62
  >
55
- <VisuallyHidden v-if="(title === DEFAULT_TITLE || !!$slots.title) || (description === DEFAULT_DESCRIPTION || !!$slots.description)">
63
+ <VisuallyHidden v-if="title === DEFAULT_TITLE || !!$slots.title || (description === DEFAULT_DESCRIPTION || !!$slots.description)">
56
64
  <DialogTitle v-if="title === DEFAULT_TITLE || !!$slots.title">
57
65
  {{ title }}
58
66
  </DialogTitle>
@@ -0,0 +1,34 @@
1
+ import type { NDialogProps } from '../../../types/index.js';
2
+ declare var __VLS_10: {
3
+ open: boolean;
4
+ }, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_43: {}, __VLS_48: {};
5
+ type __VLS_Slots = {} & {
6
+ trigger?: (props: typeof __VLS_10) => any;
7
+ } & {
8
+ content?: (props: typeof __VLS_26) => any;
9
+ } & {
10
+ header?: (props: typeof __VLS_31) => any;
11
+ } & {
12
+ title?: (props: typeof __VLS_36) => any;
13
+ } & {
14
+ description?: (props: typeof __VLS_41) => any;
15
+ } & {
16
+ default?: (props: typeof __VLS_43) => any;
17
+ } & {
18
+ footer?: (props: typeof __VLS_48) => any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<NDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:open": (value: boolean) => any;
22
+ }, string, import("vue").PublicProps, Readonly<NDialogProps> & Readonly<{
23
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
24
+ }>, {
25
+ overlay: boolean;
26
+ showClose: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -1,14 +1,37 @@
1
- <script setup lang="ts">
2
- import type { NDialogCloseProps } from '../../../types'
3
- import { DialogClose } from 'reka-ui'
4
- import Button from '../Button.vue'
5
-
6
- const props = withDefaults(defineProps<NDialogCloseProps>(), {
7
- btn: 'ghost-gray',
8
- label: 'i-close',
9
- square: '2em',
10
- icon: true,
11
- })
1
+ <script setup>
2
+ import { DialogClose } from "reka-ui";
3
+ import Button from "../Button.vue";
4
+ const props = defineProps({
5
+ asChild: { type: Boolean, required: false },
6
+ as: { type: null, required: false },
7
+ type: { type: String, required: false },
8
+ loadingPlacement: { type: String, required: false },
9
+ icon: { type: Boolean, required: false, default: true },
10
+ disabled: { type: Boolean, required: false },
11
+ reverse: { type: Boolean, required: false },
12
+ loading: { type: Boolean, required: false },
13
+ block: { type: Boolean, required: false },
14
+ to: { type: null, required: false },
15
+ label: { type: String, required: false, default: "i-close" },
16
+ btn: { type: String, required: false, default: "ghost-gray" },
17
+ leading: { type: String, required: false },
18
+ trailing: { type: String, required: false },
19
+ size: { type: String, required: false },
20
+ una: { type: Object, required: false },
21
+ square: { type: null, required: false, default: "2em" },
22
+ rounded: { type: null, required: false },
23
+ class: { type: null, required: false },
24
+ breadcrumbActive: { type: String, required: false },
25
+ breadcrumbInactive: { type: String, required: false },
26
+ paginationSelected: { type: String, required: false },
27
+ paginationUnselected: { type: String, required: false },
28
+ dropdownMenu: { type: String, required: false },
29
+ toggleOn: { type: String, required: false },
30
+ toggleOff: { type: String, required: false },
31
+ navigationMenu: { type: String, required: false },
32
+ navigationMenuLink: { type: String, required: false },
33
+ ariaLabel: { type: String, required: false }
34
+ });
12
35
  </script>
13
36
 
14
37
  <template>
@@ -0,0 +1,18 @@
1
+ import type { NDialogCloseProps } from '../../../types/index.js';
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NDialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NDialogCloseProps> & Readonly<{}>, {
7
+ label: string;
8
+ icon: boolean;
9
+ btn: string;
10
+ square: import("vue").HTMLAttributes["class"];
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };