@matta-trade/ui 0.0.0-stage → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,430 @@
|
|
|
1
|
+
.prose:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
2
|
+
--tw-prose-body: var(--color-text-tertiary);
|
|
3
|
+
--tw-prose-headings: var(--color-text-primary);
|
|
4
|
+
--tw-prose-lead: var(--color-text-tertiary);
|
|
5
|
+
--tw-prose-links: var(--color-text-tertiary);
|
|
6
|
+
--tw-prose-bold: var(--color-text-primary);
|
|
7
|
+
--tw-prose-counters: var(--color-text-tertiary);
|
|
8
|
+
--tw-prose-bullets: var(--color-text-tertiary);
|
|
9
|
+
--tw-prose-hr: var(--color-border-secondary);
|
|
10
|
+
--tw-prose-quotes: var(--color-text-primary);
|
|
11
|
+
--tw-prose-quote-borders: var(--color-fg-brand-primary_alt);
|
|
12
|
+
--tw-prose-captions: var(--color-text-tertiary);
|
|
13
|
+
--tw-prose-code: var(--color-text-tertiary);
|
|
14
|
+
--tw-prose-pre-code: var(--color-text-tertiary);
|
|
15
|
+
--tw-prose-pre-bg: var(--color-bg-primary);
|
|
16
|
+
--tw-prose-th-borders: var(--color-border-primary);
|
|
17
|
+
--tw-prose-td-borders: var(--color-border-secondary);
|
|
18
|
+
|
|
19
|
+
/* Base */
|
|
20
|
+
color: var(--tw-prose-body);
|
|
21
|
+
font-size: var(--text-md);
|
|
22
|
+
line-height: var(--text-md--line-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.prose :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
26
|
+
/* Text */
|
|
27
|
+
&:where(p) {
|
|
28
|
+
margin-top: calc(var(--spacing) * 4);
|
|
29
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:where([class~="lead"]) {
|
|
33
|
+
font-size: var(--text-md);
|
|
34
|
+
line-height: var(--text-md--line-height);
|
|
35
|
+
margin-top: 1.2em;
|
|
36
|
+
margin-bottom: 1.2em;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Lists */
|
|
40
|
+
&:where(ol) {
|
|
41
|
+
list-style-type: decimal;
|
|
42
|
+
|
|
43
|
+
margin-top: calc(var(--spacing) * 4);
|
|
44
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
45
|
+
padding-inline-start: calc(var(--spacing) * 5.75);
|
|
46
|
+
}
|
|
47
|
+
&:where(ul) {
|
|
48
|
+
list-style-type: disc;
|
|
49
|
+
|
|
50
|
+
margin-top: calc(var(--spacing) * 4);
|
|
51
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
52
|
+
padding-inline-start: calc(var(--spacing) * 5.75);
|
|
53
|
+
}
|
|
54
|
+
&:where(li) {
|
|
55
|
+
margin-top: calc(var(--spacing) * 2);
|
|
56
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
57
|
+
}
|
|
58
|
+
&:where(ol > li) {
|
|
59
|
+
padding-inline-start: 1px;
|
|
60
|
+
margin-top: 0;
|
|
61
|
+
margin-bottom: 0;
|
|
62
|
+
}
|
|
63
|
+
&:where(ul > li) {
|
|
64
|
+
padding-inline-start: 1px;
|
|
65
|
+
margin-top: 0;
|
|
66
|
+
margin-bottom: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Horizontal rules */
|
|
70
|
+
&:where(hr) {
|
|
71
|
+
margin-top: calc(var(--spacing) * 8);
|
|
72
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Quotes */
|
|
76
|
+
&:where(blockquote) {
|
|
77
|
+
color: var(--tw-prose-quotes);
|
|
78
|
+
|
|
79
|
+
border-left-width: 2px;
|
|
80
|
+
border-left-color: var(--tw-prose-quote-borders);
|
|
81
|
+
|
|
82
|
+
padding-inline-start: 0;
|
|
83
|
+
margin-top: calc(var(--spacing) * 10);
|
|
84
|
+
margin-bottom: calc(var(--spacing) * 10);
|
|
85
|
+
}
|
|
86
|
+
&:where(blockquote p) {
|
|
87
|
+
margin: 0;
|
|
88
|
+
font-weight: 500;
|
|
89
|
+
font-style: italic;
|
|
90
|
+
|
|
91
|
+
font-size: var(--text-xl);
|
|
92
|
+
line-height: var(--text-xl--line-height);
|
|
93
|
+
}
|
|
94
|
+
&:where(blockquote p:first-of-type::before) {
|
|
95
|
+
content: open-quote;
|
|
96
|
+
}
|
|
97
|
+
&:where(blockquote p:last-of-type::after) {
|
|
98
|
+
content: close-quote;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Headings */
|
|
102
|
+
&:where(h1) {
|
|
103
|
+
color: var(--tw-prose-headings);
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
|
|
106
|
+
font-size: var(--text-display-sm);
|
|
107
|
+
line-height: var(--text-display-sm--line-height);
|
|
108
|
+
margin-bottom: calc(var(--spacing) * 5);
|
|
109
|
+
margin-top: calc(var(--spacing) * 10);
|
|
110
|
+
}
|
|
111
|
+
&:where(h2) {
|
|
112
|
+
color: var(--tw-prose-headings);
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
|
|
115
|
+
font-size: var(--text-display-xs);
|
|
116
|
+
line-height: var(--text-display-xs--line-height);
|
|
117
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
118
|
+
margin-top: calc(var(--spacing) * 8);
|
|
119
|
+
}
|
|
120
|
+
&:where(h3) {
|
|
121
|
+
color: var(--tw-prose-headings);
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
|
|
124
|
+
font-size: var(--text-xl);
|
|
125
|
+
line-height: var(--text-xl--line-height);
|
|
126
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
127
|
+
margin-top: calc(var(--spacing) * 8);
|
|
128
|
+
}
|
|
129
|
+
&:where(h4) {
|
|
130
|
+
color: var(--tw-prose-headings);
|
|
131
|
+
font-weight: 600;
|
|
132
|
+
|
|
133
|
+
font-size: var(--text-lg);
|
|
134
|
+
line-height: var(--text-lg--line-height);
|
|
135
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
136
|
+
margin-top: calc(var(--spacing) * 5);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:where(h2 + *) {
|
|
140
|
+
margin-top: 0;
|
|
141
|
+
}
|
|
142
|
+
&:where(h3 + *) {
|
|
143
|
+
margin-top: 0;
|
|
144
|
+
}
|
|
145
|
+
&:where(h4 + *) {
|
|
146
|
+
margin-top: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:where(h1 strong) {
|
|
150
|
+
font-weight: 900;
|
|
151
|
+
color: inherit;
|
|
152
|
+
}
|
|
153
|
+
&:where(h2 strong) {
|
|
154
|
+
font-weight: 800;
|
|
155
|
+
color: inherit;
|
|
156
|
+
}
|
|
157
|
+
&:where(h3 strong) {
|
|
158
|
+
font-weight: 700;
|
|
159
|
+
color: inherit;
|
|
160
|
+
}
|
|
161
|
+
&:where(h4 strong) {
|
|
162
|
+
font-weight: 700;
|
|
163
|
+
color: inherit;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* Media */
|
|
167
|
+
|
|
168
|
+
&:where(img) {
|
|
169
|
+
border-radius: var(--radius-xl);
|
|
170
|
+
width: 100%;
|
|
171
|
+
object-fit: cover;
|
|
172
|
+
|
|
173
|
+
margin-top: calc(var(--spacing) * 8);
|
|
174
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
175
|
+
}
|
|
176
|
+
&:where(video) {
|
|
177
|
+
margin-top: calc(var(--spacing) * 8);
|
|
178
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
179
|
+
}
|
|
180
|
+
&:where(figure) {
|
|
181
|
+
margin-top: calc(var(--spacing) * 10);
|
|
182
|
+
margin-bottom: calc(var(--spacing) * 10);
|
|
183
|
+
}
|
|
184
|
+
&:where(figure > *) {
|
|
185
|
+
margin-top: 0;
|
|
186
|
+
margin-bottom: 0;
|
|
187
|
+
}
|
|
188
|
+
&:where(figure:has(> blockquote)) {
|
|
189
|
+
border-left-width: 2px;
|
|
190
|
+
border-left-color: var(--tw-prose-quote-borders);
|
|
191
|
+
padding-top: calc(var(--spacing) * 2);
|
|
192
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
193
|
+
|
|
194
|
+
padding-inline-start: calc(var(--spacing) * 4);
|
|
195
|
+
}
|
|
196
|
+
&:where(figure:has(> blockquote) blockquote) {
|
|
197
|
+
padding-inline-start: 0;
|
|
198
|
+
border: none;
|
|
199
|
+
}
|
|
200
|
+
&:where(img + figcaption) {
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
gap: calc(var(--spacing) * 1.5);
|
|
204
|
+
}
|
|
205
|
+
&:where(figcaption) {
|
|
206
|
+
color: var(--tw-prose-captions);
|
|
207
|
+
|
|
208
|
+
font-size: var(--text-sm);
|
|
209
|
+
line-height: var(--text-sm--line-height);
|
|
210
|
+
margin-top: calc(var(--spacing) * 3);
|
|
211
|
+
}
|
|
212
|
+
&:where(cite) {
|
|
213
|
+
font-style: normal;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Inline elements */
|
|
217
|
+
&:where(a:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a)) {
|
|
218
|
+
font-weight: 400;
|
|
219
|
+
text-decoration: underline;
|
|
220
|
+
text-underline-offset: 3px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&:where(a:focus-visible) {
|
|
224
|
+
border-radius: var(--radius-sm);
|
|
225
|
+
outline: 2px solid var(--color-focus-ring);
|
|
226
|
+
outline-offset: 2px;
|
|
227
|
+
}
|
|
228
|
+
&:where(:is(h1, h2, h3) a) {
|
|
229
|
+
color: var(--tw-prose-headings);
|
|
230
|
+
font-weight: inherit;
|
|
231
|
+
text-decoration: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* Inline code element */
|
|
235
|
+
&:where(code:not(pre code)) {
|
|
236
|
+
font-size: 0.875rem;
|
|
237
|
+
line-height: 1.25rem;
|
|
238
|
+
font-weight: 700;
|
|
239
|
+
border-radius: 6px;
|
|
240
|
+
padding: calc(var(--spacing) * 0.5) calc(var(--spacing) * 1.5);
|
|
241
|
+
margin: calc(var(--spacing) * -0.5) 0px;
|
|
242
|
+
background: var(--color-bg-secondary);
|
|
243
|
+
box-shadow: 0 0 0 1px var(--color-border-secondary);
|
|
244
|
+
|
|
245
|
+
&::before,
|
|
246
|
+
&::after {
|
|
247
|
+
content: "";
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.prose.prose-centered-quote :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
253
|
+
&:where(blockquote) {
|
|
254
|
+
padding-inline-start: 0px !important;
|
|
255
|
+
border-left: none;
|
|
256
|
+
text-align: center;
|
|
257
|
+
}
|
|
258
|
+
&:where(figure:has(> blockquote)) {
|
|
259
|
+
border-left: none;
|
|
260
|
+
padding-inline-start: 0px !important;
|
|
261
|
+
padding-top: 0px !important;
|
|
262
|
+
padding-bottom: 0px !important;
|
|
263
|
+
text-align: center;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.prose.prose-minimal-quote :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
268
|
+
&:where(blockquote) {
|
|
269
|
+
border-left: none;
|
|
270
|
+
padding-inline-start: 0px !important;
|
|
271
|
+
}
|
|
272
|
+
&:where(figure:has(> blockquote)) {
|
|
273
|
+
border-left: none;
|
|
274
|
+
padding-inline-start: 0px !important;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.prose.md\:prose-lg:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
279
|
+
@media (width >= 48rem /* 768px */) {
|
|
280
|
+
/* Base */
|
|
281
|
+
font-size: var(--text-lg);
|
|
282
|
+
line-height: var(--text-lg--line-height);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.prose.md\:prose-lg :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
287
|
+
@media (width >= 48rem /* 768px */) {
|
|
288
|
+
/* Text */
|
|
289
|
+
&:where(p) {
|
|
290
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
291
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
&:where([class~="lead"]) {
|
|
295
|
+
font-size: var(--text-xl);
|
|
296
|
+
line-height: var(--text-xl--line-height);
|
|
297
|
+
margin-top: 1.09em;
|
|
298
|
+
margin-bottom: 1.09em;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Lists */
|
|
302
|
+
&:where(ol) {
|
|
303
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
304
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
305
|
+
padding-inline-start: calc(var(--spacing) * 6.5);
|
|
306
|
+
}
|
|
307
|
+
&:where(ul) {
|
|
308
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
309
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
310
|
+
padding-inline-start: calc(var(--spacing) * 6.5);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&:where(ol > li) {
|
|
314
|
+
padding-inline-start: 1px;
|
|
315
|
+
margin-top: 0;
|
|
316
|
+
margin-bottom: 0;
|
|
317
|
+
}
|
|
318
|
+
&:where(ul > li) {
|
|
319
|
+
padding-inline-start: 1px;
|
|
320
|
+
margin-top: 0;
|
|
321
|
+
margin-bottom: 0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Horizontal rules */
|
|
325
|
+
&:where(hr) {
|
|
326
|
+
margin-top: calc(var(--spacing) * 8);
|
|
327
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* Quotes */
|
|
331
|
+
&:where(blockquote) {
|
|
332
|
+
padding-inline-start: 0;
|
|
333
|
+
margin-top: calc(var(--spacing) * 12);
|
|
334
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
335
|
+
}
|
|
336
|
+
&:where(blockquote p) {
|
|
337
|
+
margin: 0;
|
|
338
|
+
|
|
339
|
+
font-size: var(--text-display-xs);
|
|
340
|
+
line-height: var(--text-display-xs--line-height);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* Headings */
|
|
344
|
+
&:where(h1) {
|
|
345
|
+
font-size: var(--text-display-md);
|
|
346
|
+
line-height: var(--text-display-md--line-height);
|
|
347
|
+
margin-bottom: calc(var(--spacing) * 6);
|
|
348
|
+
margin-top: calc(var(--spacing) * 12);
|
|
349
|
+
}
|
|
350
|
+
&:where(h2) {
|
|
351
|
+
font-size: var(--text-display-sm);
|
|
352
|
+
line-height: var(--text-display-sm--line-height);
|
|
353
|
+
margin-bottom: calc(var(--spacing) * 5);
|
|
354
|
+
margin-top: calc(var(--spacing) * 10);
|
|
355
|
+
}
|
|
356
|
+
&:where(h3) {
|
|
357
|
+
font-size: var(--text-display-xs);
|
|
358
|
+
line-height: var(--text-display-xs--line-height);
|
|
359
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
360
|
+
margin-top: calc(var(--spacing) * 8);
|
|
361
|
+
}
|
|
362
|
+
&:where(h4) {
|
|
363
|
+
font-size: var(--text-xl);
|
|
364
|
+
line-height: var(--text-xl--line-height);
|
|
365
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
366
|
+
margin-top: calc(var(--spacing) * 8);
|
|
367
|
+
}
|
|
368
|
+
&:where(h2 + *) {
|
|
369
|
+
margin-top: 0;
|
|
370
|
+
}
|
|
371
|
+
&:where(h3 + *) {
|
|
372
|
+
margin-top: 0;
|
|
373
|
+
}
|
|
374
|
+
&:where(h4 + *) {
|
|
375
|
+
margin-top: 0;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&:where(figure) {
|
|
379
|
+
margin-top: calc(var(--spacing) * 12);
|
|
380
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
381
|
+
}
|
|
382
|
+
&:where(figure > *) {
|
|
383
|
+
margin-top: 0;
|
|
384
|
+
margin-bottom: 0;
|
|
385
|
+
}
|
|
386
|
+
&:where(figure:has(> blockquote)) {
|
|
387
|
+
padding-inline-start: calc(var(--spacing) * 5);
|
|
388
|
+
}
|
|
389
|
+
&:where(figure > blockquote + figcaption) {
|
|
390
|
+
font-size: var(--text-md);
|
|
391
|
+
line-height: var(--text-md--line-height);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
&:where(figcaption) {
|
|
395
|
+
margin-top: calc(var(--spacing) * 4);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Inline elements */
|
|
399
|
+
&:where(a:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a)) {
|
|
400
|
+
font-weight: 400;
|
|
401
|
+
text-decoration: underline;
|
|
402
|
+
text-underline-offset: 3px;
|
|
403
|
+
}
|
|
404
|
+
&:where(:is(h1, h2, h3) a) {
|
|
405
|
+
color: var(--tw-prose-headings);
|
|
406
|
+
font-weight: inherit;
|
|
407
|
+
text-decoration: none;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* Inline code element */
|
|
411
|
+
&:where(code:not(pre code)) {
|
|
412
|
+
font-size: 0.875rem;
|
|
413
|
+
line-height: 1.25rem;
|
|
414
|
+
font-weight: 700;
|
|
415
|
+
border-radius: 6px;
|
|
416
|
+
padding: calc(var(--spacing) * 0.5) calc(var(--spacing) * 1.5);
|
|
417
|
+
margin: calc(var(--spacing) * -0.5) 0px;
|
|
418
|
+
background: var(--color-bg-secondary);
|
|
419
|
+
box-shadow: 0 0 0 1px var(--color-border-secondary);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* Remove top margin from first element */
|
|
425
|
+
.prose > :first-child:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
426
|
+
margin-top: 0;
|
|
427
|
+
}
|
|
428
|
+
.prose > :last-child:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
429
|
+
margin-bottom: 0;
|
|
430
|
+
}
|