@una-ui/nuxt 0.54.2 → 0.54.3
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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialog.vue +43 -38
- package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +45 -0
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +35 -9
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +16 -0
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +39 -13
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +16 -0
- package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +39 -33
- package/dist/runtime/components/alert-dialog/AlertDialogContent.vue.d.ts +45 -0
- package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +15 -13
- package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue.d.ts +13 -0
- package/dist/runtime/components/alert-dialog/AlertDialogFooter.vue +12 -11
- package/dist/runtime/components/alert-dialog/AlertDialogFooter.vue.d.ts +13 -0
- package/dist/runtime/components/alert-dialog/AlertDialogHeader.vue +10 -9
- package/dist/runtime/components/alert-dialog/AlertDialogHeader.vue.d.ts +13 -0
- package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +15 -11
- package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue.d.ts +13 -0
- package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +15 -13
- package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue.d.ts +13 -0
- package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +6 -5
- package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue +18 -16
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +18 -0
- package/dist/runtime/components/combobox/Combobox.vue +145 -144
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +89 -0
- package/dist/runtime/components/combobox/ComboboxAnchor.vue +20 -18
- package/dist/runtime/components/combobox/ComboboxAnchor.vue.d.ts +13 -0
- package/dist/runtime/components/combobox/ComboboxEmpty.vue +18 -16
- package/dist/runtime/components/combobox/ComboboxEmpty.vue.d.ts +15 -0
- package/dist/runtime/components/combobox/ComboboxGroup.vue +25 -19
- package/dist/runtime/components/combobox/ComboboxGroup.vue.d.ts +17 -0
- package/dist/runtime/components/combobox/ComboboxInput.vue +38 -24
- package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +16 -0
- package/dist/runtime/components/combobox/ComboboxItem.vue +23 -22
- package/dist/runtime/components/combobox/ComboboxItem.vue.d.ts +18 -0
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +23 -23
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue.d.ts +15 -0
- package/dist/runtime/components/combobox/ComboboxLabel.vue +16 -10
- package/dist/runtime/components/combobox/ComboboxLabel.vue.d.ts +13 -0
- package/dist/runtime/components/combobox/ComboboxList.vue +43 -25
- package/dist/runtime/components/combobox/ComboboxList.vue.d.ts +43 -0
- package/dist/runtime/components/combobox/ComboboxSeparator.vue +18 -16
- package/dist/runtime/components/combobox/ComboboxSeparator.vue.d.ts +13 -0
- package/dist/runtime/components/combobox/ComboboxTrigger.vue +75 -52
- package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +17 -0
- package/dist/runtime/components/combobox/ComboboxViewport.vue +20 -18
- package/dist/runtime/components/combobox/ComboboxViewport.vue.d.ts +13 -0
- package/dist/runtime/components/data/table/Table.vue +206 -186
- package/dist/runtime/components/data/table/Table.vue.d.ts +184 -0
- package/dist/runtime/components/data/table/TableBody.vue +15 -15
- package/dist/runtime/components/data/table/TableBody.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableCaption.vue +16 -16
- package/dist/runtime/components/data/table/TableCaption.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableCell.vue +20 -19
- package/dist/runtime/components/data/table/TableCell.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableEmpty.vue +27 -27
- package/dist/runtime/components/data/table/TableEmpty.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableFooter.vue +15 -15
- package/dist/runtime/components/data/table/TableFooter.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableHead.vue +18 -17
- package/dist/runtime/components/data/table/TableHead.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableHeader.vue +15 -15
- package/dist/runtime/components/data/table/TableHeader.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableLoading.vue +31 -28
- package/dist/runtime/components/data/table/TableLoading.vue.d.ts +15 -0
- package/dist/runtime/components/data/table/TableRow.vue +15 -15
- package/dist/runtime/components/data/table/TableRow.vue.d.ts +15 -0
- package/dist/runtime/components/elements/Accordion.vue +99 -92
- package/dist/runtime/components/elements/Accordion.vue.d.ts +28 -0
- package/dist/runtime/components/elements/Alert.vue +37 -50
- package/dist/runtime/components/elements/Alert.vue.d.ts +22 -0
- package/dist/runtime/components/elements/AvatarGroup.vue +64 -71
- package/dist/runtime/components/elements/AvatarGroup.vue.d.ts +11 -0
- package/dist/runtime/components/elements/Badge.vue +19 -20
- package/dist/runtime/components/elements/Badge.vue.d.ts +26 -0
- package/dist/runtime/components/elements/Button.vue +75 -62
- package/dist/runtime/components/elements/Button.vue.d.ts +34 -0
- package/dist/runtime/components/elements/Icon.vue +4 -4
- package/dist/runtime/components/elements/Icon.vue.d.ts +3 -0
- package/dist/runtime/components/elements/Indicator.vue +25 -29
- package/dist/runtime/components/elements/Indicator.vue.d.ts +19 -0
- package/dist/runtime/components/elements/Kbd.vue +13 -12
- package/dist/runtime/components/elements/Kbd.vue.d.ts +13 -0
- package/dist/runtime/components/elements/Label.vue +17 -14
- package/dist/runtime/components/elements/Label.vue.d.ts +13 -0
- package/dist/runtime/components/elements/Link.vue +2 -2
- package/dist/runtime/components/elements/Link.vue.d.ts +0 -109
- package/dist/runtime/components/elements/Progress.vue +36 -35
- package/dist/runtime/components/elements/Progress.vue.d.ts +18 -0
- package/dist/runtime/components/elements/Separator.vue +31 -26
- package/dist/runtime/components/elements/Separator.vue.d.ts +15 -0
- package/dist/runtime/components/elements/Skeleton.vue +15 -11
- package/dist/runtime/components/elements/Skeleton.vue.d.ts +13 -0
- package/dist/runtime/components/elements/Toggle.vue +48 -26
- package/dist/runtime/components/elements/Toggle.vue.d.ts +22 -0
- package/dist/runtime/components/elements/avatar/Avatar.vue +31 -22
- package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +21 -0
- package/dist/runtime/components/elements/avatar/AvatarFallback.vue +26 -17
- package/dist/runtime/components/elements/avatar/AvatarFallback.vue.d.ts +13 -0
- package/dist/runtime/components/elements/avatar/AvatarImage.vue +20 -11
- package/dist/runtime/components/elements/avatar/AvatarImage.vue.d.ts +3 -0
- package/dist/runtime/components/elements/card/Card.vue +28 -24
- package/dist/runtime/components/elements/card/Card.vue.d.ts +25 -0
- package/dist/runtime/components/elements/card/CardContent.vue +10 -9
- package/dist/runtime/components/elements/card/CardContent.vue.d.ts +13 -0
- package/dist/runtime/components/elements/card/CardDescription.vue +10 -9
- package/dist/runtime/components/elements/card/CardDescription.vue.d.ts +13 -0
- package/dist/runtime/components/elements/card/CardFooter.vue +10 -9
- package/dist/runtime/components/elements/card/CardFooter.vue.d.ts +13 -0
- package/dist/runtime/components/elements/card/CardHeader.vue +10 -9
- package/dist/runtime/components/elements/card/CardHeader.vue.d.ts +13 -0
- package/dist/runtime/components/elements/card/CardTitle.vue +12 -11
- package/dist/runtime/components/elements/card/CardTitle.vue.d.ts +13 -0
- package/dist/runtime/components/elements/collapsible/Collapsible.vue +15 -11
- package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +25 -0
- package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +12 -9
- package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue.d.ts +13 -0
- package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +6 -5
- package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dialog/Dialog.vue +43 -35
- package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +34 -0
- package/dist/runtime/components/elements/dialog/DialogClose.vue +34 -11
- package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/runtime/components/elements/dialog/DialogContent.vue +40 -35
- package/dist/runtime/components/elements/dialog/DialogContent.vue.d.ts +46 -0
- package/dist/runtime/components/elements/dialog/DialogDescription.vue +16 -15
- package/dist/runtime/components/elements/dialog/DialogDescription.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dialog/DialogFooter.vue +10 -9
- package/dist/runtime/components/elements/dialog/DialogFooter.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dialog/DialogHeader.vue +10 -9
- package/dist/runtime/components/elements/dialog/DialogHeader.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dialog/DialogOverlay.vue +13 -11
- package/dist/runtime/components/elements/dialog/DialogOverlay.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +39 -37
- package/dist/runtime/components/elements/dialog/DialogScrollContent.vue.d.ts +46 -0
- package/dist/runtime/components/elements/dialog/DialogTitle.vue +19 -17
- package/dist/runtime/components/elements/dialog/DialogTitle.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +85 -38
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +61 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +43 -26
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue.d.ts +43 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +14 -10
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +58 -33
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +14 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +21 -19
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuRoot.vue +13 -9
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuRoot.vue.d.ts +17 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +25 -18
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuShortcut.vue +12 -9
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuShortcut.vue.d.ts +13 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSub.vue +9 -13
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSub.vue.d.ts +17 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +36 -21
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue.d.ts +45 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +52 -27
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +16 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +44 -17
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/elements/pagination/Pagination.vue +51 -31
- package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +41 -0
- package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +27 -25
- package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue.d.ts +15 -0
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +45 -25
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +18 -0
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +45 -25
- package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +18 -0
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +50 -27
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +17 -0
- package/dist/runtime/components/elements/pagination/PaginationNext.vue +45 -25
- package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +18 -0
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue +45 -25
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +18 -0
- package/dist/runtime/components/elements/popover/Popover.vue +15 -16
- package/dist/runtime/components/elements/popover/Popover.vue.d.ts +21 -0
- package/dist/runtime/components/elements/popover/PopoverContent.vue +39 -31
- package/dist/runtime/components/elements/popover/PopoverContent.vue.d.ts +46 -0
- package/dist/runtime/components/elements/tabs/Tabs.vue +32 -21
- package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +28 -0
- package/dist/runtime/components/elements/tabs/TabsContent.vue +22 -18
- package/dist/runtime/components/elements/tabs/TabsContent.vue.d.ts +13 -0
- package/dist/runtime/components/elements/tabs/TabsList.vue +19 -14
- package/dist/runtime/components/elements/tabs/TabsList.vue.d.ts +13 -0
- package/dist/runtime/components/elements/tabs/TabsRoot.vue +22 -13
- package/dist/runtime/components/elements/tabs/TabsRoot.vue.d.ts +17 -0
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue +47 -19
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/elements/tooltip/Tooltip.vue +36 -24
- package/dist/runtime/components/elements/tooltip/Tooltip.vue.d.ts +19 -0
- package/dist/runtime/components/elements/tooltip/TooltipContent.vue +37 -27
- package/dist/runtime/components/elements/tooltip/TooltipContent.vue.d.ts +22 -0
- package/dist/runtime/components/elements/tooltip/TooltipProvider.vue +10 -7
- package/dist/runtime/components/elements/tooltip/TooltipProvider.vue.d.ts +15 -0
- package/dist/runtime/components/elements/tooltip/TooltipRoot.vue +13 -9
- package/dist/runtime/components/elements/tooltip/TooltipRoot.vue.d.ts +17 -0
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +34 -5
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue.d.ts +13 -0
- package/dist/runtime/components/forms/Checkbox.vue +49 -42
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +21 -0
- package/dist/runtime/components/forms/FormGroup.vue +40 -33
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +27 -0
- package/dist/runtime/components/forms/Input.vue +118 -134
- package/dist/runtime/components/forms/Input.vue.d.ts +31 -0
- package/dist/runtime/components/forms/Slider.vue +48 -33
- package/dist/runtime/components/forms/Slider.vue.d.ts +25 -0
- package/dist/runtime/components/forms/Switch.vue +43 -42
- package/dist/runtime/components/forms/Switch.vue.d.ts +27 -0
- package/dist/runtime/components/forms/form/FormControl.vue +4 -5
- package/dist/runtime/components/forms/form/FormControl.vue.d.ts +12 -0
- package/dist/runtime/components/forms/form/FormDescription.vue +12 -12
- package/dist/runtime/components/forms/form/FormDescription.vue.d.ts +13 -0
- package/dist/runtime/components/forms/form/FormField.vue +65 -56
- package/dist/runtime/components/forms/form/FormField.vue.d.ts +25 -0
- package/dist/runtime/components/forms/form/FormItem.vue +14 -14
- package/dist/runtime/components/forms/form/FormItem.vue.d.ts +13 -0
- package/dist/runtime/components/forms/form/FormLabel.vue +17 -13
- package/dist/runtime/components/forms/form/FormLabel.vue.d.ts +13 -0
- package/dist/runtime/components/forms/form/FormMessage.vue +14 -14
- package/dist/runtime/components/forms/form/FormMessage.vue.d.ts +3 -0
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue +66 -62
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +29 -0
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +60 -54
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/runtime/components/forms/select/Select.vue +81 -63
- package/dist/runtime/components/forms/select/Select.vue.d.ts +72 -0
- package/dist/runtime/components/forms/select/SelectContent.vue +55 -38
- package/dist/runtime/components/forms/select/SelectContent.vue.d.ts +27 -0
- package/dist/runtime/components/forms/select/SelectGroup.vue +18 -16
- package/dist/runtime/components/forms/select/SelectGroup.vue.d.ts +13 -0
- package/dist/runtime/components/forms/select/SelectItem.vue +31 -25
- package/dist/runtime/components/forms/select/SelectItem.vue.d.ts +17 -0
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue +17 -15
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue.d.ts +15 -0
- package/dist/runtime/components/forms/select/SelectItemText.vue +9 -5
- package/dist/runtime/components/forms/select/SelectItemText.vue.d.ts +13 -0
- package/dist/runtime/components/forms/select/SelectLabel.vue +15 -10
- package/dist/runtime/components/forms/select/SelectLabel.vue.d.ts +13 -0
- package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +20 -19
- package/dist/runtime/components/forms/select/SelectScrollDownButton.vue.d.ts +13 -0
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +20 -19
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue.d.ts +13 -0
- package/dist/runtime/components/forms/select/SelectSeparator.vue +18 -16
- package/dist/runtime/components/forms/select/SelectSeparator.vue.d.ts +3 -0
- package/dist/runtime/components/forms/select/SelectTrigger.vue +79 -54
- package/dist/runtime/components/forms/select/SelectTrigger.vue.d.ts +15 -0
- package/dist/runtime/components/forms/select/SelectValue.vue +15 -10
- package/dist/runtime/components/forms/select/SelectValue.vue.d.ts +13 -0
- package/dist/runtime/components/misc/ThemeSwitcher.vue +51 -69
- package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +16 -0
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue +35 -22
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +45 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue +13 -14
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +16 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbItem.vue +10 -9
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbItem.vue.d.ts +13 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbLink.vue +46 -26
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbLink.vue.d.ts +18 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbList.vue +10 -9
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbList.vue.d.ts +13 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbPage.vue +5 -7
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbRoot.vue +9 -8
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbRoot.vue.d.ts +13 -0
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue +13 -13
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue +52 -32
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +46 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +22 -19
- package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue.d.ts +39 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +53 -24
- package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue.d.ts +21 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +18 -15
- package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue.d.ts +13 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +40 -5
- package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue.d.ts +13 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +51 -28
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +27 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +24 -22
- package/dist/runtime/components/navigation-menu/NavigationMenuList.vue.d.ts +13 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +54 -34
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +29 -26
- package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue.d.ts +3 -0
- package/dist/runtime/components/overlays/Toaster.vue +19 -16
- package/dist/runtime/components/overlays/Toaster.vue.d.ts +13 -0
- package/dist/runtime/components/overlays/toast/Toast.vue +58 -38
- package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +112 -0
- package/dist/runtime/components/overlays/toast/ToastAction.vue +42 -19
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +16 -0
- package/dist/runtime/components/overlays/toast/ToastClose.vue +21 -20
- package/dist/runtime/components/overlays/toast/ToastClose.vue.d.ts +3 -0
- package/dist/runtime/components/overlays/toast/ToastDescription.vue +17 -16
- package/dist/runtime/components/overlays/toast/ToastDescription.vue.d.ts +13 -0
- package/dist/runtime/components/overlays/toast/ToastInfo.vue +10 -9
- package/dist/runtime/components/overlays/toast/ToastInfo.vue.d.ts +13 -0
- package/dist/runtime/components/overlays/toast/ToastProvider.vue +8 -7
- package/dist/runtime/components/overlays/toast/ToastProvider.vue.d.ts +15 -0
- package/dist/runtime/components/overlays/toast/ToastTitle.vue +17 -16
- package/dist/runtime/components/overlays/toast/ToastTitle.vue.d.ts +13 -0
- package/dist/runtime/components/overlays/toast/ToastViewport.vue +19 -16
- package/dist/runtime/components/overlays/toast/ToastViewport.vue.d.ts +3 -0
- package/dist/runtime/components/resizable/ResizableHandle.vue +36 -36
- package/dist/runtime/components/resizable/ResizableHandle.vue.d.ts +21 -0
- package/dist/runtime/components/resizable/ResizablePanel.vue +24 -17
- package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +24 -0
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +22 -17
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +19 -0
- package/dist/runtime/components/scroll-area/ScrollArea.vue +31 -23
- package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +17 -0
- package/dist/runtime/components/scroll-area/ScrollBar.vue +29 -25
- package/dist/runtime/components/scroll-area/ScrollBar.vue.d.ts +6 -0
- package/dist/runtime/components/sheet/Sheet.vue +40 -29
- package/dist/runtime/components/sheet/Sheet.vue.d.ts +36 -0
- package/dist/runtime/components/sheet/SheetClose.vue +34 -12
- package/dist/runtime/components/sheet/SheetClose.vue.d.ts +42 -0
- package/dist/runtime/components/sheet/SheetContent.vue +35 -29
- package/dist/runtime/components/sheet/SheetContent.vue.d.ts +68 -0
- package/dist/runtime/components/sheet/SheetDescription.vue +13 -13
- package/dist/runtime/components/sheet/SheetDescription.vue.d.ts +12 -0
- package/dist/runtime/components/sheet/SheetFooter.vue +12 -11
- package/dist/runtime/components/sheet/SheetFooter.vue.d.ts +12 -0
- package/dist/runtime/components/sheet/SheetHeader.vue +8 -7
- package/dist/runtime/components/sheet/SheetHeader.vue.d.ts +12 -0
- package/dist/runtime/components/sheet/SheetTitle.vue +13 -12
- package/dist/runtime/components/sheet/SheetTitle.vue.d.ts +12 -0
- package/dist/runtime/components/sheet/SheetTrigger.vue +6 -7
- package/dist/runtime/components/sheet/SheetTrigger.vue.d.ts +15 -0
- package/dist/runtime/components/sidebar/Sidebar.vue +48 -52
- package/dist/runtime/components/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/runtime/components/sidebar/SidebarContent.vue +11 -10
- package/dist/runtime/components/sidebar/SidebarContent.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarFooter.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarFooter.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarGroup.vue +12 -10
- package/dist/runtime/components/sidebar/SidebarGroup.vue.d.ts +16 -0
- package/dist/runtime/components/sidebar/SidebarGroupAction.vue +13 -13
- package/dist/runtime/components/sidebar/SidebarGroupAction.vue.d.ts +36 -0
- package/dist/runtime/components/sidebar/SidebarGroupContent.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarGroupContent.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +13 -13
- package/dist/runtime/components/sidebar/SidebarGroupLabel.vue.d.ts +36 -0
- package/dist/runtime/components/sidebar/SidebarHeader.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarHeader.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarInput.vue +26 -10
- package/dist/runtime/components/sidebar/SidebarInput.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarInset.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarInset.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarMenu.vue +16 -14
- package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +22 -0
- package/dist/runtime/components/sidebar/SidebarMenuAction.vue +15 -13
- package/dist/runtime/components/sidebar/SidebarMenuAction.vue.d.ts +34 -0
- package/dist/runtime/components/sidebar/SidebarMenuBadge.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarMenuBadge.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue +27 -28
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +19 -0
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +29 -41
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +31 -0
- package/dist/runtime/components/sidebar/SidebarMenuItem.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarMenuItem.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarMenuSkeleton.vue +15 -14
- package/dist/runtime/components/sidebar/SidebarMenuSkeleton.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarMenuSub.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarMenuSub.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +19 -17
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +16 -0
- package/dist/runtime/components/sidebar/SidebarMenuSubItem.vue +10 -9
- package/dist/runtime/components/sidebar/SidebarMenuSubItem.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarProvider.vue +38 -55
- package/dist/runtime/components/sidebar/SidebarProvider.vue.d.ts +20 -0
- package/dist/runtime/components/sidebar/SidebarRail.vue +12 -12
- package/dist/runtime/components/sidebar/SidebarRail.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarSeparator.vue +11 -10
- package/dist/runtime/components/sidebar/SidebarSeparator.vue.d.ts +12 -0
- package/dist/runtime/components/sidebar/SidebarTrigger.vue +38 -18
- package/dist/runtime/components/sidebar/SidebarTrigger.vue.d.ts +30 -0
- package/dist/types.d.mts +3 -5
- package/dist/una.config.mjs +1 -1
- package/package.json +4 -4
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -37
- package/dist/types.d.ts +0 -7
- package/dist/una.config.d.ts +0 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../../utils";
|
|
3
|
+
import Icon from "../../elements/Icon.vue";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
icon: { type: String, required: false, default: "breadcrumb-separator-icon" },
|
|
6
|
+
size: { type: String, required: false, default: "sm" },
|
|
7
|
+
una: { type: Object, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
@@ -14,10 +14,10 @@ const props = withDefaults(defineProps<NBreadcrumbSeparatorProps>(), {
|
|
|
14
14
|
role="presentation"
|
|
15
15
|
aria-hidden="true"
|
|
16
16
|
:class="cn(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
'breadcrumb-separator',
|
|
18
|
+
props.class,
|
|
19
|
+
props.una?.breadcrumbSeparator
|
|
20
|
+
)"
|
|
21
21
|
:size
|
|
22
22
|
>
|
|
23
23
|
<slot>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NBreadcrumbSeparatorProps } from '../../../types/index.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NBreadcrumbSeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NBreadcrumbSeparatorProps> & Readonly<{}>, {
|
|
7
|
+
size: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,32 +1,52 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import NavigationMenuTrigger from './NavigationMenuTrigger.vue'
|
|
14
|
-
import NavigationMenuViewport from './NavigationMenuViewport.vue'
|
|
15
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { createReusableTemplate, reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { NavigationMenuRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
import { cn, omitProps } from "../../utils";
|
|
5
|
+
import NavigationMenuContent from "./NavigationMenuContent.vue";
|
|
6
|
+
import NavigationMenuContentItem from "./NavigationMenuContentItem.vue";
|
|
7
|
+
import NavigationMenuIndicator from "./NavigationMenuIndicator.vue";
|
|
8
|
+
import NavigationMenuItem from "./NavigationMenuItem.vue";
|
|
9
|
+
import NavigationMenuLink from "./NavigationMenuLink.vue";
|
|
10
|
+
import NavigationMenuList from "./NavigationMenuList.vue";
|
|
11
|
+
import NavigationMenuTrigger from "./NavigationMenuTrigger.vue";
|
|
12
|
+
import NavigationMenuViewport from "./NavigationMenuViewport.vue";
|
|
16
13
|
defineOptions({
|
|
17
|
-
inheritAttrs: false
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
inheritAttrs: false
|
|
15
|
+
});
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
items: { type: null, required: false },
|
|
18
|
+
indicator: { type: Boolean, required: false },
|
|
19
|
+
_navigationMenuTrigger: { type: Object, required: false },
|
|
20
|
+
_navigationMenuContent: { type: Object, required: false },
|
|
21
|
+
_navigationMenuItem: { type: Object, required: false },
|
|
22
|
+
_navigationMenuViewport: { type: Object, required: false },
|
|
23
|
+
_navigationMenuList: { type: Object, required: false },
|
|
24
|
+
_navigationMenuListItem: { type: Object, required: false },
|
|
25
|
+
_navigationMenuLink: { type: Object, required: false },
|
|
26
|
+
_navigationMenuIndicator: { type: Object, required: false },
|
|
27
|
+
una: { type: Object, required: false },
|
|
28
|
+
modelValue: { type: String, required: false },
|
|
29
|
+
defaultValue: { type: String, required: false },
|
|
30
|
+
dir: { type: String, required: false },
|
|
31
|
+
orientation: { type: String, required: false, default: "horizontal" },
|
|
32
|
+
delayDuration: { type: Number, required: false },
|
|
33
|
+
skipDelayDuration: { type: Number, required: false },
|
|
34
|
+
disableClickTrigger: { type: Boolean, required: false },
|
|
35
|
+
disableHoverTrigger: { type: Boolean, required: false },
|
|
36
|
+
disablePointerLeaveClose: { type: Boolean, required: false },
|
|
37
|
+
unmountOnHide: { type: Boolean, required: false, default: true },
|
|
38
|
+
asChild: { type: Boolean, required: false },
|
|
39
|
+
as: { type: null, required: false },
|
|
40
|
+
navigationMenu: { type: String, required: false },
|
|
41
|
+
disabled: { type: Boolean, required: false },
|
|
42
|
+
navigationMenuLink: { type: String, required: false },
|
|
43
|
+
class: { type: null, required: false },
|
|
44
|
+
size: { type: null, required: false }
|
|
45
|
+
});
|
|
46
|
+
const emits = defineEmits(["update:modelValue"]);
|
|
47
|
+
const rootProps = reactiveOmit(props, ["navigationMenu", "navigationMenuLink", "una", "items"]);
|
|
48
|
+
const forwarded = useForwardPropsEmits(rootProps, emits);
|
|
49
|
+
const [DefineLinkTemplate, ReuseLinkTemplate] = createReusableTemplate();
|
|
30
50
|
</script>
|
|
31
51
|
|
|
32
52
|
<template>
|
|
@@ -34,10 +54,10 @@ const [DefineLinkTemplate, ReuseLinkTemplate] = createReusableTemplate()
|
|
|
34
54
|
v-slot="{ modelValue }"
|
|
35
55
|
v-bind="forwarded"
|
|
36
56
|
:class="cn(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
57
|
+
'navigation-menu',
|
|
58
|
+
props.una?.navigationMenu,
|
|
59
|
+
props.class
|
|
60
|
+
)"
|
|
41
61
|
>
|
|
42
62
|
<slot :items="items">
|
|
43
63
|
<DefineLinkTemplate v-slot="{ link, isList }">
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { NNavigationMenuItemProps, NNavigationMenuProps } from '../../types/index.js';
|
|
2
|
+
declare const _default: <T extends U[], U extends NNavigationMenuItemProps>(__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<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & NNavigationMenuProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
6
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
7
|
+
attrs: any;
|
|
8
|
+
slots: {
|
|
9
|
+
[x: string]: ((props: {
|
|
10
|
+
item: T extends number ? number : T extends string ? string : T extends any[] ? T[number] : T extends Iterable<infer T1> ? T1 : any;
|
|
11
|
+
active: boolean | undefined;
|
|
12
|
+
}) => any) | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
[x: `${string}-content`]: ((props: {
|
|
15
|
+
items: import("../../types/index.js").NNavigationMenuLinkProps[];
|
|
16
|
+
item: T extends number ? number : T extends string ? string : T extends any[] ? T[number] : T extends Iterable<infer T1> ? T1 : any;
|
|
17
|
+
}) => any) | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
[x: string]: ((props: {
|
|
20
|
+
item: T extends number ? number : T extends string ? string : T extends any[] ? T[number] : T extends Iterable<infer T1> ? T1 : any;
|
|
21
|
+
}) => any) | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
default?: (props: {
|
|
24
|
+
items: T | undefined;
|
|
25
|
+
}) => any;
|
|
26
|
+
} & {
|
|
27
|
+
list?: (props: {
|
|
28
|
+
items: T | undefined;
|
|
29
|
+
}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
trigger?: (props: {
|
|
32
|
+
modelValue: string;
|
|
33
|
+
item: T extends number ? number : T extends string ? string : T extends any[] ? T[number] : T extends Iterable<infer T1> ? T1 : any;
|
|
34
|
+
index: number;
|
|
35
|
+
}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
viewport?: (props: {}) => any;
|
|
38
|
+
};
|
|
39
|
+
emit: (evt: "update:modelValue", value: string) => void;
|
|
40
|
+
}>) => import("vue").VNode & {
|
|
41
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
|
+
};
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_PrettifyLocal<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import type { NNavigationMenuContentProps } from '../../types'
|
|
4
|
-
import { reactiveOmit } from '@vueuse/core'
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
3
|
import {
|
|
6
4
|
NavigationMenuContent,
|
|
7
|
-
useForwardPropsEmits
|
|
8
|
-
} from
|
|
9
|
-
import { cn } from
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
useForwardPropsEmits
|
|
6
|
+
} from "reka-ui";
|
|
7
|
+
import { cn } from "../../utils";
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
una: { type: Object, required: false },
|
|
10
|
+
forceMount: { type: Boolean, required: false },
|
|
11
|
+
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
12
|
+
asChild: { type: Boolean, required: false },
|
|
13
|
+
as: { type: null, required: false },
|
|
14
|
+
class: { type: null, required: false },
|
|
15
|
+
size: { type: null, required: false }
|
|
16
|
+
});
|
|
17
|
+
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"]);
|
|
18
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
19
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
17
20
|
</script>
|
|
18
21
|
|
|
19
22
|
<template>
|
|
20
23
|
<NavigationMenuContent
|
|
21
24
|
v-bind="forwarded"
|
|
22
25
|
:class="cn(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
'navigation-menu-content',
|
|
27
|
+
'data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52',
|
|
28
|
+
props.una?.navigationMenuContent,
|
|
29
|
+
props.class
|
|
30
|
+
)"
|
|
28
31
|
>
|
|
29
32
|
<slot />
|
|
30
33
|
</NavigationMenuContent>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { NNavigationMenuContentProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
8
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
9
|
+
originalEvent: PointerEvent;
|
|
10
|
+
}>) => any;
|
|
11
|
+
focusOutside: (event: CustomEvent<{
|
|
12
|
+
originalEvent: FocusEvent;
|
|
13
|
+
}>) => any;
|
|
14
|
+
interactOutside: (event: CustomEvent<{
|
|
15
|
+
originalEvent: PointerEvent;
|
|
16
|
+
}> | CustomEvent<{
|
|
17
|
+
originalEvent: FocusEvent;
|
|
18
|
+
}>) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<NNavigationMenuContentProps> & Readonly<{
|
|
20
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
22
|
+
originalEvent: PointerEvent;
|
|
23
|
+
}>) => any) | undefined;
|
|
24
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
25
|
+
originalEvent: FocusEvent;
|
|
26
|
+
}>) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
28
|
+
originalEvent: PointerEvent;
|
|
29
|
+
}> | CustomEvent<{
|
|
30
|
+
originalEvent: FocusEvent;
|
|
31
|
+
}>) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -1,14 +1,43 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
import { cn } from "../../utils";
|
|
4
|
+
import NavigationMenuLink from "./NavigationMenuLink.vue";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
description: { type: String, required: false },
|
|
7
|
+
una: { type: Object, required: false },
|
|
8
|
+
navigationMenuLink: { type: String, required: false },
|
|
9
|
+
onSelect: { type: Function, required: false },
|
|
10
|
+
active: { type: Boolean, required: false },
|
|
11
|
+
asChild: { type: Boolean, required: false },
|
|
12
|
+
as: { type: null, required: false },
|
|
13
|
+
type: { type: String, required: false },
|
|
14
|
+
loadingPlacement: { type: String, required: false },
|
|
15
|
+
icon: { type: Boolean, required: false },
|
|
16
|
+
disabled: { type: Boolean, required: false },
|
|
17
|
+
reverse: { type: Boolean, required: false },
|
|
18
|
+
loading: { type: Boolean, required: false },
|
|
19
|
+
block: { type: Boolean, required: false },
|
|
20
|
+
to: { type: null, required: false },
|
|
21
|
+
label: { type: String, required: false },
|
|
22
|
+
btn: { type: String, required: false },
|
|
23
|
+
leading: { type: String, required: false },
|
|
24
|
+
trailing: { type: String, required: false },
|
|
25
|
+
square: { type: null, required: false },
|
|
26
|
+
rounded: { type: null, required: false },
|
|
27
|
+
class: { type: null, required: false },
|
|
28
|
+
breadcrumbActive: { type: String, required: false },
|
|
29
|
+
breadcrumbInactive: { type: String, required: false },
|
|
30
|
+
paginationSelected: { type: String, required: false },
|
|
31
|
+
paginationUnselected: { type: String, required: false },
|
|
32
|
+
dropdownMenu: { type: String, required: false },
|
|
33
|
+
toggleOn: { type: String, required: false },
|
|
34
|
+
toggleOff: { type: String, required: false },
|
|
35
|
+
navigationMenu: { type: String, required: false },
|
|
36
|
+
ariaLabel: { type: String, required: false },
|
|
37
|
+
size: { type: null, required: false }
|
|
38
|
+
});
|
|
39
|
+
const emits = defineEmits(["select"]);
|
|
40
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
12
41
|
</script>
|
|
13
42
|
|
|
14
43
|
<template>
|
|
@@ -16,31 +45,31 @@ const forwarded = useForwardPropsEmits(props, emits)
|
|
|
16
45
|
v-bind="forwarded"
|
|
17
46
|
:una
|
|
18
47
|
:class="cn(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
48
|
+
'navigation-menu-content-item',
|
|
49
|
+
props.una?.navigationMenuContentItem,
|
|
50
|
+
props.class
|
|
51
|
+
)"
|
|
23
52
|
>
|
|
24
53
|
<slot>
|
|
25
54
|
<div
|
|
26
55
|
:class="cn(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
56
|
+
'navigation-menu-content-item-wrapper',
|
|
57
|
+
props.una?.navigationMenuContentItemWrapper
|
|
58
|
+
)"
|
|
30
59
|
>
|
|
31
60
|
<p
|
|
32
61
|
:class="cn(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
62
|
+
'navigation-menu-content-item-label',
|
|
63
|
+
props.una?.navigationMenuContentItemLabel
|
|
64
|
+
)"
|
|
36
65
|
>
|
|
37
66
|
{{ label }}
|
|
38
67
|
</p>
|
|
39
68
|
<p
|
|
40
69
|
v-if="description" :class="cn(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
70
|
+
'navigation-menu-content-item-description',
|
|
71
|
+
props.una?.navigationMenuContentItemDescription
|
|
72
|
+
)"
|
|
44
73
|
>
|
|
45
74
|
{{ description }}
|
|
46
75
|
</p>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { NNavigationMenuListItemProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_5: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_5) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
select: (payload: CustomEvent<{
|
|
8
|
+
originalEvent: Event;
|
|
9
|
+
}>) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<NNavigationMenuListItemProps> & Readonly<{
|
|
11
|
+
onSelect?: ((payload: CustomEvent<{
|
|
12
|
+
originalEvent: Event;
|
|
13
|
+
}>) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { NavigationMenuIndicator, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../utils";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
una: { type: Object, required: false },
|
|
7
|
+
forceMount: { type: Boolean, required: false },
|
|
8
|
+
asChild: { type: Boolean, required: false },
|
|
9
|
+
as: { type: null, required: false },
|
|
10
|
+
class: { type: null, required: false },
|
|
11
|
+
size: { type: null, required: false }
|
|
12
|
+
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
14
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
15
|
</script>
|
|
13
16
|
|
|
14
17
|
<template>
|
|
15
18
|
<NavigationMenuIndicator
|
|
16
19
|
v-bind="forwardedProps"
|
|
17
20
|
:class="cn(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
'navigation-menu-indicator',
|
|
22
|
+
props.una?.navigationMenuIndicator,
|
|
23
|
+
props.class
|
|
24
|
+
)"
|
|
22
25
|
>
|
|
23
26
|
<slot />
|
|
24
27
|
<div
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NNavigationMenuIndicatorProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,8 +1,43 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { NavigationMenuItem } from "reka-ui";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
slot: { type: String, required: false },
|
|
5
|
+
items: { type: Array, required: false },
|
|
6
|
+
una: { type: Object, required: false },
|
|
7
|
+
value: { type: String, required: false },
|
|
8
|
+
asChild: { type: Boolean, required: false },
|
|
9
|
+
as: { type: null, required: false },
|
|
10
|
+
navigationMenu: { type: String, required: false },
|
|
11
|
+
disabled: { type: Boolean, required: false },
|
|
12
|
+
type: { type: String, required: false },
|
|
13
|
+
loadingPlacement: { type: String, required: false },
|
|
14
|
+
icon: { type: Boolean, required: false },
|
|
15
|
+
reverse: { type: Boolean, required: false },
|
|
16
|
+
loading: { type: Boolean, required: false },
|
|
17
|
+
block: { type: Boolean, required: false },
|
|
18
|
+
to: { type: null, required: false },
|
|
19
|
+
label: { type: String, required: false },
|
|
20
|
+
btn: { type: String, required: false },
|
|
21
|
+
leading: { type: String, required: false },
|
|
22
|
+
trailing: { type: String, required: false },
|
|
23
|
+
size: { type: String, required: false },
|
|
24
|
+
square: { type: null, required: false },
|
|
25
|
+
rounded: { type: null, required: false },
|
|
26
|
+
class: { type: null, required: false },
|
|
27
|
+
breadcrumbActive: { type: String, required: false },
|
|
28
|
+
breadcrumbInactive: { type: String, required: false },
|
|
29
|
+
paginationSelected: { type: String, required: false },
|
|
30
|
+
paginationUnselected: { type: String, required: false },
|
|
31
|
+
dropdownMenu: { type: String, required: false },
|
|
32
|
+
toggleOn: { type: String, required: false },
|
|
33
|
+
toggleOff: { type: String, required: false },
|
|
34
|
+
navigationMenuLink: { type: String, required: false },
|
|
35
|
+
ariaLabel: { type: String, required: false },
|
|
36
|
+
active: { type: Boolean, required: false },
|
|
37
|
+
onSelect: { type: Function, required: false },
|
|
38
|
+
_navigationMenuLink: { type: Object, required: false },
|
|
39
|
+
_navigationMenuTrigger: { type: Object, required: false }
|
|
40
|
+
});
|
|
6
41
|
</script>
|
|
7
42
|
|
|
8
43
|
<template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NNavigationMenuItemProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NNavigationMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NNavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,37 +1,60 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { cn } from '../../utils'
|
|
6
|
-
import Button from '../elements/Button.vue'
|
|
7
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { NavigationMenuLink, useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
import { cn } from "../../utils";
|
|
4
|
+
import Button from "../elements/Button.vue";
|
|
8
5
|
defineOptions({
|
|
9
|
-
inheritAttrs: false
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
inheritAttrs: false
|
|
7
|
+
});
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
navigationMenuLink: { type: String, required: false, default: "ghost-white" },
|
|
10
|
+
onSelect: { type: Function, required: false },
|
|
11
|
+
una: { type: Object, required: false },
|
|
12
|
+
active: { type: Boolean, required: false },
|
|
13
|
+
asChild: { type: Boolean, required: false },
|
|
14
|
+
as: { type: null, required: false, default: Button },
|
|
15
|
+
type: { type: String, required: false },
|
|
16
|
+
loadingPlacement: { type: String, required: false },
|
|
17
|
+
icon: { type: Boolean, required: false },
|
|
18
|
+
disabled: { type: Boolean, required: false },
|
|
19
|
+
reverse: { type: Boolean, required: false },
|
|
20
|
+
loading: { type: Boolean, required: false },
|
|
21
|
+
block: { type: Boolean, required: false },
|
|
22
|
+
to: { type: null, required: false },
|
|
23
|
+
label: { type: String, required: false },
|
|
24
|
+
btn: { type: String, required: false, default: "~" },
|
|
25
|
+
leading: { type: String, required: false },
|
|
26
|
+
trailing: { type: String, required: false },
|
|
27
|
+
square: { type: null, required: false },
|
|
28
|
+
rounded: { type: null, required: false },
|
|
29
|
+
class: { type: null, required: false },
|
|
30
|
+
breadcrumbActive: { type: String, required: false },
|
|
31
|
+
breadcrumbInactive: { type: String, required: false },
|
|
32
|
+
paginationSelected: { type: String, required: false },
|
|
33
|
+
paginationUnselected: { type: String, required: false },
|
|
34
|
+
dropdownMenu: { type: String, required: false },
|
|
35
|
+
toggleOn: { type: String, required: false },
|
|
36
|
+
toggleOff: { type: String, required: false },
|
|
37
|
+
navigationMenu: { type: String, required: false },
|
|
38
|
+
ariaLabel: { type: String, required: false },
|
|
39
|
+
size: { type: null, required: false }
|
|
40
|
+
});
|
|
41
|
+
const emits = defineEmits(["select"]);
|
|
42
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
20
43
|
</script>
|
|
21
44
|
|
|
22
45
|
<template>
|
|
23
46
|
<NavigationMenuLink
|
|
24
47
|
v-bind="!props.asChild ? {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
48
|
+
...$attrs,
|
|
49
|
+
...forwarded,
|
|
50
|
+
class: cn(
|
|
51
|
+
'navigation-menu-link group',
|
|
52
|
+
props.una?.navigationMenuLink,
|
|
53
|
+
props.class
|
|
54
|
+
),
|
|
55
|
+
navigationMenuLink: btn !== '~' ? void 0 : navigationMenuLink,
|
|
56
|
+
navigationMenu: btn === '~' ? props.navigationMenu : void 0
|
|
57
|
+
} : {}"
|
|
35
58
|
:as-child
|
|
36
59
|
:as
|
|
37
60
|
:active
|