@una-ui/nuxt 1.0.0-alpha.7 → 1.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/combobox/Combobox.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxList.vue +2 -1
- package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
- 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/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/TableRow.vue +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 +1 -1
- package/dist/runtime/components/drawer/DrawerOverlay.vue +2 -1
- package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
- package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
- package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
- package/dist/runtime/components/elements/Label.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/elements/Separator.vue +1 -1
- package/dist/runtime/components/elements/Toggle.vue +1 -1
- package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
- package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
- package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
- package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
- package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +2 -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/DialogContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogDescription.vue +3 -2
- 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/dialog/DialogTrigger.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +2 -2
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +2 -2
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +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/PaginationEllipsis.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
- package/dist/runtime/components/elements/popover/PopoverContent.vue +2 -1
- 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 +2 -1
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
- package/dist/runtime/components/forms/Checkbox.vue +1 -1
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- 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 +1 -1
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
- package/dist/runtime/components/forms/select/SelectContent.vue +2 -1
- package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
- package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
- 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 +1 -1
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
- package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
- package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
- package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCardContent.vue +2 -1
- package/dist/runtime/components/hover-card/HoverCardTrigger.vue +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 +2 -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/NavigationMenuList.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +2 -1
- package/dist/runtime/components/number-field/NumberField.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
- package/dist/runtime/components/pin-input/PinInput.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputGroup.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputSeparator.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputSlot.vue +1 -1
- package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
- 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/ScrollBar.vue +1 -1
- package/dist/runtime/components/sheet/SheetClose.vue +1 -1
- package/dist/runtime/components/sheet/SheetContent.vue +7 -2
- package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
- package/dist/runtime/components/sheet/SheetOverlay.vue +7 -2
- package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
- 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/SidebarMenuAction.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import Button from "../elements/Button.vue";
|
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
onClick: { type: Function, required: false },
|
|
6
6
|
asChild: { type: Boolean, required: false },
|
|
7
|
-
as: { type:
|
|
7
|
+
as: { type: [String, Object, Function], required: false },
|
|
8
8
|
type: { type: String, required: false },
|
|
9
9
|
loadingPlacement: { type: String, required: false },
|
|
10
10
|
icon: { type: Boolean, required: false },
|
|
@@ -5,7 +5,7 @@ import Button from "../elements/Button.vue";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
onClick: { type: Function, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
type: { type: String, required: false },
|
|
10
10
|
loadingPlacement: { type: String, required: false },
|
|
11
11
|
icon: { type: Boolean, required: false },
|
|
@@ -21,7 +21,7 @@ const props = defineProps({
|
|
|
21
21
|
forceMount: { type: Boolean, required: false },
|
|
22
22
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
23
23
|
asChild: { type: Boolean, required: false },
|
|
24
|
-
as: { type:
|
|
24
|
+
as: { type: [String, Object, Function], required: false },
|
|
25
25
|
class: { type: null, required: false }
|
|
26
26
|
});
|
|
27
27
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
forceMount: { type: Boolean, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false }
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
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");
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
ratio: { type: Number, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false },
|
|
11
11
|
class: { type: null, required: false },
|
|
12
12
|
rounded: { type: null, required: false, default: "md" }
|
|
13
13
|
});
|
|
@@ -52,7 +52,7 @@ const props = defineProps({
|
|
|
52
52
|
highlightOnHover: { type: Boolean, required: false },
|
|
53
53
|
by: { type: [String, Function], required: false },
|
|
54
54
|
asChild: { type: Boolean, required: false },
|
|
55
|
-
as: { type:
|
|
55
|
+
as: { type: [String, Object, Function], required: false },
|
|
56
56
|
name: { type: String, required: false },
|
|
57
57
|
required: { type: Boolean, required: false },
|
|
58
58
|
status: { type: String, required: false },
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
reference: { type: null, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false, default: "sm" }
|
|
11
11
|
});
|
|
@@ -14,7 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
_comboboxLabel: { type: Object, required: false },
|
|
15
15
|
una: { type: Object, required: false },
|
|
16
16
|
asChild: { type: Boolean, required: false },
|
|
17
|
-
as: { type:
|
|
17
|
+
as: { type: [String, Object, Function], required: false },
|
|
18
18
|
class: { type: null, required: false },
|
|
19
19
|
size: { type: null, required: false }
|
|
20
20
|
});
|
|
@@ -12,7 +12,7 @@ const props = defineProps({
|
|
|
12
12
|
autoFocus: { type: Boolean, required: false },
|
|
13
13
|
disabled: { type: Boolean, required: false },
|
|
14
14
|
asChild: { type: Boolean, required: false },
|
|
15
|
-
as: { type:
|
|
15
|
+
as: { type: [String, Object, Function], required: false },
|
|
16
16
|
type: { type: null, required: false },
|
|
17
17
|
status: { type: String, required: false },
|
|
18
18
|
loading: { type: Boolean, required: false },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
value: { type: null, required: true },
|
|
9
9
|
disabled: { type: Boolean, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
size: { type: null, required: false, default: "sm" }
|
|
14
14
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
icon: { type: null, required: false, default: "combobox-item-indicator-icon-name" },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
for: { type: String, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -27,7 +27,7 @@ const props = defineProps({
|
|
|
27
27
|
prioritizePosition: { type: Boolean, required: false },
|
|
28
28
|
reference: { type: null, required: false },
|
|
29
29
|
asChild: { type: Boolean, required: false },
|
|
30
|
-
as: { type:
|
|
30
|
+
as: { type: [String, Object, Function], required: false },
|
|
31
31
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
32
32
|
class: { type: null, required: false },
|
|
33
33
|
size: { type: null, required: false }
|
|
@@ -47,6 +47,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
47
47
|
v-bind="forwarded"
|
|
48
48
|
:class="cn(
|
|
49
49
|
'origin-(--reka-combobox-content-transform-origin)',
|
|
50
|
+
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
|
|
50
51
|
'combobox-list',
|
|
51
52
|
props.una?.comboboxList,
|
|
52
53
|
props.class
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
@@ -11,7 +11,7 @@ const props = defineProps({
|
|
|
11
11
|
una: { type: Object, required: false },
|
|
12
12
|
disabled: { type: Boolean, required: false },
|
|
13
13
|
asChild: { type: Boolean, required: false },
|
|
14
|
-
as: { type:
|
|
14
|
+
as: { type: [String, Object, Function], required: false },
|
|
15
15
|
type: { type: String, required: false },
|
|
16
16
|
loadingPlacement: { type: String, required: false },
|
|
17
17
|
icon: { type: Boolean, required: false },
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
nonce: { type: String, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false, default: "tbody" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false, default: "caption" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
dataPinned: { type: [String, Boolean], required: false },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false, default: "td" }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
13
13
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false, default: "tfoot" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
dataPinned: { type: [String, Boolean], required: false },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false, default: "th" }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
13
13
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false, default: "thead" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false, default: "tr" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DrawerClose } from "vaul-vue";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
asChild: { type: Boolean, required: false },
|
|
5
|
-
as: { type:
|
|
5
|
+
as: { type: [String, Object, Function], required: false },
|
|
6
6
|
type: { type: String, required: false },
|
|
7
7
|
loadingPlacement: { type: String, required: false },
|
|
8
8
|
icon: { type: Boolean, required: false },
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
forceMount: { type: Boolean, required: false },
|
|
17
17
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
18
18
|
asChild: { type: Boolean, required: false },
|
|
19
|
-
as: { type:
|
|
19
|
+
as: { type: [String, Object, Function], required: false },
|
|
20
20
|
class: { type: null, required: false }
|
|
21
21
|
});
|
|
22
22
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
forceMount: { type: Boolean, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false }
|
|
11
11
|
});
|
|
12
12
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
13
13
|
</script>
|
|
@@ -18,6 +18,7 @@ const delegatedProps = reactiveOmit(props, ["class"]);
|
|
|
18
18
|
v-bind="delegatedProps"
|
|
19
19
|
:class="cn(
|
|
20
20
|
'drawer-overlay',
|
|
21
|
+
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
|
21
22
|
props.una?.drawerOverlay,
|
|
22
23
|
props.class
|
|
23
24
|
)"
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
rounded: { type: null, required: false },
|
|
18
18
|
avatar: { type: null, required: false },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false, default: "div" },
|
|
21
21
|
icon: { type: Boolean, required: false },
|
|
22
22
|
delayMs: { type: Number, required: false },
|
|
23
23
|
referrerPolicy: { type: null, required: false },
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
for: { type: String, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["label", "class"]);
|
|
13
13
|
</script>
|
|
@@ -15,7 +15,7 @@ const props = defineProps({
|
|
|
15
15
|
getValueLabel: { type: Function, required: false },
|
|
16
16
|
getValueText: { type: Function, required: false },
|
|
17
17
|
asChild: { type: Boolean, required: false },
|
|
18
|
-
as: { type:
|
|
18
|
+
as: { type: [String, Object, Function], required: false },
|
|
19
19
|
class: { type: null, required: false }
|
|
20
20
|
});
|
|
21
21
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
orientation: { type: String, required: false, default: "horizontal" },
|
|
11
11
|
decorative: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
class: { type: null, required: false },
|
|
15
15
|
label: { type: String, required: false }
|
|
16
16
|
});
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
modelValue: { type: [Boolean, null], required: false },
|
|
11
11
|
disabled: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
name: { type: String, required: false },
|
|
15
15
|
required: { type: Boolean, required: false },
|
|
16
16
|
type: { type: String, required: false },
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
rounded: { type: null, required: false, default: "full" },
|
|
18
18
|
avatar: { type: null, required: false, default: "soft" },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false, default: "span" },
|
|
21
21
|
label: { type: String, required: false },
|
|
22
22
|
icon: { type: Boolean, required: false },
|
|
23
23
|
delayMs: { type: Number, required: false },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
delayMs: { type: Number, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
size: { type: null, required: false },
|
|
14
14
|
square: { type: null, required: false },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
referrerPolicy: { type: null, required: false },
|
|
9
9
|
crossOrigin: { type: null, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
size: { type: null, required: false },
|
|
14
14
|
square: { type: null, required: false },
|
|
@@ -9,7 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
disabled: { type: Boolean, required: false },
|
|
10
10
|
unmountOnHide: { type: Boolean, required: false },
|
|
11
11
|
asChild: { type: Boolean, required: false },
|
|
12
|
-
as: { type:
|
|
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>
|
|
@@ -13,6 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
<CollapsibleContent
|
|
14
14
|
v-bind="props"
|
|
15
15
|
:class="cn(
|
|
16
|
+
'data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down',
|
|
16
17
|
'collapsible-content',
|
|
17
18
|
props.class
|
|
18
19
|
)"
|
|
@@ -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 },
|
|
@@ -22,7 +22,7 @@ const props = defineProps({
|
|
|
22
22
|
forceMount: { type: Boolean, required: false },
|
|
23
23
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
24
24
|
asChild: { type: Boolean, required: false },
|
|
25
|
-
as: { type:
|
|
25
|
+
as: { type: [String, Object, Function], required: false },
|
|
26
26
|
class: { type: null, required: false }
|
|
27
27
|
});
|
|
28
28
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -17,7 +17,8 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
17
17
|
data-slot="dialog-description"
|
|
18
18
|
v-bind="forwardedProps"
|
|
19
19
|
:class="cn(
|
|
20
|
-
'
|
|
20
|
+
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-48% data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-48%',
|
|
21
|
+
'dialog-description',
|
|
21
22
|
props.una?.dialogDescription,
|
|
22
23
|
props.class
|
|
23
24
|
)"
|
|
@@ -22,7 +22,7 @@ const props = defineProps({
|
|
|
22
22
|
forceMount: { type: Boolean, required: false },
|
|
23
23
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
24
24
|
asChild: { type: Boolean, required: false },
|
|
25
|
-
as: { type:
|
|
25
|
+
as: { type: [String, Object, Function], required: false },
|
|
26
26
|
class: { type: null, required: false }
|
|
27
27
|
});
|
|
28
28
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
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 },
|
|
@@ -33,7 +33,7 @@ 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
39
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -45,7 +45,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
45
45
|
<DropdownMenuContent
|
|
46
46
|
v-bind="forwarded"
|
|
47
47
|
:class="cn(
|
|
48
|
-
'dropdown-menu-content data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95
|
|
48
|
+
'dropdown-menu-content data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
|
|
49
49
|
props.una?.dropdownMenuContent,
|
|
50
50
|
props.class
|
|
51
51
|
)"
|
|
@@ -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
|
|
|
@@ -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 },
|
|
@@ -8,7 +8,7 @@ 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:
|
|
11
|
+
as: { type: [String, Object, Function], required: false }
|
|
12
12
|
});
|
|
13
13
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
14
14
|
const forwardedProps = useForwardProps(delegatedProps);
|