@una-ui/nuxt 1.0.0-alpha.6 → 1.0.0-alpha.8

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 (147) 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/AlertDialogDescription.vue +1 -1
  7. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  10. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  11. package/dist/runtime/components/combobox/Combobox.vue +2 -3
  12. package/dist/runtime/components/combobox/Combobox.vue.d.ts +8 -8
  13. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  14. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  15. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  16. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  17. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxList.vue +2 -1
  21. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  22. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  23. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  24. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  25. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  26. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  27. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  28. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  29. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  30. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  31. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  32. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  33. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  34. package/dist/runtime/components/drawer/DrawerOverlay.vue +2 -1
  35. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  36. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  37. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  38. package/dist/runtime/components/elements/Label.vue +1 -1
  39. package/dist/runtime/components/elements/Progress.vue +1 -1
  40. package/dist/runtime/components/elements/Separator.vue +1 -1
  41. package/dist/runtime/components/elements/Toggle.vue +1 -1
  42. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  43. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  44. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  45. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  46. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +2 -1
  47. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  48. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  49. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  50. package/dist/runtime/components/elements/dialog/DialogDescription.vue +3 -2
  51. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  52. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  53. package/dist/runtime/components/elements/dialog/DialogTrigger.vue +1 -1
  54. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  55. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +2 -2
  56. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  57. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  58. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  59. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  60. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +2 -2
  61. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  62. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  63. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  64. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  65. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  66. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  67. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  68. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  69. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  70. package/dist/runtime/components/elements/popover/PopoverContent.vue +2 -1
  71. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  72. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  73. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  74. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  75. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +2 -1
  76. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  77. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  78. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  79. package/dist/runtime/components/forms/Slider.vue +1 -1
  80. package/dist/runtime/components/forms/Switch.vue +1 -1
  81. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  82. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  83. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +2 -3
  84. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +5 -5
  85. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +2 -2
  86. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +2 -1
  87. package/dist/runtime/components/forms/select/Select.vue +4 -6
  88. package/dist/runtime/components/forms/select/Select.vue.d.ts +54 -2
  89. package/dist/runtime/components/forms/select/SelectContent.vue +2 -1
  90. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  91. package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
  92. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
  93. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  94. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  95. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  96. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  97. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  98. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  99. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  100. package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
  101. package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
  102. package/dist/runtime/components/hover-card/HoverCardContent.vue +2 -1
  103. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
  104. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  105. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  106. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
  107. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +2 -1
  108. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  109. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
  110. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  111. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  112. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +2 -1
  113. package/dist/runtime/components/number-field/NumberField.vue +1 -1
  114. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
  115. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
  116. package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
  117. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  118. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  119. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  120. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  121. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  122. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  123. package/dist/runtime/components/pin-input/PinInput.vue +1 -1
  124. package/dist/runtime/components/pin-input/PinInputGroup.vue +1 -1
  125. package/dist/runtime/components/pin-input/PinInputSeparator.vue +1 -1
  126. package/dist/runtime/components/pin-input/PinInputSlot.vue +1 -1
  127. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  128. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  129. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  130. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  131. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  132. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  133. package/dist/runtime/components/sheet/SheetContent.vue +7 -2
  134. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  135. package/dist/runtime/components/sheet/SheetOverlay.vue +7 -2
  136. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  137. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  138. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  139. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  140. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  141. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  142. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  143. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  144. package/dist/runtime/types/combobox.d.ts +3 -2
  145. package/dist/runtime/types/radio-group.d.ts +5 -3
  146. package/dist/runtime/types/select.d.ts +2 -30
  147. package/package.json +3 -3
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "1.0.0-alpha.6",
4
+ "version": "1.0.0-alpha.8",
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 = "1.0.0-alpha.6";
11
+ const version = "1.0.0-alpha.8";
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: null, required: false },
7
+ as: { type: [String, Object, Function], 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: null, required: false },
8
+ as: { type: [String, Object, Function], required: false },
9
9
  type: { type: String, required: false },
10
10
  loadingPlacement: { type: String, required: false },
11
11
  icon: { type: Boolean, required: false },
@@ -21,7 +21,7 @@ const props = defineProps({
21
21
  forceMount: { type: Boolean, required: false },
22
22
  disableOutsidePointerEvents: { type: Boolean, required: false },
23
23
  asChild: { type: Boolean, required: false },
24
- as: { type: null, required: false },
24
+ as: { type: [String, Object, Function], required: false },
25
25
  class: { type: null, required: false }
26
26
  });
27
27
  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");
@@ -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: null, required: false }
9
+ as: { type: [String, Object, Function], 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: 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");
@@ -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: null, required: false }
5
+ as: { type: [String, Object, Function], 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: null, required: false },
10
+ as: { type: [String, Object, Function], required: false },
11
11
  class: { type: null, required: false },
12
12
  rounded: { type: null, required: false, default: "md" }
13
13
  });
@@ -25,6 +25,7 @@ const props = defineProps({
25
25
  groupSeparator: { type: Boolean, required: false },
26
26
  textEmpty: { type: String, required: false, default: "No items found." },
27
27
  label: { type: String, required: false },
28
+ multiple: { type: null, required: false },
28
29
  _comboboxAnchor: { type: Object, required: false },
29
30
  _comboboxEmpty: { type: Object, required: false },
30
31
  _comboboxGroup: { type: Object, required: false },
@@ -46,13 +47,12 @@ const props = defineProps({
46
47
  resetSearchTermOnSelect: { type: Boolean, required: false },
47
48
  ignoreFilter: { type: Boolean, required: false },
48
49
  defaultValue: { type: null, required: false },
49
- multiple: { type: Boolean, required: false },
50
50
  dir: { type: String, required: false },
51
51
  disabled: { type: Boolean, required: false },
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: null, required: false },
55
+ as: { type: [String, Object, Function], required: false },
56
56
  name: { type: String, required: false },
57
57
  required: { type: Boolean, required: false },
58
58
  status: { type: String, required: false },
@@ -139,7 +139,6 @@ function isItemSelected(item) {
139
139
 
140
140
  <template>
141
141
  <ComboboxRoot
142
- v-slot="{ modelValue, open }"
143
142
  data-slot="combobox"
144
143
  :class="cn(
145
144
  'combobox',
@@ -1,6 +1,6 @@
1
1
  import type { AcceptableValue } from 'reka-ui';
2
2
  import type { ExtractItemType, NComboboxGroupProps, NComboboxProps } from '../../types/index.js';
3
- declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <T extends AcceptableValue, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly "onUpdate:modelValue"?: ((value: ExtractItemType<T>) => any) | undefined;
6
6
  readonly onHighlight?: ((payload: {
@@ -8,7 +8,7 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
8
8
  value: ExtractItemType<T>;
9
9
  } | undefined) => any) | undefined;
10
10
  readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
11
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onHighlight" | "onUpdate:open"> & NComboboxProps<T> & Partial<{}>> & import("vue").PublicProps;
11
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onHighlight" | "onUpdate:open"> & NComboboxProps<T, M> & Partial<{}>> & import("vue").PublicProps;
12
12
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
13
13
  attrs: any;
14
14
  slots: {
@@ -19,20 +19,20 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
19
19
  'trigger-wrapper'?: (props: {}) => any;
20
20
  } & {
21
21
  trigger?: (props: {
22
- modelValue: any;
23
- open: any;
22
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
23
+ open: boolean | undefined;
24
24
  }) => any;
25
25
  } & {
26
26
  'input-wrapper'?: (props: {
27
- modelValue: any;
28
- open: any;
27
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
28
+ open: boolean | undefined;
29
29
  }) => any;
30
30
  } & {
31
31
  list?: (props: {}) => any;
32
32
  } & {
33
33
  'input-wrapper'?: (props: {
34
- modelValue: any;
35
- open: any;
34
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
35
+ open: boolean | undefined;
36
36
  }) => any;
37
37
  } & {
38
38
  header?: (props: {}) => any;
@@ -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: null, required: false },
9
+ as: { type: [String, Object, Function], 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: null, required: false },
8
+ as: { type: [String, Object, Function], 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: null, required: false },
17
+ as: { type: [String, Object, Function], 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: null, required: false },
15
+ as: { type: [String, Object, Function], 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: 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, 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: null, required: false },
9
+ as: { type: [String, Object, Function], 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: null, required: false },
9
+ as: { type: [String, Object, Function], 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: null, required: false },
30
+ as: { type: [String, Object, Function], required: false },
31
31
  disableOutsidePointerEvents: { type: Boolean, required: false },
32
32
  class: { type: null, required: false },
33
33
  size: { type: null, required: false }
@@ -47,6 +47,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
47
47
  v-bind="forwarded"
48
48
  :class="cn(
49
49
  'origin-(--reka-combobox-content-transform-origin)',
50
+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
50
51
  'combobox-list',
51
52
  props.una?.comboboxList,
52
53
  props.class
@@ -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
  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: null, required: false },
14
+ as: { type: [String, Object, Function], 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: null, required: false },
9
+ as: { type: [String, Object, Function], 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: null, required: false, default: "tbody" }
9
+ as: { type: [String, Object, Function], 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: null, required: false, default: "caption" }
9
+ as: { type: [String, Object, Function], 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: null, required: false, default: "td" }
10
+ as: { type: [String, Object, Function], 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: null, required: false, default: "tfoot" }
9
+ as: { type: [String, Object, Function], 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: null, required: false, default: "th" }
10
+ as: { type: [String, Object, Function], 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: null, required: false, default: "thead" }
9
+ as: { type: [String, Object, Function], 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: null, required: false, default: "tr" }
9
+ as: { type: [String, Object, Function], 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: null, required: false },
5
+ as: { type: [String, Object, Function], required: false },
6
6
  type: { type: String, required: false },
7
7
  loadingPlacement: { type: String, required: false },
8
8
  icon: { type: Boolean, required: false },
@@ -16,7 +16,7 @@ const props = defineProps({
16
16
  forceMount: { type: Boolean, required: false },
17
17
  disableOutsidePointerEvents: { type: Boolean, required: false },
18
18
  asChild: { type: Boolean, required: false },
19
- as: { type: null, required: false },
19
+ as: { type: [String, Object, Function], required: false },
20
20
  class: { type: null, required: false }
21
21
  });
22
22
  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"]);
@@ -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: null, required: false }
10
+ as: { type: [String, Object, Function], required: false }
11
11
  });
12
12
  const delegatedProps = reactiveOmit(props, ["class"]);
13
13
  </script>
@@ -18,6 +18,7 @@ const delegatedProps = reactiveOmit(props, ["class"]);
18
18
  v-bind="delegatedProps"
19
19
  :class="cn(
20
20
  'drawer-overlay',
21
+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
21
22
  props.una?.drawerOverlay,
22
23
  props.class
23
24
  )"
@@ -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"]);
@@ -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
 
@@ -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: 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
23
  referrerPolicy: { type: null, required: false },
@@ -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>
@@ -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: null, required: false },
18
+ as: { type: [String, Object, Function], 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: 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
  });
@@ -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 },
@@ -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: 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 },
@@ -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 },
@@ -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: 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 },
@@ -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);
@@ -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>
@@ -13,6 +13,7 @@ const props = defineProps({
13
13
  <CollapsibleContent
14
14
  v-bind="props"
15
15
  :class="cn(
16
+ 'data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down',
16
17
  'collapsible-content',
17
18
  props.class
18
19
  )"
@@ -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
 
@@ -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 },
@@ -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: null, required: false },
25
+ as: { type: [String, Object, Function], 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: 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");
@@ -17,7 +17,8 @@ const forwardedProps = useForwardProps(delegatedProps);
17
17
  data-slot="dialog-description"
18
18
  v-bind="forwardedProps"
19
19
  :class="cn(
20
- 'dialog-description data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-48% data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-48%',
20
+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-48% data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-48%',
21
+ 'dialog-description',
21
22
  props.una?.dialogDescription,
22
23
  props.class
23
24
  )"
@@ -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: null, required: false },
25
+ as: { type: [String, Object, Function], 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: 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");