@empathyds/vue 0.0.1
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/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/README.md +83 -0
- package/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/login-form/LoginForm.vue.d.ts +2 -0
- package/dist/blocks/login-form/index.d.ts +1 -0
- package/dist/components/index.d.ts +60 -0
- package/dist/components/ui/accordion/Accordion.vue.d.ts +25 -0
- package/dist/components/ui/accordion/AccordionContent.vue.d.ts +22 -0
- package/dist/components/ui/accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +23 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
- package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
- package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
- package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/components/ui/aspect-ratio/AspectRatio.vue.d.ts +18 -0
- package/dist/components/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/components/ui/avatar/index.d.ts +3 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
- package/dist/components/ui/badge/index.d.ts +6 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/components/ui/button-group/index.d.ts +8 -0
- package/dist/components/ui/calendar/Calendar.vue.d.ts +44 -0
- package/dist/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/components/ui/calendar/index.d.ts +13 -0
- package/dist/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +7 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/carousel/interface.d.ts +19 -0
- package/dist/components/ui/chart/ChartContainer.vue.d.ts +29 -0
- package/dist/components/ui/chart/ChartLegendContent.vue.d.ts +11 -0
- package/dist/components/ui/chart/ChartStyle.vue.d.ts +6 -0
- package/dist/components/ui/chart/ChartTooltipContent.vue.d.ts +36 -0
- package/dist/components/ui/chart/index.d.ts +27 -0
- package/dist/components/ui/chart/utils.d.ts +11 -0
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
- package/dist/components/ui/checkbox/index.d.ts +1 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/combobox/Combobox.vue.d.ts +36 -0
- package/dist/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
- package/dist/components/ui/combobox/ComboboxInput.vue.d.ts +26 -0
- package/dist/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
- package/dist/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +36 -0
- package/dist/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
- package/dist/components/ui/combobox/index.d.ts +11 -0
- package/dist/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/components/ui/command/index.d.ts +90 -0
- package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
- package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
- package/dist/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
- package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
- package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
- package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
- package/dist/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
- package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
- package/dist/components/ui/context-menu/index.d.ts +14 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dialog/index.d.ts +10 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +36 -0
- package/dist/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +36 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/components/ui/drawer/index.d.ts +9 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/empty/Empty.vue.d.ts +21 -0
- package/dist/components/ui/empty/EmptyContent.vue.d.ts +21 -0
- package/dist/components/ui/empty/EmptyDescription.vue.d.ts +21 -0
- package/dist/components/ui/empty/EmptyHeader.vue.d.ts +21 -0
- package/dist/components/ui/empty/EmptyMedia.vue.d.ts +23 -0
- package/dist/components/ui/empty/EmptyTitle.vue.d.ts +21 -0
- package/dist/components/ui/empty/index.d.ts +11 -0
- package/dist/components/ui/field/Field.vue.d.ts +23 -0
- package/dist/components/ui/field/FieldContent.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldDescription.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldError.vue.d.ts +24 -0
- package/dist/components/ui/field/FieldGroup.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldLabel.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldLegend.vue.d.ts +22 -0
- package/dist/components/ui/field/FieldSeparator.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldSet.vue.d.ts +21 -0
- package/dist/components/ui/field/FieldTitle.vue.d.ts +21 -0
- package/dist/components/ui/field/index.d.ts +15 -0
- package/dist/components/ui/form/FormControl.vue.d.ts +17 -0
- package/dist/components/ui/form/FormDescription.vue.d.ts +21 -0
- package/dist/components/ui/form/FormItem.vue.d.ts +21 -0
- package/dist/components/ui/form/FormLabel.vue.d.ts +22 -0
- package/dist/components/ui/form/FormMessage.vue.d.ts +6 -0
- package/dist/components/ui/form/index.d.ts +7 -0
- package/dist/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/components/ui/form/useFormField.d.ts +11 -0
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/components/ui/hover-card/index.d.ts +3 -0
- package/dist/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/input-group/InputGroup.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
- package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
- package/dist/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
- package/dist/components/ui/input-group/index.d.ts +22 -0
- package/dist/components/ui/input-otp/InputOTP.vue.d.ts +46 -0
- package/dist/components/ui/input-otp/InputOTPGroup.vue.d.ts +21 -0
- package/dist/components/ui/input-otp/InputOTPSeparator.vue.d.ts +21 -0
- package/dist/components/ui/input-otp/InputOTPSlot.vue.d.ts +7 -0
- package/dist/components/ui/input-otp/index.d.ts +4 -0
- package/dist/components/ui/item/Item.vue.d.ts +27 -0
- package/dist/components/ui/item/ItemActions.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemContent.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemDescription.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemFooter.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemGroup.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemHeader.vue.d.ts +21 -0
- package/dist/components/ui/item/ItemMedia.vue.d.ts +23 -0
- package/dist/components/ui/item/ItemSeparator.vue.d.ts +7 -0
- package/dist/components/ui/item/ItemTitle.vue.d.ts +21 -0
- package/dist/components/ui/item/index.d.ts +20 -0
- package/dist/components/ui/kbd/Kbd.vue.d.ts +21 -0
- package/dist/components/ui/kbd/KbdGroup.vue.d.ts +21 -0
- package/dist/components/ui/kbd/index.d.ts +2 -0
- package/dist/components/ui/label/Label.vue.d.ts +22 -0
- package/dist/components/ui/label/index.d.ts +1 -0
- package/dist/components/ui/menubar/Menubar.vue.d.ts +28 -0
- package/dist/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
- package/dist/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
- package/dist/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
- package/dist/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
- package/dist/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
- package/dist/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
- package/dist/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/menubar/MenubarRadioItem.vue.d.ts +27 -0
- package/dist/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
- package/dist/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
- package/dist/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
- package/dist/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
- package/dist/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
- package/dist/components/ui/menubar/index.d.ts +15 -0
- package/dist/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +405 -0
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +409 -0
- package/dist/components/ui/native-select/index.d.ts +3 -0
- package/dist/components/ui/navigation-menu/NavigationMenu.vue.d.ts +31 -0
- package/dist/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +32 -0
- package/dist/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +7 -0
- package/dist/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +22 -0
- package/dist/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +30 -0
- package/dist/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +22 -0
- package/dist/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +22 -0
- package/dist/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +7 -0
- package/dist/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/components/ui/number-field/NumberField.vue.d.ts +29 -0
- package/dist/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
- package/dist/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
- package/dist/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
- package/dist/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
- package/dist/components/ui/number-field/index.d.ts +5 -0
- package/dist/components/ui/pagination/Pagination.vue.d.ts +29 -0
- package/dist/components/ui/pagination/PaginationContent.vue.d.ts +29 -0
- package/dist/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
- package/dist/components/ui/pagination/PaginationFirst.vue.d.ts +26 -0
- package/dist/components/ui/pagination/PaginationItem.vue.d.ts +27 -0
- package/dist/components/ui/pagination/PaginationLast.vue.d.ts +26 -0
- package/dist/components/ui/pagination/PaginationNext.vue.d.ts +26 -0
- package/dist/components/ui/pagination/PaginationPrevious.vue.d.ts +26 -0
- package/dist/components/ui/pagination/index.d.ts +8 -0
- package/dist/components/ui/pin-input/PinInput.vue.d.ts +22 -0
- package/dist/components/ui/pin-input/PinInputGroup.vue.d.ts +22 -0
- package/dist/components/ui/pin-input/PinInputSeparator.vue.d.ts +18 -0
- package/dist/components/ui/pin-input/PinInputSlot.vue.d.ts +7 -0
- package/dist/components/ui/pin-input/index.d.ts +4 -0
- package/dist/components/ui/popover/Popover.vue.d.ts +25 -0
- package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/components/ui/popover/index.d.ts +4 -0
- package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
- package/dist/components/ui/progress/index.d.ts +1 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +28 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/range-calendar/RangeCalendar.vue.d.ts +17 -0
- package/dist/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +24 -0
- package/dist/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
- package/dist/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
- package/dist/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
- package/dist/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
- package/dist/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/components/ui/resizable/ResizableHandle.vue.d.ts +27 -0
- package/dist/components/ui/resizable/ResizablePanel.vue.d.ts +32 -0
- package/dist/components/ui/resizable/ResizablePanelGroup.vue.d.ts +28 -0
- package/dist/components/ui/resizable/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +23 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/sheet/Sheet.vue.d.ts +25 -0
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +18 -0
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
- package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
- package/dist/components/ui/sheet/index.d.ts +8 -0
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
- package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
- package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
- package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
- package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
- package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
- package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
- package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
- package/dist/components/ui/sidebar/index.d.ts +37 -0
- package/dist/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/components/ui/skeleton/index.d.ts +1 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/components/ui/slider/index.d.ts +1 -0
- package/dist/components/ui/sonner/Sonner.vue.d.ts +3 -0
- package/dist/components/ui/sonner/index.d.ts +1 -0
- package/dist/components/ui/spinner/Spinner.vue.d.ts +6 -0
- package/dist/components/ui/spinner/index.d.ts +1 -0
- package/dist/components/ui/stepper/Stepper.vue.d.ts +38 -0
- package/dist/components/ui/stepper/StepperDescription.vue.d.ts +22 -0
- package/dist/components/ui/stepper/StepperIndicator.vue.d.ts +22 -0
- package/dist/components/ui/stepper/StepperItem.vue.d.ts +22 -0
- package/dist/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
- package/dist/components/ui/stepper/StepperTitle.vue.d.ts +22 -0
- package/dist/components/ui/stepper/StepperTrigger.vue.d.ts +22 -0
- package/dist/components/ui/stepper/index.d.ts +7 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +28 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/components/ui/table/TableEmpty.vue.d.ts +24 -0
- package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/table/utils.d.ts +3 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +28 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/components/ui/tabs/index.d.ts +4 -0
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +34 -0
- package/dist/components/ui/tags-input/TagsInputInput.vue.d.ts +7 -0
- package/dist/components/ui/tags-input/TagsInputItem.vue.d.ts +22 -0
- package/dist/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
- package/dist/components/ui/tags-input/TagsInputItemText.vue.d.ts +7 -0
- package/dist/components/ui/tags-input/index.d.ts +5 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +33 -0
- package/dist/components/ui/toggle/index.d.ts +7 -0
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +36 -0
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +29 -0
- package/dist/components/ui/toggle-group/index.d.ts +2 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/components/ui/tooltip/index.d.ts +4 -0
- package/dist/empathy-ds.es.js +44883 -0
- package/dist/index-fvsvtz59.js +3431 -0
- package/dist/index.d.ts +3 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/style.css +1 -0
- package/package.json +91 -0
- package/src/blocks/index.ts +3 -0
- package/src/blocks/login-form/LoginForm.vue +42 -0
- package/src/blocks/login-form/index.ts +1 -0
- package/src/components/index.ts +60 -0
- package/src/components/ui/accordion/Accordion.vue +18 -0
- package/src/components/ui/accordion/AccordionContent.vue +23 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/src/components/ui/accordion/index.ts +4 -0
- package/src/components/ui/alert/Alert.vue +21 -0
- package/src/components/ui/alert/AlertDescription.vue +17 -0
- package/src/components/ui/alert/AlertTitle.vue +17 -0
- package/src/components/ui/alert/index.ts +24 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/components/ui/alert-dialog/index.ts +9 -0
- package/src/components/ui/aspect-ratio/AspectRatio.vue +16 -0
- package/src/components/ui/aspect-ratio/index.ts +1 -0
- package/src/components/ui/avatar/Avatar.vue +18 -0
- package/src/components/ui/avatar/AvatarFallback.vue +21 -0
- package/src/components/ui/avatar/AvatarImage.vue +16 -0
- package/src/components/ui/avatar/index.ts +3 -0
- package/src/components/ui/badge/Badge.vue +26 -0
- package/src/components/ui/badge/index.ts +26 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +22 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/button/Button.vue +29 -0
- package/src/components/ui/button/index.ts +38 -0
- package/src/components/ui/button-group/ButtonGroup.vue +22 -0
- package/src/components/ui/button-group/ButtonGroupSeparator.vue +24 -0
- package/src/components/ui/button-group/ButtonGroupText.vue +29 -0
- package/src/components/ui/button-group/index.ts +25 -0
- package/src/components/ui/calendar/Calendar.vue +160 -0
- package/src/components/ui/calendar/CalendarCell.vue +23 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/src/components/ui/calendar/CalendarGrid.vue +23 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
- package/src/components/ui/calendar/CalendarHeader.vue +23 -0
- package/src/components/ui/calendar/CalendarHeading.vue +30 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/src/components/ui/calendar/index.ts +14 -0
- package/src/components/ui/card/Card.vue +22 -0
- package/src/components/ui/card/CardAction.vue +17 -0
- package/src/components/ui/card/CardContent.vue +17 -0
- package/src/components/ui/card/CardDescription.vue +17 -0
- package/src/components/ui/card/CardFooter.vue +17 -0
- package/src/components/ui/card/CardHeader.vue +17 -0
- package/src/components/ui/card/CardTitle.vue +17 -0
- package/src/components/ui/card/index.ts +7 -0
- package/src/components/ui/carousel/Carousel.vue +53 -0
- package/src/components/ui/carousel/CarouselContent.vue +33 -0
- package/src/components/ui/carousel/CarouselItem.vue +24 -0
- package/src/components/ui/carousel/CarouselNext.vue +41 -0
- package/src/components/ui/carousel/CarouselPrevious.vue +41 -0
- package/src/components/ui/carousel/index.ts +10 -0
- package/src/components/ui/carousel/interface.ts +26 -0
- package/src/components/ui/carousel/useCarousel.ts +56 -0
- package/src/components/ui/chart/ChartContainer.vue +59 -0
- package/src/components/ui/chart/ChartLegendContent.vue +60 -0
- package/src/components/ui/chart/ChartStyle.vue +42 -0
- package/src/components/ui/chart/ChartTooltipContent.vue +105 -0
- package/src/components/ui/chart/index.ts +29 -0
- package/src/components/ui/chart/utils.ts +44 -0
- package/src/components/ui/checkbox/Checkbox.vue +35 -0
- package/src/components/ui/checkbox/index.ts +1 -0
- package/src/components/ui/collapsible/Collapsible.vue +19 -0
- package/src/components/ui/collapsible/CollapsibleContent.vue +15 -0
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
- package/src/components/ui/collapsible/index.ts +3 -0
- package/src/components/ui/combobox/Combobox.vue +19 -0
- package/src/components/ui/combobox/ComboboxAnchor.vue +23 -0
- package/src/components/ui/combobox/ComboboxEmpty.vue +21 -0
- package/src/components/ui/combobox/ComboboxGroup.vue +27 -0
- package/src/components/ui/combobox/ComboboxInput.vue +42 -0
- package/src/components/ui/combobox/ComboboxItem.vue +24 -0
- package/src/components/ui/combobox/ComboboxItemIndicator.vue +23 -0
- package/src/components/ui/combobox/ComboboxList.vue +33 -0
- package/src/components/ui/combobox/ComboboxSeparator.vue +21 -0
- package/src/components/ui/combobox/ComboboxTrigger.vue +24 -0
- package/src/components/ui/combobox/ComboboxViewport.vue +23 -0
- package/src/components/ui/combobox/index.ts +12 -0
- package/src/components/ui/command/Command.vue +87 -0
- package/src/components/ui/command/CommandDialog.vue +31 -0
- package/src/components/ui/command/CommandEmpty.vue +27 -0
- package/src/components/ui/command/CommandGroup.vue +45 -0
- package/src/components/ui/command/CommandInput.vue +39 -0
- package/src/components/ui/command/CommandItem.vue +76 -0
- package/src/components/ui/command/CommandList.vue +25 -0
- package/src/components/ui/command/CommandSeparator.vue +21 -0
- package/src/components/ui/command/CommandShortcut.vue +17 -0
- package/src/components/ui/command/index.ts +25 -0
- package/src/components/ui/context-menu/ContextMenu.vue +18 -0
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuContent.vue +37 -0
- package/src/components/ui/context-menu/ContextMenuGroup.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuItem.vue +38 -0
- package/src/components/ui/context-menu/ContextMenuLabel.vue +22 -0
- package/src/components/ui/context-menu/ContextMenuPortal.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
- package/src/components/ui/context-menu/ContextMenuSub.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuTrigger.vue +17 -0
- package/src/components/ui/context-menu/index.ts +14 -0
- package/src/components/ui/dialog/Dialog.vue +19 -0
- package/src/components/ui/dialog/DialogClose.vue +15 -0
- package/src/components/ui/dialog/DialogContent.vue +53 -0
- package/src/components/ui/dialog/DialogDescription.vue +23 -0
- package/src/components/ui/dialog/DialogFooter.vue +15 -0
- package/src/components/ui/dialog/DialogHeader.vue +17 -0
- package/src/components/ui/dialog/DialogOverlay.vue +21 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +23 -0
- package/src/components/ui/dialog/DialogTrigger.vue +15 -0
- package/src/components/ui/dialog/index.ts +10 -0
- package/src/components/ui/drawer/Drawer.vue +23 -0
- package/src/components/ui/drawer/DrawerClose.vue +15 -0
- package/src/components/ui/drawer/DrawerContent.vue +38 -0
- package/src/components/ui/drawer/DrawerDescription.vue +21 -0
- package/src/components/ui/drawer/DrawerFooter.vue +17 -0
- package/src/components/ui/drawer/DrawerHeader.vue +17 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +19 -0
- package/src/components/ui/drawer/DrawerTitle.vue +21 -0
- package/src/components/ui/drawer/DrawerTrigger.vue +15 -0
- package/src/components/ui/drawer/index.ts +9 -0
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +30 -0
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/src/components/ui/dropdown-menu/index.ts +16 -0
- package/src/components/ui/empty/Empty.vue +20 -0
- package/src/components/ui/empty/EmptyContent.vue +20 -0
- package/src/components/ui/empty/EmptyDescription.vue +20 -0
- package/src/components/ui/empty/EmptyHeader.vue +20 -0
- package/src/components/ui/empty/EmptyMedia.vue +21 -0
- package/src/components/ui/empty/EmptyTitle.vue +17 -0
- package/src/components/ui/empty/index.ts +26 -0
- package/src/components/ui/field/Field.vue +25 -0
- package/src/components/ui/field/FieldContent.vue +20 -0
- package/src/components/ui/field/FieldDescription.vue +22 -0
- package/src/components/ui/field/FieldError.vue +53 -0
- package/src/components/ui/field/FieldGroup.vue +20 -0
- package/src/components/ui/field/FieldLabel.vue +23 -0
- package/src/components/ui/field/FieldLegend.vue +24 -0
- package/src/components/ui/field/FieldSeparator.vue +29 -0
- package/src/components/ui/field/FieldSet.vue +21 -0
- package/src/components/ui/field/FieldTitle.vue +20 -0
- package/src/components/ui/field/index.ts +39 -0
- package/src/components/ui/form/FormControl.vue +17 -0
- package/src/components/ui/form/FormDescription.vue +21 -0
- package/src/components/ui/form/FormItem.vue +23 -0
- package/src/components/ui/form/FormLabel.vue +25 -0
- package/src/components/ui/form/FormMessage.vue +23 -0
- package/src/components/ui/form/index.ts +7 -0
- package/src/components/ui/form/injectionKeys.ts +4 -0
- package/src/components/ui/form/useFormField.ts +30 -0
- package/src/components/ui/hover-card/HoverCard.vue +19 -0
- package/src/components/ui/hover-card/HoverCardContent.vue +43 -0
- package/src/components/ui/hover-card/HoverCardTrigger.vue +15 -0
- package/src/components/ui/hover-card/index.ts +3 -0
- package/src/components/ui/input/Input.vue +33 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/input-group/InputGroup.vue +35 -0
- package/src/components/ui/input-group/InputGroupAddon.vue +36 -0
- package/src/components/ui/input-group/InputGroupButton.vue +21 -0
- package/src/components/ui/input-group/InputGroupInput.vue +19 -0
- package/src/components/ui/input-group/InputGroupText.vue +19 -0
- package/src/components/ui/input-group/InputGroupTextarea.vue +19 -0
- package/src/components/ui/input-group/index.ts +59 -0
- package/src/components/ui/input-otp/InputOTP.vue +28 -0
- package/src/components/ui/input-otp/InputOTPGroup.vue +22 -0
- package/src/components/ui/input-otp/InputOTPSeparator.vue +21 -0
- package/src/components/ui/input-otp/InputOTPSlot.vue +32 -0
- package/src/components/ui/input-otp/index.ts +4 -0
- package/src/components/ui/item/Item.vue +27 -0
- package/src/components/ui/item/ItemActions.vue +17 -0
- package/src/components/ui/item/ItemContent.vue +17 -0
- package/src/components/ui/item/ItemDescription.vue +21 -0
- package/src/components/ui/item/ItemFooter.vue +17 -0
- package/src/components/ui/item/ItemGroup.vue +18 -0
- package/src/components/ui/item/ItemHeader.vue +17 -0
- package/src/components/ui/item/ItemMedia.vue +21 -0
- package/src/components/ui/item/ItemSeparator.vue +18 -0
- package/src/components/ui/item/ItemTitle.vue +17 -0
- package/src/components/ui/item/index.ts +54 -0
- package/src/components/ui/kbd/Kbd.vue +21 -0
- package/src/components/ui/kbd/KbdGroup.vue +17 -0
- package/src/components/ui/kbd/index.ts +2 -0
- package/src/components/ui/label/Label.vue +26 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/menubar/Menubar.vue +33 -0
- package/src/components/ui/menubar/MenubarCheckboxItem.vue +39 -0
- package/src/components/ui/menubar/MenubarContent.vue +45 -0
- package/src/components/ui/menubar/MenubarGroup.vue +15 -0
- package/src/components/ui/menubar/MenubarItem.vue +36 -0
- package/src/components/ui/menubar/MenubarLabel.vue +20 -0
- package/src/components/ui/menubar/MenubarMenu.vue +15 -0
- package/src/components/ui/menubar/MenubarRadioGroup.vue +21 -0
- package/src/components/ui/menubar/MenubarRadioItem.vue +39 -0
- package/src/components/ui/menubar/MenubarSeparator.vue +21 -0
- package/src/components/ui/menubar/MenubarShortcut.vue +17 -0
- package/src/components/ui/menubar/MenubarSub.vue +24 -0
- package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
- package/src/components/ui/menubar/MenubarSubTrigger.vue +28 -0
- package/src/components/ui/menubar/MenubarTrigger.vue +28 -0
- package/src/components/ui/menubar/index.ts +15 -0
- package/src/components/ui/native-select/NativeSelect.vue +50 -0
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
- package/src/components/ui/native-select/NativeSelectOption.vue +15 -0
- package/src/components/ui/native-select/index.ts +3 -0
- package/src/components/ui/navigation-menu/NavigationMenu.vue +35 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +31 -0
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +21 -0
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +26 -0
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +28 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +31 -0
- package/src/components/ui/navigation-menu/index.ts +14 -0
- package/src/components/ui/number-field/NumberField.vue +20 -0
- package/src/components/ui/number-field/NumberFieldContent.vue +14 -0
- package/src/components/ui/number-field/NumberFieldDecrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldIncrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldInput.vue +16 -0
- package/src/components/ui/number-field/index.ts +5 -0
- package/src/components/ui/pagination/Pagination.vue +26 -0
- package/src/components/ui/pagination/PaginationContent.vue +22 -0
- package/src/components/ui/pagination/PaginationEllipsis.vue +25 -0
- package/src/components/ui/pagination/PaginationFirst.vue +33 -0
- package/src/components/ui/pagination/PaginationItem.vue +34 -0
- package/src/components/ui/pagination/PaginationLast.vue +33 -0
- package/src/components/ui/pagination/PaginationNext.vue +33 -0
- package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
- package/src/components/ui/pagination/index.ts +8 -0
- package/src/components/ui/pin-input/PinInput.vue +25 -0
- package/src/components/ui/pin-input/PinInputGroup.vue +21 -0
- package/src/components/ui/pin-input/PinInputSeparator.vue +19 -0
- package/src/components/ui/pin-input/PinInputSlot.vue +21 -0
- package/src/components/ui/pin-input/index.ts +4 -0
- package/src/components/ui/popover/Popover.vue +19 -0
- package/src/components/ui/popover/PopoverAnchor.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +45 -0
- package/src/components/ui/popover/PopoverTrigger.vue +15 -0
- package/src/components/ui/popover/index.ts +4 -0
- package/src/components/ui/progress/Progress.vue +38 -0
- package/src/components/ui/progress/index.ts +1 -0
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +40 -0
- package/src/components/ui/radio-group/index.ts +2 -0
- package/src/components/ui/range-calendar/RangeCalendar.vue +62 -0
- package/src/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +41 -0
- package/src/components/ui/range-calendar/RangeCalendarGrid.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarGridBody.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridHead.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeader.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeading.vue +30 -0
- package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/src/components/ui/range-calendar/index.ts +12 -0
- package/src/components/ui/resizable/ResizableHandle.vue +30 -0
- package/src/components/ui/resizable/ResizablePanel.vue +21 -0
- package/src/components/ui/resizable/ResizablePanelGroup.vue +25 -0
- package/src/components/ui/resizable/index.ts +3 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
- package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/src/components/ui/scroll-area/index.ts +2 -0
- package/src/components/ui/select/Select.vue +19 -0
- package/src/components/ui/select/SelectContent.vue +51 -0
- package/src/components/ui/select/SelectGroup.vue +15 -0
- package/src/components/ui/select/SelectItem.vue +44 -0
- package/src/components/ui/select/SelectItemText.vue +15 -0
- package/src/components/ui/select/SelectLabel.vue +17 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +26 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +26 -0
- package/src/components/ui/select/SelectSeparator.vue +19 -0
- package/src/components/ui/select/SelectTrigger.vue +33 -0
- package/src/components/ui/select/SelectValue.vue +15 -0
- package/src/components/ui/select/index.ts +11 -0
- package/src/components/ui/separator/Separator.vue +29 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/sheet/Sheet.vue +19 -0
- package/src/components/ui/sheet/SheetClose.vue +15 -0
- package/src/components/ui/sheet/SheetContent.vue +62 -0
- package/src/components/ui/sheet/SheetDescription.vue +21 -0
- package/src/components/ui/sheet/SheetFooter.vue +16 -0
- package/src/components/ui/sheet/SheetHeader.vue +15 -0
- package/src/components/ui/sheet/SheetOverlay.vue +21 -0
- package/src/components/ui/sheet/SheetTitle.vue +21 -0
- package/src/components/ui/sheet/SheetTrigger.vue +15 -0
- package/src/components/ui/sheet/index.ts +8 -0
- package/src/components/ui/sidebar/Sidebar.vue +96 -0
- package/src/components/ui/sidebar/SidebarContent.vue +18 -0
- package/src/components/ui/sidebar/SidebarFooter.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroup.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroupAction.vue +27 -0
- package/src/components/ui/sidebar/SidebarGroupContent.vue +18 -0
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
- package/src/components/ui/sidebar/SidebarHeader.vue +18 -0
- package/src/components/ui/sidebar/SidebarInput.vue +22 -0
- package/src/components/ui/sidebar/SidebarInset.vue +21 -0
- package/src/components/ui/sidebar/SidebarMenu.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuAction.vue +35 -0
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
- package/src/components/ui/sidebar/SidebarMenuButton.vue +48 -0
- package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +36 -0
- package/src/components/ui/sidebar/SidebarMenuItem.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +35 -0
- package/src/components/ui/sidebar/SidebarMenuSub.vue +22 -0
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +36 -0
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +18 -0
- package/src/components/ui/sidebar/SidebarProvider.vue +82 -0
- package/src/components/ui/sidebar/SidebarRail.vue +33 -0
- package/src/components/ui/sidebar/SidebarSeparator.vue +19 -0
- package/src/components/ui/sidebar/SidebarTrigger.vue +27 -0
- package/src/components/ui/sidebar/index.ts +60 -0
- package/src/components/ui/sidebar/utils.ts +19 -0
- package/src/components/ui/skeleton/Skeleton.vue +17 -0
- package/src/components/ui/skeleton/index.ts +1 -0
- package/src/components/ui/slider/Slider.vue +43 -0
- package/src/components/ui/slider/index.ts +1 -0
- package/src/components/ui/sonner/Sonner.vue +42 -0
- package/src/components/ui/sonner/index.ts +1 -0
- package/src/components/ui/spinner/Spinner.vue +17 -0
- package/src/components/ui/spinner/index.ts +1 -0
- package/src/components/ui/stepper/Stepper.vue +27 -0
- package/src/components/ui/stepper/StepperDescription.vue +19 -0
- package/src/components/ui/stepper/StepperIndicator.vue +32 -0
- package/src/components/ui/stepper/StepperItem.vue +23 -0
- package/src/components/ui/stepper/StepperSeparator.vue +27 -0
- package/src/components/ui/stepper/StepperTitle.vue +19 -0
- package/src/components/ui/stepper/StepperTrigger.vue +22 -0
- package/src/components/ui/stepper/index.ts +7 -0
- package/src/components/ui/switch/Switch.vue +38 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/table/Table.vue +16 -0
- package/src/components/ui/table/TableBody.vue +17 -0
- package/src/components/ui/table/TableCaption.vue +17 -0
- package/src/components/ui/table/TableCell.vue +22 -0
- package/src/components/ui/table/TableEmpty.vue +34 -0
- package/src/components/ui/table/TableFooter.vue +17 -0
- package/src/components/ui/table/TableHead.vue +17 -0
- package/src/components/ui/table/TableHeader.vue +17 -0
- package/src/components/ui/table/TableRow.vue +17 -0
- package/src/components/ui/table/index.ts +9 -0
- package/src/components/ui/table/utils.ts +10 -0
- package/src/components/ui/tabs/Tabs.vue +24 -0
- package/src/components/ui/tabs/TabsContent.vue +21 -0
- package/src/components/ui/tabs/TabsList.vue +24 -0
- package/src/components/ui/tabs/TabsTrigger.vue +26 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/tags-input/TagsInput.vue +26 -0
- package/src/components/ui/tags-input/TagsInputInput.vue +17 -0
- package/src/components/ui/tags-input/TagsInputItem.vue +20 -0
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
- package/src/components/ui/tags-input/TagsInputItemText.vue +17 -0
- package/src/components/ui/tags-input/index.ts +5 -0
- package/src/components/ui/textarea/Textarea.vue +28 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/components/ui/toggle/Toggle.vue +35 -0
- package/src/components/ui/toggle/index.ts +28 -0
- package/src/components/ui/toggle-group/ToggleGroup.vue +49 -0
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
- package/src/components/ui/toggle-group/index.ts +2 -0
- package/src/components/ui/tooltip/Tooltip.vue +19 -0
- package/src/components/ui/tooltip/TooltipContent.vue +34 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +15 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/src/index.ts +14 -0
- package/src/lib/utils.ts +7 -0
- package/src/style.css +132 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogContentEmits, DialogContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { X } from "lucide-vue-next"
|
|
6
|
+
import {
|
|
7
|
+
DialogClose,
|
|
8
|
+
DialogContent,
|
|
9
|
+
DialogPortal,
|
|
10
|
+
useForwardPropsEmits,
|
|
11
|
+
} from "reka-ui"
|
|
12
|
+
import { cn } from "@/lib/utils"
|
|
13
|
+
import DialogOverlay from "./DialogOverlay.vue"
|
|
14
|
+
|
|
15
|
+
defineOptions({
|
|
16
|
+
inheritAttrs: false,
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
const props = withDefaults(defineProps<DialogContentProps & { class?: HTMLAttributes["class"], showCloseButton?: boolean }>(), {
|
|
20
|
+
showCloseButton: true,
|
|
21
|
+
})
|
|
22
|
+
const emits = defineEmits<DialogContentEmits>()
|
|
23
|
+
|
|
24
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
25
|
+
|
|
26
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<DialogPortal>
|
|
31
|
+
<DialogOverlay />
|
|
32
|
+
<DialogContent
|
|
33
|
+
data-slot="dialog-content"
|
|
34
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
35
|
+
:class="
|
|
36
|
+
cn(
|
|
37
|
+
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
|
|
38
|
+
props.class,
|
|
39
|
+
)"
|
|
40
|
+
>
|
|
41
|
+
<slot />
|
|
42
|
+
|
|
43
|
+
<DialogClose
|
|
44
|
+
v-if="showCloseButton"
|
|
45
|
+
data-slot="dialog-close"
|
|
46
|
+
class="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
|
|
47
|
+
>
|
|
48
|
+
<X />
|
|
49
|
+
<span class="sr-only">Close</span>
|
|
50
|
+
</DialogClose>
|
|
51
|
+
</DialogContent>
|
|
52
|
+
</DialogPortal>
|
|
53
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogDescriptionProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DialogDescription, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<DialogDescription
|
|
17
|
+
data-slot="dialog-description"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
:class="cn('text-muted-foreground text-sm', props.class)"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</DialogDescription>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="dialog-footer"
|
|
11
|
+
:class="cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="dialog-header"
|
|
13
|
+
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogOverlayProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DialogOverlay } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<DialogOverlay
|
|
15
|
+
data-slot="dialog-overlay"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</DialogOverlay>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogContentEmits, DialogContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { X } from "lucide-vue-next"
|
|
6
|
+
import {
|
|
7
|
+
DialogClose,
|
|
8
|
+
DialogContent,
|
|
9
|
+
DialogOverlay,
|
|
10
|
+
DialogPortal,
|
|
11
|
+
useForwardPropsEmits,
|
|
12
|
+
} from "reka-ui"
|
|
13
|
+
import { cn } from "@/lib/utils"
|
|
14
|
+
|
|
15
|
+
defineOptions({
|
|
16
|
+
inheritAttrs: false,
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
|
20
|
+
const emits = defineEmits<DialogContentEmits>()
|
|
21
|
+
|
|
22
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
23
|
+
|
|
24
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<DialogPortal>
|
|
29
|
+
<DialogOverlay
|
|
30
|
+
class="fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
31
|
+
>
|
|
32
|
+
<DialogContent
|
|
33
|
+
:class="
|
|
34
|
+
cn(
|
|
35
|
+
'relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full',
|
|
36
|
+
props.class,
|
|
37
|
+
)
|
|
38
|
+
"
|
|
39
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
40
|
+
@pointer-down-outside="(event) => {
|
|
41
|
+
const originalEvent = event.detail.originalEvent;
|
|
42
|
+
const target = originalEvent.target as HTMLElement;
|
|
43
|
+
if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
}
|
|
46
|
+
}"
|
|
47
|
+
>
|
|
48
|
+
<slot />
|
|
49
|
+
|
|
50
|
+
<DialogClose
|
|
51
|
+
class="absolute top-4 right-4 p-0.5 transition-colors rounded-md hover:bg-secondary"
|
|
52
|
+
>
|
|
53
|
+
<X class="w-4 h-4" />
|
|
54
|
+
<span class="sr-only">Close</span>
|
|
55
|
+
</DialogClose>
|
|
56
|
+
</DialogContent>
|
|
57
|
+
</DialogOverlay>
|
|
58
|
+
</DialogPortal>
|
|
59
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogTitleProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DialogTitle, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<DialogTitle
|
|
17
|
+
data-slot="dialog-title"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
:class="cn('text-lg leading-none font-semibold', props.class)"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</DialogTitle>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DialogTriggerProps } from "reka-ui"
|
|
3
|
+
import { DialogTrigger } from "reka-ui"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<DialogTriggerProps>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<DialogTrigger
|
|
10
|
+
data-slot="dialog-trigger"
|
|
11
|
+
v-bind="props"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</DialogTrigger>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as Dialog } from "./Dialog.vue"
|
|
2
|
+
export { default as DialogClose } from "./DialogClose.vue"
|
|
3
|
+
export { default as DialogContent } from "./DialogContent.vue"
|
|
4
|
+
export { default as DialogDescription } from "./DialogDescription.vue"
|
|
5
|
+
export { default as DialogFooter } from "./DialogFooter.vue"
|
|
6
|
+
export { default as DialogHeader } from "./DialogHeader.vue"
|
|
7
|
+
export { default as DialogOverlay } from "./DialogOverlay.vue"
|
|
8
|
+
export { default as DialogScrollContent } from "./DialogScrollContent.vue"
|
|
9
|
+
export { default as DialogTitle } from "./DialogTitle.vue"
|
|
10
|
+
export { default as DialogTrigger } from "./DialogTrigger.vue"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DrawerRootEmits, DrawerRootProps } from "vaul-vue"
|
|
3
|
+
import { useForwardPropsEmits } from "reka-ui"
|
|
4
|
+
import { DrawerRoot } from "vaul-vue"
|
|
5
|
+
|
|
6
|
+
const props = withDefaults(defineProps<DrawerRootProps>(), {
|
|
7
|
+
shouldScaleBackground: true,
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
const emits = defineEmits<DrawerRootEmits>()
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<DrawerRoot
|
|
17
|
+
v-slot="slotProps"
|
|
18
|
+
data-slot="drawer"
|
|
19
|
+
v-bind="forwarded"
|
|
20
|
+
>
|
|
21
|
+
<slot v-bind="slotProps" />
|
|
22
|
+
</DrawerRoot>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DrawerCloseProps } from "vaul-vue"
|
|
3
|
+
import { DrawerClose } from "vaul-vue"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<DrawerCloseProps>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<DrawerClose
|
|
10
|
+
data-slot="drawer-close"
|
|
11
|
+
v-bind="props"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</DrawerClose>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DialogContentEmits, DialogContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { useForwardPropsEmits } from "reka-ui"
|
|
5
|
+
import { DrawerContent, DrawerPortal } from "vaul-vue"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
import DrawerOverlay from "./DrawerOverlay.vue"
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
|
14
|
+
const emits = defineEmits<DialogContentEmits>()
|
|
15
|
+
|
|
16
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<template>
|
|
20
|
+
<DrawerPortal>
|
|
21
|
+
<DrawerOverlay />
|
|
22
|
+
<DrawerContent
|
|
23
|
+
data-slot="drawer-content"
|
|
24
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
25
|
+
:class="cn(
|
|
26
|
+
'group/drawer-content bg-background fixed z-50 flex h-auto flex-col',
|
|
27
|
+
'data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg',
|
|
28
|
+
'data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg',
|
|
29
|
+
'data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:sm:max-w-sm',
|
|
30
|
+
'data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:sm:max-w-sm',
|
|
31
|
+
props.class,
|
|
32
|
+
)"
|
|
33
|
+
>
|
|
34
|
+
<div class="bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" />
|
|
35
|
+
<slot />
|
|
36
|
+
</DrawerContent>
|
|
37
|
+
</DrawerPortal>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DrawerDescriptionProps } from "vaul-vue"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DrawerDescription } from "vaul-vue"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DrawerDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<DrawerDescription
|
|
15
|
+
data-slot="drawer-description"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('text-muted-foreground text-sm', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</DrawerDescription>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="drawer-footer"
|
|
13
|
+
:class="cn('mt-auto flex flex-col gap-2 p-4', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="drawer-header"
|
|
13
|
+
:class="cn('flex flex-col gap-1.5 p-4', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DialogOverlayProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DrawerOverlay } from "vaul-vue"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<DrawerOverlay
|
|
15
|
+
data-slot="drawer-overlay"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80', props.class)"
|
|
18
|
+
/>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DrawerTitleProps } from "vaul-vue"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DrawerTitle } from "vaul-vue"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DrawerTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<DrawerTitle
|
|
15
|
+
data-slot="drawer-title"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('text-foreground font-semibold', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</DrawerTitle>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { DrawerTriggerProps } from "vaul-vue"
|
|
3
|
+
import { DrawerTrigger } from "vaul-vue"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<DrawerTriggerProps>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<DrawerTrigger
|
|
10
|
+
data-slot="drawer-trigger"
|
|
11
|
+
v-bind="props"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</DrawerTrigger>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Drawer } from "./Drawer.vue"
|
|
2
|
+
export { default as DrawerClose } from "./DrawerClose.vue"
|
|
3
|
+
export { default as DrawerContent } from "./DrawerContent.vue"
|
|
4
|
+
export { default as DrawerDescription } from "./DrawerDescription.vue"
|
|
5
|
+
export { default as DrawerFooter } from "./DrawerFooter.vue"
|
|
6
|
+
export { default as DrawerHeader } from "./DrawerHeader.vue"
|
|
7
|
+
export { default as DrawerOverlay } from "./DrawerOverlay.vue"
|
|
8
|
+
export { default as DrawerTitle } from "./DrawerTitle.vue"
|
|
9
|
+
export { default as DrawerTrigger } from "./DrawerTrigger.vue"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuRootEmits, DropdownMenuRootProps } from "reka-ui"
|
|
3
|
+
import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<DropdownMenuRootProps>()
|
|
6
|
+
const emits = defineEmits<DropdownMenuRootEmits>()
|
|
7
|
+
|
|
8
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<DropdownMenuRoot
|
|
13
|
+
v-slot="slotProps"
|
|
14
|
+
data-slot="dropdown-menu"
|
|
15
|
+
v-bind="forwarded"
|
|
16
|
+
>
|
|
17
|
+
<slot v-bind="slotProps" />
|
|
18
|
+
</DropdownMenuRoot>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuCheckboxItemEmits, DropdownMenuCheckboxItemProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { Check } from "lucide-vue-next"
|
|
6
|
+
import {
|
|
7
|
+
DropdownMenuCheckboxItem,
|
|
8
|
+
DropdownMenuItemIndicator,
|
|
9
|
+
useForwardPropsEmits,
|
|
10
|
+
} from "reka-ui"
|
|
11
|
+
import { cn } from "@/lib/utils"
|
|
12
|
+
|
|
13
|
+
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
|
|
14
|
+
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
|
|
15
|
+
|
|
16
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
17
|
+
|
|
18
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<DropdownMenuCheckboxItem
|
|
23
|
+
data-slot="dropdown-menu-checkbox-item"
|
|
24
|
+
v-bind="forwarded"
|
|
25
|
+
:class=" cn(
|
|
26
|
+
'focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
27
|
+
props.class,
|
|
28
|
+
)"
|
|
29
|
+
>
|
|
30
|
+
<span class="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
|
|
31
|
+
<DropdownMenuItemIndicator>
|
|
32
|
+
<slot name="indicator-icon">
|
|
33
|
+
<Check class="size-4" />
|
|
34
|
+
</slot>
|
|
35
|
+
</DropdownMenuItemIndicator>
|
|
36
|
+
</span>
|
|
37
|
+
<slot />
|
|
38
|
+
</DropdownMenuCheckboxItem>
|
|
39
|
+
</template>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuContentEmits, DropdownMenuContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import {
|
|
6
|
+
DropdownMenuContent,
|
|
7
|
+
DropdownMenuPortal,
|
|
8
|
+
useForwardPropsEmits,
|
|
9
|
+
} from "reka-ui"
|
|
10
|
+
import { cn } from "@/lib/utils"
|
|
11
|
+
|
|
12
|
+
defineOptions({
|
|
13
|
+
inheritAttrs: false,
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
const props = withDefaults(
|
|
17
|
+
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),
|
|
18
|
+
{
|
|
19
|
+
sideOffset: 4,
|
|
20
|
+
},
|
|
21
|
+
)
|
|
22
|
+
const emits = defineEmits<DropdownMenuContentEmits>()
|
|
23
|
+
|
|
24
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
25
|
+
|
|
26
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<DropdownMenuPortal>
|
|
31
|
+
<DropdownMenuContent
|
|
32
|
+
data-slot="dropdown-menu-content"
|
|
33
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
34
|
+
:class="cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md', props.class)"
|
|
35
|
+
>
|
|
36
|
+
<slot />
|
|
37
|
+
</DropdownMenuContent>
|
|
38
|
+
</DropdownMenuPortal>
|
|
39
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuGroupProps } from "reka-ui"
|
|
3
|
+
import { DropdownMenuGroup } from "reka-ui"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<DropdownMenuGroupProps>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<DropdownMenuGroup
|
|
10
|
+
data-slot="dropdown-menu-group"
|
|
11
|
+
v-bind="props"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</DropdownMenuGroup>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuItemProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DropdownMenuItem, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = withDefaults(defineProps<DropdownMenuItemProps & {
|
|
9
|
+
class?: HTMLAttributes["class"]
|
|
10
|
+
inset?: boolean
|
|
11
|
+
variant?: "default" | "destructive"
|
|
12
|
+
}>(), {
|
|
13
|
+
variant: "default",
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
const delegatedProps = reactiveOmit(props, "inset", "variant", "class")
|
|
17
|
+
|
|
18
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<DropdownMenuItem
|
|
23
|
+
data-slot="dropdown-menu-item"
|
|
24
|
+
:data-inset="inset ? '' : undefined"
|
|
25
|
+
:data-variant="variant"
|
|
26
|
+
v-bind="forwardedProps"
|
|
27
|
+
:class="cn('focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4', props.class)"
|
|
28
|
+
>
|
|
29
|
+
<slot />
|
|
30
|
+
</DropdownMenuItem>
|
|
31
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuLabelProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { DropdownMenuLabel, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class", "inset")
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<DropdownMenuLabel
|
|
16
|
+
data-slot="dropdown-menu-label"
|
|
17
|
+
:data-inset="inset ? '' : undefined"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
:class="cn('px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', props.class)"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</DropdownMenuLabel>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuRadioGroupEmits, DropdownMenuRadioGroupProps } from "reka-ui"
|
|
3
|
+
import {
|
|
4
|
+
DropdownMenuRadioGroup,
|
|
5
|
+
useForwardPropsEmits,
|
|
6
|
+
} from "reka-ui"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<DropdownMenuRadioGroupProps>()
|
|
9
|
+
const emits = defineEmits<DropdownMenuRadioGroupEmits>()
|
|
10
|
+
|
|
11
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<DropdownMenuRadioGroup
|
|
16
|
+
data-slot="dropdown-menu-radio-group"
|
|
17
|
+
v-bind="forwarded"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</DropdownMenuRadioGroup>
|
|
21
|
+
</template>
|