@icecreamqaq/shadcn 0.0.0-stage → 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/LICENSE +202 -0
- package/README.md +168 -2
- package/THIRD-PARTY-NOTICES +100 -0
- package/dist/components/accordion.js +11 -0
- package/dist/components/alert-dialog.js +21 -0
- package/dist/components/alert.js +115 -0
- package/dist/components/aspect-ratio.js +5 -0
- package/dist/components/attachment.js +366 -0
- package/dist/components/avatar.js +9 -0
- package/dist/components/badge.js +54 -0
- package/dist/components/breadcrumb.js +17 -0
- package/dist/components/bubble.js +202 -0
- package/dist/components/button-group.js +110 -0
- package/dist/components/button.js +70 -0
- package/dist/components/calendar.js +27 -0
- package/dist/components/card.js +17 -0
- package/dist/components/carousel.js +14 -0
- package/dist/components/chart.js +328 -0
- package/dist/components/checkbox.js +5 -0
- package/dist/components/code-block.js +560 -0
- package/dist/components/collapsible.js +9 -0
- package/dist/components/combobox.js +28 -0
- package/dist/components/command.js +531 -0
- package/dist/components/context-menu.js +31 -0
- package/dist/components/data-table.js +8 -0
- package/dist/components/date-picker.js +5 -0
- package/dist/components/dialog.js +24 -0
- package/dist/components/drawer.js +21 -0
- package/dist/components/dropdown-menu.js +34 -0
- package/dist/components/empty.js +215 -0
- package/dist/components/field.js +384 -0
- package/dist/components/form.js +353 -0
- package/dist/components/hover-card.js +9 -0
- package/dist/components/input-group.js +271 -0
- package/dist/components/input-otp.js +15 -0
- package/dist/components/input.js +5 -0
- package/dist/components/item.js +366 -0
- package/dist/components/kbd.js +7 -0
- package/dist/components/label.js +5 -0
- package/dist/components/marker.js +120 -0
- package/dist/components/menu.js +9 -0
- package/dist/components/menubar.js +33 -0
- package/dist/components/message-scroller.js +18 -0
- package/dist/components/message.js +15 -0
- package/dist/components/native-select.js +10 -0
- package/dist/components/navigation-menu.js +362 -0
- package/dist/components/number-field.js +13 -0
- package/dist/components/pagination.js +19 -0
- package/dist/components/pin-input.js +11 -0
- package/dist/components/popover.js +12 -0
- package/dist/components/progress.js +5 -0
- package/dist/components/questionnaire.js +35 -0
- package/dist/components/radio-group.js +7 -0
- package/dist/components/range-calendar.js +27 -0
- package/dist/components/resizable.js +9 -0
- package/dist/components/scroll-area.js +7 -0
- package/dist/components/select.js +25 -0
- package/dist/components/separator.js +5 -0
- package/dist/components/sheet.js +20 -0
- package/dist/components/sidebar.js +994 -0
- package/dist/components/skeleton.js +5 -0
- package/dist/components/slider.js +5 -0
- package/dist/components/sonner.js +6 -0
- package/dist/components/spinner.js +5 -0
- package/dist/components/stepper.js +17 -0
- package/dist/components/switch.js +5 -0
- package/dist/components/table.js +24 -0
- package/dist/components/tabs.js +11 -0
- package/dist/components/tags-input.js +13 -0
- package/dist/components/textarea.js +5 -0
- package/dist/components/toast.js +398 -0
- package/dist/components/toggle-group.js +7 -0
- package/dist/components/toggle.js +67 -0
- package/dist/components/tooltip.js +11 -0
- package/dist/components/trace.js +19 -0
- package/dist/components/typography.js +45 -0
- package/dist/index.js +952 -0
- package/dist/plugin.js +4 -0
- package/dist/shared/Accordion.vue_vue_type_script_setup_true_lang-BhezdmBM.js +188 -0
- package/dist/shared/AlertDialogCancel.vue_vue_type_script_setup_true_lang-B6sUY4Dh.js +330 -0
- package/dist/shared/AspectRatio.vue_vue_type_script_setup_true_lang-B6hweimL.js +28 -0
- package/dist/shared/Avatar.vue_vue_type_script_setup_true_lang-DgPqiKii.js +106 -0
- package/dist/shared/BreadcrumbEllipsis.vue_vue_type_script_setup_true_lang-DQP0LgPV.js +230 -0
- package/dist/shared/CalendarPrevButton.vue_vue_type_script_setup_true_lang-DWbrbvcv.js +650 -0
- package/dist/shared/Card.vue_vue_type_script_setup_true_lang-JYyTaYm3.js +224 -0
- package/dist/shared/Carousel.vue_vue_type_script_setup_true_lang-CjYCPeqz.js +313 -0
- package/dist/shared/Checkbox.vue_vue_type_script_setup_true_lang-sSufnlH-.js +66 -0
- package/dist/shared/Collapsible.vue_vue_type_script_setup_true_lang-qPBs4Yek.js +109 -0
- package/dist/shared/ComboboxViewport.vue_vue_type_script_setup_true_lang-C-h9wJIG.js +512 -0
- package/dist/shared/ContextMenuShortcut.vue_vue_type_script_setup_true_lang-TZ9li3YC.js +570 -0
- package/dist/shared/DataTable.vue_vue_type_script_setup_true_lang-CsTy4vAx.js +151 -0
- package/dist/shared/DatePicker.vue_vue_type_script_setup_true_lang-DoKoROAU.js +87 -0
- package/dist/shared/Dialog.vue_vue_type_script_setup_true_lang-BJJFsrIw.js +324 -0
- package/dist/shared/DialogScrollContent.vue_vue_type_script_setup_true_lang-Bft3_F4-.js +104 -0
- package/dist/shared/DrawerClose.vue_vue_type_script_setup_true_lang-DkpMyCuG.js +332 -0
- package/dist/shared/DropdownMenuShortcut.vue_vue_type_script_setup_true_lang-B5ZxsMiX.js +562 -0
- package/dist/shared/HoverCard.vue_vue_type_script_setup_true_lang-DEkWWW26.js +148 -0
- package/dist/shared/Input.vue_vue_type_script_setup_true_lang-IA2KBs7t.js +39 -0
- package/dist/shared/InputOTPSeparator.vue_vue_type_script_setup_true_lang-Bff15uwl.js +209 -0
- package/dist/shared/KbdGroup.vue_vue_type_script_setup_true_lang-Dch3MwnO.js +52 -0
- package/dist/shared/Label.vue_vue_type_script_setup_true_lang-Brh2O3Kc.js +38 -0
- package/dist/shared/MenubarShortcut.vue_vue_type_script_setup_true_lang-ClJufowc.js +623 -0
- package/dist/shared/MessageGroup.vue_vue_type_script_setup_true_lang-C4uDibxI.js +240 -0
- package/dist/shared/MessageScrollerViewport.vue_vue_type_script_setup_true_lang-CKkBkP6W.js +1064 -0
- package/dist/shared/NativeSelectOptGroup.vue_vue_type_script_setup_true_lang-OeFv2KRm.js +26 -0
- package/dist/shared/NativeSelectOption.vue_vue_type_script_setup_true_lang-6Jhabcwc.js +112 -0
- package/dist/shared/NumberField.vue_vue_type_script_setup_true_lang-B8jTyepl.js +193 -0
- package/dist/shared/PaginationLast.vue_vue_type_script_setup_true_lang-BkE1JVh9.js +337 -0
- package/dist/shared/PinInputSeparator.vue_vue_type_script_setup_true_lang-CerVm6C6.js +191 -0
- package/dist/shared/Popover.vue_vue_type_script_setup_true_lang-Dz2xRx0U.js +149 -0
- package/dist/shared/PopoverAnchor.vue_vue_type_script_setup_true_lang-CNHZS-nW.js +28 -0
- package/dist/shared/Progress.vue_vue_type_script_setup_true_lang-COfnlrue.js +46 -0
- package/dist/shared/QuestionnaireSkip.vue_vue_type_script_setup_true_lang-BtvhZHNa.js +1675 -0
- package/dist/shared/RadioGroup.vue_vue_type_script_setup_true_lang-DZsaD20l.js +119 -0
- package/dist/shared/RangeCalendarPrevButton.vue_vue_type_script_setup_true_lang-urMwHqS5.js +519 -0
- package/dist/shared/ResizablePanelGroup.vue_vue_type_script_setup_true_lang-5UH0YCcF.js +210 -0
- package/dist/shared/ScrollArea.vue_vue_type_script_setup_true_lang-Cd0pqd8f.js +87 -0
- package/dist/shared/SelectScrollUpButton.vue_vue_type_script_setup_true_lang-Dz-S9Vbj.js +481 -0
- package/dist/shared/Separator.vue_vue_type_script_setup_true_lang-BXG9wjMC.js +34 -0
- package/dist/shared/Sheet.vue_vue_type_script_setup_true_lang-D9WoJHVj.js +318 -0
- package/dist/shared/SheetClose.vue_vue_type_script_setup_true_lang-DkS62B59.js +27 -0
- package/dist/shared/Skeleton.vue_vue_type_script_setup_true_lang-DvcJIUre.js +24 -0
- package/dist/shared/Slider.vue_vue_type_script_setup_true_lang-D3hk8LH6.js +73 -0
- package/dist/shared/Spinner.vue_vue_type_script_setup_true_lang-D3sa2ABK.js +25 -0
- package/dist/shared/StepperSeparator.vue_vue_type_script_setup_true_lang-tOiVnQ0l.js +265 -0
- package/dist/shared/SubMenu.vue_vue_type_script_setup_true_lang-C4tIk9T5.js +185 -0
- package/dist/shared/Switch.vue_vue_type_script_setup_true_lang-DqjkmqGQ.js +59 -0
- package/dist/shared/Table.vue_vue_type_script_setup_true_lang-DQyh2fJp.js +296 -0
- package/dist/shared/TableFooter.vue_vue_type_script_setup_true_lang-O6EDLhUR.js +48 -0
- package/dist/shared/Tabs.vue_vue_type_script_setup_true_lang-B6n64JLO.js +179 -0
- package/dist/shared/TagsInput.vue_vue_type_script_setup_true_lang-Cg7Cvqnx.js +208 -0
- package/dist/shared/Textarea.vue_vue_type_script_setup_true_lang-DXlFD0WI.js +34 -0
- package/dist/shared/ToggleGroup.vue_vue_type_script_setup_true_lang-CxcVtukm.js +128 -0
- package/dist/shared/Tooltip.vue_vue_type_script_setup_true_lang-BB9PubNG.js +177 -0
- package/dist/shared/TraceLine.vue_vue_type_script_setup_true_lang-C7ihvyRT.js +265 -0
- package/dist/shared/cn-B75z2LSx.js +9 -0
- package/dist/shared/controllable-OXg_b0ls.js +57 -0
- package/dist/shared/input-attributes-DqB-Edx6.js +37 -0
- package/dist/shared/installer-DKXqpXm5.js +962 -0
- package/dist/shared/layout-content-Bw6QwUId.js +15 -0
- package/dist/shared/menu-entries-3w1VfetC.js +22 -0
- package/dist/shared/options-DvfbgmQm.js +26 -0
- package/dist/shared/render-content-Nt9WBpp8.js +25 -0
- package/dist/shared/toast-B5QSIIl2.js +124 -0
- package/dist/style.css +4 -0
- package/dist/style.css.d.ts +1 -0
- package/dist/theme-fonts/figtree.LICENSE +93 -0
- package/dist/theme-fonts/figtree.woff2 +0 -0
- package/dist/theme-fonts/inter.LICENSE +93 -0
- package/dist/theme-fonts/inter.woff2 +0 -0
- package/dist/theme-fonts/jetbrains-mono.LICENSE +93 -0
- package/dist/theme-fonts/jetbrains-mono.woff2 +0 -0
- package/dist/theme-fonts/noto-sans.LICENSE +93 -0
- package/dist/theme-fonts/noto-sans.woff2 +0 -0
- package/dist/theme-fonts/playfair-display.LICENSE +93 -0
- package/dist/theme-fonts/playfair-display.woff2 +0 -0
- package/dist/theme-fonts/sources.json +89 -0
- package/dist/themes.css +1 -0
- package/dist/themes.js +1424 -0
- package/dist/types/components/accordion/Accordion.vue.d.ts +38 -0
- package/dist/types/components/accordion/AccordionContent.vue.d.ts +20 -0
- package/dist/types/components/accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/types/components/accordion/AccordionTrigger.vue.d.ts +22 -0
- package/dist/types/components/accordion/index.d.ts +4 -0
- package/dist/types/components/alert/Alert.vue.d.ts +31 -0
- package/dist/types/components/alert/AlertDescription.vue.d.ts +19 -0
- package/dist/types/components/alert/AlertTitle.vue.d.ts +19 -0
- package/dist/types/components/alert/index.d.ts +8 -0
- package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts +58 -0
- package/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts +20 -0
- package/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts +20 -0
- package/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts +34 -0
- package/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts +20 -0
- package/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts +19 -0
- package/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts +19 -0
- package/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts +20 -0
- package/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts +16 -0
- package/dist/types/components/alert-dialog/index.d.ts +9 -0
- package/dist/types/components/aspect-ratio/AspectRatio.vue.d.ts +18 -0
- package/dist/types/components/aspect-ratio/index.d.ts +1 -0
- package/dist/types/components/attachment/Attachment.vue.d.ts +57 -0
- package/dist/types/components/attachment/AttachmentAction.vue.d.ts +26 -0
- package/dist/types/components/attachment/AttachmentActions.vue.d.ts +19 -0
- package/dist/types/components/attachment/AttachmentContent.vue.d.ts +19 -0
- package/dist/types/components/attachment/AttachmentDescription.vue.d.ts +19 -0
- package/dist/types/components/attachment/AttachmentGroup.vue.d.ts +19 -0
- package/dist/types/components/attachment/AttachmentMedia.vue.d.ts +21 -0
- package/dist/types/components/attachment/AttachmentTitle.vue.d.ts +19 -0
- package/dist/types/components/attachment/AttachmentTrigger.vue.d.ts +22 -0
- package/dist/types/components/attachment/index.d.ts +22 -0
- package/dist/types/components/avatar/Avatar.vue.d.ts +25 -0
- package/dist/types/components/avatar/AvatarFallback.vue.d.ts +20 -0
- package/dist/types/components/avatar/AvatarImage.vue.d.ts +16 -0
- package/dist/types/components/avatar/index.d.ts +3 -0
- package/dist/types/components/badge/Badge.vue.d.ts +22 -0
- package/dist/types/components/badge/index.d.ts +6 -0
- package/dist/types/components/breadcrumb/Breadcrumb.vue.d.ts +33 -0
- package/dist/types/components/breadcrumb/BreadcrumbEllipsis.vue.d.ts +19 -0
- package/dist/types/components/breadcrumb/BreadcrumbItem.vue.d.ts +19 -0
- package/dist/types/components/breadcrumb/BreadcrumbLink.vue.d.ts +22 -0
- package/dist/types/components/breadcrumb/BreadcrumbList.vue.d.ts +19 -0
- package/dist/types/components/breadcrumb/BreadcrumbPage.vue.d.ts +19 -0
- package/dist/types/components/breadcrumb/BreadcrumbSeparator.vue.d.ts +19 -0
- package/dist/types/components/breadcrumb/index.d.ts +7 -0
- package/dist/types/components/bubble/Bubble.vue.d.ts +35 -0
- package/dist/types/components/bubble/BubbleContent.vue.d.ts +22 -0
- package/dist/types/components/bubble/BubbleGroup.vue.d.ts +22 -0
- package/dist/types/components/bubble/BubbleReactions.vue.d.ts +27 -0
- package/dist/types/components/bubble/index.d.ts +14 -0
- package/dist/types/components/button/Button.vue.d.ts +25 -0
- package/dist/types/components/button/index.d.ts +7 -0
- package/dist/types/components/button-group/ButtonGroup.vue.d.ts +21 -0
- package/dist/types/components/button-group/ButtonGroupSeparator.vue.d.ts +10 -0
- package/dist/types/components/button-group/ButtonGroupText.vue.d.ts +24 -0
- package/dist/types/components/button-group/index.d.ts +8 -0
- package/dist/types/components/calendar/Calendar.vue.d.ts +56 -0
- package/dist/types/components/calendar/CalendarCell.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarCellTrigger.vue.d.ts +30 -0
- package/dist/types/components/calendar/CalendarGrid.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarGridBody.vue.d.ts +16 -0
- package/dist/types/components/calendar/CalendarGridHead.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarGridRow.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarHeadCell.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarHeader.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/types/components/calendar/CalendarNextButton.vue.d.ts +20 -0
- package/dist/types/components/calendar/CalendarPrevButton.vue.d.ts +20 -0
- package/dist/types/components/calendar/index.d.ts +13 -0
- package/dist/types/components/card/Card.vue.d.ts +40 -0
- package/dist/types/components/card/CardAction.vue.d.ts +19 -0
- package/dist/types/components/card/CardContent.vue.d.ts +19 -0
- package/dist/types/components/card/CardDescription.vue.d.ts +19 -0
- package/dist/types/components/card/CardFooter.vue.d.ts +19 -0
- package/dist/types/components/card/CardHeader.vue.d.ts +19 -0
- package/dist/types/components/card/CardTitle.vue.d.ts +19 -0
- package/dist/types/components/card/index.d.ts +7 -0
- package/dist/types/components/carousel/Carousel.vue.d.ts +49 -0
- package/dist/types/components/carousel/CarouselContent.vue.d.ts +16 -0
- package/dist/types/components/carousel/CarouselItem.vue.d.ts +16 -0
- package/dist/types/components/carousel/CarouselNext.vue.d.ts +24 -0
- package/dist/types/components/carousel/CarouselPrevious.vue.d.ts +24 -0
- package/dist/types/components/carousel/index.d.ts +7 -0
- package/dist/types/components/carousel/interface.d.ts +23 -0
- package/dist/types/components/carousel/useCarousel.d.ts +22 -0
- package/dist/types/components/chart/ChartContainer.vue.d.ts +25 -0
- package/dist/types/components/chart/ChartLegendContent.vue.d.ts +42 -0
- package/dist/types/components/chart/ChartStyle.vue.d.ts +7 -0
- package/dist/types/components/chart/ChartTooltipContent.vue.d.ts +74 -0
- package/dist/types/components/chart/index.d.ts +28 -0
- package/dist/types/components/chart/utils.d.ts +11 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +27 -0
- package/dist/types/components/checkbox/index.d.ts +1 -0
- package/dist/types/components/code-block/CodeBlock.vue.d.ts +41 -0
- package/dist/types/components/code-block/CodeBlockActions.vue.d.ts +19 -0
- package/dist/types/components/code-block/CodeBlockContent.vue.d.ts +26 -0
- package/dist/types/components/code-block/CodeBlockCopyButton.vue.d.ts +37 -0
- package/dist/types/components/code-block/CodeBlockFooter.vue.d.ts +19 -0
- package/dist/types/components/code-block/CodeBlockHeader.vue.d.ts +19 -0
- package/dist/types/components/code-block/CodeBlockLine.vue.d.ts +23 -0
- package/dist/types/components/code-block/CodeBlockTitle.vue.d.ts +19 -0
- package/dist/types/components/code-block/CodeBlockToken.vue.d.ts +7 -0
- package/dist/types/components/code-block/highlighter.d.ts +13 -0
- package/dist/types/components/code-block/index.d.ts +21 -0
- package/dist/types/components/code-block/useHighlightedCode.d.ts +3 -0
- package/dist/types/components/collapsible/Collapsible.vue.d.ts +43 -0
- package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts +16 -0
- package/dist/types/components/collapsible/CollapsibleTrigger.vue.d.ts +16 -0
- package/dist/types/components/collapsible/index.d.ts +3 -0
- package/dist/types/components/combobox/Combobox.vue.d.ts +50 -0
- package/dist/types/components/combobox/ComboboxAnchor.vue.d.ts +20 -0
- package/dist/types/components/combobox/ComboboxEmpty.vue.d.ts +20 -0
- package/dist/types/components/combobox/ComboboxGroup.vue.d.ts +21 -0
- package/dist/types/components/combobox/ComboboxInput.vue.d.ts +25 -0
- package/dist/types/components/combobox/ComboboxItem.vue.d.ts +30 -0
- package/dist/types/components/combobox/ComboboxItemIndicator.vue.d.ts +20 -0
- package/dist/types/components/combobox/ComboboxList.vue.d.ts +34 -0
- package/dist/types/components/combobox/ComboboxSeparator.vue.d.ts +20 -0
- package/dist/types/components/combobox/ComboboxTrigger.vue.d.ts +20 -0
- package/dist/types/components/combobox/ComboboxViewport.vue.d.ts +20 -0
- package/dist/types/components/combobox/index.d.ts +12 -0
- package/dist/types/components/command/Command.vue.d.ts +54 -0
- package/dist/types/components/command/CommandDialog.vue.d.ts +30 -0
- package/dist/types/components/command/CommandEmpty.vue.d.ts +20 -0
- package/dist/types/components/command/CommandGroup.vue.d.ts +21 -0
- package/dist/types/components/command/CommandInput.vue.d.ts +13 -0
- package/dist/types/components/command/CommandItem.vue.d.ts +31 -0
- package/dist/types/components/command/CommandList.vue.d.ts +20 -0
- package/dist/types/components/command/CommandSeparator.vue.d.ts +20 -0
- package/dist/types/components/command/CommandShortcut.vue.d.ts +19 -0
- package/dist/types/components/command/index.d.ts +101 -0
- package/dist/types/components/context-menu/ContextMenu.vue.d.ts +35 -0
- package/dist/types/components/context-menu/ContextMenuCheckboxItem.vue.d.ts +31 -0
- package/dist/types/components/context-menu/ContextMenuContent.vue.d.ts +34 -0
- package/dist/types/components/context-menu/ContextMenuGroup.vue.d.ts +16 -0
- package/dist/types/components/context-menu/ContextMenuItem.vue.d.ts +28 -0
- package/dist/types/components/context-menu/ContextMenuLabel.vue.d.ts +21 -0
- package/dist/types/components/context-menu/ContextMenuPortal.vue.d.ts +16 -0
- package/dist/types/components/context-menu/ContextMenuRadioGroup.vue.d.ts +23 -0
- package/dist/types/components/context-menu/ContextMenuRadioItem.vue.d.ts +26 -0
- package/dist/types/components/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/types/components/context-menu/ContextMenuShortcut.vue.d.ts +19 -0
- package/dist/types/components/context-menu/ContextMenuSub.vue.d.ts +20 -0
- package/dist/types/components/context-menu/ContextMenuSubContent.vue.d.ts +36 -0
- package/dist/types/components/context-menu/ContextMenuSubTrigger.vue.d.ts +21 -0
- package/dist/types/components/context-menu/ContextMenuTrigger.vue.d.ts +16 -0
- package/dist/types/components/context-menu/index.d.ts +14 -0
- package/dist/types/components/data-table/DataTable.vue.d.ts +24 -0
- package/dist/types/components/data-table/index.d.ts +2 -0
- package/dist/types/components/date-picker/DatePicker.vue.d.ts +41 -0
- package/dist/types/components/date-picker/index.d.ts +1 -0
- package/dist/types/components/dialog/Dialog.vue.d.ts +58 -0
- package/dist/types/components/dialog/DialogClose.vue.d.ts +16 -0
- package/dist/types/components/dialog/DialogContent.vue.d.ts +37 -0
- package/dist/types/components/dialog/DialogDescription.vue.d.ts +20 -0
- package/dist/types/components/dialog/DialogFooter.vue.d.ts +22 -0
- package/dist/types/components/dialog/DialogHeader.vue.d.ts +19 -0
- package/dist/types/components/dialog/DialogOverlay.vue.d.ts +20 -0
- package/dist/types/components/dialog/DialogScrollContent.vue.d.ts +34 -0
- package/dist/types/components/dialog/DialogTitle.vue.d.ts +20 -0
- package/dist/types/components/dialog/DialogTrigger.vue.d.ts +16 -0
- package/dist/types/components/dialog/index.d.ts +10 -0
- package/dist/types/components/drawer/Drawer.vue.d.ts +70 -0
- package/dist/types/components/drawer/DrawerClose.vue.d.ts +16 -0
- package/dist/types/components/drawer/DrawerContent.vue.d.ts +34 -0
- package/dist/types/components/drawer/DrawerDescription.vue.d.ts +20 -0
- package/dist/types/components/drawer/DrawerFooter.vue.d.ts +19 -0
- package/dist/types/components/drawer/DrawerHeader.vue.d.ts +19 -0
- package/dist/types/components/drawer/DrawerOverlay.vue.d.ts +8 -0
- package/dist/types/components/drawer/DrawerTitle.vue.d.ts +20 -0
- package/dist/types/components/drawer/DrawerTrigger.vue.d.ts +16 -0
- package/dist/types/components/drawer/index.d.ts +9 -0
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +34 -0
- package/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +31 -0
- package/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +16 -0
- package/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts +24 -0
- package/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +21 -0
- package/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +23 -0
- package/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
- package/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +19 -0
- package/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +36 -0
- package/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +21 -0
- package/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +16 -0
- package/dist/types/components/dropdown-menu/index.d.ts +15 -0
- package/dist/types/components/empty/Empty.vue.d.ts +32 -0
- package/dist/types/components/empty/EmptyContent.vue.d.ts +19 -0
- package/dist/types/components/empty/EmptyDescription.vue.d.ts +19 -0
- package/dist/types/components/empty/EmptyHeader.vue.d.ts +19 -0
- package/dist/types/components/empty/EmptyMedia.vue.d.ts +21 -0
- package/dist/types/components/empty/EmptyTitle.vue.d.ts +19 -0
- package/dist/types/components/empty/index.d.ts +11 -0
- package/dist/types/components/field/Field.vue.d.ts +26 -0
- package/dist/types/components/field/FieldContent.vue.d.ts +19 -0
- package/dist/types/components/field/FieldDescription.vue.d.ts +19 -0
- package/dist/types/components/field/FieldError.vue.d.ts +22 -0
- package/dist/types/components/field/FieldGroup.vue.d.ts +19 -0
- package/dist/types/components/field/FieldLabel.vue.d.ts +19 -0
- package/dist/types/components/field/FieldLegend.vue.d.ts +20 -0
- package/dist/types/components/field/FieldSeparator.vue.d.ts +19 -0
- package/dist/types/components/field/FieldSet.vue.d.ts +19 -0
- package/dist/types/components/field/FieldTitle.vue.d.ts +19 -0
- package/dist/types/components/field/index.d.ts +15 -0
- package/dist/types/components/form/Form.vue.d.ts +31 -0
- package/dist/types/components/form/FormControl.vue.d.ts +15 -0
- package/dist/types/components/form/FormDescription.vue.d.ts +19 -0
- package/dist/types/components/form/FormField.vue.d.ts +35 -0
- package/dist/types/components/form/FormItem.vue.d.ts +19 -0
- package/dist/types/components/form/FormLabel.vue.d.ts +20 -0
- package/dist/types/components/form/FormMessage.vue.d.ts +7 -0
- package/dist/types/components/form/FormValues.vue.d.ts +12 -0
- package/dist/types/components/form/index.d.ts +13 -0
- package/dist/types/components/form/injectionKeys.d.ts +2 -0
- package/dist/types/components/form/useFormField.d.ts +11 -0
- package/dist/types/components/hover-card/HoverCard.vue.d.ts +43 -0
- package/dist/types/components/hover-card/HoverCardContent.vue.d.ts +22 -0
- package/dist/types/components/hover-card/HoverCardTrigger.vue.d.ts +16 -0
- package/dist/types/components/hover-card/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +73 -0
- package/dist/types/components/input/Input.vue.d.ts +13 -0
- package/dist/types/components/input/index.d.ts +1 -0
- package/dist/types/components/input-group/InputGroup.vue.d.ts +34 -0
- package/dist/types/components/input-group/InputGroupAddon.vue.d.ts +23 -0
- package/dist/types/components/input-group/InputGroupButton.vue.d.ts +26 -0
- package/dist/types/components/input-group/InputGroupInput.vue.d.ts +13 -0
- package/dist/types/components/input-group/InputGroupText.vue.d.ts +19 -0
- package/dist/types/components/input-group/InputGroupTextarea.vue.d.ts +7 -0
- package/dist/types/components/input-group/index.d.ts +15 -0
- package/dist/types/components/input-otp/InputOTP.vue.d.ts +55 -0
- package/dist/types/components/input-otp/InputOTPGroup.vue.d.ts +19 -0
- package/dist/types/components/input-otp/InputOTPSeparator.vue.d.ts +19 -0
- package/dist/types/components/input-otp/InputOTPSlot.vue.d.ts +23 -0
- package/dist/types/components/input-otp/index.d.ts +4 -0
- package/dist/types/components/item/Item.vue.d.ts +50 -0
- package/dist/types/components/item/ItemActions.vue.d.ts +19 -0
- package/dist/types/components/item/ItemContent.vue.d.ts +19 -0
- package/dist/types/components/item/ItemDescription.vue.d.ts +19 -0
- package/dist/types/components/item/ItemFooter.vue.d.ts +19 -0
- package/dist/types/components/item/ItemGroup.vue.d.ts +19 -0
- package/dist/types/components/item/ItemHeader.vue.d.ts +19 -0
- package/dist/types/components/item/ItemMedia.vue.d.ts +21 -0
- package/dist/types/components/item/ItemSeparator.vue.d.ts +8 -0
- package/dist/types/components/item/ItemTitle.vue.d.ts +19 -0
- package/dist/types/components/item/index.d.ts +20 -0
- package/dist/types/components/kbd/Kbd.vue.d.ts +19 -0
- package/dist/types/components/kbd/KbdGroup.vue.d.ts +19 -0
- package/dist/types/components/kbd/index.d.ts +2 -0
- package/dist/types/components/label/Label.vue.d.ts +20 -0
- package/dist/types/components/label/index.d.ts +1 -0
- package/dist/types/components/marker/Marker.vue.d.ts +30 -0
- package/dist/types/components/marker/MarkerContent.vue.d.ts +19 -0
- package/dist/types/components/marker/MarkerIcon.vue.d.ts +19 -0
- package/dist/types/components/marker/index.d.ts +8 -0
- package/dist/types/components/menu/Menu.vue.d.ts +37 -0
- package/dist/types/components/menu/MenuItem.vue.d.ts +27 -0
- package/dist/types/components/menu/SubMenu.vue.d.ts +25 -0
- package/dist/types/components/menu/index.d.ts +4 -0
- package/dist/types/components/menu/types.d.ts +23 -0
- package/dist/types/components/menubar/Menubar.vue.d.ts +38 -0
- package/dist/types/components/menubar/MenubarCheckboxItem.vue.d.ts +31 -0
- package/dist/types/components/menubar/MenubarContent.vue.d.ts +24 -0
- package/dist/types/components/menubar/MenubarGroup.vue.d.ts +16 -0
- package/dist/types/components/menubar/MenubarItem.vue.d.ts +26 -0
- package/dist/types/components/menubar/MenubarLabel.vue.d.ts +21 -0
- package/dist/types/components/menubar/MenubarMenu.vue.d.ts +16 -0
- package/dist/types/components/menubar/MenubarRadioGroup.vue.d.ts +23 -0
- package/dist/types/components/menubar/MenubarRadioItem.vue.d.ts +26 -0
- package/dist/types/components/menubar/MenubarSeparator.vue.d.ts +8 -0
- package/dist/types/components/menubar/MenubarShortcut.vue.d.ts +19 -0
- package/dist/types/components/menubar/MenubarSub.vue.d.ts +25 -0
- package/dist/types/components/menubar/MenubarSubContent.vue.d.ts +36 -0
- package/dist/types/components/menubar/MenubarSubTrigger.vue.d.ts +21 -0
- package/dist/types/components/menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/types/components/menubar/index.d.ts +15 -0
- package/dist/types/components/message/Message.vue.d.ts +38 -0
- package/dist/types/components/message/MessageAvatar.vue.d.ts +22 -0
- package/dist/types/components/message/MessageContent.vue.d.ts +22 -0
- package/dist/types/components/message/MessageFooter.vue.d.ts +22 -0
- package/dist/types/components/message/MessageGroup.vue.d.ts +22 -0
- package/dist/types/components/message/MessageHeader.vue.d.ts +22 -0
- package/dist/types/components/message/index.d.ts +6 -0
- package/dist/types/components/message-scroller/MessageScroller.vue.d.ts +19 -0
- package/dist/types/components/message-scroller/MessageScrollerButton.vue.d.ts +30 -0
- package/dist/types/components/message-scroller/MessageScrollerContent.vue.d.ts +20 -0
- package/dist/types/components/message-scroller/MessageScrollerItem.vue.d.ts +23 -0
- package/dist/types/components/message-scroller/MessageScrollerProvider.vue.d.ts +20 -0
- package/dist/types/components/message-scroller/MessageScrollerViewport.vue.d.ts +22 -0
- package/dist/types/components/message-scroller/index.d.ts +8 -0
- package/dist/types/components/message-scroller/useMessageScroller.d.ts +74 -0
- package/dist/types/components/native-select/NativeSelect.vue.d.ts +30 -0
- package/dist/types/components/native-select/NativeSelectOptGroup.vue.d.ts +19 -0
- package/dist/types/components/native-select/NativeSelectOption.vue.d.ts +19 -0
- package/dist/types/components/native-select/index.d.ts +3 -0
- package/dist/types/components/navigation-menu/NavigationMenu.vue.d.ts +41 -0
- package/dist/types/components/navigation-menu/NavigationMenuContent.vue.d.ts +30 -0
- package/dist/types/components/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
- package/dist/types/components/navigation-menu/NavigationMenuItem.vue.d.ts +20 -0
- package/dist/types/components/navigation-menu/NavigationMenuLink.vue.d.ts +28 -0
- package/dist/types/components/navigation-menu/NavigationMenuList.vue.d.ts +20 -0
- package/dist/types/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +20 -0
- package/dist/types/components/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
- package/dist/types/components/navigation-menu/index.d.ts +9 -0
- package/dist/types/components/number-field/NumberField.vue.d.ts +41 -0
- package/dist/types/components/number-field/NumberFieldContent.vue.d.ts +19 -0
- package/dist/types/components/number-field/NumberFieldDecrement.vue.d.ts +20 -0
- package/dist/types/components/number-field/NumberFieldIncrement.vue.d.ts +20 -0
- package/dist/types/components/number-field/NumberFieldInput.vue.d.ts +7 -0
- package/dist/types/components/number-field/index.d.ts +5 -0
- package/dist/types/components/pagination/Pagination.vue.d.ts +42 -0
- package/dist/types/components/pagination/PaginationContent.vue.d.ts +27 -0
- package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts +20 -0
- package/dist/types/components/pagination/PaginationFirst.vue.d.ts +24 -0
- package/dist/types/components/pagination/PaginationItem.vue.d.ts +25 -0
- package/dist/types/components/pagination/PaginationLast.vue.d.ts +24 -0
- package/dist/types/components/pagination/PaginationNext.vue.d.ts +24 -0
- package/dist/types/components/pagination/PaginationPrevious.vue.d.ts +24 -0
- package/dist/types/components/pagination/index.d.ts +8 -0
- package/dist/types/components/pin-input/PinInput.vue.d.ts +33 -0
- package/dist/types/components/pin-input/PinInputGroup.vue.d.ts +20 -0
- package/dist/types/components/pin-input/PinInputSeparator.vue.d.ts +16 -0
- package/dist/types/components/pin-input/PinInputSlot.vue.d.ts +8 -0
- package/dist/types/components/pin-input/index.d.ts +4 -0
- package/dist/types/components/popover/Popover.vue.d.ts +48 -0
- package/dist/types/components/popover/PopoverAnchor.vue.d.ts +16 -0
- package/dist/types/components/popover/PopoverContent.vue.d.ts +37 -0
- package/dist/types/components/popover/PopoverTrigger.vue.d.ts +16 -0
- package/dist/types/components/popover/index.d.ts +4 -0
- package/dist/types/components/progress/Progress.vue.d.ts +10 -0
- package/dist/types/components/progress/index.d.ts +1 -0
- package/dist/types/components/questionnaire/Questionnaire.vue.d.ts +56 -0
- package/dist/types/components/questionnaire/QuestionnaireActions.vue.d.ts +22 -0
- package/dist/types/components/questionnaire/QuestionnaireChoice.vue.d.ts +41 -0
- package/dist/types/components/questionnaire/QuestionnaireChoiceDescription.vue.d.ts +19 -0
- package/dist/types/components/questionnaire/QuestionnaireChoices.vue.d.ts +24 -0
- package/dist/types/components/questionnaire/QuestionnaireDescription.vue.d.ts +23 -0
- package/dist/types/components/questionnaire/QuestionnaireError.vue.d.ts +25 -0
- package/dist/types/components/questionnaire/QuestionnaireInput.vue.d.ts +21 -0
- package/dist/types/components/questionnaire/QuestionnaireItem.vue.d.ts +48 -0
- package/dist/types/components/questionnaire/QuestionnaireNext.vue.d.ts +33 -0
- package/dist/types/components/questionnaire/QuestionnairePrevious.vue.d.ts +33 -0
- package/dist/types/components/questionnaire/QuestionnaireProgress.vue.d.ts +27 -0
- package/dist/types/components/questionnaire/QuestionnaireSkip.vue.d.ts +33 -0
- package/dist/types/components/questionnaire/QuestionnaireSubmit.vue.d.ts +29 -0
- package/dist/types/components/questionnaire/QuestionnaireTitle.vue.d.ts +23 -0
- package/dist/types/components/questionnaire/index.d.ts +17 -0
- package/dist/types/components/questionnaire/useQuestionnaire.d.ts +117 -0
- package/dist/types/components/radio-group/RadioGroup.vue.d.ts +36 -0
- package/dist/types/components/radio-group/RadioGroupItem.vue.d.ts +20 -0
- package/dist/types/components/radio-group/index.d.ts +2 -0
- package/dist/types/components/range-calendar/RangeCalendar.vue.d.ts +54 -0
- package/dist/types/components/range-calendar/RangeCalendarCell.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarCellTrigger.vue.d.ts +35 -0
- package/dist/types/components/range-calendar/RangeCalendarGrid.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarGridBody.vue.d.ts +16 -0
- package/dist/types/components/range-calendar/RangeCalendarGridHead.vue.d.ts +16 -0
- package/dist/types/components/range-calendar/RangeCalendarGridRow.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarHeadCell.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarHeader.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
- package/dist/types/components/range-calendar/RangeCalendarNextButton.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/RangeCalendarPrevButton.vue.d.ts +20 -0
- package/dist/types/components/range-calendar/index.d.ts +12 -0
- package/dist/types/components/resizable/ResizableHandle.vue.d.ts +25 -0
- package/dist/types/components/resizable/ResizablePanel.vue.d.ts +41 -0
- package/dist/types/components/resizable/ResizablePanelGroup.vue.d.ts +30 -0
- package/dist/types/components/resizable/index.d.ts +3 -0
- package/dist/types/components/resizable/layout.d.ts +11 -0
- package/dist/types/components/scroll-area/ScrollArea.vue.d.ts +20 -0
- package/dist/types/components/scroll-area/ScrollBar.vue.d.ts +10 -0
- package/dist/types/components/scroll-area/index.d.ts +2 -0
- package/dist/types/components/select/Select.vue.d.ts +43 -0
- package/dist/types/components/select/SelectContent.vue.d.ts +30 -0
- package/dist/types/components/select/SelectGroup.vue.d.ts +16 -0
- package/dist/types/components/select/SelectItem.vue.d.ts +22 -0
- package/dist/types/components/select/SelectItemText.vue.d.ts +16 -0
- package/dist/types/components/select/SelectLabel.vue.d.ts +20 -0
- package/dist/types/components/select/SelectScrollDownButton.vue.d.ts +20 -0
- package/dist/types/components/select/SelectScrollUpButton.vue.d.ts +20 -0
- package/dist/types/components/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/types/components/select/SelectTrigger.vue.d.ts +23 -0
- package/dist/types/components/select/SelectValue.vue.d.ts +16 -0
- package/dist/types/components/select/index.d.ts +12 -0
- package/dist/types/components/select/options.d.ts +22 -0
- package/dist/types/components/separator/Separator.vue.d.ts +11 -0
- package/dist/types/components/separator/index.d.ts +1 -0
- package/dist/types/components/sheet/Sheet.vue.d.ts +68 -0
- package/dist/types/components/sheet/SheetClose.vue.d.ts +16 -0
- package/dist/types/components/sheet/SheetContent.vue.d.ts +37 -0
- package/dist/types/components/sheet/SheetDescription.vue.d.ts +20 -0
- package/dist/types/components/sheet/SheetFooter.vue.d.ts +19 -0
- package/dist/types/components/sheet/SheetHeader.vue.d.ts +19 -0
- package/dist/types/components/sheet/SheetOverlay.vue.d.ts +20 -0
- package/dist/types/components/sheet/SheetTitle.vue.d.ts +20 -0
- package/dist/types/components/sheet/SheetTrigger.vue.d.ts +16 -0
- package/dist/types/components/sheet/index.d.ts +8 -0
- package/dist/types/components/sidebar/Sidebar.vue.d.ts +28 -0
- package/dist/types/components/sidebar/SidebarContent.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarFooter.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarGroup.vue.d.ts +25 -0
- package/dist/types/components/sidebar/SidebarGroupAction.vue.d.ts +20 -0
- package/dist/types/components/sidebar/SidebarGroupContent.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarGroupLabel.vue.d.ts +20 -0
- package/dist/types/components/sidebar/SidebarHeader.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarInput.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarInset.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarMenu.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarMenuAction.vue.d.ts +23 -0
- package/dist/types/components/sidebar/SidebarMenuBadge.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarMenuButton.vue.d.ts +26 -0
- package/dist/types/components/sidebar/SidebarMenuButtonChild.vue.d.ts +28 -0
- package/dist/types/components/sidebar/SidebarMenuItem.vue.d.ts +23 -0
- package/dist/types/components/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
- package/dist/types/components/sidebar/SidebarMenuSub.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarMenuSubButton.vue.d.ts +25 -0
- package/dist/types/components/sidebar/SidebarMenuSubItem.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarProvider.vue.d.ts +33 -0
- package/dist/types/components/sidebar/SidebarRail.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarSeparator.vue.d.ts +19 -0
- package/dist/types/components/sidebar/SidebarTrigger.vue.d.ts +7 -0
- package/dist/types/components/sidebar/index.d.ts +37 -0
- package/dist/types/components/sidebar/utils.d.ts +57 -0
- package/dist/types/components/skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/types/components/skeleton/index.d.ts +1 -0
- package/dist/types/components/slider/Slider.vue.d.ts +14 -0
- package/dist/types/components/slider/index.d.ts +1 -0
- package/dist/types/components/sonner/Sonner.vue.d.ts +26 -0
- package/dist/types/components/sonner/index.d.ts +2 -0
- package/dist/types/components/sonner/toast.d.ts +60 -0
- package/dist/types/components/spinner/Spinner.vue.d.ts +7 -0
- package/dist/types/components/spinner/index.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.vue.d.ts +46 -0
- package/dist/types/components/stepper/StepperDescription.vue.d.ts +20 -0
- package/dist/types/components/stepper/StepperIndicator.vue.d.ts +22 -0
- package/dist/types/components/stepper/StepperItem.vue.d.ts +22 -0
- package/dist/types/components/stepper/StepperSeparator.vue.d.ts +8 -0
- package/dist/types/components/stepper/StepperTitle.vue.d.ts +20 -0
- package/dist/types/components/stepper/StepperTrigger.vue.d.ts +20 -0
- package/dist/types/components/stepper/index.d.ts +7 -0
- package/dist/types/components/switch/Switch.vue.d.ts +27 -0
- package/dist/types/components/switch/index.d.ts +1 -0
- package/dist/types/components/table/Table.vue.d.ts +24 -0
- package/dist/types/components/table/TableBody.vue.d.ts +19 -0
- package/dist/types/components/table/TableCaption.vue.d.ts +19 -0
- package/dist/types/components/table/TableCell.vue.d.ts +19 -0
- package/dist/types/components/table/TableColumn.vue.d.ts +23 -0
- package/dist/types/components/table/TableEmpty.vue.d.ts +22 -0
- package/dist/types/components/table/TableFooter.vue.d.ts +19 -0
- package/dist/types/components/table/TableHead.vue.d.ts +19 -0
- package/dist/types/components/table/TableHeader.vue.d.ts +19 -0
- package/dist/types/components/table/TableRow.vue.d.ts +19 -0
- package/dist/types/components/table/columns.d.ts +40 -0
- package/dist/types/components/table/index.d.ts +11 -0
- package/dist/types/components/tabs/Tabs.vue.d.ts +40 -0
- package/dist/types/components/tabs/TabsContent.vue.d.ts +20 -0
- package/dist/types/components/tabs/TabsList.vue.d.ts +20 -0
- package/dist/types/components/tabs/TabsTrigger.vue.d.ts +20 -0
- package/dist/types/components/tabs/index.d.ts +4 -0
- package/dist/types/components/tags-input/TagsInput.vue.d.ts +38 -0
- package/dist/types/components/tags-input/TagsInputInput.vue.d.ts +8 -0
- package/dist/types/components/tags-input/TagsInputItem.vue.d.ts +20 -0
- package/dist/types/components/tags-input/TagsInputItemDelete.vue.d.ts +20 -0
- package/dist/types/components/tags-input/TagsInputItemText.vue.d.ts +20 -0
- package/dist/types/components/tags-input/index.d.ts +5 -0
- package/dist/types/components/textarea/Textarea.vue.d.ts +13 -0
- package/dist/types/components/textarea/index.d.ts +1 -0
- package/dist/types/components/toast/Toast.vue.d.ts +98 -0
- package/dist/types/components/toast/ToastAction.vue.d.ts +20 -0
- package/dist/types/components/toast/ToastClose.vue.d.ts +8 -0
- package/dist/types/components/toast/ToastDescription.vue.d.ts +20 -0
- package/dist/types/components/toast/ToastProvider.vue.d.ts +16 -0
- package/dist/types/components/toast/ToastTitle.vue.d.ts +20 -0
- package/dist/types/components/toast/ToastViewport.vue.d.ts +8 -0
- package/dist/types/components/toast/Toaster.vue.d.ts +32 -0
- package/dist/types/components/toast/index.d.ts +22 -0
- package/dist/types/components/toast/use-toast.d.ts +25 -0
- package/dist/types/components/toggle/Toggle.vue.d.ts +36 -0
- package/dist/types/components/toggle/index.d.ts +7 -0
- package/dist/types/components/toggle-group/ToggleGroup.vue.d.ts +44 -0
- package/dist/types/components/toggle-group/ToggleGroupItem.vue.d.ts +32 -0
- package/dist/types/components/toggle-group/index.d.ts +2 -0
- package/dist/types/components/tooltip/Tooltip.vue.d.ts +43 -0
- package/dist/types/components/tooltip/TooltipContent.vue.d.ts +28 -0
- package/dist/types/components/tooltip/TooltipProvider.vue.d.ts +18 -0
- package/dist/types/components/tooltip/TooltipTrigger.vue.d.ts +16 -0
- package/dist/types/components/tooltip/index.d.ts +4 -0
- package/dist/types/components/trace/Trace.vue.d.ts +19 -0
- package/dist/types/components/trace/TraceCollapsible.vue.d.ts +26 -0
- package/dist/types/components/trace/TraceCollapsibleContent.vue.d.ts +20 -0
- package/dist/types/components/trace/TraceCollapsibleTrigger.vue.d.ts +20 -0
- package/dist/types/components/trace/TraceDescription.vue.d.ts +19 -0
- package/dist/types/components/trace/TraceIcon.vue.d.ts +19 -0
- package/dist/types/components/trace/TraceLine.vue.d.ts +30 -0
- package/dist/types/components/trace/TraceTitle.vue.d.ts +19 -0
- package/dist/types/components/trace/index.d.ts +8 -0
- package/dist/types/components/typography/Typography.vue.d.ts +23 -0
- package/dist/types/components/typography/index.d.ts +17 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/installer.d.ts +6 -0
- package/dist/types/lib/cn.d.ts +2 -0
- package/dist/types/lib/collection.d.ts +10 -0
- package/dist/types/lib/controllable.d.ts +11 -0
- package/dist/types/lib/input-attributes.d.ts +4 -0
- package/dist/types/lib/layout-content.d.ts +6 -0
- package/dist/types/lib/menu-entries.d.ts +11 -0
- package/dist/types/lib/render-content.d.ts +14 -0
- package/dist/types/plugin.d.ts +6 -0
- package/dist/types/themes/catalog.d.ts +22 -0
- package/dist/types/themes/index.d.ts +30 -0
- package/dist/types/themes/palette-data.d.ts +8 -0
- package/package.json +100 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,169 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @icecreamqaq/shadcn
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Vue 3 组件库,默认采用 shadcn-vue 的 Nova 风格、Inter 字体和 Neutral 配色。发布包包含编译后的 ESM、Vue 和 TypeScript 类型声明,以及使用 `sv:` 前缀的独立 CSS。项目使用 Bun 安装依赖、运行示例和构建。
|
|
4
|
+
|
|
5
|
+
## 中文组件文档
|
|
6
|
+
|
|
7
|
+
[在线组件文档](https://shadcn.icecreamqaq.com) · [快速开始](https://shadcn.icecreamqaq.com/guide/getting-started.html) · [样式与主题](https://shadcn.icecreamqaq.com/guide/theming.html)
|
|
8
|
+
|
|
9
|
+
文档站可按名称或用途检索 73 个组件组,并查阅从发布声明生成的 API。在侧栏「组件目录」下方可以切换选项式和组合式 API,选择会自动保存。每组都提供相应的实时预览和完整源码,模板使用小写短横线标签,区块依次为 `template`、`script` 和可选的 `style`。
|
|
10
|
+
|
|
11
|
+
在仓库中运行 `bun run docs:dev` 可启动本地文档站。`bun run docs:build` 会检查全部示例并生成 `docs/.vitepress/dist/`,`bun run docs:preview` 可预览构建产物。
|
|
12
|
+
|
|
13
|
+
## 安装到其他 Vue 项目
|
|
14
|
+
|
|
15
|
+
在 Vue 3.5.40 或更高的 Vue 3 项目中,从 npm 安装组件库。
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
bun add @icecreamqaq/shadcn
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
如需验证仓库源码,可在组件库目录生成本地安装包。
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
bun install --frozen-lockfile
|
|
25
|
+
bun pm pack
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
在 Vue 应用中安装生成的文件。以下以 `0.1.0` 为例,假设两个项目位于同一父目录。
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
bun add ../Shadcn-VUE/icecreamqaq-shadcn-0.1.0.tgz
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
在应用入口引入一次样式。这个 CSS 已包含组件所需的工具类、主题、动画和 Sonner 样式,应用可以直接使用。
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
// main.ts
|
|
38
|
+
import "@icecreamqaq/shadcn/style.css"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
根入口支持命名导入,每个组件组也提供单独的入口。Vue 由宿主应用提供。
|
|
42
|
+
|
|
43
|
+
组件统一使用 `S` 前缀。导入 `SInput` 后,在 Vue 模板中使用 `<s-input v-model="email" />`。
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
import { SInput } from "@icecreamqaq/shadcn/input"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
如需在整个应用中使用这些标签,可在应用入口注册插件。`/plugin` 同时提供全局组件的 TypeScript 类型。
|
|
50
|
+
|
|
51
|
+
```ts
|
|
52
|
+
import { createApp } from "vue"
|
|
53
|
+
import ShadcnVue from "@icecreamqaq/shadcn/plugin"
|
|
54
|
+
import "@icecreamqaq/shadcn/style.css"
|
|
55
|
+
import App from "./App.vue"
|
|
56
|
+
|
|
57
|
+
createApp(App).use(ShadcnVue).mount("#app")
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
```vue
|
|
61
|
+
<template>
|
|
62
|
+
<s-dialog v-model:open="open" title="订单详情" description="订单已确认,正在准备发货。">
|
|
63
|
+
<template #trigger><s-button :variant="variant">查看详情</s-button></template>
|
|
64
|
+
<template #footer="{ close }"><s-button @click="close()">完成</s-button></template>
|
|
65
|
+
</s-dialog>
|
|
66
|
+
</template>
|
|
67
|
+
|
|
68
|
+
<script setup lang="ts">
|
|
69
|
+
import { ref } from "vue"
|
|
70
|
+
import { SButton, type ButtonVariants } from "@icecreamqaq/shadcn/button"
|
|
71
|
+
import { SDialog } from "@icecreamqaq/shadcn/dialog"
|
|
72
|
+
|
|
73
|
+
const open = ref(false)
|
|
74
|
+
const variant: ButtonVariants["variant"] = "outline"
|
|
75
|
+
</script>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
消息正文可以直接写成 `<s-bubble>已保存</s-bubble>`。字段、弹层等组件用具名插槽定制布局。Select、Menu 和 Table 同时支持数据配置、声明式子组件和作用域插槽。[组件 API 指南](https://shadcn.icecreamqaq.com/guide/component-api.html)
|
|
79
|
+
|
|
80
|
+
## 样式与主题
|
|
81
|
+
|
|
82
|
+
文档底部可以切换 9 种组件风格和 27 套配色。点击刷子可以调色、修改字体、圆角、阴影和尺寸,并下载自定义 JSON。应用中在基础 CSS 之后导入 `@icecreamqaq/shadcn/themes.css`,通过 `@icecreamqaq/shadcn/themes` 的 `applyThemePreset` 应用预设或下载的文件。[使用示例](https://shadcn.icecreamqaq.com/guide/theming.html)
|
|
83
|
+
|
|
84
|
+
- 工具类使用 Tailwind CSS v4 的前缀语法,例如 `sv:inline-flex`、`sv:hover:bg-accent` 和 `sv:md:flex`。基础样式通过组件上的 `data-sv-ui` 作用于对应元素,弹层通过 Vue Teleport 挂载时也会带上标记。
|
|
85
|
+
- 主题变量使用 `--sv-*`。在组件库 CSS 之后覆盖变量即可定制颜色和圆角。给 `<html>` 添加 `sv-dark` 可同步切换页面中的组件和挂载在 `body` 的弹层。局部使用 `sv-dark` 时,其作用域是该元素的 DOM 子树。
|
|
86
|
+
- 组件的 `class` 支持字符串、数组和对象。内置的前缀工具类可以覆盖同组默认值,例如 `<s-button class="sv:h-10">`。预编译 CSS 包含本库源代码实际用到的工具类。新增的自定义样式可以使用宿主 CSS 类。
|
|
87
|
+
|
|
88
|
+
```css
|
|
89
|
+
:root {
|
|
90
|
+
--sv-primary: #244bb3;
|
|
91
|
+
--sv-primary-foreground: white;
|
|
92
|
+
--sv-radius: 0.75rem;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sv-dark {
|
|
96
|
+
--sv-primary: #a7bdff;
|
|
97
|
+
--sv-primary-foreground: #142657;
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## 组件范围
|
|
102
|
+
|
|
103
|
+
以下为官方注册表的全部 68 个 UI 组件组。每个名称均可用作 `@icecreamqaq/shadcn/<名称>` 的导入路径。组内公开的子组件、变体和组合函数与该版本的注册表对应。[上游组件源码](https://github.com/unovue/shadcn-vue/tree/eba11c3b87259a46826c6372bb794ef7fcc98127/apps/v4/registry/new-york-v4/ui)
|
|
104
|
+
|
|
105
|
+
| 类别 | 组件组 |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| 输入与表单 | button、button-group、checkbox、combobox、field、form、input、input-group、input-otp、label、native-select、number-field、pin-input、radio-group、select、slider、switch、tags-input、textarea、toggle、toggle-group |
|
|
108
|
+
| 日期与数据 | calendar、range-calendar、chart、progress、table |
|
|
109
|
+
| 导航与菜单 | breadcrumb、command、context-menu、dropdown-menu、menubar、navigation-menu、pagination、sidebar、stepper、tabs |
|
|
110
|
+
| 弹层与反馈 | alert、alert-dialog、dialog、drawer、hover-card、popover、sheet、sonner、tooltip |
|
|
111
|
+
| 内容与布局 | accordion、aspect-ratio、avatar、badge、card、carousel、collapsible、empty、item、kbd、resizable、scroll-area、separator、skeleton、spinner |
|
|
112
|
+
| 消息与交互 | attachment、bubble、code-block、marker、message、message-scroller、questionnaire、trace |
|
|
113
|
+
|
|
114
|
+
另外提供五个组件组。
|
|
115
|
+
|
|
116
|
+
| 入口 | 用法 |
|
|
117
|
+
| --- | --- |
|
|
118
|
+
| `menu` | 通过 `options` 或 `s-menu-item` 与 `s-sub-menu` 声明导航,选中值和展开项可分别受控。 |
|
|
119
|
+
| `date-picker` | `SDatePicker` 组合 SCalendar 与 SPopover,接受 `DateValue` 类型的 `v-model`、`locale`、`min-value` 和 `max-value`。 |
|
|
120
|
+
| `data-table` | `<s-data-table :table="table" />` 渲染 TanStack Vue Table v9 的 `useTable()` 实例。也可传入 `data` 和 `columns`,或使用 `s-table-column` 声明列。 |
|
|
121
|
+
| `typography` | `<s-typography variant="h2">` 提供标题、正文、引用、列表、表格和行内代码等排版。 |
|
|
122
|
+
| `toast` | 保留旧版 SToast 组件与 `useToast()`。根入口的 `SToaster`、`toast` 使用 Sonner,旧版对应名称为 `SToastToaster`、`legacyToast`。 |
|
|
123
|
+
|
|
124
|
+
Attachment、Card 和 Item 可通过根组件的标题、说明和具名插槽组织内容。例如 `<s-attachment title="评审摘要.txt" previewable @preview="openPreview" />` 会生成可用键盘激活的预览按钮。状态默认值、数组与子组件注册、VNode 和插槽的使用示例见文档。[状态与渲染](https://shadcn.icecreamqaq.com/guide/component-api.html)
|
|
125
|
+
|
|
126
|
+
## 本地运行
|
|
127
|
+
|
|
128
|
+
```sh
|
|
129
|
+
bun install --frozen-lockfile
|
|
130
|
+
bun run dev # 打开终端显示的地址,体验示例里的弹窗、表单和主题
|
|
131
|
+
bun run build # 输出 dist/ 中的 JavaScript、声明和 CSS
|
|
132
|
+
bun run typecheck
|
|
133
|
+
bun run test # 检查公开入口、SSR、类名合并和 CSS 隔离
|
|
134
|
+
bun run test:package # 在临时 Vue 项目中安装实际 tarball,构建并运行浏览器验证
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
浏览器测试会使用本机的 Chrome 或已安装的 Playwright Chromium,也可通过 `CHROME_PATH` 指定浏览器可执行文件。
|
|
138
|
+
|
|
139
|
+
## 通过版本分支发布到 npm
|
|
140
|
+
|
|
141
|
+
`Publish package and docs` 会在推送 `master` 或手动运行时执行 npm 打包、测试与发布预演。Actions 运行页可以下载通过验证的压缩包。推送 `vX.Y.Z` 分支会额外触发 npm 正式发布,分支名决定版本号。例如 `v0.2.0` 会在 runner 的工作副本中生成 `@icecreamqaq/shadcn@0.2.0`。[发布工作流](https://github.com/IceCream-QAQ/Shadcn/blob/master/.github/workflows/publish.yml)
|
|
142
|
+
|
|
143
|
+
首次自动发布前,在仓库的 Actions Secrets 中添加 `NPM_TOKEN`。使用对 `@icecreamqaq` 作用域有写权限、开启 **Bypass 2FA** 的 npm granular access token。包创建后可在 npm 的 Trusted Publisher 设置中选择 GitHub Actions,填写账户 `IceCream-QAQ`、仓库 `Shadcn`、工作流文件 `publish.yml`,环境名留空,并允许 `npm publish`。配置完成后即可移除用于首次发布的 Secret,后续发布使用 OIDC。[GitHub Secrets 设置](https://github.com/IceCream-QAQ/Shadcn/settings/secrets/actions) · [npm 令牌说明](https://docs.npmjs.com/creating-and-viewing-access-tokens/) · [npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers/)
|
|
144
|
+
|
|
145
|
+
发布 `0.1.0` 时,在要发布的提交上运行以下命令。
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
git push origin HEAD:refs/heads/v0.1.0
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
发布任务使用测试通过的同一份 `.tgz`。重复推送同一版本时,已发布压缩包的 SHA-512 相同就跳过上传,内容不同则报错并提示使用新版本号。
|
|
152
|
+
|
|
153
|
+
## 部署文档到 EdgeOne Pages
|
|
154
|
+
|
|
155
|
+
同一工作流在 GitHub 的 runner 上使用 Bun 构建组件库、检查示例并生成 VitePress 静态站点。它将 `docs/.vitepress/dist/` 的内容打成 `edgeone-docs.zip`,首页位于 ZIP 根目录。EdgeOne 部署任务从本次运行下载这个制品,校验摘要后直接上传。Actions 运行摘要提供站点地址和控制台部署详情。
|
|
156
|
+
|
|
157
|
+
| 触发方式 | 文档部署 |
|
|
158
|
+
| --- | --- |
|
|
159
|
+
| 推送到 `master` | EdgeOne 预览环境(`preview`) |
|
|
160
|
+
| 推送到 `vX.Y.Z` 版本分支 | EdgeOne 正式环境(`production`),文档展示对应版本 |
|
|
161
|
+
| 手动运行工作流 | 构建文档,提供可下载的静态站点制品 |
|
|
162
|
+
|
|
163
|
+
在 GitHub 仓库的 **Settings → Secrets and variables → Actions** 中,将目标 Pages 项目名填入变量 `EDGEONE_PROJECT_NAME`,将 Pages 部署令牌填入 Secret `EDGEONE_API_TOKEN`。EdgeOne 侧使用「直接上传」类型的项目,使用预构建 ZIP 部署,构建机器和 Bun 都由 GitHub Actions 提供。[EdgeOne 直接上传说明](https://pages.edgeone.ai/document/direct-upload) · [腾讯云 GitHub Actions 部署文档](https://cloud.tencent.com/document/product/1552/127398)
|
|
164
|
+
|
|
165
|
+
## 许可证
|
|
166
|
+
|
|
167
|
+
本项目的原创代码和文档采用 Apache License 2.0(`Apache-2.0`)。[许可证全文](./LICENSE)
|
|
168
|
+
|
|
169
|
+
来自 `shadcn-vue` 的组件代码和预设样式采用 MIT 许可证,上游版本固定为 `eba11c3b87259a46826c6372bb794ef7fcc98127`。随包字体采用 SIL Open Font License 1.1,各字体的版权声明与许可全文位于 `dist/theme-fonts/`。[第三方许可声明](./THIRD-PARTY-NOTICES)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
shadcn-vue (components and theme presets)
|
|
2
|
+
https://github.com/unovue/shadcn-vue/tree/eba11c3b87259a46826c6372bb794ef7fcc98127
|
|
3
|
+
|
|
4
|
+
MIT License
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2023 unovue
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
SOFTWARE.
|
|
25
|
+
|
|
26
|
+
tailwindcss
|
|
27
|
+
|
|
28
|
+
MIT License
|
|
29
|
+
|
|
30
|
+
Copyright (c) Tailwind Labs, Inc.
|
|
31
|
+
|
|
32
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
33
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
34
|
+
in the Software without restriction, including without limitation the rights
|
|
35
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
36
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
37
|
+
furnished to do so, subject to the following conditions:
|
|
38
|
+
|
|
39
|
+
The above copyright notice and this permission notice shall be included in all
|
|
40
|
+
copies or substantial portions of the Software.
|
|
41
|
+
|
|
42
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
43
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
44
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
45
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
46
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
47
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
48
|
+
SOFTWARE.
|
|
49
|
+
|
|
50
|
+
tw-animate-css
|
|
51
|
+
|
|
52
|
+
MIT License
|
|
53
|
+
|
|
54
|
+
Copyright (c) 2025 Wombosvideo
|
|
55
|
+
|
|
56
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
57
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
58
|
+
in the Software without restriction, including without limitation the rights
|
|
59
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
60
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
61
|
+
furnished to do so, subject to the following conditions:
|
|
62
|
+
|
|
63
|
+
The above copyright notice and this permission notice shall be included in all
|
|
64
|
+
copies or substantial portions of the Software.
|
|
65
|
+
|
|
66
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
67
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
68
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
69
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
70
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
71
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
72
|
+
SOFTWARE.
|
|
73
|
+
|
|
74
|
+
vue-sonner
|
|
75
|
+
|
|
76
|
+
MIT License
|
|
77
|
+
|
|
78
|
+
Copyright (c) 2022 Yunwei Xiao
|
|
79
|
+
|
|
80
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
81
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
82
|
+
in the Software without restriction, including without limitation the rights
|
|
83
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
84
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
85
|
+
furnished to do so, subject to the following conditions:
|
|
86
|
+
|
|
87
|
+
The above copyright notice and this permission notice shall be included in all
|
|
88
|
+
copies or substantial portions of the Software.
|
|
89
|
+
|
|
90
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
91
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
92
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
93
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
94
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
95
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
96
|
+
SOFTWARE.
|
|
97
|
+
|
|
98
|
+
Bundled theme fonts
|
|
99
|
+
|
|
100
|
+
Inter, Figtree, JetBrains Mono, Noto Sans and Playfair Display are distributed under the SIL Open Font License 1.1. Individual copyright notices and license texts accompany the fonts in dist/theme-fonts/. Source versions and checksums are listed in dist/theme-fonts/sources.json.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { _, a, b, c, _ as _2, a as a2, b as b2, c as c2 } from "../shared/Accordion.vue_vue_type_script_setup_true_lang-BhezdmBM.js";
|
|
2
|
+
export {
|
|
3
|
+
_ as Accordion,
|
|
4
|
+
a as AccordionContent,
|
|
5
|
+
b as AccordionItem,
|
|
6
|
+
c as AccordionTrigger,
|
|
7
|
+
_2 as SAccordion,
|
|
8
|
+
a2 as SAccordionContent,
|
|
9
|
+
b2 as SAccordionItem,
|
|
10
|
+
c2 as SAccordionTrigger
|
|
11
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { _, a, b, c, d, e, f, g, h, _ as _2, a as a2, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2 } from "../shared/AlertDialogCancel.vue_vue_type_script_setup_true_lang-B6sUY4Dh.js";
|
|
2
|
+
export {
|
|
3
|
+
_ as AlertDialog,
|
|
4
|
+
a as AlertDialogAction,
|
|
5
|
+
b as AlertDialogCancel,
|
|
6
|
+
c as AlertDialogContent,
|
|
7
|
+
d as AlertDialogDescription,
|
|
8
|
+
e as AlertDialogFooter,
|
|
9
|
+
f as AlertDialogHeader,
|
|
10
|
+
g as AlertDialogTitle,
|
|
11
|
+
h as AlertDialogTrigger,
|
|
12
|
+
_2 as SAlertDialog,
|
|
13
|
+
a2 as SAlertDialogAction,
|
|
14
|
+
b2 as SAlertDialogCancel,
|
|
15
|
+
c2 as SAlertDialogContent,
|
|
16
|
+
d2 as SAlertDialogDescription,
|
|
17
|
+
e2 as SAlertDialogFooter,
|
|
18
|
+
f2 as SAlertDialogHeader,
|
|
19
|
+
g2 as SAlertDialogTitle,
|
|
20
|
+
h2 as SAlertDialogTrigger
|
|
21
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createVNode, createBlock, withCtx, createCommentVNode } from "vue";
|
|
3
|
+
import { C as ContentOutlet } from "../shared/render-content-Nt9WBpp8.js";
|
|
4
|
+
import { c as cn } from "../shared/cn-B75z2LSx.js";
|
|
5
|
+
const _hoisted_1$2 = ["data-sv-class"];
|
|
6
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
|
+
...{ name: "SAlertTitle" },
|
|
8
|
+
__name: "AlertTitle",
|
|
9
|
+
props: {
|
|
10
|
+
class: { type: [Boolean, null, String, Object, Array] }
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createElementBlock("div", {
|
|
16
|
+
"data-sv-class": props.class || void 0,
|
|
17
|
+
"data-sv-ui": "",
|
|
18
|
+
"data-slot": "alert-title",
|
|
19
|
+
class: normalizeClass(unref(cn)("sv:col-start-2 sv:line-clamp-1 sv:min-h-4 sv:font-medium sv:tracking-tight", props.class))
|
|
20
|
+
}, [
|
|
21
|
+
renderSlot(_ctx.$slots, "default")
|
|
22
|
+
], 10, _hoisted_1$2);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
const _hoisted_1$1 = ["data-sv-class"];
|
|
27
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
28
|
+
...{ name: "SAlertDescription" },
|
|
29
|
+
__name: "AlertDescription",
|
|
30
|
+
props: {
|
|
31
|
+
class: { type: [Boolean, null, String, Object, Array] }
|
|
32
|
+
},
|
|
33
|
+
setup(__props) {
|
|
34
|
+
const props = __props;
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createElementBlock("div", {
|
|
37
|
+
"data-sv-class": props.class || void 0,
|
|
38
|
+
"data-sv-ui": "",
|
|
39
|
+
"data-slot": "alert-description",
|
|
40
|
+
class: normalizeClass(unref(cn)("sv:text-muted-foreground sv:col-start-2 sv:text-sm sv:[&_p]:leading-relaxed", props.class))
|
|
41
|
+
}, [
|
|
42
|
+
renderSlot(_ctx.$slots, "default")
|
|
43
|
+
], 10, _hoisted_1$1);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
const _hoisted_1 = ["data-sv-class"];
|
|
48
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
|
+
...{ name: "SAlert" },
|
|
50
|
+
__name: "Alert",
|
|
51
|
+
props: {
|
|
52
|
+
title: { type: [Object, String, Number, null, Array, Function] },
|
|
53
|
+
description: { type: [Object, String, Number, null, Array, Function] },
|
|
54
|
+
icon: { type: [Object, String, Number, null, Array, Function] },
|
|
55
|
+
class: { type: [Boolean, null, String, Object, Array] },
|
|
56
|
+
variant: {}
|
|
57
|
+
},
|
|
58
|
+
setup(__props) {
|
|
59
|
+
const props = __props;
|
|
60
|
+
return (_ctx, _cache) => {
|
|
61
|
+
return openBlock(), createElementBlock("div", {
|
|
62
|
+
"data-sv-class": props.class || void 0,
|
|
63
|
+
"data-sv-ui": "",
|
|
64
|
+
"data-slot": "alert",
|
|
65
|
+
class: normalizeClass(unref(cn)(unref(alertVariants)({ variant: __props.variant }), props.class)),
|
|
66
|
+
role: "alert"
|
|
67
|
+
}, [
|
|
68
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
69
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
70
|
+
createVNode(unref(ContentOutlet), { content: __props.icon }, null, 8, ["content"])
|
|
71
|
+
]),
|
|
72
|
+
_ctx.$slots.title || __props.title != null ? (openBlock(), createBlock(_sfc_main$2, { key: 0 }, {
|
|
73
|
+
default: withCtx(() => [
|
|
74
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
75
|
+
createVNode(unref(ContentOutlet), { content: __props.title }, null, 8, ["content"])
|
|
76
|
+
])
|
|
77
|
+
]),
|
|
78
|
+
_: 3
|
|
79
|
+
})) : createCommentVNode("", true),
|
|
80
|
+
_ctx.$slots.description || __props.description != null ? (openBlock(), createBlock(_sfc_main$1, { key: 1 }, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
83
|
+
createVNode(unref(ContentOutlet), { content: __props.description }, null, 8, ["content"])
|
|
84
|
+
])
|
|
85
|
+
]),
|
|
86
|
+
_: 3
|
|
87
|
+
})) : createCommentVNode("", true)
|
|
88
|
+
])
|
|
89
|
+
], 10, _hoisted_1);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
const alertVariants = cva(
|
|
94
|
+
"sv:relative sv:w-full sv:rounded-lg sv:border sv:px-4 sv:py-3 sv:text-sm sv:grid sv:has-[>svg]:grid-cols-[calc(var(--sv-spacing)*4)_1fr] sv:grid-cols-[0_1fr] sv:has-[>svg]:gap-x-3 sv:gap-y-0.5 sv:items-start sv:[&>svg]:size-4 sv:[&>svg]:translate-y-0.5 sv:[&>svg]:text-current",
|
|
95
|
+
{
|
|
96
|
+
variants: {
|
|
97
|
+
variant: {
|
|
98
|
+
default: "sv:bg-card sv:text-card-foreground",
|
|
99
|
+
destructive: "sv:text-destructive sv:bg-card sv:[&>svg]:text-current sv:*:data-[slot=alert-description]:text-destructive/90"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
defaultVariants: {
|
|
103
|
+
variant: "default"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
export {
|
|
108
|
+
_sfc_main as Alert,
|
|
109
|
+
_sfc_main$1 as AlertDescription,
|
|
110
|
+
_sfc_main$2 as AlertTitle,
|
|
111
|
+
_sfc_main as SAlert,
|
|
112
|
+
_sfc_main$1 as SAlertDescription,
|
|
113
|
+
_sfc_main$2 as SAlertTitle,
|
|
114
|
+
alertVariants
|
|
115
|
+
};
|