@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.
Files changed (671) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +168 -2
  3. package/THIRD-PARTY-NOTICES +100 -0
  4. package/dist/components/accordion.js +11 -0
  5. package/dist/components/alert-dialog.js +21 -0
  6. package/dist/components/alert.js +115 -0
  7. package/dist/components/aspect-ratio.js +5 -0
  8. package/dist/components/attachment.js +366 -0
  9. package/dist/components/avatar.js +9 -0
  10. package/dist/components/badge.js +54 -0
  11. package/dist/components/breadcrumb.js +17 -0
  12. package/dist/components/bubble.js +202 -0
  13. package/dist/components/button-group.js +110 -0
  14. package/dist/components/button.js +70 -0
  15. package/dist/components/calendar.js +27 -0
  16. package/dist/components/card.js +17 -0
  17. package/dist/components/carousel.js +14 -0
  18. package/dist/components/chart.js +328 -0
  19. package/dist/components/checkbox.js +5 -0
  20. package/dist/components/code-block.js +560 -0
  21. package/dist/components/collapsible.js +9 -0
  22. package/dist/components/combobox.js +28 -0
  23. package/dist/components/command.js +531 -0
  24. package/dist/components/context-menu.js +31 -0
  25. package/dist/components/data-table.js +8 -0
  26. package/dist/components/date-picker.js +5 -0
  27. package/dist/components/dialog.js +24 -0
  28. package/dist/components/drawer.js +21 -0
  29. package/dist/components/dropdown-menu.js +34 -0
  30. package/dist/components/empty.js +215 -0
  31. package/dist/components/field.js +384 -0
  32. package/dist/components/form.js +353 -0
  33. package/dist/components/hover-card.js +9 -0
  34. package/dist/components/input-group.js +271 -0
  35. package/dist/components/input-otp.js +15 -0
  36. package/dist/components/input.js +5 -0
  37. package/dist/components/item.js +366 -0
  38. package/dist/components/kbd.js +7 -0
  39. package/dist/components/label.js +5 -0
  40. package/dist/components/marker.js +120 -0
  41. package/dist/components/menu.js +9 -0
  42. package/dist/components/menubar.js +33 -0
  43. package/dist/components/message-scroller.js +18 -0
  44. package/dist/components/message.js +15 -0
  45. package/dist/components/native-select.js +10 -0
  46. package/dist/components/navigation-menu.js +362 -0
  47. package/dist/components/number-field.js +13 -0
  48. package/dist/components/pagination.js +19 -0
  49. package/dist/components/pin-input.js +11 -0
  50. package/dist/components/popover.js +12 -0
  51. package/dist/components/progress.js +5 -0
  52. package/dist/components/questionnaire.js +35 -0
  53. package/dist/components/radio-group.js +7 -0
  54. package/dist/components/range-calendar.js +27 -0
  55. package/dist/components/resizable.js +9 -0
  56. package/dist/components/scroll-area.js +7 -0
  57. package/dist/components/select.js +25 -0
  58. package/dist/components/separator.js +5 -0
  59. package/dist/components/sheet.js +20 -0
  60. package/dist/components/sidebar.js +994 -0
  61. package/dist/components/skeleton.js +5 -0
  62. package/dist/components/slider.js +5 -0
  63. package/dist/components/sonner.js +6 -0
  64. package/dist/components/spinner.js +5 -0
  65. package/dist/components/stepper.js +17 -0
  66. package/dist/components/switch.js +5 -0
  67. package/dist/components/table.js +24 -0
  68. package/dist/components/tabs.js +11 -0
  69. package/dist/components/tags-input.js +13 -0
  70. package/dist/components/textarea.js +5 -0
  71. package/dist/components/toast.js +398 -0
  72. package/dist/components/toggle-group.js +7 -0
  73. package/dist/components/toggle.js +67 -0
  74. package/dist/components/tooltip.js +11 -0
  75. package/dist/components/trace.js +19 -0
  76. package/dist/components/typography.js +45 -0
  77. package/dist/index.js +952 -0
  78. package/dist/plugin.js +4 -0
  79. package/dist/shared/Accordion.vue_vue_type_script_setup_true_lang-BhezdmBM.js +188 -0
  80. package/dist/shared/AlertDialogCancel.vue_vue_type_script_setup_true_lang-B6sUY4Dh.js +330 -0
  81. package/dist/shared/AspectRatio.vue_vue_type_script_setup_true_lang-B6hweimL.js +28 -0
  82. package/dist/shared/Avatar.vue_vue_type_script_setup_true_lang-DgPqiKii.js +106 -0
  83. package/dist/shared/BreadcrumbEllipsis.vue_vue_type_script_setup_true_lang-DQP0LgPV.js +230 -0
  84. package/dist/shared/CalendarPrevButton.vue_vue_type_script_setup_true_lang-DWbrbvcv.js +650 -0
  85. package/dist/shared/Card.vue_vue_type_script_setup_true_lang-JYyTaYm3.js +224 -0
  86. package/dist/shared/Carousel.vue_vue_type_script_setup_true_lang-CjYCPeqz.js +313 -0
  87. package/dist/shared/Checkbox.vue_vue_type_script_setup_true_lang-sSufnlH-.js +66 -0
  88. package/dist/shared/Collapsible.vue_vue_type_script_setup_true_lang-qPBs4Yek.js +109 -0
  89. package/dist/shared/ComboboxViewport.vue_vue_type_script_setup_true_lang-C-h9wJIG.js +512 -0
  90. package/dist/shared/ContextMenuShortcut.vue_vue_type_script_setup_true_lang-TZ9li3YC.js +570 -0
  91. package/dist/shared/DataTable.vue_vue_type_script_setup_true_lang-CsTy4vAx.js +151 -0
  92. package/dist/shared/DatePicker.vue_vue_type_script_setup_true_lang-DoKoROAU.js +87 -0
  93. package/dist/shared/Dialog.vue_vue_type_script_setup_true_lang-BJJFsrIw.js +324 -0
  94. package/dist/shared/DialogScrollContent.vue_vue_type_script_setup_true_lang-Bft3_F4-.js +104 -0
  95. package/dist/shared/DrawerClose.vue_vue_type_script_setup_true_lang-DkpMyCuG.js +332 -0
  96. package/dist/shared/DropdownMenuShortcut.vue_vue_type_script_setup_true_lang-B5ZxsMiX.js +562 -0
  97. package/dist/shared/HoverCard.vue_vue_type_script_setup_true_lang-DEkWWW26.js +148 -0
  98. package/dist/shared/Input.vue_vue_type_script_setup_true_lang-IA2KBs7t.js +39 -0
  99. package/dist/shared/InputOTPSeparator.vue_vue_type_script_setup_true_lang-Bff15uwl.js +209 -0
  100. package/dist/shared/KbdGroup.vue_vue_type_script_setup_true_lang-Dch3MwnO.js +52 -0
  101. package/dist/shared/Label.vue_vue_type_script_setup_true_lang-Brh2O3Kc.js +38 -0
  102. package/dist/shared/MenubarShortcut.vue_vue_type_script_setup_true_lang-ClJufowc.js +623 -0
  103. package/dist/shared/MessageGroup.vue_vue_type_script_setup_true_lang-C4uDibxI.js +240 -0
  104. package/dist/shared/MessageScrollerViewport.vue_vue_type_script_setup_true_lang-CKkBkP6W.js +1064 -0
  105. package/dist/shared/NativeSelectOptGroup.vue_vue_type_script_setup_true_lang-OeFv2KRm.js +26 -0
  106. package/dist/shared/NativeSelectOption.vue_vue_type_script_setup_true_lang-6Jhabcwc.js +112 -0
  107. package/dist/shared/NumberField.vue_vue_type_script_setup_true_lang-B8jTyepl.js +193 -0
  108. package/dist/shared/PaginationLast.vue_vue_type_script_setup_true_lang-BkE1JVh9.js +337 -0
  109. package/dist/shared/PinInputSeparator.vue_vue_type_script_setup_true_lang-CerVm6C6.js +191 -0
  110. package/dist/shared/Popover.vue_vue_type_script_setup_true_lang-Dz2xRx0U.js +149 -0
  111. package/dist/shared/PopoverAnchor.vue_vue_type_script_setup_true_lang-CNHZS-nW.js +28 -0
  112. package/dist/shared/Progress.vue_vue_type_script_setup_true_lang-COfnlrue.js +46 -0
  113. package/dist/shared/QuestionnaireSkip.vue_vue_type_script_setup_true_lang-BtvhZHNa.js +1675 -0
  114. package/dist/shared/RadioGroup.vue_vue_type_script_setup_true_lang-DZsaD20l.js +119 -0
  115. package/dist/shared/RangeCalendarPrevButton.vue_vue_type_script_setup_true_lang-urMwHqS5.js +519 -0
  116. package/dist/shared/ResizablePanelGroup.vue_vue_type_script_setup_true_lang-5UH0YCcF.js +210 -0
  117. package/dist/shared/ScrollArea.vue_vue_type_script_setup_true_lang-Cd0pqd8f.js +87 -0
  118. package/dist/shared/SelectScrollUpButton.vue_vue_type_script_setup_true_lang-Dz-S9Vbj.js +481 -0
  119. package/dist/shared/Separator.vue_vue_type_script_setup_true_lang-BXG9wjMC.js +34 -0
  120. package/dist/shared/Sheet.vue_vue_type_script_setup_true_lang-D9WoJHVj.js +318 -0
  121. package/dist/shared/SheetClose.vue_vue_type_script_setup_true_lang-DkS62B59.js +27 -0
  122. package/dist/shared/Skeleton.vue_vue_type_script_setup_true_lang-DvcJIUre.js +24 -0
  123. package/dist/shared/Slider.vue_vue_type_script_setup_true_lang-D3hk8LH6.js +73 -0
  124. package/dist/shared/Spinner.vue_vue_type_script_setup_true_lang-D3sa2ABK.js +25 -0
  125. package/dist/shared/StepperSeparator.vue_vue_type_script_setup_true_lang-tOiVnQ0l.js +265 -0
  126. package/dist/shared/SubMenu.vue_vue_type_script_setup_true_lang-C4tIk9T5.js +185 -0
  127. package/dist/shared/Switch.vue_vue_type_script_setup_true_lang-DqjkmqGQ.js +59 -0
  128. package/dist/shared/Table.vue_vue_type_script_setup_true_lang-DQyh2fJp.js +296 -0
  129. package/dist/shared/TableFooter.vue_vue_type_script_setup_true_lang-O6EDLhUR.js +48 -0
  130. package/dist/shared/Tabs.vue_vue_type_script_setup_true_lang-B6n64JLO.js +179 -0
  131. package/dist/shared/TagsInput.vue_vue_type_script_setup_true_lang-Cg7Cvqnx.js +208 -0
  132. package/dist/shared/Textarea.vue_vue_type_script_setup_true_lang-DXlFD0WI.js +34 -0
  133. package/dist/shared/ToggleGroup.vue_vue_type_script_setup_true_lang-CxcVtukm.js +128 -0
  134. package/dist/shared/Tooltip.vue_vue_type_script_setup_true_lang-BB9PubNG.js +177 -0
  135. package/dist/shared/TraceLine.vue_vue_type_script_setup_true_lang-C7ihvyRT.js +265 -0
  136. package/dist/shared/cn-B75z2LSx.js +9 -0
  137. package/dist/shared/controllable-OXg_b0ls.js +57 -0
  138. package/dist/shared/input-attributes-DqB-Edx6.js +37 -0
  139. package/dist/shared/installer-DKXqpXm5.js +962 -0
  140. package/dist/shared/layout-content-Bw6QwUId.js +15 -0
  141. package/dist/shared/menu-entries-3w1VfetC.js +22 -0
  142. package/dist/shared/options-DvfbgmQm.js +26 -0
  143. package/dist/shared/render-content-Nt9WBpp8.js +25 -0
  144. package/dist/shared/toast-B5QSIIl2.js +124 -0
  145. package/dist/style.css +4 -0
  146. package/dist/style.css.d.ts +1 -0
  147. package/dist/theme-fonts/figtree.LICENSE +93 -0
  148. package/dist/theme-fonts/figtree.woff2 +0 -0
  149. package/dist/theme-fonts/inter.LICENSE +93 -0
  150. package/dist/theme-fonts/inter.woff2 +0 -0
  151. package/dist/theme-fonts/jetbrains-mono.LICENSE +93 -0
  152. package/dist/theme-fonts/jetbrains-mono.woff2 +0 -0
  153. package/dist/theme-fonts/noto-sans.LICENSE +93 -0
  154. package/dist/theme-fonts/noto-sans.woff2 +0 -0
  155. package/dist/theme-fonts/playfair-display.LICENSE +93 -0
  156. package/dist/theme-fonts/playfair-display.woff2 +0 -0
  157. package/dist/theme-fonts/sources.json +89 -0
  158. package/dist/themes.css +1 -0
  159. package/dist/themes.js +1424 -0
  160. package/dist/types/components/accordion/Accordion.vue.d.ts +38 -0
  161. package/dist/types/components/accordion/AccordionContent.vue.d.ts +20 -0
  162. package/dist/types/components/accordion/AccordionItem.vue.d.ts +22 -0
  163. package/dist/types/components/accordion/AccordionTrigger.vue.d.ts +22 -0
  164. package/dist/types/components/accordion/index.d.ts +4 -0
  165. package/dist/types/components/alert/Alert.vue.d.ts +31 -0
  166. package/dist/types/components/alert/AlertDescription.vue.d.ts +19 -0
  167. package/dist/types/components/alert/AlertTitle.vue.d.ts +19 -0
  168. package/dist/types/components/alert/index.d.ts +8 -0
  169. package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts +58 -0
  170. package/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts +20 -0
  171. package/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts +20 -0
  172. package/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts +34 -0
  173. package/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts +20 -0
  174. package/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts +19 -0
  175. package/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts +19 -0
  176. package/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts +20 -0
  177. package/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts +16 -0
  178. package/dist/types/components/alert-dialog/index.d.ts +9 -0
  179. package/dist/types/components/aspect-ratio/AspectRatio.vue.d.ts +18 -0
  180. package/dist/types/components/aspect-ratio/index.d.ts +1 -0
  181. package/dist/types/components/attachment/Attachment.vue.d.ts +57 -0
  182. package/dist/types/components/attachment/AttachmentAction.vue.d.ts +26 -0
  183. package/dist/types/components/attachment/AttachmentActions.vue.d.ts +19 -0
  184. package/dist/types/components/attachment/AttachmentContent.vue.d.ts +19 -0
  185. package/dist/types/components/attachment/AttachmentDescription.vue.d.ts +19 -0
  186. package/dist/types/components/attachment/AttachmentGroup.vue.d.ts +19 -0
  187. package/dist/types/components/attachment/AttachmentMedia.vue.d.ts +21 -0
  188. package/dist/types/components/attachment/AttachmentTitle.vue.d.ts +19 -0
  189. package/dist/types/components/attachment/AttachmentTrigger.vue.d.ts +22 -0
  190. package/dist/types/components/attachment/index.d.ts +22 -0
  191. package/dist/types/components/avatar/Avatar.vue.d.ts +25 -0
  192. package/dist/types/components/avatar/AvatarFallback.vue.d.ts +20 -0
  193. package/dist/types/components/avatar/AvatarImage.vue.d.ts +16 -0
  194. package/dist/types/components/avatar/index.d.ts +3 -0
  195. package/dist/types/components/badge/Badge.vue.d.ts +22 -0
  196. package/dist/types/components/badge/index.d.ts +6 -0
  197. package/dist/types/components/breadcrumb/Breadcrumb.vue.d.ts +33 -0
  198. package/dist/types/components/breadcrumb/BreadcrumbEllipsis.vue.d.ts +19 -0
  199. package/dist/types/components/breadcrumb/BreadcrumbItem.vue.d.ts +19 -0
  200. package/dist/types/components/breadcrumb/BreadcrumbLink.vue.d.ts +22 -0
  201. package/dist/types/components/breadcrumb/BreadcrumbList.vue.d.ts +19 -0
  202. package/dist/types/components/breadcrumb/BreadcrumbPage.vue.d.ts +19 -0
  203. package/dist/types/components/breadcrumb/BreadcrumbSeparator.vue.d.ts +19 -0
  204. package/dist/types/components/breadcrumb/index.d.ts +7 -0
  205. package/dist/types/components/bubble/Bubble.vue.d.ts +35 -0
  206. package/dist/types/components/bubble/BubbleContent.vue.d.ts +22 -0
  207. package/dist/types/components/bubble/BubbleGroup.vue.d.ts +22 -0
  208. package/dist/types/components/bubble/BubbleReactions.vue.d.ts +27 -0
  209. package/dist/types/components/bubble/index.d.ts +14 -0
  210. package/dist/types/components/button/Button.vue.d.ts +25 -0
  211. package/dist/types/components/button/index.d.ts +7 -0
  212. package/dist/types/components/button-group/ButtonGroup.vue.d.ts +21 -0
  213. package/dist/types/components/button-group/ButtonGroupSeparator.vue.d.ts +10 -0
  214. package/dist/types/components/button-group/ButtonGroupText.vue.d.ts +24 -0
  215. package/dist/types/components/button-group/index.d.ts +8 -0
  216. package/dist/types/components/calendar/Calendar.vue.d.ts +56 -0
  217. package/dist/types/components/calendar/CalendarCell.vue.d.ts +20 -0
  218. package/dist/types/components/calendar/CalendarCellTrigger.vue.d.ts +30 -0
  219. package/dist/types/components/calendar/CalendarGrid.vue.d.ts +20 -0
  220. package/dist/types/components/calendar/CalendarGridBody.vue.d.ts +16 -0
  221. package/dist/types/components/calendar/CalendarGridHead.vue.d.ts +20 -0
  222. package/dist/types/components/calendar/CalendarGridRow.vue.d.ts +20 -0
  223. package/dist/types/components/calendar/CalendarHeadCell.vue.d.ts +20 -0
  224. package/dist/types/components/calendar/CalendarHeader.vue.d.ts +20 -0
  225. package/dist/types/components/calendar/CalendarHeading.vue.d.ts +19 -0
  226. package/dist/types/components/calendar/CalendarNextButton.vue.d.ts +20 -0
  227. package/dist/types/components/calendar/CalendarPrevButton.vue.d.ts +20 -0
  228. package/dist/types/components/calendar/index.d.ts +13 -0
  229. package/dist/types/components/card/Card.vue.d.ts +40 -0
  230. package/dist/types/components/card/CardAction.vue.d.ts +19 -0
  231. package/dist/types/components/card/CardContent.vue.d.ts +19 -0
  232. package/dist/types/components/card/CardDescription.vue.d.ts +19 -0
  233. package/dist/types/components/card/CardFooter.vue.d.ts +19 -0
  234. package/dist/types/components/card/CardHeader.vue.d.ts +19 -0
  235. package/dist/types/components/card/CardTitle.vue.d.ts +19 -0
  236. package/dist/types/components/card/index.d.ts +7 -0
  237. package/dist/types/components/carousel/Carousel.vue.d.ts +49 -0
  238. package/dist/types/components/carousel/CarouselContent.vue.d.ts +16 -0
  239. package/dist/types/components/carousel/CarouselItem.vue.d.ts +16 -0
  240. package/dist/types/components/carousel/CarouselNext.vue.d.ts +24 -0
  241. package/dist/types/components/carousel/CarouselPrevious.vue.d.ts +24 -0
  242. package/dist/types/components/carousel/index.d.ts +7 -0
  243. package/dist/types/components/carousel/interface.d.ts +23 -0
  244. package/dist/types/components/carousel/useCarousel.d.ts +22 -0
  245. package/dist/types/components/chart/ChartContainer.vue.d.ts +25 -0
  246. package/dist/types/components/chart/ChartLegendContent.vue.d.ts +42 -0
  247. package/dist/types/components/chart/ChartStyle.vue.d.ts +7 -0
  248. package/dist/types/components/chart/ChartTooltipContent.vue.d.ts +74 -0
  249. package/dist/types/components/chart/index.d.ts +28 -0
  250. package/dist/types/components/chart/utils.d.ts +11 -0
  251. package/dist/types/components/checkbox/Checkbox.vue.d.ts +27 -0
  252. package/dist/types/components/checkbox/index.d.ts +1 -0
  253. package/dist/types/components/code-block/CodeBlock.vue.d.ts +41 -0
  254. package/dist/types/components/code-block/CodeBlockActions.vue.d.ts +19 -0
  255. package/dist/types/components/code-block/CodeBlockContent.vue.d.ts +26 -0
  256. package/dist/types/components/code-block/CodeBlockCopyButton.vue.d.ts +37 -0
  257. package/dist/types/components/code-block/CodeBlockFooter.vue.d.ts +19 -0
  258. package/dist/types/components/code-block/CodeBlockHeader.vue.d.ts +19 -0
  259. package/dist/types/components/code-block/CodeBlockLine.vue.d.ts +23 -0
  260. package/dist/types/components/code-block/CodeBlockTitle.vue.d.ts +19 -0
  261. package/dist/types/components/code-block/CodeBlockToken.vue.d.ts +7 -0
  262. package/dist/types/components/code-block/highlighter.d.ts +13 -0
  263. package/dist/types/components/code-block/index.d.ts +21 -0
  264. package/dist/types/components/code-block/useHighlightedCode.d.ts +3 -0
  265. package/dist/types/components/collapsible/Collapsible.vue.d.ts +43 -0
  266. package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts +16 -0
  267. package/dist/types/components/collapsible/CollapsibleTrigger.vue.d.ts +16 -0
  268. package/dist/types/components/collapsible/index.d.ts +3 -0
  269. package/dist/types/components/combobox/Combobox.vue.d.ts +50 -0
  270. package/dist/types/components/combobox/ComboboxAnchor.vue.d.ts +20 -0
  271. package/dist/types/components/combobox/ComboboxEmpty.vue.d.ts +20 -0
  272. package/dist/types/components/combobox/ComboboxGroup.vue.d.ts +21 -0
  273. package/dist/types/components/combobox/ComboboxInput.vue.d.ts +25 -0
  274. package/dist/types/components/combobox/ComboboxItem.vue.d.ts +30 -0
  275. package/dist/types/components/combobox/ComboboxItemIndicator.vue.d.ts +20 -0
  276. package/dist/types/components/combobox/ComboboxList.vue.d.ts +34 -0
  277. package/dist/types/components/combobox/ComboboxSeparator.vue.d.ts +20 -0
  278. package/dist/types/components/combobox/ComboboxTrigger.vue.d.ts +20 -0
  279. package/dist/types/components/combobox/ComboboxViewport.vue.d.ts +20 -0
  280. package/dist/types/components/combobox/index.d.ts +12 -0
  281. package/dist/types/components/command/Command.vue.d.ts +54 -0
  282. package/dist/types/components/command/CommandDialog.vue.d.ts +30 -0
  283. package/dist/types/components/command/CommandEmpty.vue.d.ts +20 -0
  284. package/dist/types/components/command/CommandGroup.vue.d.ts +21 -0
  285. package/dist/types/components/command/CommandInput.vue.d.ts +13 -0
  286. package/dist/types/components/command/CommandItem.vue.d.ts +31 -0
  287. package/dist/types/components/command/CommandList.vue.d.ts +20 -0
  288. package/dist/types/components/command/CommandSeparator.vue.d.ts +20 -0
  289. package/dist/types/components/command/CommandShortcut.vue.d.ts +19 -0
  290. package/dist/types/components/command/index.d.ts +101 -0
  291. package/dist/types/components/context-menu/ContextMenu.vue.d.ts +35 -0
  292. package/dist/types/components/context-menu/ContextMenuCheckboxItem.vue.d.ts +31 -0
  293. package/dist/types/components/context-menu/ContextMenuContent.vue.d.ts +34 -0
  294. package/dist/types/components/context-menu/ContextMenuGroup.vue.d.ts +16 -0
  295. package/dist/types/components/context-menu/ContextMenuItem.vue.d.ts +28 -0
  296. package/dist/types/components/context-menu/ContextMenuLabel.vue.d.ts +21 -0
  297. package/dist/types/components/context-menu/ContextMenuPortal.vue.d.ts +16 -0
  298. package/dist/types/components/context-menu/ContextMenuRadioGroup.vue.d.ts +23 -0
  299. package/dist/types/components/context-menu/ContextMenuRadioItem.vue.d.ts +26 -0
  300. package/dist/types/components/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
  301. package/dist/types/components/context-menu/ContextMenuShortcut.vue.d.ts +19 -0
  302. package/dist/types/components/context-menu/ContextMenuSub.vue.d.ts +20 -0
  303. package/dist/types/components/context-menu/ContextMenuSubContent.vue.d.ts +36 -0
  304. package/dist/types/components/context-menu/ContextMenuSubTrigger.vue.d.ts +21 -0
  305. package/dist/types/components/context-menu/ContextMenuTrigger.vue.d.ts +16 -0
  306. package/dist/types/components/context-menu/index.d.ts +14 -0
  307. package/dist/types/components/data-table/DataTable.vue.d.ts +24 -0
  308. package/dist/types/components/data-table/index.d.ts +2 -0
  309. package/dist/types/components/date-picker/DatePicker.vue.d.ts +41 -0
  310. package/dist/types/components/date-picker/index.d.ts +1 -0
  311. package/dist/types/components/dialog/Dialog.vue.d.ts +58 -0
  312. package/dist/types/components/dialog/DialogClose.vue.d.ts +16 -0
  313. package/dist/types/components/dialog/DialogContent.vue.d.ts +37 -0
  314. package/dist/types/components/dialog/DialogDescription.vue.d.ts +20 -0
  315. package/dist/types/components/dialog/DialogFooter.vue.d.ts +22 -0
  316. package/dist/types/components/dialog/DialogHeader.vue.d.ts +19 -0
  317. package/dist/types/components/dialog/DialogOverlay.vue.d.ts +20 -0
  318. package/dist/types/components/dialog/DialogScrollContent.vue.d.ts +34 -0
  319. package/dist/types/components/dialog/DialogTitle.vue.d.ts +20 -0
  320. package/dist/types/components/dialog/DialogTrigger.vue.d.ts +16 -0
  321. package/dist/types/components/dialog/index.d.ts +10 -0
  322. package/dist/types/components/drawer/Drawer.vue.d.ts +70 -0
  323. package/dist/types/components/drawer/DrawerClose.vue.d.ts +16 -0
  324. package/dist/types/components/drawer/DrawerContent.vue.d.ts +34 -0
  325. package/dist/types/components/drawer/DrawerDescription.vue.d.ts +20 -0
  326. package/dist/types/components/drawer/DrawerFooter.vue.d.ts +19 -0
  327. package/dist/types/components/drawer/DrawerHeader.vue.d.ts +19 -0
  328. package/dist/types/components/drawer/DrawerOverlay.vue.d.ts +8 -0
  329. package/dist/types/components/drawer/DrawerTitle.vue.d.ts +20 -0
  330. package/dist/types/components/drawer/DrawerTrigger.vue.d.ts +16 -0
  331. package/dist/types/components/drawer/index.d.ts +9 -0
  332. package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +34 -0
  333. package/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +31 -0
  334. package/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  335. package/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +16 -0
  336. package/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts +24 -0
  337. package/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +21 -0
  338. package/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +23 -0
  339. package/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
  340. package/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
  341. package/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +19 -0
  342. package/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  343. package/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +36 -0
  344. package/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +21 -0
  345. package/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +16 -0
  346. package/dist/types/components/dropdown-menu/index.d.ts +15 -0
  347. package/dist/types/components/empty/Empty.vue.d.ts +32 -0
  348. package/dist/types/components/empty/EmptyContent.vue.d.ts +19 -0
  349. package/dist/types/components/empty/EmptyDescription.vue.d.ts +19 -0
  350. package/dist/types/components/empty/EmptyHeader.vue.d.ts +19 -0
  351. package/dist/types/components/empty/EmptyMedia.vue.d.ts +21 -0
  352. package/dist/types/components/empty/EmptyTitle.vue.d.ts +19 -0
  353. package/dist/types/components/empty/index.d.ts +11 -0
  354. package/dist/types/components/field/Field.vue.d.ts +26 -0
  355. package/dist/types/components/field/FieldContent.vue.d.ts +19 -0
  356. package/dist/types/components/field/FieldDescription.vue.d.ts +19 -0
  357. package/dist/types/components/field/FieldError.vue.d.ts +22 -0
  358. package/dist/types/components/field/FieldGroup.vue.d.ts +19 -0
  359. package/dist/types/components/field/FieldLabel.vue.d.ts +19 -0
  360. package/dist/types/components/field/FieldLegend.vue.d.ts +20 -0
  361. package/dist/types/components/field/FieldSeparator.vue.d.ts +19 -0
  362. package/dist/types/components/field/FieldSet.vue.d.ts +19 -0
  363. package/dist/types/components/field/FieldTitle.vue.d.ts +19 -0
  364. package/dist/types/components/field/index.d.ts +15 -0
  365. package/dist/types/components/form/Form.vue.d.ts +31 -0
  366. package/dist/types/components/form/FormControl.vue.d.ts +15 -0
  367. package/dist/types/components/form/FormDescription.vue.d.ts +19 -0
  368. package/dist/types/components/form/FormField.vue.d.ts +35 -0
  369. package/dist/types/components/form/FormItem.vue.d.ts +19 -0
  370. package/dist/types/components/form/FormLabel.vue.d.ts +20 -0
  371. package/dist/types/components/form/FormMessage.vue.d.ts +7 -0
  372. package/dist/types/components/form/FormValues.vue.d.ts +12 -0
  373. package/dist/types/components/form/index.d.ts +13 -0
  374. package/dist/types/components/form/injectionKeys.d.ts +2 -0
  375. package/dist/types/components/form/useFormField.d.ts +11 -0
  376. package/dist/types/components/hover-card/HoverCard.vue.d.ts +43 -0
  377. package/dist/types/components/hover-card/HoverCardContent.vue.d.ts +22 -0
  378. package/dist/types/components/hover-card/HoverCardTrigger.vue.d.ts +16 -0
  379. package/dist/types/components/hover-card/index.d.ts +3 -0
  380. package/dist/types/components/index.d.ts +73 -0
  381. package/dist/types/components/input/Input.vue.d.ts +13 -0
  382. package/dist/types/components/input/index.d.ts +1 -0
  383. package/dist/types/components/input-group/InputGroup.vue.d.ts +34 -0
  384. package/dist/types/components/input-group/InputGroupAddon.vue.d.ts +23 -0
  385. package/dist/types/components/input-group/InputGroupButton.vue.d.ts +26 -0
  386. package/dist/types/components/input-group/InputGroupInput.vue.d.ts +13 -0
  387. package/dist/types/components/input-group/InputGroupText.vue.d.ts +19 -0
  388. package/dist/types/components/input-group/InputGroupTextarea.vue.d.ts +7 -0
  389. package/dist/types/components/input-group/index.d.ts +15 -0
  390. package/dist/types/components/input-otp/InputOTP.vue.d.ts +55 -0
  391. package/dist/types/components/input-otp/InputOTPGroup.vue.d.ts +19 -0
  392. package/dist/types/components/input-otp/InputOTPSeparator.vue.d.ts +19 -0
  393. package/dist/types/components/input-otp/InputOTPSlot.vue.d.ts +23 -0
  394. package/dist/types/components/input-otp/index.d.ts +4 -0
  395. package/dist/types/components/item/Item.vue.d.ts +50 -0
  396. package/dist/types/components/item/ItemActions.vue.d.ts +19 -0
  397. package/dist/types/components/item/ItemContent.vue.d.ts +19 -0
  398. package/dist/types/components/item/ItemDescription.vue.d.ts +19 -0
  399. package/dist/types/components/item/ItemFooter.vue.d.ts +19 -0
  400. package/dist/types/components/item/ItemGroup.vue.d.ts +19 -0
  401. package/dist/types/components/item/ItemHeader.vue.d.ts +19 -0
  402. package/dist/types/components/item/ItemMedia.vue.d.ts +21 -0
  403. package/dist/types/components/item/ItemSeparator.vue.d.ts +8 -0
  404. package/dist/types/components/item/ItemTitle.vue.d.ts +19 -0
  405. package/dist/types/components/item/index.d.ts +20 -0
  406. package/dist/types/components/kbd/Kbd.vue.d.ts +19 -0
  407. package/dist/types/components/kbd/KbdGroup.vue.d.ts +19 -0
  408. package/dist/types/components/kbd/index.d.ts +2 -0
  409. package/dist/types/components/label/Label.vue.d.ts +20 -0
  410. package/dist/types/components/label/index.d.ts +1 -0
  411. package/dist/types/components/marker/Marker.vue.d.ts +30 -0
  412. package/dist/types/components/marker/MarkerContent.vue.d.ts +19 -0
  413. package/dist/types/components/marker/MarkerIcon.vue.d.ts +19 -0
  414. package/dist/types/components/marker/index.d.ts +8 -0
  415. package/dist/types/components/menu/Menu.vue.d.ts +37 -0
  416. package/dist/types/components/menu/MenuItem.vue.d.ts +27 -0
  417. package/dist/types/components/menu/SubMenu.vue.d.ts +25 -0
  418. package/dist/types/components/menu/index.d.ts +4 -0
  419. package/dist/types/components/menu/types.d.ts +23 -0
  420. package/dist/types/components/menubar/Menubar.vue.d.ts +38 -0
  421. package/dist/types/components/menubar/MenubarCheckboxItem.vue.d.ts +31 -0
  422. package/dist/types/components/menubar/MenubarContent.vue.d.ts +24 -0
  423. package/dist/types/components/menubar/MenubarGroup.vue.d.ts +16 -0
  424. package/dist/types/components/menubar/MenubarItem.vue.d.ts +26 -0
  425. package/dist/types/components/menubar/MenubarLabel.vue.d.ts +21 -0
  426. package/dist/types/components/menubar/MenubarMenu.vue.d.ts +16 -0
  427. package/dist/types/components/menubar/MenubarRadioGroup.vue.d.ts +23 -0
  428. package/dist/types/components/menubar/MenubarRadioItem.vue.d.ts +26 -0
  429. package/dist/types/components/menubar/MenubarSeparator.vue.d.ts +8 -0
  430. package/dist/types/components/menubar/MenubarShortcut.vue.d.ts +19 -0
  431. package/dist/types/components/menubar/MenubarSub.vue.d.ts +25 -0
  432. package/dist/types/components/menubar/MenubarSubContent.vue.d.ts +36 -0
  433. package/dist/types/components/menubar/MenubarSubTrigger.vue.d.ts +21 -0
  434. package/dist/types/components/menubar/MenubarTrigger.vue.d.ts +20 -0
  435. package/dist/types/components/menubar/index.d.ts +15 -0
  436. package/dist/types/components/message/Message.vue.d.ts +38 -0
  437. package/dist/types/components/message/MessageAvatar.vue.d.ts +22 -0
  438. package/dist/types/components/message/MessageContent.vue.d.ts +22 -0
  439. package/dist/types/components/message/MessageFooter.vue.d.ts +22 -0
  440. package/dist/types/components/message/MessageGroup.vue.d.ts +22 -0
  441. package/dist/types/components/message/MessageHeader.vue.d.ts +22 -0
  442. package/dist/types/components/message/index.d.ts +6 -0
  443. package/dist/types/components/message-scroller/MessageScroller.vue.d.ts +19 -0
  444. package/dist/types/components/message-scroller/MessageScrollerButton.vue.d.ts +30 -0
  445. package/dist/types/components/message-scroller/MessageScrollerContent.vue.d.ts +20 -0
  446. package/dist/types/components/message-scroller/MessageScrollerItem.vue.d.ts +23 -0
  447. package/dist/types/components/message-scroller/MessageScrollerProvider.vue.d.ts +20 -0
  448. package/dist/types/components/message-scroller/MessageScrollerViewport.vue.d.ts +22 -0
  449. package/dist/types/components/message-scroller/index.d.ts +8 -0
  450. package/dist/types/components/message-scroller/useMessageScroller.d.ts +74 -0
  451. package/dist/types/components/native-select/NativeSelect.vue.d.ts +30 -0
  452. package/dist/types/components/native-select/NativeSelectOptGroup.vue.d.ts +19 -0
  453. package/dist/types/components/native-select/NativeSelectOption.vue.d.ts +19 -0
  454. package/dist/types/components/native-select/index.d.ts +3 -0
  455. package/dist/types/components/navigation-menu/NavigationMenu.vue.d.ts +41 -0
  456. package/dist/types/components/navigation-menu/NavigationMenuContent.vue.d.ts +30 -0
  457. package/dist/types/components/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
  458. package/dist/types/components/navigation-menu/NavigationMenuItem.vue.d.ts +20 -0
  459. package/dist/types/components/navigation-menu/NavigationMenuLink.vue.d.ts +28 -0
  460. package/dist/types/components/navigation-menu/NavigationMenuList.vue.d.ts +20 -0
  461. package/dist/types/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +20 -0
  462. package/dist/types/components/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
  463. package/dist/types/components/navigation-menu/index.d.ts +9 -0
  464. package/dist/types/components/number-field/NumberField.vue.d.ts +41 -0
  465. package/dist/types/components/number-field/NumberFieldContent.vue.d.ts +19 -0
  466. package/dist/types/components/number-field/NumberFieldDecrement.vue.d.ts +20 -0
  467. package/dist/types/components/number-field/NumberFieldIncrement.vue.d.ts +20 -0
  468. package/dist/types/components/number-field/NumberFieldInput.vue.d.ts +7 -0
  469. package/dist/types/components/number-field/index.d.ts +5 -0
  470. package/dist/types/components/pagination/Pagination.vue.d.ts +42 -0
  471. package/dist/types/components/pagination/PaginationContent.vue.d.ts +27 -0
  472. package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts +20 -0
  473. package/dist/types/components/pagination/PaginationFirst.vue.d.ts +24 -0
  474. package/dist/types/components/pagination/PaginationItem.vue.d.ts +25 -0
  475. package/dist/types/components/pagination/PaginationLast.vue.d.ts +24 -0
  476. package/dist/types/components/pagination/PaginationNext.vue.d.ts +24 -0
  477. package/dist/types/components/pagination/PaginationPrevious.vue.d.ts +24 -0
  478. package/dist/types/components/pagination/index.d.ts +8 -0
  479. package/dist/types/components/pin-input/PinInput.vue.d.ts +33 -0
  480. package/dist/types/components/pin-input/PinInputGroup.vue.d.ts +20 -0
  481. package/dist/types/components/pin-input/PinInputSeparator.vue.d.ts +16 -0
  482. package/dist/types/components/pin-input/PinInputSlot.vue.d.ts +8 -0
  483. package/dist/types/components/pin-input/index.d.ts +4 -0
  484. package/dist/types/components/popover/Popover.vue.d.ts +48 -0
  485. package/dist/types/components/popover/PopoverAnchor.vue.d.ts +16 -0
  486. package/dist/types/components/popover/PopoverContent.vue.d.ts +37 -0
  487. package/dist/types/components/popover/PopoverTrigger.vue.d.ts +16 -0
  488. package/dist/types/components/popover/index.d.ts +4 -0
  489. package/dist/types/components/progress/Progress.vue.d.ts +10 -0
  490. package/dist/types/components/progress/index.d.ts +1 -0
  491. package/dist/types/components/questionnaire/Questionnaire.vue.d.ts +56 -0
  492. package/dist/types/components/questionnaire/QuestionnaireActions.vue.d.ts +22 -0
  493. package/dist/types/components/questionnaire/QuestionnaireChoice.vue.d.ts +41 -0
  494. package/dist/types/components/questionnaire/QuestionnaireChoiceDescription.vue.d.ts +19 -0
  495. package/dist/types/components/questionnaire/QuestionnaireChoices.vue.d.ts +24 -0
  496. package/dist/types/components/questionnaire/QuestionnaireDescription.vue.d.ts +23 -0
  497. package/dist/types/components/questionnaire/QuestionnaireError.vue.d.ts +25 -0
  498. package/dist/types/components/questionnaire/QuestionnaireInput.vue.d.ts +21 -0
  499. package/dist/types/components/questionnaire/QuestionnaireItem.vue.d.ts +48 -0
  500. package/dist/types/components/questionnaire/QuestionnaireNext.vue.d.ts +33 -0
  501. package/dist/types/components/questionnaire/QuestionnairePrevious.vue.d.ts +33 -0
  502. package/dist/types/components/questionnaire/QuestionnaireProgress.vue.d.ts +27 -0
  503. package/dist/types/components/questionnaire/QuestionnaireSkip.vue.d.ts +33 -0
  504. package/dist/types/components/questionnaire/QuestionnaireSubmit.vue.d.ts +29 -0
  505. package/dist/types/components/questionnaire/QuestionnaireTitle.vue.d.ts +23 -0
  506. package/dist/types/components/questionnaire/index.d.ts +17 -0
  507. package/dist/types/components/questionnaire/useQuestionnaire.d.ts +117 -0
  508. package/dist/types/components/radio-group/RadioGroup.vue.d.ts +36 -0
  509. package/dist/types/components/radio-group/RadioGroupItem.vue.d.ts +20 -0
  510. package/dist/types/components/radio-group/index.d.ts +2 -0
  511. package/dist/types/components/range-calendar/RangeCalendar.vue.d.ts +54 -0
  512. package/dist/types/components/range-calendar/RangeCalendarCell.vue.d.ts +20 -0
  513. package/dist/types/components/range-calendar/RangeCalendarCellTrigger.vue.d.ts +35 -0
  514. package/dist/types/components/range-calendar/RangeCalendarGrid.vue.d.ts +20 -0
  515. package/dist/types/components/range-calendar/RangeCalendarGridBody.vue.d.ts +16 -0
  516. package/dist/types/components/range-calendar/RangeCalendarGridHead.vue.d.ts +16 -0
  517. package/dist/types/components/range-calendar/RangeCalendarGridRow.vue.d.ts +20 -0
  518. package/dist/types/components/range-calendar/RangeCalendarHeadCell.vue.d.ts +20 -0
  519. package/dist/types/components/range-calendar/RangeCalendarHeader.vue.d.ts +20 -0
  520. package/dist/types/components/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
  521. package/dist/types/components/range-calendar/RangeCalendarNextButton.vue.d.ts +20 -0
  522. package/dist/types/components/range-calendar/RangeCalendarPrevButton.vue.d.ts +20 -0
  523. package/dist/types/components/range-calendar/index.d.ts +12 -0
  524. package/dist/types/components/resizable/ResizableHandle.vue.d.ts +25 -0
  525. package/dist/types/components/resizable/ResizablePanel.vue.d.ts +41 -0
  526. package/dist/types/components/resizable/ResizablePanelGroup.vue.d.ts +30 -0
  527. package/dist/types/components/resizable/index.d.ts +3 -0
  528. package/dist/types/components/resizable/layout.d.ts +11 -0
  529. package/dist/types/components/scroll-area/ScrollArea.vue.d.ts +20 -0
  530. package/dist/types/components/scroll-area/ScrollBar.vue.d.ts +10 -0
  531. package/dist/types/components/scroll-area/index.d.ts +2 -0
  532. package/dist/types/components/select/Select.vue.d.ts +43 -0
  533. package/dist/types/components/select/SelectContent.vue.d.ts +30 -0
  534. package/dist/types/components/select/SelectGroup.vue.d.ts +16 -0
  535. package/dist/types/components/select/SelectItem.vue.d.ts +22 -0
  536. package/dist/types/components/select/SelectItemText.vue.d.ts +16 -0
  537. package/dist/types/components/select/SelectLabel.vue.d.ts +20 -0
  538. package/dist/types/components/select/SelectScrollDownButton.vue.d.ts +20 -0
  539. package/dist/types/components/select/SelectScrollUpButton.vue.d.ts +20 -0
  540. package/dist/types/components/select/SelectSeparator.vue.d.ts +8 -0
  541. package/dist/types/components/select/SelectTrigger.vue.d.ts +23 -0
  542. package/dist/types/components/select/SelectValue.vue.d.ts +16 -0
  543. package/dist/types/components/select/index.d.ts +12 -0
  544. package/dist/types/components/select/options.d.ts +22 -0
  545. package/dist/types/components/separator/Separator.vue.d.ts +11 -0
  546. package/dist/types/components/separator/index.d.ts +1 -0
  547. package/dist/types/components/sheet/Sheet.vue.d.ts +68 -0
  548. package/dist/types/components/sheet/SheetClose.vue.d.ts +16 -0
  549. package/dist/types/components/sheet/SheetContent.vue.d.ts +37 -0
  550. package/dist/types/components/sheet/SheetDescription.vue.d.ts +20 -0
  551. package/dist/types/components/sheet/SheetFooter.vue.d.ts +19 -0
  552. package/dist/types/components/sheet/SheetHeader.vue.d.ts +19 -0
  553. package/dist/types/components/sheet/SheetOverlay.vue.d.ts +20 -0
  554. package/dist/types/components/sheet/SheetTitle.vue.d.ts +20 -0
  555. package/dist/types/components/sheet/SheetTrigger.vue.d.ts +16 -0
  556. package/dist/types/components/sheet/index.d.ts +8 -0
  557. package/dist/types/components/sidebar/Sidebar.vue.d.ts +28 -0
  558. package/dist/types/components/sidebar/SidebarContent.vue.d.ts +19 -0
  559. package/dist/types/components/sidebar/SidebarFooter.vue.d.ts +19 -0
  560. package/dist/types/components/sidebar/SidebarGroup.vue.d.ts +25 -0
  561. package/dist/types/components/sidebar/SidebarGroupAction.vue.d.ts +20 -0
  562. package/dist/types/components/sidebar/SidebarGroupContent.vue.d.ts +19 -0
  563. package/dist/types/components/sidebar/SidebarGroupLabel.vue.d.ts +20 -0
  564. package/dist/types/components/sidebar/SidebarHeader.vue.d.ts +19 -0
  565. package/dist/types/components/sidebar/SidebarInput.vue.d.ts +19 -0
  566. package/dist/types/components/sidebar/SidebarInset.vue.d.ts +19 -0
  567. package/dist/types/components/sidebar/SidebarMenu.vue.d.ts +19 -0
  568. package/dist/types/components/sidebar/SidebarMenuAction.vue.d.ts +23 -0
  569. package/dist/types/components/sidebar/SidebarMenuBadge.vue.d.ts +19 -0
  570. package/dist/types/components/sidebar/SidebarMenuButton.vue.d.ts +26 -0
  571. package/dist/types/components/sidebar/SidebarMenuButtonChild.vue.d.ts +28 -0
  572. package/dist/types/components/sidebar/SidebarMenuItem.vue.d.ts +23 -0
  573. package/dist/types/components/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
  574. package/dist/types/components/sidebar/SidebarMenuSub.vue.d.ts +19 -0
  575. package/dist/types/components/sidebar/SidebarMenuSubButton.vue.d.ts +25 -0
  576. package/dist/types/components/sidebar/SidebarMenuSubItem.vue.d.ts +19 -0
  577. package/dist/types/components/sidebar/SidebarProvider.vue.d.ts +33 -0
  578. package/dist/types/components/sidebar/SidebarRail.vue.d.ts +19 -0
  579. package/dist/types/components/sidebar/SidebarSeparator.vue.d.ts +19 -0
  580. package/dist/types/components/sidebar/SidebarTrigger.vue.d.ts +7 -0
  581. package/dist/types/components/sidebar/index.d.ts +37 -0
  582. package/dist/types/components/sidebar/utils.d.ts +57 -0
  583. package/dist/types/components/skeleton/Skeleton.vue.d.ts +7 -0
  584. package/dist/types/components/skeleton/index.d.ts +1 -0
  585. package/dist/types/components/slider/Slider.vue.d.ts +14 -0
  586. package/dist/types/components/slider/index.d.ts +1 -0
  587. package/dist/types/components/sonner/Sonner.vue.d.ts +26 -0
  588. package/dist/types/components/sonner/index.d.ts +2 -0
  589. package/dist/types/components/sonner/toast.d.ts +60 -0
  590. package/dist/types/components/spinner/Spinner.vue.d.ts +7 -0
  591. package/dist/types/components/spinner/index.d.ts +1 -0
  592. package/dist/types/components/stepper/Stepper.vue.d.ts +46 -0
  593. package/dist/types/components/stepper/StepperDescription.vue.d.ts +20 -0
  594. package/dist/types/components/stepper/StepperIndicator.vue.d.ts +22 -0
  595. package/dist/types/components/stepper/StepperItem.vue.d.ts +22 -0
  596. package/dist/types/components/stepper/StepperSeparator.vue.d.ts +8 -0
  597. package/dist/types/components/stepper/StepperTitle.vue.d.ts +20 -0
  598. package/dist/types/components/stepper/StepperTrigger.vue.d.ts +20 -0
  599. package/dist/types/components/stepper/index.d.ts +7 -0
  600. package/dist/types/components/switch/Switch.vue.d.ts +27 -0
  601. package/dist/types/components/switch/index.d.ts +1 -0
  602. package/dist/types/components/table/Table.vue.d.ts +24 -0
  603. package/dist/types/components/table/TableBody.vue.d.ts +19 -0
  604. package/dist/types/components/table/TableCaption.vue.d.ts +19 -0
  605. package/dist/types/components/table/TableCell.vue.d.ts +19 -0
  606. package/dist/types/components/table/TableColumn.vue.d.ts +23 -0
  607. package/dist/types/components/table/TableEmpty.vue.d.ts +22 -0
  608. package/dist/types/components/table/TableFooter.vue.d.ts +19 -0
  609. package/dist/types/components/table/TableHead.vue.d.ts +19 -0
  610. package/dist/types/components/table/TableHeader.vue.d.ts +19 -0
  611. package/dist/types/components/table/TableRow.vue.d.ts +19 -0
  612. package/dist/types/components/table/columns.d.ts +40 -0
  613. package/dist/types/components/table/index.d.ts +11 -0
  614. package/dist/types/components/tabs/Tabs.vue.d.ts +40 -0
  615. package/dist/types/components/tabs/TabsContent.vue.d.ts +20 -0
  616. package/dist/types/components/tabs/TabsList.vue.d.ts +20 -0
  617. package/dist/types/components/tabs/TabsTrigger.vue.d.ts +20 -0
  618. package/dist/types/components/tabs/index.d.ts +4 -0
  619. package/dist/types/components/tags-input/TagsInput.vue.d.ts +38 -0
  620. package/dist/types/components/tags-input/TagsInputInput.vue.d.ts +8 -0
  621. package/dist/types/components/tags-input/TagsInputItem.vue.d.ts +20 -0
  622. package/dist/types/components/tags-input/TagsInputItemDelete.vue.d.ts +20 -0
  623. package/dist/types/components/tags-input/TagsInputItemText.vue.d.ts +20 -0
  624. package/dist/types/components/tags-input/index.d.ts +5 -0
  625. package/dist/types/components/textarea/Textarea.vue.d.ts +13 -0
  626. package/dist/types/components/textarea/index.d.ts +1 -0
  627. package/dist/types/components/toast/Toast.vue.d.ts +98 -0
  628. package/dist/types/components/toast/ToastAction.vue.d.ts +20 -0
  629. package/dist/types/components/toast/ToastClose.vue.d.ts +8 -0
  630. package/dist/types/components/toast/ToastDescription.vue.d.ts +20 -0
  631. package/dist/types/components/toast/ToastProvider.vue.d.ts +16 -0
  632. package/dist/types/components/toast/ToastTitle.vue.d.ts +20 -0
  633. package/dist/types/components/toast/ToastViewport.vue.d.ts +8 -0
  634. package/dist/types/components/toast/Toaster.vue.d.ts +32 -0
  635. package/dist/types/components/toast/index.d.ts +22 -0
  636. package/dist/types/components/toast/use-toast.d.ts +25 -0
  637. package/dist/types/components/toggle/Toggle.vue.d.ts +36 -0
  638. package/dist/types/components/toggle/index.d.ts +7 -0
  639. package/dist/types/components/toggle-group/ToggleGroup.vue.d.ts +44 -0
  640. package/dist/types/components/toggle-group/ToggleGroupItem.vue.d.ts +32 -0
  641. package/dist/types/components/toggle-group/index.d.ts +2 -0
  642. package/dist/types/components/tooltip/Tooltip.vue.d.ts +43 -0
  643. package/dist/types/components/tooltip/TooltipContent.vue.d.ts +28 -0
  644. package/dist/types/components/tooltip/TooltipProvider.vue.d.ts +18 -0
  645. package/dist/types/components/tooltip/TooltipTrigger.vue.d.ts +16 -0
  646. package/dist/types/components/tooltip/index.d.ts +4 -0
  647. package/dist/types/components/trace/Trace.vue.d.ts +19 -0
  648. package/dist/types/components/trace/TraceCollapsible.vue.d.ts +26 -0
  649. package/dist/types/components/trace/TraceCollapsibleContent.vue.d.ts +20 -0
  650. package/dist/types/components/trace/TraceCollapsibleTrigger.vue.d.ts +20 -0
  651. package/dist/types/components/trace/TraceDescription.vue.d.ts +19 -0
  652. package/dist/types/components/trace/TraceIcon.vue.d.ts +19 -0
  653. package/dist/types/components/trace/TraceLine.vue.d.ts +30 -0
  654. package/dist/types/components/trace/TraceTitle.vue.d.ts +19 -0
  655. package/dist/types/components/trace/index.d.ts +8 -0
  656. package/dist/types/components/typography/Typography.vue.d.ts +23 -0
  657. package/dist/types/components/typography/index.d.ts +17 -0
  658. package/dist/types/index.d.ts +5 -0
  659. package/dist/types/installer.d.ts +6 -0
  660. package/dist/types/lib/cn.d.ts +2 -0
  661. package/dist/types/lib/collection.d.ts +10 -0
  662. package/dist/types/lib/controllable.d.ts +11 -0
  663. package/dist/types/lib/input-attributes.d.ts +4 -0
  664. package/dist/types/lib/layout-content.d.ts +6 -0
  665. package/dist/types/lib/menu-entries.d.ts +11 -0
  666. package/dist/types/lib/render-content.d.ts +14 -0
  667. package/dist/types/plugin.d.ts +6 -0
  668. package/dist/types/themes/catalog.d.ts +22 -0
  669. package/dist/types/themes/index.d.ts +30 -0
  670. package/dist/types/themes/palette-data.d.ts +8 -0
  671. 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
- # Temporary Holding Version
1
+ # @icecreamqaq/shadcn
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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
+ };
@@ -0,0 +1,5 @@
1
+ import { _, _ as _2 } from "../shared/AspectRatio.vue_vue_type_script_setup_true_lang-B6hweimL.js";
2
+ export {
3
+ _ as AspectRatio,
4
+ _2 as SAspectRatio
5
+ };