@una-ui/nuxt 0.58.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
  4. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
  5. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
  6. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue.d.ts +6 -22
  7. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  10. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  11. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  12. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +1 -1
  13. package/dist/runtime/components/combobox/Combobox.vue +1 -1
  14. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  15. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  16. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  17. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  21. package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
  22. package/dist/runtime/components/combobox/ComboboxList.vue.d.ts +6 -22
  23. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  24. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  25. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  26. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  27. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  28. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  29. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  30. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  31. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  32. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  33. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  34. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  35. package/dist/runtime/components/drawer/DrawerContent.vue.d.ts +6 -22
  36. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  37. package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
  38. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  39. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  40. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  41. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  42. package/dist/runtime/components/elements/Label.vue +1 -1
  43. package/dist/runtime/components/elements/Progress.vue +1 -1
  44. package/dist/runtime/components/elements/Separator.vue +1 -1
  45. package/dist/runtime/components/elements/Toggle.vue +1 -1
  46. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  47. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  48. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  49. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  50. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  51. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  52. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  53. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  54. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  55. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  56. package/dist/runtime/components/elements/dialog/DialogContent.vue.d.ts +6 -22
  57. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  58. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  59. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue.d.ts +6 -22
  60. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  61. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  62. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +6 -22
  63. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
  64. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue.d.ts +6 -22
  65. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  66. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  67. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  68. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  69. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  70. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
  71. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue.d.ts +6 -22
  72. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  73. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  74. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  75. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  76. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  77. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  78. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  79. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  80. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  81. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  82. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  83. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  84. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  85. package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
  86. package/dist/runtime/components/elements/popover/PopoverContent.vue.d.ts +6 -22
  87. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  88. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  89. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  90. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  91. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
  92. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  93. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  94. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  95. package/dist/runtime/components/forms/Input.vue.d.ts +6 -6
  96. package/dist/runtime/components/forms/Slider.vue +1 -1
  97. package/dist/runtime/components/forms/Switch.vue +8 -7
  98. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  99. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  100. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
  101. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
  102. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  103. package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
  104. package/dist/runtime/components/forms/select/SelectContent.vue.d.ts +2 -6
  105. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  106. package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
  107. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
  108. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  109. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  110. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  111. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  112. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  113. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  114. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  115. package/dist/runtime/components/hover-card/HoverCard.vue +79 -0
  116. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +25 -0
  117. package/dist/runtime/components/hover-card/HoverCardArrow.vue +30 -0
  118. package/dist/runtime/components/hover-card/HoverCardArrow.vue.d.ts +6 -0
  119. package/dist/runtime/components/hover-card/HoverCardContent.vue +57 -0
  120. package/dist/runtime/components/hover-card/HoverCardContent.vue.d.ts +15 -0
  121. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +55 -0
  122. package/dist/runtime/components/hover-card/HoverCardTrigger.vue.d.ts +13 -0
  123. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  124. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  125. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  126. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  127. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue.d.ts +6 -22
  128. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +2 -2
  129. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  130. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  131. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +2 -1
  132. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
  133. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  134. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  135. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  136. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  137. package/dist/runtime/components/number-field/NumberField.vue +73 -0
  138. package/dist/runtime/components/number-field/NumberField.vue.d.ts +28 -0
  139. package/dist/runtime/components/number-field/NumberFieldContent.vue +20 -0
  140. package/dist/runtime/components/number-field/NumberFieldContent.vue.d.ts +13 -0
  141. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +33 -0
  142. package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +16 -0
  143. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +33 -0
  144. package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +16 -0
  145. package/dist/runtime/components/number-field/NumberFieldInput.vue +24 -0
  146. package/dist/runtime/components/number-field/NumberFieldInput.vue.d.ts +5 -0
  147. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  148. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  149. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
  150. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  151. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  152. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  153. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  154. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  155. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  156. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  157. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  158. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  159. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  160. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  161. package/dist/runtime/components/sheet/SheetContent.vue +1 -1
  162. package/dist/runtime/components/sheet/SheetContent.vue.d.ts +6 -22
  163. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  164. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  165. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  166. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  167. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  168. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  169. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  170. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  171. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  172. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  173. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  174. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  175. package/dist/runtime/types/hover-card.d.ts +57 -0
  176. package/dist/runtime/types/hover-card.js +0 -0
  177. package/dist/runtime/types/index.d.ts +2 -0
  178. package/dist/runtime/types/index.js +2 -0
  179. package/dist/runtime/types/navigation-menu.d.ts +2 -2
  180. package/dist/runtime/types/number-field.d.ts +48 -0
  181. package/dist/runtime/types/number-field.js +0 -0
  182. package/dist/runtime/types/switch.d.ts +16 -12
  183. package/package.json +9 -9
@@ -3,13 +3,13 @@ import { useForwardPropsEmits } from "reka-ui";
3
3
  import { cn } from "../../utils";
4
4
  import NavigationMenuLink from "./NavigationMenuLink.vue";
5
5
  const props = defineProps({
6
- description: { type: String, required: false },
7
6
  una: { type: Object, required: false },
8
7
  navigationMenuLink: { type: String, required: false },
8
+ description: { type: String, required: false },
9
9
  onSelect: { type: Function, required: false },
10
10
  active: { 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
  type: { type: String, required: false },
14
14
  loadingPlacement: { type: String, required: false },
15
15
  icon: { type: Boolean, required: false },
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  forceMount: { type: Boolean, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  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
  value: { type: String, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  navigationMenu: { type: String, required: false },
11
11
  disabled: { type: Boolean, required: false },
12
12
  type: { type: String, required: false },
@@ -7,11 +7,12 @@ defineOptions({
7
7
  });
8
8
  const props = defineProps({
9
9
  navigationMenuLink: { type: String, required: false, default: "ghost-white" },
10
+ description: { type: String, required: false },
10
11
  onSelect: { type: Function, required: false },
11
12
  una: { type: Object, required: false },
12
13
  active: { type: Boolean, required: false },
13
14
  asChild: { type: Boolean, required: false },
14
- as: { type: [String, Object, Function], required: false, default: Button },
15
+ as: { type: null, required: false, default: Button },
15
16
  type: { type: String, required: false },
16
17
  loadingPlacement: { type: String, required: false },
17
18
  icon: { type: Boolean, required: false },
@@ -14,9 +14,9 @@ declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuLink
14
14
  originalEvent: Event;
15
15
  }>) => any) | undefined;
16
16
  }>, {
17
+ as: import("reka-ui").AsTag | import("vue").Component;
17
18
  btn: string;
18
19
  navigationMenuLink: string;
19
- as: import("reka-ui").AsTag | import("vue").Component;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
22
  export default _default;
@@ -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
  orientation: { type: String, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
@@ -14,7 +14,7 @@ const props = defineProps({
14
14
  una: { type: Object, required: false },
15
15
  disabled: { type: Boolean, required: false },
16
16
  asChild: { type: Boolean, required: false },
17
- as: { type: [String, Object, Function], required: false, default: Button },
17
+ as: { type: null, required: false, default: Button },
18
18
  type: { type: String, required: false },
19
19
  loadingPlacement: { type: String, required: false },
20
20
  icon: { type: Boolean, required: false },
@@ -4,10 +4,10 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNavigationMenuTriggerProps> & Readonly<{}>, {
7
+ as: import("reka-ui").AsTag | import("vue").Component;
7
8
  btn: string;
8
9
  trailing: string;
9
10
  navigationMenu: string;
10
- as: import("reka-ui").AsTag | import("vue").Component;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
13
  export default _default;
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  forceMount: { type: Boolean, required: false },
11
11
  align: { type: String, 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
  orientation: { type: String, required: false },
15
15
  class: { type: null, required: false }
16
16
  });
@@ -0,0 +1,73 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { NumberFieldRoot, useForwardPropsEmits } from "reka-ui";
4
+ import { cn } from "../../utils";
5
+ import NumberFieldContent from "./NumberFieldContent.vue";
6
+ const props = defineProps({
7
+ numberField: { type: null, required: false, default: "outline-primary" },
8
+ _numberFieldContent: { type: Object, required: false },
9
+ _numberFieldDecrement: { type: Object, required: false },
10
+ _numberFieldIncrement: { type: Object, required: false },
11
+ _numberFieldInput: { type: Object, required: false },
12
+ una: { type: Object, required: false },
13
+ defaultValue: { type: Number, required: false },
14
+ modelValue: { type: [Number, null], required: false },
15
+ min: { type: Number, required: false },
16
+ max: { type: Number, required: false },
17
+ step: { type: Number, required: false },
18
+ stepSnapping: { type: Boolean, required: false },
19
+ formatOptions: { type: null, required: false },
20
+ locale: { type: String, required: false },
21
+ disabled: { type: Boolean, required: false },
22
+ disableWheelChange: { type: Boolean, required: false },
23
+ invertWheelChange: { type: Boolean, required: false },
24
+ id: { type: String, required: false },
25
+ asChild: { type: Boolean, required: false },
26
+ as: { type: null, required: false },
27
+ name: { type: String, required: false },
28
+ required: { type: Boolean, required: false },
29
+ leading: { type: String, required: false, default: "i-lucide-minus" },
30
+ trailing: { type: String, required: false, default: "i-lucide-plus" },
31
+ class: { type: null, required: false },
32
+ size: { type: null, required: false, default: "md" }
33
+ });
34
+ const emits = defineEmits(["update:modelValue"]);
35
+ const delegatedProps = reactiveOmit(props, "class", "numberField");
36
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
37
+ </script>
38
+
39
+ <template>
40
+ <NumberFieldRoot
41
+ v-bind="forwarded"
42
+ :class="cn('number-field', props.class)"
43
+ >
44
+ <slot>
45
+ <NumberFieldContent :size>
46
+ <slot name="content">
47
+ <NNumberFieldDecrement
48
+ v-bind="forwarded._numberFieldDecrement"
49
+ :icon="props.leading"
50
+ :size
51
+ :una
52
+ >
53
+ <slot name="decrement" />
54
+ </NNumberFieldDecrement>
55
+ <NNumberFieldInput
56
+ v-bind="forwarded._numberFieldInput"
57
+ :size
58
+ :number-field
59
+ :una
60
+ />
61
+ <NNumberFieldIncrement
62
+ v-bind="forwarded._numberFieldIncrement"
63
+ :icon="props.trailing"
64
+ :size
65
+ :una
66
+ >
67
+ <slot name="increment" />
68
+ </NNumberFieldIncrement>
69
+ </slot>
70
+ </NumberFieldContent>
71
+ </slot>
72
+ </NumberFieldRoot>
73
+ </template>
@@ -0,0 +1,28 @@
1
+ import type { NNumberFieldProps } from '../../types/index.js';
2
+ declare var __VLS_6: {}, __VLS_11: {}, __VLS_17: {}, __VLS_27: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ } & {
6
+ content?: (props: typeof __VLS_11) => any;
7
+ } & {
8
+ decrement?: (props: typeof __VLS_17) => any;
9
+ } & {
10
+ increment?: (props: typeof __VLS_27) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<NNumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (val: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<NNumberFieldProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((val: number) => any) | undefined;
16
+ }>, {
17
+ size: import("vue").HTMLAttributes["class"];
18
+ leading: string;
19
+ trailing: string;
20
+ numberField: import("vue").HTMLAttributes["class"];
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,20 @@
1
+ <script setup>
2
+ import { cn } from "../../utils";
3
+ const props = defineProps({
4
+ una: { type: Object, required: false },
5
+ class: { type: null, required: false },
6
+ size: { type: null, required: false }
7
+ });
8
+ </script>
9
+
10
+ <template>
11
+ <div
12
+ :class="cn(
13
+ 'number-field-content',
14
+ props.una?.numberFieldContent,
15
+ props.class
16
+ )"
17
+ >
18
+ <slot />
19
+ </div>
20
+ </template>
@@ -0,0 +1,13 @@
1
+ import type { NNumberFieldContentProps } from '../../types/index.js';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NNumberFieldContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNumberFieldContentProps> & 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,33 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { NumberFieldDecrement, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../utils";
5
+ import Icon from "../elements/Icon.vue";
6
+ const props = defineProps({
7
+ icon: { type: String, required: false, default: "i-lucide-minus" },
8
+ una: { type: Object, required: false },
9
+ disabled: { type: Boolean, required: false },
10
+ asChild: { type: Boolean, required: false },
11
+ as: { type: null, required: false },
12
+ class: { type: null, required: false },
13
+ size: { type: null, required: false, default: "md" }
14
+ });
15
+ const delegatedProps = reactiveOmit(props, "class");
16
+ const forwarded = useForwardProps(delegatedProps);
17
+ </script>
18
+
19
+ <template>
20
+ <NumberFieldDecrement
21
+ data-slot="decrement"
22
+ v-bind="forwarded"
23
+ :class="cn(
24
+ 'number-field-decrement',
25
+ props.una?.numberFieldDecrement,
26
+ props.class
27
+ )"
28
+ >
29
+ <slot>
30
+ <Icon :name="icon" />
31
+ </slot>
32
+ </NumberFieldDecrement>
33
+ </template>
@@ -0,0 +1,16 @@
1
+ import type { NNumberFieldDecrementProps } from '../../types/index.js';
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NNumberFieldDecrementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNumberFieldDecrementProps> & Readonly<{}>, {
7
+ size: import("vue").HTMLAttributes["class"];
8
+ icon: 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
+ };
@@ -0,0 +1,33 @@
1
+ <script setup>
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { NumberFieldIncrement, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../utils";
5
+ import Icon from "../elements/Icon.vue";
6
+ const props = defineProps({
7
+ icon: { type: String, required: false, default: "i-lucide-plus" },
8
+ una: { type: Object, required: false },
9
+ disabled: { type: Boolean, required: false },
10
+ asChild: { type: Boolean, required: false },
11
+ as: { type: null, required: false },
12
+ class: { type: null, required: false },
13
+ size: { type: null, required: false, default: "md" }
14
+ });
15
+ const delegatedProps = reactiveOmit(props, "class");
16
+ const forwarded = useForwardProps(delegatedProps);
17
+ </script>
18
+
19
+ <template>
20
+ <NumberFieldIncrement
21
+ data-slot="increment"
22
+ v-bind="forwarded"
23
+ :class="cn(
24
+ 'number-field-increment',
25
+ props.una?.numberFieldIncrement,
26
+ props.class
27
+ )"
28
+ >
29
+ <slot>
30
+ <Icon :name="icon" />
31
+ </slot>
32
+ </NumberFieldIncrement>
33
+ </template>
@@ -0,0 +1,16 @@
1
+ import type { NNumberFieldIncrementProps } from '../../types/index.js';
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<NNumberFieldIncrementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNumberFieldIncrementProps> & Readonly<{}>, {
7
+ size: import("vue").HTMLAttributes["class"];
8
+ icon: 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
+ };
@@ -0,0 +1,24 @@
1
+ <script setup>
2
+ import { NumberFieldInput } from "reka-ui";
3
+ import { cn } from "../../utils";
4
+ const props = defineProps({
5
+ una: { type: Object, required: false },
6
+ asChild: { type: Boolean, required: false },
7
+ as: { type: null, required: false },
8
+ class: { type: null, required: false },
9
+ size: { type: null, required: false },
10
+ numberField: { type: null, required: false, default: "outline-primary" }
11
+ });
12
+ </script>
13
+
14
+ <template>
15
+ <NumberFieldInput
16
+ data-slot="input"
17
+ :class="cn(
18
+ 'number-field-input',
19
+ props.una?.numberFieldInput,
20
+ props.class
21
+ )"
22
+ :number-field
23
+ />
24
+ </template>
@@ -0,0 +1,5 @@
1
+ import type { NNumberFieldInputProps } from '../../types/index.js';
2
+ declare const _default: import("vue").DefineComponent<NNumberFieldInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNumberFieldInputProps> & Readonly<{}>, {
3
+ numberField: import("vue").HTMLAttributes["class"];
4
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -40,7 +40,7 @@ const props = defineProps({
40
40
  open: { type: Boolean, required: false },
41
41
  duration: { type: Number, required: false },
42
42
  asChild: { type: Boolean, required: false },
43
- as: { type: [String, Object, Function], required: false }
43
+ as: { type: null, required: false }
44
44
  });
45
45
  const emits = defineEmits(["escapeKeyDown", "pause", "resume", "swipeStart", "swipeMove", "swipeCancel", "swipeEnd", "update:open"]);
46
46
  const rootProps = useForwardPropsEmits(reactivePick(props, "as", "asChild", "defaultOpen", "open", "duration", "type", "forceMount"), emits);
@@ -38,7 +38,7 @@ const props = defineProps({
38
38
  ariaLabel: { type: String, required: false },
39
39
  altText: { type: String, required: true },
40
40
  asChild: { type: Boolean, required: false },
41
- as: { type: [String, Object, Function], required: false }
41
+ as: { type: null, required: false }
42
42
  });
43
43
  const delegatedProps = reactiveOmit(props, ["class"]);
44
44
  </script>
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NToastActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NToastActionProps> & Readonly<{}>, {
7
- btn: string;
8
7
  size: string;
8
+ btn: string;
9
9
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
@@ -6,7 +6,7 @@ import Icon from "../../elements/Icon.vue";
6
6
  const props = defineProps({
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false }
11
11
  });
12
12
  const delegatedProps = computed(() => {
@@ -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"]);
@@ -5,7 +5,7 @@ import { cn } from "../../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  hotkey: { type: Array, required: false },
8
8
  label: { type: [String, Function], required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false },
10
+ as: { type: null, required: false },
11
11
  class: { type: null, required: false }
12
12
  });
13
13
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -13,7 +13,7 @@ const props = defineProps({
13
13
  tabindex: { type: Number, required: false },
14
14
  disabled: { type: Boolean, required: false },
15
15
  asChild: { type: Boolean, required: false },
16
- as: { type: [String, Object, Function], required: false },
16
+ as: { type: null, required: false },
17
17
  class: { type: null, required: false }
18
18
  });
19
19
  const emits = defineEmits(["dragging"]);
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  minSize: { type: Number, required: false },
13
13
  order: { type: Number, required: false },
14
14
  asChild: { type: Boolean, required: false },
15
- as: { type: [String, Object, Function], required: false },
15
+ as: { type: null, required: false },
16
16
  class: { type: null, required: false }
17
17
  });
18
18
  const emits = defineEmits(["collapse", "expand", "resize"]);
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  keyboardResizeBy: { type: [Number, null], required: false },
11
11
  storage: { type: Object, 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
  });
16
16
  const emits = defineEmits(["layout"]);
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  dir: { type: String, required: false },
18
18
  scrollHideDelay: { type: Number, 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
  orientation: { type: String, required: false },
22
22
  class: { type: null, required: false },
23
23
  size: { type: null, required: false, default: "md" },
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_10) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<NScrollAreaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NScrollAreaProps> & Readonly<{}>, {
7
- size: import("vue").HTMLAttributes["class"];
8
7
  rounded: import("vue").HTMLAttributes["class"];
8
+ size: import("vue").HTMLAttributes["class"];
9
9
  scrollArea: import("vue").HTMLAttributes["class"];
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  orientation: { type: String, required: false, default: "vertical" },
9
9
  forceMount: { type: Boolean, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: [String, Object, Function], required: false },
11
+ as: { type: null, required: false },
12
12
  scrollArea: { type: null, required: false },
13
13
  class: { type: null, required: false },
14
14
  size: { type: null, required: false },
@@ -3,7 +3,7 @@ import { DialogClose } from "reka-ui";
3
3
  import Button from "../elements/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 },
@@ -21,7 +21,7 @@ const props = defineProps({
21
21
  trapFocus: { type: Boolean, required: false },
22
22
  disableOutsidePointerEvents: { type: Boolean, required: false },
23
23
  asChild: { type: Boolean, required: false },
24
- as: { type: [String, Object, Function], required: false }
24
+ as: { type: null, required: false }
25
25
  });
26
26
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
27
27
  const contentProps = reactiveOmit(props, ["sheet", "class", "_sheetClose", "_sheetPortal", "_sheetOverlay"]);
@@ -9,17 +9,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
9
9
  showClose: boolean;
10
10
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  escapeKeyDown: (event: KeyboardEvent) => any;
12
- pointerDownOutside: (event: CustomEvent<{
13
- originalEvent: PointerEvent;
14
- }>) => any;
15
- focusOutside: (event: CustomEvent<{
16
- originalEvent: FocusEvent;
17
- }>) => any;
18
- interactOutside: (event: CustomEvent<{
19
- originalEvent: PointerEvent;
20
- }> | CustomEvent<{
21
- originalEvent: FocusEvent;
22
- }>) => any;
12
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
13
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
14
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
23
15
  openAutoFocus: (event: Event) => any;
24
16
  closeAutoFocus: (event: Event) => any;
25
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NSheetContentProps>, {
@@ -28,17 +20,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
28
20
  showClose: boolean;
29
21
  }>>> & Readonly<{
30
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
31
- onPointerDownOutside?: ((event: CustomEvent<{
32
- originalEvent: PointerEvent;
33
- }>) => any) | undefined;
34
- onFocusOutside?: ((event: CustomEvent<{
35
- originalEvent: FocusEvent;
36
- }>) => any) | undefined;
37
- onInteractOutside?: ((event: CustomEvent<{
38
- originalEvent: PointerEvent;
39
- }> | CustomEvent<{
40
- originalEvent: FocusEvent;
41
- }>) => any) | undefined;
23
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
24
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
25
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
42
26
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
43
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
44
28
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false }
9
+ as: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
12
12
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false }
9
+ as: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
12
12
  </script>
@@ -2,7 +2,7 @@
2
2
  import { DialogTrigger } from "reka-ui";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false, default: true },
5
- as: { type: [String, Object, Function], required: false }
5
+ as: { type: null, required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -5,7 +5,7 @@ const props = defineProps({
5
5
  class: { type: null, required: false },
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false, default: false },
8
- as: { type: [String, Object, Function], required: false, default: "button" }
8
+ as: { type: null, required: false, default: "button" }
9
9
  });
10
10
  </script>
11
11
 
@@ -5,7 +5,7 @@ const props = defineProps({
5
5
  class: { type: null, required: false },
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false, default: false },
8
- as: { type: [String, Object, Function], required: false, default: "div" }
8
+ as: { type: null, required: false, default: "div" }
9
9
  });
10
10
  </script>
11
11