@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,32 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { StepperIndicatorProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { StepperIndicator, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<StepperIndicatorProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<StepperIndicator
|
|
17
|
+
v-slot="slotProps"
|
|
18
|
+
v-bind="forwarded"
|
|
19
|
+
:class="cn(
|
|
20
|
+
'inline-flex items-center justify-center rounded-full text-muted-foreground/50 w-8 h-8',
|
|
21
|
+
// Disabled
|
|
22
|
+
'group-data-[disabled]:text-muted-foreground group-data-[disabled]:opacity-50',
|
|
23
|
+
// Active
|
|
24
|
+
'group-data-[state=active]:bg-primary group-data-[state=active]:text-primary-foreground',
|
|
25
|
+
// Completed
|
|
26
|
+
'group-data-[state=completed]:bg-accent group-data-[state=completed]:text-accent-foreground',
|
|
27
|
+
props.class,
|
|
28
|
+
)"
|
|
29
|
+
>
|
|
30
|
+
<slot v-bind="slotProps" />
|
|
31
|
+
</StepperIndicator>
|
|
32
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { StepperItemProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { StepperItem, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<StepperItemProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<StepperItem
|
|
17
|
+
v-slot="slotProps"
|
|
18
|
+
v-bind="forwarded"
|
|
19
|
+
:class="cn('flex items-center gap-2 group data-[disabled]:pointer-events-none', props.class)"
|
|
20
|
+
>
|
|
21
|
+
<slot v-bind="slotProps" />
|
|
22
|
+
</StepperItem>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { StepperSeparatorProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { StepperSeparator, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<StepperSeparatorProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<StepperSeparator
|
|
17
|
+
v-bind="forwarded"
|
|
18
|
+
:class="cn(
|
|
19
|
+
'bg-muted',
|
|
20
|
+
// Disabled
|
|
21
|
+
'group-data-[disabled]:bg-muted group-data-[disabled]:opacity-50',
|
|
22
|
+
// Completed
|
|
23
|
+
'group-data-[state=completed]:bg-accent',
|
|
24
|
+
props.class,
|
|
25
|
+
)"
|
|
26
|
+
/>
|
|
27
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { StepperTitleProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { StepperTitle, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<StepperTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<StepperTitle v-bind="forwarded" :class="cn('text-md font-semibold whitespace-nowrap', props.class)">
|
|
17
|
+
<slot />
|
|
18
|
+
</StepperTitle>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { StepperTriggerProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { StepperTrigger, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<StepperTriggerProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwarded = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<StepperTrigger
|
|
17
|
+
v-bind="forwarded"
|
|
18
|
+
:class="cn('p-1 flex flex-col items-center text-center gap-1 rounded-md', props.class)"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</StepperTrigger>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Stepper } from "./Stepper.vue"
|
|
2
|
+
export { default as StepperDescription } from "./StepperDescription.vue"
|
|
3
|
+
export { default as StepperIndicator } from "./StepperIndicator.vue"
|
|
4
|
+
export { default as StepperItem } from "./StepperItem.vue"
|
|
5
|
+
export { default as StepperSeparator } from "./StepperSeparator.vue"
|
|
6
|
+
export { default as StepperTitle } from "./StepperTitle.vue"
|
|
7
|
+
export { default as StepperTrigger } from "./StepperTrigger.vue"
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { SwitchRootEmits, SwitchRootProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import {
|
|
6
|
+
SwitchRoot,
|
|
7
|
+
SwitchThumb,
|
|
8
|
+
useForwardPropsEmits,
|
|
9
|
+
} from "reka-ui"
|
|
10
|
+
import { cn } from "@/lib/utils"
|
|
11
|
+
|
|
12
|
+
const props = defineProps<SwitchRootProps & { class?: HTMLAttributes["class"] }>()
|
|
13
|
+
|
|
14
|
+
const emits = defineEmits<SwitchRootEmits>()
|
|
15
|
+
|
|
16
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
17
|
+
|
|
18
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<SwitchRoot
|
|
23
|
+
v-slot="slotProps"
|
|
24
|
+
data-slot="switch"
|
|
25
|
+
v-bind="forwarded"
|
|
26
|
+
:class="cn(
|
|
27
|
+
'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',
|
|
28
|
+
props.class,
|
|
29
|
+
)"
|
|
30
|
+
>
|
|
31
|
+
<SwitchThumb
|
|
32
|
+
data-slot="switch-thumb"
|
|
33
|
+
:class="cn('bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0')"
|
|
34
|
+
>
|
|
35
|
+
<slot name="thumb" v-bind="slotProps" />
|
|
36
|
+
</SwitchThumb>
|
|
37
|
+
</SwitchRoot>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Switch } from "./Switch.vue"
|
|
@@ -0,0 +1,16 @@
|
|
|
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 data-slot="table-container" class="relative w-full overflow-auto">
|
|
12
|
+
<table data-slot="table" :class="cn('w-full caption-bottom text-sm', props.class)">
|
|
13
|
+
<slot />
|
|
14
|
+
</table>
|
|
15
|
+
</div>
|
|
16
|
+
</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
|
+
<tbody
|
|
12
|
+
data-slot="table-body"
|
|
13
|
+
:class="cn('[&_tr:last-child]:border-0', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</tbody>
|
|
17
|
+
</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
|
+
<caption
|
|
12
|
+
data-slot="table-caption"
|
|
13
|
+
:class="cn('text-muted-foreground mt-4 text-sm', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</caption>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
<td
|
|
12
|
+
data-slot="table-cell"
|
|
13
|
+
:class="
|
|
14
|
+
cn(
|
|
15
|
+
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
|
|
16
|
+
props.class,
|
|
17
|
+
)
|
|
18
|
+
"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</td>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
4
|
+
import { cn } from "@/lib/utils"
|
|
5
|
+
import TableCell from "./TableCell.vue"
|
|
6
|
+
import TableRow from "./TableRow.vue"
|
|
7
|
+
|
|
8
|
+
const props = withDefaults(defineProps<{
|
|
9
|
+
class?: HTMLAttributes["class"]
|
|
10
|
+
colspan?: number
|
|
11
|
+
}>(), {
|
|
12
|
+
colspan: 1,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<TableRow>
|
|
20
|
+
<TableCell
|
|
21
|
+
:class="
|
|
22
|
+
cn(
|
|
23
|
+
'p-4 whitespace-nowrap align-middle text-sm text-foreground',
|
|
24
|
+
props.class,
|
|
25
|
+
)
|
|
26
|
+
"
|
|
27
|
+
v-bind="delegatedProps"
|
|
28
|
+
>
|
|
29
|
+
<div class="flex items-center justify-center py-10">
|
|
30
|
+
<slot />
|
|
31
|
+
</div>
|
|
32
|
+
</TableCell>
|
|
33
|
+
</TableRow>
|
|
34
|
+
</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
|
+
<tfoot
|
|
12
|
+
data-slot="table-footer"
|
|
13
|
+
:class="cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</tfoot>
|
|
17
|
+
</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
|
+
<th
|
|
12
|
+
data-slot="table-head"
|
|
13
|
+
:class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</th>
|
|
17
|
+
</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
|
+
<thead
|
|
12
|
+
data-slot="table-header"
|
|
13
|
+
:class="cn('[&_tr]:border-b', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</thead>
|
|
17
|
+
</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
|
+
<tr
|
|
12
|
+
data-slot="table-row"
|
|
13
|
+
:class="cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</tr>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Table } from "./Table.vue"
|
|
2
|
+
export { default as TableBody } from "./TableBody.vue"
|
|
3
|
+
export { default as TableCaption } from "./TableCaption.vue"
|
|
4
|
+
export { default as TableCell } from "./TableCell.vue"
|
|
5
|
+
export { default as TableEmpty } from "./TableEmpty.vue"
|
|
6
|
+
export { default as TableFooter } from "./TableFooter.vue"
|
|
7
|
+
export { default as TableHead } from "./TableHead.vue"
|
|
8
|
+
export { default as TableHeader } from "./TableHeader.vue"
|
|
9
|
+
export { default as TableRow } from "./TableRow.vue"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Updater } from "@tanstack/vue-table"
|
|
2
|
+
|
|
3
|
+
import type { Ref } from "vue"
|
|
4
|
+
import { isFunction } from "@tanstack/vue-table"
|
|
5
|
+
|
|
6
|
+
export function valueUpdater<T>(updaterOrValue: Updater<T>, ref: Ref<T>) {
|
|
7
|
+
ref.value = isFunction(updaterOrValue)
|
|
8
|
+
? updaterOrValue(ref.value)
|
|
9
|
+
: updaterOrValue
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TabsRootEmits, TabsRootProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TabsRoot, useForwardPropsEmits } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TabsRootProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
const emits = defineEmits<TabsRootEmits>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<TabsRoot
|
|
17
|
+
v-slot="slotProps"
|
|
18
|
+
data-slot="tabs"
|
|
19
|
+
v-bind="forwarded"
|
|
20
|
+
:class="cn('flex flex-col gap-2', props.class)"
|
|
21
|
+
>
|
|
22
|
+
<slot v-bind="slotProps" />
|
|
23
|
+
</TabsRoot>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TabsContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TabsContent } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TabsContentProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<TabsContent
|
|
15
|
+
data-slot="tabs-content"
|
|
16
|
+
:class="cn('flex-1 outline-none', props.class)"
|
|
17
|
+
v-bind="delegatedProps"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</TabsContent>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TabsListProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TabsList } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TabsListProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<TabsList
|
|
15
|
+
data-slot="tabs-list"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn(
|
|
18
|
+
'bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]',
|
|
19
|
+
props.class,
|
|
20
|
+
)"
|
|
21
|
+
>
|
|
22
|
+
<slot />
|
|
23
|
+
</TabsList>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TabsTriggerProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TabsTrigger, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TabsTriggerProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<TabsTrigger
|
|
17
|
+
data-slot="tabs-trigger"
|
|
18
|
+
:class="cn(
|
|
19
|
+
'data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
20
|
+
props.class,
|
|
21
|
+
)"
|
|
22
|
+
v-bind="forwardedProps"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</TabsTrigger>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TagsInputRootEmits, TagsInputRootProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TagsInputRoot, useForwardPropsEmits } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
const emits = defineEmits<TagsInputRootEmits>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
|
|
13
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<TagsInputRoot
|
|
18
|
+
v-slot="slotProps" v-bind="forwarded" :class="cn(
|
|
19
|
+
'flex flex-wrap gap-2 items-center rounded-md border border-input bg-background px-2 py-1 text-sm shadow-xs transition-[color,box-shadow] outline-none',
|
|
20
|
+
'focus-within:border-ring focus-within:ring-ring/50 focus-within:ring-[3px]',
|
|
21
|
+
'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',
|
|
22
|
+
props.class)"
|
|
23
|
+
>
|
|
24
|
+
<slot v-bind="slotProps" />
|
|
25
|
+
</TagsInputRoot>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TagsInputInputProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TagsInputInput, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TagsInputInputProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<TagsInputInput v-bind="forwardedProps" :class="cn('text-sm min-h-5 focus:outline-none flex-1 bg-transparent px-1', props.class)" />
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TagsInputItemProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
|
|
5
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
6
|
+
import { TagsInputItem, useForwardProps } from "reka-ui"
|
|
7
|
+
import { cn } from "@/lib/utils"
|
|
8
|
+
|
|
9
|
+
const props = defineProps<TagsInputItemProps & { class?: HTMLAttributes["class"] }>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
|
|
13
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<TagsInputItem v-bind="forwardedProps" :class="cn('flex h-5 items-center rounded-md bg-secondary data-[state=active]:ring-ring data-[state=active]:ring-2 data-[state=active]:ring-offset-2 ring-offset-background', props.class)">
|
|
18
|
+
<slot />
|
|
19
|
+
</TagsInputItem>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TagsInputItemDeleteProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { X } from "lucide-vue-next"
|
|
6
|
+
import { TagsInputItemDelete, useForwardProps } from "reka-ui"
|
|
7
|
+
import { cn } from "@/lib/utils"
|
|
8
|
+
|
|
9
|
+
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes["class"] }>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
|
|
13
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<TagsInputItemDelete v-bind="forwardedProps" :class="cn('flex rounded bg-transparent mr-1', props.class)">
|
|
18
|
+
<slot>
|
|
19
|
+
<X class="w-4 h-4" />
|
|
20
|
+
</slot>
|
|
21
|
+
</TagsInputItemDelete>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { TagsInputItemTextProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { TagsInputItemText, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<TagsInputItemTextProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<TagsInputItemText v-bind="forwardedProps" :class="cn('py-0.5 px-2 text-sm rounded bg-transparent', props.class)" />
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as TagsInput } from "./TagsInput.vue"
|
|
2
|
+
export { default as TagsInputInput } from "./TagsInputInput.vue"
|
|
3
|
+
export { default as TagsInputItem } from "./TagsInputItem.vue"
|
|
4
|
+
export { default as TagsInputItemDelete } from "./TagsInputItemDelete.vue"
|
|
5
|
+
export { default as TagsInputItemText } from "./TagsInputItemText.vue"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { useVModel } from "@vueuse/core"
|
|
4
|
+
import { cn } from "@/lib/utils"
|
|
5
|
+
|
|
6
|
+
const props = defineProps<{
|
|
7
|
+
class?: HTMLAttributes["class"]
|
|
8
|
+
defaultValue?: string | number
|
|
9
|
+
modelValue?: string | number
|
|
10
|
+
}>()
|
|
11
|
+
|
|
12
|
+
const emits = defineEmits<{
|
|
13
|
+
(e: "update:modelValue", payload: string | number): void
|
|
14
|
+
}>()
|
|
15
|
+
|
|
16
|
+
const modelValue = useVModel(props, "modelValue", emits, {
|
|
17
|
+
passive: true,
|
|
18
|
+
defaultValue: props.defaultValue,
|
|
19
|
+
})
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<textarea
|
|
24
|
+
v-model="modelValue"
|
|
25
|
+
data-slot="textarea"
|
|
26
|
+
:class="cn('border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', props.class)"
|
|
27
|
+
/>
|
|
28
|
+
</template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Textarea } from "./Textarea.vue"
|