@m5kdev/web-ui 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/dist/src/animations/card.motion.d.ts +7 -2
  2. package/dist/src/animations/card.motion.js +25 -6
  3. package/dist/src/animations/card.motion.js.map +1 -0
  4. package/dist/src/components/AvatarUpload.d.ts +14 -5
  5. package/dist/src/components/AvatarUpload.js +105 -63
  6. package/dist/src/components/AvatarUpload.js.map +1 -0
  7. package/dist/src/components/Button.d.ts +14 -4
  8. package/dist/src/components/Button.js +13 -4
  9. package/dist/src/components/Button.js.map +1 -0
  10. package/dist/src/components/Calendar.d.ts +33 -31
  11. package/dist/src/components/Calendar.js +14 -6
  12. package/dist/src/components/Calendar.js.map +1 -0
  13. package/dist/src/components/{Calendar.css → Calendar2.css} +757 -684
  14. package/dist/src/components/CardsSelect.d.ts +25 -21
  15. package/dist/src/components/CardsSelect.js +75 -42
  16. package/dist/src/components/CardsSelect.js.map +1 -0
  17. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -9
  18. package/dist/src/components/CollapsibleSidebarMenuItem.js +31 -8
  19. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
  20. package/dist/src/components/ColorPicker.d.ts +15 -4
  21. package/dist/src/components/ColorPicker.js +46 -16
  22. package/dist/src/components/ColorPicker.js.map +1 -0
  23. package/dist/src/components/CopyButton.d.ts +18 -6
  24. package/dist/src/components/CopyButton.js +28 -19
  25. package/dist/src/components/CopyButton.js.map +1 -0
  26. package/dist/src/components/CropDialog.d.ts +20 -8
  27. package/dist/src/components/CropDialog.js +108 -62
  28. package/dist/src/components/CropDialog.js.map +1 -0
  29. package/dist/src/components/DialogProvider.d.ts +22 -14
  30. package/dist/src/components/DialogProvider.js +67 -45
  31. package/dist/src/components/DialogProvider.js.map +1 -0
  32. package/dist/src/components/ErrorFallback.d.ts +13 -4
  33. package/dist/src/components/ErrorFallback.js +29 -4
  34. package/dist/src/components/ErrorFallback.js.map +1 -0
  35. package/dist/src/components/FileDropzone.d.ts +12 -4
  36. package/dist/src/components/FileDropzone.js +98 -60
  37. package/dist/src/components/FileDropzone.js.map +1 -0
  38. package/dist/src/components/MultiSelectDropdown.d.ts +25 -22
  39. package/dist/src/components/MultiSelectDropdown.js +99 -49
  40. package/dist/src/components/MultiSelectDropdown.js.map +1 -0
  41. package/dist/src/components/Orb.d.ts +17 -6
  42. package/dist/src/components/Orb.js +263 -255
  43. package/dist/src/components/Orb.js.map +1 -0
  44. package/dist/src/components/PageAlert.d.ts +20 -15
  45. package/dist/src/components/PageAlert.js +67 -39
  46. package/dist/src/components/PageAlert.js.map +1 -0
  47. package/dist/src/components/SelectChips.d.ts +21 -10
  48. package/dist/src/components/SelectChips.js +21 -9
  49. package/dist/src/components/SelectChips.js.map +1 -0
  50. package/dist/src/components/SidebarItem.d.ts +18 -7
  51. package/dist/src/components/SidebarItem.js +16 -4
  52. package/dist/src/components/SidebarItem.js.map +1 -0
  53. package/dist/src/components/Steps.d.ts +21 -16
  54. package/dist/src/components/Steps.js +193 -27
  55. package/dist/src/components/Steps.js.map +1 -0
  56. package/dist/src/components/TablerIconPicker.d.ts +13 -2
  57. package/dist/src/components/TablerIconPicker.js +4254 -4234
  58. package/dist/src/components/TablerIconPicker.js.map +1 -0
  59. package/dist/src/components/app-header.d.ts +14 -6
  60. package/dist/src/components/app-header.js +27 -6
  61. package/dist/src/components/app-header.js.map +1 -0
  62. package/dist/src/components/blur-card.d.ts +25 -11
  63. package/dist/src/components/blur-card.js +134 -31
  64. package/dist/src/components/blur-card.js.map +1 -0
  65. package/dist/src/components/features-section-demo-1.d.ts +22 -6
  66. package/dist/src/components/features-section-demo-1.js +119 -47
  67. package/dist/src/components/features-section-demo-1.js.map +1 -0
  68. package/dist/src/components/features-section-demo-2.d.ts +7 -1
  69. package/dist/src/components/features-section-demo-2.js +80 -49
  70. package/dist/src/components/features-section-demo-2.js.map +1 -0
  71. package/dist/src/components/features-section-demo-3.d.ts +16 -8
  72. package/dist/src/components/features-section-demo-3.js +239 -103
  73. package/dist/src/components/features-section-demo-3.js.map +1 -0
  74. package/dist/src/components/mode-toggle.d.ts +7 -1
  75. package/dist/src/components/mode-toggle.js +42 -7
  76. package/dist/src/components/mode-toggle.js.map +1 -0
  77. package/dist/src/components/nav-main.d.ts +20 -12
  78. package/dist/src/components/nav-main.js +31 -5
  79. package/dist/src/components/nav-main.js.map +1 -0
  80. package/dist/src/components/pricing-cards.d.ts +7 -1
  81. package/dist/src/components/pricing-cards.js +125 -24
  82. package/dist/src/components/pricing-cards.js.map +1 -0
  83. package/dist/src/components/shared/ButtonCopy.d.ts +17 -6
  84. package/dist/src/components/shared/ButtonCopy.js +31 -20
  85. package/dist/src/components/shared/ButtonCopy.js.map +1 -0
  86. package/dist/src/components/team-switcher.d.ts +16 -8
  87. package/dist/src/components/team-switcher.js +70 -8
  88. package/dist/src/components/team-switcher.js.map +1 -0
  89. package/dist/src/components/theme-provider.d.ts +18 -8
  90. package/dist/src/components/theme-provider.js +42 -38
  91. package/dist/src/components/theme-provider.js.map +1 -0
  92. package/dist/src/components/typewriter.d.ts +35 -14
  93. package/dist/src/components/typewriter.js +45 -36
  94. package/dist/src/components/typewriter.js.map +1 -0
  95. package/dist/src/components/ui/alert-dialog.d.ts +48 -13
  96. package/dist/src/components/ui/alert-dialog.js +58 -15
  97. package/dist/src/components/ui/alert-dialog.js.map +1 -0
  98. package/dist/src/components/ui/alert.d.ts +24 -8
  99. package/dist/src/components/ui/alert.js +28 -15
  100. package/dist/src/components/ui/alert.js.map +1 -0
  101. package/dist/src/components/ui/avatar.d.ts +9 -5
  102. package/dist/src/components/ui/avatar.js +23 -7
  103. package/dist/src/components/ui/avatar.js.map +1 -0
  104. package/dist/src/components/ui/badge.d.ts +17 -8
  105. package/dist/src/components/ui/badge.js +17 -14
  106. package/dist/src/components/ui/badge.js.map +1 -0
  107. package/dist/src/components/ui/bento-grid.d.ts +26 -11
  108. package/dist/src/components/ui/bento-grid.js +30 -6
  109. package/dist/src/components/ui/bento-grid.js.map +1 -0
  110. package/dist/src/components/ui/bento-grid2.d.ts +30 -14
  111. package/dist/src/components/ui/bento-grid2.js +45 -9
  112. package/dist/src/components/ui/bento-grid2.js.map +1 -0
  113. package/dist/src/components/ui/breadcrumb.d.ts +27 -15
  114. package/dist/src/components/ui/breadcrumb.js +54 -14
  115. package/dist/src/components/ui/breadcrumb.js.map +1 -0
  116. package/dist/src/components/ui/button.d.ts +14 -9
  117. package/dist/src/components/ui/button.js +37 -26
  118. package/dist/src/components/ui/button.js.map +1 -0
  119. package/dist/src/components/ui/card.d.ts +12 -8
  120. package/dist/src/components/ui/card.js +38 -10
  121. package/dist/src/components/ui/card.js.map +1 -0
  122. package/dist/src/components/ui/checkbox.d.ts +6 -2
  123. package/dist/src/components/ui/checkbox.js +17 -5
  124. package/dist/src/components/ui/checkbox.js.map +1 -0
  125. package/dist/src/components/ui/collapsible.d.ts +9 -4
  126. package/dist/src/components/ui/collapsible.js +5 -1
  127. package/dist/src/components/ui/collapsible.js.map +1 -0
  128. package/dist/src/components/ui/dialog.d.ts +44 -12
  129. package/dist/src/components/ui/dialog.js +64 -14
  130. package/dist/src/components/ui/dialog.js.map +1 -0
  131. package/dist/src/components/ui/dropdown-menu.d.ts +32 -24
  132. package/dist/src/components/ui/dropdown-menu.js +64 -14
  133. package/dist/src/components/ui/dropdown-menu.js.map +1 -0
  134. package/dist/src/components/ui/floating-navbar.d.ts +18 -9
  135. package/dist/src/components/ui/floating-navbar.js +49 -35
  136. package/dist/src/components/ui/floating-navbar.js.map +1 -0
  137. package/dist/src/components/ui/form.d.ts +30 -21
  138. package/dist/src/components/ui/form.js +76 -44
  139. package/dist/src/components/ui/form.js.map +1 -0
  140. package/dist/src/components/ui/image.d.ts +6 -2
  141. package/dist/src/components/ui/image.js +51 -11
  142. package/dist/src/components/ui/image.js.map +1 -0
  143. package/dist/src/components/ui/input.d.ts +6 -2
  144. package/dist/src/components/ui/input.js +14 -5
  145. package/dist/src/components/ui/input.js.map +1 -0
  146. package/dist/src/components/ui/label.d.ts +8 -3
  147. package/dist/src/components/ui/label.js +13 -5
  148. package/dist/src/components/ui/label.js.map +1 -0
  149. package/dist/src/components/ui/pagination.d.ts +39 -12
  150. package/dist/src/components/ui/pagination.js +64 -14
  151. package/dist/src/components/ui/pagination.js.map +1 -0
  152. package/dist/src/components/ui/progress.d.ts +6 -2
  153. package/dist/src/components/ui/progress.js +16 -4
  154. package/dist/src/components/ui/progress.js.map +1 -0
  155. package/dist/src/components/ui/resizable-navbar.d.ts +84 -43
  156. package/dist/src/components/ui/resizable-navbar.js +126 -74
  157. package/dist/src/components/ui/resizable-navbar.js.map +1 -0
  158. package/dist/src/components/ui/segment-control.d.ts +10 -7
  159. package/dist/src/components/ui/segment-control.js +83 -38
  160. package/dist/src/components/ui/segment-control.js.map +1 -0
  161. package/dist/src/components/ui/select.d.ts +16 -12
  162. package/dist/src/components/ui/select.js +63 -14
  163. package/dist/src/components/ui/select.js.map +1 -0
  164. package/dist/src/components/ui/separator.d.ts +6 -2
  165. package/dist/src/components/ui/separator.js +14 -4
  166. package/dist/src/components/ui/separator.js.map +1 -0
  167. package/dist/src/components/ui/sheet.d.ts +30 -19
  168. package/dist/src/components/ui/sheet.js +52 -23
  169. package/dist/src/components/ui/sheet.js.map +1 -0
  170. package/dist/src/components/ui/sidebar.d.ts +69 -62
  171. package/dist/src/components/ui/sidebar.js +326 -171
  172. package/dist/src/components/ui/sidebar.js.map +1 -0
  173. package/dist/src/components/ui/skeleton.d.ts +9 -1
  174. package/dist/src/components/ui/skeleton.js +10 -3
  175. package/dist/src/components/ui/skeleton.js.map +1 -0
  176. package/dist/src/components/ui/slider.d.ts +6 -2
  177. package/dist/src/components/ui/slider.js +16 -4
  178. package/dist/src/components/ui/slider.js.map +1 -0
  179. package/dist/src/components/ui/sonner.d.ts +10 -3
  180. package/dist/src/components/ui/sonner.js +18 -11
  181. package/dist/src/components/ui/sonner.js.map +1 -0
  182. package/dist/src/components/ui/spinner.d.ts +21 -10
  183. package/dist/src/components/ui/spinner.js +24 -24
  184. package/dist/src/components/ui/spinner.js.map +1 -0
  185. package/dist/src/components/ui/switch.d.ts +6 -2
  186. package/dist/src/components/ui/switch.js +13 -4
  187. package/dist/src/components/ui/switch.js.map +1 -0
  188. package/dist/src/components/ui/table.d.ts +39 -10
  189. package/dist/src/components/ui/table.js +51 -11
  190. package/dist/src/components/ui/table.js.map +1 -0
  191. package/dist/src/components/ui/tabs.d.ts +23 -6
  192. package/dist/src/components/ui/tabs.js +27 -7
  193. package/dist/src/components/ui/tabs.js.map +1 -0
  194. package/dist/src/components/ui/textarea.d.ts +10 -2
  195. package/dist/src/components/ui/textarea.js +11 -3
  196. package/dist/src/components/ui/textarea.js.map +1 -0
  197. package/dist/src/components/ui/timeline.d.ts +16 -9
  198. package/dist/src/components/ui/timeline.js +87 -24
  199. package/dist/src/components/ui/timeline.js.map +1 -0
  200. package/dist/src/components/ui/toast.d.ts +19 -14
  201. package/dist/src/components/ui/toast.js +48 -22
  202. package/dist/src/components/ui/toast.js.map +1 -0
  203. package/dist/src/components/ui/tooltip.d.ts +23 -6
  204. package/dist/src/components/ui/tooltip.js +27 -7
  205. package/dist/src/components/ui/tooltip.js.map +1 -0
  206. package/dist/src/components/ui/typewriter-effect.d.ts +28 -14
  207. package/dist/src/components/ui/typewriter-effect.js +102 -72
  208. package/dist/src/components/ui/typewriter-effect.js.map +1 -0
  209. package/dist/src/hooks/use-mobile.d.ts +5 -1
  210. package/dist/src/hooks/use-mobile.js +18 -13
  211. package/dist/src/hooks/use-mobile.js.map +1 -0
  212. package/dist/src/hooks/useDialog.d.ts +8 -4
  213. package/dist/src/hooks/useDialog.js +24 -20
  214. package/dist/src/hooks/useDialog.js.map +1 -0
  215. package/dist/src/icons/GoogleIcon.d.ts +9 -5
  216. package/dist/src/icons/GoogleIcon.js +32 -3
  217. package/dist/src/icons/GoogleIcon.js.map +1 -0
  218. package/dist/src/icons/LinkedInIcon.d.ts +9 -5
  219. package/dist/src/icons/LinkedInIcon.js +27 -3
  220. package/dist/src/icons/LinkedInIcon.js.map +1 -0
  221. package/dist/src/icons/MicrosoftIcon.d.ts +9 -5
  222. package/dist/src/icons/MicrosoftIcon.js +31 -3
  223. package/dist/src/icons/MicrosoftIcon.js.map +1 -0
  224. package/dist/src/lib/chatwoot.d.ts +19 -10
  225. package/dist/src/lib/chatwoot.js +25 -27
  226. package/dist/src/lib/chatwoot.js.map +1 -0
  227. package/dist/src/lib/utils.d.ts +7 -2
  228. package/dist/src/lib/utils.js +7 -2
  229. package/dist/src/lib/utils.js.map +1 -0
  230. package/dist/src/modules/app/components/AppLoader.d.ts +8 -2
  231. package/dist/src/modules/app/components/AppLoader.js +14 -3
  232. package/dist/src/modules/app/components/AppLoader.js.map +1 -0
  233. package/dist/src/modules/app/components/AppShell.d.ts +15 -6
  234. package/dist/src/modules/app/components/AppShell.js +14 -5
  235. package/dist/src/modules/app/components/AppShell.js.map +1 -0
  236. package/dist/src/modules/app/components/AppSidebar.d.ts +16 -6
  237. package/dist/src/modules/app/components/AppSidebar.js +17 -4
  238. package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
  239. package/dist/src/modules/app/components/AppSidebarContent.d.ts +22 -13
  240. package/dist/src/modules/app/components/AppSidebarContent.js +34 -5
  241. package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
  242. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -8
  243. package/dist/src/modules/app/components/AppSidebarHeader.js +37 -6
  244. package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
  245. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -3
  246. package/dist/src/modules/app/components/AppSidebarInvites.js +39 -8
  247. package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
  248. package/dist/src/modules/app/components/AppSidebarUser.d.ts +20 -10
  249. package/dist/src/modules/app/components/AppSidebarUser.js +121 -12
  250. package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
  251. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +11 -4
  252. package/dist/src/modules/auth/components/AdminUserManagement.js +970 -418
  253. package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
  254. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +11 -4
  255. package/dist/src/modules/auth/components/AdminWaitlist.js +284 -115
  256. package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
  257. package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -4
  258. package/dist/src/modules/auth/components/AuthLayout.js +17 -3
  259. package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
  260. package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -6
  261. package/dist/src/modules/auth/components/AuthProviders.js +80 -41
  262. package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
  263. package/dist/src/modules/auth/components/AuthRouter.d.ts +16 -7
  264. package/dist/src/modules/auth/components/AuthRouter.js +46 -10
  265. package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
  266. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -4
  267. package/dist/src/modules/auth/components/ClaimAccountRoute.js +202 -139
  268. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
  269. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -1
  270. package/dist/src/modules/auth/components/ErrorAuthRoute.js +125 -89
  271. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
  272. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -1
  273. package/dist/src/modules/auth/components/ForgotPasswordForm.js +49 -23
  274. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
  275. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -1
  276. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +34 -6
  277. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
  278. package/dist/src/modules/auth/components/InviteFriends.d.ts +12 -4
  279. package/dist/src/modules/auth/components/InviteFriends.js +275 -69
  280. package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
  281. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -5
  282. package/dist/src/modules/auth/components/LastUsedBadge.js +16 -6
  283. package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
  284. package/dist/src/modules/auth/components/LoginForm.d.ts +11 -3
  285. package/dist/src/modules/auth/components/LoginForm.js +107 -40
  286. package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
  287. package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -3
  288. package/dist/src/modules/auth/components/LoginRoute.js +41 -8
  289. package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
  290. package/dist/src/modules/auth/components/LogoutRoute.d.ts +7 -1
  291. package/dist/src/modules/auth/components/LogoutRoute.js +18 -12
  292. package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
  293. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +21 -8
  294. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +107 -97
  295. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
  296. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +58 -48
  297. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +448 -349
  298. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
  299. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +27 -16
  300. package/dist/src/modules/auth/components/OrganizationPreferences.js +129 -124
  301. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
  302. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +27 -18
  303. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +184 -144
  304. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
  305. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +17 -6
  306. package/dist/src/modules/auth/components/OrganizationSwitcher.js +91 -69
  307. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
  308. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +44 -33
  309. package/dist/src/modules/auth/components/PreferencesEditor.js +82 -58
  310. package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
  311. package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -1
  312. package/dist/src/modules/auth/components/ProfileRoute.js +79 -36
  313. package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
  314. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +44 -30
  315. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +234 -242
  316. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
  317. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -1
  318. package/dist/src/modules/auth/components/ResetPasswordForm.js +97 -35
  319. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
  320. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -1
  321. package/dist/src/modules/auth/components/ResetPasswordRoute.js +34 -6
  322. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
  323. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -5
  324. package/dist/src/modules/auth/components/SignupFormRoute.js +142 -99
  325. package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
  326. package/dist/src/modules/auth/components/SignupRoute.d.ts +13 -5
  327. package/dist/src/modules/auth/components/SignupRoute.js +59 -13
  328. package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
  329. package/dist/src/modules/auth/components/UserPreferences.d.ts +22 -11
  330. package/dist/src/modules/auth/components/UserPreferences.js +24 -12
  331. package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
  332. package/dist/src/modules/auth/components/WaitlistCard.d.ts +11 -4
  333. package/dist/src/modules/auth/components/WaitlistCard.js +63 -28
  334. package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
  335. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +13 -5
  336. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +42 -40
  337. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
  338. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +15 -6
  339. package/dist/src/modules/billing/components/BillingBetaPage.js +155 -8
  340. package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
  341. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +13 -5
  342. package/dist/src/modules/billing/components/BillingInvoicePage.js +160 -30
  343. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
  344. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +11 -4
  345. package/dist/src/modules/billing/components/BillingPlanSelect.js +10 -7
  346. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
  347. package/dist/src/modules/billing/components/BillingRouter.d.ts +15 -7
  348. package/dist/src/modules/billing/components/BillingRouter.js +19 -6
  349. package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
  350. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +17 -7
  351. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +163 -42
  352. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
  353. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +18 -8
  354. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +81 -38
  355. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
  356. package/dist/src/modules/table/components/NuqsTable.d.ts +33 -21
  357. package/dist/src/modules/table/components/NuqsTable.js +295 -221
  358. package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
  359. package/dist/src/modules/table/components/TableFiltering.d.ts +33 -21
  360. package/dist/src/modules/table/components/TableFiltering.js +408 -226
  361. package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
  362. package/dist/src/modules/table/components/TableGroupBy.d.ts +18 -8
  363. package/dist/src/modules/table/components/TableGroupBy.js +56 -16
  364. package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
  365. package/dist/src/modules/table/components/TablePagination.d.ts +17 -7
  366. package/dist/src/modules/table/components/TablePagination.js +64 -32
  367. package/dist/src/modules/table/components/TablePagination.js.map +1 -0
  368. package/dist/src/modules/table/components/table.types.d.ts +15 -10
  369. package/dist/src/modules/table/components/table.types.js +0 -1
  370. package/dist/src/modules/table/filterTransformers.d.ts +35 -30
  371. package/dist/src/modules/table/filterTransformers.js +198 -261
  372. package/dist/src/modules/table/filterTransformers.js.map +1 -0
  373. package/dist/src/types.d.ts +8 -3
  374. package/dist/src/types.js +0 -1
  375. package/package.json +8 -6
  376. package/dist/translations/en/web-ui.json +0 -209
  377. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1,38 +1,47 @@
1
- import { createElement as _createElement } from "react";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useEffect, useState } from "react";
4
- import { TypewriterEffect } from "./ui/typewriter-effect";
5
- export function Typewriter({ words, wordClass = "dark:text-neutral-300", highlightClass = "text-green-500 dark:text-green-500", cursorClassName = "bg-green-500 dark:bg-green-500", highlightIndex, ...props }) {
6
- const position = highlightIndex ?? words.length - 1;
7
- return (_jsx(TypewriterEffect, { ...props, words: words.map((text, index) => ({
8
- text,
9
- className: index === position ? highlightClass : wordClass,
10
- })), cursorClassName: cursorClassName }));
1
+ import { TypewriterEffect } from "./ui/typewriter-effect.js";
2
+ import { createElement, useEffect, useState } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/typewriter.tsx
5
+ function Typewriter({ words, wordClass = "dark:text-neutral-300", highlightClass = "text-green-500 dark:text-green-500", cursorClassName = "bg-green-500 dark:bg-green-500", highlightIndex, ...props }) {
6
+ const position = highlightIndex ?? words.length - 1;
7
+ return /* @__PURE__ */ jsx(TypewriterEffect, {
8
+ ...props,
9
+ words: words.map((text, index) => ({
10
+ text,
11
+ className: index === position ? highlightClass : wordClass
12
+ })),
13
+ cursorClassName
14
+ });
11
15
  }
12
- export function CyclingTypewriter({ wordSets, wordClass = "dark:text-neutral-300", highlightClass = "text-green-500 dark:text-green-500", cursorClassName = "bg-green-500 dark:bg-green-500", highlightIndex, displayDuration = 3000, cycleDelay = 500, ...props }) {
13
- const [currentIndex, setCurrentIndex] = useState(0);
14
- useEffect(() => {
15
- if (wordSets.length === 0 || wordSets.length === 1)
16
- return;
17
- const currentWords = wordSets[currentIndex];
18
- // Calculate typing animation duration
19
- // TypewriterEffect uses: duration 0.3s per char, stagger 0.1s
20
- // Total time ≈ (charCount * 0.3) + (charCount * 0.1) = charCount * 0.4
21
- const charCount = currentWords.join(" ").length;
22
- const typingDuration = charCount * 400; // milliseconds
23
- // Total cycle time: typing duration + display duration + cycle delay
24
- const totalCycleTime = typingDuration + displayDuration + cycleDelay;
25
- const timer = setTimeout(() => {
26
- setCurrentIndex((prev) => (prev + 1) % wordSets.length);
27
- }, totalCycleTime);
28
- return () => clearTimeout(timer);
29
- }, [currentIndex, wordSets, displayDuration, cycleDelay]);
30
- if (wordSets.length === 0)
31
- return null;
32
- const currentWords = wordSets[currentIndex];
33
- const position = highlightIndex ?? currentWords.length - 1;
34
- return (_createElement(TypewriterEffect, { ...props, key: currentIndex, words: currentWords.map((text, index) => ({
35
- text,
36
- className: index === position ? highlightClass : wordClass,
37
- })), cursorClassName: cursorClassName }));
16
+ function CyclingTypewriter({ wordSets, wordClass = "dark:text-neutral-300", highlightClass = "text-green-500 dark:text-green-500", cursorClassName = "bg-green-500 dark:bg-green-500", highlightIndex, displayDuration = 3e3, cycleDelay = 500, ...props }) {
17
+ const [currentIndex, setCurrentIndex] = useState(0);
18
+ useEffect(() => {
19
+ if (wordSets.length === 0 || wordSets.length === 1) return;
20
+ const totalCycleTime = wordSets[currentIndex].join(" ").length * 400 + displayDuration + cycleDelay;
21
+ const timer = setTimeout(() => {
22
+ setCurrentIndex((prev) => (prev + 1) % wordSets.length);
23
+ }, totalCycleTime);
24
+ return () => clearTimeout(timer);
25
+ }, [
26
+ currentIndex,
27
+ wordSets,
28
+ displayDuration,
29
+ cycleDelay
30
+ ]);
31
+ if (wordSets.length === 0) return null;
32
+ const currentWords = wordSets[currentIndex];
33
+ const position = highlightIndex ?? currentWords.length - 1;
34
+ return /* @__PURE__ */ createElement(TypewriterEffect, {
35
+ ...props,
36
+ key: currentIndex,
37
+ words: currentWords.map((text, index) => ({
38
+ text,
39
+ className: index === position ? highlightClass : wordClass
40
+ })),
41
+ cursorClassName
42
+ });
38
43
  }
44
+ //#endregion
45
+ export { CyclingTypewriter, Typewriter };
46
+
47
+ //# sourceMappingURL=typewriter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typewriter.js","names":[],"sources":["../../../src/components/typewriter.tsx"],"sourcesContent":["import { useEffect, useState } from \"react\";\r\nimport { TypewriterEffect } from \"./ui/typewriter-effect\";\r\n\r\ninterface TypewriterProps extends Omit<React.ComponentProps<typeof TypewriterEffect>, \"words\"> {\r\n words: string[];\r\n wordClass?: string;\r\n highlightClass?: string;\r\n highlightIndex?: number;\r\n}\r\n\r\nexport function Typewriter({\r\n words,\r\n wordClass = \"dark:text-neutral-300\",\r\n highlightClass = \"text-green-500 dark:text-green-500\",\r\n cursorClassName = \"bg-green-500 dark:bg-green-500\",\r\n highlightIndex,\r\n ...props\r\n}: TypewriterProps) {\r\n const position = highlightIndex ?? words.length - 1;\r\n return (\r\n <TypewriterEffect\r\n {...props}\r\n words={words.map((text, index) => ({\r\n text,\r\n className: index === position ? highlightClass : wordClass,\r\n }))}\r\n cursorClassName={cursorClassName}\r\n />\r\n );\r\n}\r\n\r\ninterface CyclingTypewriterProps\r\n extends Omit<React.ComponentProps<typeof TypewriterEffect>, \"words\"> {\r\n wordSets: string[][];\r\n wordClass?: string;\r\n highlightClass?: string;\r\n highlightIndex?: number;\r\n displayDuration?: number;\r\n cycleDelay?: number;\r\n}\r\n\r\nexport function CyclingTypewriter({\r\n wordSets,\r\n wordClass = \"dark:text-neutral-300\",\r\n highlightClass = \"text-green-500 dark:text-green-500\",\r\n cursorClassName = \"bg-green-500 dark:bg-green-500\",\r\n highlightIndex,\r\n displayDuration = 3000,\r\n cycleDelay = 500,\r\n ...props\r\n}: CyclingTypewriterProps) {\r\n const [currentIndex, setCurrentIndex] = useState(0);\r\n\r\n useEffect(() => {\r\n if (wordSets.length === 0 || wordSets.length === 1) return;\r\n\r\n const currentWords = wordSets[currentIndex];\r\n // Calculate typing animation duration\r\n // TypewriterEffect uses: duration 0.3s per char, stagger 0.1s\r\n // Total time ≈ (charCount * 0.3) + (charCount * 0.1) = charCount * 0.4\r\n const charCount = currentWords.join(\" \").length;\r\n const typingDuration = charCount * 400; // milliseconds\r\n\r\n // Total cycle time: typing duration + display duration + cycle delay\r\n const totalCycleTime = typingDuration + displayDuration + cycleDelay;\r\n\r\n const timer = setTimeout(() => {\r\n setCurrentIndex((prev) => (prev + 1) % wordSets.length);\r\n }, totalCycleTime);\r\n\r\n return () => clearTimeout(timer);\r\n }, [currentIndex, wordSets, displayDuration, cycleDelay]);\r\n\r\n if (wordSets.length === 0) return null;\r\n\r\n const currentWords = wordSets[currentIndex];\r\n const position = highlightIndex ?? currentWords.length - 1;\r\n\r\n return (\r\n <TypewriterEffect\r\n {...props}\r\n key={currentIndex}\r\n words={currentWords.map((text, index) => ({\r\n text,\r\n className: index === position ? highlightClass : wordClass,\r\n }))}\r\n cursorClassName={cursorClassName}\r\n />\r\n );\r\n}\r\n"],"mappings":";;;;AAUA,SAAgB,WAAW,EACzB,OACA,YAAY,yBACZ,iBAAiB,sCACjB,kBAAkB,kCAClB,gBACA,GAAG,SACe;CAClB,MAAM,WAAW,kBAAkB,MAAM,SAAS;AAClD,QACE,oBAAC,kBAAD;EACE,GAAI;EACJ,OAAO,MAAM,KAAK,MAAM,WAAW;GACjC;GACA,WAAW,UAAU,WAAW,iBAAiB;GAClD,EAAE;EACc;EACjB,CAAA;;AAcN,SAAgB,kBAAkB,EAChC,UACA,YAAY,yBACZ,iBAAiB,sCACjB,kBAAkB,kCAClB,gBACA,kBAAkB,KAClB,aAAa,KACb,GAAG,SACsB;CACzB,MAAM,CAAC,cAAc,mBAAmB,SAAS,EAAE;AAEnD,iBAAgB;AACd,MAAI,SAAS,WAAW,KAAK,SAAS,WAAW,EAAG;EAUpD,MAAM,iBARe,SAAS,cAIC,KAAK,IAAI,CAAC,SACN,MAGK,kBAAkB;EAE1D,MAAM,QAAQ,iBAAiB;AAC7B,oBAAiB,UAAU,OAAO,KAAK,SAAS,OAAO;KACtD,eAAe;AAElB,eAAa,aAAa,MAAM;IAC/B;EAAC;EAAc;EAAU;EAAiB;EAAW,CAAC;AAEzD,KAAI,SAAS,WAAW,EAAG,QAAO;CAElC,MAAM,eAAe,SAAS;CAC9B,MAAM,WAAW,kBAAkB,aAAa,SAAS;AAEzD,QACE,8BAAC,kBAAD;EACE,GAAI;EACJ,KAAK;EACL,OAAO,aAAa,KAAK,MAAM,WAAW;GACxC;GACA,WAAW,UAAU,WAAW,iBAAiB;GAClD,EAAE;EACc;EACjB,CAAA"}
@@ -1,14 +1,49 @@
1
+ import * as React$1 from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
1
3
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2
- import type * as React from "react";
3
- declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
- declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
7
- declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
8
- declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
- declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
11
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
12
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
13
- declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
14
- export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
4
+
5
+ //#region src/components/ui/alert-dialog.d.ts
6
+ declare function AlertDialog({
7
+ ...props
8
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): _$react_jsx_runtime0.JSX.Element;
9
+ declare function AlertDialogTrigger({
10
+ ...props
11
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): _$react_jsx_runtime0.JSX.Element;
12
+ declare function AlertDialogPortal({
13
+ ...props
14
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): _$react_jsx_runtime0.JSX.Element;
15
+ declare function AlertDialogOverlay({
16
+ className,
17
+ ...props
18
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): _$react_jsx_runtime0.JSX.Element;
19
+ declare function AlertDialogContent({
20
+ className,
21
+ ...props
22
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): _$react_jsx_runtime0.JSX.Element;
23
+ declare function AlertDialogHeader({
24
+ className,
25
+ ...props
26
+ }: React$1.ComponentProps<"div">): _$react_jsx_runtime0.JSX.Element;
27
+ declare function AlertDialogFooter({
28
+ className,
29
+ ...props
30
+ }: React$1.ComponentProps<"div">): _$react_jsx_runtime0.JSX.Element;
31
+ declare function AlertDialogTitle({
32
+ className,
33
+ ...props
34
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): _$react_jsx_runtime0.JSX.Element;
35
+ declare function AlertDialogDescription({
36
+ className,
37
+ ...props
38
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): _$react_jsx_runtime0.JSX.Element;
39
+ declare function AlertDialogAction({
40
+ className,
41
+ ...props
42
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): _$react_jsx_runtime0.JSX.Element;
43
+ declare function AlertDialogCancel({
44
+ className,
45
+ ...props
46
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): _$react_jsx_runtime0.JSX.Element;
47
+ //#endregion
48
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
49
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -1,38 +1,81 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { cn } from "../../lib/utils.js";
2
+ import { buttonVariants } from "./button.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
2
4
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
- import { buttonVariants } from "./button";
4
- import { cn } from "../../lib/utils";
5
+ //#region src/components/ui/alert-dialog.tsx
5
6
  function AlertDialog({ ...props }) {
6
- return _jsx(AlertDialogPrimitive.Root, { "data-slot": "alert-dialog", ...props });
7
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Root, {
8
+ "data-slot": "alert-dialog",
9
+ ...props
10
+ });
7
11
  }
8
12
  function AlertDialogTrigger({ ...props }) {
9
- return _jsx(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
13
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Trigger, {
14
+ "data-slot": "alert-dialog-trigger",
15
+ ...props
16
+ });
10
17
  }
11
18
  function AlertDialogPortal({ ...props }) {
12
- return _jsx(AlertDialogPrimitive.Portal, { "data-slot": "alert-dialog-portal", ...props });
19
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Portal, {
20
+ "data-slot": "alert-dialog-portal",
21
+ ...props
22
+ });
13
23
  }
14
24
  function AlertDialogOverlay({ className, ...props }) {
15
- return (_jsx(AlertDialogPrimitive.Overlay, { "data-slot": "alert-dialog-overlay", className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80", className), ...props }));
25
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Overlay, {
26
+ "data-slot": "alert-dialog-overlay",
27
+ className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80", className),
28
+ ...props
29
+ });
16
30
  }
17
31
  function AlertDialogContent({ className, ...props }) {
18
- return (_jsxs(AlertDialogPortal, { children: [_jsx(AlertDialogOverlay, {}), _jsx(AlertDialogPrimitive.Content, { "data-slot": "alert-dialog-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className), ...props })] }));
32
+ return /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [/* @__PURE__ */ jsx(AlertDialogOverlay, {}), /* @__PURE__ */ jsx(AlertDialogPrimitive.Content, {
33
+ "data-slot": "alert-dialog-content",
34
+ className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className),
35
+ ...props
36
+ })] });
19
37
  }
20
38
  function AlertDialogHeader({ className, ...props }) {
21
- return (_jsx("div", { "data-slot": "alert-dialog-header", className: cn("flex flex-col gap-2 text-center sm:text-left", className), ...props }));
39
+ return /* @__PURE__ */ jsx("div", {
40
+ "data-slot": "alert-dialog-header",
41
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
42
+ ...props
43
+ });
22
44
  }
23
45
  function AlertDialogFooter({ className, ...props }) {
24
- return (_jsx("div", { "data-slot": "alert-dialog-footer", className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props }));
46
+ return /* @__PURE__ */ jsx("div", {
47
+ "data-slot": "alert-dialog-footer",
48
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
49
+ ...props
50
+ });
25
51
  }
26
52
  function AlertDialogTitle({ className, ...props }) {
27
- return (_jsx(AlertDialogPrimitive.Title, { "data-slot": "alert-dialog-title", className: cn("text-lg font-semibold", className), ...props }));
53
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Title, {
54
+ "data-slot": "alert-dialog-title",
55
+ className: cn("text-lg font-semibold", className),
56
+ ...props
57
+ });
28
58
  }
29
59
  function AlertDialogDescription({ className, ...props }) {
30
- return (_jsx(AlertDialogPrimitive.Description, { "data-slot": "alert-dialog-description", className: cn("text-muted-foreground text-sm", className), ...props }));
60
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Description, {
61
+ "data-slot": "alert-dialog-description",
62
+ className: cn("text-muted-foreground text-sm", className),
63
+ ...props
64
+ });
31
65
  }
32
66
  function AlertDialogAction({ className, ...props }) {
33
- return _jsx(AlertDialogPrimitive.Action, { className: cn(buttonVariants(), className), ...props });
67
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, {
68
+ className: cn(buttonVariants(), className),
69
+ ...props
70
+ });
34
71
  }
35
72
  function AlertDialogCancel({ className, ...props }) {
36
- return (_jsx(AlertDialogPrimitive.Cancel, { className: cn(buttonVariants({ variant: "outline" }), className), ...props }));
73
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Cancel, {
74
+ className: cn(buttonVariants({ variant: "outline" }), className),
75
+ ...props
76
+ });
37
77
  }
38
- export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
78
+ //#endregion
79
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
80
+
81
+ //# sourceMappingURL=alert-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.js","names":[],"sources":["../../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\r\nimport type * as React from \"react\";\r\n\r\nimport { buttonVariants } from \"./button\";\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nfunction AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {\r\n return <AlertDialogPrimitive.Root data-slot=\"alert-dialog\" {...props} />;\r\n}\r\n\r\nfunction AlertDialogTrigger({\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {\r\n return <AlertDialogPrimitive.Trigger data-slot=\"alert-dialog-trigger\" {...props} />;\r\n}\r\n\r\nfunction AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {\r\n return <AlertDialogPrimitive.Portal data-slot=\"alert-dialog-portal\" {...props} />;\r\n}\r\n\r\nfunction AlertDialogOverlay({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {\r\n return (\r\n <AlertDialogPrimitive.Overlay\r\n data-slot=\"alert-dialog-overlay\"\r\n className={cn(\r\n \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDialogContent({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Content>) {\r\n return (\r\n <AlertDialogPortal>\r\n <AlertDialogOverlay />\r\n <AlertDialogPrimitive.Content\r\n data-slot=\"alert-dialog-content\"\r\n className={cn(\r\n \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n </AlertDialogPortal>\r\n );\r\n}\r\n\r\nfunction AlertDialogHeader({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-dialog-header\"\r\n className={cn(\"flex flex-col gap-2 text-center sm:text-left\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDialogFooter({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-dialog-footer\"\r\n className={cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDialogTitle({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {\r\n return (\r\n <AlertDialogPrimitive.Title\r\n data-slot=\"alert-dialog-title\"\r\n className={cn(\"text-lg font-semibold\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDialogDescription({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {\r\n return (\r\n <AlertDialogPrimitive.Description\r\n data-slot=\"alert-dialog-description\"\r\n className={cn(\"text-muted-foreground text-sm\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDialogAction({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Action>) {\r\n return <AlertDialogPrimitive.Action className={cn(buttonVariants(), className)} {...props} />;\r\n}\r\n\r\nfunction AlertDialogCancel({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>) {\r\n return (\r\n <AlertDialogPrimitive.Cancel\r\n className={cn(buttonVariants({ variant: \"outline\" }), className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nexport {\r\n AlertDialog,\r\n AlertDialogPortal,\r\n AlertDialogOverlay,\r\n AlertDialogTrigger,\r\n AlertDialogContent,\r\n AlertDialogHeader,\r\n AlertDialogFooter,\r\n AlertDialogTitle,\r\n AlertDialogDescription,\r\n AlertDialogAction,\r\n AlertDialogCancel,\r\n};\r\n"],"mappings":";;;;;AAMA,SAAS,YAAY,EAAE,GAAG,SAAiE;AACzF,QAAO,oBAAC,qBAAqB,MAAtB;EAA2B,aAAU;EAAe,GAAI;EAAS,CAAA;;AAG1E,SAAS,mBAAmB,EAC1B,GAAG,SACyD;AAC5D,QAAO,oBAAC,qBAAqB,SAAtB;EAA8B,aAAU;EAAuB,GAAI;EAAS,CAAA;;AAGrF,SAAS,kBAAkB,EAAE,GAAG,SAAmE;AACjG,QAAO,oBAAC,qBAAqB,QAAtB;EAA6B,aAAU;EAAsB,GAAI;EAAS,CAAA;;AAGnF,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyD;AAC5D,QACE,oBAAC,qBAAqB,SAAtB;EACE,aAAU;EACV,WAAW,GACT,0JACA,UACD;EACD,GAAI;EACJ,CAAA;;AAIN,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyD;AAC5D,QACE,qBAAC,mBAAD,EAAA,UAAA,CACE,oBAAC,oBAAD,EAAsB,CAAA,EACtB,oBAAC,qBAAqB,SAAtB;EACE,aAAU;EACV,WAAW,GACT,+WACA,UACD;EACD,GAAI;EACJ,CAAA,CACgB,EAAA,CAAA;;AAIxB,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAsC;AAC/E,QACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GAAG,gDAAgD,UAAU;EACxE,GAAI;EACJ,CAAA;;AAIN,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAsC;AAC/E,QACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GAAG,0DAA0D,UAAU;EAClF,GAAI;EACJ,CAAA;;AAIN,SAAS,iBAAiB,EACxB,WACA,GAAG,SACuD;AAC1D,QACE,oBAAC,qBAAqB,OAAtB;EACE,aAAU;EACV,WAAW,GAAG,yBAAyB,UAAU;EACjD,GAAI;EACJ,CAAA;;AAIN,SAAS,uBAAuB,EAC9B,WACA,GAAG,SAC6D;AAChE,QACE,oBAAC,qBAAqB,aAAtB;EACE,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;EACJ,CAAA;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QAAO,oBAAC,qBAAqB,QAAtB;EAA6B,WAAW,GAAG,gBAAgB,EAAE,UAAU;EAAE,GAAI;EAAS,CAAA;;AAG/F,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QACE,oBAAC,qBAAqB,QAAtB;EACE,WAAW,GAAG,eAAe,EAAE,SAAS,WAAW,CAAC,EAAE,UAAU;EAChE,GAAI;EACJ,CAAA"}
@@ -1,9 +1,25 @@
1
- import { type VariantProps } from "class-variance-authority";
2
- import type * as React from "react";
1
+ import * as React$1 from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as _$class_variance_authority_types0 from "class-variance-authority/types";
5
+
6
+ //#region src/components/ui/alert.d.ts
3
7
  declare const alertVariants: (props?: ({
4
- variant?: "default" | "destructive" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
7
- declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
- declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
- export { Alert, AlertTitle, AlertDescription };
8
+ variant?: "default" | "destructive" | null | undefined;
9
+ } & _$class_variance_authority_types0.ClassProp) | undefined) => string;
10
+ declare function Alert({
11
+ className,
12
+ variant,
13
+ ...props
14
+ }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): _$react_jsx_runtime0.JSX.Element;
15
+ declare function AlertTitle({
16
+ className,
17
+ ...props
18
+ }: React$1.ComponentProps<"div">): _$react_jsx_runtime0.JSX.Element;
19
+ declare function AlertDescription({
20
+ className,
21
+ ...props
22
+ }: React$1.ComponentProps<"div">): _$react_jsx_runtime0.JSX.Element;
23
+ //#endregion
24
+ export { Alert, AlertDescription, AlertTitle };
25
+ //# sourceMappingURL=alert.d.ts.map
@@ -1,24 +1,37 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { cn } from "../../lib/utils.js";
2
+ import { jsx } from "react/jsx-runtime";
2
3
  import { cva } from "class-variance-authority";
3
- import { cn } from "../../lib/utils";
4
+ //#region src/components/ui/alert.tsx
4
5
  const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
5
- variants: {
6
- variant: {
7
- default: "bg-card text-card-foreground",
8
- destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
9
- },
10
- },
11
- defaultVariants: {
12
- variant: "default",
13
- },
6
+ variants: { variant: {
7
+ default: "bg-card text-card-foreground",
8
+ destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
9
+ } },
10
+ defaultVariants: { variant: "default" }
14
11
  });
15
12
  function Alert({ className, variant, ...props }) {
16
- return (_jsx("div", { "data-slot": "alert", role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
13
+ return /* @__PURE__ */ jsx("div", {
14
+ "data-slot": "alert",
15
+ role: "alert",
16
+ className: cn(alertVariants({ variant }), className),
17
+ ...props
18
+ });
17
19
  }
18
20
  function AlertTitle({ className, ...props }) {
19
- return (_jsx("div", { "data-slot": "alert-title", className: cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className), ...props }));
21
+ return /* @__PURE__ */ jsx("div", {
22
+ "data-slot": "alert-title",
23
+ className: cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
24
+ ...props
25
+ });
20
26
  }
21
27
  function AlertDescription({ className, ...props }) {
22
- return (_jsx("div", { "data-slot": "alert-description", className: cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className), ...props }));
28
+ return /* @__PURE__ */ jsx("div", {
29
+ "data-slot": "alert-description",
30
+ className: cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className),
31
+ ...props
32
+ });
23
33
  }
24
- export { Alert, AlertTitle, AlertDescription };
34
+ //#endregion
35
+ export { Alert, AlertDescription, AlertTitle };
36
+
37
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","names":[],"sources":["../../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport type * as React from \"react\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst alertVariants = cva(\r\n \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"bg-card text-card-foreground\",\r\n destructive:\r\n \"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nfunction Alert({\r\n className,\r\n variant,\r\n ...props\r\n}: React.ComponentProps<\"div\"> & VariantProps<typeof alertVariants>) {\r\n return (\r\n <div\r\n data-slot=\"alert\"\r\n role=\"alert\"\r\n className={cn(alertVariants({ variant }), className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertTitle({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-title\"\r\n className={cn(\"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDescription({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-description\"\r\n className={cn(\r\n \"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nexport { Alert, AlertTitle, AlertDescription };\r\n"],"mappings":";;;;AAKA,MAAM,gBAAgB,IACpB,qOACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,aACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,GAAG,SACgE;AACnE,QACE,oBAAC,OAAD;EACE,aAAU;EACV,MAAK;EACL,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;EACJ,CAAA;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GAAG,+DAA+D,UAAU;EACvF,GAAI;EACJ,CAAA;;AAIN,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAsC;AAC9E,QACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT,kGACA,UACD;EACD,GAAI;EACJ,CAAA"}
@@ -1,6 +1,10 @@
1
+ import * as React$1 from "react";
1
2
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
2
- import * as React from "react";
3
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- export { Avatar, AvatarImage, AvatarFallback };
3
+
4
+ //#region src/components/ui/avatar.d.ts
5
+ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
6
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
7
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
8
+ //#endregion
9
+ export { Avatar, AvatarFallback, AvatarImage };
10
+ //# sourceMappingURL=avatar.d.ts.map
@@ -1,12 +1,28 @@
1
1
  "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/utils.js";
3
+ import * as React$1 from "react";
4
+ import { jsx } from "react/jsx-runtime";
3
5
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
- import * as React from "react";
5
- import { cn } from "../../lib/utils";
6
- const Avatar = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Root, { ref: ref, className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className), ...props })));
6
+ //#region src/components/ui/avatar.tsx
7
+ const Avatar = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AvatarPrimitive.Root, {
8
+ ref,
9
+ className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className),
10
+ ...props
11
+ }));
7
12
  Avatar.displayName = AvatarPrimitive.Root.displayName;
8
- const AvatarImage = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Image, { ref: ref, className: cn("aspect-square h-full w-full", className), ...props })));
13
+ const AvatarImage = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AvatarPrimitive.Image, {
14
+ ref,
15
+ className: cn("aspect-square h-full w-full", className),
16
+ ...props
17
+ }));
9
18
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
10
- const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Fallback, { ref: ref, className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className), ...props })));
19
+ const AvatarFallback = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, {
20
+ ref,
21
+ className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className),
22
+ ...props
23
+ }));
11
24
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
12
- export { Avatar, AvatarImage, AvatarFallback };
25
+ //#endregion
26
+ export { Avatar, AvatarFallback, AvatarImage };
27
+
28
+ //# sourceMappingURL=avatar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.js","names":["React"],"sources":["../../../../src/components/ui/avatar.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\r\nimport * as React from \"react\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst Avatar = React.forwardRef<\r\n React.ElementRef<typeof AvatarPrimitive.Root>,\r\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\r\n>(({ className, ...props }, ref) => (\r\n <AvatarPrimitive.Root\r\n ref={ref}\r\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\r\n {...props}\r\n />\r\n));\r\nAvatar.displayName = AvatarPrimitive.Root.displayName;\r\n\r\nconst AvatarImage = React.forwardRef<\r\n React.ElementRef<typeof AvatarPrimitive.Image>,\r\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\r\n>(({ className, ...props }, ref) => (\r\n <AvatarPrimitive.Image\r\n ref={ref}\r\n className={cn(\"aspect-square h-full w-full\", className)}\r\n {...props}\r\n />\r\n));\r\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\r\n\r\nconst AvatarFallback = React.forwardRef<\r\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\r\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\r\n>(({ className, ...props }, ref) => (\r\n <AvatarPrimitive.Fallback\r\n ref={ref}\r\n className={cn(\r\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n));\r\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\r\n\r\nexport { Avatar, AvatarImage, AvatarFallback };\r\n"],"mappings":";;;;;;AAOA,MAAM,SAASA,QAAM,YAGlB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,MAAjB;CACO;CACL,WAAW,GAAG,iEAAiE,UAAU;CACzF,GAAI;CACJ,CAAA,CACF;AACF,OAAO,cAAc,gBAAgB,KAAK;AAE1C,MAAM,cAAcA,QAAM,YAGvB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,OAAjB;CACO;CACL,WAAW,GAAG,+BAA+B,UAAU;CACvD,GAAI;CACJ,CAAA,CACF;AACF,YAAY,cAAc,gBAAgB,MAAM;AAEhD,MAAM,iBAAiBA,QAAM,YAG1B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,UAAjB;CACO;CACL,WAAW,GACT,wEACA,UACD;CACD,GAAI;CACJ,CAAA,CACF;AACF,eAAe,cAAc,gBAAgB,SAAS"}
@@ -1,9 +1,18 @@
1
- import { type VariantProps } from "class-variance-authority";
2
- import type * as React from "react";
1
+ import * as React$1 from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as _$class_variance_authority_types0 from "class-variance-authority/types";
5
+
6
+ //#region src/components/ui/badge.d.ts
3
7
  declare const badgeVariants: (props?: ({
4
- variant?: "outline" | "default" | "destructive" | "secondary" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
- }
8
- declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
- export { Badge, badgeVariants };
8
+ variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
9
+ } & _$class_variance_authority_types0.ClassProp) | undefined) => string;
10
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
11
+ declare function Badge({
12
+ className,
13
+ variant,
14
+ ...props
15
+ }: BadgeProps): _$react_jsx_runtime0.JSX.Element;
16
+ //#endregion
17
+ export { Badge, BadgeProps, badgeVariants };
18
+ //# sourceMappingURL=badge.d.ts.map
@@ -1,20 +1,23 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { cn } from "../../lib/utils.js";
2
+ import { jsx } from "react/jsx-runtime";
2
3
  import { cva } from "class-variance-authority";
3
- import { cn } from "../../lib/utils";
4
+ //#region src/components/ui/badge.tsx
4
5
  const badgeVariants = cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
5
- variants: {
6
- variant: {
7
- default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
8
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
9
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
10
- outline: "text-foreground",
11
- },
12
- },
13
- defaultVariants: {
14
- variant: "default",
15
- },
6
+ variants: { variant: {
7
+ default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
8
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
9
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
10
+ outline: "text-foreground"
11
+ } },
12
+ defaultVariants: { variant: "default" }
16
13
  });
17
14
  function Badge({ className, variant, ...props }) {
18
- return _jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
15
+ return /* @__PURE__ */ jsx("div", {
16
+ className: cn(badgeVariants({ variant }), className),
17
+ ...props
18
+ });
19
19
  }
20
+ //#endregion
20
21
  export { Badge, badgeVariants };
22
+
23
+ //# sourceMappingURL=badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.js","names":[],"sources":["../../../../src/components/ui/badge.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport type * as React from \"react\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst badgeVariants = cva(\r\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\r\n secondary:\r\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n destructive:\r\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\r\n outline: \"text-foreground\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nexport interface BadgeProps\r\n extends React.HTMLAttributes<HTMLDivElement>,\r\n VariantProps<typeof badgeVariants> {}\r\n\r\nfunction Badge({ className, variant, ...props }: BadgeProps) {\r\n return <div className={cn(badgeVariants({ variant }), className)} {...props} />;\r\n}\r\n\r\nexport { Badge, badgeVariants };\r\n"],"mappings":";;;;AAKA,MAAM,gBAAgB,IACpB,0KACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,WACE;EACF,aACE;EACF,SAAS;EACV,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAMD,SAAS,MAAM,EAAE,WAAW,SAAS,GAAG,SAAqB;AAC3D,QAAO,oBAAC,OAAD;EAAK,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EAAE,GAAI;EAAS,CAAA"}
@@ -1,11 +1,26 @@
1
- export declare const BentoGrid: ({ className, children, }: {
2
- className?: string;
3
- children?: React.ReactNode;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export declare const BentoGridItem: ({ className, title, description, header, icon, }: {
6
- className?: string;
7
- title?: string | React.ReactNode;
8
- description?: string | React.ReactNode;
9
- header?: React.ReactNode;
10
- icon?: React.ReactNode;
11
- }) => import("react/jsx-runtime").JSX.Element;
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/components/ui/bento-grid.d.ts
4
+ declare const BentoGrid: ({
5
+ className,
6
+ children
7
+ }: {
8
+ className?: string;
9
+ children?: React.ReactNode;
10
+ }) => _$react_jsx_runtime0.JSX.Element;
11
+ declare const BentoGridItem: ({
12
+ className,
13
+ title,
14
+ description,
15
+ header,
16
+ icon
17
+ }: {
18
+ className?: string;
19
+ title?: string | React.ReactNode;
20
+ description?: string | React.ReactNode;
21
+ header?: React.ReactNode;
22
+ icon?: React.ReactNode;
23
+ }) => _$react_jsx_runtime0.JSX.Element;
24
+ //#endregion
25
+ export { BentoGrid, BentoGridItem };
26
+ //# sourceMappingURL=bento-grid.d.ts.map
@@ -1,8 +1,32 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils";
3
- export const BentoGrid = ({ className, children, }) => {
4
- return (_jsx("div", { className: cn("mx-auto grid max-w-7xl grid-cols-1 gap-4 md:auto-rows-[20rem] md:grid-cols-4", className), children: children }));
1
+ import { cn } from "../../lib/utils.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ //#region src/components/ui/bento-grid.tsx
4
+ const BentoGrid = ({ className, children }) => {
5
+ return /* @__PURE__ */ jsx("div", {
6
+ className: cn("mx-auto grid max-w-7xl grid-cols-1 gap-4 md:auto-rows-[20rem] md:grid-cols-4", className),
7
+ children
8
+ });
5
9
  };
6
- export const BentoGridItem = ({ className, title, description, header, icon, }) => {
7
- return (_jsxs("div", { className: cn("group/bento shadow-input row-span-1 flex flex-col justify-between space-y-4 rounded-xl border border-neutral-200 bg-white p-4 transition duration-200 hover:shadow-xl dark:border-white/[0.2] dark:bg-black dark:shadow-none", className), children: [header, _jsxs("div", { className: "transition duration-200 group-hover/bento:translate-x-2", children: [icon, _jsx("div", { className: "mt-2 mb-2 font-sans font-bold text-neutral-600 dark:text-neutral-200 text-lg", children: title }), _jsx("div", { className: "font-sans text-sm font-normal text-neutral-600 dark:text-neutral-300", children: description })] })] }));
10
+ const BentoGridItem = ({ className, title, description, header, icon }) => {
11
+ return /* @__PURE__ */ jsxs("div", {
12
+ className: cn("group/bento shadow-input row-span-1 flex flex-col justify-between space-y-4 rounded-xl border border-neutral-200 bg-white p-4 transition duration-200 hover:shadow-xl dark:border-white/[0.2] dark:bg-black dark:shadow-none", className),
13
+ children: [header, /* @__PURE__ */ jsxs("div", {
14
+ className: "transition duration-200 group-hover/bento:translate-x-2",
15
+ children: [
16
+ icon,
17
+ /* @__PURE__ */ jsx("div", {
18
+ className: "mt-2 mb-2 font-sans font-bold text-neutral-600 dark:text-neutral-200 text-lg",
19
+ children: title
20
+ }),
21
+ /* @__PURE__ */ jsx("div", {
22
+ className: "font-sans text-sm font-normal text-neutral-600 dark:text-neutral-300",
23
+ children: description
24
+ })
25
+ ]
26
+ })]
27
+ });
8
28
  };
29
+ //#endregion
30
+ export { BentoGrid, BentoGridItem };
31
+
32
+ //# sourceMappingURL=bento-grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bento-grid.js","names":[],"sources":["../../../../src/components/ui/bento-grid.tsx"],"sourcesContent":["import { cn } from \"../../lib/utils\";\r\n\r\nexport const BentoGrid = ({\r\n className,\r\n children,\r\n}: {\r\n className?: string;\r\n children?: React.ReactNode;\r\n}) => {\r\n return (\r\n <div\r\n className={cn(\r\n \"mx-auto grid max-w-7xl grid-cols-1 gap-4 md:auto-rows-[20rem] md:grid-cols-4\",\r\n className\r\n )}\r\n >\r\n {children}\r\n </div>\r\n );\r\n};\r\n\r\nexport const BentoGridItem = ({\r\n className,\r\n title,\r\n description,\r\n header,\r\n icon,\r\n}: {\r\n className?: string;\r\n title?: string | React.ReactNode;\r\n description?: string | React.ReactNode;\r\n header?: React.ReactNode;\r\n icon?: React.ReactNode;\r\n}) => {\r\n return (\r\n <div\r\n className={cn(\r\n \"group/bento shadow-input row-span-1 flex flex-col justify-between space-y-4 rounded-xl border border-neutral-200 bg-white p-4 transition duration-200 hover:shadow-xl dark:border-white/[0.2] dark:bg-black dark:shadow-none\",\r\n className\r\n )}\r\n >\r\n {header}\r\n <div className=\"transition duration-200 group-hover/bento:translate-x-2\">\r\n {icon}\r\n <div className=\"mt-2 mb-2 font-sans font-bold text-neutral-600 dark:text-neutral-200 text-lg\">\r\n {title}\r\n </div>\r\n <div className=\"font-sans text-sm font-normal text-neutral-600 dark:text-neutral-300\">\r\n {description}\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n};\r\n"],"mappings":";;;AAEA,MAAa,aAAa,EACxB,WACA,eAII;AACJ,QACE,oBAAC,OAAD;EACE,WAAW,GACT,gFACA,UACD;EAEA;EACG,CAAA;;AAIV,MAAa,iBAAiB,EAC5B,WACA,OACA,aACA,QACA,WAOI;AACJ,QACE,qBAAC,OAAD;EACE,WAAW,GACT,gOACA,UACD;YAJH,CAMG,QACD,qBAAC,OAAD;GAAK,WAAU;aAAf;IACG;IACD,oBAAC,OAAD;KAAK,WAAU;eACZ;KACG,CAAA;IACN,oBAAC,OAAD;KAAK,WAAU;eACZ;KACG,CAAA;IACF;KACF"}