@una-ui/nuxt 0.56.5 → 0.57.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 (182) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  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 +1 -1
  16. package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
  17. package/dist/runtime/components/combobox/ComboboxAnchor.vue +3 -6
  18. package/dist/runtime/components/combobox/ComboboxEmpty.vue +3 -6
  19. package/dist/runtime/components/combobox/ComboboxGroup.vue +3 -6
  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 +3 -6
  23. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +3 -6
  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 +3 -6
  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 +3 -6
  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/TableEmpty.vue +2 -5
  34. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  35. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  36. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  37. package/dist/runtime/components/data/table/TableLoading.vue +2 -5
  38. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  39. package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
  40. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  41. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  42. package/dist/runtime/components/drawer/DrawerDescription.vue +3 -6
  43. package/dist/runtime/components/drawer/DrawerOverlay.vue +3 -6
  44. package/dist/runtime/components/drawer/DrawerTitle.vue +3 -6
  45. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  46. package/dist/runtime/components/elements/Accordion.vue.d.ts +3 -3
  47. package/dist/runtime/components/elements/Alert.vue.d.ts +1 -5
  48. package/dist/runtime/components/elements/AvatarGroup.vue +3 -2
  49. package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
  50. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  51. package/dist/runtime/components/elements/Label.vue +1 -1
  52. package/dist/runtime/components/elements/Progress.vue +4 -6
  53. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  54. package/dist/runtime/components/elements/Separator.vue +5 -8
  55. package/dist/runtime/components/elements/Toggle.vue +3 -6
  56. package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
  57. package/dist/runtime/components/elements/avatar/Avatar.vue +3 -2
  58. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  59. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  60. package/dist/runtime/components/elements/avatar/AvatarImage.vue +2 -1
  61. package/dist/runtime/components/elements/card/Card.vue +2 -5
  62. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  63. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
  64. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  65. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  66. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
  67. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  68. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  69. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  70. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  71. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  72. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  73. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  74. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +4 -4
  75. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +3 -6
  76. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  77. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +3 -6
  78. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  79. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +3 -6
  80. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +3 -6
  81. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +3 -6
  82. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +3 -6
  83. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
  84. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  85. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  86. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +2 -5
  87. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +3 -6
  88. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +3 -6
  89. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  90. package/dist/runtime/components/elements/pagination/PaginationLast.vue +3 -6
  91. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  92. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +3 -5
  93. package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
  94. package/dist/runtime/components/elements/pagination/PaginationNext.vue +3 -6
  95. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  96. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +3 -6
  97. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  98. package/dist/runtime/components/elements/popover/Popover.vue +2 -5
  99. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
  100. package/dist/runtime/components/elements/popover/PopoverContent.vue +3 -6
  101. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  102. package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
  103. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  104. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  105. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  106. package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
  107. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +3 -6
  108. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  109. package/dist/runtime/components/forms/Checkbox.vue +2 -2
  110. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  111. package/dist/runtime/components/forms/Input.vue.d.ts +2 -10
  112. package/dist/runtime/components/forms/Slider.vue +1 -1
  113. package/dist/runtime/components/forms/Switch.vue +1 -1
  114. package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
  115. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  116. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  117. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +3 -3
  118. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +4 -4
  119. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +2 -2
  120. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  121. package/dist/runtime/components/forms/select/Select.vue.d.ts +17 -17
  122. package/dist/runtime/components/forms/select/SelectContent.vue +3 -6
  123. package/dist/runtime/components/forms/select/SelectGroup.vue +3 -6
  124. package/dist/runtime/components/forms/select/SelectItem.vue +3 -6
  125. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
  126. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  127. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  128. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +3 -6
  129. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +3 -6
  130. package/dist/runtime/components/forms/select/SelectSeparator.vue +3 -6
  131. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  132. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  133. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
  134. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
  135. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  136. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  137. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  138. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +11 -11
  139. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  140. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
  141. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  142. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  143. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
  144. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +2 -2
  145. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +3 -6
  146. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  147. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  148. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  149. package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
  150. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  151. package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
  152. package/dist/runtime/components/overlays/toast/ToastAction.vue +3 -6
  153. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
  154. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  155. package/dist/runtime/components/overlays/toast/ToastDescription.vue +3 -6
  156. package/dist/runtime/components/overlays/toast/ToastTitle.vue +3 -6
  157. package/dist/runtime/components/overlays/toast/ToastViewport.vue +3 -6
  158. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  159. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  160. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +1 -4
  161. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  162. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +1 -3
  163. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  164. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  165. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  166. package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
  167. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  168. package/dist/runtime/components/sheet/SheetContent.vue +1 -1
  169. package/dist/runtime/components/sheet/SheetDescription.vue +3 -6
  170. package/dist/runtime/components/sheet/SheetTitle.vue +3 -6
  171. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  172. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  173. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  174. package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +1 -1
  175. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  176. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  177. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  178. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  179. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  180. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  181. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  182. package/package.json +8 -8
@@ -1,18 +1,15 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { DrawerOverlay } from "vaul-vue";
3
- import { computed } from "vue";
4
4
  import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  class: { type: null, required: false },
8
8
  forceMount: { type: Boolean, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: null, required: false }
11
- });
12
- const delegatedProps = computed(() => {
13
- const { class: _, ...delegated } = props;
14
- return delegated;
10
+ as: { type: [String, Object, Function], required: false }
15
11
  });
12
+ const delegatedProps = reactiveOmit(props, ["class"]);
16
13
  </script>
17
14
 
18
15
  <template>
@@ -1,17 +1,14 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { DrawerTitle } from "vaul-vue";
3
- import { computed } from "vue";
4
4
  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: null, required: false },
8
+ as: { type: [String, Object, Function], required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
- const delegatedProps = computed(() => {
12
- const { class: _, ...delegated } = props;
13
- return delegated;
14
- });
11
+ const delegatedProps = reactiveOmit(props, ["class"]);
15
12
  </script>
16
13
 
17
14
  <template>
@@ -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: null, required: false }
5
+ as: { type: [String, Object, Function], required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -1,12 +1,12 @@
1
- import type { NAccordionItemProps, NAccordionProps } from '../../types/index.js';
1
+ import type { NAccordionProps } from '../../types/index.js';
2
2
  declare var __VLS_6: any, __VLS_7: {
3
3
  item: any;
4
4
  index: any;
5
5
  open: any;
6
6
  close: any;
7
7
  }, __VLS_21: {
8
- item: NAccordionItemProps;
9
- index: number;
8
+ item: any;
9
+ index: any;
10
10
  open: any;
11
11
  close: any;
12
12
  };
@@ -6,11 +6,7 @@ type __VLS_Slots = {
6
6
  icon?: any;
7
7
  closeIcon?: any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- close: (...args: any[]) => void;
11
- }, string, import("vue").PublicProps, Readonly<NAlertProps> & Readonly<{
12
- onClose?: ((...args: any[]) => any) | undefined;
13
- }>, {
9
+ declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
14
10
  icon: string | boolean;
15
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -17,10 +17,11 @@ 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: null, required: false, default: "div" },
20
+ as: { type: [String, Object, Function], required: false, default: "div" },
21
21
  icon: { type: Boolean, required: false },
22
22
  delayMs: { type: Number, required: false },
23
- referrerPolicy: { type: null, required: false }
23
+ referrerPolicy: { type: null, required: false },
24
+ crossOrigin: { type: null, required: false }
24
25
  });
25
26
  const slots = defineSlots();
26
27
  const max = computed(() => typeof props.max === "string" ? Number.parseInt(props.max, 10) : props.max);
@@ -3,11 +3,7 @@ declare var __VLS_4: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_4) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- close: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<NBadgeProps> & Readonly<{
9
- onClose?: ((...args: any[]) => any) | undefined;
10
- }>, {
6
+ declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
11
7
  una: {
12
8
  badgeDefaultVariant?: string;
13
9
  badge?: string;
@@ -10,6 +10,9 @@ 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;
13
16
  una: {
14
17
  btnDefaultVariant?: string;
15
18
  btn?: string;
@@ -21,9 +24,6 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
21
24
  btnLoadingIcon?: string;
22
25
  };
23
26
  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: null, required: false }
10
+ as: { type: [String, Object, Function], required: false }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["label", "class"]);
13
13
  </script>
@@ -1,9 +1,9 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import {
3
4
  ProgressIndicator,
4
5
  ProgressRoot
5
6
  } from "reka-ui";
6
- import { computed } from "vue";
7
7
  import { cn } from "../../utils";
8
8
  const props = defineProps({
9
9
  progress: { type: null, required: false, default: "primary" },
@@ -13,14 +13,12 @@ const props = defineProps({
13
13
  modelValue: { type: [Number, null], required: false },
14
14
  max: { type: Number, required: false },
15
15
  getValueLabel: { type: Function, required: false },
16
+ getValueText: { type: Function, required: false },
16
17
  asChild: { type: Boolean, required: false },
17
- as: { type: null, required: false },
18
+ as: { type: [String, Object, Function], required: false },
18
19
  class: { type: null, required: false }
19
20
  });
20
- const delegatedProps = computed(() => {
21
- const { class: _, ...delegated } = props;
22
- return delegated;
23
- });
21
+ const delegatedProps = reactiveOmit(props, ["class"]);
24
22
  </script>
25
23
 
26
24
  <template>
@@ -1,6 +1,6 @@
1
1
  import type { NProgressProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {
3
- modelValue: number | null | undefined;
3
+ modelValue: any;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { Separator } from "reka-ui";
3
- import { computed } from "vue";
4
- import { cn, omitProps } from "../../utils";
4
+ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  separator: { type: null, required: false },
7
7
  separatorPosition: { type: null, required: false },
@@ -10,19 +10,16 @@ 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: null, required: false },
13
+ as: { type: [String, Object, Function], required: false },
14
14
  class: { type: null, required: false },
15
15
  label: { type: String, required: false }
16
16
  });
17
- const delegatedProps = computed(() => {
18
- const { class: _, ...delegated } = omitProps(props, ["una"]);
19
- return delegated;
20
- });
17
+ const delegatedProps = reactiveOmit(props, ["una", "separatorPosition"]);
21
18
  </script>
22
19
 
23
20
  <template>
24
21
  <Separator
25
- v-bind="omitProps(delegatedProps, ['una', 'separatorPosition'])"
22
+ v-bind="delegatedProps"
26
23
  :class="
27
24
  cn(
28
25
  'separator',
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { Toggle, useForwardPropsEmits } from "reka-ui";
3
- import { computed } from "vue";
4
4
  import { cn } from "../../utils";
5
5
  import Button from "./Button.vue";
6
6
  const props = defineProps({
@@ -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: null, required: false },
13
+ as: { type: [String, Object, Function], required: false },
14
14
  name: { type: String, required: false },
15
15
  required: { type: Boolean, required: false },
16
16
  type: { type: String, required: false },
@@ -41,10 +41,7 @@ const props = defineProps({
41
41
  ariaLabel: { type: String, required: false }
42
42
  });
43
43
  const emits = defineEmits(["update:modelValue"]);
44
- const delegatedProps = computed(() => {
45
- const { class: _, ...delegated } = props;
46
- return delegated;
47
- });
44
+ const delegatedProps = reactiveOmit(props, ["class"]);
48
45
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
49
46
  </script>
50
47
 
@@ -1,5 +1,5 @@
1
1
  import type { NToggleProps } from '../../types/index.js';
2
- declare var __VLS_7: string | number, __VLS_8: any;
2
+ declare var __VLS_7: any, __VLS_8: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
5
5
  };
@@ -17,13 +17,14 @@ 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: null, required: false, default: "span" },
20
+ as: { type: [String, Object, Function], 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 },
24
24
  src: { type: String, required: false },
25
25
  alt: { type: String, required: false },
26
- referrerPolicy: { type: null, required: false }
26
+ referrerPolicy: { type: null, required: false },
27
+ crossOrigin: { type: null, required: false }
27
28
  });
28
29
  </script>
29
30
 
@@ -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"];
12
10
  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: null, required: false },
11
+ as: { type: [String, Object, Function], required: false },
12
12
  class: { type: null, required: false },
13
13
  size: { type: null, required: false },
14
14
  square: { type: null, required: false },
@@ -6,8 +6,9 @@ const props = defineProps({
6
6
  alt: { type: String, required: false },
7
7
  una: { type: Object, required: false },
8
8
  referrerPolicy: { type: null, required: false },
9
+ crossOrigin: { type: null, required: false },
9
10
  asChild: { type: Boolean, required: false },
10
- as: { type: null, required: false },
11
+ as: { type: [String, Object, Function], required: false },
11
12
  class: { type: null, required: false },
12
13
  size: { type: null, required: false },
13
14
  square: { type: null, required: false },
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { computed } from "vue";
2
+ import { reactiveOmit } from "@vueuse/core";
3
3
  import { cn } from "../../../utils";
4
4
  import CardContent from "./CardContent.vue";
5
5
  import CardDescription from "./CardDescription.vue";
@@ -21,10 +21,7 @@ const props = defineProps({
21
21
  una: { type: Object, required: false },
22
22
  class: { type: null, required: false }
23
23
  });
24
- const delegatedProps = computed(() => {
25
- const { class: _, ...delegated } = props;
26
- return delegated;
27
- });
24
+ const delegatedProps = reactiveOmit(props, ["class"]);
28
25
  </script>
29
26
 
30
27
  <template>
@@ -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: null, required: false }
12
+ as: { type: [String, Object, Function], 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: boolean;
3
+ open: any;
4
4
  }, __VLS_11: {
5
- open: boolean;
5
+ open: any;
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: null, required: false },
7
+ as: { type: [String, Object, Function], 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: null, required: false }
5
+ as: { type: [String, Object, Function], 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: boolean;
3
+ open: any;
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: null, required: false },
6
+ as: { type: [String, Object, Function], 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>;
@@ -23,7 +23,7 @@ const props = defineProps({
23
23
  trapFocus: { type: Boolean, required: false },
24
24
  disableOutsidePointerEvents: { type: Boolean, required: false },
25
25
  asChild: { type: Boolean, required: false },
26
- as: { type: null, required: false },
26
+ as: { type: [String, Object, Function], required: false },
27
27
  class: { type: null, required: false }
28
28
  });
29
29
  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: null, required: false },
8
+ as: { type: [String, Object, Function], required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, "class", "una");
@@ -23,7 +23,7 @@ const props = defineProps({
23
23
  trapFocus: { type: Boolean, required: false },
24
24
  disableOutsidePointerEvents: { type: Boolean, required: false },
25
25
  asChild: { type: Boolean, required: false },
26
- as: { type: null, required: false },
26
+ as: { type: [String, Object, Function], required: false },
27
27
  class: { type: null, required: false }
28
28
  });
29
29
  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: null, required: false },
8
+ as: { type: [String, Object, Function], 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: null, required: false },
63
+ as: { type: [String, Object, Function], 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: NDropdownMenuProps[] | undefined;
3
+ items: any;
4
4
  }, __VLS_27: {
5
- items: NDropdownMenuProps[] | undefined;
6
- }, __VLS_30: `item-${string}`, __VLS_31: {}, __VLS_62: {
7
- label: string | undefined;
5
+ items: any;
6
+ }, __VLS_30: any, __VLS_31: {}, __VLS_62: {
7
+ label: any;
8
8
  };
9
9
  type __VLS_Slots = {} & {
10
10
  [K in NonNullable<typeof __VLS_30>]?: (props: typeof __VLS_31) => any;
@@ -1,10 +1,10 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import {
3
4
  DropdownMenuContent,
4
5
  DropdownMenuPortal,
5
6
  useForwardPropsEmits
6
7
  } from "reka-ui";
7
- import { computed } from "vue";
8
8
  import { cn } from "../../../utils";
9
9
  const props = defineProps({
10
10
  onCloseAutoFocus: { type: Function, required: false },
@@ -33,13 +33,10 @@ const props = defineProps({
33
33
  prioritizePosition: { type: Boolean, required: false },
34
34
  reference: { type: null, required: false },
35
35
  asChild: { type: Boolean, required: false },
36
- as: { type: null, required: false }
36
+ as: { type: [String, Object, Function], required: false }
37
37
  });
38
38
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"]);
39
- const delegatedProps = computed(() => {
40
- const { class: _, ...delegated } = props;
41
- return delegated;
42
- });
39
+ const delegatedProps = reactiveOmit(props, ["class"]);
43
40
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
44
41
  </script>
45
42
 
@@ -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: null, required: false }
9
+ as: { type: [String, Object, Function], required: false }
10
10
  });
11
11
  </script>
12
12
 
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { DropdownMenuItem, useForwardProps } from "reka-ui";
3
- import { computed } from "vue";
4
4
  import { cn } from "../../../utils";
5
5
  import Button from "../Button.vue";
6
6
  import DropdownMenuShortcut from "./DropdownMenuShortcut.vue";
@@ -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: null, required: false },
20
+ as: { type: [String, Object, Function], required: false },
21
21
  type: { type: String, required: false },
22
22
  loadingPlacement: { type: String, required: false },
23
23
  icon: { type: Boolean, required: false },
@@ -47,10 +47,7 @@ const props = defineProps({
47
47
  ariaLabel: { type: String, required: false }
48
48
  });
49
49
  const slots = defineSlots();
50
- const delegatedProps = computed(() => {
51
- const { class: _, ...delegated } = props;
52
- return delegated;
53
- });
50
+ const delegatedProps = reactiveOmit(props, ["class"]);
54
51
  const forwardedProps = useForwardProps(delegatedProps);
55
52
  </script>
56
53
 
@@ -1,8 +1,8 @@
1
1
  import type { NDropdownMenuItemProps } from '../../../types/index.js';
2
2
  type __VLS_Slots = any;
3
3
  declare const __VLS_component: import("vue").DefineComponent<NDropdownMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NDropdownMenuItemProps> & Readonly<{}>, {
4
- rounded: import("vue").HTMLAttributes["class"];
5
4
  size: string;
5
+ rounded: import("vue").HTMLAttributes["class"];
6
6
  dropdownMenuItem: import("vue").HTMLAttributes["class"];
7
7
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import { DropdownMenuLabel, useForwardProps } from "reka-ui";
3
- import { computed } from "vue";
4
4
  import { cn } from "../../../utils";
5
5
  const props = defineProps({
6
6
  inset: { type: Boolean, required: false },
@@ -8,12 +8,9 @@ const props = defineProps({
8
8
  una: { type: Object, required: false },
9
9
  class: { type: null, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: null, required: false }
12
- });
13
- const delegatedProps = computed(() => {
14
- const { class: _, ...delegated } = props;
15
- return delegated;
11
+ as: { type: [String, Object, Function], required: false }
16
12
  });
13
+ const delegatedProps = reactiveOmit(props, ["class"]);
17
14
  const forwardedProps = useForwardProps(delegatedProps);
18
15
  </script>
19
16
 
@@ -1,14 +1,14 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import {
3
4
  DropdownMenuSeparator
4
5
  } from "reka-ui";
5
- import { computed } from "vue";
6
6
  import { cn } from "../../../utils";
7
7
  import Separator from "../Separator.vue";
8
8
  const props = defineProps({
9
9
  una: { type: Object, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: null, required: false },
11
+ as: { type: [String, Object, Function], required: false },
12
12
  separator: { type: null, required: false },
13
13
  separatorPosition: { type: null, required: false },
14
14
  size: { type: null, required: false },
@@ -17,10 +17,7 @@ const props = defineProps({
17
17
  class: { type: null, required: false },
18
18
  label: { type: String, required: false }
19
19
  });
20
- const delegatedProps = computed(() => {
21
- const { class: _, ...delegated } = props;
22
- return delegated;
23
- });
20
+ const delegatedProps = reactiveOmit(props, ["class"]);
24
21
  </script>
25
22
 
26
23
  <template>
@@ -1,9 +1,9 @@
1
1
  <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
2
3
  import {
3
4
  DropdownMenuSubContent,
4
5
  useForwardPropsEmits
5
6
  } from "reka-ui";
6
- import { computed } from "vue";
7
7
  import { cn } from "../../../utils";
8
8
  const props = defineProps({
9
9
  una: { type: Object, required: false },
@@ -25,13 +25,10 @@ const props = defineProps({
25
25
  prioritizePosition: { type: Boolean, required: false },
26
26
  reference: { type: null, required: false },
27
27
  asChild: { type: Boolean, required: false },
28
- as: { type: null, required: false }
28
+ as: { type: [String, Object, Function], required: false }
29
29
  });
30
30
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"]);
31
- const delegatedProps = computed(() => {
32
- const { class: _, ...delegated } = props;
33
- return delegated;
34
- });
31
+ const delegatedProps = reactiveOmit(props, ["class"]);
35
32
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
36
33
  </script>
37
34