@una-ui/nuxt 0.54.2 → 0.54.3

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