brutx-ui-vue 0.10.0 → 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 (443) hide show
  1. package/dist/chunks/AccordionContent-ByyKRICe.js +141 -0
  2. package/dist/chunks/AlertDescription-Radnhfr1.js +115 -0
  3. package/dist/chunks/AlertDialogCancel-mNOGcdUd.js +141 -0
  4. package/dist/chunks/AuthCard-De5EFfy1.js +219 -0
  5. package/dist/chunks/AvatarFallback-ClZeBT_M.js +125 -0
  6. package/dist/chunks/Backtop-Q9KTljRE.js +114 -0
  7. package/dist/chunks/{Badge-pOzgPTI3.js → Badge-24Ammu5Y.js} +23 -16
  8. package/dist/chunks/{BarsSpinner-BmdoBCDv.js → BarsSpinner-KoxI7X-g.js} +2 -2
  9. package/dist/chunks/{BeforeAfter-BcE6tTC6.js → BeforeAfter-H8BbM93n.js} +26 -21
  10. package/dist/chunks/BreadcrumbEllipsis-BXKyWll9.js +97 -0
  11. package/dist/chunks/BrutalistHero-FSLNCIsk.js +74 -0
  12. package/dist/chunks/{Button-BqrvVG21.js → Button-q6iBsrfD.js} +7 -5
  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-BBz-h37h.js → ColorModeSwitcher-D3Y8SPHL.js} +9 -9
  21. package/dist/chunks/ColorPicker-7QvaHLrX.js +901 -0
  22. package/dist/chunks/{Combobox-CuoCqBPD.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-jmBmow3m.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-DU72_E7g.js → DashboardShell-Dr6GM0pV.js} +2 -2
  29. package/dist/chunks/{DataTable-BQEJOXJg.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-C7KaYHrs.js → FeedbackForm-BNsMRKK_.js} +8 -8
  35. package/dist/chunks/{FooterSection-DP2FXS7r.js → FooterSection-CrlOh0dU.js} +3 -3
  36. package/dist/chunks/{GlitchText-CoacNZLI.js → GlitchText-BIYOXR0F.js} +2 -2
  37. package/dist/chunks/{HardcoreInput-3lnuJmg3.js → HardcoreInput-Dwsfp_1f.js} +46 -46
  38. package/dist/chunks/{HeaderSection-BFGxRz55.js → HeaderSection-ozxvq_z9.js} +4 -4
  39. package/dist/chunks/Image-D8dPrXY_.js +244 -0
  40. package/dist/chunks/{Input-GuHL4o2p.js → Input-ocylumxr.js} +78 -72
  41. package/dist/chunks/{KanbanBoard-B4StA5zi.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-B8NFRUuc.js → NumberInput-CQ55tcXA.js} +6 -6
  48. package/dist/chunks/Pagination-CPLGzpB3.js +291 -0
  49. package/dist/chunks/{Popconfirm-CLtr0FZj.js → Popconfirm-BplDWbhZ.js} +2 -2
  50. package/dist/chunks/{PopoverContent-CLN8H8Od.js → PopoverContent-mDXTT0x3.js} +1 -2
  51. package/dist/chunks/{PricingSection-Cw9l-mCP.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-DENERz-d.js → Textarea-BSCquv1b.js} +25 -25
  75. package/dist/chunks/{TimelineContent-g7NkADgZ.js → TimelineContent-DkRHov6m.js} +1 -1
  76. package/dist/chunks/{ToastContainer-CIyzkAhJ.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-Dkn0nIyS.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-D13QCPFD.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-R9hEuVua.js → button-variants-CUdw3nH7.js} +20 -21
  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-5rN7ScKT.js → date-picker-Bhx0W2Da.js} +18 -18
  93. package/dist/chunks/fallback-manager-Dav7cq1J.js +30 -0
  94. package/dist/chunks/{form-BiZstA9T.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-B8WPv1y-.js → functional-FwBYdpz6.js} +11 -8
  97. package/dist/chunks/{locales-C_U381MQ.js → locales-KETy8Awb.js} +5 -2
  98. package/dist/chunks/{modal-variants-BpiGhY-y.js → modal-variants-BXR5_JzE.js} +14 -13
  99. package/dist/chunks/{plugin-CwDSizUp.js → plugin-DjZsq-f8.js} +1 -1
  100. package/dist/chunks/{shared-input-variants-C8wUYxKJ.js → shared-input-variants-Ct9rJ3Kb.js} +2 -2
  101. package/dist/chunks/{toggle-variants-CegsIINm.js → toggle-variants-BKM1XrzU.js} +13 -10
  102. package/dist/chunks/{tree-variants-CRIdX2o7.js → tree-variants-BY-fa_F7.js} +1 -1
  103. package/dist/chunks/{useInfiniteScroll-BBPOYP51.js → useInfiniteScroll-C6YEcy9L.js} +1 -1
  104. package/dist/chunks/{useMessage-CfzIAOkG.js → useMessage-Cn2VUKsF.js} +5 -5
  105. package/dist/chunks/{useTheme-CS4HqKDz.js → useTheme-BgtEgyuj.js} +19 -22
  106. package/dist/chunks/utils-B_mSHye_.js +9 -0
  107. package/dist/chunks/{zh-CN-9JcLDC8B.js → zh-CN-BHTVKo2O.js} +5 -2
  108. package/dist/components/accordion/Accordion.vue.d.ts.map +1 -1
  109. package/dist/components/accordion/AccordionContent.vue.d.ts.map +1 -1
  110. package/dist/components/accordion/AccordionItem.vue.d.ts.map +1 -1
  111. package/dist/components/accordion/AccordionTrigger.vue.d.ts.map +1 -1
  112. package/dist/components/accordion/accordion-key.d.ts +3 -2
  113. package/dist/components/accordion/accordion-key.d.ts.map +1 -1
  114. package/dist/components/accordion/accordion-variants.d.ts +1 -0
  115. package/dist/components/accordion/accordion-variants.d.ts.map +1 -1
  116. package/dist/components/accordion/index.js +2 -2
  117. package/dist/components/alert/Alert.vue.d.ts.map +1 -1
  118. package/dist/components/alert/AlertDescription.vue.d.ts +2 -0
  119. package/dist/components/alert/AlertDescription.vue.d.ts.map +1 -1
  120. package/dist/components/alert/AlertTitle.vue.d.ts.map +1 -1
  121. package/dist/components/alert/alert-context.d.ts +10 -0
  122. package/dist/components/alert/alert-context.d.ts.map +1 -0
  123. package/dist/components/alert/alert-variants.d.ts.map +1 -1
  124. package/dist/components/alert/index.d.ts +1 -0
  125. package/dist/components/alert/index.d.ts.map +1 -1
  126. package/dist/components/alert/index.js +2 -2
  127. package/dist/components/alert-dialog/AlertDialogAction.vue.d.ts +5 -3
  128. package/dist/components/alert-dialog/AlertDialogAction.vue.d.ts.map +1 -1
  129. package/dist/components/alert-dialog/AlertDialogCancel.vue.d.ts +2 -1
  130. package/dist/components/alert-dialog/AlertDialogCancel.vue.d.ts.map +1 -1
  131. package/dist/components/alert-dialog/AlertDialogContent.vue.d.ts +4 -1
  132. package/dist/components/alert-dialog/AlertDialogContent.vue.d.ts.map +1 -1
  133. package/dist/components/alert-dialog/AlertDialogDescription.vue.d.ts +2 -1
  134. package/dist/components/alert-dialog/AlertDialogDescription.vue.d.ts.map +1 -1
  135. package/dist/components/alert-dialog/AlertDialogFooter.vue.d.ts +2 -1
  136. package/dist/components/alert-dialog/AlertDialogFooter.vue.d.ts.map +1 -1
  137. package/dist/components/alert-dialog/AlertDialogHeader.vue.d.ts +2 -1
  138. package/dist/components/alert-dialog/AlertDialogHeader.vue.d.ts.map +1 -1
  139. package/dist/components/alert-dialog/AlertDialogTitle.vue.d.ts +2 -1
  140. package/dist/components/alert-dialog/AlertDialogTitle.vue.d.ts.map +1 -1
  141. package/dist/components/alert-dialog/alert-dialog-variants.d.ts.map +1 -1
  142. package/dist/components/alert-dialog/index.js +1 -1
  143. package/dist/components/auth-card/AuthCard.vue.d.ts +6 -0
  144. package/dist/components/auth-card/AuthCard.vue.d.ts.map +1 -1
  145. package/dist/components/auth-card/index.js +1 -1
  146. package/dist/components/avatar/Avatar.vue.d.ts.map +1 -1
  147. package/dist/components/avatar/AvatarFallback.vue.d.ts +10 -2
  148. package/dist/components/avatar/AvatarFallback.vue.d.ts.map +1 -1
  149. package/dist/components/avatar/AvatarImage.vue.d.ts +3 -1
  150. package/dist/components/avatar/AvatarImage.vue.d.ts.map +1 -1
  151. package/dist/components/avatar/avatar-key.d.ts +8 -0
  152. package/dist/components/avatar/avatar-key.d.ts.map +1 -1
  153. package/dist/components/avatar/avatar-variants.d.ts.map +1 -1
  154. package/dist/components/avatar/index.js +1 -1
  155. package/dist/components/backtop/Backtop.vue.d.ts.map +1 -1
  156. package/dist/components/backtop/index.js +1 -1
  157. package/dist/components/badge/Badge.vue.d.ts.map +1 -1
  158. package/dist/components/badge/index.js +1 -1
  159. package/dist/components/before-after/BeforeAfter.vue.d.ts.map +1 -1
  160. package/dist/components/before-after/before-after-variants.d.ts.map +1 -1
  161. package/dist/components/before-after/index.js +1 -1
  162. package/dist/components/breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
  163. package/dist/components/breadcrumb/BreadcrumbEllipsis.vue.d.ts.map +1 -1
  164. package/dist/components/breadcrumb/BreadcrumbItem.vue.d.ts.map +1 -1
  165. package/dist/components/breadcrumb/BreadcrumbLink.vue.d.ts +1 -0
  166. package/dist/components/breadcrumb/BreadcrumbLink.vue.d.ts.map +1 -1
  167. package/dist/components/breadcrumb/BreadcrumbList.vue.d.ts.map +1 -1
  168. package/dist/components/breadcrumb/BreadcrumbPage.vue.d.ts.map +1 -1
  169. package/dist/components/breadcrumb/BreadcrumbSeparator.vue.d.ts.map +1 -1
  170. package/dist/components/breadcrumb/breadcrumb-variants.d.ts.map +1 -1
  171. package/dist/components/breadcrumb/index.js +1 -1
  172. package/dist/components/brutalist-hero/BrutalistHero.vue.d.ts +11 -1
  173. package/dist/components/brutalist-hero/BrutalistHero.vue.d.ts.map +1 -1
  174. package/dist/components/brutalist-hero/index.js +1 -1
  175. package/dist/components/button/Button.vue.d.ts.map +1 -1
  176. package/dist/components/button/button-variants.d.ts.map +1 -1
  177. package/dist/components/button/index.js +2 -2
  178. package/dist/components/button/shared-button-variants.d.ts.map +1 -1
  179. package/dist/components/calendar/Calendar.vue.d.ts.map +1 -1
  180. package/dist/components/calendar/index.js +1 -1
  181. package/dist/components/card/Card.vue.d.ts +3 -0
  182. package/dist/components/card/Card.vue.d.ts.map +1 -1
  183. package/dist/components/card/CardTitle.vue.d.ts +4 -2
  184. package/dist/components/card/CardTitle.vue.d.ts.map +1 -1
  185. package/dist/components/card/index.js +3 -3
  186. package/dist/components/card-3d/Card3D.vue.d.ts +4 -2
  187. package/dist/components/card-3d/Card3D.vue.d.ts.map +1 -1
  188. package/dist/components/card-3d/card-3d-variants.d.ts +5 -2
  189. package/dist/components/card-3d/card-3d-variants.d.ts.map +1 -1
  190. package/dist/components/card-3d/index.js +2 -2
  191. package/dist/components/carousel/Carousel.vue.d.ts.map +1 -1
  192. package/dist/components/carousel/CarouselItem.vue.d.ts +6 -0
  193. package/dist/components/carousel/CarouselItem.vue.d.ts.map +1 -1
  194. package/dist/components/carousel/carousel-variants.d.ts +1 -1
  195. package/dist/components/carousel/carousel-variants.d.ts.map +1 -1
  196. package/dist/components/carousel/index.js +1 -1
  197. package/dist/components/carousel/types.d.ts +1 -0
  198. package/dist/components/carousel/types.d.ts.map +1 -1
  199. package/dist/components/cascader/Cascader.vue.d.ts.map +1 -1
  200. package/dist/components/cascader/cascader-types.d.ts +10 -3
  201. package/dist/components/cascader/cascader-types.d.ts.map +1 -1
  202. package/dist/components/cascader/cascader-variants.d.ts.map +1 -1
  203. package/dist/components/cascader/index.js +1 -1
  204. package/dist/components/chat-bubble/ChatBubble.vue.d.ts +1 -0
  205. package/dist/components/chat-bubble/ChatBubble.vue.d.ts.map +1 -1
  206. package/dist/components/chat-bubble/ChatContainer.vue.d.ts.map +1 -1
  207. package/dist/components/chat-bubble/chat-bubble-variants.d.ts.map +1 -1
  208. package/dist/components/chat-bubble/index.js +1 -1
  209. package/dist/components/chat-bubble/types.d.ts +18 -0
  210. package/dist/components/chat-bubble/types.d.ts.map +1 -1
  211. package/dist/components/checkbox/Checkbox.vue.d.ts +16 -0
  212. package/dist/components/checkbox/Checkbox.vue.d.ts.map +1 -1
  213. package/dist/components/checkbox/checkbox-variants.d.ts.map +1 -1
  214. package/dist/components/checkbox/index.js +1 -1
  215. package/dist/components/code-block/CodeBlock.vue.d.ts.map +1 -1
  216. package/dist/components/code-block/code-block-variants.d.ts.map +1 -1
  217. package/dist/components/code-block/index.js +1 -1
  218. package/dist/components/code-block/prism-languages.d.ts +7 -0
  219. package/dist/components/code-block/prism-languages.d.ts.map +1 -1
  220. package/dist/components/color-mode-switcher/ColorModeSwitcher.vue.d.ts.map +1 -1
  221. package/dist/components/color-mode-switcher/index.js +1 -1
  222. package/dist/components/color-picker/ColorPicker.vue.d.ts +1 -1
  223. package/dist/components/color-picker/ColorPicker.vue.d.ts.map +1 -1
  224. package/dist/components/color-picker/ColorPickerHistory.vue.d.ts.map +1 -1
  225. package/dist/components/color-picker/ColorPickerInput.vue.d.ts.map +1 -1
  226. package/dist/components/color-picker/ColorPickerPanel.vue.d.ts.map +1 -1
  227. package/dist/components/color-picker/ColorPickerSwatch.vue.d.ts.map +1 -1
  228. package/dist/components/color-picker/color-picker-variants.d.ts.map +1 -1
  229. package/dist/components/color-picker/index.js +1 -1
  230. package/dist/components/color-picker/types.d.ts +2 -1
  231. package/dist/components/color-picker/types.d.ts.map +1 -1
  232. package/dist/components/combobox/Combobox.vue.d.ts.map +1 -1
  233. package/dist/components/combobox/index.js +1 -1
  234. package/dist/components/command/Command.vue.d.ts +3 -2
  235. package/dist/components/command/Command.vue.d.ts.map +1 -1
  236. package/dist/components/command/CommandDialog.vue.d.ts +9 -2
  237. package/dist/components/command/CommandDialog.vue.d.ts.map +1 -1
  238. package/dist/components/command/CommandEmpty.vue.d.ts +2 -1
  239. package/dist/components/command/CommandEmpty.vue.d.ts.map +1 -1
  240. package/dist/components/command/CommandGroup.vue.d.ts +2 -1
  241. package/dist/components/command/CommandGroup.vue.d.ts.map +1 -1
  242. package/dist/components/command/CommandInput.vue.d.ts +3 -2
  243. package/dist/components/command/CommandInput.vue.d.ts.map +1 -1
  244. package/dist/components/command/CommandItem.vue.d.ts +2 -1
  245. package/dist/components/command/CommandItem.vue.d.ts.map +1 -1
  246. package/dist/components/command/CommandList.vue.d.ts +10 -2
  247. package/dist/components/command/CommandList.vue.d.ts.map +1 -1
  248. package/dist/components/command/CommandSeparator.vue.d.ts +2 -1
  249. package/dist/components/command/CommandSeparator.vue.d.ts.map +1 -1
  250. package/dist/components/command/CommandShortcut.vue.d.ts +2 -1
  251. package/dist/components/command/CommandShortcut.vue.d.ts.map +1 -1
  252. package/dist/components/command/command-context.d.ts +9 -0
  253. package/dist/components/command/command-context.d.ts.map +1 -1
  254. package/dist/components/command/command-variants.d.ts.map +1 -1
  255. package/dist/components/command/index.js +2 -2
  256. package/dist/components/cookie-consent/CookieConsent.vue.d.ts.map +1 -1
  257. package/dist/components/cookie-consent/index.js +1 -1
  258. package/dist/components/copy-to-clipboard/CopyToClipboard.vue.d.ts +1 -0
  259. package/dist/components/copy-to-clipboard/CopyToClipboard.vue.d.ts.map +1 -1
  260. package/dist/components/copy-to-clipboard/copy-to-clipboard-variants.d.ts +1 -1
  261. package/dist/components/copy-to-clipboard/copy-to-clipboard-variants.d.ts.map +1 -1
  262. package/dist/components/copy-to-clipboard/index.js +1 -1
  263. package/dist/components/counter/Counter.vue.d.ts +1 -1
  264. package/dist/components/counter/Counter.vue.d.ts.map +1 -1
  265. package/dist/components/counter/counter-variants.d.ts.map +1 -1
  266. package/dist/components/counter/index.js +1 -1
  267. package/dist/components/dashboard-shell/index.js +1 -1
  268. package/dist/components/data-table/DataTableColumnFilter.vue.d.ts.map +1 -1
  269. package/dist/components/data-table/index.js +1 -1
  270. package/dist/components/date-picker/DatePickerPanel.vue.d.ts.map +1 -1
  271. package/dist/components/date-picker/DatePickerRangePanel.vue.d.ts.map +1 -1
  272. package/dist/components/date-picker/DateTimePickerPanel.vue.d.ts.map +1 -1
  273. package/dist/components/date-picker/WeekPickerPanel.vue.d.ts.map +1 -1
  274. package/dist/components/date-picker/date-picker-variants.d.ts.map +1 -1
  275. package/dist/components/date-picker/index.js +1 -1
  276. package/dist/components/descriptions/index.js +1 -1
  277. package/dist/components/dialog/DialogFooter.vue.d.ts.map +1 -1
  278. package/dist/components/dialog/index.js +3 -3
  279. package/dist/components/dropdown-menu/dropdown-menu-variants.d.ts.map +1 -1
  280. package/dist/components/dropdown-menu/index.js +1 -1
  281. package/dist/components/feedback-form/index.js +1 -1
  282. package/dist/components/footer-section/index.js +1 -1
  283. package/dist/components/form/index.js +1 -1
  284. package/dist/components/glitch-text/index.js +1 -1
  285. package/dist/components/hardcore-input/hardcore-input-variants.d.ts.map +1 -1
  286. package/dist/components/hardcore-input/index.js +1 -1
  287. package/dist/components/header-section/index.js +1 -1
  288. package/dist/components/image/Image.vue.d.ts.map +1 -1
  289. package/dist/components/image/index.js +1 -1
  290. package/dist/components/infinite-scroll/index.js +1 -1
  291. package/dist/components/input/Input.vue.d.ts +3 -0
  292. package/dist/components/input/Input.vue.d.ts.map +1 -1
  293. package/dist/components/input/index.js +2 -2
  294. package/dist/components/input/input-variants.d.ts.map +1 -1
  295. package/dist/components/input/shared-input-variants.d.ts +0 -7
  296. package/dist/components/input/shared-input-variants.d.ts.map +1 -1
  297. package/dist/components/kanban/index.js +1 -1
  298. package/dist/components/kbd/index.js +1 -1
  299. package/dist/components/label/index.js +1 -1
  300. package/dist/components/loading/Loading.vue.d.ts.map +1 -1
  301. package/dist/components/loading/index.js +1 -1
  302. package/dist/components/marquee/index.js +1 -1
  303. package/dist/components/menu/MenuItem.vue.d.ts.map +1 -1
  304. package/dist/components/menu/SubMenu.vue.d.ts.map +1 -1
  305. package/dist/components/menu/index.js +1 -1
  306. package/dist/components/message/index.js +1 -1
  307. package/dist/components/noise-background/index.js +1 -1
  308. package/dist/components/number-input/index.js +1 -1
  309. package/dist/components/pagination/index.js +1 -1
  310. package/dist/components/pagination/pagination-variants.d.ts.map +1 -1
  311. package/dist/components/popconfirm/index.js +1 -1
  312. package/dist/components/popover/index.js +1 -1
  313. package/dist/components/popover/popover-variants.d.ts.map +1 -1
  314. package/dist/components/pricing-section/index.js +1 -1
  315. package/dist/components/progress/index.js +1 -1
  316. package/dist/components/radio-group/index.js +1 -1
  317. package/dist/components/radio-group/radio-group-variants.d.ts.map +1 -1
  318. package/dist/components/rate/index.js +1 -1
  319. package/dist/components/result/Result.vue.d.ts.map +1 -1
  320. package/dist/components/result/index.js +1 -1
  321. package/dist/components/scratch-card/index.js +1 -1
  322. package/dist/components/scroll-area/index.js +1 -1
  323. package/dist/components/select/index.js +2 -2
  324. package/dist/components/select/select-variants.d.ts.map +1 -1
  325. package/dist/components/separator/index.js +1 -1
  326. package/dist/components/separator/separator-variants.d.ts +6 -1
  327. package/dist/components/separator/separator-variants.d.ts.map +1 -1
  328. package/dist/components/sheet/index.js +2 -2
  329. package/dist/components/skeleton/index.js +2 -2
  330. package/dist/components/sketchy-chart/index.js +1 -1
  331. package/dist/components/slider/index.js +1 -1
  332. package/dist/components/slider/slider-variants.d.ts.map +1 -1
  333. package/dist/components/spinner/index.js +2 -2
  334. package/dist/components/stepper/index.js +1 -1
  335. package/dist/components/stepper/stepper-variants.d.ts +1 -1
  336. package/dist/components/switch/index.js +1 -1
  337. package/dist/components/table/index.js +1 -1
  338. package/dist/components/tabs/index.js +1 -1
  339. package/dist/components/tabs/tabs-variants.d.ts.map +1 -1
  340. package/dist/components/tags-input/index.js +1 -1
  341. package/dist/components/textarea/index.js +1 -1
  342. package/dist/components/textarea/textarea-variants.d.ts.map +1 -1
  343. package/dist/components/timeline/index.js +1 -1
  344. package/dist/components/toast/index.js +1 -1
  345. package/dist/components/toggle/index.js +2 -2
  346. package/dist/components/toggle/toggle-variants.d.ts.map +1 -1
  347. package/dist/components/toggle-group/index.js +1 -1
  348. package/dist/components/tooltip/index.js +1 -1
  349. package/dist/components/tour/Tour.vue.d.ts.map +1 -1
  350. package/dist/components/tour/index.js +1 -1
  351. package/dist/components/transfer/index.js +1 -1
  352. package/dist/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
  353. package/dist/components/tree-select/index.js +1 -1
  354. package/dist/components/tree-select/tree-select-variants.d.ts.map +1 -1
  355. package/dist/components/tree-view/TreeViewNode.vue.d.ts.map +1 -1
  356. package/dist/components/tree-view/index.js +1 -1
  357. package/dist/components/typewriter-text/index.js +1 -1
  358. package/dist/components/upload/index.js +1 -1
  359. package/dist/components/virtual-scroll/index.js +1 -1
  360. package/dist/composables/destroyFallbacks.js +2 -2
  361. package/dist/composables/useCarousel.d.ts +3 -1
  362. package/dist/composables/useCarousel.d.ts.map +1 -1
  363. package/dist/composables/useCarousel.js +56 -50
  364. package/dist/composables/useCarouselEnhanced.d.ts.map +1 -1
  365. package/dist/composables/useCarouselEnhanced.js +38 -33
  366. package/dist/composables/useClipboard.d.ts +2 -0
  367. package/dist/composables/useClipboard.d.ts.map +1 -1
  368. package/dist/composables/useClipboard.js +3 -3
  369. package/dist/composables/useDebounce.d.ts.map +1 -1
  370. package/dist/composables/useDebounce.js +23 -23
  371. package/dist/composables/useDialog.js +1 -1
  372. package/dist/composables/useFormFieldValidation.d.ts.map +1 -1
  373. package/dist/composables/useFormFieldValidation.js +21 -20
  374. package/dist/composables/useGlitchEffect.d.ts.map +1 -1
  375. package/dist/composables/useGlitchEffect.js +48 -44
  376. package/dist/composables/useLocale.js +1 -1
  377. package/dist/composables/useMessage.js +1 -1
  378. package/dist/composables/useMessageBox.js +1 -1
  379. package/dist/composables/useSelectableTrigger.js +1 -1
  380. package/dist/composables/useSelectionDisplayText.d.ts.map +1 -1
  381. package/dist/composables/useSelectionDisplayText.js +16 -12
  382. package/dist/composables/useTheme.d.ts.map +1 -1
  383. package/dist/composables/useTheme.js +1 -1
  384. package/dist/composables/useThrottle.d.ts.map +1 -1
  385. package/dist/composables/useThrottle.js +15 -14
  386. package/dist/composables/useToast.d.ts +2 -2
  387. package/dist/composables/useToast.d.ts.map +1 -1
  388. package/dist/composables/useToast.js +9 -5
  389. package/dist/directives/loading.js +2 -2
  390. package/dist/index.d.ts +1 -1
  391. package/dist/index.d.ts.map +1 -1
  392. package/dist/index.js +132 -129
  393. package/dist/lib/brutal-interaction-variants.d.ts +18 -4
  394. package/dist/lib/brutal-interaction-variants.d.ts.map +1 -1
  395. package/dist/lib/fallback-manager.d.ts +18 -0
  396. package/dist/lib/fallback-manager.d.ts.map +1 -0
  397. package/dist/lib/form-toggle-base.d.ts +1 -1
  398. package/dist/lib/form-toggle-base.d.ts.map +1 -1
  399. package/dist/lib/modal-variants.d.ts +0 -1
  400. package/dist/lib/modal-variants.d.ts.map +1 -1
  401. package/dist/lib/theme-editor.d.ts.map +1 -1
  402. package/dist/lib/theme-variables.d.ts +12 -0
  403. package/dist/lib/theme-variables.d.ts.map +1 -1
  404. package/dist/lib/utils.d.ts +14 -8
  405. package/dist/lib/utils.d.ts.map +1 -1
  406. package/dist/lib/validation.d.ts +7 -0
  407. package/dist/lib/validation.d.ts.map +1 -1
  408. package/dist/locales/en.d.ts.map +1 -1
  409. package/dist/locales/types.d.ts +4 -0
  410. package/dist/locales/types.d.ts.map +1 -1
  411. package/dist/locales/zh-CN.d.ts.map +1 -1
  412. package/dist/locales.js +2 -2
  413. package/dist/styles.css +1 -1
  414. package/dist/themes/index.d.ts.map +1 -1
  415. package/package.json +5 -1
  416. package/dist/chunks/AccordionContent-ztQ9otVO.js +0 -135
  417. package/dist/chunks/AlertDescription-Bp69BOkN.js +0 -99
  418. package/dist/chunks/AlertDialogCancel-NhRPU3l0.js +0 -94
  419. package/dist/chunks/AuthCard-Bw9msjia.js +0 -185
  420. package/dist/chunks/AvatarFallback-VZWaXoX1.js +0 -108
  421. package/dist/chunks/Backtop-DTyrBOTx.js +0 -87
  422. package/dist/chunks/BreadcrumbEllipsis-Dgb6NbNn.js +0 -94
  423. package/dist/chunks/BrutalistHero-Dnrz8kbc.js +0 -74
  424. package/dist/chunks/Card-01h9lLdf.js +0 -70
  425. package/dist/chunks/Card3D-B0o4vPWR.js +0 -105
  426. package/dist/chunks/CardFooter-C6APHurx.js +0 -41
  427. package/dist/chunks/Cascader-C1XLTBta.js +0 -370
  428. package/dist/chunks/Checkbox-_vRf6_oJ.js +0 -87
  429. package/dist/chunks/ColorPicker-C8istlEd.js +0 -835
  430. package/dist/chunks/CommandItem-24uyhCey.js +0 -207
  431. package/dist/chunks/CopyToClipboard-CFMu5HD5.js +0 -64
  432. package/dist/chunks/Counter--WRqd3CK.js +0 -210
  433. package/dist/chunks/DropdownMenuSubContent-BVebm5rb.js +0 -155
  434. package/dist/chunks/Image-CJZPIia1.js +0 -243
  435. package/dist/chunks/Pagination-CvIVOLL7.js +0 -291
  436. package/dist/chunks/SelectItem-fu-SSd1P.js +0 -228
  437. package/dist/chunks/SubMenu-DC0yGpMJ.js +0 -229
  438. package/dist/chunks/Tabs-CxdoPibQ.js +0 -217
  439. package/dist/chunks/TreeSelect-DDWP1N_j.js +0 -480
  440. package/dist/chunks/brutal-interaction-variants-Dd50fX12.js +0 -8
  441. package/dist/chunks/carousel-7X68z1af.js +0 -207
  442. package/dist/chunks/code-block-B-moVvKx.js +0 -189
  443. package/dist/chunks/utils-D4SUu3He.js +0 -9
@@ -0,0 +1,141 @@
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
+ import { t as r } from "./icon-size-variants-Cp9lYoRk.js";
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
+ import { ChevronDown as S } from "@lucide/vue";
6
+ import { AccordionContent as C, AccordionHeader as w, AccordionItem as T, AccordionRoot as E, AccordionTrigger as D, useForwardProps as O, useForwardPropsEmits as k } from "reka-ui";
7
+ import { cva as A } from "class-variance-authority";
8
+ //#endregion
9
+ //#region src/components/accordion/Accordion.vue
10
+ var j = /* @__PURE__ */ d({
11
+ __name: "Accordion",
12
+ props: {
13
+ collapsible: { type: Boolean },
14
+ disabled: { type: Boolean },
15
+ dir: {},
16
+ orientation: {},
17
+ unmountOnHide: { type: Boolean },
18
+ asChild: { type: Boolean },
19
+ as: {},
20
+ type: {},
21
+ modelValue: {},
22
+ defaultValue: {},
23
+ class: {}
24
+ },
25
+ emits: ["update:modelValue"],
26
+ setup(t, { emit: n }) {
27
+ let r = t, i = n, s = k(a(() => {
28
+ let { class: e, ...t } = r;
29
+ return t;
30
+ }), i), c = a(() => e(r.class));
31
+ return (e, t) => (h(), o(y(E), p(y(s), { class: c.value }), {
32
+ default: x(() => [_(e.$slots, "default")]),
33
+ _: 3
34
+ }, 16, ["class"]));
35
+ }
36
+ }), M = [
37
+ "mb-4",
38
+ "data-[state=closed]:shadow-brutal-sm",
39
+ "data-[state=open]:shadow-brutal",
40
+ "data-[state=open]:-translate-x-0.5",
41
+ "data-[state=open]:-translate-y-0.5"
42
+ ], N = A(["border-3 bg-brutal-bg text-brutal-fg", "transition-all duration-150"], {
43
+ variants: { variant: {
44
+ default: ["border-brutal", ...M],
45
+ flat: ["border-brutal", "shadow-none mb-4"],
46
+ ghost: ["border-transparent", "shadow-none mb-2"],
47
+ interactive: [
48
+ "border-brutal",
49
+ ...M,
50
+ t
51
+ ]
52
+ } },
53
+ defaultVariants: { variant: "default" }
54
+ }), P = A([
55
+ "flex flex-1 items-center justify-between py-4 px-6",
56
+ "text-left font-black tracking-wide transition-all",
57
+ "hover:bg-brutal-muted",
58
+ n
59
+ ], {
60
+ variants: { variant: {
61
+ default: "hover:shadow-brutal-sm hover:-translate-y-0.5",
62
+ flat: "",
63
+ ghost: "",
64
+ interactive: ""
65
+ } },
66
+ defaultVariants: { variant: "default" }
67
+ }), F = "shrink-0 transition-transform duration-200 border-3 border-brutal rounded-brutal bg-brutal-bg p-0.5 shadow-brutal-sm", I = A("border-t-3 p-6 bg-brutal-bg text-brutal-fg", {
68
+ variants: { variant: {
69
+ default: "border-brutal",
70
+ flat: "border-brutal bg-brutal-muted/30",
71
+ ghost: "border-transparent",
72
+ interactive: "border-brutal hover:bg-brutal-muted/20"
73
+ } },
74
+ defaultVariants: { variant: "default" }
75
+ }), L = Symbol("accordionItem"), R = /* @__PURE__ */ d({
76
+ __name: "AccordionItem",
77
+ props: {
78
+ variant: { default: "default" },
79
+ class: { default: void 0 },
80
+ disabled: { type: Boolean },
81
+ value: {},
82
+ unmountOnHide: { type: Boolean },
83
+ asChild: { type: Boolean },
84
+ as: {}
85
+ },
86
+ setup(t) {
87
+ let n = t, r = O(a(() => {
88
+ let { class: e, variant: t, ...r } = n;
89
+ return r;
90
+ })), i = a(() => e(N({ variant: n.variant }), n.class));
91
+ return g(L, { variant: v(n, "variant") }), (e, t) => (h(), o(y(T), p(y(r), { class: i.value }), {
92
+ default: x(() => [_(e.$slots, "default")]),
93
+ _: 3
94
+ }, 16, ["class"]));
95
+ }
96
+ }), z = /* @__PURE__ */ d({
97
+ __name: "AccordionTrigger",
98
+ props: {
99
+ asChild: { type: Boolean },
100
+ as: {},
101
+ class: { default: void 0 },
102
+ iconSize: { default: "lg" }
103
+ },
104
+ setup(t) {
105
+ let n = t, l = f(L, { variant: a(() => void 0) }), d = O(a(() => {
106
+ let { class: e, iconSize: t, ...r } = n;
107
+ return r;
108
+ })), g = a(() => e(P({ variant: l.variant.value }), "[&[data-state=open]_[data-accordion-icon]]:rotate-180", n.class)), v = b(), C = a(() => v.icon ? v.icon().some((e) => e.type !== i) : !0), T = a(() => e("inline-flex items-center justify-center", F)), E = a(() => r({ size: n.iconSize }));
109
+ return (e, t) => (h(), o(y(w), { class: "flex !m-0" }, {
110
+ default: x(() => [u(y(D), p(y(d), { class: g.value }), {
111
+ default: x(() => [_(e.$slots, "default"), C.value ? (h(), c("span", {
112
+ key: 0,
113
+ "data-accordion-icon": "",
114
+ class: m(T.value)
115
+ }, [_(e.$slots, "icon", {}, () => [u(y(S), { class: m(E.value) }, null, 8, ["class"])])], 2)) : s("", !0)]),
116
+ _: 3
117
+ }, 16, ["class"])]),
118
+ _: 3
119
+ }));
120
+ }
121
+ }), B = /* @__PURE__ */ d({
122
+ __name: "AccordionContent",
123
+ props: {
124
+ forceMount: { type: Boolean },
125
+ asChild: { type: Boolean },
126
+ as: {},
127
+ class: {}
128
+ },
129
+ setup(t) {
130
+ let n = t, r = f(L, { variant: a(() => void 0) }), i = a(() => {
131
+ let { class: e, ...t } = n;
132
+ return t;
133
+ });
134
+ return (t, a) => (h(), o(y(C), p(i.value, { class: y(e)("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", n.class) }), {
135
+ default: x(() => [l("div", { class: m(y(I)({ variant: y(r).variant.value })) }, [_(t.$slots, "default")], 2)]),
136
+ _: 3
137
+ }, 16, ["class"]));
138
+ }
139
+ });
140
+ //#endregion
141
+ export { I as a, P as c, L as i, j as l, z as n, N as o, R as r, F as s, B as t };
@@ -0,0 +1,115 @@
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
+ import { useLocale as n } from "../composables/useLocale.js";
4
+ import { t as r } from "./Button-q6iBsrfD.js";
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
+ import { X as C } from "@lucide/vue";
7
+ import { Primitive as w } from "reka-ui";
8
+ import { cva as T } from "class-variance-authority";
9
+ //#region src/components/alert/alert-variants.ts
10
+ var E = T([
11
+ "relative w-full p-4",
12
+ "border-3 border-brutal",
13
+ "rounded-brutal",
14
+ "shadow-brutal",
15
+ "[&>svg~*]:pl-8 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4",
16
+ "[&>svg]:h-5 [&>svg]:w-5 [&>svg]:stroke-[2.5]"
17
+ ], {
18
+ variants: { variant: {
19
+ default: "bg-brutal-bg text-brutal-fg",
20
+ primary: "bg-brutal-primary text-brutal-primary-foreground",
21
+ secondary: "bg-brutal-secondary text-brutal-secondary-foreground",
22
+ success: "bg-brutal-success text-brutal-success-foreground",
23
+ warning: "bg-brutal-accent text-brutal-accent-foreground",
24
+ danger: "bg-brutal-destructive text-brutal-destructive-foreground",
25
+ info: "bg-brutal-info text-brutal-info-foreground"
26
+ } },
27
+ defaultVariants: { variant: "default" }
28
+ }), D = Symbol("alert-description-ids"), O = ["aria-describedby"], k = {
29
+ key: 0,
30
+ class: "mt-3 flex items-center gap-2"
31
+ }, A = /* @__PURE__ */ l({
32
+ __name: "Alert",
33
+ props: {
34
+ variant: { default: "default" },
35
+ closable: {
36
+ type: Boolean,
37
+ default: !1
38
+ },
39
+ class: { default: void 0 }
40
+ },
41
+ emits: ["close"],
42
+ setup(l, { emit: u }) {
43
+ let f = b(), p = l, y = u, { t: w } = n(), T = g([]);
44
+ h(D, T);
45
+ let A = i(() => {
46
+ if (T.value.length !== 0) return T.value.join(" ");
47
+ }), j = i(() => e(E({ variant: p.variant }), p.closable && "pr-12", p.class)), M = i(() => e(t({ size: "md" }), "stroke-[3]"));
48
+ return (e, t) => (m(), s("div", {
49
+ role: "alert",
50
+ class: d(j.value),
51
+ "aria-describedby": A.value
52
+ }, [
53
+ _(e.$slots, "default"),
54
+ v(f).actions ? (m(), s("div", k, [_(e.$slots, "actions")])) : o("", !0),
55
+ l.closable ? (m(), a(r, {
56
+ key: 1,
57
+ type: "button",
58
+ variant: "ghost",
59
+ size: "icon",
60
+ class: "absolute right-3 top-3 h-8 w-8",
61
+ "aria-label": v(w)("alert.close"),
62
+ onClick: t[0] ||= S((e) => y("close"), ["stop"])
63
+ }, {
64
+ default: x(() => [c(v(C), { class: d(M.value) }, null, 8, ["class"])]),
65
+ _: 1
66
+ }, 8, ["aria-label"])) : o("", !0)
67
+ ], 10, O));
68
+ }
69
+ }), j = /* @__PURE__ */ l({
70
+ __name: "AlertTitle",
71
+ props: {
72
+ class: { default: void 0 },
73
+ asChild: {
74
+ type: Boolean,
75
+ default: void 0
76
+ },
77
+ as: { default: "h5" }
78
+ },
79
+ setup(t) {
80
+ let n = t, r = i(() => e("mb-1 font-black tracking-tight leading-none", n.class));
81
+ return (e, t) => (m(), a(v(w), {
82
+ as: n.as,
83
+ "as-child": n.asChild,
84
+ class: d(r.value)
85
+ }, {
86
+ default: x(() => [_(e.$slots, "default")]),
87
+ _: 3
88
+ }, 8, [
89
+ "as",
90
+ "as-child",
91
+ "class"
92
+ ]));
93
+ }
94
+ }), M = ["id"], N = /* @__PURE__ */ l({
95
+ __name: "AlertDescription",
96
+ props: {
97
+ id: {},
98
+ class: {}
99
+ },
100
+ setup(t) {
101
+ let n = t, r = y(), a = i(() => n.id ?? `alert-description-${r}`), o = u(D, null);
102
+ p(() => {
103
+ o?.value.push(a.value);
104
+ }), f(() => {
105
+ o && (o.value = o.value.filter((e) => e !== a.value));
106
+ });
107
+ let c = i(() => e("text-sm font-medium [&_p]:leading-relaxed", n.class));
108
+ return (e, t) => (m(), s("div", {
109
+ id: a.value,
110
+ class: d(c.value)
111
+ }, [_(e.$slots, "default")], 10, M));
112
+ }
113
+ });
114
+ //#endregion
115
+ export { E as a, D as i, j as n, A as r, N as t };
@@ -0,0 +1,141 @@
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
+ import { t as o } from "./floating-animation-classes-BEu35hIg.js";
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
+ 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";
7
+ import { cva as O } from "class-variance-authority";
8
+ //#region src/components/alert-dialog/alert-dialog-variants.ts
9
+ var k = O([
10
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4",
11
+ "p-6 text-brutal-fg",
12
+ ...a,
13
+ ...o
14
+ ]), A = O(["text-lg font-black tracking-tight text-brutal-fg"]), j = O(["text-sm text-brutal-muted-foreground font-medium"]), M = /* @__PURE__ */ p({
15
+ inheritAttrs: !1,
16
+ __name: "AlertDialogContent",
17
+ props: {
18
+ class: { type: [
19
+ Array,
20
+ Object,
21
+ String,
22
+ Number,
23
+ null,
24
+ Boolean
25
+ ] },
26
+ overlayClass: { type: [
27
+ Array,
28
+ Object,
29
+ String,
30
+ Number,
31
+ null,
32
+ Boolean
33
+ ] }
34
+ },
35
+ setup(t) {
36
+ let n = t, r = s(() => e(i(), n.overlayClass)), a = s(() => e(k(), n.class));
37
+ return (e, t) => (g(), c(v(T), null, {
38
+ default: y(() => [f(v(w), { class: h(r.value) }, null, 8, ["class"]), f(v(S), m(e.$attrs, { class: a.value }), {
39
+ default: y(() => [_(e.$slots, "default")]),
40
+ _: 3
41
+ }, 16, ["class"])]),
42
+ _: 3
43
+ }));
44
+ }
45
+ }), N = /* @__PURE__ */ p({
46
+ __name: "AlertDialogHeader",
47
+ props: { class: { type: [
48
+ Array,
49
+ Object,
50
+ String,
51
+ Number,
52
+ null,
53
+ Boolean
54
+ ] } },
55
+ setup(t) {
56
+ let r = t, i = s(() => e(n(), r.class));
57
+ return (e, t) => (g(), u("header", { class: h(i.value) }, [_(e.$slots, "default")], 2));
58
+ }
59
+ }), P = /* @__PURE__ */ p({
60
+ __name: "AlertDialogFooter",
61
+ props: { class: { type: [
62
+ Array,
63
+ Object,
64
+ String,
65
+ Number,
66
+ null,
67
+ Boolean
68
+ ] } },
69
+ setup(t) {
70
+ let n = t, i = s(() => e(r(), n.class));
71
+ return (e, t) => e.$slots.default ? (g(), u("div", {
72
+ key: 0,
73
+ class: h(i.value)
74
+ }, [_(e.$slots, "default")], 2)) : l("", !0);
75
+ }
76
+ }), F = /* @__PURE__ */ p({
77
+ __name: "AlertDialogTitle",
78
+ props: { class: { type: [
79
+ Array,
80
+ Object,
81
+ String,
82
+ Number,
83
+ null,
84
+ Boolean
85
+ ] } },
86
+ setup(t) {
87
+ let n = t, r = s(() => e(A(), n.class));
88
+ return (e, t) => (g(), c(v(E), { class: h(r.value) }, {
89
+ default: y(() => [_(e.$slots, "default", {}, () => [t[0] ||= d("Alert", -1)])]),
90
+ _: 3
91
+ }, 8, ["class"]));
92
+ }
93
+ }), I = /* @__PURE__ */ p({
94
+ __name: "AlertDialogDescription",
95
+ props: { class: { type: [
96
+ Array,
97
+ Object,
98
+ String,
99
+ Number,
100
+ null,
101
+ Boolean
102
+ ] } },
103
+ setup(t) {
104
+ let n = t, r = s(() => e(j(), n.class));
105
+ return (e, t) => (g(), c(v(C), { class: h(r.value) }, {
106
+ default: y(() => [_(e.$slots, "default")]),
107
+ _: 3
108
+ }, 8, ["class"]));
109
+ }
110
+ }), L = /* @__PURE__ */ p({
111
+ __name: "AlertDialogAction",
112
+ setup(n) {
113
+ let r = n, i = D(s(() => {
114
+ let { class: e, variant: t, ...n } = r;
115
+ return n;
116
+ })), a = s(() => e(t({ variant: r.variant }), r.class));
117
+ return (e, t) => (g(), c(v(b), m(v(i), { class: a.value }), {
118
+ default: y(() => [_(e.$slots, "default")]),
119
+ _: 3
120
+ }, 16, ["class"]));
121
+ }
122
+ }), R = /* @__PURE__ */ p({
123
+ __name: "AlertDialogCancel",
124
+ props: { class: { type: [
125
+ Array,
126
+ Object,
127
+ String,
128
+ Number,
129
+ null,
130
+ Boolean
131
+ ] } },
132
+ setup(n) {
133
+ let r = n, i = s(() => e(t({ variant: "outline" }), r.class));
134
+ return (e, t) => (g(), c(v(x), { class: h(i.value) }, {
135
+ default: y(() => [_(e.$slots, "default")]),
136
+ _: 3
137
+ }, 8, ["class"]));
138
+ }
139
+ });
140
+ //#endregion
141
+ export { P as a, k as c, F as i, j as l, L as n, N as o, I as r, M as s, R as t, A as u };
@@ -0,0 +1,219 @@
1
+ import { n as e } from "./utils-B_mSHye_.js";
2
+ import { t } from "./icon-size-variants-Cp9lYoRk.js";
3
+ import { useLocale as n } from "../composables/useLocale.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
+ 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
+ import { Lock as te, Mail as ne } from "@lucide/vue";
12
+ //#region src/lib/validation.ts
13
+ var re = /^[a-zA-Z0-9_%+-]+(?:\.[a-zA-Z0-9_%+-]+)*@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, ie = { class: "grid grid-cols-2 gap-3 mb-6" }, ae = { class: "relative mb-6" }, oe = { class: "relative flex justify-center text-xs" }, O = { class: "bg-brutal-bg px-2 font-bold text-brutal-muted-foreground" }, k = { class: "space-y-2" }, A = { class: "relative" }, j = ["id"], M = { class: "space-y-2" }, N = { class: "flex items-center justify-between" }, P = { class: "relative" }, F = ["id"], I = { class: "text-sm font-medium text-brutal-muted-foreground" }, L = /* @__PURE__ */ v({
14
+ __name: "AuthCard",
15
+ props: {
16
+ title: { default: void 0 },
17
+ description: { default: void 0 },
18
+ texts: { default: () => ({}) },
19
+ class: { default: void 0 },
20
+ iconSize: { default: "md" },
21
+ submitting: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ passwordMinLength: { default: 6 }
26
+ },
27
+ emits: [
28
+ "login-submit",
29
+ "forgot-password",
30
+ "google-click",
31
+ "github-click",
32
+ "register-click"
33
+ ],
34
+ setup(v, { emit: L }) {
35
+ let R = v, { t: z } = n(), B = L, V = d(() => e("w-full max-w-md mx-auto", R.class)), H = d(() => e(t({ size: R.iconSize }), "stroke-[3]")), U = d(() => e("absolute left-3 top-1/2 -translate-y-1/2 text-brutal-muted-foreground", H.value)), W = e(t({ size: "md" }), "mr-2"), G = w(), K = w(), q = w(), J = w(), Y = x(""), X = x(""), Z = x(""), Q = x(""), se = d(() => R.title ?? R.texts.welcomeBack ?? z("authCard.welcomeBack")), ce = d(() => R.description ?? R.texts.signInToContinue ?? z("authCard.signInToContinue")), le = d(() => R.texts.google ?? z("authCard.google")), ue = d(() => R.texts.github ?? z("authCard.github")), de = d(() => R.texts.orEmailLogin ?? z("authCard.orEmailLogin")), fe = d(() => R.texts.email ?? z("authCard.email")), pe = d(() => R.texts.password ?? z("authCard.password")), $ = d(() => R.texts.forgotPassword ?? z("authCard.forgotPassword")), me = d(() => R.texts.signIn ?? z("authCard.signIn")), he = d(() => R.texts.noAccount ?? z("authCard.noAccount")), ge = d(() => R.texts.register ?? z("authCard.register"));
36
+ T(Y, () => {
37
+ Z.value = "";
38
+ }), T(X, () => {
39
+ Q.value = "";
40
+ });
41
+ function _e() {
42
+ if (R.submitting) return;
43
+ Z.value = "", Q.value = "";
44
+ let e = !0;
45
+ (!Y.value || !re.test(Y.value)) && (Z.value = z("authCard.invalidEmail"), e = !1), X.value ? [...X.value].length < R.passwordMinLength && (Q.value = z("authCard.passwordTooShort", { min: R.passwordMinLength }), e = !1) : (Q.value = z("authCard.passwordRequired"), e = !1), e && B("login-submit", {
46
+ email: Y.value,
47
+ password: X.value
48
+ });
49
+ }
50
+ return (e, t) => (b(), f(o, {
51
+ class: y(V.value),
52
+ variant: "default"
53
+ }, {
54
+ default: E(() => [
55
+ _(s, null, {
56
+ default: E(() => [_(ee, { class: "text-2xl" }, {
57
+ default: E(() => [g(S(se.value), 1)]),
58
+ _: 1
59
+ }), _(c, null, {
60
+ default: E(() => [g(S(ce.value), 1)]),
61
+ _: 1
62
+ })]),
63
+ _: 1
64
+ }),
65
+ _(u, null, {
66
+ default: E(() => [
67
+ h("div", ie, [_(r, {
68
+ variant: "outline",
69
+ class: "w-full",
70
+ disabled: v.submitting,
71
+ onClick: t[0] ||= (e) => B("google-click")
72
+ }, {
73
+ default: E(() => [(b(), m("svg", {
74
+ class: y(C(W)),
75
+ viewBox: "0 0 24 24",
76
+ "aria-hidden": "true"
77
+ }, [...t[6] ||= [
78
+ h("path", {
79
+ d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",
80
+ fill: "var(--brutal-info)"
81
+ }, null, -1),
82
+ h("path", {
83
+ d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",
84
+ fill: "var(--brutal-success)"
85
+ }, null, -1),
86
+ h("path", {
87
+ d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",
88
+ fill: "var(--brutal-accent)"
89
+ }, null, -1),
90
+ h("path", {
91
+ d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",
92
+ fill: "var(--brutal-destructive)"
93
+ }, null, -1)
94
+ ]], 2)), g(" " + S(le.value), 1)]),
95
+ _: 1
96
+ }, 8, ["disabled"]), _(r, {
97
+ variant: "outline",
98
+ class: "w-full",
99
+ disabled: v.submitting,
100
+ onClick: t[1] ||= (e) => B("github-click")
101
+ }, {
102
+ default: E(() => [(b(), m("svg", {
103
+ class: y(C(W)),
104
+ fill: "currentColor",
105
+ viewBox: "0 0 24 24",
106
+ "aria-hidden": "true"
107
+ }, [...t[7] ||= [h("path", { d: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, null, -1)]], 2)), g(" " + S(ue.value), 1)]),
108
+ _: 1
109
+ }, 8, ["disabled"])]),
110
+ h("div", ae, [t[8] ||= h("div", { class: "absolute inset-0 flex items-center" }, [h("div", { class: "w-full border-t-3 border-brutal" })], -1), h("div", oe, [h("span", O, S(de.value), 1)])]),
111
+ h("form", {
112
+ class: "space-y-4",
113
+ onSubmit: D(_e, ["prevent"])
114
+ }, [
115
+ h("div", k, [
116
+ _(i, { for: C(G) }, {
117
+ default: E(() => [g(S(fe.value), 1)]),
118
+ _: 1
119
+ }, 8, ["for"]),
120
+ h("div", A, [_(C(ne), {
121
+ class: y(U.value),
122
+ "aria-hidden": "true"
123
+ }, null, 8, ["class"]), _(a, {
124
+ id: C(G),
125
+ modelValue: Y.value,
126
+ "onUpdate:modelValue": t[2] ||= (e) => Y.value = e,
127
+ type: "email",
128
+ autocomplete: "email",
129
+ variant: Z.value ? "error" : "default",
130
+ "aria-describedby": Z.value ? C(q) : void 0,
131
+ placeholder: C(z)("authCard.emailPlaceholder"),
132
+ size: "default",
133
+ class: "pl-10"
134
+ }, null, 8, [
135
+ "id",
136
+ "modelValue",
137
+ "variant",
138
+ "aria-describedby",
139
+ "placeholder"
140
+ ])]),
141
+ Z.value ? (b(), m("p", {
142
+ key: 0,
143
+ id: C(q),
144
+ class: "text-sm font-bold text-brutal-destructive"
145
+ }, S(Z.value), 9, j)) : p("", !0)
146
+ ]),
147
+ h("div", M, [
148
+ h("div", N, [_(i, { for: C(K) }, {
149
+ default: E(() => [g(S(pe.value), 1)]),
150
+ _: 1
151
+ }, 8, ["for"]), _(r, {
152
+ type: "button",
153
+ variant: "link",
154
+ class: "text-sm font-bold text-brutal-primary",
155
+ onClick: t[3] ||= (e) => B("forgot-password")
156
+ }, {
157
+ default: E(() => [g(S($.value), 1)]),
158
+ _: 1
159
+ })]),
160
+ h("div", P, [_(C(te), {
161
+ class: y(U.value),
162
+ "aria-hidden": "true"
163
+ }, null, 8, ["class"]), _(a, {
164
+ id: C(K),
165
+ modelValue: X.value,
166
+ "onUpdate:modelValue": t[4] ||= (e) => X.value = e,
167
+ type: "password",
168
+ "show-password": "",
169
+ autocomplete: "current-password",
170
+ variant: Q.value ? "error" : "default",
171
+ "aria-describedby": Q.value ? C(J) : void 0,
172
+ placeholder: C(z)("authCard.passwordPlaceholder"),
173
+ size: "default",
174
+ class: "pl-10"
175
+ }, null, 8, [
176
+ "id",
177
+ "modelValue",
178
+ "variant",
179
+ "aria-describedby",
180
+ "placeholder"
181
+ ])]),
182
+ Q.value ? (b(), m("p", {
183
+ key: 0,
184
+ id: C(J),
185
+ class: "text-sm font-bold text-brutal-destructive"
186
+ }, S(Q.value), 9, F)) : p("", !0)
187
+ ]),
188
+ _(r, {
189
+ type: "submit",
190
+ variant: "primary",
191
+ class: "w-full",
192
+ loading: v.submitting
193
+ }, {
194
+ default: E(() => [g(S(me.value), 1)]),
195
+ _: 1
196
+ }, 8, ["loading"])
197
+ ], 32)
198
+ ]),
199
+ _: 1
200
+ }),
201
+ _(l, { class: "justify-center" }, {
202
+ default: E(() => [h("p", I, [g(S(he.value) + " ", 1), _(r, {
203
+ type: "button",
204
+ variant: "link",
205
+ class: "font-bold text-brutal-primary",
206
+ onClick: t[5] ||= (e) => B("register-click")
207
+ }, {
208
+ default: E(() => [g(S(ge.value), 1)]),
209
+ _: 1
210
+ })])]),
211
+ _: 1
212
+ })
213
+ ]),
214
+ _: 1
215
+ }, 8, ["class"]));
216
+ }
217
+ });
218
+ //#endregion
219
+ export { L as t };