@una-ui/nuxt 0.56.5 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +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 +2 -2
- package/dist/runtime/components/combobox/Combobox.vue +1 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
- 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 +1 -1
- package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -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/ComboboxTrigger.vue.d.ts +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/TableCaption.vue +1 -1
- package/dist/runtime/components/data/table/TableCell.vue +1 -1
- package/dist/runtime/components/data/table/TableEmpty.vue +2 -5
- package/dist/runtime/components/data/table/TableFooter.vue +1 -1
- package/dist/runtime/components/data/table/TableHead.vue +1 -1
- package/dist/runtime/components/data/table/TableHeader.vue +1 -1
- package/dist/runtime/components/data/table/TableLoading.vue +2 -5
- package/dist/runtime/components/data/table/TableRow.vue +1 -1
- package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
- 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/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Alert.vue.d.ts +1 -5
- package/dist/runtime/components/elements/AvatarGroup.vue +3 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
- 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/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Separator.vue +5 -8
- package/dist/runtime/components/elements/Toggle.vue +3 -6
- package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
- 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/Collapsible.vue.d.ts +2 -2
- 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/Dialog.vue.d.ts +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/DropdownMenu.vue.d.ts +4 -4
- 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/DropdownMenuSubTrigger.vue.d.ts +1 -1
- 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/Pagination.vue.d.ts +2 -5
- 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/PaginationListItem.vue.d.ts +1 -1
- 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/Popover.vue.d.ts +1 -1
- 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/Tabs.vue.d.ts +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/tabs/TabsTrigger.vue.d.ts +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.d.ts +2 -10
- package/dist/runtime/components/forms/Slider.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
- 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/RadioGroup.vue.d.ts +4 -4
- 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/Select.vue.d.ts +17 -17
- 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/misc/ThemeSwitcher.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
- 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/NavigationMenu.vue.d.ts +11 -11
- 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 +2 -2
- 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/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue +3 -6
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
- 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 +1 -4
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +1 -3
- 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/Sheet.vue.d.ts +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/SidebarMenu.vue.d.ts +1 -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/package.json +8 -8
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { DrawerOverlay } from "vaul-vue";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../utils";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
forceMount: { type: Boolean, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
11
|
-
});
|
|
12
|
-
const delegatedProps = computed(() => {
|
|
13
|
-
const { class: _, ...delegated } = props;
|
|
14
|
-
return delegated;
|
|
10
|
+
as: { type: [String, Object, Function], required: false }
|
|
15
11
|
});
|
|
12
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
16
13
|
</script>
|
|
17
14
|
|
|
18
15
|
<template>
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { DrawerTitle } from "vaul-vue";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../utils";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NAccordionProps } from '../../types/index.js';
|
|
2
2
|
declare var __VLS_6: any, __VLS_7: {
|
|
3
3
|
item: any;
|
|
4
4
|
index: any;
|
|
5
5
|
open: any;
|
|
6
6
|
close: any;
|
|
7
7
|
}, __VLS_21: {
|
|
8
|
-
item:
|
|
9
|
-
index:
|
|
8
|
+
item: any;
|
|
9
|
+
index: any;
|
|
10
10
|
open: any;
|
|
11
11
|
close: any;
|
|
12
12
|
};
|
|
@@ -6,11 +6,7 @@ type __VLS_Slots = {
|
|
|
6
6
|
icon?: any;
|
|
7
7
|
closeIcon?: any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
close: (...args: any[]) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<NAlertProps> & Readonly<{
|
|
12
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}>, {
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
14
10
|
icon: string | boolean;
|
|
15
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
12
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -17,10 +17,11 @@ const props = defineProps({
|
|
|
17
17
|
rounded: { type: null, required: false },
|
|
18
18
|
avatar: { type: null, required: false },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false, default: "div" },
|
|
21
21
|
icon: { type: Boolean, required: false },
|
|
22
22
|
delayMs: { type: Number, required: false },
|
|
23
|
-
referrerPolicy: { type: null, required: false }
|
|
23
|
+
referrerPolicy: { type: null, required: false },
|
|
24
|
+
crossOrigin: { type: null, required: false }
|
|
24
25
|
});
|
|
25
26
|
const slots = defineSlots();
|
|
26
27
|
const max = computed(() => typeof props.max === "string" ? Number.parseInt(props.max, 10) : props.max);
|
|
@@ -3,11 +3,7 @@ declare var __VLS_4: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_4) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
close: (...args: any[]) => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<NBadgeProps> & Readonly<{
|
|
9
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}>, {
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
11
7
|
una: {
|
|
12
8
|
badgeDefaultVariant?: string;
|
|
13
9
|
badge?: string;
|
|
@@ -10,6 +10,9 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
trailing?: (props: typeof __VLS_37) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NButtonProps> & Readonly<{}>, {
|
|
13
|
+
type: "button" | "submit" | "reset";
|
|
14
|
+
loadingPlacement: "leading" | "trailing" | "label";
|
|
15
|
+
size: string;
|
|
13
16
|
una: {
|
|
14
17
|
btnDefaultVariant?: string;
|
|
15
18
|
btn?: string;
|
|
@@ -21,9 +24,6 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
|
|
|
21
24
|
btnLoadingIcon?: string;
|
|
22
25
|
};
|
|
23
26
|
rounded: import("vue").HTMLAttributes["class"];
|
|
24
|
-
size: string;
|
|
25
|
-
type: "button" | "submit" | "reset";
|
|
26
|
-
loadingPlacement: "leading" | "trailing" | "label";
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
29
|
export default _default;
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
for: { type: String, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["label", "class"]);
|
|
13
13
|
</script>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
ProgressIndicator,
|
|
4
5
|
ProgressRoot
|
|
5
6
|
} from "reka-ui";
|
|
6
|
-
import { computed } from "vue";
|
|
7
7
|
import { cn } from "../../utils";
|
|
8
8
|
const props = defineProps({
|
|
9
9
|
progress: { type: null, required: false, default: "primary" },
|
|
@@ -13,14 +13,12 @@ const props = defineProps({
|
|
|
13
13
|
modelValue: { type: [Number, null], required: false },
|
|
14
14
|
max: { type: Number, required: false },
|
|
15
15
|
getValueLabel: { type: Function, required: false },
|
|
16
|
+
getValueText: { type: Function, required: false },
|
|
16
17
|
asChild: { type: Boolean, required: false },
|
|
17
|
-
as: { type:
|
|
18
|
+
as: { type: [String, Object, Function], required: false },
|
|
18
19
|
class: { type: null, required: false }
|
|
19
20
|
});
|
|
20
|
-
const delegatedProps =
|
|
21
|
-
const { class: _, ...delegated } = props;
|
|
22
|
-
return delegated;
|
|
23
|
-
});
|
|
21
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
24
22
|
</script>
|
|
25
23
|
|
|
26
24
|
<template>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { Separator } from "reka-ui";
|
|
3
|
-
import {
|
|
4
|
-
import { cn, omitProps } from "../../utils";
|
|
4
|
+
import { cn } from "../../utils";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
separator: { type: null, required: false },
|
|
7
7
|
separatorPosition: { type: null, required: false },
|
|
@@ -10,19 +10,16 @@ const props = defineProps({
|
|
|
10
10
|
orientation: { type: String, required: false, default: "horizontal" },
|
|
11
11
|
decorative: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
class: { type: null, required: false },
|
|
15
15
|
label: { type: String, required: false }
|
|
16
16
|
});
|
|
17
|
-
const delegatedProps =
|
|
18
|
-
const { class: _, ...delegated } = omitProps(props, ["una"]);
|
|
19
|
-
return delegated;
|
|
20
|
-
});
|
|
17
|
+
const delegatedProps = reactiveOmit(props, ["una", "separatorPosition"]);
|
|
21
18
|
</script>
|
|
22
19
|
|
|
23
20
|
<template>
|
|
24
21
|
<Separator
|
|
25
|
-
v-bind="
|
|
22
|
+
v-bind="delegatedProps"
|
|
26
23
|
:class="
|
|
27
24
|
cn(
|
|
28
25
|
'separator',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { Toggle, useForwardPropsEmits } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../utils";
|
|
5
5
|
import Button from "./Button.vue";
|
|
6
6
|
const props = defineProps({
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
modelValue: { type: [Boolean, null], required: false },
|
|
11
11
|
disabled: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
name: { type: String, required: false },
|
|
15
15
|
required: { type: Boolean, required: false },
|
|
16
16
|
type: { type: String, required: false },
|
|
@@ -41,10 +41,7 @@ const props = defineProps({
|
|
|
41
41
|
ariaLabel: { type: String, required: false }
|
|
42
42
|
});
|
|
43
43
|
const emits = defineEmits(["update:modelValue"]);
|
|
44
|
-
const delegatedProps =
|
|
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
|
|
|
@@ -17,13 +17,14 @@ const props = defineProps({
|
|
|
17
17
|
rounded: { type: null, required: false, default: "full" },
|
|
18
18
|
avatar: { type: null, required: false, default: "soft" },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false, default: "span" },
|
|
21
21
|
label: { type: String, required: false },
|
|
22
22
|
icon: { type: Boolean, required: false },
|
|
23
23
|
delayMs: { type: Number, required: false },
|
|
24
24
|
src: { type: String, required: false },
|
|
25
25
|
alt: { type: String, required: false },
|
|
26
|
-
referrerPolicy: { type: null, required: false }
|
|
26
|
+
referrerPolicy: { type: null, required: false },
|
|
27
|
+
crossOrigin: { type: null, required: false }
|
|
27
28
|
});
|
|
28
29
|
</script>
|
|
29
30
|
|
|
@@ -6,10 +6,10 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
fallback?: (props: typeof __VLS_14) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<NAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAvatarProps> & Readonly<{}>, {
|
|
9
|
-
as: import("reka-ui").AsTag | import("vue").Component;
|
|
10
|
-
rounded: import("vue").HTMLAttributes["class"];
|
|
11
9
|
size: import("vue").HTMLAttributes["class"];
|
|
12
10
|
square: import("vue").HTMLAttributes["class"];
|
|
11
|
+
rounded: import("vue").HTMLAttributes["class"];
|
|
12
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
13
13
|
avatar: import("vue").HTMLAttributes["class"];
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
delayMs: { type: Number, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
size: { type: null, required: false },
|
|
14
14
|
square: { type: null, required: false },
|
|
@@ -6,8 +6,9 @@ const props = defineProps({
|
|
|
6
6
|
alt: { type: String, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
referrerPolicy: { type: null, required: false },
|
|
9
|
+
crossOrigin: { type: null, required: false },
|
|
9
10
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
11
12
|
class: { type: null, required: false },
|
|
12
13
|
size: { type: null, required: false },
|
|
13
14
|
square: { type: null, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { cn } from "../../../utils";
|
|
4
4
|
import CardContent from "./CardContent.vue";
|
|
5
5
|
import CardDescription from "./CardDescription.vue";
|
|
@@ -21,10 +21,7 @@ const props = defineProps({
|
|
|
21
21
|
una: { type: Object, required: false },
|
|
22
22
|
class: { type: null, required: false }
|
|
23
23
|
});
|
|
24
|
-
const delegatedProps =
|
|
25
|
-
const { class: _, ...delegated } = props;
|
|
26
|
-
return delegated;
|
|
27
|
-
});
|
|
24
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
28
25
|
</script>
|
|
29
26
|
|
|
30
27
|
<template>
|
|
@@ -9,7 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
disabled: { type: Boolean, required: false },
|
|
10
10
|
unmountOnHide: { type: Boolean, required: false },
|
|
11
11
|
asChild: { type: Boolean, required: false },
|
|
12
|
-
as: { type:
|
|
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:
|
|
7
|
+
as: { type: [String, Object, Function], required: false },
|
|
8
8
|
class: { type: null, required: false }
|
|
9
9
|
});
|
|
10
10
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NDialogProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_10: {
|
|
3
|
-
open:
|
|
3
|
+
open: any;
|
|
4
4
|
}, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_43: {}, __VLS_48: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
trigger?: (props: typeof __VLS_10) => any;
|
|
@@ -3,7 +3,7 @@ import { DialogClose } from "reka-ui";
|
|
|
3
3
|
import Button from "../Button.vue";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
asChild: { type: Boolean, required: false },
|
|
6
|
-
as: { type:
|
|
6
|
+
as: { type: [String, Object, Function], required: false },
|
|
7
7
|
type: { type: String, required: false },
|
|
8
8
|
loadingPlacement: { type: String, required: false },
|
|
9
9
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NDialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NDialogCloseProps> & Readonly<{}>, {
|
|
7
|
-
label: string;
|
|
8
7
|
icon: boolean;
|
|
8
|
+
label: string;
|
|
9
9
|
btn: string;
|
|
10
10
|
square: import("vue").HTMLAttributes["class"];
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -23,7 +23,7 @@ const props = defineProps({
|
|
|
23
23
|
trapFocus: { type: Boolean, required: false },
|
|
24
24
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
25
25
|
asChild: { type: Boolean, required: false },
|
|
26
|
-
as: { type:
|
|
26
|
+
as: { type: [String, Object, Function], required: false },
|
|
27
27
|
class: { type: null, required: false }
|
|
28
28
|
});
|
|
29
29
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -23,7 +23,7 @@ const props = defineProps({
|
|
|
23
23
|
trapFocus: { type: Boolean, required: false },
|
|
24
24
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
25
25
|
asChild: { type: Boolean, required: false },
|
|
26
|
-
as: { type:
|
|
26
|
+
as: { type: [String, Object, Function], required: false },
|
|
27
27
|
class: { type: null, required: false }
|
|
28
28
|
});
|
|
29
29
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -60,7 +60,7 @@ const props = defineProps({
|
|
|
60
60
|
navigationMenuLink: { type: String, required: false },
|
|
61
61
|
ariaLabel: { type: String, required: false },
|
|
62
62
|
asChild: { type: Boolean, required: false },
|
|
63
|
-
as: { type:
|
|
63
|
+
as: { type: [String, Object, Function], required: false },
|
|
64
64
|
dropdownMenuItem: { type: null, required: false },
|
|
65
65
|
shortcut: { type: String, required: false },
|
|
66
66
|
onSelect: { type: Function, required: false },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { NDropdownMenuProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_7: {}, __VLS_12: {}, __VLS_17: {}, __VLS_22: {
|
|
3
|
-
items:
|
|
3
|
+
items: any;
|
|
4
4
|
}, __VLS_27: {
|
|
5
|
-
items:
|
|
6
|
-
}, __VLS_30:
|
|
7
|
-
label:
|
|
5
|
+
items: any;
|
|
6
|
+
}, __VLS_30: any, __VLS_31: {}, __VLS_62: {
|
|
7
|
+
label: any;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
[K in NonNullable<typeof __VLS_30>]?: (props: typeof __VLS_31) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
DropdownMenuContent,
|
|
4
5
|
DropdownMenuPortal,
|
|
5
6
|
useForwardPropsEmits
|
|
6
7
|
} from "reka-ui";
|
|
7
|
-
import { computed } from "vue";
|
|
8
8
|
import { cn } from "../../../utils";
|
|
9
9
|
const props = defineProps({
|
|
10
10
|
onCloseAutoFocus: { type: Function, required: false },
|
|
@@ -33,13 +33,10 @@ const props = defineProps({
|
|
|
33
33
|
prioritizePosition: { type: Boolean, required: false },
|
|
34
34
|
reference: { type: null, required: false },
|
|
35
35
|
asChild: { type: Boolean, required: false },
|
|
36
|
-
as: { type:
|
|
36
|
+
as: { type: [String, Object, Function], required: false }
|
|
37
37
|
});
|
|
38
38
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"]);
|
|
39
|
-
const delegatedProps =
|
|
40
|
-
const { class: _, ...delegated } = props;
|
|
41
|
-
return delegated;
|
|
42
|
-
});
|
|
39
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
43
40
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
44
41
|
</script>
|
|
45
42
|
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
size: { type: null, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false }
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { DropdownMenuItem, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Button from "../Button.vue";
|
|
6
6
|
import DropdownMenuShortcut from "./DropdownMenuShortcut.vue";
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
disabled: { type: Boolean, required: false },
|
|
18
18
|
textValue: { type: String, required: false },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false },
|
|
21
21
|
type: { type: String, required: false },
|
|
22
22
|
loadingPlacement: { type: String, required: false },
|
|
23
23
|
icon: { type: Boolean, required: false },
|
|
@@ -47,10 +47,7 @@ const props = defineProps({
|
|
|
47
47
|
ariaLabel: { type: String, required: false }
|
|
48
48
|
});
|
|
49
49
|
const slots = defineSlots();
|
|
50
|
-
const delegatedProps =
|
|
51
|
-
const { class: _, ...delegated } = props;
|
|
52
|
-
return delegated;
|
|
53
|
-
});
|
|
50
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
54
51
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
55
52
|
</script>
|
|
56
53
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { NDropdownMenuItemProps } from '../../../types/index.js';
|
|
2
2
|
type __VLS_Slots = any;
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<NDropdownMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NDropdownMenuItemProps> & Readonly<{}>, {
|
|
4
|
-
rounded: import("vue").HTMLAttributes["class"];
|
|
5
4
|
size: string;
|
|
5
|
+
rounded: import("vue").HTMLAttributes["class"];
|
|
6
6
|
dropdownMenuItem: import("vue").HTMLAttributes["class"];
|
|
7
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { DropdownMenuLabel, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
inset: { type: Boolean, required: false },
|
|
@@ -8,12 +8,9 @@ const props = defineProps({
|
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
12
|
-
});
|
|
13
|
-
const delegatedProps = computed(() => {
|
|
14
|
-
const { class: _, ...delegated } = props;
|
|
15
|
-
return delegated;
|
|
11
|
+
as: { type: [String, Object, Function], required: false }
|
|
16
12
|
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
17
14
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
18
15
|
</script>
|
|
19
16
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
DropdownMenuSeparator
|
|
4
5
|
} from "reka-ui";
|
|
5
|
-
import { computed } from "vue";
|
|
6
6
|
import { cn } from "../../../utils";
|
|
7
7
|
import Separator from "../Separator.vue";
|
|
8
8
|
const props = defineProps({
|
|
9
9
|
una: { type: Object, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
separator: { type: null, required: false },
|
|
13
13
|
separatorPosition: { type: null, required: false },
|
|
14
14
|
size: { type: null, required: false },
|
|
@@ -17,10 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
class: { type: null, required: false },
|
|
18
18
|
label: { type: String, required: false }
|
|
19
19
|
});
|
|
20
|
-
const delegatedProps =
|
|
21
|
-
const { class: _, ...delegated } = props;
|
|
22
|
-
return delegated;
|
|
23
|
-
});
|
|
20
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
24
21
|
</script>
|
|
25
22
|
|
|
26
23
|
<template>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
DropdownMenuSubContent,
|
|
4
5
|
useForwardPropsEmits
|
|
5
6
|
} from "reka-ui";
|
|
6
|
-
import { computed } from "vue";
|
|
7
7
|
import { cn } from "../../../utils";
|
|
8
8
|
const props = defineProps({
|
|
9
9
|
una: { type: Object, required: false },
|
|
@@ -25,13 +25,10 @@ const props = defineProps({
|
|
|
25
25
|
prioritizePosition: { type: Boolean, required: false },
|
|
26
26
|
reference: { type: null, required: false },
|
|
27
27
|
asChild: { type: Boolean, required: false },
|
|
28
|
-
as: { type:
|
|
28
|
+
as: { type: [String, Object, Function], required: false }
|
|
29
29
|
});
|
|
30
30
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"]);
|
|
31
|
-
const delegatedProps =
|
|
32
|
-
const { class: _, ...delegated } = props;
|
|
33
|
-
return delegated;
|
|
34
|
-
});
|
|
31
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
35
32
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
36
33
|
</script>
|
|
37
34
|
|