@una-ui/nuxt 1.0.0-alpha.7 → 1.0.0-alpha.9
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 +3 -3
- package/dist/module.mjs +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/combobox/Combobox.vue +3 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
- 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/ComboboxInput.vue.d.ts +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 +4 -1
- package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
- 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 +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/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
- 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/Toggle.vue.d.ts +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/DropdownMenu.vue.d.ts +3 -3
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +4 -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 +4 -2
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
- 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/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/PaginationListItem.vue.d.ts +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 +4 -1
- 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 +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/Input.vue.d.ts +1 -13
- 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/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
- package/dist/runtime/components/forms/select/Select.vue.d.ts +16 -16
- package/dist/runtime/components/forms/select/SelectContent.vue +4 -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 +4 -1
- package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +10 -10
- 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/NavigationMenuLink.vue.d.ts +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 +2 -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/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 +1 -1
- 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 +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 +2 -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/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/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
- package/dist/runtime/components/stepper/Stepper.vue +163 -0
- package/dist/runtime/components/stepper/Stepper.vue.d.ts +62 -0
- package/dist/runtime/components/stepper/StepperContainer.vue +21 -0
- package/dist/runtime/components/stepper/StepperContainer.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperDescription.vue +28 -0
- package/dist/runtime/components/stepper/StepperDescription.vue.d.ts +13 -0
- package/dist/runtime/components/stepper/StepperHeader.vue +21 -0
- package/dist/runtime/components/stepper/StepperHeader.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperIndicator.vue +34 -0
- package/dist/runtime/components/stepper/StepperIndicator.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperItem.vue +44 -0
- package/dist/runtime/components/stepper/StepperItem.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperSeparator.vue +29 -0
- package/dist/runtime/components/stepper/StepperSeparator.vue.d.ts +6 -0
- package/dist/runtime/components/stepper/StepperTitle.vue +27 -0
- package/dist/runtime/components/stepper/StepperTitle.vue.d.ts +13 -0
- package/dist/runtime/components/stepper/StepperTrigger.vue +29 -0
- package/dist/runtime/components/stepper/StepperTrigger.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperWrapper.vue +21 -0
- package/dist/runtime/components/stepper/StepperWrapper.vue.d.ts +15 -0
- package/dist/runtime/components/toggle-group/ToggleGroup.vue +70 -0
- package/dist/runtime/components/toggle-group/ToggleGroup.vue.d.ts +23 -0
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue +75 -0
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue.d.ts +18 -0
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/stepper.d.ts +129 -0
- package/dist/runtime/types/stepper.js +0 -0
- package/dist/runtime/types/toggle-group.d.ts +39 -0
- package/dist/runtime/types/toggle-group.js +0 -0
- package/package.json +16 -16
|
@@ -9,55 +9,55 @@ declare const _default: <T extends AcceptableValue, I extends Array<T | SelectGr
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: {
|
|
11
11
|
default?: (props: {
|
|
12
|
-
modelValue:
|
|
13
|
-
open:
|
|
12
|
+
modelValue: any;
|
|
13
|
+
open: any;
|
|
14
14
|
}) => any;
|
|
15
15
|
} & {
|
|
16
16
|
'trigger-wrapper'?: (props: {
|
|
17
|
-
modelValue:
|
|
18
|
-
open:
|
|
17
|
+
modelValue: any;
|
|
18
|
+
open: any;
|
|
19
19
|
}) => any;
|
|
20
20
|
} & {
|
|
21
21
|
trigger?: (props: {
|
|
22
|
-
modelValue:
|
|
23
|
-
open:
|
|
22
|
+
modelValue: any;
|
|
23
|
+
open: any;
|
|
24
24
|
}) => any;
|
|
25
25
|
} & {
|
|
26
26
|
value?: (props: {
|
|
27
|
-
modelValue:
|
|
28
|
-
open:
|
|
27
|
+
modelValue: any;
|
|
28
|
+
open: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
content?: (props: {
|
|
32
|
-
items:
|
|
32
|
+
items: any;
|
|
33
33
|
}) => any;
|
|
34
34
|
} & {
|
|
35
35
|
label?: (props: {
|
|
36
|
-
label:
|
|
36
|
+
label: any;
|
|
37
37
|
}) => any;
|
|
38
38
|
} & {
|
|
39
39
|
item?: (props: {
|
|
40
|
-
item:
|
|
40
|
+
item: any;
|
|
41
41
|
}) => any;
|
|
42
42
|
} & {
|
|
43
43
|
indicator?: (props: {
|
|
44
|
-
item:
|
|
44
|
+
item: any;
|
|
45
45
|
}) => any;
|
|
46
46
|
} & {
|
|
47
47
|
group?: (props: {
|
|
48
|
-
items:
|
|
48
|
+
items: any;
|
|
49
49
|
}) => any;
|
|
50
50
|
} & {
|
|
51
51
|
label?: (props: {
|
|
52
|
-
label:
|
|
52
|
+
label: any;
|
|
53
53
|
}) => any;
|
|
54
54
|
} & {
|
|
55
55
|
item?: (props: {
|
|
56
|
-
item:
|
|
56
|
+
item: any;
|
|
57
57
|
}) => any;
|
|
58
58
|
} & {
|
|
59
59
|
indicator?: (props: {
|
|
60
|
-
item:
|
|
60
|
+
item: any;
|
|
61
61
|
}) => any;
|
|
62
62
|
};
|
|
63
63
|
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "update:open", value: boolean) => void);
|
|
@@ -22,8 +22,10 @@ const props = defineProps({
|
|
|
22
22
|
bodyLock: { type: Boolean, required: false },
|
|
23
23
|
side: { type: null, required: false },
|
|
24
24
|
sideOffset: { type: Number, required: false },
|
|
25
|
+
sideFlip: { type: Boolean, required: false },
|
|
25
26
|
align: { type: null, required: false },
|
|
26
27
|
alignOffset: { type: Number, required: false },
|
|
28
|
+
alignFlip: { type: Boolean, required: false },
|
|
27
29
|
avoidCollisions: { type: Boolean, required: false },
|
|
28
30
|
collisionBoundary: { type: null, required: false },
|
|
29
31
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -36,7 +38,7 @@ const props = defineProps({
|
|
|
36
38
|
prioritizePosition: { type: Boolean, required: false },
|
|
37
39
|
reference: { type: null, required: false },
|
|
38
40
|
asChild: { type: Boolean, required: false },
|
|
39
|
-
as: { type:
|
|
41
|
+
as: { type: [String, Object, Function], required: false },
|
|
40
42
|
class: { type: null, required: false },
|
|
41
43
|
size: { type: null, required: false }
|
|
42
44
|
});
|
|
@@ -51,6 +53,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
51
53
|
v-bind="{ ...forwarded, ...$attrs }"
|
|
52
54
|
:class="
|
|
53
55
|
cn(
|
|
56
|
+
'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',
|
|
54
57
|
'select-content',
|
|
55
58
|
position === 'popper' && 'select-content-popper',
|
|
56
59
|
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
|
});
|
|
@@ -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
|
class: { type: null, required: false },
|
|
22
22
|
size: { type: null, required: false }
|
|
23
23
|
});
|
|
@@ -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
|
});
|
|
@@ -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
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -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
|
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 }
|
|
11
11
|
});
|
|
@@ -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
|
});
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
closeDelay: { type: Number, required: false },
|
|
18
18
|
reference: { type: null, 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
|
height: { type: Number, required: false, default: 6 },
|
|
9
9
|
rounded: { type: Boolean, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
hoverCard: { type: null, required: false },
|
|
13
13
|
class: { type: null, required: false },
|
|
14
14
|
size: { type: null, required: false }
|
|
@@ -14,8 +14,10 @@ const props = defineProps({
|
|
|
14
14
|
forceMount: { type: Boolean, required: false },
|
|
15
15
|
side: { type: null, required: false },
|
|
16
16
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
17
|
+
sideFlip: { type: Boolean, required: false },
|
|
17
18
|
align: { type: null, required: false },
|
|
18
19
|
alignOffset: { type: Number, required: false },
|
|
20
|
+
alignFlip: { type: Boolean, required: false },
|
|
19
21
|
avoidCollisions: { type: Boolean, required: false },
|
|
20
22
|
collisionBoundary: { type: null, required: false },
|
|
21
23
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -28,7 +30,7 @@ const props = defineProps({
|
|
|
28
30
|
prioritizePosition: { type: Boolean, required: false },
|
|
29
31
|
reference: { type: null, required: false },
|
|
30
32
|
asChild: { type: Boolean, required: false },
|
|
31
|
-
as: { type:
|
|
33
|
+
as: { type: [String, Object, Function], required: false },
|
|
32
34
|
hoverCard: { type: null, required: false },
|
|
33
35
|
class: { type: null, required: false },
|
|
34
36
|
size: { type: null, required: false }
|
|
@@ -44,6 +46,7 @@ const forwarded = useForwardProps(delegatedProps);
|
|
|
44
46
|
v-bind="{ ...forwarded, ...$attrs }"
|
|
45
47
|
:class="
|
|
46
48
|
cn(
|
|
49
|
+
'data-[state=hidden]:opacity-0 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',
|
|
47
50
|
'hover-card-content',
|
|
48
51
|
props.una?.hoverCardContent,
|
|
49
52
|
props.class
|
|
@@ -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
|
type: { type: String, required: false },
|
|
11
11
|
loadingPlacement: { type: String, required: false },
|
|
12
12
|
icon: { type: Boolean, required: false },
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
import type { NBreadcrumbProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_5: {
|
|
3
|
-
items:
|
|
4
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
5
|
-
}>[];
|
|
3
|
+
items: any;
|
|
6
4
|
}, __VLS_10: {
|
|
7
|
-
item:
|
|
8
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
9
|
-
}>;
|
|
5
|
+
item: any;
|
|
10
6
|
}, __VLS_15: {
|
|
11
|
-
item:
|
|
12
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
13
|
-
}>;
|
|
7
|
+
item: any;
|
|
14
8
|
}, __VLS_20: {
|
|
15
|
-
item:
|
|
16
|
-
|
|
17
|
-
}>;
|
|
18
|
-
index: number;
|
|
9
|
+
item: any;
|
|
10
|
+
index: any;
|
|
19
11
|
isActive: boolean;
|
|
20
12
|
}, __VLS_22: {
|
|
21
|
-
item:
|
|
22
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
23
|
-
}>;
|
|
13
|
+
item: any;
|
|
24
14
|
}, __VLS_33: {};
|
|
25
15
|
type __VLS_Slots = {} & {
|
|
26
16
|
root?: (props: typeof __VLS_5) => any;
|
|
@@ -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 },
|
|
@@ -7,31 +7,31 @@ declare const _default: <T extends U[], U extends NNavigationMenuItemProps>(__VL
|
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: {
|
|
9
9
|
[x: string]: ((props: {
|
|
10
|
-
item:
|
|
11
|
-
active:
|
|
10
|
+
item: any;
|
|
11
|
+
active: any;
|
|
12
12
|
}) => any) | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
[x:
|
|
15
|
-
items:
|
|
16
|
-
item:
|
|
14
|
+
[x: string]: ((props: {
|
|
15
|
+
items: any;
|
|
16
|
+
item: any;
|
|
17
17
|
}) => any) | undefined;
|
|
18
18
|
} & {
|
|
19
19
|
[x: string]: ((props: {
|
|
20
|
-
item:
|
|
20
|
+
item: any;
|
|
21
21
|
}) => any) | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
default?: (props: {
|
|
24
|
-
items:
|
|
24
|
+
items: any;
|
|
25
25
|
}) => any;
|
|
26
26
|
} & {
|
|
27
27
|
list?: (props: {
|
|
28
|
-
items:
|
|
28
|
+
items: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
trigger?: (props: {
|
|
32
32
|
modelValue: any;
|
|
33
|
-
item:
|
|
34
|
-
index:
|
|
33
|
+
item: any;
|
|
34
|
+
index: any;
|
|
35
35
|
}) => any;
|
|
36
36
|
} & {
|
|
37
37
|
viewport?: (props: {}) => any;
|
|
@@ -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
|
});
|
|
@@ -18,6 +18,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
18
18
|
<NavigationMenuIndicator
|
|
19
19
|
v-bind="forwardedProps"
|
|
20
20
|
:class="cn(
|
|
21
|
+
'data-[state=hidden]:opacity-0 data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut',
|
|
21
22
|
'navigation-menu-indicator',
|
|
22
23
|
props.una?.navigationMenuIndicator,
|
|
23
24
|
props.class
|
|
@@ -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 },
|
|
@@ -12,7 +12,7 @@ const props = defineProps({
|
|
|
12
12
|
una: { type: Object, required: false },
|
|
13
13
|
active: { type: Boolean, required: false },
|
|
14
14
|
asChild: { type: Boolean, required: false },
|
|
15
|
-
as: { type:
|
|
15
|
+
as: { type: [String, Object, Function], required: false, default: Button },
|
|
16
16
|
type: { type: String, required: false },
|
|
17
17
|
loadingPlacement: { type: String, required: false },
|
|
18
18
|
icon: { type: Boolean, required: false },
|
|
@@ -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
|
orientation: { type: String, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
@@ -14,7 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
una: { type: Object, required: false },
|
|
15
15
|
disabled: { type: Boolean, required: false },
|
|
16
16
|
asChild: { type: Boolean, required: false },
|
|
17
|
-
as: { type:
|
|
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 },
|
|
@@ -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
|
});
|
|
@@ -34,6 +34,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
34
34
|
cn(
|
|
35
35
|
'navigation-menu-viewport',
|
|
36
36
|
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90',
|
|
37
|
+
'data-[state=closed]:fade-out data-[state=open]:fade-in',
|
|
37
38
|
props.una?.navigationMenuViewport
|
|
38
39
|
)
|
|
39
40
|
"
|
|
@@ -19,11 +19,12 @@ const props = defineProps({
|
|
|
19
19
|
formatOptions: { type: null, required: false },
|
|
20
20
|
locale: { type: String, required: false },
|
|
21
21
|
disabled: { type: Boolean, required: false },
|
|
22
|
+
readonly: { type: Boolean, required: false },
|
|
22
23
|
disableWheelChange: { type: Boolean, required: false },
|
|
23
24
|
invertWheelChange: { type: Boolean, required: false },
|
|
24
25
|
id: { type: String, required: false },
|
|
25
26
|
asChild: { type: Boolean, required: false },
|
|
26
|
-
as: { type:
|
|
27
|
+
as: { type: [String, Object, Function], required: false },
|
|
27
28
|
name: { type: String, required: false },
|
|
28
29
|
required: { type: Boolean, required: false },
|
|
29
30
|
leading: { type: String, required: false, default: "i-lucide-minus" },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
una: { type: Object, required: false },
|
|
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: "md" }
|
|
14
14
|
});
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
una: { type: Object, required: false },
|
|
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: "md" }
|
|
14
14
|
});
|
|
@@ -4,7 +4,7 @@ import { cn } from "../../utils";
|
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
una: { type: Object, 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
|
size: { type: null, required: false },
|
|
10
10
|
numberField: { type: null, required: false, default: "outline-primary" }
|
|
@@ -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
|
import type { NToastProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_10: {}, __VLS_15: {}, __VLS_20: {}, __VLS_25: {}, __VLS_30: {}, __VLS_32: {
|
|
3
|
-
actions:
|
|
3
|
+
actions: any;
|
|
4
4
|
}, __VLS_40: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
leading?: (props: typeof __VLS_10) => any;
|
|
@@ -38,7 +38,7 @@ const props = defineProps({
|
|
|
38
38
|
ariaLabel: { type: String, required: false },
|
|
39
39
|
altText: { type: String, required: true },
|
|
40
40
|
asChild: { type: Boolean, required: false },
|
|
41
|
-
as: { type:
|
|
41
|
+
as: { type: [String, Object, Function], required: false }
|
|
42
42
|
});
|
|
43
43
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
44
44
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NToastActionProps } from '../../../types/index.js';
|
|
2
|
-
declare var __VLS_10:
|
|
2
|
+
declare var __VLS_10: any, __VLS_11: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
@@ -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(() => {
|
|
@@ -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"]);
|
|
@@ -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
|
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
13
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -28,7 +28,7 @@ const props = defineProps({
|
|
|
28
28
|
disabled: { type: Boolean, required: false },
|
|
29
29
|
id: { type: String, required: false },
|
|
30
30
|
asChild: { type: Boolean, required: false },
|
|
31
|
-
as: { type:
|
|
31
|
+
as: { type: [String, Object, Function], required: false },
|
|
32
32
|
name: { type: String, required: false },
|
|
33
33
|
required: { type: Boolean, required: false },
|
|
34
34
|
pinInput: { type: null, required: false, default: "outline-primary" },
|
|
@@ -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
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
icon: { type: String, required: false, default: "i-lucide-minus" },
|
|
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
|
});
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
index: { type: Number, required: true },
|
|
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
|
icon: { type: String, required: false },
|
|
15
15
|
class: { type: null, required: false },
|
|
16
16
|
size: { type: null, required: false }
|