@una-ui/nuxt 0.54.2 → 0.54.4
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 +14 -5
- package/dist/runtime/components/elements/Link.vue.d.ts +1 -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/runtime/types/link.d.ts +6 -0
- package/dist/types.d.mts +3 -5
- package/dist/una.config.mjs +1 -1
- package/package.json +7 -7
- 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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { NPopoverProps } from '../../../types/index.js';
|
|
2
|
+
declare var __VLS_10: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
}, __VLS_15: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
trigger?: (props: typeof __VLS_10) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_15) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<NPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:open": (value: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<NPopoverProps> & Readonly<{
|
|
13
|
+
"onUpdate:open"?: ((value: boolean) => 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,34 +1,42 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import type { PopoverContentEmits } from 'reka-ui'
|
|
3
|
-
import type { NPopoverContentProps } from '../../../types'
|
|
1
|
+
<script setup>
|
|
4
2
|
import {
|
|
5
3
|
PopoverContent,
|
|
6
4
|
PopoverPortal,
|
|
7
|
-
useForwardPropsEmits
|
|
8
|
-
} from
|
|
9
|
-
import { computed } from
|
|
10
|
-
import { cn } from
|
|
11
|
-
|
|
5
|
+
useForwardPropsEmits
|
|
6
|
+
} from "reka-ui";
|
|
7
|
+
import { computed } from "vue";
|
|
8
|
+
import { cn } from "../../../utils";
|
|
12
9
|
defineOptions({
|
|
13
|
-
inheritAttrs: false
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
inheritAttrs: false
|
|
11
|
+
});
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
forceMount: { type: Boolean, required: false },
|
|
14
|
+
side: { type: null, required: false },
|
|
15
|
+
sideOffset: { type: Number, required: false, default: 4 },
|
|
16
|
+
align: { type: null, required: false, default: "center" },
|
|
17
|
+
alignOffset: { type: Number, required: false },
|
|
18
|
+
avoidCollisions: { type: Boolean, required: false },
|
|
19
|
+
collisionBoundary: { type: null, required: false },
|
|
20
|
+
collisionPadding: { type: [Number, Object], required: false },
|
|
21
|
+
arrowPadding: { type: Number, required: false },
|
|
22
|
+
sticky: { type: String, required: false },
|
|
23
|
+
hideWhenDetached: { type: Boolean, required: false },
|
|
24
|
+
positionStrategy: { type: String, required: false },
|
|
25
|
+
updatePositionStrategy: { type: String, required: false },
|
|
26
|
+
disableUpdateOnLayoutShift: { type: Boolean, required: false },
|
|
27
|
+
prioritizePosition: { type: Boolean, required: false },
|
|
28
|
+
reference: { type: null, required: false },
|
|
29
|
+
asChild: { type: Boolean, required: false },
|
|
30
|
+
as: { type: null, required: false },
|
|
31
|
+
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
32
|
+
class: { type: null, required: false }
|
|
33
|
+
});
|
|
34
|
+
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
25
35
|
const delegatedProps = computed(() => {
|
|
26
|
-
const { class: _, ...delegated } = props
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
36
|
+
const { class: _, ...delegated } = props;
|
|
37
|
+
return delegated;
|
|
38
|
+
});
|
|
39
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
32
40
|
</script>
|
|
33
41
|
|
|
34
42
|
<template>
|
|
@@ -36,11 +44,11 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
|
36
44
|
<PopoverContent
|
|
37
45
|
v-bind="{ ...forwarded, ...$attrs }"
|
|
38
46
|
:class="
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
cn(
|
|
48
|
+
'popover-content',
|
|
49
|
+
props.class
|
|
50
|
+
)
|
|
51
|
+
"
|
|
44
52
|
>
|
|
45
53
|
<slot />
|
|
46
54
|
</PopoverContent>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { NPopoverContentProps } from '../../../types/index.js';
|
|
2
|
+
declare var __VLS_10: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_10) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NPopoverContentProps, {}, {}, {}, {}, 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
|
+
openAutoFocus: (event: Event) => any;
|
|
20
|
+
closeAutoFocus: (event: Event) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<NPopoverContentProps> & Readonly<{
|
|
22
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
24
|
+
originalEvent: PointerEvent;
|
|
25
|
+
}>) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
27
|
+
originalEvent: FocusEvent;
|
|
28
|
+
}>) => any) | undefined;
|
|
29
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
30
|
+
originalEvent: PointerEvent;
|
|
31
|
+
}> | CustomEvent<{
|
|
32
|
+
originalEvent: FocusEvent;
|
|
33
|
+
}>) => any) | undefined;
|
|
34
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
35
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
sideOffset: number;
|
|
38
|
+
align: "start" | "center" | "end";
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,24 +1,35 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
import { computed } from "vue";
|
|
4
|
+
import { omitProps } from "../../../utils";
|
|
5
|
+
import TabsContent from "./TabsContent.vue";
|
|
6
|
+
import TabsList from "./TabsList.vue";
|
|
7
|
+
import TabsRoot from "./TabsRoot.vue";
|
|
8
|
+
import TabsTrigger from "./TabsTrigger.vue";
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
items: { type: Array, required: true },
|
|
11
|
+
_tabsContent: { type: Object, required: false },
|
|
12
|
+
_tabsTrigger: { type: Object, required: false },
|
|
13
|
+
_tabsList: { type: Object, required: false },
|
|
14
|
+
defaultValue: { type: null, required: false },
|
|
15
|
+
orientation: { type: String, required: false },
|
|
16
|
+
dir: { type: String, required: false },
|
|
17
|
+
activationMode: { type: String, required: false },
|
|
18
|
+
modelValue: { type: null, required: false },
|
|
19
|
+
unmountOnHide: { type: Boolean, required: false },
|
|
20
|
+
asChild: { type: Boolean, required: false },
|
|
21
|
+
as: { type: null, required: false },
|
|
22
|
+
class: { type: null, required: false },
|
|
23
|
+
size: { type: null, required: false },
|
|
24
|
+
tabs: { type: String, required: false },
|
|
25
|
+
disabled: { type: Boolean, required: false }
|
|
26
|
+
});
|
|
27
|
+
const emits = defineEmits(["update:modelValue"]);
|
|
15
28
|
const delegatedProps = computed(() => {
|
|
16
|
-
const { class: _, ...delegated } = props
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
29
|
+
const { class: _, ...delegated } = props;
|
|
30
|
+
return delegated;
|
|
31
|
+
});
|
|
32
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
22
33
|
</script>
|
|
23
34
|
|
|
24
35
|
<template>
|
|
@@ -52,7 +63,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
|
52
63
|
<TabsContent v-bind="forwarded._tabsContent" :value="item.value">
|
|
53
64
|
<slot name="content" :item="item">
|
|
54
65
|
<component :is="typeof item.content === 'string' ? 'span' : item.content">
|
|
55
|
-
{{ typeof item.content ===
|
|
66
|
+
{{ typeof item.content === "string" ? item.content : "" }}
|
|
56
67
|
</component>
|
|
57
68
|
</slot>
|
|
58
69
|
</TabsContent>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { NTabsProps } from '../../../types/tabs.js';
|
|
2
|
+
declare var __VLS_8: {
|
|
3
|
+
items: any[];
|
|
4
|
+
}, __VLS_13: {
|
|
5
|
+
item: any;
|
|
6
|
+
disabled: any;
|
|
7
|
+
}, __VLS_18: {
|
|
8
|
+
item: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
list?: (props: typeof __VLS_8) => any;
|
|
12
|
+
} & {
|
|
13
|
+
trigger?: (props: typeof __VLS_13) => any;
|
|
14
|
+
} & {
|
|
15
|
+
content?: (props: typeof __VLS_18) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<NTabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (payload: string | number) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<NTabsProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { cn } from '../../../utils'
|
|
6
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { TabsContent } from "reka-ui";
|
|
3
|
+
import { computed } from "vue";
|
|
4
|
+
import { cn } from "../../../utils";
|
|
7
5
|
defineOptions({
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
inheritAttrs: false
|
|
7
|
+
});
|
|
8
|
+
const props = defineProps({
|
|
9
|
+
una: { type: Object, required: false },
|
|
10
|
+
value: { type: [String, Number], required: true },
|
|
11
|
+
forceMount: { 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
|
+
});
|
|
13
17
|
const delegatedProps = computed(() => {
|
|
14
|
-
const { class: _, ...delegated } = props
|
|
15
|
-
return delegated
|
|
16
|
-
})
|
|
18
|
+
const { class: _, ...delegated } = props;
|
|
19
|
+
return delegated;
|
|
20
|
+
});
|
|
17
21
|
</script>
|
|
18
22
|
|
|
19
23
|
<template>
|
|
20
24
|
<TabsContent
|
|
21
25
|
v-bind="{ ...delegatedProps, ...$attrs }"
|
|
22
26
|
:class="cn(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
'tabs-content',
|
|
28
|
+
props.class,
|
|
29
|
+
props.una?.tabsContent
|
|
30
|
+
)"
|
|
27
31
|
>
|
|
28
32
|
<slot />
|
|
29
33
|
</TabsContent>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NTabsContentProps } from '../../../types/tabs.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<NTabsContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTabsContentProps> & 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,24 +1,29 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { TabsList } from "reka-ui";
|
|
3
|
+
import { computed } from "vue";
|
|
4
|
+
import { cn } from "../../../utils";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
una: { type: Object, required: false },
|
|
7
|
+
loop: { 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
|
+
});
|
|
8
13
|
const delegatedProps = computed(() => {
|
|
9
|
-
const { class: _, ...delegated } = props
|
|
10
|
-
return delegated
|
|
11
|
-
})
|
|
14
|
+
const { class: _, ...delegated } = props;
|
|
15
|
+
return delegated;
|
|
16
|
+
});
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<template>
|
|
15
20
|
<TabsList
|
|
16
21
|
v-bind="delegatedProps"
|
|
17
22
|
:class="cn(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
'tabs-list',
|
|
24
|
+
props.class,
|
|
25
|
+
props.una?.tabsList
|
|
26
|
+
)"
|
|
22
27
|
>
|
|
23
28
|
<slot />
|
|
24
29
|
</TabsList>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NTabsListProps } from '../../../types/tabs.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<NTabsListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTabsListProps> & 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,22 +1,31 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { TabsRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
import { cn } from "../../../utils";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
una: { type: Object, required: false },
|
|
6
|
+
defaultValue: { type: null, required: false },
|
|
7
|
+
orientation: { type: String, required: false },
|
|
8
|
+
dir: { type: String, required: false },
|
|
9
|
+
activationMode: { type: String, required: false },
|
|
10
|
+
modelValue: { type: null, required: false },
|
|
11
|
+
unmountOnHide: { 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(["update:modelValue"]);
|
|
18
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
10
19
|
</script>
|
|
11
20
|
|
|
12
21
|
<template>
|
|
13
22
|
<TabsRoot
|
|
14
23
|
v-bind="forwarded"
|
|
15
24
|
:class="cn(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
'tabs-root',
|
|
26
|
+
props.class,
|
|
27
|
+
props.una?.tabsRoot
|
|
28
|
+
)"
|
|
20
29
|
>
|
|
21
30
|
<slot />
|
|
22
31
|
</TabsRoot>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { NTabsRootProps } from '../../../types/tabs.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<NTabsRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (payload: string | number) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<NTabsRootProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,30 +1,58 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { TabsTrigger } from "reka-ui";
|
|
3
|
+
import { computed } from "vue";
|
|
4
|
+
import { cn } from "../../../utils";
|
|
5
|
+
import Button from "../Button.vue";
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
tabs: { type: String, required: false },
|
|
8
|
+
una: { type: Object, required: false },
|
|
9
|
+
value: { type: [String, Number], required: true },
|
|
10
|
+
disabled: { 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
|
+
reverse: { type: Boolean, required: false },
|
|
17
|
+
loading: { type: Boolean, required: false },
|
|
18
|
+
block: { type: Boolean, required: false },
|
|
19
|
+
to: { type: null, required: false },
|
|
20
|
+
label: { type: String, required: false },
|
|
21
|
+
btn: { type: String, required: false },
|
|
22
|
+
leading: { type: String, required: false },
|
|
23
|
+
trailing: { 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
|
+
navigationMenu: { type: String, required: false },
|
|
35
|
+
navigationMenuLink: { type: String, required: false },
|
|
36
|
+
ariaLabel: { type: String, required: false },
|
|
37
|
+
size: { type: null, required: false }
|
|
38
|
+
});
|
|
10
39
|
const delegatedProps = computed(() => {
|
|
11
|
-
const { class: _, ...delegated } = props
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
40
|
+
const { class: _, ...delegated } = props;
|
|
41
|
+
return delegated;
|
|
42
|
+
});
|
|
15
43
|
</script>
|
|
16
44
|
|
|
17
45
|
<template>
|
|
18
46
|
<TabsTrigger
|
|
19
47
|
v-bind="delegatedProps"
|
|
20
48
|
:class="cn(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
49
|
+
'tabs-trigger',
|
|
50
|
+
props.class
|
|
51
|
+
)"
|
|
24
52
|
:una="{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
53
|
+
...props.una,
|
|
54
|
+
btnDefaultVariant: props.tabs ? `tabs-${props.tabs}` : 'tabs-default-variant'
|
|
55
|
+
}"
|
|
28
56
|
:as="Button"
|
|
29
57
|
>
|
|
30
58
|
<slot />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NTabsTriggerProps } from '../../../types/tabs.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<NTabsTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTabsTriggerProps> & 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,29 +1,41 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import TooltipRoot from './TooltipRoot.vue'
|
|
9
|
-
import TooltipTrigger from './TooltipTrigger.vue'
|
|
10
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactivePick } from "@vueuse/core";
|
|
3
|
+
import { useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
import TooltipContent from "./TooltipContent.vue";
|
|
5
|
+
import TooltipProvider from "./TooltipProvider.vue";
|
|
6
|
+
import TooltipRoot from "./TooltipRoot.vue";
|
|
7
|
+
import TooltipTrigger from "./TooltipTrigger.vue";
|
|
11
8
|
defineOptions({
|
|
12
|
-
inheritAttrs: false
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
inheritAttrs: false
|
|
10
|
+
});
|
|
11
|
+
const props = defineProps({
|
|
12
|
+
content: { type: String, required: false },
|
|
13
|
+
tooltip: { type: null, required: false },
|
|
14
|
+
_tooltipProvider: { type: Object, required: false },
|
|
15
|
+
_tooltipTrigger: { type: Object, required: false },
|
|
16
|
+
_tooltipContent: { type: Object, required: false },
|
|
17
|
+
una: { type: Object, required: false },
|
|
18
|
+
class: { type: null, required: false },
|
|
19
|
+
size: { type: null, required: false },
|
|
20
|
+
defaultOpen: { type: Boolean, required: false },
|
|
21
|
+
open: { type: Boolean, required: false },
|
|
22
|
+
delayDuration: { type: Number, required: false },
|
|
23
|
+
disableHoverableContent: { type: Boolean, required: false },
|
|
24
|
+
disableClosingTrigger: { type: Boolean, required: false },
|
|
25
|
+
disabled: { type: Boolean, required: false },
|
|
26
|
+
ignoreNonKeyboardFocus: { type: Boolean, required: false }
|
|
27
|
+
});
|
|
28
|
+
const emits = defineEmits(["update:open"]);
|
|
17
29
|
const rootProps = reactivePick(props, [
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
])
|
|
26
|
-
const forwarded = useForwardPropsEmits(rootProps, emits)
|
|
30
|
+
"defaultOpen",
|
|
31
|
+
"delayDuration",
|
|
32
|
+
"disableClosingTrigger",
|
|
33
|
+
"disabled",
|
|
34
|
+
"disableHoverableContent",
|
|
35
|
+
"ignoreNonKeyboardFocus",
|
|
36
|
+
"open"
|
|
37
|
+
]);
|
|
38
|
+
const forwarded = useForwardPropsEmits(rootProps, emits);
|
|
27
39
|
</script>
|
|
28
40
|
|
|
29
41
|
<template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { NTooltipProps } from '../../../types/index.js';
|
|
2
|
+
declare var __VLS_11: {}, __VLS_16: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
|
+
} & {
|
|
6
|
+
content?: (props: typeof __VLS_16) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<NTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:open": (value: boolean) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<NTooltipProps> & Readonly<{
|
|
11
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|