@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
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"configKey": "una",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.9",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": ">=3.0.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "1.0.
|
|
10
|
-
"unbuild": "3.
|
|
9
|
+
"@nuxt/module-builder": "1.0.2",
|
|
10
|
+
"unbuild": "3.6.1"
|
|
11
11
|
}
|
|
12
12
|
}
|
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 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogActionProps } 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
|
};
|
|
@@ -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 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogCancelProps } 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
|
};
|
|
@@ -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
|
});
|
|
@@ -45,6 +45,8 @@ const props = defineProps({
|
|
|
45
45
|
defaultOpen: { type: Boolean, required: false },
|
|
46
46
|
resetSearchTermOnBlur: { type: Boolean, required: false },
|
|
47
47
|
resetSearchTermOnSelect: { type: Boolean, required: false },
|
|
48
|
+
openOnFocus: { type: Boolean, required: false },
|
|
49
|
+
openOnClick: { type: Boolean, required: false },
|
|
48
50
|
ignoreFilter: { type: Boolean, required: false },
|
|
49
51
|
defaultValue: { type: null, required: false },
|
|
50
52
|
dir: { type: String, required: false },
|
|
@@ -52,7 +54,7 @@ const props = defineProps({
|
|
|
52
54
|
highlightOnHover: { type: Boolean, required: false },
|
|
53
55
|
by: { type: [String, Function], required: false },
|
|
54
56
|
asChild: { type: Boolean, required: false },
|
|
55
|
-
as: { type:
|
|
57
|
+
as: { type: [String, Object, Function], required: false },
|
|
56
58
|
name: { type: String, required: false },
|
|
57
59
|
required: { type: Boolean, required: false },
|
|
58
60
|
status: { type: String, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptableValue } from 'reka-ui';
|
|
2
|
-
import type { ExtractItemType,
|
|
2
|
+
import type { ExtractItemType, NComboboxProps } from '../../types/index.js';
|
|
3
3
|
declare const _default: <T extends AcceptableValue, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly "onUpdate:modelValue"?: ((value: ExtractItemType<T>) => any) | undefined;
|
|
@@ -19,20 +19,20 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
|
|
|
19
19
|
'trigger-wrapper'?: (props: {}) => any;
|
|
20
20
|
} & {
|
|
21
21
|
trigger?: (props: {
|
|
22
|
-
modelValue:
|
|
23
|
-
open:
|
|
22
|
+
modelValue: any;
|
|
23
|
+
open: any;
|
|
24
24
|
}) => any;
|
|
25
25
|
} & {
|
|
26
26
|
'input-wrapper'?: (props: {
|
|
27
|
-
modelValue:
|
|
28
|
-
open:
|
|
27
|
+
modelValue: any;
|
|
28
|
+
open: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
list?: (props: {}) => any;
|
|
32
32
|
} & {
|
|
33
33
|
'input-wrapper'?: (props: {
|
|
34
|
-
modelValue:
|
|
35
|
-
open:
|
|
34
|
+
modelValue: any;
|
|
35
|
+
open: any;
|
|
36
36
|
}) => any;
|
|
37
37
|
} & {
|
|
38
38
|
header?: (props: {}) => any;
|
|
@@ -44,34 +44,34 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
|
|
|
44
44
|
group?: (props: {}) => any;
|
|
45
45
|
} & {
|
|
46
46
|
item?: (props: {
|
|
47
|
-
item:
|
|
48
|
-
selected:
|
|
47
|
+
item: any;
|
|
48
|
+
selected: any;
|
|
49
49
|
}) => any;
|
|
50
50
|
} & {
|
|
51
51
|
label?: (props: {
|
|
52
|
-
item:
|
|
52
|
+
item: any;
|
|
53
53
|
}) => any;
|
|
54
54
|
} & {
|
|
55
55
|
'item-indicator'?: (props: {
|
|
56
|
-
item:
|
|
56
|
+
item: any;
|
|
57
57
|
}) => any;
|
|
58
58
|
} & {
|
|
59
59
|
group?: (props: {
|
|
60
|
-
group:
|
|
60
|
+
group: any;
|
|
61
61
|
}) => any;
|
|
62
62
|
} & {
|
|
63
63
|
item?: (props: {
|
|
64
|
-
item:
|
|
65
|
-
group:
|
|
66
|
-
selected:
|
|
64
|
+
item: any;
|
|
65
|
+
group: any;
|
|
66
|
+
selected: any;
|
|
67
67
|
}) => any;
|
|
68
68
|
} & {
|
|
69
69
|
label?: (props: {
|
|
70
|
-
item:
|
|
70
|
+
item: any;
|
|
71
71
|
}) => any;
|
|
72
72
|
} & {
|
|
73
73
|
indicator?: (props: {
|
|
74
|
-
item:
|
|
74
|
+
item: any;
|
|
75
75
|
}) => any;
|
|
76
76
|
} & {
|
|
77
77
|
footer?: (props: {}) => any;
|
|
@@ -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
|
});
|
|
@@ -13,8 +13,10 @@ const props = defineProps({
|
|
|
13
13
|
bodyLock: { type: Boolean, required: false },
|
|
14
14
|
side: { type: null, required: false },
|
|
15
15
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
16
|
+
sideFlip: { type: Boolean, required: false },
|
|
16
17
|
align: { type: null, required: false, default: "center" },
|
|
17
18
|
alignOffset: { type: Number, required: false },
|
|
19
|
+
alignFlip: { type: Boolean, required: false },
|
|
18
20
|
avoidCollisions: { type: Boolean, required: false },
|
|
19
21
|
collisionBoundary: { type: null, required: false },
|
|
20
22
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -27,7 +29,7 @@ const props = defineProps({
|
|
|
27
29
|
prioritizePosition: { type: Boolean, required: false },
|
|
28
30
|
reference: { type: null, required: false },
|
|
29
31
|
asChild: { type: Boolean, required: false },
|
|
30
|
-
as: { type:
|
|
32
|
+
as: { type: [String, Object, Function], required: false },
|
|
31
33
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
32
34
|
class: { type: null, required: false },
|
|
33
35
|
size: { type: null, required: false }
|
|
@@ -47,6 +49,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
47
49
|
v-bind="forwarded"
|
|
48
50
|
:class="cn(
|
|
49
51
|
'origin-(--reka-combobox-content-transform-origin)',
|
|
52
|
+
'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
53
|
'combobox-list',
|
|
51
54
|
props.una?.comboboxList,
|
|
52
55
|
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 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NComboboxTriggerProps } from '../../types/index.js';
|
|
2
|
-
declare var __VLS_6: {}, __VLS_12:
|
|
2
|
+
declare var __VLS_6: {}, __VLS_12: any, __VLS_13: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
5
5
|
} & {
|
|
@@ -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"]);
|
|
@@ -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
|
};
|
|
@@ -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 },
|
|
@@ -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;
|
|
@@ -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 },
|