@una-ui/nuxt 0.56.5 → 0.58.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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +1 -1
- package/dist/runtime/components/combobox/Combobox.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxAnchor.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxEmpty.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxGroup.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxInput.vue +3 -1
- package/dist/runtime/components/combobox/ComboboxItem.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxSeparator.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxViewport.vue +3 -6
- package/dist/runtime/components/data/table/TableBody.vue +1 -1
- package/dist/runtime/components/data/table/TableBody.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableCaption.vue +1 -1
- package/dist/runtime/components/data/table/TableCaption.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableCell.vue +1 -1
- package/dist/runtime/components/data/table/TableCell.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableEmpty.vue +2 -5
- package/dist/runtime/components/data/table/TableEmpty.vue.d.ts +21 -2
- package/dist/runtime/components/data/table/TableFooter.vue +1 -1
- package/dist/runtime/components/data/table/TableFooter.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableHead.vue +1 -1
- package/dist/runtime/components/data/table/TableHead.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableHeader.vue +1 -1
- package/dist/runtime/components/data/table/TableHeader.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableLoading.vue +2 -5
- package/dist/runtime/components/data/table/TableLoading.vue.d.ts +22 -3
- package/dist/runtime/components/data/table/TableRow.vue +1 -1
- package/dist/runtime/components/data/table/TableRow.vue.d.ts +22 -3
- package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
- package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
- package/dist/runtime/components/drawer/DrawerDescription.vue +3 -6
- package/dist/runtime/components/drawer/DrawerOverlay.vue +3 -6
- package/dist/runtime/components/drawer/DrawerTitle.vue +3 -6
- package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
- package/dist/runtime/components/elements/AvatarGroup.vue +3 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Label.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue +4 -6
- package/dist/runtime/components/elements/Separator.vue +5 -8
- package/dist/runtime/components/elements/Toggle.vue +3 -6
- package/dist/runtime/components/elements/avatar/Avatar.vue +3 -2
- package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
- package/dist/runtime/components/elements/avatar/AvatarImage.vue +2 -1
- package/dist/runtime/components/elements/card/Card.vue +2 -5
- package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
- package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
- package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
- package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +3 -5
- package/dist/runtime/components/elements/pagination/PaginationNext.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/Popover.vue +2 -5
- package/dist/runtime/components/elements/popover/PopoverContent.vue +3 -6
- package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
- package/dist/runtime/components/elements/tooltip/TooltipContent.vue +3 -6
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
- package/dist/runtime/components/forms/Checkbox.vue +2 -2
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- package/dist/runtime/components/forms/Input.vue +50 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +12 -3
- package/dist/runtime/components/forms/Slider.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue +1 -1
- package/dist/runtime/components/forms/form/FormField.vue +1 -1
- package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue +3 -3
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +2 -2
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
- package/dist/runtime/components/forms/select/SelectContent.vue +3 -6
- package/dist/runtime/components/forms/select/SelectGroup.vue +3 -6
- package/dist/runtime/components/forms/select/SelectItem.vue +3 -6
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
- package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
- package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
- package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +3 -6
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +3 -6
- package/dist/runtime/components/forms/select/SelectSeparator.vue +3 -6
- package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
- package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +3 -6
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue +3 -6
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastDescription.vue +3 -6
- package/dist/runtime/components/overlays/toast/ToastTitle.vue +3 -6
- package/dist/runtime/components/overlays/toast/ToastViewport.vue +3 -6
- package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +3 -0
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
- package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
- package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
- package/dist/runtime/components/sheet/SheetClose.vue +1 -1
- package/dist/runtime/components/sheet/SheetContent.vue +1 -1
- package/dist/runtime/components/sheet/SheetDescription.vue +3 -6
- package/dist/runtime/components/sheet/SheetTitle.vue +3 -6
- package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarInput.vue +2 -1
- package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
- package/dist/runtime/types/input.d.ts +9 -3
- package/dist/runtime/types/table.d.ts +9 -0
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +4 -0
- package/package.json +10 -10
|
@@ -22,7 +22,7 @@ const props = defineProps({
|
|
|
22
22
|
id: { type: String, required: false },
|
|
23
23
|
value: { type: String, required: false },
|
|
24
24
|
asChild: { type: Boolean, required: false },
|
|
25
|
-
as: { type:
|
|
25
|
+
as: { type: [String, Object, Function], required: false },
|
|
26
26
|
name: { type: String, required: false },
|
|
27
27
|
required: { type: Boolean, required: false }
|
|
28
28
|
});
|
|
@@ -24,7 +24,7 @@ const props = defineProps({
|
|
|
24
24
|
una: { type: Object, required: false },
|
|
25
25
|
for: { type: String, required: false },
|
|
26
26
|
asChild: { type: Boolean, required: false },
|
|
27
|
-
as: { type:
|
|
27
|
+
as: { type: [String, Object, Function], required: false }
|
|
28
28
|
});
|
|
29
29
|
const statusClassVariants = computed(() => {
|
|
30
30
|
const text = {
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
class: { type: null, required: false },
|
|
9
9
|
for: { type: String, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false }
|
|
12
12
|
});
|
|
13
13
|
const { formItemId } = useFormField();
|
|
14
14
|
</script>
|
|
@@ -20,14 +20,14 @@ const props = defineProps({
|
|
|
20
20
|
square: { type: null, required: false, default: "1em" },
|
|
21
21
|
rounded: { type: null, required: false },
|
|
22
22
|
icon: { type: null, required: false },
|
|
23
|
-
modelValue: { type:
|
|
24
|
-
defaultValue: { type:
|
|
23
|
+
modelValue: { type: null, required: false },
|
|
24
|
+
defaultValue: { type: null, required: false },
|
|
25
25
|
disabled: { type: Boolean, required: false },
|
|
26
26
|
orientation: { type: String, required: false },
|
|
27
27
|
dir: { type: String, required: false },
|
|
28
28
|
loop: { type: Boolean, required: false },
|
|
29
29
|
asChild: { type: Boolean, required: false },
|
|
30
|
-
as: { type:
|
|
30
|
+
as: { type: [String, Object, Function], required: false },
|
|
31
31
|
name: { type: String, required: false },
|
|
32
32
|
required: { type: Boolean, required: false }
|
|
33
33
|
});
|
|
@@ -22,10 +22,10 @@ const props = defineProps({
|
|
|
22
22
|
rounded: { type: null, required: false },
|
|
23
23
|
icon: { type: null, required: false, default: "radio-group-indicator-icon" },
|
|
24
24
|
id: { type: String, required: false },
|
|
25
|
-
value: { type:
|
|
25
|
+
value: { type: null, required: false },
|
|
26
26
|
disabled: { type: Boolean, required: false },
|
|
27
27
|
asChild: { type: Boolean, required: false },
|
|
28
|
-
as: { type:
|
|
28
|
+
as: { type: [String, Object, Function], required: false },
|
|
29
29
|
name: { type: String, required: false },
|
|
30
30
|
required: { type: Boolean, required: false }
|
|
31
31
|
});
|
|
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
description?: (props: typeof __VLS_19) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<NRadioGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NRadioGroupItemProps> & Readonly<{}>, {
|
|
11
|
-
size: import("vue").HTMLAttributes["class"];
|
|
12
11
|
icon: import("vue").HTMLAttributes["class"];
|
|
12
|
+
size: import("vue").HTMLAttributes["class"];
|
|
13
13
|
square: import("vue").HTMLAttributes["class"];
|
|
14
14
|
radioGroup: import("vue").HTMLAttributes["class"];
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
SelectContent,
|
|
4
5
|
SelectPortal,
|
|
5
6
|
SelectViewport,
|
|
6
7
|
useForwardPropsEmits
|
|
7
8
|
} from "reka-ui";
|
|
8
|
-
import { computed } from "vue";
|
|
9
9
|
import { cn } from "../../../utils";
|
|
10
10
|
import SelectScrollDownButton from "./SelectScrollDownButton.vue";
|
|
11
11
|
import SelectScrollUpButton from "./SelectScrollUpButton.vue";
|
|
@@ -36,15 +36,12 @@ const props = defineProps({
|
|
|
36
36
|
prioritizePosition: { type: Boolean, required: false },
|
|
37
37
|
reference: { type: null, required: false },
|
|
38
38
|
asChild: { type: Boolean, required: false },
|
|
39
|
-
as: { type:
|
|
39
|
+
as: { type: [String, Object, Function], required: false },
|
|
40
40
|
class: { type: null, required: false },
|
|
41
41
|
size: { type: null, required: false }
|
|
42
42
|
});
|
|
43
43
|
const emits = defineEmits(["closeAutoFocus", "escapeKeyDown", "pointerDownOutside"]);
|
|
44
|
-
const delegatedProps =
|
|
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,18 +1,15 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { SelectGroup } from "reka-ui";
|
|
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:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
12
|
-
const delegatedProps =
|
|
13
|
-
const { class: _, ...delegated } = props;
|
|
14
|
-
return delegated;
|
|
15
|
-
});
|
|
12
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
16
13
|
</script>
|
|
17
14
|
|
|
18
15
|
<template>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
SelectItem,
|
|
4
5
|
useForwardProps
|
|
5
6
|
} from "reka-ui";
|
|
6
|
-
import { computed } from "vue";
|
|
7
7
|
import { cn } from "../../../utils";
|
|
8
8
|
import SelectItemIndicator from "./SelectItemIndicator.vue";
|
|
9
9
|
import SelectItemText from "./SelectItemText.vue";
|
|
@@ -17,14 +17,11 @@ 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:
|
|
20
|
+
as: { type: [String, Object, Function], required: false },
|
|
21
21
|
class: { type: null, required: false },
|
|
22
22
|
size: { type: null, required: false }
|
|
23
23
|
});
|
|
24
|
-
const delegatedProps =
|
|
25
|
-
const { class: _, ...delegated } = props;
|
|
26
|
-
return delegated;
|
|
27
|
-
});
|
|
24
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
28
25
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
29
26
|
</script>
|
|
30
27
|
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false, default: "span" }
|
|
11
11
|
});
|
|
12
12
|
</script>
|
|
13
13
|
|
|
@@ -3,7 +3,7 @@ import { SelectItemText } from "reka-ui";
|
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
una: { type: Object, required: false },
|
|
5
5
|
asChild: { type: Boolean, required: false },
|
|
6
|
-
as: { type:
|
|
6
|
+
as: { type: [String, Object, Function], required: false },
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
size: { type: null, required: false }
|
|
9
9
|
});
|
|
@@ -5,7 +5,7 @@ const props = defineProps({
|
|
|
5
5
|
una: { type: Object, required: false },
|
|
6
6
|
for: { type: String, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { SelectScrollDownButton, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
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:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
13
|
-
const delegatedProps =
|
|
14
|
-
const { class: _, ...delegated } = props;
|
|
15
|
-
return delegated;
|
|
16
|
-
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
17
14
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
18
15
|
</script>
|
|
19
16
|
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { SelectScrollUpButton, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
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:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
13
|
-
const delegatedProps =
|
|
14
|
-
const { class: _, ...delegated } = props;
|
|
15
|
-
return delegated;
|
|
16
|
-
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
17
14
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
18
15
|
</script>
|
|
19
16
|
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { SelectSeparator } from "reka-ui";
|
|
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:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
12
|
-
const delegatedProps =
|
|
13
|
-
const { class: _, ...delegated } = props;
|
|
14
|
-
return delegated;
|
|
15
|
-
});
|
|
12
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
16
13
|
</script>
|
|
17
14
|
|
|
18
15
|
<template>
|
|
@@ -13,7 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
disabled: { type: Boolean, required: false },
|
|
14
14
|
reference: { type: null, required: false },
|
|
15
15
|
asChild: { type: Boolean, required: false },
|
|
16
|
-
as: { type:
|
|
16
|
+
as: { type: [String, Object, Function], required: false },
|
|
17
17
|
type: { type: String, required: false },
|
|
18
18
|
loadingPlacement: { type: String, required: false },
|
|
19
19
|
icon: { type: Boolean, required: false },
|
|
@@ -5,7 +5,7 @@ const props = defineProps({
|
|
|
5
5
|
una: { type: Object, required: false },
|
|
6
6
|
placeholder: { type: String, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NBreadcrumbEllipsisProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NBreadcrumbEllipsisProps> & Readonly<{}>, {
|
|
7
|
-
size: string;
|
|
8
7
|
icon: string;
|
|
8
|
+
size: 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;
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NBreadcrumbSeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NBreadcrumbSeparatorProps> & Readonly<{}>, {
|
|
7
|
-
size: string;
|
|
8
7
|
icon: string;
|
|
8
|
+
size: 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;
|
|
@@ -36,7 +36,7 @@ const props = defineProps({
|
|
|
36
36
|
disablePointerLeaveClose: { type: Boolean, required: false },
|
|
37
37
|
unmountOnHide: { type: Boolean, required: false, default: true },
|
|
38
38
|
asChild: { type: Boolean, required: false },
|
|
39
|
-
as: { type:
|
|
39
|
+
as: { type: [String, Object, Function], required: false },
|
|
40
40
|
navigationMenu: { type: String, required: false },
|
|
41
41
|
disabled: { type: Boolean, required: false },
|
|
42
42
|
navigationMenuLink: { type: String, required: false },
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
forceMount: { type: Boolean, required: false },
|
|
11
11
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
class: { type: null, required: false },
|
|
15
15
|
size: { type: null, required: false }
|
|
16
16
|
});
|
|
@@ -9,7 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
onSelect: { type: Function, required: false },
|
|
10
10
|
active: { type: Boolean, required: false },
|
|
11
11
|
asChild: { type: Boolean, required: false },
|
|
12
|
-
as: { type:
|
|
12
|
+
as: { type: [String, Object, Function], 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:
|
|
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
|
value: { type: String, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
navigationMenu: { type: String, required: false },
|
|
11
11
|
disabled: { type: Boolean, required: false },
|
|
12
12
|
type: { type: String, required: false },
|
|
@@ -11,7 +11,7 @@ const props = defineProps({
|
|
|
11
11
|
una: { type: Object, required: false },
|
|
12
12
|
active: { type: Boolean, required: false },
|
|
13
13
|
asChild: { type: Boolean, required: false },
|
|
14
|
-
as: { type:
|
|
14
|
+
as: { type: [String, Object, Function], required: false, default: Button },
|
|
15
15
|
type: { type: String, required: false },
|
|
16
16
|
loadingPlacement: { type: String, required: false },
|
|
17
17
|
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;
|
|
18
17
|
btn: string;
|
|
19
18
|
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;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { NavigationMenuList, useForwardProps } from "reka-ui";
|
|
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:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
orientation: { type: String, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
13
|
-
const delegatedProps =
|
|
14
|
-
const { class: _, ...delegated } = props;
|
|
15
|
-
return delegated;
|
|
16
|
-
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
17
14
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
18
15
|
</script>
|
|
19
16
|
|
|
@@ -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:
|
|
17
|
+
as: { type: [String, Object, Function], 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;
|
|
8
7
|
btn: string;
|
|
9
8
|
trailing: string;
|
|
10
9
|
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:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
orientation: { type: String, required: false },
|
|
15
15
|
class: { type: null, required: false }
|
|
16
16
|
});
|
|
@@ -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:
|
|
43
|
+
as: { type: [String, Object, Function], 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);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { ToastAction } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn, omitProps, randomId } from "../../../utils";
|
|
5
5
|
import Button from "../../elements/Button.vue";
|
|
6
6
|
defineOptions({
|
|
@@ -38,12 +38,9 @@ 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:
|
|
42
|
-
});
|
|
43
|
-
const delegatedProps = computed(() => {
|
|
44
|
-
const { class: _, ...delegated } = props;
|
|
45
|
-
return delegated;
|
|
41
|
+
as: { type: [String, Object, Function], required: false }
|
|
46
42
|
});
|
|
43
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
47
44
|
</script>
|
|
48
45
|
|
|
49
46
|
<template>
|
|
@@ -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
|
-
size: string;
|
|
8
7
|
btn: string;
|
|
8
|
+
size: 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:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false }
|
|
11
11
|
});
|
|
12
12
|
const delegatedProps = computed(() => {
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { ToastDescription } from "reka-ui";
|
|
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:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
|
-
const delegatedProps =
|
|
12
|
-
const { class: _, ...delegated } = props;
|
|
13
|
-
return delegated;
|
|
14
|
-
});
|
|
11
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
15
12
|
</script>
|
|
16
13
|
|
|
17
14
|
<template>
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { ToastTitle } from "reka-ui";
|
|
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:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
|
-
const delegatedProps =
|
|
12
|
-
const { class: _, ...delegated } = props;
|
|
13
|
-
return delegated;
|
|
14
|
-
});
|
|
11
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
15
12
|
</script>
|
|
16
13
|
|
|
17
14
|
<template>
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { ToastViewport } from "reka-ui";
|
|
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
|
hotkey: { type: Array, required: false },
|
|
8
8
|
label: { type: [String, Function], required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false },
|
|
11
11
|
class: { type: null, required: false }
|
|
12
12
|
});
|
|
13
|
-
const delegatedProps =
|
|
14
|
-
const { class: _, ...delegated } = props;
|
|
15
|
-
return delegated;
|
|
16
|
-
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
17
14
|
</script>
|
|
18
15
|
|
|
19
16
|
<template>
|
|
@@ -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:
|
|
16
|
+
as: { type: [String, Object, Function], 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:
|
|
15
|
+
as: { type: [String, Object, Function], required: false },
|
|
16
16
|
class: { type: null, required: false }
|
|
17
17
|
});
|
|
18
18
|
const emits = defineEmits(["collapse", "expand", "resize"]);
|
|
@@ -2,6 +2,9 @@ import type { NResizablePanelProps } from '../../types/index.js';
|
|
|
2
2
|
declare var __VLS_6: {
|
|
3
3
|
isCollapsed: boolean;
|
|
4
4
|
isExpanded: boolean;
|
|
5
|
+
collapse: () => void;
|
|
6
|
+
expand: () => void;
|
|
7
|
+
resize: (size: number) => void;
|
|
5
8
|
};
|
|
6
9
|
type __VLS_Slots = {} & {
|
|
7
10
|
default?: (props: typeof __VLS_6) => any;
|
|
@@ -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:
|
|
13
|
+
as: { type: [String, Object, Function], 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:
|
|
20
|
+
as: { type: [String, Object, Function], 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
|
-
rounded: import("vue").HTMLAttributes["class"];
|
|
8
7
|
size: import("vue").HTMLAttributes["class"];
|
|
8
|
+
rounded: 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:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
scrollArea: { type: null, required: false },
|
|
13
13
|
class: { type: null, required: false },
|
|
14
14
|
size: { type: null, required: false },
|