@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,262 @@
|
|
|
1
|
+
import { t as e } from "../chunks/utils-CX-Pz5p6.js";
|
|
2
|
+
import { createBlock as t, createCommentVNode as n, createTextVNode as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
|
|
3
|
+
import { ComboboxAnchor as m, ComboboxCancel as h, ComboboxContent as g, ComboboxEmpty as _, ComboboxGroup as v, ComboboxInput as y, ComboboxItem as b, ComboboxItemIndicator as x, ComboboxLabel as S, ComboboxPortal as C, ComboboxRoot as w, ComboboxSeparator as T, ComboboxTrigger as E, ComboboxViewport as D, useForwardProps as O, useForwardPropsEmits as k } from "reka-ui";
|
|
4
|
+
import { reactiveOmit as A } from "@vueuse/core";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/combobox/Combobox.vue
|
|
7
|
+
var j = /* @__PURE__ */ a({
|
|
8
|
+
__name: "Combobox",
|
|
9
|
+
props: {
|
|
10
|
+
open: { type: Boolean },
|
|
11
|
+
defaultOpen: { type: Boolean },
|
|
12
|
+
resetSearchTermOnBlur: { type: Boolean },
|
|
13
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
14
|
+
openOnFocus: { type: Boolean },
|
|
15
|
+
openOnClick: { type: Boolean },
|
|
16
|
+
ignoreFilter: { type: Boolean },
|
|
17
|
+
resetModelValueOnClear: { type: Boolean },
|
|
18
|
+
modelValue: {},
|
|
19
|
+
defaultValue: {},
|
|
20
|
+
multiple: { type: Boolean },
|
|
21
|
+
dir: {},
|
|
22
|
+
disabled: { type: Boolean },
|
|
23
|
+
highlightOnHover: { type: Boolean },
|
|
24
|
+
by: { type: [String, Function] },
|
|
25
|
+
asChild: { type: Boolean },
|
|
26
|
+
as: {},
|
|
27
|
+
name: {},
|
|
28
|
+
required: { type: Boolean }
|
|
29
|
+
},
|
|
30
|
+
emits: [
|
|
31
|
+
"update:modelValue",
|
|
32
|
+
"highlight",
|
|
33
|
+
"update:open"
|
|
34
|
+
],
|
|
35
|
+
setup(e, { emit: n }) {
|
|
36
|
+
let r = k(e, n);
|
|
37
|
+
return (e, n) => (l(), t(f(w), c(o(f(r))), {
|
|
38
|
+
default: p(() => [u(e.$slots, "default")]),
|
|
39
|
+
_: 3
|
|
40
|
+
}, 16));
|
|
41
|
+
}
|
|
42
|
+
}), M = /* @__PURE__ */ a({
|
|
43
|
+
__name: "ComboboxAnchor",
|
|
44
|
+
props: {
|
|
45
|
+
reference: {},
|
|
46
|
+
asChild: { type: Boolean },
|
|
47
|
+
as: {},
|
|
48
|
+
class: { type: [
|
|
49
|
+
Boolean,
|
|
50
|
+
null,
|
|
51
|
+
String,
|
|
52
|
+
Object,
|
|
53
|
+
Array
|
|
54
|
+
] }
|
|
55
|
+
},
|
|
56
|
+
setup(n) {
|
|
57
|
+
let r = n, i = A(r, "class"), a = O(i);
|
|
58
|
+
return (n, i) => (l(), t(f(m), s(f(a), { class: f(e)("w-[200px]", r.class) }), {
|
|
59
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
60
|
+
_: 3
|
|
61
|
+
}, 16, ["class"]));
|
|
62
|
+
}
|
|
63
|
+
}), N = /* @__PURE__ */ a({
|
|
64
|
+
__name: "ComboboxEmpty",
|
|
65
|
+
props: {
|
|
66
|
+
asChild: { type: Boolean },
|
|
67
|
+
as: {},
|
|
68
|
+
class: { type: [
|
|
69
|
+
Boolean,
|
|
70
|
+
null,
|
|
71
|
+
String,
|
|
72
|
+
Object,
|
|
73
|
+
Array
|
|
74
|
+
] }
|
|
75
|
+
},
|
|
76
|
+
setup(n) {
|
|
77
|
+
let r = n, i = A(r, "class");
|
|
78
|
+
return (n, a) => (l(), t(f(_), s(f(i), { class: f(e)("py-6 text-center text-sm", r.class) }), {
|
|
79
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 16, ["class"]));
|
|
82
|
+
}
|
|
83
|
+
}), P = /* @__PURE__ */ a({
|
|
84
|
+
__name: "ComboboxGroup",
|
|
85
|
+
props: {
|
|
86
|
+
asChild: { type: Boolean },
|
|
87
|
+
as: {},
|
|
88
|
+
class: { type: [
|
|
89
|
+
Boolean,
|
|
90
|
+
null,
|
|
91
|
+
String,
|
|
92
|
+
Object,
|
|
93
|
+
Array
|
|
94
|
+
] },
|
|
95
|
+
heading: {}
|
|
96
|
+
},
|
|
97
|
+
setup(i) {
|
|
98
|
+
let a = i, o = A(a, "class");
|
|
99
|
+
return (c, m) => (l(), t(f(v), s(f(o), { class: f(e)("p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden [&_[cmdk-group-heading]]:text-xs", a.class) }), {
|
|
100
|
+
default: p(() => [i.heading ? (l(), t(f(S), {
|
|
101
|
+
key: 0,
|
|
102
|
+
class: "px-2 py-1.5 font-medium text-muted-foreground text-xs"
|
|
103
|
+
}, {
|
|
104
|
+
default: p(() => [r(d(i.heading), 1)]),
|
|
105
|
+
_: 1
|
|
106
|
+
})) : n("", !0), u(c.$slots, "default")]),
|
|
107
|
+
_: 3
|
|
108
|
+
}, 16, ["class"]));
|
|
109
|
+
}
|
|
110
|
+
}), F = /* @__PURE__ */ a({
|
|
111
|
+
__name: "ComboboxInput",
|
|
112
|
+
props: {
|
|
113
|
+
displayValue: { type: Function },
|
|
114
|
+
modelValue: {},
|
|
115
|
+
autoFocus: { type: Boolean },
|
|
116
|
+
disabled: { type: Boolean },
|
|
117
|
+
asChild: { type: Boolean },
|
|
118
|
+
as: {},
|
|
119
|
+
class: { type: [
|
|
120
|
+
Boolean,
|
|
121
|
+
null,
|
|
122
|
+
String,
|
|
123
|
+
Object,
|
|
124
|
+
Array
|
|
125
|
+
] }
|
|
126
|
+
},
|
|
127
|
+
emits: ["update:modelValue"],
|
|
128
|
+
setup(n, { emit: r }) {
|
|
129
|
+
let i = n, a = r, o = A(i, "class"), c = k(o, a);
|
|
130
|
+
return (n, r) => (l(), t(f(y), s(f(c), { class: f(e)("h-9 px-3 py-1 file:font-medium flex w-full rounded-md 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", i.class) }), {
|
|
131
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
132
|
+
_: 3
|
|
133
|
+
}, 16, ["class"]));
|
|
134
|
+
}
|
|
135
|
+
}), I = /* @__PURE__ */ a({
|
|
136
|
+
__name: "ComboboxItem",
|
|
137
|
+
props: {
|
|
138
|
+
textValue: {},
|
|
139
|
+
value: {},
|
|
140
|
+
disabled: { type: Boolean },
|
|
141
|
+
asChild: { type: Boolean },
|
|
142
|
+
as: {},
|
|
143
|
+
class: { type: [
|
|
144
|
+
Boolean,
|
|
145
|
+
null,
|
|
146
|
+
String,
|
|
147
|
+
Object,
|
|
148
|
+
Array
|
|
149
|
+
] }
|
|
150
|
+
},
|
|
151
|
+
emits: ["select"],
|
|
152
|
+
setup(n, { emit: r }) {
|
|
153
|
+
let i = n, a = r, o = A(i, "class"), c = k(o, a);
|
|
154
|
+
return (n, r) => (l(), t(f(b), s(f(c), { class: f(e)("gap-2 px-2 py-1.5 [&_svg]:size-4 relative flex cursor-default items-center justify-between rounded-sm text-sm text-primary outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-active [&_svg]:shrink-0", i.class) }), {
|
|
155
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
156
|
+
_: 3
|
|
157
|
+
}, 16, ["class"]));
|
|
158
|
+
}
|
|
159
|
+
}), L = /* @__PURE__ */ a({
|
|
160
|
+
__name: "ComboboxList",
|
|
161
|
+
props: {
|
|
162
|
+
forceMount: { type: Boolean },
|
|
163
|
+
position: { default: "popper" },
|
|
164
|
+
bodyLock: { type: Boolean },
|
|
165
|
+
hideWhenEmpty: { type: Boolean },
|
|
166
|
+
memoDependencies: {},
|
|
167
|
+
side: {},
|
|
168
|
+
sideOffset: { default: 4 },
|
|
169
|
+
sideFlip: { type: Boolean },
|
|
170
|
+
align: { default: "center" },
|
|
171
|
+
alignOffset: {},
|
|
172
|
+
alignFlip: { type: Boolean },
|
|
173
|
+
avoidCollisions: { type: Boolean },
|
|
174
|
+
collisionBoundary: {},
|
|
175
|
+
collisionPadding: {},
|
|
176
|
+
arrowPadding: {},
|
|
177
|
+
hideShiftedArrow: { type: Boolean },
|
|
178
|
+
sticky: {},
|
|
179
|
+
hideWhenDetached: { type: Boolean },
|
|
180
|
+
positionStrategy: {},
|
|
181
|
+
updatePositionStrategy: {},
|
|
182
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
183
|
+
prioritizePosition: { type: Boolean },
|
|
184
|
+
reference: {},
|
|
185
|
+
dir: {},
|
|
186
|
+
asChild: { type: Boolean },
|
|
187
|
+
as: {},
|
|
188
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
189
|
+
class: { type: [
|
|
190
|
+
Boolean,
|
|
191
|
+
null,
|
|
192
|
+
String,
|
|
193
|
+
Object,
|
|
194
|
+
Array
|
|
195
|
+
] }
|
|
196
|
+
},
|
|
197
|
+
emits: [
|
|
198
|
+
"escapeKeyDown",
|
|
199
|
+
"pointerDownOutside",
|
|
200
|
+
"focusOutside",
|
|
201
|
+
"interactOutside"
|
|
202
|
+
],
|
|
203
|
+
setup(n, { emit: r }) {
|
|
204
|
+
let a = n, o = r, c = A(a, "class"), d = k(c, o);
|
|
205
|
+
return (n, r) => (l(), t(f(C), null, {
|
|
206
|
+
default: p(() => [i(f(g), s(f(d), { class: f(e)("z-50 w-[200px] rounded-md border border-border-secondary bg-primary text-primary shadow-lg outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", a.class) }), {
|
|
207
|
+
default: p(() => [i(f(D), null, {
|
|
208
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
209
|
+
_: 3
|
|
210
|
+
})]),
|
|
211
|
+
_: 3
|
|
212
|
+
}, 16, ["class"])]),
|
|
213
|
+
_: 3
|
|
214
|
+
}));
|
|
215
|
+
}
|
|
216
|
+
}), R = /* @__PURE__ */ a({
|
|
217
|
+
__name: "ComboboxSeparator",
|
|
218
|
+
props: {
|
|
219
|
+
asChild: { type: Boolean },
|
|
220
|
+
as: {},
|
|
221
|
+
class: { type: [
|
|
222
|
+
Boolean,
|
|
223
|
+
null,
|
|
224
|
+
String,
|
|
225
|
+
Object,
|
|
226
|
+
Array
|
|
227
|
+
] }
|
|
228
|
+
},
|
|
229
|
+
setup(n) {
|
|
230
|
+
let r = n, i = A(r, "class");
|
|
231
|
+
return (n, a) => (l(), t(f(T), s(f(i), { class: f(e)("-mx-1 bg-border h-px", r.class) }), {
|
|
232
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
233
|
+
_: 3
|
|
234
|
+
}, 16, ["class"]));
|
|
235
|
+
}
|
|
236
|
+
}), z = /* @__PURE__ */ a({
|
|
237
|
+
__name: "ComboboxTrigger",
|
|
238
|
+
props: {
|
|
239
|
+
disabled: { type: Boolean },
|
|
240
|
+
asChild: { type: Boolean },
|
|
241
|
+
as: {},
|
|
242
|
+
class: { type: [
|
|
243
|
+
Boolean,
|
|
244
|
+
null,
|
|
245
|
+
String,
|
|
246
|
+
Object,
|
|
247
|
+
Array
|
|
248
|
+
] }
|
|
249
|
+
},
|
|
250
|
+
setup(n) {
|
|
251
|
+
let r = n, i = A(r, "class"), a = O(i);
|
|
252
|
+
return (n, i) => (l(), t(f(E), s(f(a), {
|
|
253
|
+
class: f(e)("rounded-md focus-visible:ring-2 focus-visible:ring-brand-500/20 focus-visible:outline-none", r.class),
|
|
254
|
+
tabindex: "0"
|
|
255
|
+
}), {
|
|
256
|
+
default: p(() => [u(n.$slots, "default")]),
|
|
257
|
+
_: 3
|
|
258
|
+
}, 16, ["class"]));
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
//#endregion
|
|
262
|
+
export { j as Combobox, M as ComboboxAnchor, h as ComboboxCancel, N as ComboboxEmpty, P as ComboboxGroup, F as ComboboxInput, I as ComboboxItem, x as ComboboxItemIndicator, L as ComboboxList, R as ComboboxSeparator, z as ComboboxTrigger };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ListboxRootProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = ListboxRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: import('reka-ui').AcceptableValue) => any;
|
|
12
|
+
highlight: (payload: {
|
|
13
|
+
ref: HTMLElement;
|
|
14
|
+
value: import('reka-ui').AcceptableValue;
|
|
15
|
+
} | undefined) => any;
|
|
16
|
+
entryFocus: (event: CustomEvent<any>) => any;
|
|
17
|
+
leave: (event: Event) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: import('reka-ui').AcceptableValue) => any) | undefined;
|
|
20
|
+
onHighlight?: ((payload: {
|
|
21
|
+
ref: HTMLElement;
|
|
22
|
+
value: import('reka-ui').AcceptableValue;
|
|
23
|
+
} | undefined) => any) | undefined;
|
|
24
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
25
|
+
onLeave?: ((event: Event) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
modelValue: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[];
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DialogRootProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_20: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_20) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:open": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
9
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = PrimitiveProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ListboxGroupProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = ListboxGroupProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
heading?: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_14: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_14) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ListboxFilterProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = ListboxFilterProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ListboxItemProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = ListboxItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_11: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_11) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: (event: import('reka-ui').ListboxItemSelectEvent<import('reka-ui').AcceptableValue>) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSelect?: ((event: import('reka-ui').ListboxItemSelectEvent<import('reka-ui').AcceptableValue>) => 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,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ListboxContentProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = ListboxContentProps & {
|
|
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, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { SeparatorProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = SeparatorProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export { default as Command } from './Command.vue';
|
|
3
|
+
export { default as CommandDialog } from './CommandDialog.vue';
|
|
4
|
+
export { default as CommandEmpty } from './CommandEmpty.vue';
|
|
5
|
+
export { default as CommandGroup } from './CommandGroup.vue';
|
|
6
|
+
export { default as CommandInput } from './CommandInput.vue';
|
|
7
|
+
export { default as CommandItem } from './CommandItem.vue';
|
|
8
|
+
export { default as CommandList } from './CommandList.vue';
|
|
9
|
+
export { default as CommandSeparator } from './CommandSeparator.vue';
|
|
10
|
+
export { default as CommandShortcut } from './CommandShortcut.vue';
|
|
11
|
+
export declare const useCommand: <T extends {
|
|
12
|
+
allItems: Ref<Map<string, string>>;
|
|
13
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
14
|
+
filterState: {
|
|
15
|
+
search: string;
|
|
16
|
+
filtered: {
|
|
17
|
+
count: number;
|
|
18
|
+
items: Map<string, number>;
|
|
19
|
+
groups: Set<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} | null | undefined = {
|
|
23
|
+
allItems: Ref<Map<string, string>>;
|
|
24
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
25
|
+
filterState: {
|
|
26
|
+
search: string;
|
|
27
|
+
filtered: {
|
|
28
|
+
count: number;
|
|
29
|
+
items: Map<string, number>;
|
|
30
|
+
groups: Set<string>;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
}>(fallback?: T | undefined) => T extends null ? {
|
|
34
|
+
allItems: Ref<Map<string, string>>;
|
|
35
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
36
|
+
filterState: {
|
|
37
|
+
search: string;
|
|
38
|
+
filtered: {
|
|
39
|
+
count: number;
|
|
40
|
+
items: Map<string, number>;
|
|
41
|
+
groups: Set<string>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} | null : {
|
|
45
|
+
allItems: Ref<Map<string, string>>;
|
|
46
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
47
|
+
filterState: {
|
|
48
|
+
search: string;
|
|
49
|
+
filtered: {
|
|
50
|
+
count: number;
|
|
51
|
+
items: Map<string, number>;
|
|
52
|
+
groups: Set<string>;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, provideCommandContext: (contextValue: {
|
|
56
|
+
allItems: Ref<Map<string, string>>;
|
|
57
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
58
|
+
filterState: {
|
|
59
|
+
search: string;
|
|
60
|
+
filtered: {
|
|
61
|
+
count: number;
|
|
62
|
+
items: Map<string, number>;
|
|
63
|
+
groups: Set<string>;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}) => {
|
|
67
|
+
allItems: Ref<Map<string, string>>;
|
|
68
|
+
allGroups: Ref<Map<string, Set<string>>>;
|
|
69
|
+
filterState: {
|
|
70
|
+
search: string;
|
|
71
|
+
filtered: {
|
|
72
|
+
count: number;
|
|
73
|
+
items: Map<string, number>;
|
|
74
|
+
groups: Set<string>;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export declare const useCommandGroup: <T extends {
|
|
79
|
+
id?: string;
|
|
80
|
+
} | null | undefined = {
|
|
81
|
+
id?: string;
|
|
82
|
+
}>(fallback?: T | undefined) => T extends null ? {
|
|
83
|
+
id?: string;
|
|
84
|
+
} | null : {
|
|
85
|
+
id?: string;
|
|
86
|
+
}, provideCommandGroupContext: (contextValue: {
|
|
87
|
+
id?: string;
|
|
88
|
+
}) => {
|
|
89
|
+
id?: string;
|
|
90
|
+
};
|