@matta-trade/ui 0.0.0-stage → 0.2.2
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/DESIGN.md +217 -0
- package/README.md +91 -2
- package/dist/alert/Alert.vue.d.ts +19 -0
- package/dist/alert/AlertDescription.vue.d.ts +17 -0
- package/dist/alert/AlertTitle.vue.d.ts +17 -0
- package/dist/alert/index.d.ts +8 -0
- package/dist/alert/index.js +62 -0
- package/dist/alert-dialog/AlertDialog.vue.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
- package/dist/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
- package/dist/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
- package/dist/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
- package/dist/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
- package/dist/alert-dialog/index.d.ts +9 -0
- package/dist/alert-dialog/index.js +177 -0
- package/dist/avatar/Avatar.vue.d.ts +27 -0
- package/dist/avatar/AvatarFallback.vue.d.ts +18 -0
- package/dist/avatar/AvatarImage.vue.d.ts +14 -0
- package/dist/avatar/index.d.ts +9 -0
- package/dist/avatar/index.js +120 -0
- package/dist/avatar-colors.d.ts +51 -0
- package/dist/badge/Badge.vue.d.ts +20 -0
- package/dist/badge/index.d.ts +6 -0
- package/dist/badge/index.js +58 -0
- package/dist/breadcrumb/Breadcrumb.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbEllipsis.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
- package/dist/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
- package/dist/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
- package/dist/breadcrumb/index.d.ts +7 -0
- package/dist/breadcrumb/index.js +131 -0
- package/dist/button/Button.vue.d.ts +36 -0
- package/dist/button/index.d.ts +7 -0
- package/dist/button/index.js +2 -0
- package/dist/button-group/ButtonGroup.vue.d.ts +19 -0
- package/dist/button-group/ButtonGroupSeparator.vue.d.ts +10 -0
- package/dist/button-group/ButtonGroupText.vue.d.ts +22 -0
- package/dist/button-group/index.d.ts +8 -0
- package/dist/button-group/index.js +92 -0
- package/dist/calendar/Calendar.vue.d.ts +14 -0
- package/dist/calendar/CalendarCell.vue.d.ts +18 -0
- package/dist/calendar/CalendarCellTrigger.vue.d.ts +18 -0
- package/dist/calendar/CalendarGrid.vue.d.ts +18 -0
- package/dist/calendar/CalendarGridBody.vue.d.ts +14 -0
- package/dist/calendar/CalendarGridHead.vue.d.ts +14 -0
- package/dist/calendar/CalendarGridRow.vue.d.ts +18 -0
- package/dist/calendar/CalendarHeadCell.vue.d.ts +18 -0
- package/dist/calendar/CalendarHeader.vue.d.ts +18 -0
- package/dist/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/calendar/CalendarNextButton.vue.d.ts +18 -0
- package/dist/calendar/CalendarPrevButton.vue.d.ts +18 -0
- package/dist/calendar/index.d.ts +12 -0
- package/dist/calendar/index.js +303 -0
- package/dist/card/Card.vue.d.ts +17 -0
- package/dist/card/CardContent.vue.d.ts +17 -0
- package/dist/card/CardDescription.vue.d.ts +17 -0
- package/dist/card/CardFooter.vue.d.ts +17 -0
- package/dist/card/CardHeader.vue.d.ts +17 -0
- package/dist/card/CardTitle.vue.d.ts +17 -0
- package/dist/card/index.d.ts +6 -0
- package/dist/card/index.js +2 -0
- package/dist/chart/ChartCrosshair.vue.d.ts +13 -0
- package/dist/chart/ChartLegend.vue.d.ts +15 -0
- package/dist/chart/ChartSingleTooltip.vue.d.ts +12 -0
- package/dist/chart/ChartTooltip.vue.d.ts +11 -0
- package/dist/chart/index.d.ts +6 -0
- package/dist/chart/index.js +177 -0
- package/dist/chart/interface.d.ts +63 -0
- package/dist/checkbox/Checkbox.vue.d.ts +22 -0
- package/dist/checkbox/index.d.ts +1 -0
- package/dist/checkbox/index.js +43 -0
- package/dist/chunks/avatar-colors-CCGh54Ve.js +37 -0
- package/dist/chunks/button-DcaKfSRM.js +100 -0
- package/dist/chunks/card-B9Fm3-hL.js +85 -0
- package/dist/chunks/dialog-Df5vNbNz.js +196 -0
- package/dist/chunks/input-BgkMak31.js +44 -0
- package/dist/chunks/scroll-area-COtrGbKj.js +68 -0
- package/dist/chunks/separator-DAL7ppX1.js +31 -0
- package/dist/chunks/sheet-tX6r4wAA.js +150 -0
- package/dist/chunks/tooltip-C80qPEs9.js +102 -0
- package/dist/chunks/utils-CX-Pz5p6.js +8 -0
- package/dist/combobox/Combobox.vue.d.ts +29 -0
- package/dist/combobox/ComboboxAnchor.vue.d.ts +18 -0
- package/dist/combobox/ComboboxEmpty.vue.d.ts +18 -0
- package/dist/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/combobox/ComboboxInput.vue.d.ts +22 -0
- package/dist/combobox/ComboboxItem.vue.d.ts +22 -0
- package/dist/combobox/ComboboxList.vue.d.ts +32 -0
- package/dist/combobox/ComboboxSeparator.vue.d.ts +18 -0
- package/dist/combobox/ComboboxTrigger.vue.d.ts +18 -0
- package/dist/combobox/index.d.ts +10 -0
- package/dist/combobox/index.js +262 -0
- package/dist/command/Command.vue.d.ts +36 -0
- package/dist/command/CommandDialog.vue.d.ts +18 -0
- package/dist/command/CommandEmpty.vue.d.ts +18 -0
- package/dist/command/CommandGroup.vue.d.ts +19 -0
- package/dist/command/CommandInput.vue.d.ts +8 -0
- package/dist/command/CommandItem.vue.d.ts +22 -0
- package/dist/command/CommandList.vue.d.ts +18 -0
- package/dist/command/CommandSeparator.vue.d.ts +18 -0
- package/dist/command/CommandShortcut.vue.d.ts +17 -0
- package/dist/command/index.d.ts +90 -0
- package/dist/command/index.js +297 -0
- package/dist/dialog/Dialog.vue.d.ts +18 -0
- package/dist/dialog/DialogClose.vue.d.ts +14 -0
- package/dist/dialog/DialogContent.vue.d.ts +32 -0
- package/dist/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/dialog/DialogScrollContent.vue.d.ts +32 -0
- package/dist/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/dialog/DialogTrigger.vue.d.ts +14 -0
- package/dist/dialog/index.d.ts +9 -0
- package/dist/dialog/index.js +2 -0
- package/dist/drawer/Drawer.vue.d.ts +30 -0
- package/dist/drawer/DrawerContent.vue.d.ts +32 -0
- package/dist/drawer/DrawerDescription.vue.d.ts +18 -0
- package/dist/drawer/DrawerFooter.vue.d.ts +17 -0
- package/dist/drawer/DrawerHeader.vue.d.ts +17 -0
- package/dist/drawer/DrawerOverlay.vue.d.ts +8 -0
- package/dist/drawer/DrawerTitle.vue.d.ts +18 -0
- package/dist/drawer/index.d.ts +8 -0
- package/dist/drawer/index.js +166 -0
- package/dist/dropdown-menu/DropdownMenu.vue.d.ts +18 -0
- package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
- package/dist/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
- package/dist/dropdown-menu/DropdownMenuLabel.vue.d.ts +18 -0
- package/dist/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
- package/dist/dropdown-menu/index.d.ts +6 -0
- package/dist/dropdown-menu/index.js +149 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/input/Input.vue.d.ts +19 -0
- package/dist/input/index.d.ts +1 -0
- package/dist/input/index.js +2 -0
- package/dist/label/Label.vue.d.ts +18 -0
- package/dist/label/index.d.ts +1 -0
- package/dist/label/index.js +29 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/popover/Popover.vue.d.ts +18 -0
- package/dist/popover/PopoverContent.vue.d.ts +35 -0
- package/dist/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/popover/index.d.ts +3 -0
- package/dist/popover/index.js +96 -0
- package/dist/range-calendar/RangeCalendar.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarCellTrigger.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
- package/dist/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
- package/dist/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
- package/dist/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
- package/dist/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
- package/dist/range-calendar/index.d.ts +12 -0
- package/dist/range-calendar/index.js +311 -0
- package/dist/scroll-area/ScrollArea.vue.d.ts +19 -0
- package/dist/scroll-area/ScrollBar.vue.d.ts +10 -0
- package/dist/scroll-area/index.d.ts +2 -0
- package/dist/scroll-area/index.js +2 -0
- package/dist/select/Select.vue.d.ts +21 -0
- package/dist/select/SelectContent.vue.d.ts +28 -0
- package/dist/select/SelectGroup.vue.d.ts +18 -0
- package/dist/select/SelectItem.vue.d.ts +18 -0
- package/dist/select/SelectItemText.vue.d.ts +14 -0
- package/dist/select/SelectLabel.vue.d.ts +18 -0
- package/dist/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/select/SelectTrigger.vue.d.ts +18 -0
- package/dist/select/SelectValue.vue.d.ts +14 -0
- package/dist/select/index.d.ts +11 -0
- package/dist/select/index.js +276 -0
- package/dist/separator/Separator.vue.d.ts +11 -0
- package/dist/separator/index.d.ts +1 -0
- package/dist/separator/index.js +2 -0
- package/dist/sheet/Sheet.vue.d.ts +18 -0
- package/dist/sheet/SheetClose.vue.d.ts +14 -0
- package/dist/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/sheet/SheetTrigger.vue.d.ts +14 -0
- package/dist/sheet/index.d.ts +7 -0
- package/dist/sheet/index.js +2 -0
- package/dist/sidebar/Sidebar.vue.d.ts +28 -0
- package/dist/sidebar/SidebarContent.vue.d.ts +17 -0
- package/dist/sidebar/SidebarFooter.vue.d.ts +17 -0
- package/dist/sidebar/SidebarGroup.vue.d.ts +17 -0
- package/dist/sidebar/SidebarGroupAction.vue.d.ts +20 -0
- package/dist/sidebar/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/sidebar/SidebarGroupLabel.vue.d.ts +20 -0
- package/dist/sidebar/SidebarHeader.vue.d.ts +17 -0
- package/dist/sidebar/SidebarInput.vue.d.ts +17 -0
- package/dist/sidebar/SidebarInset.vue.d.ts +17 -0
- package/dist/sidebar/SidebarMenu.vue.d.ts +17 -0
- package/dist/sidebar/SidebarMenuAction.vue.d.ts +21 -0
- package/dist/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
- package/dist/sidebar/SidebarMenuButton.vue.d.ts +29 -0
- package/dist/sidebar/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/sidebar/SidebarMenuSub.vue.d.ts +17 -0
- package/dist/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
- package/dist/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
- package/dist/sidebar/SidebarProvider.vue.d.ts +26 -0
- package/dist/sidebar/SidebarRail.vue.d.ts +7 -0
- package/dist/sidebar/SidebarSeparator.vue.d.ts +7 -0
- package/dist/sidebar/SidebarTrigger.vue.d.ts +7 -0
- package/dist/sidebar/index.d.ts +45 -0
- package/dist/sidebar/index.js +595 -0
- package/dist/sonner/Sonner.vue.d.ts +4 -0
- package/dist/sonner/index.d.ts +1 -0
- package/dist/sonner/index.js +59 -0
- package/dist/stepper/Stepper.vue.d.ts +17 -0
- package/dist/stepper/index.d.ts +1 -0
- package/dist/stepper/index.js +57 -0
- package/dist/switch/Switch.vue.d.ts +12 -0
- package/dist/switch/index.d.ts +1 -0
- package/dist/switch/index.js +46 -0
- package/dist/table/Table.vue.d.ts +17 -0
- package/dist/table/TableBody.vue.d.ts +17 -0
- package/dist/table/TableCell.vue.d.ts +17 -0
- package/dist/table/TableHead.vue.d.ts +17 -0
- package/dist/table/TableHeader.vue.d.ts +17 -0
- package/dist/table/TableRow.vue.d.ts +17 -0
- package/dist/table/index.d.ts +6 -0
- package/dist/table/index.js +84 -0
- package/dist/tabs/Tabs.vue.d.ts +19 -0
- package/dist/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/tabs/TabsList.vue.d.ts +18 -0
- package/dist/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/tabs/index.d.ts +4 -0
- package/dist/tabs/index.js +93 -0
- package/dist/tags-input/TagsInput.vue.d.ts +28 -0
- package/dist/tags-input/TagsInputInput.vue.d.ts +8 -0
- package/dist/tags-input/TagsInputItem.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItemText.vue.d.ts +8 -0
- package/dist/tags-input/index.d.ts +5 -0
- package/dist/tags-input/index.js +130 -0
- package/dist/textarea/Textarea.vue.d.ts +19 -0
- package/dist/textarea/index.d.ts +1 -0
- package/dist/textarea/index.js +43 -0
- package/dist/tooltip/Tooltip.vue.d.ts +18 -0
- package/dist/tooltip/TooltipContent.vue.d.ts +26 -0
- package/dist/tooltip/TooltipProvider.vue.d.ts +14 -0
- package/dist/tooltip/TooltipRoot.vue.d.ts +18 -0
- package/dist/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/tooltip/index.d.ts +4 -0
- package/dist/tooltip/index.js +2 -0
- package/package.json +89 -5
- package/src/alert/Alert.vue +17 -0
- package/src/alert/AlertDescription.vue +14 -0
- package/src/alert/AlertTitle.vue +14 -0
- package/src/alert/index.ts +29 -0
- package/src/alert-dialog/AlertDialog.vue +15 -0
- package/src/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/alert-dialog/AlertDialogCancel.vue +18 -0
- package/src/alert-dialog/AlertDialogContent.vue +33 -0
- package/src/alert-dialog/AlertDialogDescription.vue +17 -0
- package/src/alert-dialog/AlertDialogFooter.vue +14 -0
- package/src/alert-dialog/AlertDialogHeader.vue +14 -0
- package/src/alert-dialog/AlertDialogTitle.vue +17 -0
- package/src/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/alert-dialog/index.ts +9 -0
- package/src/avatar/Avatar.vue +76 -0
- package/src/avatar/AvatarFallback.vue +18 -0
- package/src/avatar/AvatarImage.vue +12 -0
- package/src/avatar/index.ts +30 -0
- package/src/avatar-colors.ts +24 -0
- package/src/badge/Badge.vue +44 -0
- package/src/badge/index.ts +33 -0
- package/src/breadcrumb/Breadcrumb.vue +13 -0
- package/src/breadcrumb/BreadcrumbEllipsis.vue +18 -0
- package/src/breadcrumb/BreadcrumbItem.vue +14 -0
- package/src/breadcrumb/BreadcrumbLink.vue +16 -0
- package/src/breadcrumb/BreadcrumbList.vue +14 -0
- package/src/breadcrumb/BreadcrumbPage.vue +14 -0
- package/src/breadcrumb/BreadcrumbSeparator.vue +17 -0
- package/src/breadcrumb/index.ts +7 -0
- package/src/button/Button.vue +64 -0
- package/src/button/index.ts +40 -0
- package/src/button-group/ButtonGroup.vue +22 -0
- package/src/button-group/ButtonGroupSeparator.vue +21 -0
- package/src/button-group/ButtonGroupText.vue +34 -0
- package/src/button-group/index.ts +23 -0
- package/src/calendar/Calendar.vue +57 -0
- package/src/calendar/CalendarCell.vue +27 -0
- package/src/calendar/CalendarCellTrigger.vue +38 -0
- package/src/calendar/CalendarGrid.vue +19 -0
- package/src/calendar/CalendarGridBody.vue +12 -0
- package/src/calendar/CalendarGridHead.vue +12 -0
- package/src/calendar/CalendarGridRow.vue +19 -0
- package/src/calendar/CalendarHeadCell.vue +19 -0
- package/src/calendar/CalendarHeader.vue +19 -0
- package/src/calendar/CalendarHeading.vue +25 -0
- package/src/calendar/CalendarNextButton.vue +26 -0
- package/src/calendar/CalendarPrevButton.vue +26 -0
- package/src/calendar/index.ts +12 -0
- package/src/card/Card.vue +14 -0
- package/src/card/CardContent.vue +14 -0
- package/src/card/CardDescription.vue +14 -0
- package/src/card/CardFooter.vue +14 -0
- package/src/card/CardHeader.vue +14 -0
- package/src/card/CardTitle.vue +14 -0
- package/src/card/index.ts +6 -0
- package/src/chart/ChartCrosshair.vue +47 -0
- package/src/chart/ChartLegend.vue +63 -0
- package/src/chart/ChartSingleTooltip.vue +61 -0
- package/src/chart/ChartTooltip.vue +35 -0
- package/src/chart/index.ts +18 -0
- package/src/chart/interface.ts +64 -0
- package/src/checkbox/Checkbox.vue +33 -0
- package/src/checkbox/index.ts +1 -0
- package/src/combobox/Combobox.vue +15 -0
- package/src/combobox/ComboboxAnchor.vue +19 -0
- package/src/combobox/ComboboxEmpty.vue +17 -0
- package/src/combobox/ComboboxGroup.vue +33 -0
- package/src/combobox/ComboboxInput.vue +33 -0
- package/src/combobox/ComboboxItem.vue +28 -0
- package/src/combobox/ComboboxList.vue +36 -0
- package/src/combobox/ComboboxSeparator.vue +17 -0
- package/src/combobox/ComboboxTrigger.vue +23 -0
- package/src/combobox/index.ts +11 -0
- package/src/command/Command.vue +85 -0
- package/src/command/CommandDialog.vue +23 -0
- package/src/command/CommandEmpty.vue +22 -0
- package/src/command/CommandGroup.vue +50 -0
- package/src/command/CommandInput.vue +42 -0
- package/src/command/CommandItem.vue +79 -0
- package/src/command/CommandList.vue +25 -0
- package/src/command/CommandSeparator.vue +17 -0
- package/src/command/CommandShortcut.vue +14 -0
- package/src/command/index.ts +25 -0
- package/src/dialog/Dialog.vue +15 -0
- package/src/dialog/DialogClose.vue +12 -0
- package/src/dialog/DialogContent.vue +41 -0
- package/src/dialog/DialogDescription.vue +19 -0
- package/src/dialog/DialogFooter.vue +12 -0
- package/src/dialog/DialogHeader.vue +14 -0
- package/src/dialog/DialogScrollContent.vue +49 -0
- package/src/dialog/DialogTitle.vue +19 -0
- package/src/dialog/DialogTrigger.vue +12 -0
- package/src/dialog/index.ts +9 -0
- package/src/drawer/Drawer.vue +20 -0
- package/src/drawer/DrawerContent.vue +31 -0
- package/src/drawer/DrawerDescription.vue +17 -0
- package/src/drawer/DrawerFooter.vue +14 -0
- package/src/drawer/DrawerHeader.vue +14 -0
- package/src/drawer/DrawerOverlay.vue +15 -0
- package/src/drawer/DrawerTitle.vue +17 -0
- package/src/drawer/index.ts +8 -0
- package/src/dropdown-menu/DropdownMenu.vue +26 -0
- package/src/dropdown-menu/DropdownMenuContent.vue +28 -0
- package/src/dropdown-menu/DropdownMenuItem.vue +23 -0
- package/src/dropdown-menu/DropdownMenuLabel.vue +13 -0
- package/src/dropdown-menu/DropdownMenuSeparator.vue +11 -0
- package/src/dropdown-menu/DropdownMenuTrigger.vue +11 -0
- package/src/dropdown-menu/index.ts +6 -0
- package/src/index.ts +2 -0
- package/src/input/Input.vue +43 -0
- package/src/input/index.ts +1 -0
- package/src/label/Label.vue +16 -0
- package/src/label/index.ts +1 -0
- package/src/lib/utils.ts +6 -0
- package/src/popover/Popover.vue +15 -0
- package/src/popover/PopoverContent.vue +39 -0
- package/src/popover/PopoverTrigger.vue +11 -0
- package/src/popover/index.ts +3 -0
- package/src/range-calendar/RangeCalendar.vue +57 -0
- package/src/range-calendar/RangeCalendarCell.vue +27 -0
- package/src/range-calendar/RangeCalendarCellTrigger.vue +40 -0
- package/src/range-calendar/RangeCalendarGrid.vue +19 -0
- package/src/range-calendar/RangeCalendarGridBody.vue +12 -0
- package/src/range-calendar/RangeCalendarGridHead.vue +12 -0
- package/src/range-calendar/RangeCalendarGridRow.vue +19 -0
- package/src/range-calendar/RangeCalendarHeadCell.vue +19 -0
- package/src/range-calendar/RangeCalendarHeader.vue +19 -0
- package/src/range-calendar/RangeCalendarHeading.vue +25 -0
- package/src/range-calendar/RangeCalendarNextButton.vue +26 -0
- package/src/range-calendar/RangeCalendarPrevButton.vue +26 -0
- package/src/range-calendar/index.ts +12 -0
- package/src/scroll-area/ScrollArea.vue +22 -0
- package/src/scroll-area/ScrollBar.vue +29 -0
- package/src/scroll-area/index.ts +2 -0
- package/src/select/Select.vue +15 -0
- package/src/select/SelectContent.vue +43 -0
- package/src/select/SelectGroup.vue +17 -0
- package/src/select/SelectItem.vue +36 -0
- package/src/select/SelectItemText.vue +12 -0
- package/src/select/SelectLabel.vue +14 -0
- package/src/select/SelectScrollDownButton.vue +22 -0
- package/src/select/SelectScrollUpButton.vue +22 -0
- package/src/select/SelectSeparator.vue +15 -0
- package/src/select/SelectTrigger.vue +31 -0
- package/src/select/SelectValue.vue +12 -0
- package/src/select/index.ts +11 -0
- package/src/separator/Separator.vue +21 -0
- package/src/separator/index.ts +1 -0
- package/src/sheet/Sheet.vue +15 -0
- package/src/sheet/SheetClose.vue +11 -0
- package/src/sheet/SheetContent.vue +54 -0
- package/src/sheet/SheetDescription.vue +13 -0
- package/src/sheet/SheetHeader.vue +14 -0
- package/src/sheet/SheetTitle.vue +13 -0
- package/src/sheet/SheetTrigger.vue +11 -0
- package/src/sheet/index.ts +7 -0
- package/src/sidebar/Sidebar.vue +101 -0
- package/src/sidebar/SidebarContent.vue +21 -0
- package/src/sidebar/SidebarFooter.vue +16 -0
- package/src/sidebar/SidebarGroup.vue +16 -0
- package/src/sidebar/SidebarGroupAction.vue +31 -0
- package/src/sidebar/SidebarGroupContent.vue +16 -0
- package/src/sidebar/SidebarGroupLabel.vue +31 -0
- package/src/sidebar/SidebarHeader.vue +16 -0
- package/src/sidebar/SidebarInput.vue +20 -0
- package/src/sidebar/SidebarInset.vue +25 -0
- package/src/sidebar/SidebarMenu.vue +16 -0
- package/src/sidebar/SidebarMenuAction.vue +37 -0
- package/src/sidebar/SidebarMenuBadge.vue +29 -0
- package/src/sidebar/SidebarMenuButton.vue +64 -0
- package/src/sidebar/SidebarMenuItem.vue +16 -0
- package/src/sidebar/SidebarMenuSub.vue +25 -0
- package/src/sidebar/SidebarMenuSubButton.vue +39 -0
- package/src/sidebar/SidebarMenuSubItem.vue +16 -0
- package/src/sidebar/SidebarProvider.vue +74 -0
- package/src/sidebar/SidebarRail.vue +34 -0
- package/src/sidebar/SidebarSeparator.vue +15 -0
- package/src/sidebar/SidebarTrigger.vue +28 -0
- package/src/sidebar/index.ts +70 -0
- package/src/sonner/Sonner.vue +54 -0
- package/src/sonner/index.ts +1 -0
- package/src/stepper/Stepper.vue +58 -0
- package/src/stepper/index.ts +1 -0
- package/src/switch/Switch.vue +41 -0
- package/src/switch/index.ts +1 -0
- package/src/table/Table.vue +16 -0
- package/src/table/TableBody.vue +14 -0
- package/src/table/TableCell.vue +14 -0
- package/src/table/TableHead.vue +14 -0
- package/src/table/TableHeader.vue +14 -0
- package/src/table/TableRow.vue +14 -0
- package/src/table/index.ts +6 -0
- package/src/tabs/Tabs.vue +15 -0
- package/src/tabs/TabsContent.vue +16 -0
- package/src/tabs/TabsList.vue +16 -0
- package/src/tabs/TabsTrigger.vue +21 -0
- package/src/tabs/index.ts +4 -0
- package/src/tags-input/TagsInput.vue +23 -0
- package/src/tags-input/TagsInputInput.vue +17 -0
- package/src/tags-input/TagsInputItem.vue +27 -0
- package/src/tags-input/TagsInputItemDelete.vue +22 -0
- package/src/tags-input/TagsInputItemText.vue +17 -0
- package/src/tags-input/index.ts +5 -0
- package/src/textarea/Textarea.vue +41 -0
- package/src/textarea/index.ts +1 -0
- package/src/tooltip/Tooltip.vue +15 -0
- package/src/tooltip/TooltipContent.vue +37 -0
- package/src/tooltip/TooltipProvider.vue +12 -0
- package/src/tooltip/TooltipRoot.vue +14 -0
- package/src/tooltip/TooltipTrigger.vue +12 -0
- package/src/tooltip/index.ts +4 -0
- package/styles/kit.css +100 -0
- package/styles/theme.css +950 -0
- package/styles/typography.css +430 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Spacing } from '@unovis/ts';
|
|
2
|
+
type KeyOf<T extends Record<string, any>> = Extract<keyof T, string>;
|
|
3
|
+
export interface BaseChartProps<T extends Record<string, any>> {
|
|
4
|
+
/**
|
|
5
|
+
* The source data, in which each entry is a dictionary.
|
|
6
|
+
*/
|
|
7
|
+
data: T[];
|
|
8
|
+
/**
|
|
9
|
+
* Select the categories from your data. Used to populate the legend and tooltip.
|
|
10
|
+
*/
|
|
11
|
+
categories: KeyOf<T>[];
|
|
12
|
+
/**
|
|
13
|
+
* Sets the key to map the data to the axis.
|
|
14
|
+
*/
|
|
15
|
+
index: KeyOf<T>;
|
|
16
|
+
/**
|
|
17
|
+
* Change the default colors.
|
|
18
|
+
*/
|
|
19
|
+
colors?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Margin of each the container
|
|
22
|
+
*/
|
|
23
|
+
margin?: Spacing;
|
|
24
|
+
/**
|
|
25
|
+
* Change the opacity of the non-selected field
|
|
26
|
+
* @default 0.2
|
|
27
|
+
*/
|
|
28
|
+
filterOpacity?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Function to format X label
|
|
31
|
+
*/
|
|
32
|
+
xFormatter?: (tick: number | Date, i: number, ticks: number[] | Date[]) => string;
|
|
33
|
+
/**
|
|
34
|
+
* Function to format Y label
|
|
35
|
+
*/
|
|
36
|
+
yFormatter?: (tick: number | Date, i: number, ticks: number[] | Date[]) => string;
|
|
37
|
+
/**
|
|
38
|
+
* Controls the visibility of the X axis.
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
showXAxis?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Controls the visibility of the Y axis.
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
showYAxis?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Controls the visibility of tooltip.
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
showTooltip?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Controls the visibility of legend.
|
|
54
|
+
* @default true
|
|
55
|
+
*/
|
|
56
|
+
showLegend?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Controls the visibility of gridline.
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
61
|
+
showGridLine?: boolean;
|
|
62
|
+
}
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { CheckboxRootProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = CheckboxRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_14: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_14) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: boolean | "indeterminate") => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Checkbox } from './Checkbox.vue';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as e } from "../chunks/utils-CX-Pz5p6.js";
|
|
2
|
+
import { createBlock as t, createVNode as n, defineComponent as r, mergeProps as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
3
|
+
import { CheckboxIndicator as l, CheckboxRoot as u, useForwardPropsEmits as d } from "reka-ui";
|
|
4
|
+
import { reactiveOmit as f } from "@vueuse/core";
|
|
5
|
+
import { Check as p } from "lucide-vue-next";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/checkbox/Checkbox.vue
|
|
8
|
+
var m = /* @__PURE__ */ r({
|
|
9
|
+
__name: "Checkbox",
|
|
10
|
+
props: {
|
|
11
|
+
defaultValue: {},
|
|
12
|
+
modelValue: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
value: {},
|
|
15
|
+
id: {},
|
|
16
|
+
trueValue: {},
|
|
17
|
+
falseValue: {},
|
|
18
|
+
asChild: { type: Boolean },
|
|
19
|
+
as: {},
|
|
20
|
+
name: {},
|
|
21
|
+
required: { type: Boolean },
|
|
22
|
+
class: { type: [
|
|
23
|
+
Boolean,
|
|
24
|
+
null,
|
|
25
|
+
String,
|
|
26
|
+
Object,
|
|
27
|
+
Array
|
|
28
|
+
] }
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(r, { emit: m }) {
|
|
32
|
+
let h = r, g = m, _ = f(h, "class"), v = d(_, g);
|
|
33
|
+
return (r, d) => (a(), t(s(u), i(s(v), { class: s(e)("peer h-4 w-4 grid shrink-0 place-content-center rounded-sm border border-primary transition-colors focus-visible:ring-2 focus-visible:ring-brand-500/20 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-transparent data-[state=checked]:bg-brand-solid data-[state=checked]:text-white", h.class) }), {
|
|
34
|
+
default: c(() => [n(s(l), { class: "grid place-content-center text-current" }, {
|
|
35
|
+
default: c(() => [o(r.$slots, "default", {}, () => [n(s(p), { class: "h-4 w-4" })])]),
|
|
36
|
+
_: 3
|
|
37
|
+
})]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 16, ["class"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { m as Checkbox };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#region src/avatar-colors.ts
|
|
2
|
+
var e = [
|
|
3
|
+
{
|
|
4
|
+
bg: "bg-utility-slate-50",
|
|
5
|
+
text: "text-utility-slate-700"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
bg: "bg-utility-sky-50",
|
|
9
|
+
text: "text-utility-sky-700"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
bg: "bg-utility-blue-50",
|
|
13
|
+
text: "text-utility-blue-700"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
bg: "bg-utility-indigo-50",
|
|
17
|
+
text: "text-utility-indigo-700"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
bg: "bg-utility-purple-50",
|
|
21
|
+
text: "text-utility-purple-700"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
bg: "bg-utility-pink-50",
|
|
25
|
+
text: "text-utility-pink-700"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
bg: "bg-utility-orange-50",
|
|
29
|
+
text: "text-utility-orange-700"
|
|
30
|
+
}
|
|
31
|
+
], t = (t) => {
|
|
32
|
+
let n = 0;
|
|
33
|
+
for (let r = 0; r < t.length; r++) n = (n + t.charCodeAt(r)) % e.length;
|
|
34
|
+
return e[n];
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { t as n, e as t };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { cva as t } from "class-variance-authority";
|
|
3
|
+
import { computed as n, createBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, resolveDynamicComponent as c, withCtx as l } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/button/Button.vue
|
|
6
|
+
var u = /* @__PURE__ */ i({
|
|
7
|
+
__name: "Button",
|
|
8
|
+
props: {
|
|
9
|
+
variant: {},
|
|
10
|
+
size: {},
|
|
11
|
+
class: { type: [
|
|
12
|
+
Boolean,
|
|
13
|
+
null,
|
|
14
|
+
String,
|
|
15
|
+
Object,
|
|
16
|
+
Array
|
|
17
|
+
] },
|
|
18
|
+
as: { default: "button" },
|
|
19
|
+
disabled: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
type: { default: "button" }
|
|
24
|
+
},
|
|
25
|
+
emits: ["click"],
|
|
26
|
+
setup(i, { emit: u }) {
|
|
27
|
+
let d = t("font-semibold inline-flex cursor-pointer items-center justify-center rounded-lg text-sm whitespace-nowrap transition-colors select-none focus-visible:ring-2 focus-visible:ring-brand-500/20 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", {
|
|
28
|
+
variants: {
|
|
29
|
+
variant: {
|
|
30
|
+
primary: "bg-brand-solid text-white shadow-xs hover:bg-brand-solid_hover",
|
|
31
|
+
secondary: "border border-border-primary bg-primary text-secondary shadow-xs hover:bg-secondary hover:text-primary",
|
|
32
|
+
tertiary: "text-tertiary hover:bg-secondary hover:text-primary",
|
|
33
|
+
destructive: "bg-error-solid text-white shadow-xs hover:bg-error-solid_hover",
|
|
34
|
+
outline: "border border-border-primary text-secondary hover:bg-secondary hover:text-primary",
|
|
35
|
+
ghost: "text-secondary hover:bg-secondary hover:text-primary",
|
|
36
|
+
link: "p-0 h-auto text-brand-secondary underline-offset-4 hover:underline"
|
|
37
|
+
},
|
|
38
|
+
size: {
|
|
39
|
+
sm: "h-8 px-3 gap-1.5 text-xs",
|
|
40
|
+
md: "h-9 px-3.5 gap-2 text-sm",
|
|
41
|
+
lg: "h-10 px-4 gap-2 text-sm",
|
|
42
|
+
xl: "h-11 px-4.5 text-base gap-2.5",
|
|
43
|
+
"icon-sm": "size-8 p-0",
|
|
44
|
+
"icon-md": "size-9 p-0",
|
|
45
|
+
"icon-lg": "size-10 p-0"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
defaultVariants: {
|
|
49
|
+
variant: "primary",
|
|
50
|
+
size: "md"
|
|
51
|
+
}
|
|
52
|
+
}), f = i, p = u, m = n(() => e(d({
|
|
53
|
+
variant: f.variant,
|
|
54
|
+
size: f.size
|
|
55
|
+
}), f.class));
|
|
56
|
+
return (e, t) => (o(), r(c(f.as), {
|
|
57
|
+
type: f.as === "button" ? f.type : void 0,
|
|
58
|
+
disabled: f.disabled,
|
|
59
|
+
class: a(m.value),
|
|
60
|
+
onClick: t[0] ||= (e) => p("click", e)
|
|
61
|
+
}, {
|
|
62
|
+
default: l(() => [s(e.$slots, "default")]),
|
|
63
|
+
_: 3
|
|
64
|
+
}, 8, [
|
|
65
|
+
"type",
|
|
66
|
+
"disabled",
|
|
67
|
+
"class"
|
|
68
|
+
]));
|
|
69
|
+
}
|
|
70
|
+
}), d = t("gap-2 font-semibold [&_svg]:size-4 inline-flex cursor-pointer items-center justify-center rounded-lg text-sm whitespace-nowrap transition-all select-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
71
|
+
variants: {
|
|
72
|
+
variant: {
|
|
73
|
+
default: "border border-transparent bg-brand-600 text-white shadow-xs hover:bg-brand-700 active:scale-[0.98]",
|
|
74
|
+
primary: "border border-transparent bg-brand-600 text-white shadow-xs hover:bg-brand-700 active:scale-[0.98]",
|
|
75
|
+
secondary: "border border-border-secondary bg-primary text-secondary shadow-xs hover:bg-secondary active:scale-[0.98]",
|
|
76
|
+
outline: "border border-border-secondary bg-transparent text-secondary shadow-xs hover:bg-secondary hover:text-primary active:scale-[0.98]",
|
|
77
|
+
tertiary: "bg-transparent text-secondary hover:bg-secondary/60 hover:text-primary",
|
|
78
|
+
ghost: "bg-transparent text-secondary hover:bg-secondary/60 hover:text-primary",
|
|
79
|
+
destructive: "bg-red-600 hover:bg-red-700 border border-transparent text-white shadow-xs active:scale-[0.98]",
|
|
80
|
+
destructiveSecondary: "bg-red-50 text-red-700 border-red-200 hover:bg-red-100 dark:bg-red-950 dark:text-red-300 dark:border-red-900 border shadow-xs active:scale-[0.98]",
|
|
81
|
+
link: "p-0 h-auto text-brand-600 underline-offset-4 hover:text-brand-700 hover:underline"
|
|
82
|
+
},
|
|
83
|
+
size: {
|
|
84
|
+
default: "h-9 px-4 py-2",
|
|
85
|
+
sm: "h-8 px-3 rounded-md text-xs",
|
|
86
|
+
md: "h-9 px-4 rounded-lg text-sm",
|
|
87
|
+
lg: "h-10 px-5 rounded-lg text-sm",
|
|
88
|
+
xl: "h-11 px-6 text-base rounded-lg",
|
|
89
|
+
icon: "size-9",
|
|
90
|
+
"icon-sm": "size-8",
|
|
91
|
+
"icon-lg": "size-10"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
defaultVariants: {
|
|
95
|
+
variant: "primary",
|
|
96
|
+
size: "default"
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
//#endregion
|
|
100
|
+
export { u as n, d as t };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a, unref as o } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/card/Card.vue
|
|
5
|
+
var s = /* @__PURE__ */ n({
|
|
6
|
+
__name: "Card",
|
|
7
|
+
props: { class: { type: [
|
|
8
|
+
Boolean,
|
|
9
|
+
null,
|
|
10
|
+
String,
|
|
11
|
+
Object,
|
|
12
|
+
Array
|
|
13
|
+
] } },
|
|
14
|
+
setup(n) {
|
|
15
|
+
let s = n;
|
|
16
|
+
return (n, c) => (i(), t("div", { class: r(o(e)("bg-card text-card-foreground rounded-lg border shadow-sm", s.class)) }, [a(n.$slots, "default")], 2));
|
|
17
|
+
}
|
|
18
|
+
}), c = /* @__PURE__ */ n({
|
|
19
|
+
__name: "CardContent",
|
|
20
|
+
props: { class: { type: [
|
|
21
|
+
Boolean,
|
|
22
|
+
null,
|
|
23
|
+
String,
|
|
24
|
+
Object,
|
|
25
|
+
Array
|
|
26
|
+
] } },
|
|
27
|
+
setup(n) {
|
|
28
|
+
let s = n;
|
|
29
|
+
return (n, c) => (i(), t("div", { class: r(o(e)("p-6 pt-0", s.class)) }, [a(n.$slots, "default")], 2));
|
|
30
|
+
}
|
|
31
|
+
}), l = /* @__PURE__ */ n({
|
|
32
|
+
__name: "CardDescription",
|
|
33
|
+
props: { class: { type: [
|
|
34
|
+
Boolean,
|
|
35
|
+
null,
|
|
36
|
+
String,
|
|
37
|
+
Object,
|
|
38
|
+
Array
|
|
39
|
+
] } },
|
|
40
|
+
setup(n) {
|
|
41
|
+
let s = n;
|
|
42
|
+
return (n, c) => (i(), t("p", { class: r(o(e)("text-muted-foreground text-sm", s.class)) }, [a(n.$slots, "default")], 2));
|
|
43
|
+
}
|
|
44
|
+
}), u = /* @__PURE__ */ n({
|
|
45
|
+
__name: "CardFooter",
|
|
46
|
+
props: { class: { type: [
|
|
47
|
+
Boolean,
|
|
48
|
+
null,
|
|
49
|
+
String,
|
|
50
|
+
Object,
|
|
51
|
+
Array
|
|
52
|
+
] } },
|
|
53
|
+
setup(n) {
|
|
54
|
+
let s = n;
|
|
55
|
+
return (n, c) => (i(), t("div", { class: r(o(e)("p-6 pt-0 flex items-center", s.class)) }, [a(n.$slots, "default")], 2));
|
|
56
|
+
}
|
|
57
|
+
}), d = /* @__PURE__ */ n({
|
|
58
|
+
__name: "CardHeader",
|
|
59
|
+
props: { class: { type: [
|
|
60
|
+
Boolean,
|
|
61
|
+
null,
|
|
62
|
+
String,
|
|
63
|
+
Object,
|
|
64
|
+
Array
|
|
65
|
+
] } },
|
|
66
|
+
setup(n) {
|
|
67
|
+
let s = n;
|
|
68
|
+
return (n, c) => (i(), t("div", { class: r(o(e)("gap-y-1.5 p-6 flex flex-col", s.class)) }, [a(n.$slots, "default")], 2));
|
|
69
|
+
}
|
|
70
|
+
}), f = /* @__PURE__ */ n({
|
|
71
|
+
__name: "CardTitle",
|
|
72
|
+
props: { class: { type: [
|
|
73
|
+
Boolean,
|
|
74
|
+
null,
|
|
75
|
+
String,
|
|
76
|
+
Object,
|
|
77
|
+
Array
|
|
78
|
+
] } },
|
|
79
|
+
setup(n) {
|
|
80
|
+
let s = n;
|
|
81
|
+
return (n, c) => (i(), t("h3", { class: r(o(e)("text-2xl font-semibold tracking-tight leading-none", s.class)) }, [a(n.$slots, "default")], 2));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
export { c as a, l as i, d as n, s as o, u as r, f as t };
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { createBlock as t, createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeClass as c, normalizeProps as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
3
|
+
import { DialogClose as m, DialogContent as h, DialogDescription as g, DialogOverlay as _, DialogPortal as v, DialogRoot as y, DialogTitle as b, DialogTrigger as x, useForwardProps as S, useForwardPropsEmits as C } from "reka-ui";
|
|
4
|
+
import { reactiveOmit as w } from "@vueuse/core";
|
|
5
|
+
import { X as T } from "lucide-vue-next";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/dialog/Dialog.vue
|
|
8
|
+
var E = /* @__PURE__ */ a({
|
|
9
|
+
__name: "Dialog",
|
|
10
|
+
props: {
|
|
11
|
+
open: { type: Boolean },
|
|
12
|
+
defaultOpen: { type: Boolean },
|
|
13
|
+
modal: { type: Boolean },
|
|
14
|
+
unmountOnHide: { type: Boolean }
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:open"],
|
|
17
|
+
setup(e, { emit: n }) {
|
|
18
|
+
let r = C(e, n);
|
|
19
|
+
return (e, n) => (u(), t(f(y), l(o(f(r))), {
|
|
20
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16));
|
|
23
|
+
}
|
|
24
|
+
}), D = /* @__PURE__ */ a({
|
|
25
|
+
__name: "DialogClose",
|
|
26
|
+
props: {
|
|
27
|
+
asChild: { type: Boolean },
|
|
28
|
+
as: {}
|
|
29
|
+
},
|
|
30
|
+
setup(e) {
|
|
31
|
+
let n = e;
|
|
32
|
+
return (e, r) => (u(), t(f(m), l(o(n)), {
|
|
33
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 16));
|
|
36
|
+
}
|
|
37
|
+
}), O = /* @__PURE__ */ a({
|
|
38
|
+
__name: "DialogContent",
|
|
39
|
+
props: {
|
|
40
|
+
forceMount: { type: Boolean },
|
|
41
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
42
|
+
asChild: { type: Boolean },
|
|
43
|
+
as: {},
|
|
44
|
+
class: { type: [
|
|
45
|
+
Boolean,
|
|
46
|
+
null,
|
|
47
|
+
String,
|
|
48
|
+
Object,
|
|
49
|
+
Array
|
|
50
|
+
] }
|
|
51
|
+
},
|
|
52
|
+
emits: [
|
|
53
|
+
"escapeKeyDown",
|
|
54
|
+
"pointerDownOutside",
|
|
55
|
+
"focusOutside",
|
|
56
|
+
"interactOutside",
|
|
57
|
+
"openAutoFocus",
|
|
58
|
+
"closeAutoFocus"
|
|
59
|
+
],
|
|
60
|
+
setup(n, { emit: a }) {
|
|
61
|
+
let o = n, c = a, l = w(o, "class"), g = C(l, c);
|
|
62
|
+
return (n, a) => (u(), t(f(v), null, {
|
|
63
|
+
default: p(() => [i(f(_), { class: "inset-0 backdrop-blur-xs fixed z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" }), i(f(h), s(f(g), { class: f(e)("max-w-lg gap-4 p-6 fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border-secondary bg-primary text-primary shadow-2xl duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=open]:zoom-in-95", o.class) }), {
|
|
64
|
+
default: p(() => [d(n.$slots, "default"), i(f(m), { class: "right-4 top-4 bg-gray-100 dark:bg-gray-800 p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 absolute rounded-lg text-tertiary transition-colors hover:text-primary focus:ring-2 focus:ring-brand-500/20 focus:outline-none" }, {
|
|
65
|
+
default: p(() => [i(f(T), { class: "w-4 h-4" }), a[0] ||= r("span", { class: "sr-only" }, "Close", -1)]),
|
|
66
|
+
_: 1
|
|
67
|
+
})]),
|
|
68
|
+
_: 3
|
|
69
|
+
}, 16, ["class"])]),
|
|
70
|
+
_: 3
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
73
|
+
}), k = /* @__PURE__ */ a({
|
|
74
|
+
__name: "DialogDescription",
|
|
75
|
+
props: {
|
|
76
|
+
asChild: { type: Boolean },
|
|
77
|
+
as: {},
|
|
78
|
+
class: { type: [
|
|
79
|
+
Boolean,
|
|
80
|
+
null,
|
|
81
|
+
String,
|
|
82
|
+
Object,
|
|
83
|
+
Array
|
|
84
|
+
] }
|
|
85
|
+
},
|
|
86
|
+
setup(n) {
|
|
87
|
+
let r = n, i = w(r, "class"), a = S(i);
|
|
88
|
+
return (n, i) => (u(), t(f(g), s(f(a), { class: f(e)("text-muted-foreground text-sm", r.class) }), {
|
|
89
|
+
default: p(() => [d(n.$slots, "default")]),
|
|
90
|
+
_: 3
|
|
91
|
+
}, 16, ["class"]));
|
|
92
|
+
}
|
|
93
|
+
}), A = /* @__PURE__ */ a({
|
|
94
|
+
__name: "DialogFooter",
|
|
95
|
+
props: { class: { type: [
|
|
96
|
+
Boolean,
|
|
97
|
+
null,
|
|
98
|
+
String,
|
|
99
|
+
Object,
|
|
100
|
+
Array
|
|
101
|
+
] } },
|
|
102
|
+
setup(t) {
|
|
103
|
+
let r = t;
|
|
104
|
+
return (t, i) => (u(), n("div", { class: c(f(e)("sm:flex-row sm:justify-end sm:gap-x-2 flex flex-col-reverse", r.class)) }, [d(t.$slots, "default")], 2));
|
|
105
|
+
}
|
|
106
|
+
}), j = /* @__PURE__ */ a({
|
|
107
|
+
__name: "DialogHeader",
|
|
108
|
+
props: { class: { type: [
|
|
109
|
+
Boolean,
|
|
110
|
+
null,
|
|
111
|
+
String,
|
|
112
|
+
Object,
|
|
113
|
+
Array
|
|
114
|
+
] } },
|
|
115
|
+
setup(t) {
|
|
116
|
+
let r = t;
|
|
117
|
+
return (t, i) => (u(), n("div", { class: c(f(e)("gap-y-1.5 sm:text-left flex flex-col text-center", r.class)) }, [d(t.$slots, "default")], 2));
|
|
118
|
+
}
|
|
119
|
+
}), M = /* @__PURE__ */ a({
|
|
120
|
+
__name: "DialogScrollContent",
|
|
121
|
+
props: {
|
|
122
|
+
forceMount: { type: Boolean },
|
|
123
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
124
|
+
asChild: { type: Boolean },
|
|
125
|
+
as: {},
|
|
126
|
+
class: { type: [
|
|
127
|
+
Boolean,
|
|
128
|
+
null,
|
|
129
|
+
String,
|
|
130
|
+
Object,
|
|
131
|
+
Array
|
|
132
|
+
] }
|
|
133
|
+
},
|
|
134
|
+
emits: [
|
|
135
|
+
"escapeKeyDown",
|
|
136
|
+
"pointerDownOutside",
|
|
137
|
+
"focusOutside",
|
|
138
|
+
"interactOutside",
|
|
139
|
+
"openAutoFocus",
|
|
140
|
+
"closeAutoFocus"
|
|
141
|
+
],
|
|
142
|
+
setup(n, { emit: a }) {
|
|
143
|
+
let o = n, c = a, l = w(o, "class"), g = C(l, c);
|
|
144
|
+
return (n, a) => (u(), t(f(v), null, {
|
|
145
|
+
default: p(() => [i(f(_), { class: "inset-0 fixed z-50 grid place-items-center overflow-y-auto bg-black/80 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" }, {
|
|
146
|
+
default: p(() => [i(f(h), s({ class: f(e)("max-w-lg my-8 gap-4 border-border bg-background p-6 sm:rounded-lg md:w-full relative z-50 grid w-full border shadow-lg duration-200", o.class) }, f(g), { onPointerDownOutside: a[0] ||= (e) => {
|
|
147
|
+
let t = e.detail.originalEvent, n = t.target;
|
|
148
|
+
(t.offsetX > n.clientWidth || t.offsetY > n.clientHeight) && e.preventDefault();
|
|
149
|
+
} }), {
|
|
150
|
+
default: p(() => [d(n.$slots, "default"), i(f(m), { class: "top-3 right-3 p-0.5 absolute rounded-md transition-colors hover:bg-secondary" }, {
|
|
151
|
+
default: p(() => [i(f(T), { class: "w-4 h-4" }), a[1] ||= r("span", { class: "sr-only" }, "Close", -1)]),
|
|
152
|
+
_: 1
|
|
153
|
+
})]),
|
|
154
|
+
_: 3
|
|
155
|
+
}, 16, ["class"])]),
|
|
156
|
+
_: 3
|
|
157
|
+
})]),
|
|
158
|
+
_: 3
|
|
159
|
+
}));
|
|
160
|
+
}
|
|
161
|
+
}), N = /* @__PURE__ */ a({
|
|
162
|
+
__name: "DialogTitle",
|
|
163
|
+
props: {
|
|
164
|
+
asChild: { type: Boolean },
|
|
165
|
+
as: {},
|
|
166
|
+
class: { type: [
|
|
167
|
+
Boolean,
|
|
168
|
+
null,
|
|
169
|
+
String,
|
|
170
|
+
Object,
|
|
171
|
+
Array
|
|
172
|
+
] }
|
|
173
|
+
},
|
|
174
|
+
setup(n) {
|
|
175
|
+
let r = n, i = w(r, "class"), a = S(i);
|
|
176
|
+
return (n, i) => (u(), t(f(b), s(f(a), { class: f(e)("font-semibold tracking-tight text-lg leading-none", r.class) }), {
|
|
177
|
+
default: p(() => [d(n.$slots, "default")]),
|
|
178
|
+
_: 3
|
|
179
|
+
}, 16, ["class"]));
|
|
180
|
+
}
|
|
181
|
+
}), P = /* @__PURE__ */ a({
|
|
182
|
+
__name: "DialogTrigger",
|
|
183
|
+
props: {
|
|
184
|
+
asChild: { type: Boolean },
|
|
185
|
+
as: {}
|
|
186
|
+
},
|
|
187
|
+
setup(e) {
|
|
188
|
+
let n = e;
|
|
189
|
+
return (e, r) => (u(), t(f(x), l(o(n)), {
|
|
190
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
191
|
+
_: 3
|
|
192
|
+
}, 16));
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
//#endregion
|
|
196
|
+
export { A as a, D as c, j as i, E as l, N as n, k as o, M as r, O as s, P as t };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { createElementBlock as t, defineComponent as n, isRef as r, normalizeClass as i, openBlock as a, unref as o, vModelDynamic as s, withDirectives as c } from "vue";
|
|
3
|
+
import { useVModel as l } from "@vueuse/core";
|
|
4
|
+
//#region src/input/Input.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var u = [
|
|
6
|
+
"type",
|
|
7
|
+
"placeholder",
|
|
8
|
+
"disabled"
|
|
9
|
+
], d = /* @__PURE__ */ n({
|
|
10
|
+
__name: "Input",
|
|
11
|
+
props: {
|
|
12
|
+
defaultValue: {},
|
|
13
|
+
modelValue: {},
|
|
14
|
+
class: { type: [
|
|
15
|
+
Boolean,
|
|
16
|
+
null,
|
|
17
|
+
String,
|
|
18
|
+
Object,
|
|
19
|
+
Array
|
|
20
|
+
] },
|
|
21
|
+
type: { default: "text" },
|
|
22
|
+
placeholder: {},
|
|
23
|
+
disabled: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
emits: ["update:modelValue"],
|
|
29
|
+
setup(n, { emit: d }) {
|
|
30
|
+
let f = n, p = l(f, "modelValue", d, {
|
|
31
|
+
passive: !0,
|
|
32
|
+
defaultValue: f.defaultValue
|
|
33
|
+
});
|
|
34
|
+
return (n, l) => c((a(), t("input", {
|
|
35
|
+
"onUpdate:modelValue": l[0] ||= (e) => r(p) ? p.value = e : null,
|
|
36
|
+
type: f.type,
|
|
37
|
+
placeholder: f.placeholder,
|
|
38
|
+
disabled: f.disabled,
|
|
39
|
+
class: i(o(e)("h-10 px-3 py-2 ring-offset-primary file:font-medium flex w-full rounded-lg border border-border-primary bg-primary text-sm text-primary shadow-xs transition-colors file:border-0 file:bg-transparent file:text-sm placeholder:text-placeholder focus-visible:border-border-brand focus-visible:ring-2 focus-visible:ring-brand-500/20 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", f.class))
|
|
40
|
+
}, null, 10, u)), [[s, o(p)]]);
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { d as t };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { createBlock as t, createVNode as n, defineComponent as r, mergeProps as i, normalizeClass as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
3
|
+
import { ScrollAreaCorner as u, ScrollAreaRoot as d, ScrollAreaScrollbar as f, ScrollAreaThumb as p, ScrollAreaViewport as m } from "reka-ui";
|
|
4
|
+
import { reactiveOmit as h } from "@vueuse/core";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/scroll-area/ScrollBar.vue
|
|
7
|
+
var g = /* @__PURE__ */ r({
|
|
8
|
+
__name: "ScrollBar",
|
|
9
|
+
props: {
|
|
10
|
+
orientation: { default: "vertical" },
|
|
11
|
+
forceMount: { type: Boolean },
|
|
12
|
+
asChild: { type: Boolean },
|
|
13
|
+
as: {},
|
|
14
|
+
class: { type: [
|
|
15
|
+
Boolean,
|
|
16
|
+
null,
|
|
17
|
+
String,
|
|
18
|
+
Object,
|
|
19
|
+
Array
|
|
20
|
+
] }
|
|
21
|
+
},
|
|
22
|
+
setup(r) {
|
|
23
|
+
let a = r, s = h(a, "class");
|
|
24
|
+
return (u, d) => (o(), t(c(f), i(c(s), { class: c(e)("flex touch-none transition-colors select-none", r.orientation === "vertical" && "w-2.5 h-full border-l border-l-transparent p-px", r.orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px", a.class) }), {
|
|
25
|
+
default: l(() => [n(c(p), { class: "bg-border relative flex-1 rounded-full" })]),
|
|
26
|
+
_: 1
|
|
27
|
+
}, 16, ["class"]));
|
|
28
|
+
}
|
|
29
|
+
}), _ = /* @__PURE__ */ r({
|
|
30
|
+
__name: "ScrollArea",
|
|
31
|
+
props: {
|
|
32
|
+
type: {},
|
|
33
|
+
dir: {},
|
|
34
|
+
scrollHideDelay: {},
|
|
35
|
+
asChild: { type: Boolean },
|
|
36
|
+
as: {},
|
|
37
|
+
class: { type: [
|
|
38
|
+
Boolean,
|
|
39
|
+
null,
|
|
40
|
+
String,
|
|
41
|
+
Object,
|
|
42
|
+
Array
|
|
43
|
+
] },
|
|
44
|
+
viewportClass: { type: [
|
|
45
|
+
Boolean,
|
|
46
|
+
null,
|
|
47
|
+
String,
|
|
48
|
+
Object,
|
|
49
|
+
Array
|
|
50
|
+
] }
|
|
51
|
+
},
|
|
52
|
+
setup(r) {
|
|
53
|
+
let f = r, p = h(f, "class", "viewportClass");
|
|
54
|
+
return (r, h) => (o(), t(c(d), i(c(p), { class: c(e)("relative overflow-hidden", f.class) }), {
|
|
55
|
+
default: l(() => [
|
|
56
|
+
n(c(m), { class: a(c(e)("h-full max-h-[inherit] w-full rounded-[inherit]", f.viewportClass)) }, {
|
|
57
|
+
default: l(() => [s(r.$slots, "default")]),
|
|
58
|
+
_: 3
|
|
59
|
+
}, 8, ["class"]),
|
|
60
|
+
n(g),
|
|
61
|
+
n(c(u))
|
|
62
|
+
]),
|
|
63
|
+
_: 3
|
|
64
|
+
}, 16, ["class"]));
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
//#endregion
|
|
68
|
+
export { g as n, _ as t };
|