una-nuxt-module 2.1.27 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/ui/accordion/AccordionContent.vue +1 -1
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +1 -1
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +2 -5
- package/dist/runtime/components/ui/alert/Alert.vue +1 -1
- package/dist/runtime/components/ui/alert/AlertDescription.vue +7 -2
- package/dist/runtime/components/ui/alert/AlertTitle.vue +7 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +6 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +5 -7
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +2 -4
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +2 -5
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +1 -1
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.d.vue.ts +1 -1
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue +30 -11
- package/dist/runtime/components/ui/auto-form/AutoFormFieldDate.vue.d.ts +1 -1
- package/dist/runtime/components/ui/avatar/Avatar.vue +7 -2
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +7 -2
- package/dist/runtime/components/ui/badge/Badge.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +7 -2
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +1 -1
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +1 -1
- package/dist/runtime/components/ui/button/Button.vue +1 -1
- package/dist/runtime/components/ui/button-group/ButtonGroup.vue +4 -2
- package/dist/runtime/components/ui/button-group/ButtonGroupSeparator.vue +8 -6
- package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +7 -2
- package/dist/runtime/components/ui/calendar/Calendar.vue +21 -10
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +7 -2
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +18 -16
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +3 -2
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +7 -2
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +4 -2
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +1 -1
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +10 -8
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +10 -8
- package/dist/runtime/components/ui/card/Card.vue +1 -1
- package/dist/runtime/components/ui/card/CardAction.vue +7 -2
- package/dist/runtime/components/ui/card/CardContent.vue +2 -5
- package/dist/runtime/components/ui/card/CardDescription.vue +1 -1
- package/dist/runtime/components/ui/card/CardFooter.vue +1 -1
- package/dist/runtime/components/ui/card/CardHeader.vue +7 -2
- package/dist/runtime/components/ui/card/CardTitle.vue +1 -1
- package/dist/runtime/components/ui/carousel/Carousel.vue +19 -3
- package/dist/runtime/components/ui/carousel/CarouselContent.vue +2 -6
- package/dist/runtime/components/ui/carousel/CarouselItem.vue +8 -6
- package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +9 -7
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +9 -7
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/chart-area/AreaChart.vue +44 -14
- package/dist/runtime/components/ui/chart-bar/BarChart.vue +39 -14
- package/dist/runtime/components/ui/chart-donut/DonutChart.vue +24 -12
- package/dist/runtime/components/ui/chart-line/LineChart.vue +27 -11
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxAnchor.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxEmpty.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxGroup.vue +5 -2
- package/dist/runtime/components/ui/combobox/ComboboxInput.vue +7 -6
- package/dist/runtime/components/ui/combobox/ComboboxItem.vue +7 -2
- package/dist/runtime/components/ui/combobox/ComboboxItemIndicator.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxList.vue +7 -2
- package/dist/runtime/components/ui/combobox/ComboboxSeparator.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxTrigger.vue +1 -1
- package/dist/runtime/components/ui/combobox/ComboboxViewport.vue +7 -2
- package/dist/runtime/components/ui/command/Command.vue +14 -7
- package/dist/runtime/components/ui/command/CommandEmpty.vue +3 -2
- package/dist/runtime/components/ui/command/CommandGroup.vue +9 -5
- package/dist/runtime/components/ui/command/CommandInput.vue +7 -2
- package/dist/runtime/components/ui/command/CommandItem.vue +17 -8
- package/dist/runtime/components/ui/command/CommandList.vue +7 -2
- package/dist/runtime/components/ui/command/CommandSeparator.vue +1 -1
- package/dist/runtime/components/ui/command/CommandShortcut.vue +4 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +10 -6
- package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +7 -5
- package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +8 -9
- package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +7 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +10 -6
- package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +2 -4
- package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +4 -2
- package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +2 -5
- package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +8 -9
- package/dist/runtime/components/ui/dialog/DialogContent.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +4 -2
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +1 -1
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +7 -2
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +2 -2
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +14 -10
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +1 -1
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +7 -2
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +1 -1
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +10 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +7 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +7 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +4 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +10 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +2 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +4 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +8 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +8 -9
- package/dist/runtime/components/ui/empty/Empty.vue +7 -5
- package/dist/runtime/components/ui/empty/EmptyContent.vue +7 -5
- package/dist/runtime/components/ui/empty/EmptyDescription.vue +7 -5
- package/dist/runtime/components/ui/empty/EmptyHeader.vue +7 -5
- package/dist/runtime/components/ui/empty/EmptyMedia.vue +1 -1
- package/dist/runtime/components/ui/empty/EmptyTitle.vue +1 -1
- package/dist/runtime/components/ui/field/Field.vue +2 -5
- package/dist/runtime/components/ui/field/FieldContent.vue +7 -5
- package/dist/runtime/components/ui/field/FieldDescription.vue +9 -7
- package/dist/runtime/components/ui/field/FieldError.vue +6 -4
- package/dist/runtime/components/ui/field/FieldGroup.vue +7 -5
- package/dist/runtime/components/ui/field/FieldLabel.vue +10 -8
- package/dist/runtime/components/ui/field/FieldLegend.vue +9 -7
- package/dist/runtime/components/ui/field/FieldSeparator.vue +8 -6
- package/dist/runtime/components/ui/field/FieldSet.vue +8 -6
- package/dist/runtime/components/ui/field/FieldTitle.vue +7 -5
- package/dist/runtime/components/ui/form/FormDescription.vue +1 -1
- package/dist/runtime/components/ui/form/FormItem.vue +2 -5
- package/dist/runtime/components/ui/form/FormLabel.vue +3 -6
- package/dist/runtime/components/ui/form/FormMessage.vue +1 -1
- package/dist/runtime/components/ui/hover-card/HoverCardContent.vue +2 -6
- package/dist/runtime/components/ui/input/Input.vue +10 -8
- package/dist/runtime/components/ui/input-group/InputGroup.vue +17 -15
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +2 -2
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +8 -6
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +7 -5
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +8 -6
- package/dist/runtime/components/ui/item/Item.vue +1 -1
- package/dist/runtime/components/ui/item/ItemActions.vue +1 -1
- package/dist/runtime/components/ui/item/ItemContent.vue +7 -2
- package/dist/runtime/components/ui/item/ItemDescription.vue +8 -6
- package/dist/runtime/components/ui/item/ItemFooter.vue +4 -2
- package/dist/runtime/components/ui/item/ItemGroup.vue +1 -1
- package/dist/runtime/components/ui/item/ItemHeader.vue +4 -2
- package/dist/runtime/components/ui/item/ItemMedia.vue +1 -1
- package/dist/runtime/components/ui/item/ItemSeparator.vue +2 -2
- package/dist/runtime/components/ui/item/ItemTitle.vue +7 -2
- package/dist/runtime/components/ui/kbd/Kbd.vue +9 -7
- package/dist/runtime/components/ui/kbd/KbdGroup.vue +1 -1
- package/dist/runtime/components/ui/label/Label.vue +1 -1
- package/dist/runtime/components/ui/menubar/Menubar.vue +2 -5
- package/dist/runtime/components/ui/menubar/MenubarCheckboxItem.vue +10 -6
- package/dist/runtime/components/ui/menubar/MenubarContent.vue +2 -6
- package/dist/runtime/components/ui/menubar/MenubarItem.vue +8 -9
- package/dist/runtime/components/ui/menubar/MenubarLabel.vue +4 -2
- package/dist/runtime/components/ui/menubar/MenubarRadioItem.vue +10 -6
- package/dist/runtime/components/ui/menubar/MenubarSeparator.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarShortcut.vue +4 -2
- package/dist/runtime/components/ui/menubar/MenubarSubContent.vue +1 -1
- package/dist/runtime/components/ui/menubar/MenubarSubTrigger.vue +7 -5
- package/dist/runtime/components/ui/menubar/MenubarTrigger.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +8 -6
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +9 -10
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +10 -3
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +8 -6
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +2 -5
- package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +2 -5
- package/dist/runtime/components/ui/number-field/NumberField.vue +1 -1
- package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +9 -2
- package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +11 -2
- package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +11 -2
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +7 -2
- package/dist/runtime/components/ui/pagination/Pagination.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +9 -3
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +11 -9
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +9 -3
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +9 -3
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +9 -3
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInput.vue +8 -2
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +1 -1
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +7 -2
- package/dist/runtime/components/ui/popover/PopoverContent.vue +2 -6
- package/dist/runtime/components/ui/progress/Progress.vue +2 -5
- package/dist/runtime/components/ui/radio-group/RadioGroup.vue +1 -1
- package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +5 -7
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +21 -10
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +7 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +20 -18
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +3 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +7 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +4 -2
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +10 -8
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +10 -8
- package/dist/runtime/components/ui/resizable/ResizableHandle.vue +10 -3
- package/dist/runtime/components/ui/resizable/ResizablePanelGroup.vue +4 -2
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +2 -6
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +1 -1
- package/dist/runtime/components/ui/select/SelectContent.vue +9 -2
- package/dist/runtime/components/ui/select/SelectItem.vue +1 -1
- package/dist/runtime/components/ui/select/SelectLabel.vue +1 -1
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +4 -2
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +4 -2
- package/dist/runtime/components/ui/select/SelectSeparator.vue +1 -1
- package/dist/runtime/components/ui/select/SelectTrigger.vue +7 -5
- package/dist/runtime/components/ui/separator/Separator.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetContent.vue +11 -9
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +2 -4
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +1 -1
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +7 -2
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +1 -1
- package/dist/runtime/components/ui/sidebar/Sidebar.vue +34 -20
- package/dist/runtime/components/ui/sidebar/SidebarContent.vue +7 -2
- package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +9 -7
- package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +8 -6
- package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarInput.vue +3 -6
- package/dist/runtime/components/ui/sidebar/SidebarInset.vue +8 -6
- package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +13 -11
- package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +12 -10
- package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +2 -2
- package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +8 -6
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +11 -9
- package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
- package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +24 -5
- package/dist/runtime/components/ui/sidebar/SidebarRail.vue +12 -10
- package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +2 -2
- package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +2 -2
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +1 -1
- package/dist/runtime/components/ui/slider/Slider.vue +14 -6
- package/dist/runtime/components/ui/spinner/Spinner.vue +1 -1
- package/dist/runtime/components/ui/stepper/Stepper.vue +2 -5
- package/dist/runtime/components/ui/stepper/StepperDescription.vue +6 -2
- package/dist/runtime/components/ui/stepper/StepperIndicator.vue +13 -11
- package/dist/runtime/components/ui/stepper/StepperItem.vue +7 -2
- package/dist/runtime/components/ui/stepper/StepperSeparator.vue +11 -9
- package/dist/runtime/components/ui/stepper/StepperTitle.vue +5 -2
- package/dist/runtime/components/ui/stepper/StepperTrigger.vue +7 -2
- package/dist/runtime/components/ui/switch/Switch.vue +13 -11
- package/dist/runtime/components/ui/table/Table.vue +5 -2
- package/dist/runtime/components/ui/table/TableBody.vue +1 -1
- package/dist/runtime/components/ui/table/TableCaption.vue +1 -1
- package/dist/runtime/components/ui/table/TableCell.vue +1 -1
- package/dist/runtime/components/ui/table/TableEmpty.vue +1 -1
- package/dist/runtime/components/ui/table/TableFooter.vue +4 -2
- package/dist/runtime/components/ui/table/TableHead.vue +7 -2
- package/dist/runtime/components/ui/table/TableHeader.vue +2 -5
- package/dist/runtime/components/ui/table/TableRow.vue +7 -2
- package/dist/runtime/components/ui/tabs/Tabs.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsContent.vue +1 -1
- package/dist/runtime/components/ui/tabs/TabsList.vue +7 -5
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +7 -5
- package/dist/runtime/components/ui/tags-input/TagsInput.vue +10 -2
- package/dist/runtime/components/ui/tags-input/TagsInputInput.vue +10 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItem.vue +10 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItemDelete.vue +5 -2
- package/dist/runtime/components/ui/tags-input/TagsInputItemText.vue +5 -2
- package/dist/runtime/components/ui/textarea/Textarea.vue +7 -2
- package/dist/runtime/components/ui/toggle/Toggle.vue +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +7 -2
- package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +12 -10
- package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +16 -4
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AccordionContent } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
forceMount: { type: Boolean, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AccordionItem, useForwardProps } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
disabled: { type: Boolean, required: false },
|
|
7
7
|
value: { type: String, required: true },
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { ChevronDown } from "lucide-vue-next";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
AccordionTrigger
|
|
7
|
-
} from "reka-ui";
|
|
8
|
-
import { cn } from "~/src/runtime/lib/utils";
|
|
4
|
+
import { AccordionHeader, AccordionTrigger } from "reka-ui";
|
|
5
|
+
import cn from "../../../utils/cn";
|
|
9
6
|
const props = defineProps({
|
|
10
7
|
asChild: { type: Boolean, required: false },
|
|
11
8
|
as: { type: null, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
class: { type: null, required: false }
|
|
5
5
|
});
|
|
@@ -8,7 +8,12 @@ const props = defineProps({
|
|
|
8
8
|
<template>
|
|
9
9
|
<div
|
|
10
10
|
data-slot="alert-description"
|
|
11
|
-
:class="
|
|
11
|
+
:class="
|
|
12
|
+
cn(
|
|
13
|
+
'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',
|
|
14
|
+
props.class
|
|
15
|
+
)
|
|
16
|
+
"
|
|
12
17
|
>
|
|
13
18
|
<slot />
|
|
14
19
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
class: { type: null, required: false }
|
|
5
5
|
});
|
|
@@ -8,7 +8,12 @@ const props = defineProps({
|
|
|
8
8
|
<template>
|
|
9
9
|
<div
|
|
10
10
|
data-slot="alert-title"
|
|
11
|
-
:class="
|
|
11
|
+
:class="
|
|
12
|
+
cn(
|
|
13
|
+
'col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight',
|
|
14
|
+
props.class
|
|
15
|
+
)
|
|
16
|
+
"
|
|
12
17
|
>
|
|
13
18
|
<slot />
|
|
14
19
|
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AlertDialogAction } from "reka-ui";
|
|
4
|
-
import
|
|
5
|
-
import { buttonVariants } from "
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
|
+
import { buttonVariants } from "../button";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
8
|
as: { type: null, required: false },
|
|
@@ -12,7 +12,10 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<AlertDialogAction
|
|
15
|
+
<AlertDialogAction
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn(buttonVariants(), props.class)"
|
|
18
|
+
>
|
|
16
19
|
<slot />
|
|
17
20
|
</AlertDialogAction>
|
|
18
21
|
</template>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AlertDialogCancel } from "reka-ui";
|
|
4
|
-
import
|
|
5
|
-
import { buttonVariants } from "
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
|
+
import { buttonVariants } from "../button";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
8
|
as: { type: null, required: false },
|
|
@@ -14,11 +14,9 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
14
14
|
<template>
|
|
15
15
|
<AlertDialogCancel
|
|
16
16
|
v-bind="delegatedProps"
|
|
17
|
-
:class="
|
|
18
|
-
buttonVariants({ variant: 'outline' }),
|
|
19
|
-
|
|
20
|
-
props.class
|
|
21
|
-
)"
|
|
17
|
+
:class="
|
|
18
|
+
cn(buttonVariants({ variant: 'outline' }), 'mt-2 sm:mt-0', props.class)
|
|
19
|
+
"
|
|
22
20
|
>
|
|
23
21
|
<slot />
|
|
24
22
|
</AlertDialogCancel>
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
AlertDialogPortal,
|
|
7
7
|
useForwardPropsEmits
|
|
8
8
|
} from "reka-ui";
|
|
9
|
-
import
|
|
9
|
+
import cn from "../../../utils/cn";
|
|
10
10
|
const props = defineProps({
|
|
11
11
|
forceMount: { type: Boolean, required: false },
|
|
12
12
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
} from "reka-ui";
|
|
6
|
-
import { cn } from "~/src/runtime/lib/utils";
|
|
3
|
+
import { AlertDialogDescription } from "reka-ui";
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
7
5
|
const props = defineProps({
|
|
8
6
|
asChild: { type: Boolean, required: false },
|
|
9
7
|
as: { type: null, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
class: { type: null, required: false }
|
|
5
5
|
});
|
|
@@ -9,10 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
<div
|
|
10
10
|
data-slot="alert-dialog-footer"
|
|
11
11
|
:class="
|
|
12
|
-
cn(
|
|
13
|
-
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
|
|
14
|
-
props.class
|
|
15
|
-
)
|
|
12
|
+
cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)
|
|
16
13
|
"
|
|
17
14
|
>
|
|
18
15
|
<slot />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AlertDialogTitle } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
asChild: { type: Boolean, required: false },
|
|
7
7
|
as: { type: null, required: false },
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
3
|
-
import { Button } from "
|
|
4
|
-
import { Calendar } from "
|
|
5
|
-
import {
|
|
6
|
-
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
|
+
import { Button } from "../button";
|
|
4
|
+
import { Calendar } from "../calendar";
|
|
5
|
+
import {
|
|
6
|
+
FormControl,
|
|
7
|
+
FormDescription,
|
|
8
|
+
FormField,
|
|
9
|
+
FormItem,
|
|
10
|
+
FormMessage
|
|
11
|
+
} from "../form";
|
|
12
|
+
import { Popover, PopoverContent, PopoverTrigger } from "../popover";
|
|
7
13
|
import { DateFormatter, getLocalTimeZone } from "@internationalized/date";
|
|
8
14
|
import { CalendarIcon } from "lucide-vue-next";
|
|
9
15
|
import AutoFormLabel from "./AutoFormLabel.vue";
|
|
@@ -30,16 +36,29 @@ const df = new DateFormatter("en-US", {
|
|
|
30
36
|
<slot v-bind="slotProps">
|
|
31
37
|
<div>
|
|
32
38
|
<Popover>
|
|
33
|
-
<PopoverTrigger
|
|
39
|
+
<PopoverTrigger
|
|
40
|
+
as-child
|
|
41
|
+
:disabled="
|
|
42
|
+
maybeBooleanishToBoolean(config?.inputProps?.disabled) ?? disabled
|
|
43
|
+
"
|
|
44
|
+
>
|
|
34
45
|
<Button
|
|
35
46
|
variant="outline"
|
|
36
|
-
:class="
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
47
|
+
:class="
|
|
48
|
+
cn(
|
|
49
|
+
'w-full justify-start text-left font-normal',
|
|
50
|
+
!slotProps.componentField.modelValue && 'text-muted-foreground'
|
|
51
|
+
)
|
|
52
|
+
"
|
|
40
53
|
>
|
|
41
54
|
<CalendarIcon class="mr-2 h-4 w-4" />
|
|
42
|
-
{{
|
|
55
|
+
{{
|
|
56
|
+
slotProps.componentField.modelValue ? df.format(
|
|
57
|
+
slotProps.componentField.modelValue.toDate(
|
|
58
|
+
getLocalTimeZone()
|
|
59
|
+
)
|
|
60
|
+
) : "Pick a date"
|
|
61
|
+
}}
|
|
43
62
|
</Button>
|
|
44
63
|
</PopoverTrigger>
|
|
45
64
|
<PopoverContent class="w-auto p-0">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { AvatarRoot } from "reka-ui";
|
|
3
|
-
import
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
class: { type: null, required: false }
|
|
6
6
|
});
|
|
@@ -9,7 +9,12 @@ const props = defineProps({
|
|
|
9
9
|
<template>
|
|
10
10
|
<AvatarRoot
|
|
11
11
|
data-slot="avatar"
|
|
12
|
-
:class="
|
|
12
|
+
:class="
|
|
13
|
+
cn(
|
|
14
|
+
'relative flex size-8 shrink-0 overflow-hidden rounded-full',
|
|
15
|
+
props.class
|
|
16
|
+
)
|
|
17
|
+
"
|
|
13
18
|
>
|
|
14
19
|
<slot />
|
|
15
20
|
</AvatarRoot>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AvatarFallback } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
delayMs: { type: Number, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
@@ -15,7 +15,12 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
15
15
|
<AvatarFallback
|
|
16
16
|
data-slot="avatar-fallback"
|
|
17
17
|
v-bind="delegatedProps"
|
|
18
|
-
:class="
|
|
18
|
+
:class="
|
|
19
|
+
cn(
|
|
20
|
+
'bg-muted flex size-full items-center justify-center rounded-full',
|
|
21
|
+
props.class
|
|
22
|
+
)
|
|
23
|
+
"
|
|
19
24
|
>
|
|
20
25
|
<slot />
|
|
21
26
|
</AvatarFallback>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { Primitive } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
import { badgeVariants } from ".";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { Primitive } from "reka-ui";
|
|
3
|
-
import
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
asChild: { type: Boolean, required: false },
|
|
6
6
|
as: { type: null, required: false, default: "a" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
class: { type: null, required: false }
|
|
5
5
|
});
|
|
@@ -8,7 +8,12 @@ const props = defineProps({
|
|
|
8
8
|
<template>
|
|
9
9
|
<ol
|
|
10
10
|
data-slot="breadcrumb-list"
|
|
11
|
-
:class="
|
|
11
|
+
:class="
|
|
12
|
+
cn(
|
|
13
|
+
'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',
|
|
14
|
+
props.class
|
|
15
|
+
)
|
|
16
|
+
"
|
|
12
17
|
>
|
|
13
18
|
<slot />
|
|
14
19
|
</ol>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import
|
|
2
|
+
import cn from "../../../utils/cn";
|
|
3
3
|
import { buttonGroupVariants } from ".";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
class: { type: null, required: false },
|
|
@@ -12,7 +12,9 @@ const props = defineProps({
|
|
|
12
12
|
role="group"
|
|
13
13
|
data-slot="button-group"
|
|
14
14
|
:data-orientation="props.orientation"
|
|
15
|
-
:class="
|
|
15
|
+
:class="
|
|
16
|
+
cn(buttonGroupVariants({ orientation: props.orientation }), props.class)
|
|
17
|
+
"
|
|
16
18
|
>
|
|
17
19
|
<slot />
|
|
18
20
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
-
import
|
|
4
|
-
import { Separator } from "
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
|
+
import { Separator } from "../separator";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
orientation: { type: String, required: false, default: "vertical" },
|
|
7
7
|
decorative: { type: Boolean, required: false },
|
|
@@ -17,9 +17,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
17
17
|
data-slot="button-group-separator"
|
|
18
18
|
v-bind="delegatedProps"
|
|
19
19
|
:orientation="props.orientation"
|
|
20
|
-
:class="
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
:class="
|
|
21
|
+
cn(
|
|
22
|
+
'bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto',
|
|
23
|
+
props.class
|
|
24
|
+
)
|
|
25
|
+
"
|
|
24
26
|
/>
|
|
25
27
|
</template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { Primitive } from "reka-ui";
|
|
3
|
-
import
|
|
3
|
+
import cn from "../../../utils/cn";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
class: { type: null, required: false },
|
|
6
6
|
orientation: { type: null, required: false },
|
|
@@ -16,7 +16,12 @@ const props = defineProps({
|
|
|
16
16
|
:data-orientation="props.orientation"
|
|
17
17
|
:as="as"
|
|
18
18
|
:as-child="asChild"
|
|
19
|
-
:class="
|
|
19
|
+
:class="
|
|
20
|
+
cn(
|
|
21
|
+
'bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*=\'size-\'])]:size-4',
|
|
22
|
+
props.class
|
|
23
|
+
)
|
|
24
|
+
"
|
|
20
25
|
>
|
|
21
26
|
<slot />
|
|
22
27
|
</Primitive>
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { CalendarRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
|
+
import {
|
|
6
|
+
CalendarCell,
|
|
7
|
+
CalendarCellTrigger,
|
|
8
|
+
CalendarGrid,
|
|
9
|
+
CalendarGridBody,
|
|
10
|
+
CalendarGridHead,
|
|
11
|
+
CalendarGridRow,
|
|
12
|
+
CalendarHeadCell,
|
|
13
|
+
CalendarHeader,
|
|
14
|
+
CalendarHeading,
|
|
15
|
+
CalendarNextButton,
|
|
16
|
+
CalendarPrevButton
|
|
17
|
+
} from ".";
|
|
6
18
|
const props = defineProps({
|
|
7
19
|
defaultValue: { type: null, required: false },
|
|
8
20
|
defaultPlaceholder: { type: null, required: false },
|
|
@@ -57,24 +69,23 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
57
69
|
<CalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
58
70
|
<CalendarGridHead>
|
|
59
71
|
<CalendarGridRow>
|
|
60
|
-
<CalendarHeadCell
|
|
61
|
-
v-for="day in weekDays" :key="day"
|
|
62
|
-
>
|
|
72
|
+
<CalendarHeadCell v-for="day in weekDays" :key="day">
|
|
63
73
|
{{ day }}
|
|
64
74
|
</CalendarHeadCell>
|
|
65
75
|
</CalendarGridRow>
|
|
66
76
|
</CalendarGridHead>
|
|
67
77
|
<CalendarGridBody>
|
|
68
|
-
<CalendarGridRow
|
|
78
|
+
<CalendarGridRow
|
|
79
|
+
v-for="(weekDates, index) in month.rows"
|
|
80
|
+
:key="`weekDate-${index}`"
|
|
81
|
+
class="mt-2 w-full"
|
|
82
|
+
>
|
|
69
83
|
<CalendarCell
|
|
70
84
|
v-for="weekDate in weekDates"
|
|
71
85
|
:key="weekDate.toString()"
|
|
72
86
|
:date="weekDate"
|
|
73
87
|
>
|
|
74
|
-
<CalendarCellTrigger
|
|
75
|
-
:day="weekDate"
|
|
76
|
-
:month="month.value"
|
|
77
|
-
/>
|
|
88
|
+
<CalendarCellTrigger :day="weekDate" :month="month.value" />
|
|
78
89
|
</CalendarCell>
|
|
79
90
|
</CalendarGridRow>
|
|
80
91
|
</CalendarGridBody>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { CalendarCell, useForwardProps } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
date: { type: null, required: true },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
@@ -15,7 +15,12 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
15
15
|
<template>
|
|
16
16
|
<CalendarCell
|
|
17
17
|
data-slot="calendar-cell"
|
|
18
|
-
:class="
|
|
18
|
+
:class="
|
|
19
|
+
cn(
|
|
20
|
+
'relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent',
|
|
21
|
+
props.class
|
|
22
|
+
)
|
|
23
|
+
"
|
|
19
24
|
v-bind="forwardedProps"
|
|
20
25
|
>
|
|
21
26
|
<slot />
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { CalendarCellTrigger, useForwardProps } from "reka-ui";
|
|
4
|
-
import
|
|
5
|
-
import { buttonVariants } from "
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
|
+
import { buttonVariants } from "../button";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
day: { type: null, required: true },
|
|
8
8
|
month: { type: null, required: true },
|
|
@@ -17,20 +17,22 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
17
17
|
<template>
|
|
18
18
|
<CalendarCellTrigger
|
|
19
19
|
data-slot="calendar-cell-trigger"
|
|
20
|
-
:class="
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
:class="
|
|
21
|
+
cn(
|
|
22
|
+
buttonVariants({ variant: 'ghost' }),
|
|
23
|
+
'size-8 p-0 font-normal aria-selected:opacity-100 cursor-default',
|
|
24
|
+
'[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground',
|
|
25
|
+
// Selected
|
|
26
|
+
'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
|
|
27
|
+
// Disabled
|
|
28
|
+
'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50',
|
|
29
|
+
// Unavailable
|
|
30
|
+
'data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through',
|
|
31
|
+
// Outside months
|
|
32
|
+
'data-[outside-view]:text-muted-foreground',
|
|
33
|
+
props.class
|
|
34
|
+
)
|
|
35
|
+
"
|
|
34
36
|
v-bind="forwardedProps"
|
|
35
37
|
>
|
|
36
38
|
<slot />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { CalendarGrid, useForwardProps } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import cn from "../../../utils/cn";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
asChild: { type: Boolean, required: false },
|
|
7
7
|
as: { type: null, required: false },
|