@polymarbot/nuxt-layer-shadcn-ui 0.1.0
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/app/assets/styles/animate.css +71 -0
- package/app/assets/styles/colors.css +116 -0
- package/app/assets/styles/globals.css +43 -0
- package/app/assets/styles/index.stories.ts +211 -0
- package/app/assets/styles/transition.css +34 -0
- package/app/assets/styles/utilities.css +26 -0
- package/app/components/shadcn/accordion/Accordion.vue +18 -0
- package/app/components/shadcn/accordion/AccordionContent.vue +23 -0
- package/app/components/shadcn/accordion/AccordionItem.vue +24 -0
- package/app/components/shadcn/accordion/AccordionTrigger.vue +37 -0
- package/app/components/shadcn/accordion/index.ts +4 -0
- package/app/components/shadcn/alert/Alert.vue +21 -0
- package/app/components/shadcn/alert/AlertDescription.vue +17 -0
- package/app/components/shadcn/alert/AlertTitle.vue +17 -0
- package/app/components/shadcn/alert/index.ts +24 -0
- package/app/components/shadcn/avatar/Avatar.vue +18 -0
- package/app/components/shadcn/avatar/AvatarFallback.vue +21 -0
- package/app/components/shadcn/avatar/AvatarImage.vue +16 -0
- package/app/components/shadcn/avatar/index.ts +3 -0
- package/app/components/shadcn/badge/Badge.vue +26 -0
- package/app/components/shadcn/badge/index.ts +26 -0
- package/app/components/shadcn/breadcrumb/Breadcrumb.vue +17 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbItem.vue +17 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbLink.vue +21 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbList.vue +17 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbPage.vue +20 -0
- package/app/components/shadcn/breadcrumb/BreadcrumbSeparator.vue +22 -0
- package/app/components/shadcn/breadcrumb/index.ts +7 -0
- package/app/components/shadcn/button/Button.vue +31 -0
- package/app/components/shadcn/button/index.ts +38 -0
- package/app/components/shadcn/card/Card.vue +22 -0
- package/app/components/shadcn/card/CardAction.vue +17 -0
- package/app/components/shadcn/card/CardContent.vue +17 -0
- package/app/components/shadcn/card/CardDescription.vue +17 -0
- package/app/components/shadcn/card/CardFooter.vue +17 -0
- package/app/components/shadcn/card/CardHeader.vue +17 -0
- package/app/components/shadcn/card/CardTitle.vue +17 -0
- package/app/components/shadcn/card/index.ts +7 -0
- package/app/components/shadcn/checkbox/Checkbox.vue +35 -0
- package/app/components/shadcn/checkbox/index.ts +1 -0
- package/app/components/shadcn/collapsible/Collapsible.vue +19 -0
- package/app/components/shadcn/collapsible/CollapsibleContent.vue +15 -0
- package/app/components/shadcn/collapsible/CollapsibleTrigger.vue +15 -0
- package/app/components/shadcn/collapsible/index.ts +3 -0
- package/app/components/shadcn/command/Command.vue +87 -0
- package/app/components/shadcn/command/CommandDialog.vue +31 -0
- package/app/components/shadcn/command/CommandEmpty.vue +27 -0
- package/app/components/shadcn/command/CommandGroup.vue +45 -0
- package/app/components/shadcn/command/CommandInput.vue +39 -0
- package/app/components/shadcn/command/CommandItem.vue +76 -0
- package/app/components/shadcn/command/CommandList.vue +25 -0
- package/app/components/shadcn/command/CommandSeparator.vue +21 -0
- package/app/components/shadcn/command/CommandShortcut.vue +17 -0
- package/app/components/shadcn/command/index.ts +25 -0
- package/app/components/shadcn/dialog/Dialog.vue +19 -0
- package/app/components/shadcn/dialog/DialogClose.vue +15 -0
- package/app/components/shadcn/dialog/DialogContent.vue +53 -0
- package/app/components/shadcn/dialog/DialogDescription.vue +23 -0
- package/app/components/shadcn/dialog/DialogFooter.vue +27 -0
- package/app/components/shadcn/dialog/DialogHeader.vue +17 -0
- package/app/components/shadcn/dialog/DialogOverlay.vue +21 -0
- package/app/components/shadcn/dialog/DialogScrollContent.vue +59 -0
- package/app/components/shadcn/dialog/DialogTitle.vue +23 -0
- package/app/components/shadcn/dialog/DialogTrigger.vue +15 -0
- package/app/components/shadcn/dialog/index.ts +10 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenu.vue +19 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuContent.vue +39 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuSeparator.vue +23 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/app/components/shadcn/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/app/components/shadcn/dropdown-menu/index.ts +16 -0
- package/app/components/shadcn/field/Field.vue +25 -0
- package/app/components/shadcn/field/FieldContent.vue +20 -0
- package/app/components/shadcn/field/FieldDescription.vue +22 -0
- package/app/components/shadcn/field/FieldError.vue +53 -0
- package/app/components/shadcn/field/FieldGroup.vue +20 -0
- package/app/components/shadcn/field/FieldLabel.vue +23 -0
- package/app/components/shadcn/field/FieldLegend.vue +24 -0
- package/app/components/shadcn/field/FieldSeparator.vue +29 -0
- package/app/components/shadcn/field/FieldSet.vue +21 -0
- package/app/components/shadcn/field/FieldTitle.vue +20 -0
- package/app/components/shadcn/field/index.ts +39 -0
- package/app/components/shadcn/input/Input.vue +33 -0
- package/app/components/shadcn/input/index.ts +1 -0
- package/app/components/shadcn/input-group/InputGroup.vue +35 -0
- package/app/components/shadcn/input-group/InputGroupAddon.vue +36 -0
- package/app/components/shadcn/input-group/InputGroupButton.vue +29 -0
- package/app/components/shadcn/input-group/InputGroupInput.vue +19 -0
- package/app/components/shadcn/input-group/InputGroupText.vue +19 -0
- package/app/components/shadcn/input-group/InputGroupTextarea.vue +19 -0
- package/app/components/shadcn/input-group/index.ts +51 -0
- package/app/components/shadcn/label/Label.vue +26 -0
- package/app/components/shadcn/label/index.ts +1 -0
- package/app/components/shadcn/number-field/NumberField.vue +20 -0
- package/app/components/shadcn/number-field/NumberFieldContent.vue +14 -0
- package/app/components/shadcn/number-field/NumberFieldDecrement.vue +22 -0
- package/app/components/shadcn/number-field/NumberFieldIncrement.vue +22 -0
- package/app/components/shadcn/number-field/NumberFieldInput.vue +16 -0
- package/app/components/shadcn/number-field/index.ts +5 -0
- package/app/components/shadcn/pagination/Pagination.vue +26 -0
- package/app/components/shadcn/pagination/PaginationContent.vue +22 -0
- package/app/components/shadcn/pagination/PaginationEllipsis.vue +25 -0
- package/app/components/shadcn/pagination/PaginationFirst.vue +33 -0
- package/app/components/shadcn/pagination/PaginationItem.vue +34 -0
- package/app/components/shadcn/pagination/PaginationLast.vue +33 -0
- package/app/components/shadcn/pagination/PaginationNext.vue +33 -0
- package/app/components/shadcn/pagination/PaginationPrevious.vue +33 -0
- package/app/components/shadcn/pagination/index.ts +8 -0
- package/app/components/shadcn/pin-input/PinInput.vue +26 -0
- package/app/components/shadcn/pin-input/PinInputGroup.vue +21 -0
- package/app/components/shadcn/pin-input/PinInputSeparator.vue +19 -0
- package/app/components/shadcn/pin-input/PinInputSlot.vue +21 -0
- package/app/components/shadcn/pin-input/index.ts +4 -0
- package/app/components/shadcn/popover/Popover.vue +19 -0
- package/app/components/shadcn/popover/PopoverAnchor.vue +15 -0
- package/app/components/shadcn/popover/PopoverContent.vue +45 -0
- package/app/components/shadcn/popover/PopoverTrigger.vue +15 -0
- package/app/components/shadcn/popover/index.ts +4 -0
- package/app/components/shadcn/progress/Progress.vue +38 -0
- package/app/components/shadcn/progress/index.ts +1 -0
- package/app/components/shadcn/radio-group/RadioGroup.vue +25 -0
- package/app/components/shadcn/radio-group/RadioGroupItem.vue +40 -0
- package/app/components/shadcn/radio-group/index.ts +2 -0
- package/app/components/shadcn/scroll-area/ScrollArea.vue +33 -0
- package/app/components/shadcn/scroll-area/ScrollBar.vue +32 -0
- package/app/components/shadcn/scroll-area/index.ts +2 -0
- package/app/components/shadcn/select/Select.vue +19 -0
- package/app/components/shadcn/select/SelectContent.vue +51 -0
- package/app/components/shadcn/select/SelectGroup.vue +15 -0
- package/app/components/shadcn/select/SelectItem.vue +44 -0
- package/app/components/shadcn/select/SelectItemText.vue +15 -0
- package/app/components/shadcn/select/SelectLabel.vue +17 -0
- package/app/components/shadcn/select/SelectScrollDownButton.vue +26 -0
- package/app/components/shadcn/select/SelectScrollUpButton.vue +26 -0
- package/app/components/shadcn/select/SelectSeparator.vue +19 -0
- package/app/components/shadcn/select/SelectTrigger.vue +33 -0
- package/app/components/shadcn/select/SelectValue.vue +15 -0
- package/app/components/shadcn/select/index.ts +11 -0
- package/app/components/shadcn/separator/Separator.vue +29 -0
- package/app/components/shadcn/separator/index.ts +1 -0
- package/app/components/shadcn/sheet/Sheet.vue +19 -0
- package/app/components/shadcn/sheet/SheetClose.vue +15 -0
- package/app/components/shadcn/sheet/SheetContent.vue +62 -0
- package/app/components/shadcn/sheet/SheetDescription.vue +21 -0
- package/app/components/shadcn/sheet/SheetFooter.vue +16 -0
- package/app/components/shadcn/sheet/SheetHeader.vue +15 -0
- package/app/components/shadcn/sheet/SheetOverlay.vue +21 -0
- package/app/components/shadcn/sheet/SheetTitle.vue +21 -0
- package/app/components/shadcn/sheet/SheetTrigger.vue +15 -0
- package/app/components/shadcn/sheet/index.ts +8 -0
- package/app/components/shadcn/sidebar/Sidebar.vue +96 -0
- package/app/components/shadcn/sidebar/SidebarContent.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarFooter.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarGroup.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarGroupAction.vue +27 -0
- package/app/components/shadcn/sidebar/SidebarGroupContent.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarGroupLabel.vue +25 -0
- package/app/components/shadcn/sidebar/SidebarHeader.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarInput.vue +22 -0
- package/app/components/shadcn/sidebar/SidebarInset.vue +21 -0
- package/app/components/shadcn/sidebar/SidebarMenu.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarMenuAction.vue +35 -0
- package/app/components/shadcn/sidebar/SidebarMenuBadge.vue +26 -0
- package/app/components/shadcn/sidebar/SidebarMenuButton.vue +48 -0
- package/app/components/shadcn/sidebar/SidebarMenuButtonChild.vue +36 -0
- package/app/components/shadcn/sidebar/SidebarMenuItem.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarMenuSkeleton.vue +35 -0
- package/app/components/shadcn/sidebar/SidebarMenuSub.vue +22 -0
- package/app/components/shadcn/sidebar/SidebarMenuSubButton.vue +36 -0
- package/app/components/shadcn/sidebar/SidebarMenuSubItem.vue +18 -0
- package/app/components/shadcn/sidebar/SidebarProvider.vue +82 -0
- package/app/components/shadcn/sidebar/SidebarRail.vue +33 -0
- package/app/components/shadcn/sidebar/SidebarSeparator.vue +19 -0
- package/app/components/shadcn/sidebar/SidebarTrigger.vue +27 -0
- package/app/components/shadcn/sidebar/index.ts +60 -0
- package/app/components/shadcn/sidebar/utils.ts +19 -0
- package/app/components/shadcn/skeleton/Skeleton.vue +17 -0
- package/app/components/shadcn/skeleton/index.ts +1 -0
- package/app/components/shadcn/slider/Slider.vue +43 -0
- package/app/components/shadcn/slider/index.ts +1 -0
- package/app/components/shadcn/sonner/Sonner.vue +42 -0
- package/app/components/shadcn/sonner/index.ts +1 -0
- package/app/components/shadcn/switch/Switch.vue +38 -0
- package/app/components/shadcn/switch/index.ts +1 -0
- package/app/components/shadcn/table/Table.vue +16 -0
- package/app/components/shadcn/table/TableBody.vue +17 -0
- package/app/components/shadcn/table/TableCaption.vue +17 -0
- package/app/components/shadcn/table/TableCell.vue +22 -0
- package/app/components/shadcn/table/TableEmpty.vue +34 -0
- package/app/components/shadcn/table/TableFooter.vue +17 -0
- package/app/components/shadcn/table/TableHead.vue +17 -0
- package/app/components/shadcn/table/TableHeader.vue +17 -0
- package/app/components/shadcn/table/TableRow.vue +17 -0
- package/app/components/shadcn/table/index.ts +9 -0
- package/app/components/shadcn/table/utils.ts +10 -0
- package/app/components/shadcn/tabs/Tabs.vue +24 -0
- package/app/components/shadcn/tabs/TabsContent.vue +21 -0
- package/app/components/shadcn/tabs/TabsList.vue +24 -0
- package/app/components/shadcn/tabs/TabsTrigger.vue +26 -0
- package/app/components/shadcn/tabs/index.ts +4 -0
- package/app/components/shadcn/textarea/Textarea.vue +28 -0
- package/app/components/shadcn/textarea/index.ts +1 -0
- package/app/components/shadcn/toggle/Toggle.vue +35 -0
- package/app/components/shadcn/toggle/index.ts +28 -0
- package/app/components/shadcn/toggle-group/ToggleGroup.vue +49 -0
- package/app/components/shadcn/toggle-group/ToggleGroupItem.vue +46 -0
- package/app/components/shadcn/toggle-group/index.ts +2 -0
- package/app/components/shadcn/tooltip/Tooltip.vue +19 -0
- package/app/components/shadcn/tooltip/TooltipContent.vue +34 -0
- package/app/components/shadcn/tooltip/TooltipProvider.vue +14 -0
- package/app/components/shadcn/tooltip/TooltipTrigger.vue +15 -0
- package/app/components/shadcn/tooltip/index.ts +4 -0
- package/app/components/ui/Accordion/index.stories.ts +108 -0
- package/app/components/ui/Accordion/index.vue +80 -0
- package/app/components/ui/Accordion/types.ts +27 -0
- package/app/components/ui/Alert/index.stories.ts +53 -0
- package/app/components/ui/Alert/index.vue +61 -0
- package/app/components/ui/Alert/types.ts +9 -0
- package/app/components/ui/AlertDialog/index.stories.ts +108 -0
- package/app/components/ui/AlertDialog/index.vue +25 -0
- package/app/components/ui/AsyncDataTable/en.json +3 -0
- package/app/components/ui/AsyncDataTable/index.stories.ts +141 -0
- package/app/components/ui/AsyncDataTable/index.vue +312 -0
- package/app/components/ui/AsyncDataTable/types.ts +53 -0
- package/app/components/ui/Avatar/index.stories.ts +84 -0
- package/app/components/ui/Avatar/index.vue +52 -0
- package/app/components/ui/Avatar/types.ts +8 -0
- package/app/components/ui/Badge/index.stories.ts +67 -0
- package/app/components/ui/Badge/index.vue +12 -0
- package/app/components/ui/Badge/types.ts +3 -0
- package/app/components/ui/Breadcrumb/index.stories.ts +52 -0
- package/app/components/ui/Breadcrumb/index.vue +61 -0
- package/app/components/ui/Breadcrumb/types.ts +11 -0
- package/app/components/ui/Button/index.stories.ts +145 -0
- package/app/components/ui/Button/index.vue +63 -0
- package/app/components/ui/Button/types.ts +14 -0
- package/app/components/ui/ButtonGroup/index.stories.ts +75 -0
- package/app/components/ui/ButtonGroup/index.vue +22 -0
- package/app/components/ui/ButtonGroup/types.ts +3 -0
- package/app/components/ui/Card/index.stories.ts +65 -0
- package/app/components/ui/Card/index.vue +28 -0
- package/app/components/ui/Card/types.ts +3 -0
- package/app/components/ui/Checkbox/index.stories.ts +68 -0
- package/app/components/ui/Checkbox/index.vue +23 -0
- package/app/components/ui/Checkbox/types.ts +3 -0
- package/app/components/ui/CopyButton/en.json +4 -0
- package/app/components/ui/CopyButton/index.stories.ts +55 -0
- package/app/components/ui/CopyButton/index.vue +98 -0
- package/app/components/ui/CopyButton/types.ts +10 -0
- package/app/components/ui/DataTable/en.json +3 -0
- package/app/components/ui/DataTable/index.stories.ts +231 -0
- package/app/components/ui/DataTable/index.vue +505 -0
- package/app/components/ui/DataTable/types.ts +42 -0
- package/app/components/ui/DatePicker/en.json +9 -0
- package/app/components/ui/DatePicker/index.stories.ts +70 -0
- package/app/components/ui/DatePicker/index.vue +127 -0
- package/app/components/ui/DatePicker/style.css +88 -0
- package/app/components/ui/DatePicker/types.ts +41 -0
- package/app/components/ui/DateRangePicker/en.json +5 -0
- package/app/components/ui/DateRangePicker/index.stories.ts +67 -0
- package/app/components/ui/DateRangePicker/index.vue +138 -0
- package/app/components/ui/DateRangePicker/types.ts +31 -0
- package/app/components/ui/Divider/index.stories.ts +42 -0
- package/app/components/ui/Divider/index.vue +16 -0
- package/app/components/ui/Divider/types.ts +3 -0
- package/app/components/ui/Drawer/index.stories.ts +124 -0
- package/app/components/ui/Drawer/index.vue +197 -0
- package/app/components/ui/Drawer/types.ts +22 -0
- package/app/components/ui/Dropdown/index.stories.ts +145 -0
- package/app/components/ui/Dropdown/index.vue +258 -0
- package/app/components/ui/Dropdown/types.ts +87 -0
- package/app/components/ui/FormItem/index.stories.ts +70 -0
- package/app/components/ui/FormItem/index.vue +56 -0
- package/app/components/ui/FormItem/types.ts +14 -0
- package/app/components/ui/Help/index.stories.ts +54 -0
- package/app/components/ui/Help/index.vue +35 -0
- package/app/components/ui/Help/types.ts +8 -0
- package/app/components/ui/Icon/index.stories.ts +68 -0
- package/app/components/ui/Icon/index.vue +30 -0
- package/app/components/ui/Icon/types.ts +5 -0
- package/app/components/ui/Input/index.stories.ts +73 -0
- package/app/components/ui/Input/index.vue +92 -0
- package/app/components/ui/Input/types.ts +9 -0
- package/app/components/ui/InputCurrency/index.stories.ts +75 -0
- package/app/components/ui/InputCurrency/index.vue +31 -0
- package/app/components/ui/InputCurrency/types.ts +4 -0
- package/app/components/ui/InputNumber/index.stories.ts +56 -0
- package/app/components/ui/InputNumber/index.vue +76 -0
- package/app/components/ui/InputNumber/types.ts +10 -0
- package/app/components/ui/InputOtp/index.stories.ts +39 -0
- package/app/components/ui/InputOtp/index.vue +45 -0
- package/app/components/ui/InputOtp/types.ts +5 -0
- package/app/components/ui/InputPercent/index.stories.ts +32 -0
- package/app/components/ui/InputPercent/index.vue +8 -0
- package/app/components/ui/InputRange/index.stories.ts +37 -0
- package/app/components/ui/InputRange/index.vue +49 -0
- package/app/components/ui/InputRange/types.ts +8 -0
- package/app/components/ui/Loading/index.stories.ts +36 -0
- package/app/components/ui/Loading/index.vue +15 -0
- package/app/components/ui/Loading/types.ts +3 -0
- package/app/components/ui/Markdown/index.stories.ts +52 -0
- package/app/components/ui/Markdown/index.vue +22 -0
- package/app/components/ui/Markdown/themes/github.css +1248 -0
- package/app/components/ui/Markdown/types.ts +3 -0
- package/app/components/ui/Modal/index.stories.ts +124 -0
- package/app/components/ui/Modal/index.vue +202 -0
- package/app/components/ui/Modal/types.ts +23 -0
- package/app/components/ui/ModalContent/index.stories.ts +47 -0
- package/app/components/ui/ModalContent/index.vue +79 -0
- package/app/components/ui/ModalContent/types.ts +9 -0
- package/app/components/ui/PageCard/index.stories.ts +106 -0
- package/app/components/ui/PageCard/index.vue +135 -0
- package/app/components/ui/PageCard/types.ts +16 -0
- package/app/components/ui/Pagination/en.json +3 -0
- package/app/components/ui/Pagination/index.stories.ts +82 -0
- package/app/components/ui/Pagination/index.vue +173 -0
- package/app/components/ui/Pagination/types.ts +18 -0
- package/app/components/ui/Popover/index.stories.ts +67 -0
- package/app/components/ui/Popover/index.vue +21 -0
- package/app/components/ui/Popover/types.ts +5 -0
- package/app/components/ui/Qrcode/index.stories.ts +57 -0
- package/app/components/ui/Qrcode/index.vue +40 -0
- package/app/components/ui/Qrcode/types.ts +3 -0
- package/app/components/ui/Radio/index.stories.ts +71 -0
- package/app/components/ui/Radio/index.vue +10 -0
- package/app/components/ui/Radio/types.ts +3 -0
- package/app/components/ui/RadioCardGroup/index.stories.ts +90 -0
- package/app/components/ui/RadioCardGroup/index.vue +64 -0
- package/app/components/ui/RadioCardGroup/types.ts +13 -0
- package/app/components/ui/ScrollArea/index.stories.ts +66 -0
- package/app/components/ui/ScrollArea/index.vue +64 -0
- package/app/components/ui/ScrollArea/types.ts +5 -0
- package/app/components/ui/SearchSelect/en.json +5 -0
- package/app/components/ui/SearchSelect/index.stories.ts +126 -0
- package/app/components/ui/SearchSelect/index.vue +259 -0
- package/app/components/ui/SearchSelect/types.ts +39 -0
- package/app/components/ui/Select/en.json +6 -0
- package/app/components/ui/Select/index.stories.ts +128 -0
- package/app/components/ui/Select/index.vue +267 -0
- package/app/components/ui/Select/types.ts +34 -0
- package/app/components/ui/Skeleton/index.stories.ts +56 -0
- package/app/components/ui/Skeleton/index.vue +12 -0
- package/app/components/ui/Skeleton/types.ts +4 -0
- package/app/components/ui/Slider/index.stories.ts +60 -0
- package/app/components/ui/Slider/index.vue +27 -0
- package/app/components/ui/Slider/types.ts +5 -0
- package/app/components/ui/Surface/index.stories.ts +50 -0
- package/app/components/ui/Surface/index.vue +108 -0
- package/app/components/ui/Surface/types.ts +8 -0
- package/app/components/ui/Switch/index.stories.ts +32 -0
- package/app/components/ui/Switch/index.vue +10 -0
- package/app/components/ui/Switch/types.ts +3 -0
- package/app/components/ui/Tabs/index.stories.ts +116 -0
- package/app/components/ui/Tabs/index.vue +94 -0
- package/app/components/ui/Tabs/types.ts +19 -0
- package/app/components/ui/Tag/index.stories.ts +51 -0
- package/app/components/ui/Tag/index.vue +108 -0
- package/app/components/ui/Tag/types.ts +8 -0
- package/app/components/ui/Textarea/index.stories.ts +35 -0
- package/app/components/ui/Textarea/index.vue +50 -0
- package/app/components/ui/Textarea/types.ts +8 -0
- package/app/components/ui/Toast/index.stories.ts +48 -0
- package/app/components/ui/Toast/index.vue +21 -0
- package/app/components/ui/Toast/types.ts +5 -0
- package/app/components/ui/Tooltip/index.stories.ts +62 -0
- package/app/components/ui/Tooltip/index.vue +72 -0
- package/app/components/ui/Tooltip/types.ts +7 -0
- package/app/components/ui/WebLink/index.stories.ts +59 -0
- package/app/components/ui/WebLink/index.vue +61 -0
- package/app/components/ui/WebLink/types.ts +11 -0
- package/app/composables/index.ts +9 -0
- package/app/composables/useDialog.ts +76 -0
- package/app/composables/useToast.ts +49 -0
- package/app/en.json +23 -0
- package/app/types/index.ts +7 -0
- package/app/utils/index.ts +6 -0
- package/i18n/messages/ar.json +65 -0
- package/i18n/messages/de.json +65 -0
- package/i18n/messages/en.json +65 -0
- package/i18n/messages/es.json +65 -0
- package/i18n/messages/fr.json +65 -0
- package/i18n/messages/hi.json +65 -0
- package/i18n/messages/id.json +65 -0
- package/i18n/messages/it.json +65 -0
- package/i18n/messages/ja.json +65 -0
- package/i18n/messages/ko.json +65 -0
- package/i18n/messages/nl.json +65 -0
- package/i18n/messages/pl.json +65 -0
- package/i18n/messages/pt.json +65 -0
- package/i18n/messages/ru.json +65 -0
- package/i18n/messages/th.json +65 -0
- package/i18n/messages/tr.json +65 -0
- package/i18n/messages/vi.json +65 -0
- package/i18n/messages/zh-CN.json +65 -0
- package/i18n/messages/zh-TW.json +65 -0
- package/i18n.config.ts +19 -0
- package/nuxt.config.ts +62 -0
- package/package.json +46 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import InputNumber from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/InputNumber',
|
|
6
|
+
component: InputNumber,
|
|
7
|
+
argTypes: {
|
|
8
|
+
disabled: { control: 'boolean' },
|
|
9
|
+
invalid: { control: 'boolean' },
|
|
10
|
+
showButtons: { control: 'boolean' },
|
|
11
|
+
},
|
|
12
|
+
args: {
|
|
13
|
+
disabled: false,
|
|
14
|
+
invalid: false,
|
|
15
|
+
showButtons: true,
|
|
16
|
+
},
|
|
17
|
+
} satisfies Meta<typeof InputNumber>
|
|
18
|
+
|
|
19
|
+
export default meta
|
|
20
|
+
type Story = StoryObj<typeof meta>
|
|
21
|
+
|
|
22
|
+
export const Default: Story = {
|
|
23
|
+
render: args => ({
|
|
24
|
+
components: { InputNumber },
|
|
25
|
+
setup () {
|
|
26
|
+
const basic = ref(0)
|
|
27
|
+
const minMax = ref(5)
|
|
28
|
+
const stepped = ref(0)
|
|
29
|
+
return { args, basic, minMax, stepped }
|
|
30
|
+
},
|
|
31
|
+
template: `
|
|
32
|
+
<div class="space-y-10 max-w-xs">
|
|
33
|
+
<!-- Controlled -->
|
|
34
|
+
<section>
|
|
35
|
+
<h3 class="mb-4 text-lg font-medium">Controlled</h3>
|
|
36
|
+
<InputNumber v-model="basic" v-bind="args" />
|
|
37
|
+
<div class="mt-2 text-sm text-muted-foreground">Value: {{ basic }}</div>
|
|
38
|
+
</section>
|
|
39
|
+
|
|
40
|
+
<!-- With Min / Max -->
|
|
41
|
+
<section>
|
|
42
|
+
<h3 class="mb-4 text-lg font-medium">With Min / Max (0 - 10)</h3>
|
|
43
|
+
<InputNumber v-model="minMax" :min="0" :max="10" />
|
|
44
|
+
<div class="mt-2 text-sm text-muted-foreground">Value: {{ minMax }}</div>
|
|
45
|
+
</section>
|
|
46
|
+
|
|
47
|
+
<!-- Custom Step -->
|
|
48
|
+
<section>
|
|
49
|
+
<h3 class="mb-4 text-lg font-medium">Custom Step (5)</h3>
|
|
50
|
+
<InputNumber v-model="stepped" :step="5" />
|
|
51
|
+
<div class="mt-2 text-sm text-muted-foreground">Value: {{ stepped }}</div>
|
|
52
|
+
</section>
|
|
53
|
+
</div>
|
|
54
|
+
`,
|
|
55
|
+
}),
|
|
56
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
NumberField,
|
|
4
|
+
NumberFieldContent,
|
|
5
|
+
NumberFieldDecrement,
|
|
6
|
+
NumberFieldIncrement,
|
|
7
|
+
NumberFieldInput,
|
|
8
|
+
} from '@polymarbot/nuxt-layer-shadcn-ui/app/components/shadcn/number-field'
|
|
9
|
+
import type { InputNumberProps } from './types'
|
|
10
|
+
|
|
11
|
+
const props = withDefaults(defineProps<InputNumberProps>(), {
|
|
12
|
+
modelValue: undefined,
|
|
13
|
+
min: undefined,
|
|
14
|
+
max: undefined,
|
|
15
|
+
step: 1,
|
|
16
|
+
disabled: false,
|
|
17
|
+
showButtons: true,
|
|
18
|
+
placeholder: undefined,
|
|
19
|
+
invalid: false,
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
const emit = defineEmits<{
|
|
23
|
+
'update:modelValue': [value: number | undefined]
|
|
24
|
+
}>()
|
|
25
|
+
|
|
26
|
+
const model = computed({
|
|
27
|
+
get: () => props.modelValue,
|
|
28
|
+
set: value => emit('update:modelValue', value),
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
const contentClass = computed(() =>
|
|
32
|
+
cn(
|
|
33
|
+
`
|
|
34
|
+
flex h-9 items-center rounded-md border border-input shadow-xs
|
|
35
|
+
transition-[color,box-shadow]
|
|
36
|
+
dark:bg-input/30
|
|
37
|
+
`,
|
|
38
|
+
`
|
|
39
|
+
has-[[data-slot=input]:focus-visible]:border-ring
|
|
40
|
+
has-[[data-slot=input]:focus-visible]:ring-[3px]
|
|
41
|
+
has-[[data-slot=input]:focus-visible]:ring-ring/50
|
|
42
|
+
`,
|
|
43
|
+
props.invalid && `
|
|
44
|
+
border-destructive ring-destructive/20
|
|
45
|
+
dark:ring-destructive/40
|
|
46
|
+
`,
|
|
47
|
+
),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
const inputClass = 'flex-1 border-0 shadow-none focus-visible:ring-0 rounded-none'
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<template>
|
|
54
|
+
<NumberField
|
|
55
|
+
v-model="model"
|
|
56
|
+
:min="min"
|
|
57
|
+
:max="max"
|
|
58
|
+
:step="step"
|
|
59
|
+
:disabled="disabled"
|
|
60
|
+
>
|
|
61
|
+
<NumberFieldContent :class="contentClass">
|
|
62
|
+
<NumberFieldDecrement
|
|
63
|
+
v-if="showButtons"
|
|
64
|
+
class="cursor-pointer"
|
|
65
|
+
/>
|
|
66
|
+
<NumberFieldInput
|
|
67
|
+
:placeholder="placeholder"
|
|
68
|
+
:class="inputClass"
|
|
69
|
+
/>
|
|
70
|
+
<NumberFieldIncrement
|
|
71
|
+
v-if="showButtons"
|
|
72
|
+
class="cursor-pointer"
|
|
73
|
+
/>
|
|
74
|
+
</NumberFieldContent>
|
|
75
|
+
</NumberField>
|
|
76
|
+
</template>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import InputOtp from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/InputOtp',
|
|
6
|
+
component: InputOtp,
|
|
7
|
+
argTypes: {
|
|
8
|
+
disabled: { control: 'boolean' },
|
|
9
|
+
length: { control: 'number' },
|
|
10
|
+
},
|
|
11
|
+
args: {
|
|
12
|
+
disabled: false,
|
|
13
|
+
length: 6,
|
|
14
|
+
},
|
|
15
|
+
} satisfies Meta<typeof InputOtp>
|
|
16
|
+
|
|
17
|
+
export default meta
|
|
18
|
+
type Story = StoryObj<typeof meta>
|
|
19
|
+
|
|
20
|
+
export const Default: Story = {
|
|
21
|
+
render: args => ({
|
|
22
|
+
components: { InputOtp },
|
|
23
|
+
setup () {
|
|
24
|
+
const otp = ref('')
|
|
25
|
+
const completed = ref('')
|
|
26
|
+
function onComplete (value: string) {
|
|
27
|
+
completed.value = value
|
|
28
|
+
}
|
|
29
|
+
return { args, otp, completed, onComplete }
|
|
30
|
+
},
|
|
31
|
+
template: `
|
|
32
|
+
<div class="space-y-4">
|
|
33
|
+
<InputOtp v-model="otp" v-bind="args" @complete="onComplete" />
|
|
34
|
+
<div class="text-sm text-muted-foreground">Value: {{ otp }}</div>
|
|
35
|
+
<div v-if="completed" class="text-sm text-success">Completed: {{ completed }}</div>
|
|
36
|
+
</div>
|
|
37
|
+
`,
|
|
38
|
+
}),
|
|
39
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
PinInput,
|
|
4
|
+
PinInputGroup,
|
|
5
|
+
PinInputSlot,
|
|
6
|
+
} from '@polymarbot/nuxt-layer-shadcn-ui/app/components/shadcn/pin-input'
|
|
7
|
+
import type { InputOtpProps } from './types'
|
|
8
|
+
|
|
9
|
+
withDefaults(defineProps<InputOtpProps>(), {
|
|
10
|
+
modelValue: '',
|
|
11
|
+
length: 6,
|
|
12
|
+
disabled: false,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
const emit = defineEmits<{
|
|
16
|
+
'update:modelValue': [value: string]
|
|
17
|
+
'complete': [value: string]
|
|
18
|
+
}>()
|
|
19
|
+
|
|
20
|
+
function handleComplete (values: string[]) {
|
|
21
|
+
emit('complete', values.join(''))
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function handleUpdate (value: string[]) {
|
|
25
|
+
emit('update:modelValue', value.join(''))
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<PinInput
|
|
32
|
+
:modelValue="modelValue.split('')"
|
|
33
|
+
:disabled="disabled"
|
|
34
|
+
@update:modelValue="handleUpdate"
|
|
35
|
+
@complete="handleComplete"
|
|
36
|
+
>
|
|
37
|
+
<PinInputGroup>
|
|
38
|
+
<PinInputSlot
|
|
39
|
+
v-for="(_, index) in length"
|
|
40
|
+
:key="index"
|
|
41
|
+
:index="index"
|
|
42
|
+
/>
|
|
43
|
+
</PinInputGroup>
|
|
44
|
+
</PinInput>
|
|
45
|
+
</template>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import InputPercent from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/InputPercent',
|
|
6
|
+
component: InputPercent,
|
|
7
|
+
argTypes: {
|
|
8
|
+
disabled: { control: 'boolean' },
|
|
9
|
+
},
|
|
10
|
+
args: {
|
|
11
|
+
disabled: false,
|
|
12
|
+
},
|
|
13
|
+
} satisfies Meta
|
|
14
|
+
|
|
15
|
+
export default meta
|
|
16
|
+
type Story = StoryObj<typeof meta>
|
|
17
|
+
|
|
18
|
+
export const Default: Story = {
|
|
19
|
+
render: args => ({
|
|
20
|
+
components: { InputPercent },
|
|
21
|
+
setup () {
|
|
22
|
+
const percent = ref(0.5)
|
|
23
|
+
return { args, percent }
|
|
24
|
+
},
|
|
25
|
+
template: `
|
|
26
|
+
<div class="max-w-xs space-y-4">
|
|
27
|
+
<InputPercent v-model="percent" v-bind="args" />
|
|
28
|
+
<div class="text-sm text-muted-foreground">Value: {{ percent }}</div>
|
|
29
|
+
</div>
|
|
30
|
+
`,
|
|
31
|
+
}),
|
|
32
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import InputRange from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/InputRange',
|
|
6
|
+
component: InputRange,
|
|
7
|
+
argTypes: {
|
|
8
|
+
disabled: { control: 'boolean' },
|
|
9
|
+
min: { control: 'number' },
|
|
10
|
+
max: { control: 'number' },
|
|
11
|
+
},
|
|
12
|
+
args: {
|
|
13
|
+
disabled: false,
|
|
14
|
+
min: 0,
|
|
15
|
+
max: 100,
|
|
16
|
+
},
|
|
17
|
+
} satisfies Meta<typeof InputRange>
|
|
18
|
+
|
|
19
|
+
export default meta
|
|
20
|
+
type Story = StoryObj<typeof meta>
|
|
21
|
+
|
|
22
|
+
export const Default: Story = {
|
|
23
|
+
render: args => ({
|
|
24
|
+
components: { InputRange },
|
|
25
|
+
setup () {
|
|
26
|
+
const start = ref(20)
|
|
27
|
+
const end = ref(80)
|
|
28
|
+
return { args, start, end }
|
|
29
|
+
},
|
|
30
|
+
template: `
|
|
31
|
+
<div class="max-w-md">
|
|
32
|
+
<InputRange v-model:start="start" v-model:end="end" v-bind="args" />
|
|
33
|
+
<div class="mt-2 text-sm text-muted-foreground">Start: {{ start }}, End: {{ end }}</div>
|
|
34
|
+
</div>
|
|
35
|
+
`,
|
|
36
|
+
}),
|
|
37
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { InputRangeProps } from './types'
|
|
3
|
+
|
|
4
|
+
defineOptions({ inheritAttrs: false })
|
|
5
|
+
|
|
6
|
+
const props = withDefaults(defineProps<InputRangeProps>(), {
|
|
7
|
+
start: undefined,
|
|
8
|
+
end: undefined,
|
|
9
|
+
min: 0,
|
|
10
|
+
max: 100,
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
const emit = defineEmits<{
|
|
14
|
+
'update:start': [value: number | undefined]
|
|
15
|
+
'update:end': [value: number | undefined]
|
|
16
|
+
}>()
|
|
17
|
+
|
|
18
|
+
const start = computed({
|
|
19
|
+
get: () => props.start,
|
|
20
|
+
set: value => emit('update:start', value),
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
const end = computed({
|
|
24
|
+
get: () => props.end,
|
|
25
|
+
set: value => emit('update:end', value),
|
|
26
|
+
})
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<div class="flex items-center gap-2">
|
|
31
|
+
<InputNumber
|
|
32
|
+
v-model="start"
|
|
33
|
+
v-bind="$attrs"
|
|
34
|
+
:min="min"
|
|
35
|
+
:max="end ?? max"
|
|
36
|
+
fluid
|
|
37
|
+
/>
|
|
38
|
+
<span class="leading-0 text-muted-foreground">
|
|
39
|
+
-
|
|
40
|
+
</span>
|
|
41
|
+
<InputNumber
|
|
42
|
+
v-model="end"
|
|
43
|
+
v-bind="$attrs"
|
|
44
|
+
:min="start ?? min"
|
|
45
|
+
:max="max"
|
|
46
|
+
fluid
|
|
47
|
+
/>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import Loading from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/Loading',
|
|
6
|
+
component: Loading,
|
|
7
|
+
} satisfies Meta<typeof Loading>
|
|
8
|
+
|
|
9
|
+
export default meta
|
|
10
|
+
type Story = StoryObj<typeof meta>
|
|
11
|
+
|
|
12
|
+
export const Default: Story = {
|
|
13
|
+
render: args => ({
|
|
14
|
+
components: { Loading },
|
|
15
|
+
setup: () => ({ args }),
|
|
16
|
+
template: `
|
|
17
|
+
<div class="space-y-10">
|
|
18
|
+
<!-- Default -->
|
|
19
|
+
<section>
|
|
20
|
+
<h3 class="mb-4 text-lg font-medium">Default</h3>
|
|
21
|
+
<Loading />
|
|
22
|
+
</section>
|
|
23
|
+
|
|
24
|
+
<!-- Custom Size -->
|
|
25
|
+
<section>
|
|
26
|
+
<h3 class="mb-4 text-lg font-medium">Custom Size</h3>
|
|
27
|
+
<div class="flex items-end gap-6">
|
|
28
|
+
<Loading class="size-6" />
|
|
29
|
+
<Loading class="size-10" />
|
|
30
|
+
<Loading class="size-16" />
|
|
31
|
+
</div>
|
|
32
|
+
</section>
|
|
33
|
+
</div>
|
|
34
|
+
`,
|
|
35
|
+
}),
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { LoadingProps } from './types'
|
|
3
|
+
|
|
4
|
+
const props = defineProps<LoadingProps>()
|
|
5
|
+
const mergedClass = computed(() => cn(`
|
|
6
|
+
size-16 animate-spin text-muted-foreground
|
|
7
|
+
`, props.class))
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<Icon
|
|
12
|
+
name="loader-circle"
|
|
13
|
+
:class="mergedClass"
|
|
14
|
+
/>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
+
import Markdown from './index.vue'
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'UI/Markdown',
|
|
6
|
+
component: Markdown,
|
|
7
|
+
argTypes: {
|
|
8
|
+
hideTitle: { control: 'boolean' },
|
|
9
|
+
},
|
|
10
|
+
args: {
|
|
11
|
+
hideTitle: false,
|
|
12
|
+
},
|
|
13
|
+
} satisfies Meta<typeof Markdown>
|
|
14
|
+
|
|
15
|
+
export default meta
|
|
16
|
+
type Story = StoryObj<typeof meta>
|
|
17
|
+
|
|
18
|
+
export const Default: Story = {
|
|
19
|
+
render: args => ({
|
|
20
|
+
components: { Markdown },
|
|
21
|
+
setup () {
|
|
22
|
+
return { args }
|
|
23
|
+
},
|
|
24
|
+
template: `
|
|
25
|
+
<Markdown v-bind="args">
|
|
26
|
+
<h1>Document Title</h1>
|
|
27
|
+
<p>This is a paragraph with <strong>bold</strong> and <em>italic</em> text.</p>
|
|
28
|
+
<h2>Lists</h2>
|
|
29
|
+
<ul>
|
|
30
|
+
<li>First item</li>
|
|
31
|
+
<li>Second item</li>
|
|
32
|
+
<li>Third item with <a href="#">a link</a></li>
|
|
33
|
+
</ul>
|
|
34
|
+
<h2>Code</h2>
|
|
35
|
+
<pre><code>const greeting = 'Hello, world!'
|
|
36
|
+
console.log(greeting)</code></pre>
|
|
37
|
+
<h2>Blockquote</h2>
|
|
38
|
+
<blockquote><p>This is a blockquote with some important information.</p></blockquote>
|
|
39
|
+
<h2>Table</h2>
|
|
40
|
+
<table>
|
|
41
|
+
<thead>
|
|
42
|
+
<tr><th>Name</th><th>Status</th></tr>
|
|
43
|
+
</thead>
|
|
44
|
+
<tbody>
|
|
45
|
+
<tr><td>Alpha</td><td>Active</td></tr>
|
|
46
|
+
<tr><td>Beta</td><td>Inactive</td></tr>
|
|
47
|
+
</tbody>
|
|
48
|
+
</table>
|
|
49
|
+
</Markdown>
|
|
50
|
+
`,
|
|
51
|
+
}),
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { MarkdownProps } from './types'
|
|
3
|
+
|
|
4
|
+
defineProps<MarkdownProps>()
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<div
|
|
9
|
+
class="markdown-body"
|
|
10
|
+
:class="{ 'hide-title': hideTitle }"
|
|
11
|
+
>
|
|
12
|
+
<slot />
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<style>
|
|
17
|
+
@import './themes/github.css';
|
|
18
|
+
|
|
19
|
+
.markdown-body.hide-title > h1:first-child {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
</style>
|