@una-ui/nuxt 0.58.0 → 0.60.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 (183) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
  4. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
  5. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
  6. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue.d.ts +6 -22
  7. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  10. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  11. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  12. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +1 -1
  13. package/dist/runtime/components/combobox/Combobox.vue +1 -1
  14. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  15. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  16. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  17. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  21. package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
  22. package/dist/runtime/components/combobox/ComboboxList.vue.d.ts +6 -22
  23. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  24. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  25. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  26. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  27. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  28. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  29. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  30. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  31. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  32. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  33. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  34. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  35. package/dist/runtime/components/drawer/DrawerContent.vue.d.ts +6 -22
  36. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  37. package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
  38. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  39. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  40. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  41. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  42. package/dist/runtime/components/elements/Label.vue +1 -1
  43. package/dist/runtime/components/elements/Progress.vue +1 -1
  44. package/dist/runtime/components/elements/Separator.vue +1 -1
  45. package/dist/runtime/components/elements/Toggle.vue +1 -1
  46. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  47. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  48. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  49. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  50. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  51. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  52. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  53. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  54. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  55. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  56. package/dist/runtime/components/elements/dialog/DialogContent.vue.d.ts +6 -22
  57. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  58. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  59. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue.d.ts +6 -22
  60. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  61. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  62. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +6 -22
  63. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
  64. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue.d.ts +6 -22
  65. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  66. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  67. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  68. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  69. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  70. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
  71. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue.d.ts +6 -22
  72. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  73. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  74. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  75. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  76. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  77. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  78. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  79. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  80. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  81. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  82. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  83. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  84. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  85. package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
  86. package/dist/runtime/components/elements/popover/PopoverContent.vue.d.ts +6 -22
  87. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  88. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  89. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  90. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  91. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
  92. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  93. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  94. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  95. package/dist/runtime/components/forms/Input.vue.d.ts +6 -6
  96. package/dist/runtime/components/forms/Slider.vue +1 -1
  97. package/dist/runtime/components/forms/Switch.vue +8 -7
  98. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  99. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  100. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
  101. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
  102. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  103. package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
  104. package/dist/runtime/components/forms/select/SelectContent.vue.d.ts +2 -6
  105. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  106. package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
  107. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
  108. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  109. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  110. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  111. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  112. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  113. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  114. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  115. package/dist/runtime/components/hover-card/HoverCard.vue +79 -0
  116. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +25 -0
  117. package/dist/runtime/components/hover-card/HoverCardArrow.vue +30 -0
  118. package/dist/runtime/components/hover-card/HoverCardArrow.vue.d.ts +6 -0
  119. package/dist/runtime/components/hover-card/HoverCardContent.vue +57 -0
  120. package/dist/runtime/components/hover-card/HoverCardContent.vue.d.ts +15 -0
  121. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +55 -0
  122. package/dist/runtime/components/hover-card/HoverCardTrigger.vue.d.ts +13 -0
  123. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  124. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  125. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  126. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  127. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue.d.ts +6 -22
  128. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +2 -2
  129. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  130. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  131. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +2 -1
  132. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
  133. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  134. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  135. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  136. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  137. package/dist/runtime/components/number-field/NumberField.vue +73 -0
  138. package/dist/runtime/components/number-field/NumberField.vue.d.ts +28 -0
  139. package/dist/runtime/components/number-field/NumberFieldContent.vue +20 -0
  140. package/dist/runtime/components/number-field/NumberFieldContent.vue.d.ts +13 -0
  141. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +33 -0
  142. package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +16 -0
  143. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +33 -0
  144. package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +16 -0
  145. package/dist/runtime/components/number-field/NumberFieldInput.vue +24 -0
  146. package/dist/runtime/components/number-field/NumberFieldInput.vue.d.ts +5 -0
  147. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  148. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  149. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
  150. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  151. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  152. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  153. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  154. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  155. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  156. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  157. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  158. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  159. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  160. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  161. package/dist/runtime/components/sheet/SheetContent.vue +1 -1
  162. package/dist/runtime/components/sheet/SheetContent.vue.d.ts +6 -22
  163. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  164. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  165. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  166. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  167. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  168. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  169. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  170. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  171. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  172. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  173. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  174. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  175. package/dist/runtime/types/hover-card.d.ts +57 -0
  176. package/dist/runtime/types/hover-card.js +0 -0
  177. package/dist/runtime/types/index.d.ts +2 -0
  178. package/dist/runtime/types/index.js +2 -0
  179. package/dist/runtime/types/navigation-menu.d.ts +2 -2
  180. package/dist/runtime/types/number-field.d.ts +48 -0
  181. package/dist/runtime/types/number-field.js +0 -0
  182. package/dist/runtime/types/switch.d.ts +16 -12
  183. package/package.json +9 -9
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "0.58.0",
4
+ "version": "0.60.0",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.0.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -8,7 +8,7 @@ import 'unocss';
8
8
  import 'unocss-preset-animations';
9
9
 
10
10
  const name = "@una-ui/nuxt";
11
- const version = "0.58.0";
11
+ const version = "0.60.0";
12
12
 
13
13
  const module = defineNuxtModule({
14
14
  meta: {
@@ -4,7 +4,7 @@ import Button from "../elements/Button.vue";
4
4
  const props = defineProps({
5
5
  onClick: { type: Function, required: false },
6
6
  asChild: { type: Boolean, required: false },
7
- as: { type: [String, Object, Function], required: false },
7
+ as: { type: null, required: false },
8
8
  type: { type: String, required: false },
9
9
  loadingPlacement: { type: String, required: false },
10
10
  icon: { type: Boolean, required: false },
@@ -5,7 +5,7 @@ import Button from "../elements/Button.vue";
5
5
  const props = defineProps({
6
6
  onClick: { type: Function, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  type: { type: String, required: false },
10
10
  loadingPlacement: { type: String, required: false },
11
11
  icon: { type: Boolean, required: false },
@@ -22,7 +22,7 @@ const props = defineProps({
22
22
  trapFocus: { type: Boolean, required: false },
23
23
  disableOutsidePointerEvents: { type: Boolean, required: false },
24
24
  asChild: { type: Boolean, required: false },
25
- as: { type: [String, Object, Function], required: false },
25
+ as: { type: null, required: false },
26
26
  class: { type: null, required: false }
27
27
  });
28
28
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
@@ -5,32 +5,16 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NAlertDialogContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  escapeKeyDown: (event: KeyboardEvent) => any;
8
- pointerDownOutside: (event: CustomEvent<{
9
- originalEvent: PointerEvent;
10
- }>) => any;
11
- focusOutside: (event: CustomEvent<{
12
- originalEvent: FocusEvent;
13
- }>) => any;
14
- interactOutside: (event: CustomEvent<{
15
- originalEvent: PointerEvent;
16
- }> | CustomEvent<{
17
- originalEvent: FocusEvent;
18
- }>) => any;
8
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
9
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
10
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
19
11
  openAutoFocus: (event: Event) => any;
20
12
  closeAutoFocus: (event: Event) => any;
21
13
  }, string, import("vue").PublicProps, Readonly<NAlertDialogContentProps> & Readonly<{
22
14
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
- onPointerDownOutside?: ((event: CustomEvent<{
24
- originalEvent: PointerEvent;
25
- }>) => any) | undefined;
26
- onFocusOutside?: ((event: CustomEvent<{
27
- originalEvent: FocusEvent;
28
- }>) => any) | undefined;
29
- onInteractOutside?: ((event: CustomEvent<{
30
- originalEvent: PointerEvent;
31
- }> | CustomEvent<{
32
- originalEvent: FocusEvent;
33
- }>) => any) | undefined;
15
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
16
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
17
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
34
18
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
35
19
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
36
20
  }>, {
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, "class", "una");
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  forceMount: { type: Boolean, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false }
9
+ as: { type: null, required: false }
10
10
  });
11
11
  </script>
12
12
 
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, "class", "una");
@@ -2,7 +2,7 @@
2
2
  import { AlertDialogTrigger } from "reka-ui";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false }
5
+ as: { type: null, required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  una: { type: Object, required: false },
8
8
  ratio: { type: Number, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false },
10
+ as: { type: null, required: false },
11
11
  class: { type: null, required: false },
12
12
  rounded: { type: null, required: false, default: "md" }
13
13
  });
@@ -6,8 +6,8 @@ type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
7
7
  };
8
8
  declare const __VLS_component: import("vue").DefineComponent<NAspectRatioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAspectRatioProps> & Readonly<{}>, {
9
- rounded: import("vue").HTMLAttributes["class"];
10
9
  aspectRatio: string;
10
+ rounded: import("vue").HTMLAttributes["class"];
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
13
  export default _default;
@@ -52,7 +52,7 @@ const props = defineProps({
52
52
  highlightOnHover: { type: Boolean, required: false },
53
53
  by: { type: [String, Function], required: false },
54
54
  asChild: { type: Boolean, required: false },
55
- as: { type: [String, Object, Function], required: false },
55
+ as: { type: null, required: false },
56
56
  name: { type: String, required: false },
57
57
  required: { type: Boolean, required: false },
58
58
  status: { type: String, required: false },
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  reference: { type: null, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false },
10
10
  size: { type: null, required: false, default: "sm" }
11
11
  });
@@ -14,7 +14,7 @@ const props = defineProps({
14
14
  _comboboxLabel: { type: Object, required: false },
15
15
  una: { type: Object, required: false },
16
16
  asChild: { type: Boolean, required: false },
17
- as: { type: [String, Object, Function], required: false },
17
+ as: { type: null, required: false },
18
18
  class: { type: null, required: false },
19
19
  size: { type: null, required: false }
20
20
  });
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  autoFocus: { type: Boolean, required: false },
13
13
  disabled: { type: Boolean, required: false },
14
14
  asChild: { type: Boolean, required: false },
15
- as: { type: [String, Object, Function], required: false },
15
+ as: { type: null, required: false },
16
16
  type: { type: null, required: false },
17
17
  status: { type: String, required: false },
18
18
  loading: { type: Boolean, required: false },
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  value: { type: null, required: true },
9
9
  disabled: { type: Boolean, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: [String, Object, Function], required: false },
11
+ as: { type: null, required: false },
12
12
  class: { type: null, required: false },
13
13
  size: { type: null, required: false, default: "sm" }
14
14
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  icon: { type: null, required: false, default: "combobox-item-indicator-icon-name" },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  for: { type: String, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -27,7 +27,7 @@ const props = defineProps({
27
27
  prioritizePosition: { type: Boolean, required: false },
28
28
  reference: { type: null, required: false },
29
29
  asChild: { type: Boolean, required: false },
30
- as: { type: [String, Object, Function], required: false },
30
+ as: { type: null, required: false },
31
31
  disableOutsidePointerEvents: { type: Boolean, required: false },
32
32
  class: { type: null, required: false },
33
33
  size: { type: null, required: false }
@@ -5,30 +5,14 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NComboboxListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  escapeKeyDown: (event: KeyboardEvent) => any;
8
- pointerDownOutside: (event: CustomEvent<{
9
- originalEvent: PointerEvent;
10
- }>) => any;
11
- focusOutside: (event: CustomEvent<{
12
- originalEvent: FocusEvent;
13
- }>) => any;
14
- interactOutside: (event: CustomEvent<{
15
- originalEvent: PointerEvent;
16
- }> | CustomEvent<{
17
- originalEvent: FocusEvent;
18
- }>) => any;
8
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
9
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
10
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
19
11
  }, string, import("vue").PublicProps, Readonly<NComboboxListProps> & Readonly<{
20
12
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
21
- onPointerDownOutside?: ((event: CustomEvent<{
22
- originalEvent: PointerEvent;
23
- }>) => any) | undefined;
24
- onFocusOutside?: ((event: CustomEvent<{
25
- originalEvent: FocusEvent;
26
- }>) => any) | undefined;
27
- onInteractOutside?: ((event: CustomEvent<{
28
- originalEvent: PointerEvent;
29
- }> | CustomEvent<{
30
- originalEvent: FocusEvent;
31
- }>) => any) | undefined;
13
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
14
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
15
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
32
16
  }>, {
33
17
  sideOffset: number;
34
18
  align: "start" | "center" | "end";
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false },
10
10
  size: { type: null, required: false }
11
11
  });
@@ -11,7 +11,7 @@ const props = defineProps({
11
11
  una: { type: Object, required: false },
12
12
  disabled: { type: Boolean, required: false },
13
13
  asChild: { type: Boolean, required: false },
14
- as: { type: [String, Object, Function], required: false },
14
+ as: { type: null, required: false },
15
15
  type: { type: String, required: false },
16
16
  loadingPlacement: { type: String, required: false },
17
17
  icon: { type: Boolean, required: false },
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  nonce: { type: String, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tbody" }
9
+ as: { type: null, required: false, default: "tbody" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "caption" }
9
+ as: { type: null, required: false, default: "caption" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  dataPinned: { type: [String, Boolean], required: false },
8
8
  una: { type: Object, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false, default: "td" }
10
+ as: { type: null, required: false, default: "td" }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["una", "class"]);
13
13
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tfoot" }
9
+ as: { type: null, required: false, default: "tfoot" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  dataPinned: { type: [String, Boolean], required: false },
8
8
  una: { type: Object, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false, default: "th" }
10
+ as: { type: null, required: false, default: "th" }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["una", "class"]);
13
13
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "thead" }
9
+ as: { type: null, required: false, default: "thead" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tr" }
9
+ as: { type: null, required: false, default: "tr" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -2,7 +2,7 @@
2
2
  import { DrawerClose } from "vaul-vue";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false },
5
+ as: { type: null, required: false },
6
6
  type: { type: String, required: false },
7
7
  loadingPlacement: { type: String, required: false },
8
8
  icon: { type: Boolean, required: false },
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  trapFocus: { type: Boolean, required: false },
18
18
  disableOutsidePointerEvents: { type: Boolean, required: false },
19
19
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false },
20
+ as: { type: null, required: false },
21
21
  class: { type: null, required: false }
22
22
  });
23
23
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
@@ -5,32 +5,16 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NDrawerContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  escapeKeyDown: (event: KeyboardEvent) => any;
8
- pointerDownOutside: (event: CustomEvent<{
9
- originalEvent: PointerEvent;
10
- }>) => any;
11
- focusOutside: (event: CustomEvent<{
12
- originalEvent: FocusEvent;
13
- }>) => any;
14
- interactOutside: (event: CustomEvent<{
15
- originalEvent: PointerEvent;
16
- }> | CustomEvent<{
17
- originalEvent: FocusEvent;
18
- }>) => any;
8
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
9
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
10
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
19
11
  openAutoFocus: (event: Event) => any;
20
12
  closeAutoFocus: (event: Event) => any;
21
13
  }, string, import("vue").PublicProps, Readonly<NDrawerContentProps> & Readonly<{
22
14
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
- onPointerDownOutside?: ((event: CustomEvent<{
24
- originalEvent: PointerEvent;
25
- }>) => any) | undefined;
26
- onFocusOutside?: ((event: CustomEvent<{
27
- originalEvent: FocusEvent;
28
- }>) => any) | undefined;
29
- onInteractOutside?: ((event: CustomEvent<{
30
- originalEvent: PointerEvent;
31
- }> | CustomEvent<{
32
- originalEvent: FocusEvent;
33
- }>) => any) | undefined;
15
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
16
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
17
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
34
18
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
35
19
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
36
20
  }>, {
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  class: { type: null, required: false },
8
8
  forceMount: { type: Boolean, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false }
10
+ as: { type: null, required: false }
11
11
  });
12
12
  const delegatedProps = reactiveOmit(props, ["class"]);
13
13
  </script>
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -2,7 +2,7 @@
2
2
  import { DrawerTrigger } from "vaul-vue";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false }
5
+ as: { type: null, required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  rounded: { type: null, required: false },
18
18
  avatar: { type: null, required: false },
19
19
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false, default: "div" },
20
+ as: { type: null, required: false, default: "div" },
21
21
  icon: { type: Boolean, required: false },
22
22
  delayMs: { type: Number, required: false },
23
23
  referrerPolicy: { type: null, required: false },
@@ -10,9 +10,6 @@ type __VLS_Slots = {} & {
10
10
  trailing?: (props: typeof __VLS_37) => any;
11
11
  };
12
12
  declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NButtonProps> & Readonly<{}>, {
13
- type: "button" | "submit" | "reset";
14
- loadingPlacement: "leading" | "trailing" | "label";
15
- size: string;
16
13
  una: {
17
14
  btnDefaultVariant?: string;
18
15
  btn?: string;
@@ -24,6 +21,9 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
24
21
  btnLoadingIcon?: string;
25
22
  };
26
23
  rounded: import("vue").HTMLAttributes["class"];
24
+ size: string;
25
+ type: "button" | "submit" | "reset";
26
+ loadingPlacement: "leading" | "trailing" | "label";
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
29
  export default _default;
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  class: { type: null, required: false },
8
8
  for: { type: String, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false }
10
+ as: { type: null, required: false }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["label", "class"]);
13
13
  </script>
@@ -15,7 +15,7 @@ const props = defineProps({
15
15
  getValueLabel: { type: Function, required: false },
16
16
  getValueText: { type: Function, required: false },
17
17
  asChild: { type: Boolean, required: false },
18
- as: { type: [String, Object, Function], required: false },
18
+ as: { type: null, required: false },
19
19
  class: { type: null, required: false }
20
20
  });
21
21
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  orientation: { type: String, required: false, default: "horizontal" },
11
11
  decorative: { type: Boolean, required: false },
12
12
  asChild: { type: Boolean, required: false },
13
- as: { type: [String, Object, Function], required: false },
13
+ as: { type: null, required: false },
14
14
  class: { type: null, required: false },
15
15
  label: { type: String, required: false }
16
16
  });
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  modelValue: { type: [Boolean, null], required: false },
11
11
  disabled: { type: Boolean, required: false },
12
12
  asChild: { type: Boolean, required: false },
13
- as: { type: [String, Object, Function], required: false },
13
+ as: { type: null, required: false },
14
14
  name: { type: String, required: false },
15
15
  required: { type: Boolean, required: false },
16
16
  type: { type: String, required: false },
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  rounded: { type: null, required: false, default: "full" },
18
18
  avatar: { type: null, required: false, default: "soft" },
19
19
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false, default: "span" },
20
+ as: { type: null, required: false, default: "span" },
21
21
  label: { type: String, required: false },
22
22
  icon: { type: Boolean, required: false },
23
23
  delayMs: { type: Number, required: false },
@@ -6,10 +6,10 @@ type __VLS_Slots = {} & {
6
6
  fallback?: (props: typeof __VLS_14) => any;
7
7
  };
8
8
  declare const __VLS_component: import("vue").DefineComponent<NAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAvatarProps> & Readonly<{}>, {
9
+ as: import("reka-ui").AsTag | import("vue").Component;
10
+ rounded: import("vue").HTMLAttributes["class"];
9
11
  size: import("vue").HTMLAttributes["class"];
10
12
  square: import("vue").HTMLAttributes["class"];
11
- rounded: import("vue").HTMLAttributes["class"];
12
- as: import("reka-ui").AsTag | import("vue").Component;
13
13
  avatar: import("vue").HTMLAttributes["class"];
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  una: { type: Object, required: false },
9
9
  delayMs: { type: Number, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: [String, Object, Function], required: false },
11
+ as: { type: null, required: false },
12
12
  class: { type: null, required: false },
13
13
  size: { type: null, required: false },
14
14
  square: { type: null, required: false },
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  referrerPolicy: { type: null, required: false },
9
9
  crossOrigin: { type: null, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: [String, Object, Function], required: false },
11
+ as: { type: null, required: false },
12
12
  class: { type: null, required: false },
13
13
  size: { type: null, required: false },
14
14
  square: { type: null, required: false },
@@ -9,7 +9,7 @@ const props = defineProps({
9
9
  disabled: { type: Boolean, required: false },
10
10
  unmountOnHide: { type: Boolean, required: false },
11
11
  asChild: { type: Boolean, required: false },
12
- as: { type: [String, Object, Function], required: false }
12
+ as: { type: null, required: false }
13
13
  });
14
14
  const emits = defineEmits(["update:open"]);
15
15
  const forwarded = useForwardPropsEmits(props, emits);
@@ -4,7 +4,7 @@ import { cn } from "../../../utils";
4
4
  const props = defineProps({
5
5
  forceMount: { type: Boolean, required: false },
6
6
  asChild: { type: Boolean, required: false },
7
- as: { type: [String, Object, Function], required: false },
7
+ as: { type: null, required: false },
8
8
  class: { type: null, required: false }
9
9
  });
10
10
  </script>