brutx-ui-vue 0.10.1 → 0.10.2

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 (366) hide show
  1. package/dist/chunks/{AccordionContent-CaTxwpAt.js → AccordionContent-ByyKRICe.js} +2 -2
  2. package/dist/chunks/{AlertDescription-CkxZay6m.js → AlertDescription-Radnhfr1.js} +2 -2
  3. package/dist/chunks/{AlertDialogCancel-bJYOPbTY.js → AlertDialogCancel-mNOGcdUd.js} +3 -3
  4. package/dist/chunks/{AuthCard-DiQZx8pV.js → AuthCard-De5EFfy1.js} +7 -7
  5. package/dist/chunks/{AvatarFallback-aHxpzpEF.js → AvatarFallback-ClZeBT_M.js} +1 -1
  6. package/dist/chunks/{Backtop-D_g60DIH.js → Backtop-Q9KTljRE.js} +2 -2
  7. package/dist/chunks/{Badge-xfW_Kb-K.js → Badge-24Ammu5Y.js} +2 -2
  8. package/dist/chunks/{BarsSpinner-BmdoBCDv.js → BarsSpinner-KoxI7X-g.js} +2 -2
  9. package/dist/chunks/{BeforeAfter-CveqVRjE.js → BeforeAfter-H8BbM93n.js} +1 -1
  10. package/dist/chunks/{BreadcrumbEllipsis-CNwlJSMT.js → BreadcrumbEllipsis-BXKyWll9.js} +2 -2
  11. package/dist/chunks/{BrutalistHero-JGVRjcsw.js → BrutalistHero-FSLNCIsk.js} +5 -5
  12. package/dist/chunks/{Button-QI4aDHQu.js → Button-q6iBsrfD.js} +2 -2
  13. package/dist/chunks/Card-D8y_0_6p.js +99 -0
  14. package/dist/chunks/Card3D-UB4QdjJd.js +125 -0
  15. package/dist/chunks/{CardContent-DQSu-W_o.js → CardContent-D_9mQ6RG.js} +1 -1
  16. package/dist/chunks/CardFooter-D4avrmHb.js +49 -0
  17. package/dist/chunks/Cascader-iTMBOCjJ.js +396 -0
  18. package/dist/chunks/{ChatContainer-CCcKGyZY.js → ChatContainer-D_qmtV9Z.js} +76 -58
  19. package/dist/chunks/Checkbox-UmF7h9i4.js +111 -0
  20. package/dist/chunks/{ColorModeSwitcher-bAKsOVpp.js → ColorModeSwitcher-D3Y8SPHL.js} +9 -9
  21. package/dist/chunks/ColorPicker-7QvaHLrX.js +901 -0
  22. package/dist/chunks/{Combobox-CaFhRFau.js → Combobox-Db3KKZUr.js} +10 -10
  23. package/dist/chunks/CommandItem-BqAK2rN9.js +297 -0
  24. package/dist/chunks/{CommandShortcut-CeTPwmy_.js → CommandShortcut-282HGlmS.js} +38 -12
  25. package/dist/chunks/{CookieConsent-dbcxjeJ9.js → CookieConsent-6Qff7-M_.js} +22 -17
  26. package/dist/chunks/CopyToClipboard-BZOP2i56.js +83 -0
  27. package/dist/chunks/Counter-DmgKBplW.js +236 -0
  28. package/dist/chunks/{DashboardShell-SdzkEawB.js → DashboardShell-Dr6GM0pV.js} +2 -2
  29. package/dist/chunks/{DataTable-ChPbldgY.js → DataTable-iE5SEO4N.js} +9 -9
  30. package/dist/chunks/{DescriptionsItem-CNGIUlpY.js → DescriptionsItem-DWZF6qWp.js} +1 -1
  31. package/dist/chunks/{DialogContent-Cdgclvm_.js → DialogContent-BHomKmbf.js} +2 -2
  32. package/dist/chunks/{DialogDescription-6EgFNO90.js → DialogDescription--OgWUgNI.js} +2 -2
  33. package/dist/chunks/DropdownMenuSubContent-DMFx1Duq.js +155 -0
  34. package/dist/chunks/{FeedbackForm-DVw8HQCk.js → FeedbackForm-BNsMRKK_.js} +8 -8
  35. package/dist/chunks/{FooterSection-EhA_qRk2.js → FooterSection-CrlOh0dU.js} +3 -3
  36. package/dist/chunks/{GlitchText-CoacNZLI.js → GlitchText-BIYOXR0F.js} +2 -2
  37. package/dist/chunks/{HardcoreInput-tgK5Z6zP.js → HardcoreInput-Dwsfp_1f.js} +46 -46
  38. package/dist/chunks/{HeaderSection-CuPDgQc3.js → HeaderSection-ozxvq_z9.js} +4 -4
  39. package/dist/chunks/Image-D8dPrXY_.js +244 -0
  40. package/dist/chunks/{Input-CUcG77vb.js → Input-ocylumxr.js} +4 -4
  41. package/dist/chunks/{KanbanBoard-D9dBB0Vj.js → KanbanBoard-DqVSHdo6.js} +3 -3
  42. package/dist/chunks/{Kbd-Bqps0Hd6.js → Kbd-D60Vyvew.js} +1 -1
  43. package/dist/chunks/{Label-XrK3v0Wx.js → Label-Brn7ITG2.js} +1 -1
  44. package/dist/chunks/{Loading-DioqtqRa.js → Loading-DYfn55wd.js} +5 -5
  45. package/dist/chunks/{Marquee-By8bPws6.js → Marquee-CLzws_FH.js} +1 -1
  46. package/dist/chunks/{NoiseBackground-yPFNFNlt.js → NoiseBackground-DgMzjlc4.js} +1 -1
  47. package/dist/chunks/{NumberInput-CJ7kgMsn.js → NumberInput-CQ55tcXA.js} +5 -5
  48. package/dist/chunks/Pagination-CPLGzpB3.js +291 -0
  49. package/dist/chunks/{Popconfirm-DenOCiKU.js → Popconfirm-BplDWbhZ.js} +2 -2
  50. package/dist/chunks/{PopoverContent-CLN8H8Od.js → PopoverContent-mDXTT0x3.js} +1 -2
  51. package/dist/chunks/{PricingSection-B2Y_Zqi8.js → PricingSection-af24hB55.js} +7 -7
  52. package/dist/chunks/{Progress-DADt04Vo.js → Progress-Cr4AUfdP.js} +1 -1
  53. package/dist/chunks/{RadioGroupItem-AofnKfwK.js → RadioGroupItem-CtObst3V.js} +21 -21
  54. package/dist/chunks/{Rate-C1RjkLau.js → Rate-2WrFoLnN.js} +1 -1
  55. package/dist/chunks/{Result-C07B_QVp.js → Result-BeTMEz5D.js} +9 -9
  56. package/dist/chunks/{ScratchCard-CaiJwT2h.js → ScratchCard-ElDZlpRI.js} +1 -1
  57. package/dist/chunks/{ScrollArea-B_l6RTBt.js → ScrollArea-CsaFwxCB.js} +1 -1
  58. package/dist/chunks/SelectItem-DY0sJa0p.js +229 -0
  59. package/dist/chunks/{SelectSeparator-BxLMpsqa.js → SelectSeparator-CjLuoaLq.js} +2 -2
  60. package/dist/chunks/{Separator-BDenHR_u.js → Separator-ByWp0MDa.js} +1 -1
  61. package/dist/chunks/{SheetDescription-ktVFahUz.js → SheetDescription-BJM4cWFH.js} +2 -2
  62. package/dist/chunks/{SheetFooter-B4rirEv1.js → SheetFooter-BxrBziGG.js} +2 -2
  63. package/dist/chunks/{Skeleton-D7REbQJ-.js → Skeleton-DrLxybY2.js} +1 -1
  64. package/dist/chunks/{SkeletonTable-DrPi7Ywf.js → SkeletonTable-BDkj5pL1.js} +2 -2
  65. package/dist/chunks/{SketchyChart-MWxRvSin.js → SketchyChart-zEpoO4vI.js} +1 -1
  66. package/dist/chunks/{Slider-tD-1OG_k.js → Slider-ilej3QZ4.js} +53 -53
  67. package/dist/chunks/{Spinner-YefckbmJ.js → Spinner-B0ynR2Jm.js} +1 -1
  68. package/dist/chunks/{Stepper-Cp1gX9E9.js → Stepper-DudWUVdp.js} +2 -2
  69. package/dist/chunks/SubMenu-dHRt3O54.js +229 -0
  70. package/dist/chunks/{Switch-y_eFl4Ub.js → Switch-C2GkB93I.js} +2 -2
  71. package/dist/chunks/{TableCaption-BAkVy73Q.js → TableCaption-l7vtBHwS.js} +1 -1
  72. package/dist/chunks/Tabs-DckuUmjZ.js +217 -0
  73. package/dist/chunks/{TagsInputItemDelete-4xAxQFMe.js → TagsInputItemDelete-CGuNL4Uq.js} +4 -4
  74. package/dist/chunks/{Textarea-ogAPI10v.js → Textarea-BSCquv1b.js} +25 -25
  75. package/dist/chunks/{TimelineContent-g7NkADgZ.js → TimelineContent-DkRHov6m.js} +1 -1
  76. package/dist/chunks/{ToastContainer-CS7lMDPc.js → ToastContainer-BE4b80xm.js} +2 -2
  77. package/dist/chunks/{Toggle-DDjb1Jad.js → Toggle-2JAslC3o.js} +2 -2
  78. package/dist/chunks/{ToggleGroupItem-DYLEcAVX.js → ToggleGroupItem-D84y6EJL.js} +2 -2
  79. package/dist/chunks/{TooltipContent-D7ttmFyw.js → TooltipContent-Cj11umxT.js} +1 -1
  80. package/dist/chunks/{Tour-Cne5g0Ry.js → Tour-rbI7lgbG.js} +6 -6
  81. package/dist/chunks/{Transfer-DMhXjE8f.js → Transfer-CK7MDQt_.js} +5 -5
  82. package/dist/chunks/TreeSelect-CubpkxA3.js +480 -0
  83. package/dist/chunks/{TreeView-Cvs0t_VH.js → TreeView-CHyHlAtp.js} +7 -7
  84. package/dist/chunks/{TypewriterText-vGTYgKs_.js → TypewriterText-Cqrj8OYz.js} +1 -1
  85. package/dist/chunks/{UploadFileList-BD5zVD7s.js → UploadFileList-BxUhU9pF.js} +3 -3
  86. package/dist/chunks/{VirtualScroll-D1ZqnM10.js → VirtualScroll-DYXrHxMq.js} +1 -1
  87. package/dist/chunks/brutal-interaction-variants-CEQ3PywD.js +4 -0
  88. package/dist/chunks/{button-variants-CBpRcDNH.js → button-variants-CUdw3nH7.js} +19 -18
  89. package/dist/chunks/{calendar-Dn8bXmX5.js → calendar-jgFYQqkb.js} +50 -19
  90. package/dist/chunks/carousel-Br5bbhYl.js +220 -0
  91. package/dist/chunks/code-block-Cs9cxXW6.js +247 -0
  92. package/dist/chunks/{date-picker-Bfer5xeZ.js → date-picker-Bhx0W2Da.js} +17 -17
  93. package/dist/chunks/fallback-manager-Dav7cq1J.js +30 -0
  94. package/dist/chunks/{form-NJJ3ffGk.js → form-BdLI0wig.js} +4 -4
  95. package/dist/chunks/{form-toggle-base-VcoL32Zh.js → form-toggle-base-DKLjwcjx.js} +7 -6
  96. package/dist/chunks/{functional-0753IgG_.js → functional-FwBYdpz6.js} +6 -6
  97. package/dist/chunks/{locales-B2uD02qv.js → locales-KETy8Awb.js} +2 -1
  98. package/dist/chunks/{modal-variants-BpiGhY-y.js → modal-variants-BXR5_JzE.js} +14 -13
  99. package/dist/chunks/{plugin-DZEePcdx.js → plugin-DjZsq-f8.js} +1 -1
  100. package/dist/chunks/{toggle-variants-CegsIINm.js → toggle-variants-BKM1XrzU.js} +13 -10
  101. package/dist/chunks/{tree-variants-CRIdX2o7.js → tree-variants-BY-fa_F7.js} +1 -1
  102. package/dist/chunks/{useInfiniteScroll-BBPOYP51.js → useInfiniteScroll-C6YEcy9L.js} +1 -1
  103. package/dist/chunks/{useMessage-CYO_399i.js → useMessage-Cn2VUKsF.js} +5 -5
  104. package/dist/chunks/{useTheme-CS4HqKDz.js → useTheme-BgtEgyuj.js} +19 -22
  105. package/dist/chunks/utils-B_mSHye_.js +9 -0
  106. package/dist/chunks/{zh-CN-DFfHhWu4.js → zh-CN-BHTVKo2O.js} +2 -1
  107. package/dist/components/accordion/index.js +1 -1
  108. package/dist/components/alert/index.js +1 -1
  109. package/dist/components/alert-dialog/index.js +1 -1
  110. package/dist/components/auth-card/index.js +1 -1
  111. package/dist/components/avatar/index.js +1 -1
  112. package/dist/components/backtop/index.js +1 -1
  113. package/dist/components/badge/Badge.vue.d.ts.map +1 -1
  114. package/dist/components/badge/index.js +1 -1
  115. package/dist/components/before-after/index.js +1 -1
  116. package/dist/components/breadcrumb/index.js +1 -1
  117. package/dist/components/brutalist-hero/index.js +1 -1
  118. package/dist/components/button/button-variants.d.ts.map +1 -1
  119. package/dist/components/button/index.js +2 -2
  120. package/dist/components/calendar/Calendar.vue.d.ts.map +1 -1
  121. package/dist/components/calendar/index.js +1 -1
  122. package/dist/components/card/Card.vue.d.ts +3 -0
  123. package/dist/components/card/Card.vue.d.ts.map +1 -1
  124. package/dist/components/card/CardTitle.vue.d.ts +4 -2
  125. package/dist/components/card/CardTitle.vue.d.ts.map +1 -1
  126. package/dist/components/card/index.js +3 -3
  127. package/dist/components/card-3d/Card3D.vue.d.ts +4 -2
  128. package/dist/components/card-3d/Card3D.vue.d.ts.map +1 -1
  129. package/dist/components/card-3d/card-3d-variants.d.ts +5 -2
  130. package/dist/components/card-3d/card-3d-variants.d.ts.map +1 -1
  131. package/dist/components/card-3d/index.js +2 -2
  132. package/dist/components/carousel/Carousel.vue.d.ts.map +1 -1
  133. package/dist/components/carousel/CarouselItem.vue.d.ts +6 -0
  134. package/dist/components/carousel/CarouselItem.vue.d.ts.map +1 -1
  135. package/dist/components/carousel/carousel-variants.d.ts.map +1 -1
  136. package/dist/components/carousel/index.js +1 -1
  137. package/dist/components/carousel/types.d.ts +1 -0
  138. package/dist/components/carousel/types.d.ts.map +1 -1
  139. package/dist/components/cascader/Cascader.vue.d.ts.map +1 -1
  140. package/dist/components/cascader/cascader-types.d.ts +10 -3
  141. package/dist/components/cascader/cascader-types.d.ts.map +1 -1
  142. package/dist/components/cascader/cascader-variants.d.ts.map +1 -1
  143. package/dist/components/cascader/index.js +1 -1
  144. package/dist/components/chat-bubble/ChatBubble.vue.d.ts +1 -0
  145. package/dist/components/chat-bubble/ChatBubble.vue.d.ts.map +1 -1
  146. package/dist/components/chat-bubble/ChatContainer.vue.d.ts.map +1 -1
  147. package/dist/components/chat-bubble/chat-bubble-variants.d.ts.map +1 -1
  148. package/dist/components/chat-bubble/index.js +1 -1
  149. package/dist/components/chat-bubble/types.d.ts +18 -0
  150. package/dist/components/chat-bubble/types.d.ts.map +1 -1
  151. package/dist/components/checkbox/Checkbox.vue.d.ts +16 -0
  152. package/dist/components/checkbox/Checkbox.vue.d.ts.map +1 -1
  153. package/dist/components/checkbox/checkbox-variants.d.ts.map +1 -1
  154. package/dist/components/checkbox/index.js +1 -1
  155. package/dist/components/code-block/CodeBlock.vue.d.ts.map +1 -1
  156. package/dist/components/code-block/code-block-variants.d.ts.map +1 -1
  157. package/dist/components/code-block/index.js +1 -1
  158. package/dist/components/code-block/prism-languages.d.ts +7 -0
  159. package/dist/components/code-block/prism-languages.d.ts.map +1 -1
  160. package/dist/components/color-mode-switcher/ColorModeSwitcher.vue.d.ts.map +1 -1
  161. package/dist/components/color-mode-switcher/index.js +1 -1
  162. package/dist/components/color-picker/ColorPicker.vue.d.ts +1 -1
  163. package/dist/components/color-picker/ColorPicker.vue.d.ts.map +1 -1
  164. package/dist/components/color-picker/ColorPickerHistory.vue.d.ts.map +1 -1
  165. package/dist/components/color-picker/ColorPickerInput.vue.d.ts.map +1 -1
  166. package/dist/components/color-picker/ColorPickerPanel.vue.d.ts.map +1 -1
  167. package/dist/components/color-picker/ColorPickerSwatch.vue.d.ts.map +1 -1
  168. package/dist/components/color-picker/color-picker-variants.d.ts.map +1 -1
  169. package/dist/components/color-picker/index.js +1 -1
  170. package/dist/components/color-picker/types.d.ts +2 -1
  171. package/dist/components/color-picker/types.d.ts.map +1 -1
  172. package/dist/components/combobox/Combobox.vue.d.ts.map +1 -1
  173. package/dist/components/combobox/index.js +1 -1
  174. package/dist/components/command/Command.vue.d.ts +3 -2
  175. package/dist/components/command/Command.vue.d.ts.map +1 -1
  176. package/dist/components/command/CommandDialog.vue.d.ts +9 -2
  177. package/dist/components/command/CommandDialog.vue.d.ts.map +1 -1
  178. package/dist/components/command/CommandEmpty.vue.d.ts +2 -1
  179. package/dist/components/command/CommandEmpty.vue.d.ts.map +1 -1
  180. package/dist/components/command/CommandGroup.vue.d.ts +2 -1
  181. package/dist/components/command/CommandGroup.vue.d.ts.map +1 -1
  182. package/dist/components/command/CommandInput.vue.d.ts +3 -2
  183. package/dist/components/command/CommandInput.vue.d.ts.map +1 -1
  184. package/dist/components/command/CommandItem.vue.d.ts +2 -1
  185. package/dist/components/command/CommandItem.vue.d.ts.map +1 -1
  186. package/dist/components/command/CommandList.vue.d.ts +10 -2
  187. package/dist/components/command/CommandList.vue.d.ts.map +1 -1
  188. package/dist/components/command/CommandSeparator.vue.d.ts +2 -1
  189. package/dist/components/command/CommandSeparator.vue.d.ts.map +1 -1
  190. package/dist/components/command/CommandShortcut.vue.d.ts +2 -1
  191. package/dist/components/command/CommandShortcut.vue.d.ts.map +1 -1
  192. package/dist/components/command/command-context.d.ts +9 -0
  193. package/dist/components/command/command-context.d.ts.map +1 -1
  194. package/dist/components/command/command-variants.d.ts.map +1 -1
  195. package/dist/components/command/index.js +2 -2
  196. package/dist/components/cookie-consent/CookieConsent.vue.d.ts.map +1 -1
  197. package/dist/components/cookie-consent/index.js +1 -1
  198. package/dist/components/copy-to-clipboard/CopyToClipboard.vue.d.ts +1 -0
  199. package/dist/components/copy-to-clipboard/CopyToClipboard.vue.d.ts.map +1 -1
  200. package/dist/components/copy-to-clipboard/copy-to-clipboard-variants.d.ts +1 -1
  201. package/dist/components/copy-to-clipboard/copy-to-clipboard-variants.d.ts.map +1 -1
  202. package/dist/components/copy-to-clipboard/index.js +1 -1
  203. package/dist/components/counter/Counter.vue.d.ts.map +1 -1
  204. package/dist/components/counter/counter-variants.d.ts.map +1 -1
  205. package/dist/components/counter/index.js +1 -1
  206. package/dist/components/dashboard-shell/index.js +1 -1
  207. package/dist/components/data-table/DataTableColumnFilter.vue.d.ts.map +1 -1
  208. package/dist/components/data-table/index.js +1 -1
  209. package/dist/components/date-picker/DatePickerPanel.vue.d.ts.map +1 -1
  210. package/dist/components/date-picker/DatePickerRangePanel.vue.d.ts.map +1 -1
  211. package/dist/components/date-picker/DateTimePickerPanel.vue.d.ts.map +1 -1
  212. package/dist/components/date-picker/WeekPickerPanel.vue.d.ts.map +1 -1
  213. package/dist/components/date-picker/date-picker-variants.d.ts.map +1 -1
  214. package/dist/components/date-picker/index.js +1 -1
  215. package/dist/components/descriptions/index.js +1 -1
  216. package/dist/components/dialog/index.js +3 -3
  217. package/dist/components/dropdown-menu/dropdown-menu-variants.d.ts.map +1 -1
  218. package/dist/components/dropdown-menu/index.js +1 -1
  219. package/dist/components/feedback-form/index.js +1 -1
  220. package/dist/components/footer-section/index.js +1 -1
  221. package/dist/components/form/index.js +1 -1
  222. package/dist/components/glitch-text/index.js +1 -1
  223. package/dist/components/hardcore-input/hardcore-input-variants.d.ts.map +1 -1
  224. package/dist/components/hardcore-input/index.js +1 -1
  225. package/dist/components/header-section/index.js +1 -1
  226. package/dist/components/image/Image.vue.d.ts.map +1 -1
  227. package/dist/components/image/index.js +1 -1
  228. package/dist/components/infinite-scroll/index.js +1 -1
  229. package/dist/components/input/index.js +1 -1
  230. package/dist/components/input/input-variants.d.ts.map +1 -1
  231. package/dist/components/kanban/index.js +1 -1
  232. package/dist/components/kbd/index.js +1 -1
  233. package/dist/components/label/index.js +1 -1
  234. package/dist/components/loading/Loading.vue.d.ts.map +1 -1
  235. package/dist/components/loading/index.js +1 -1
  236. package/dist/components/marquee/index.js +1 -1
  237. package/dist/components/menu/MenuItem.vue.d.ts.map +1 -1
  238. package/dist/components/menu/SubMenu.vue.d.ts.map +1 -1
  239. package/dist/components/menu/index.js +1 -1
  240. package/dist/components/message/index.js +1 -1
  241. package/dist/components/noise-background/index.js +1 -1
  242. package/dist/components/number-input/index.js +1 -1
  243. package/dist/components/pagination/index.js +1 -1
  244. package/dist/components/pagination/pagination-variants.d.ts.map +1 -1
  245. package/dist/components/popconfirm/index.js +1 -1
  246. package/dist/components/popover/index.js +1 -1
  247. package/dist/components/popover/popover-variants.d.ts.map +1 -1
  248. package/dist/components/pricing-section/index.js +1 -1
  249. package/dist/components/progress/index.js +1 -1
  250. package/dist/components/radio-group/index.js +1 -1
  251. package/dist/components/radio-group/radio-group-variants.d.ts.map +1 -1
  252. package/dist/components/rate/index.js +1 -1
  253. package/dist/components/result/Result.vue.d.ts.map +1 -1
  254. package/dist/components/result/index.js +1 -1
  255. package/dist/components/scratch-card/index.js +1 -1
  256. package/dist/components/scroll-area/index.js +1 -1
  257. package/dist/components/select/index.js +2 -2
  258. package/dist/components/select/select-variants.d.ts.map +1 -1
  259. package/dist/components/separator/index.js +1 -1
  260. package/dist/components/separator/separator-variants.d.ts +6 -1
  261. package/dist/components/separator/separator-variants.d.ts.map +1 -1
  262. package/dist/components/sheet/index.js +2 -2
  263. package/dist/components/skeleton/index.js +2 -2
  264. package/dist/components/sketchy-chart/index.js +1 -1
  265. package/dist/components/slider/index.js +1 -1
  266. package/dist/components/slider/slider-variants.d.ts.map +1 -1
  267. package/dist/components/spinner/index.js +2 -2
  268. package/dist/components/stepper/index.js +1 -1
  269. package/dist/components/switch/index.js +1 -1
  270. package/dist/components/table/index.js +1 -1
  271. package/dist/components/tabs/index.js +1 -1
  272. package/dist/components/tabs/tabs-variants.d.ts.map +1 -1
  273. package/dist/components/tags-input/index.js +1 -1
  274. package/dist/components/textarea/index.js +1 -1
  275. package/dist/components/textarea/textarea-variants.d.ts.map +1 -1
  276. package/dist/components/timeline/index.js +1 -1
  277. package/dist/components/toast/index.js +1 -1
  278. package/dist/components/toggle/index.js +2 -2
  279. package/dist/components/toggle/toggle-variants.d.ts.map +1 -1
  280. package/dist/components/toggle-group/index.js +1 -1
  281. package/dist/components/tooltip/index.js +1 -1
  282. package/dist/components/tour/Tour.vue.d.ts.map +1 -1
  283. package/dist/components/tour/index.js +1 -1
  284. package/dist/components/transfer/index.js +1 -1
  285. package/dist/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
  286. package/dist/components/tree-select/index.js +1 -1
  287. package/dist/components/tree-select/tree-select-variants.d.ts.map +1 -1
  288. package/dist/components/tree-view/TreeViewNode.vue.d.ts.map +1 -1
  289. package/dist/components/tree-view/index.js +1 -1
  290. package/dist/components/typewriter-text/index.js +1 -1
  291. package/dist/components/upload/index.js +1 -1
  292. package/dist/components/virtual-scroll/index.js +1 -1
  293. package/dist/composables/destroyFallbacks.js +2 -2
  294. package/dist/composables/useCarousel.d.ts +3 -1
  295. package/dist/composables/useCarousel.d.ts.map +1 -1
  296. package/dist/composables/useCarousel.js +56 -50
  297. package/dist/composables/useCarouselEnhanced.d.ts.map +1 -1
  298. package/dist/composables/useCarouselEnhanced.js +38 -33
  299. package/dist/composables/useClipboard.d.ts +2 -0
  300. package/dist/composables/useClipboard.d.ts.map +1 -1
  301. package/dist/composables/useClipboard.js +3 -3
  302. package/dist/composables/useDebounce.d.ts.map +1 -1
  303. package/dist/composables/useDebounce.js +23 -23
  304. package/dist/composables/useDialog.js +1 -1
  305. package/dist/composables/useFormFieldValidation.d.ts.map +1 -1
  306. package/dist/composables/useFormFieldValidation.js +21 -20
  307. package/dist/composables/useGlitchEffect.d.ts.map +1 -1
  308. package/dist/composables/useGlitchEffect.js +48 -44
  309. package/dist/composables/useLocale.js +1 -1
  310. package/dist/composables/useMessage.js +1 -1
  311. package/dist/composables/useMessageBox.js +1 -1
  312. package/dist/composables/useSelectableTrigger.js +1 -1
  313. package/dist/composables/useSelectionDisplayText.d.ts.map +1 -1
  314. package/dist/composables/useSelectionDisplayText.js +16 -12
  315. package/dist/composables/useTheme.d.ts.map +1 -1
  316. package/dist/composables/useTheme.js +1 -1
  317. package/dist/composables/useThrottle.d.ts.map +1 -1
  318. package/dist/composables/useThrottle.js +15 -14
  319. package/dist/composables/useToast.d.ts +2 -2
  320. package/dist/composables/useToast.d.ts.map +1 -1
  321. package/dist/composables/useToast.js +9 -5
  322. package/dist/directives/loading.js +2 -2
  323. package/dist/index.d.ts +1 -1
  324. package/dist/index.d.ts.map +1 -1
  325. package/dist/index.js +132 -129
  326. package/dist/lib/brutal-interaction-variants.d.ts +18 -4
  327. package/dist/lib/brutal-interaction-variants.d.ts.map +1 -1
  328. package/dist/lib/fallback-manager.d.ts +18 -0
  329. package/dist/lib/fallback-manager.d.ts.map +1 -0
  330. package/dist/lib/form-toggle-base.d.ts +1 -1
  331. package/dist/lib/form-toggle-base.d.ts.map +1 -1
  332. package/dist/lib/modal-variants.d.ts +0 -1
  333. package/dist/lib/modal-variants.d.ts.map +1 -1
  334. package/dist/lib/theme-editor.d.ts.map +1 -1
  335. package/dist/lib/theme-variables.d.ts +12 -0
  336. package/dist/lib/theme-variables.d.ts.map +1 -1
  337. package/dist/lib/utils.d.ts +14 -8
  338. package/dist/lib/utils.d.ts.map +1 -1
  339. package/dist/locales/en.d.ts.map +1 -1
  340. package/dist/locales/types.d.ts +2 -0
  341. package/dist/locales/types.d.ts.map +1 -1
  342. package/dist/locales/zh-CN.d.ts.map +1 -1
  343. package/dist/locales.js +2 -2
  344. package/dist/styles.css +1 -1
  345. package/dist/themes/index.d.ts.map +1 -1
  346. package/package.json +5 -1
  347. package/dist/chunks/Card-01h9lLdf.js +0 -70
  348. package/dist/chunks/Card3D-B0o4vPWR.js +0 -105
  349. package/dist/chunks/CardFooter-C6APHurx.js +0 -41
  350. package/dist/chunks/Cascader-C1XLTBta.js +0 -370
  351. package/dist/chunks/Checkbox-_vRf6_oJ.js +0 -87
  352. package/dist/chunks/ColorPicker-CIO2uu9v.js +0 -835
  353. package/dist/chunks/CommandItem-24uyhCey.js +0 -207
  354. package/dist/chunks/CopyToClipboard-CFMu5HD5.js +0 -64
  355. package/dist/chunks/Counter--WRqd3CK.js +0 -210
  356. package/dist/chunks/DropdownMenuSubContent-BVebm5rb.js +0 -155
  357. package/dist/chunks/Image-CJZPIia1.js +0 -243
  358. package/dist/chunks/Pagination-Dv6C-rtQ.js +0 -291
  359. package/dist/chunks/SelectItem-fu-SSd1P.js +0 -228
  360. package/dist/chunks/SubMenu-DC0yGpMJ.js +0 -229
  361. package/dist/chunks/Tabs-CxdoPibQ.js +0 -217
  362. package/dist/chunks/TreeSelect-mIIo6sEQ.js +0 -480
  363. package/dist/chunks/brutal-interaction-variants-Dd50fX12.js +0 -8
  364. package/dist/chunks/carousel-vyeNmDab.js +0 -207
  365. package/dist/chunks/code-block-Cot7eRdy.js +0 -189
  366. package/dist/chunks/utils-D4SUu3He.js +0 -9
@@ -1,5 +1,5 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
2
- import { i as t, o as n } from "./brutal-interaction-variants-Dd50fX12.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { a as t, s as n } from "./brutal-interaction-variants-CEQ3PywD.js";
3
3
  import { t as r } from "./icon-size-variants-Cp9lYoRk.js";
4
4
  import { Comment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, inject as f, mergeProps as p, normalizeClass as m, openBlock as h, provide as g, renderSlot as _, toRef as v, unref as y, useSlots as b, withCtx as x } from "vue";
5
5
  import { ChevronDown as S } from "@lucide/vue";
@@ -1,7 +1,7 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-QI4aDHQu.js";
4
+ import { t as r } from "./Button-q6iBsrfD.js";
5
5
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, inject as u, normalizeClass as d, onBeforeUnmount as f, onMounted as p, openBlock as m, provide as h, ref as g, renderSlot as _, unref as v, useId as y, useSlots as b, withCtx as x, withModifiers as S } from "vue";
6
6
  import { X as C } from "@lucide/vue";
7
7
  import { Primitive as w } from "reka-ui";
@@ -1,6 +1,6 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
2
- import { t } from "./button-variants-CBpRcDNH.js";
3
- import { a as n, i as r, r as i, t as a } from "./modal-variants-BpiGhY-y.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { t } from "./button-variants-CUdw3nH7.js";
3
+ import { a as n, i as r, r as i, t as a } from "./modal-variants-BXR5_JzE.js";
4
4
  import { t as o } from "./floating-animation-classes-BEu35hIg.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, normalizeClass as h, openBlock as g, renderSlot as _, unref as v, withCtx as y } from "vue";
6
6
  import { AlertDialogAction as b, AlertDialogCancel as x, AlertDialogContent as S, AlertDialogDescription as C, AlertDialogOverlay as w, AlertDialogPortal as T, AlertDialogTitle as E, useForwardProps as D } from "reka-ui";
@@ -1,12 +1,12 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-QI4aDHQu.js";
5
- import { t as i } from "./Label-XrK3v0Wx.js";
6
- import { t as a } from "./Input-CUcG77vb.js";
7
- import { t as o } from "./Card-01h9lLdf.js";
8
- import { i as s, n as c, r as ee, t as l } from "./CardFooter-C6APHurx.js";
9
- import { t as u } from "./CardContent-DQSu-W_o.js";
4
+ import { t as r } from "./Button-q6iBsrfD.js";
5
+ import { t as i } from "./Label-Brn7ITG2.js";
6
+ import { t as a } from "./Input-ocylumxr.js";
7
+ import { t as o } from "./Card-D8y_0_6p.js";
8
+ import { i as s, n as c, r as ee, t as l } from "./CardFooter-D4avrmHb.js";
9
+ import { t as u } from "./CardContent-D_9mQ6RG.js";
10
10
  import { computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, normalizeClass as y, openBlock as b, ref as x, toDisplayString as S, unref as C, useId as w, watch as T, withCtx as E, withModifiers as D } from "vue";
11
11
  import { Lock as te, Mail as ne } from "@lucide/vue";
12
12
  //#region src/lib/validation.ts
@@ -1,4 +1,4 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { useLocale as t } from "../composables/useLocale.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, inject as l, normalizeClass as u, openBlock as d, provide as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
4
4
  import { AvatarFallback as _, AvatarImage as v, AvatarRoot as y } from "reka-ui";
@@ -1,6 +1,6 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { c as t, m as n, u as r } from "./env-CudGjJlt.js";
3
- import { t as i } from "./Button-QI4aDHQu.js";
3
+ import { t as i } from "./Button-q6iBsrfD.js";
4
4
  import { useThrottle as a } from "../composables/useThrottle.js";
5
5
  import { Transition as o, computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as h, openBlock as g, ref as _, renderSlot as v, unref as y, watch as b, withCtx as x } from "vue";
6
6
  import { ArrowUp as S } from "@lucide/vue";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
4
  import { n as r, t as i } from "./chip-variants-DbmagTe0.js";
@@ -78,7 +78,7 @@ var g = h([
78
78
  r.closable ? (d(), s("button", {
79
79
  key: 2,
80
80
  type: "button",
81
- class: "ml-1 inline-flex items-center justify-center transition-opacity hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-brutal-ring focus:ring-offset-2 rounded-brutal",
81
+ class: "ml-1 inline-flex items-center justify-center transition-opacity hover:opacity-70 focus-visible:outline-2 focus-visible:outline-brutal-ring focus-visible:outline-offset-2 rounded-brutal",
82
82
  "aria-label": p(y)("badge.close"),
83
83
  onClick: C
84
84
  }, [c(p(m), {
@@ -1,6 +1,6 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { useLocale as t } from "../composables/useLocale.js";
3
- import { a as n, i as r, n as i, o as a, r as o } from "./Spinner-YefckbmJ.js";
3
+ import { a as n, i as r, n as i, o as a, r as o } from "./Spinner-B0ynR2Jm.js";
4
4
  import { Fragment as s, computed as c, createElementBlock as l, createElementVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderList as h, toDisplayString as g } from "vue";
5
5
  //#region src/components/spinner/BlockSpinner.vue?vue&type=script&setup=true&lang.ts
6
6
  var _ = ["aria-label"], v = { class: "sr-only" }, y = 150, b = 600, x = 4, S = /* @__PURE__ */ d({
@@ -1,4 +1,4 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
4
  import { useReducedMotion as r } from "../composables/useReducedMotion.js";
@@ -1,5 +1,5 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
2
- import { o as t } from "./brutal-interaction-variants-Dd50fX12.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { s as t } from "./brutal-interaction-variants-CEQ3PywD.js";
3
3
  import { t as n } from "./icon-size-variants-Cp9lYoRk.js";
4
4
  import { useLocale as r } from "../composables/useLocale.js";
5
5
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,10 +1,10 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
3
  import { useLocale as n } from "../composables/useLocale.js";
4
- import { t as r } from "./Button-QI4aDHQu.js";
5
- import { t as i } from "./Badge-xfW_Kb-K.js";
6
- import { t as a } from "./Card-01h9lLdf.js";
7
- import { t as o } from "./CardContent-DQSu-W_o.js";
4
+ import { t as r } from "./Button-q6iBsrfD.js";
5
+ import { t as i } from "./Badge-24Ammu5Y.js";
6
+ import { t as a } from "./Card-D8y_0_6p.js";
7
+ import { t as o } from "./CardContent-D_9mQ6RG.js";
8
8
  import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
9
9
  import { ArrowRight as b, Sparkles as x } from "@lucide/vue";
10
10
  //#region src/components/brutalist-hero/BrutalistHero.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
2
- import { t } from "./button-variants-CBpRcDNH.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { t } from "./button-variants-CUdw3nH7.js";
3
3
  import { t as n } from "./icon-size-variants-Cp9lYoRk.js";
4
4
  import { useLocale as r } from "../composables/useLocale.js";
5
5
  import { p as i } from "./defaults-1sEDJLoL.js";
@@ -0,0 +1,99 @@
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { r as t, s as n } from "./brutal-interaction-variants-CEQ3PywD.js";
3
+ import { x as r } from "./env-CudGjJlt.js";
4
+ import { computed as i, createElementBlock as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l } from "vue";
5
+ import { cva as u } from "class-variance-authority";
6
+ //#region src/components/card/card-variants.ts
7
+ var d = u([
8
+ "border-3 border-brutal",
9
+ "rounded-brutal",
10
+ "bg-brutal-bg text-brutal-fg",
11
+ "transition-all duration-150"
12
+ ], {
13
+ variants: {
14
+ variant: {
15
+ default: "shadow-brutal",
16
+ elevated: "shadow-brutal-lg",
17
+ flat: "shadow-none",
18
+ interactive: [
19
+ "shadow-brutal",
20
+ t,
21
+ n,
22
+ "cursor-pointer"
23
+ ],
24
+ primary: "shadow-brutal-primary border-brutal-primary",
25
+ secondary: "shadow-brutal-secondary border-brutal-secondary"
26
+ },
27
+ padding: {
28
+ none: "p-0",
29
+ sm: "p-3",
30
+ default: "p-5",
31
+ lg: "p-8"
32
+ }
33
+ },
34
+ defaultVariants: {
35
+ variant: "default",
36
+ padding: "default"
37
+ }
38
+ }), f = [
39
+ "role",
40
+ "tabindex",
41
+ "aria-disabled"
42
+ ], p = /* @__PURE__ */ o({
43
+ __name: "Card",
44
+ props: {
45
+ variant: { default: "default" },
46
+ padding: { default: "default" },
47
+ interactive: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ disabled: {
52
+ type: Boolean,
53
+ default: !1
54
+ },
55
+ class: { default: void 0 }
56
+ },
57
+ emits: ["activate"],
58
+ setup(t, { emit: n }) {
59
+ let o = t, u = n, p = i(() => o.interactive || o.variant === "interactive"), m = i(() => e(d({
60
+ variant: o.disabled && o.variant === "interactive" ? "default" : o.variant,
61
+ padding: o.padding
62
+ }), o.interactive && !o.disabled && o.variant !== "interactive" && "cursor-pointer hover:shadow-brutal-lg hover:-translate-y-0.5 transition-all", o.class)), h = !1;
63
+ function g(e, t) {
64
+ if (e === t || !(e instanceof Element)) return !1;
65
+ let n = e.closest("a, button, input, select, textarea, [role=\"button\"]");
66
+ return !!n && n !== t;
67
+ }
68
+ function _(e) {
69
+ !p.value || o.disabled || e.repeat || g(e.target, e.currentTarget) || ((e.key === "Enter" || e.key === " ") && e.preventDefault(), e.key === "Enter" && (h = !0, u("activate", e), r(() => {
70
+ h = !1;
71
+ })));
72
+ }
73
+ function v(e) {
74
+ !p.value || o.disabled || e.repeat || e.key !== " " || g(e.target, e.currentTarget) || (e.preventDefault(), h = !0, u("activate", e), r(() => {
75
+ h = !1;
76
+ }));
77
+ }
78
+ function y(e) {
79
+ if (!(!p.value || o.disabled) && e.button === 0 && !g(e.target, e.currentTarget)) {
80
+ if (h) {
81
+ h = !1;
82
+ return;
83
+ }
84
+ u("activate", e);
85
+ }
86
+ }
87
+ return (e, t) => (c(), a("div", {
88
+ class: s(m.value),
89
+ role: p.value ? "button" : void 0,
90
+ tabindex: p.value ? o.disabled ? -1 : 0 : void 0,
91
+ "aria-disabled": p.value && o.disabled ? !0 : void 0,
92
+ onClick: y,
93
+ onKeydown: _,
94
+ onKeyup: v
95
+ }, [l(e.$slots, "default")], 42, f));
96
+ }
97
+ });
98
+ //#endregion
99
+ export { d as n, p as t };
@@ -0,0 +1,125 @@
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { useLocale as t } from "../composables/useLocale.js";
3
+ import { d as n } from "./defaults-1sEDJLoL.js";
4
+ import { o as r } from "./env-CudGjJlt.js";
5
+ import { useReducedMotion as i } from "../composables/useReducedMotion.js";
6
+ import { computed as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, unref as _, watch as v } from "vue";
7
+ import { cva as y } from "class-variance-authority";
8
+ //#region src/components/card-3d/card-3d-variants.ts
9
+ var b = { default: 4 }, x = b.default, S = y([
10
+ "relative",
11
+ "border-3 border-brutal",
12
+ "rounded-brutal",
13
+ "transition-transform duration-200 ease-out"
14
+ ], {
15
+ variants: {
16
+ shadow: {
17
+ default: "[--card3d-offset:4px]",
18
+ lg: "[--card3d-offset:8px]",
19
+ xl: "[--card3d-offset:12px]"
20
+ },
21
+ variant: {
22
+ default: "bg-brutal-bg text-brutal-fg",
23
+ primary: "bg-brutal-primary text-brutal-primary-foreground",
24
+ accent: "bg-brutal-accent text-brutal-accent-foreground",
25
+ muted: "bg-brutal-muted text-brutal-muted-foreground"
26
+ }
27
+ },
28
+ defaultVariants: {
29
+ shadow: "default",
30
+ variant: "default"
31
+ }
32
+ }), C = "absolute inset-0 border-3 border-brutal rounded-brutal bg-brutal-fg transition-transform duration-200 ease-out -z-10 pointer-events-none", w = ["aria-label"], T = .5, E = /* @__PURE__ */ c({
33
+ __name: "Card3D",
34
+ props: {
35
+ maxRotation: { default: 15 },
36
+ perspective: { default: n },
37
+ scale: { default: 1.02 },
38
+ shadowOffset: { default: 10 },
39
+ shadow: { default: "default" },
40
+ variant: { default: "default" },
41
+ disabled: {
42
+ type: Boolean,
43
+ default: !1
44
+ },
45
+ clickable: {
46
+ type: Boolean,
47
+ default: !1
48
+ },
49
+ ariaLabel: { default: void 0 },
50
+ class: { default: void 0 }
51
+ },
52
+ emits: ["click"],
53
+ setup(n, { emit: c }) {
54
+ let y = n, b = c, E = h(null), D = h(0), O = h(0), k = h(!1), A = i(), { t: j } = t(), M = x, N = () => {
55
+ if (!E.value) return M;
56
+ let e = r(E.value)?.getPropertyValue("--card3d-offset").trim(), t = e ? parseInt(e, 10) : NaN;
57
+ return Number.isNaN(t) ? M : t;
58
+ }, P = h(M);
59
+ p(() => {
60
+ P.value = N();
61
+ }), v(() => y.shadow, () => {
62
+ u(() => {
63
+ P.value = N();
64
+ });
65
+ });
66
+ let F = h(0), I = h(0), L = (e) => {
67
+ if (y.disabled || A.value) return;
68
+ let t = E.value, n = t?.getBoundingClientRect();
69
+ if (!t || !n || n.width <= 0 || n.height <= 0) return;
70
+ let r = n.width, i = n.height;
71
+ k.value = !0;
72
+ let a = (e.clientX - n.left) / r - T, o = (e.clientY - n.top) / i - T;
73
+ !Number.isFinite(a) || !Number.isFinite(o) || (D.value = -o * y.maxRotation, O.value = a * y.maxRotation, F.value = -a * y.shadowOffset + P.value, I.value = -o * y.shadowOffset + P.value);
74
+ }, R = () => {
75
+ k.value = !1, D.value = 0, O.value = 0, F.value = P.value, I.value = P.value;
76
+ };
77
+ F.value = P.value, I.value = P.value, v(P, (e) => {
78
+ k.value || (F.value = e, I.value = e);
79
+ }), v([() => y.disabled, A], ([e, t]) => {
80
+ (e || t) && (k.value = !1, D.value = 0, O.value = 0, F.value = P.value, I.value = P.value);
81
+ });
82
+ let z = a(() => y.disabled || A.value ? {} : { transform: k.value ? `perspective(${y.perspective}px) rotateX(${D.value}deg) rotateY(${O.value}deg) scale(${y.scale})` : `perspective(${y.perspective}px) rotateX(0deg) rotateY(0deg) scale(1)` }), B = a(() => y.disabled || A.value ? { transform: `translate(${P.value}px, ${P.value}px)` } : { transform: `translate(${F.value}px, ${I.value}px)` }), V = a(() => e("relative z-0 inline-block w-full", y.class)), H = a(() => e(S({
83
+ shadow: y.shadow,
84
+ variant: y.variant
85
+ }), y.clickable && "cursor-pointer")), U = a(() => y.clickable ? {
86
+ tabindex: y.disabled ? -1 : 0,
87
+ role: "button",
88
+ "aria-disabled": y.disabled || void 0,
89
+ "aria-label": y.ariaLabel
90
+ } : {}), W = !1, G = (e) => {
91
+ if (y.disabled || !y.clickable) return;
92
+ let t = e.detail === 0 && W;
93
+ W = !1, !t && b("click", e);
94
+ }, K = (e) => {
95
+ if (!(y.disabled || !y.clickable)) if (e.key === "Enter") {
96
+ if (e.preventDefault(), e.repeat) return;
97
+ W = !0, b("click", e);
98
+ } else e.key === " " && e.preventDefault();
99
+ }, q = (e) => {
100
+ y.disabled || !y.clickable || e.repeat || e.key !== " " || (e.preventDefault(), W = !0, b("click", e));
101
+ }, J = a(() => e(C));
102
+ return (e, t) => (m(), o("div", {
103
+ class: d(V.value),
104
+ role: "group",
105
+ "aria-label": _(j)("card3d.ariaLabel")
106
+ }, [s("div", l({
107
+ ref_key: "cardRef",
108
+ ref: E,
109
+ class: H.value,
110
+ style: z.value
111
+ }, U.value, {
112
+ onPointermove: L,
113
+ onPointerleave: R,
114
+ onClick: G,
115
+ onKeydown: K,
116
+ onKeyup: q
117
+ }), [g(e.$slots, "default")], 16), s("div", {
118
+ class: d(J.value),
119
+ style: f(B.value),
120
+ "aria-hidden": "true"
121
+ }, null, 6)], 10, w));
122
+ }
123
+ });
124
+ //#endregion
125
+ export { S as a, C as i, b as n, x as r, E as t };
@@ -1,4 +1,4 @@
1
- import { n as e } from "./utils-D4SUu3He.js";
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
2
  import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
3
3
  //#endregion
4
4
  //#region src/components/card/CardContent.vue
@@ -0,0 +1,49 @@
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { y as t } from "./env-CudGjJlt.js";
3
+ import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, resolveDynamicComponent as l, withCtx as u } from "vue";
4
+ //#endregion
5
+ //#region src/components/card/CardHeader.vue
6
+ var d = /* @__PURE__ */ a({
7
+ __name: "CardHeader",
8
+ props: { class: {} },
9
+ setup(t) {
10
+ let r = t, a = n(() => e("flex flex-col space-y-1.5 pb-4", r.class));
11
+ return (e, t) => (s(), i("div", { class: o(a.value) }, [c(e.$slots, "default")], 2));
12
+ }
13
+ }), f = /* @__PURE__ */ a({
14
+ __name: "CardTitle",
15
+ props: {
16
+ as: { default: "h3" },
17
+ class: { default: void 0 }
18
+ },
19
+ setup(i) {
20
+ let a = [
21
+ "h1",
22
+ "h2",
23
+ "h3",
24
+ "h4",
25
+ "h5",
26
+ "h6"
27
+ ], d = i, f = n(() => a.includes(d.as) ? d.as : (t() && console.warn(`[BrutxUI CardTitle] 非法 as 值 "${String(d.as)}",已回退为 h3(可选值:${a.join("、")})`), "h3")), p = n(() => e("text-2xl font-black tracking-tight leading-none", d.class));
28
+ return (e, t) => (s(), r(l(f.value), { class: o(p.value) }, {
29
+ default: u(() => [c(e.$slots, "default")]),
30
+ _: 3
31
+ }, 8, ["class"]));
32
+ }
33
+ }), p = /* @__PURE__ */ a({
34
+ __name: "CardDescription",
35
+ props: { class: {} },
36
+ setup(t) {
37
+ let r = t, a = n(() => e("text-sm text-brutal-muted-foreground font-medium", r.class));
38
+ return (e, t) => (s(), i("p", { class: o(a.value) }, [c(e.$slots, "default")], 2));
39
+ }
40
+ }), m = /* @__PURE__ */ a({
41
+ __name: "CardFooter",
42
+ props: { class: {} },
43
+ setup(t) {
44
+ let r = t, a = n(() => e("flex items-center pt-4 border-t-3 border-brutal", r.class));
45
+ return (e, t) => (s(), i("div", { class: o(a.value) }, [c(e.$slots, "default")], 2));
46
+ }
47
+ });
48
+ //#endregion
49
+ export { d as i, p as n, f as r, m as t };