@una-ui/nuxt 0.64.0 → 0.66.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 (230) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +10 -8
  3. package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +1 -1
  4. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
  5. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +1 -1
  6. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
  7. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
  10. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  11. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  12. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  13. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  14. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +2 -2
  15. package/dist/runtime/components/combobox/Combobox.vue +2 -1
  16. package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
  17. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  21. package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -1
  22. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  23. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  24. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  25. package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
  26. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  27. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  28. package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +1 -1
  29. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  30. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  31. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  32. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  33. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  34. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  35. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  36. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  37. package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
  38. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  39. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  40. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  41. package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
  42. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  43. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  44. package/dist/runtime/components/elements/Alert.vue.d.ts +5 -1
  45. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  46. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -1
  47. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  48. package/dist/runtime/components/elements/Label.vue +1 -1
  49. package/dist/runtime/components/elements/Progress.vue +1 -1
  50. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  51. package/dist/runtime/components/elements/Separator.vue +1 -1
  52. package/dist/runtime/components/elements/Toggle.vue +1 -1
  53. package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
  54. package/dist/runtime/components/elements/accordion/Accordion.vue +86 -0
  55. package/dist/runtime/components/elements/accordion/Accordion.vue.d.ts +71 -0
  56. package/dist/runtime/components/elements/accordion/AccordionContent.vue +24 -0
  57. package/dist/runtime/components/elements/accordion/AccordionContent.vue.d.ts +13 -0
  58. package/dist/runtime/components/elements/accordion/AccordionHeader.vue +17 -0
  59. package/dist/runtime/components/elements/accordion/AccordionHeader.vue.d.ts +13 -0
  60. package/dist/runtime/components/elements/accordion/AccordionItem.vue +59 -0
  61. package/dist/runtime/components/elements/accordion/AccordionItem.vue.d.ts +27 -0
  62. package/dist/runtime/components/elements/accordion/AccordionTrigger.vue +56 -0
  63. package/dist/runtime/components/elements/accordion/AccordionTrigger.vue.d.ts +16 -0
  64. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  65. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  66. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  67. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  68. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  69. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
  70. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  71. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  72. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
  73. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  74. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  75. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  76. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  77. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  78. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  79. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  80. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +4 -4
  81. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
  82. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  83. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  84. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  85. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  86. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  87. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
  88. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  89. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
  90. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  91. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  92. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +5 -2
  93. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  94. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  95. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  96. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  97. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  98. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  99. package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
  100. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  101. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  102. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  103. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  104. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
  105. package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
  106. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  107. package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
  108. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  109. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  110. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  111. package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
  112. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
  113. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  114. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  115. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  116. package/dist/runtime/components/forms/Input.vue.d.ts +15 -3
  117. package/dist/runtime/components/forms/Slider.vue +1 -1
  118. package/dist/runtime/components/forms/Switch.vue +1 -1
  119. package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
  120. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  121. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  122. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
  123. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +3 -3
  124. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
  125. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  126. package/dist/runtime/components/forms/select/Select.vue +2 -18
  127. package/dist/runtime/components/forms/select/Select.vue.d.ts +16 -16
  128. package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
  129. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  130. package/dist/runtime/components/forms/select/SelectItem.vue +1 -3
  131. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +7 -6
  132. package/dist/runtime/components/forms/select/SelectItemIndicator.vue.d.ts +1 -3
  133. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  134. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  135. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  136. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  137. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  138. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  139. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  140. package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
  141. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +1 -1
  142. package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
  143. package/dist/runtime/components/hover-card/HoverCardContent.vue +1 -1
  144. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
  145. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
  146. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +16 -6
  147. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  148. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  149. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  150. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +11 -11
  151. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  152. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
  153. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  154. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  155. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
  156. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +2 -2
  157. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  158. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  159. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  160. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  161. package/dist/runtime/components/number-field/NumberField.vue +1 -1
  162. package/dist/runtime/components/number-field/NumberField.vue.d.ts +1 -1
  163. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
  164. package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +1 -1
  165. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
  166. package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +1 -1
  167. package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
  168. package/dist/runtime/components/overlays/Toaster.vue +1 -0
  169. package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
  170. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  171. package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
  172. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  173. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
  174. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  175. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  176. package/dist/runtime/components/overlays/toast/ToastProvider.vue +1 -0
  177. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  178. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  179. package/dist/runtime/components/pin-input/PinInput.vue +1 -1
  180. package/dist/runtime/components/pin-input/PinInputGroup.vue +1 -1
  181. package/dist/runtime/components/pin-input/PinInputSeparator.vue +1 -1
  182. package/dist/runtime/components/pin-input/PinInputSlot.vue +1 -1
  183. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  184. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  185. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +7 -1
  186. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  187. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +3 -1
  188. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  189. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  190. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  191. package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
  192. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  193. package/dist/runtime/components/sheet/SheetContent.vue +1 -1
  194. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  195. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  196. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  197. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  198. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  199. package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +1 -1
  200. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  201. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  202. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  203. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  204. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  205. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  206. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  207. package/dist/runtime/components/sidebar/SidebarProvider.vue +7 -2
  208. package/dist/runtime/components/sidebar/SidebarProvider.vue.d.ts +1 -1
  209. package/dist/runtime/components/stepper/Stepper.vue +3 -3
  210. package/dist/runtime/components/stepper/Stepper.vue.d.ts +25 -13
  211. package/dist/runtime/components/stepper/StepperDescription.vue +1 -1
  212. package/dist/runtime/components/stepper/StepperDescription.vue.d.ts +1 -1
  213. package/dist/runtime/components/stepper/StepperIndicator.vue +1 -1
  214. package/dist/runtime/components/stepper/StepperIndicator.vue.d.ts +3 -1
  215. package/dist/runtime/components/stepper/StepperItem.vue +1 -1
  216. package/dist/runtime/components/stepper/StepperItem.vue.d.ts +3 -1
  217. package/dist/runtime/components/stepper/StepperSeparator.vue +1 -1
  218. package/dist/runtime/components/stepper/StepperTitle.vue +1 -1
  219. package/dist/runtime/components/stepper/StepperTrigger.vue +1 -1
  220. package/dist/runtime/components/toggle-group/ToggleGroup.vue +1 -1
  221. package/dist/runtime/components/toggle-group/ToggleGroup.vue.d.ts +5 -3
  222. package/dist/runtime/components/toggle-group/ToggleGroupItem.vue +1 -1
  223. package/dist/runtime/components/toggle-group/ToggleGroupItem.vue.d.ts +7 -2
  224. package/dist/runtime/types/accordion.d.ts +36 -91
  225. package/dist/runtime/types/select.d.ts +1 -2
  226. package/dist/runtime/types/sidebar.d.ts +5 -0
  227. package/dist/runtime/utils/index.d.ts +1 -1
  228. package/package.json +18 -18
  229. package/dist/runtime/components/elements/Accordion.vue +0 -212
  230. package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -28
@@ -1,6 +1,6 @@
1
1
  import type { NProgressProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {
3
- modelValue: any;
3
+ modelValue: number | null | undefined;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -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 },
@@ -1,5 +1,5 @@
1
1
  import type { NToggleProps } from '../../types/index.js';
2
- declare var __VLS_7: any, __VLS_8: any;
2
+ declare var __VLS_7: string | number, __VLS_8: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
5
5
  };
@@ -0,0 +1,86 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { defu } from "defu";
4
+ import { AccordionRoot, useForwardPropsEmits } from "reka-ui";
5
+ import { computed } from "vue";
6
+ import { cn } from "../../../utils";
7
+ import NAccordionItem from "./AccordionItem.vue";
8
+ const props = defineProps({
9
+ accordion: { type: String, required: false, default: "divider border" },
10
+ items: { type: Array, required: false },
11
+ una: { type: Object, required: false },
12
+ _accordionItem: { type: Object, required: false },
13
+ _accordionHeader: { type: Object, required: false },
14
+ _accordionTrigger: { type: Object, required: false },
15
+ _accordionContent: { type: Object, required: false },
16
+ collapsible: { type: Boolean, required: false, default: true },
17
+ disabled: { type: Boolean, required: false },
18
+ dir: { type: String, required: false },
19
+ orientation: { type: String, required: false },
20
+ unmountOnHide: { type: Boolean, required: false },
21
+ asChild: { type: Boolean, required: false },
22
+ as: { type: null, required: false },
23
+ type: { type: String, required: false, default: "single" },
24
+ modelValue: { type: null, required: false },
25
+ defaultValue: { type: null, required: false }
26
+ });
27
+ const emits = defineEmits(["update:modelValue"]);
28
+ const rootProps = useForwardPropsEmits(reactiveOmit(props, ["una", "items", "_accordionTrigger", "_accordionContent", "_accordionHeader", "_accordionItem"]), emits);
29
+ const items = computed(() => {
30
+ if (import.meta.dev) {
31
+ const reservedValues = ["header", "trigger", "content", "item", "default"];
32
+ for (const item of props.items ?? []) {
33
+ if (reservedValues.includes(item.value)) {
34
+ console.warn(`[AccordionItem]: The value '${item.value}' is reserved and may cause unexpected behavior. Please choose a different value.`);
35
+ }
36
+ }
37
+ }
38
+ return props.items;
39
+ });
40
+ </script>
41
+
42
+ <template>
43
+ <AccordionRoot
44
+ v-slot="{ modelValue }"
45
+ v-bind="rootProps"
46
+ :class="cn(
47
+ una?.accordion
48
+ )"
49
+ >
50
+ <slot :model-value>
51
+ <NAccordionItem
52
+ v-for="(item, index) in items"
53
+ :key="item.value"
54
+ v-bind="defu(item, _accordionItem)"
55
+ :_accordion-trigger="defu(item._accordionTrigger, _accordionTrigger)"
56
+ :_accordion-content="defu(item._accordionContent, _accordionContent)"
57
+ :_accordion-header="defu(item._accordionHeader, _accordionHeader)"
58
+ :una="defu(item.una, una)"
59
+ >
60
+ <template #default="{ open }">
61
+ <slot :name="`${item.value}-item`" :open :item :index>
62
+ <slot name="item" :open :item :index />
63
+ </slot>
64
+ </template>
65
+
66
+ <template #header="{ open }">
67
+ <slot :name="`${item.value}-header`" :open :item :index>
68
+ <slot name="header" :open :item :index />
69
+ </slot>
70
+ </template>
71
+
72
+ <template #trigger="{ open }">
73
+ <slot :name="`${item.value}-trigger`" :open :item :index>
74
+ <slot name="trigger" :open :item :index />
75
+ </slot>
76
+ </template>
77
+
78
+ <template #content="{ open }">
79
+ <slot :name="`${item.value}-content`" :open :item :index>
80
+ <slot name="content" :open :item :index />
81
+ </slot>
82
+ </template>
83
+ </NAccordionItem>
84
+ </slot>
85
+ </AccordionRoot>
86
+ </template>
@@ -0,0 +1,71 @@
1
+ import type { NAccordionProps } from '../../../types/index.js';
2
+ declare var __VLS_6: {
3
+ modelValue: import("reka-ui").AcceptableValue | import("reka-ui").AcceptableValue[] | undefined;
4
+ }, __VLS_12: `${string}-item`, __VLS_13: {
5
+ open: boolean;
6
+ item: import("../../../types/index.js").NAccordionItemProps;
7
+ index: number;
8
+ }, __VLS_15: {
9
+ open: boolean;
10
+ item: import("../../../types/index.js").NAccordionItemProps;
11
+ index: number;
12
+ }, __VLS_18: `${string}-header`, __VLS_19: {
13
+ open: boolean;
14
+ item: import("../../../types/index.js").NAccordionItemProps;
15
+ index: number;
16
+ }, __VLS_21: {
17
+ open: boolean;
18
+ item: import("../../../types/index.js").NAccordionItemProps;
19
+ index: number;
20
+ }, __VLS_24: `${string}-trigger`, __VLS_25: {
21
+ open: boolean;
22
+ item: import("../../../types/index.js").NAccordionItemProps;
23
+ index: number;
24
+ }, __VLS_27: {
25
+ open: boolean;
26
+ item: import("../../../types/index.js").NAccordionItemProps;
27
+ index: number;
28
+ }, __VLS_30: `${string}-content`, __VLS_31: {
29
+ open: boolean;
30
+ item: import("../../../types/index.js").NAccordionItemProps;
31
+ index: number;
32
+ }, __VLS_33: {
33
+ open: boolean;
34
+ item: import("../../../types/index.js").NAccordionItemProps;
35
+ index: number;
36
+ };
37
+ type __VLS_Slots = {} & {
38
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
39
+ } & {
40
+ [K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
41
+ } & {
42
+ [K in NonNullable<typeof __VLS_24>]?: (props: typeof __VLS_25) => any;
43
+ } & {
44
+ [K in NonNullable<typeof __VLS_30>]?: (props: typeof __VLS_31) => any;
45
+ } & {
46
+ default?: (props: typeof __VLS_6) => any;
47
+ } & {
48
+ item?: (props: typeof __VLS_15) => any;
49
+ } & {
50
+ header?: (props: typeof __VLS_21) => any;
51
+ } & {
52
+ trigger?: (props: typeof __VLS_27) => any;
53
+ } & {
54
+ content?: (props: typeof __VLS_33) => any;
55
+ };
56
+ declare const __VLS_component: import("vue").DefineComponent<NAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ "update:modelValue": (value: string | string[] | undefined) => any;
58
+ }, string, import("vue").PublicProps, Readonly<NAccordionProps> & Readonly<{
59
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
60
+ }>, {
61
+ type: "multiple" | "single";
62
+ accordion: string;
63
+ collapsible: boolean;
64
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
65
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
66
+ export default _default;
67
+ type __VLS_WithSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -0,0 +1,24 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { AccordionContent, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../../utils";
5
+ const props = defineProps({
6
+ una: { type: Object, required: false },
7
+ forceMount: { type: Boolean, required: false },
8
+ asChild: { type: Boolean, required: false },
9
+ as: { type: null, required: false }
10
+ });
11
+ const forwardProps = useForwardProps(reactiveOmit(props, ["una"]));
12
+ </script>
13
+
14
+ <template>
15
+ <AccordionContent v-bind="forwardProps" :class="cn('accordion-content group/accordion-content', una?.accordionContent)">
16
+ <div :class="cn('accordion-panel', una?.accordionPanel)">
17
+ <slot />
18
+ </div>
19
+ </AccordionContent>
20
+ </template>
21
+
22
+ <style scoped>
23
+ .accordion-content[data-state=open]{animation:accordionIn .3s cubic-bezier(.86,0,.07,1)}.accordion-content[data-state=closed]{animation:accordionOut .3s cubic-bezier(.86,0,.07,1)}@keyframes accordionIn{0%{height:0}to{height:var(--reka-accordion-content-height)}}@keyframes accordionOut{0%{height:var(--reka-accordion-content-height)}to{height:0}}
24
+ </style>
@@ -0,0 +1,13 @@
1
+ import type { NAccordionContentProps } from '../../../types/accordion.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<NAccordionContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,17 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { AccordionHeader, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../../utils";
5
+ const props = defineProps({
6
+ una: { type: Object, required: false },
7
+ asChild: { type: Boolean, required: false },
8
+ as: { type: null, required: false }
9
+ });
10
+ const forwardProps = useForwardProps(reactiveOmit(props, ["una"]));
11
+ </script>
12
+
13
+ <template>
14
+ <AccordionHeader v-bind="forwardProps" :class="cn('accordion-header', una?.accordionHeader)">
15
+ <slot />
16
+ </AccordionHeader>
17
+ </template>
@@ -0,0 +1,13 @@
1
+ import type { NAccordionHeaderProps } from '../../../types/accordion.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<NAccordionHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAccordionHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,59 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { AccordionItem, Primitive, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../../utils";
5
+ import NAccordionContent from "./AccordionContent.vue";
6
+ import NAccordionHeader from "./AccordionHeader.vue";
7
+ import NAccordionTrigger from "./AccordionTrigger.vue";
8
+ const props = defineProps({
9
+ label: { type: String, required: false },
10
+ content: { type: String, required: false },
11
+ una: { type: Object, required: false },
12
+ _accordionHeader: { type: Object, required: false },
13
+ _accordionTrigger: { type: Object, required: false },
14
+ _accordionContent: { type: Object, required: false },
15
+ disabled: { type: Boolean, required: false },
16
+ value: { type: String, required: true },
17
+ unmountOnHide: { type: Boolean, required: false },
18
+ asChild: { type: Boolean, required: false },
19
+ as: { type: null, required: false }
20
+ });
21
+ const forwardProps = useForwardProps(reactiveOmit(props, ["una", "label", "content", "_accordionContent", "_accordionHeader", "_accordionTrigger"]));
22
+ </script>
23
+
24
+ <template>
25
+ <AccordionItem
26
+ v-slot="{ open }"
27
+ v-bind="forwardProps"
28
+ :class="cn('accordion-item', una?.accordionItem)"
29
+ >
30
+ <slot :open>
31
+ <NAccordionHeader :una v-bind="_accordionHeader">
32
+ <Primitive
33
+ as-child
34
+ :label
35
+ v-bind="_accordionTrigger"
36
+ :una="{
37
+ btnLeading: cn('accordion-leading', una?.accordionLeading),
38
+ btnTrailing: cn(
39
+ 'accordion-trailing',
40
+ una?.accordionTrailing,
41
+ open ? una?.accordionTrailingOpen : una?.accordionTrailingClose
42
+ )
43
+ }"
44
+ >
45
+ <slot name="header" :open>
46
+ <NAccordionTrigger>
47
+ <slot name="trigger" :open />
48
+ </NAccordionTrigger>
49
+ </slot>
50
+ </Primitive>
51
+ </NAccordionHeader>
52
+ <NAccordionContent :una v-bind="_accordionContent">
53
+ <slot name="content" :open>
54
+ {{ content }}
55
+ </slot>
56
+ </NAccordionContent>
57
+ </slot>
58
+ </AccordionItem>
59
+ </template>
@@ -0,0 +1,27 @@
1
+ import type { NAccordionItemProps } from '../../../types/accordion.js';
2
+ declare var __VLS_6: {
3
+ open: boolean;
4
+ }, __VLS_15: {
5
+ open: boolean;
6
+ }, __VLS_20: {
7
+ open: boolean;
8
+ }, __VLS_25: {
9
+ open: boolean;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_6) => any;
13
+ } & {
14
+ header?: (props: typeof __VLS_15) => any;
15
+ } & {
16
+ trigger?: (props: typeof __VLS_20) => any;
17
+ } & {
18
+ content?: (props: typeof __VLS_25) => any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<NAccordionItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,56 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { AccordionTrigger, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../../utils";
5
+ const props = defineProps({
6
+ una: { type: Object, required: false },
7
+ asChild: { type: Boolean, required: false },
8
+ as: { type: null, required: false },
9
+ type: { type: String, required: false },
10
+ loadingPlacement: { type: String, required: false },
11
+ icon: { type: Boolean, required: false },
12
+ disabled: { type: Boolean, required: false },
13
+ reverse: { type: Boolean, required: false },
14
+ loading: { type: Boolean, required: false },
15
+ block: { type: Boolean, required: false },
16
+ to: { type: null, required: false },
17
+ label: { type: String, required: false },
18
+ btn: { type: String, required: false, default: "~ text" },
19
+ leading: { type: String, required: false },
20
+ trailing: { type: String, required: false, default: "accordion-trailing-icon" },
21
+ size: { type: String, required: false },
22
+ square: { type: null, required: false },
23
+ rounded: { type: null, required: false },
24
+ class: { type: null, required: false },
25
+ breadcrumbActive: { type: String, required: false },
26
+ breadcrumbInactive: { type: String, required: false },
27
+ paginationSelected: { type: String, required: false },
28
+ paginationUnselected: { type: String, required: false },
29
+ dropdownMenu: { type: String, required: false },
30
+ toggleOn: { type: String, required: false },
31
+ toggleOff: { type: String, required: false },
32
+ tabsActive: { type: String, required: false },
33
+ tabsInactive: { type: String, required: false },
34
+ navigationMenu: { type: String, required: false },
35
+ navigationMenuLink: { type: String, required: false },
36
+ ariaLabel: { type: String, required: false }
37
+ });
38
+ const forwardProps = useForwardProps(reactiveOmit(props, ["una"]));
39
+ </script>
40
+
41
+ <template>
42
+ <AccordionTrigger
43
+ class="group/accordion-trigger accordion-trigger"
44
+ v-bind="forwardProps"
45
+ as-child
46
+ :una="{
47
+ ...una,
48
+ btn: cn('accordion-trigger-padding', una?.btn),
49
+ btnLabel: cn('accordion-trigger-label', una?.btnLabel)
50
+ }"
51
+ >
52
+ <slot>
53
+ <NButton />
54
+ </slot>
55
+ </AccordionTrigger>
56
+ </template>
@@ -0,0 +1,16 @@
1
+ import type { NAccordionTriggerProps } from '../../../types/accordion.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<NAccordionTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAccordionTriggerProps> & Readonly<{}>, {
7
+ btn: string;
8
+ trailing: string;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -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"];
11
9
  size: import("vue").HTMLAttributes["class"];
10
+ as: import("reka-ui").AsTag | import("vue").Component;
12
11
  square: import("vue").HTMLAttributes["class"];
12
+ rounded: import("vue").HTMLAttributes["class"];
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);
@@ -1,8 +1,8 @@
1
1
  import type { NCollapsibleProps } from '../../../types/index.js';
2
2
  declare var __VLS_6: {
3
- open: any;
3
+ open: boolean;
4
4
  }, __VLS_11: {
5
- open: any;
5
+ open: boolean;
6
6
  }, __VLS_16: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_6) => any;
@@ -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>
@@ -2,7 +2,7 @@
2
2
  import { CollapsibleTrigger } 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
 
@@ -1,6 +1,6 @@
1
1
  import type { NDialogProps } from '../../../types/index.js';
2
2
  declare var __VLS_10: {
3
- open: any;
3
+ open: boolean;
4
4
  }, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_43: {}, __VLS_48: {};
5
5
  type __VLS_Slots = {} & {
6
6
  trigger?: (props: typeof __VLS_10) => any;
@@ -3,7 +3,7 @@ import { DialogClose } from "reka-ui";
3
3
  import Button from "../Button.vue";
4
4
  const props = defineProps({
5
5
  asChild: { type: Boolean, required: false },
6
- as: { type: [String, Object, Function], required: false },
6
+ as: { type: null, required: false },
7
7
  type: { type: String, required: false },
8
8
  loadingPlacement: { type: String, required: false },
9
9
  icon: { type: Boolean, required: false, default: true },
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NDialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NDialogCloseProps> & Readonly<{}>, {
7
- label: string;
8
7
  icon: boolean;
8
+ label: string;
9
9
  btn: string;
10
10
  square: import("vue").HTMLAttributes["class"];
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -22,7 +22,7 @@ const props = defineProps({
22
22
  forceMount: { 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,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");
@@ -22,7 +22,7 @@ const props = defineProps({
22
22
  forceMount: { 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,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");
@@ -60,7 +60,7 @@ const props = defineProps({
60
60
  navigationMenuLink: { type: String, required: false },
61
61
  ariaLabel: { type: String, required: false },
62
62
  asChild: { type: Boolean, required: false },
63
- as: { type: [String, Object, Function], required: false },
63
+ as: { type: null, required: false },
64
64
  dropdownMenuItem: { type: null, required: false },
65
65
  shortcut: { type: String, required: false },
66
66
  onSelect: { type: Function, required: false },
@@ -1,10 +1,10 @@
1
1
  import type { NDropdownMenuProps } from '../../../types/index.js';
2
2
  declare var __VLS_7: {}, __VLS_12: {}, __VLS_17: {}, __VLS_22: {
3
- items: any;
3
+ items: NDropdownMenuProps[] | undefined;
4
4
  }, __VLS_27: {
5
- items: any;
6
- }, __VLS_30: any, __VLS_31: {}, __VLS_62: {
7
- label: any;
5
+ items: NDropdownMenuProps[] | undefined;
6
+ }, __VLS_30: `item-${string}`, __VLS_31: {}, __VLS_62: {
7
+ label: string | undefined;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
10
  [K in NonNullable<typeof __VLS_30>]?: (props: typeof __VLS_31) => any;
@@ -35,7 +35,7 @@ const props = defineProps({
35
35
  prioritizePosition: { type: Boolean, required: false },
36
36
  reference: { type: null, required: false },
37
37
  asChild: { type: Boolean, required: false },
38
- as: { type: [String, Object, Function], required: false }
38
+ as: { type: null, required: false }
39
39
  });
40
40
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"]);
41
41
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  size: { 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
  });
11
11
  </script>
12
12
 
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  disabled: { type: Boolean, required: false },
18
18
  textValue: { type: String, 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
  type: { type: String, required: false },
22
22
  loadingPlacement: { type: String, required: false },
23
23
  icon: { type: Boolean, required: false },