@customafk/lunas-ui 0.2.45 → 0.2.48

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 (614) hide show
  1. package/dist/{alert-BbvPwf2x.mjs → alert-BzBDfGk2.js} +1 -1
  2. package/dist/alert-BzBDfGk2.js.map +1 -0
  3. package/dist/{alert-C32Lwu87.d.cts → alert-CNFuxKp7.d.cts} +5 -5
  4. package/dist/{alert-Cx-dxCP5.d.mts → alert-EH6BsbAj.d.ts} +7 -7
  5. package/dist/{avatar-fltdRVsJ.mjs → avatar-Hpj8lmux.js} +1 -1
  6. package/dist/avatar-Hpj8lmux.js.map +1 -0
  7. package/dist/{badge-CDGBGq8X.mjs → badge-CRpRXSuO.js} +1 -1
  8. package/dist/badge-CRpRXSuO.js.map +1 -0
  9. package/dist/{badge-B6WaU_xD.d.mts → badge-Cca0AHjT.d.ts} +6 -6
  10. package/dist/{badge-C-IINKGX.d.cts → badge-D0JnPurs.d.cts} +6 -6
  11. package/dist/{button-BrRUQsVc.d.mts → button-Cr817M3U.d.cts} +5 -5
  12. package/dist/{button-9rG12f55.d.cts → button-DuZy_wDo.d.ts} +6 -6
  13. package/dist/button-LMMbL-uH.js +2 -0
  14. package/dist/button-LMMbL-uH.js.map +1 -0
  15. package/dist/{button.variants-DkMqWB8G.mjs → button.variants-CoSpd71B.js} +1 -1
  16. package/dist/button.variants-CoSpd71B.js.map +1 -0
  17. package/dist/calendar-DzPt7b6k.js +2 -0
  18. package/dist/calendar-DzPt7b6k.js.map +1 -0
  19. package/dist/cards/{grid-product-card.d.mts → grid-product-card.d.ts} +1 -1
  20. package/dist/cards/grid-product-card.js +2 -0
  21. package/dist/cards/grid-product-card.js.map +1 -0
  22. package/dist/cards/{product-card.d.mts → product-card.d.ts} +1 -1
  23. package/dist/cards/product-card.js +2 -0
  24. package/dist/cards/product-card.js.map +1 -0
  25. package/dist/cards/{simple-card.d.mts → simple-card.d.ts} +1 -1
  26. package/dist/cards/simple-card.js +2 -0
  27. package/dist/cards/simple-card.js.map +1 -0
  28. package/dist/{checkbox-Cat3i08X.mjs → checkbox-DLGDoU-1.js} +1 -1
  29. package/dist/checkbox-DLGDoU-1.js.map +1 -0
  30. package/dist/{close-_UHFeiLS.mjs → close-C0PdZGxr.js} +1 -1
  31. package/dist/close-C0PdZGxr.js.map +1 -0
  32. package/dist/cms-layout-tPwrgJZc.js +2 -0
  33. package/dist/cms-layout-tPwrgJZc.js.map +1 -0
  34. package/dist/command-2gUejA6g.js +2 -0
  35. package/dist/command-2gUejA6g.js.map +1 -0
  36. package/dist/data-display/{country.d.mts → country.d.ts} +2 -2
  37. package/dist/data-display/country.js +2 -0
  38. package/dist/data-display/country.js.map +1 -0
  39. package/dist/data-display/{data-list.d.mts → data-list.d.ts} +1 -1
  40. package/dist/data-display/{data-list.mjs → data-list.js} +1 -1
  41. package/dist/data-display/data-list.js.map +1 -0
  42. package/dist/data-display/{date-tooltip.d.mts → date-tooltip.d.ts} +1 -1
  43. package/dist/data-display/date-tooltip.js +2 -0
  44. package/dist/data-display/date-tooltip.js.map +1 -0
  45. package/dist/data-display/{date.d.mts → date.d.ts} +1 -1
  46. package/dist/data-display/date.js +1 -0
  47. package/dist/data-display/{empty.d.mts → empty.d.ts} +1 -1
  48. package/dist/data-display/{empty.mjs → empty.js} +1 -1
  49. package/dist/data-display/empty.js.map +1 -0
  50. package/dist/data-display/{name.d.mts → name.d.ts} +1 -1
  51. package/dist/data-display/name.js +2 -0
  52. package/dist/data-display/name.js.map +1 -0
  53. package/dist/data-display/{phone-number.d.mts → phone-number.d.ts} +1 -1
  54. package/dist/data-display/phone-number.js +2 -0
  55. package/dist/data-display/phone-number.js.map +1 -0
  56. package/dist/data-display/{role-badge.d.mts → role-badge.d.ts} +2 -2
  57. package/dist/data-display/role-badge.js +2 -0
  58. package/dist/data-display/role-badge.js.map +1 -0
  59. package/dist/data-display/statistic.d.cts +3 -3
  60. package/dist/data-display/{statistic.d.mts → statistic.d.ts} +1 -1
  61. package/dist/data-display/statistic.js +1 -0
  62. package/dist/data-display/{user.d.mts → user.d.ts} +1 -1
  63. package/dist/data-display/user.js +1 -0
  64. package/dist/{date-fY3sUcLp.mjs → date-BIqCFM1Z.js} +1 -1
  65. package/dist/date-BIqCFM1Z.js.map +1 -0
  66. package/dist/{dialog-CsltUGHB.d.mts → dialog-C48T3MZN.d.cts} +12 -12
  67. package/dist/{dialog-C44AIKLb.d.cts → dialog-CQygxUtj.d.ts} +12 -12
  68. package/dist/dialog-CmutQ3rp.js +2 -0
  69. package/dist/dialog-CmutQ3rp.js.map +1 -0
  70. package/dist/dialogs/{confirm-dialog.d.mts → confirm-dialog.d.ts} +1 -1
  71. package/dist/dialogs/confirm-dialog.js +2 -0
  72. package/dist/dialogs/confirm-dialog.js.map +1 -0
  73. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
  74. package/dist/dialogs/detail-dialog/components/{sidebar.d.mts → sidebar.d.ts} +29 -29
  75. package/dist/dialogs/detail-dialog/components/sidebar.js +1 -0
  76. package/dist/dialogs/detail-dialog/{index.d.mts → index.d.ts} +1 -1
  77. package/dist/dialogs/detail-dialog/index.js +2 -0
  78. package/dist/dialogs/detail-dialog/index.js.map +1 -0
  79. package/dist/dialogs/{error-dialog.d.mts → error-dialog.d.ts} +1 -1
  80. package/dist/dialogs/error-dialog.js +2 -0
  81. package/dist/dialogs/error-dialog.js.map +1 -0
  82. package/dist/dialogs/{loading-dialog.d.mts → loading-dialog.d.ts} +1 -1
  83. package/dist/dialogs/loading-dialog.js +2 -0
  84. package/dist/dialogs/loading-dialog.js.map +1 -0
  85. package/dist/{dist-DVrfqn8H.mjs → dist-EPxjIRJp.js} +1 -1
  86. package/dist/dist-EPxjIRJp.js.map +1 -0
  87. package/dist/{drawer-CMD7JWH8.mjs → drawer-B3qXaN5p.js} +1 -1
  88. package/dist/drawer-B3qXaN5p.js.map +1 -0
  89. package/dist/{dropdown-menu-BWhiVsEf.mjs → dropdown-menu-DeHCVyby.js} +1 -1
  90. package/dist/dropdown-menu-DeHCVyby.js.map +1 -0
  91. package/dist/features/descriptions/index.d.cts +6 -6
  92. package/dist/features/descriptions/{index.d.mts → index.d.ts} +7 -7
  93. package/dist/features/descriptions/index.js +2 -0
  94. package/dist/features/descriptions/index.js.map +1 -0
  95. package/dist/features/search-modal/index.d.cts +2 -2
  96. package/dist/features/search-modal/{index.d.mts → index.d.ts} +3 -3
  97. package/dist/features/search-modal/index.js +1 -0
  98. package/dist/features/tables/index.d.cts +1 -1
  99. package/dist/features/tables/{index.d.mts → index.d.ts} +2 -2
  100. package/dist/features/tables/index.js +1 -0
  101. package/dist/features/tanstack-form/index.d.cts +1 -1
  102. package/dist/features/tanstack-form/{index.d.mts → index.d.ts} +1 -1
  103. package/dist/features/tanstack-form/index.js +1 -0
  104. package/dist/features/text-editor/index.d.cts +1 -1
  105. package/dist/features/text-editor/{index.d.mts → index.d.ts} +1 -1
  106. package/dist/features/text-editor/index.js +1 -0
  107. package/dist/field-DpoKF1nY.js +2 -0
  108. package/dist/field-DpoKF1nY.js.map +1 -0
  109. package/dist/{flex-B6YSJzGe.mjs → flex-CinRrgEy.js} +1 -1
  110. package/dist/flex-CinRrgEy.js.map +1 -0
  111. package/dist/{heading-De4Pn3mZ.mjs → heading-Bz-hSatD.js} +1 -1
  112. package/dist/heading-Bz-hSatD.js.map +1 -0
  113. package/dist/image-BpTuF_1w.js +2 -0
  114. package/dist/image-BpTuF_1w.js.map +1 -0
  115. package/dist/{index-DrmdHOJL.d.mts → index-Bc9X8pLk.d.cts} +6 -6
  116. package/dist/{index-Cm62M0Ft.d.mts → index-BlQGXGqt.d.ts} +1 -1
  117. package/dist/{index-Bpsn3Z_G.d.cts → index-C1O2C-cg.d.ts} +6 -6
  118. package/dist/{index-Cuhf_ZXn.d.cts → index-CgH0tiiC.d.cts} +30 -30
  119. package/dist/{index-ks5jfaQb.d.mts → index-D5u9CKyd.d.cts} +305 -305
  120. package/dist/{index-DgHXQffp.d.mts → index-DFUF27Yy.d.ts} +31 -31
  121. package/dist/{index-D8d60P7q.d.cts → index-Ilj04YNO.d.ts} +305 -305
  122. package/dist/index.d.cts +8 -8
  123. package/dist/{index.d.mts → index.d.ts} +92 -92
  124. package/dist/index.js +1 -0
  125. package/dist/{input-hFHi7RiN.d.mts → input-B_gst0eJ.d.cts} +6 -6
  126. package/dist/{input-ff6sQNN4.d.cts → input-BkHdaXGY.d.ts} +6 -6
  127. package/dist/{input-NJP2wQOm.mjs → input-DAfP6LZ7.js} +1 -1
  128. package/dist/input-DAfP6LZ7.js.map +1 -0
  129. package/dist/{label-CUCpwS5D.mjs → label-B8cAG2kc.js} +1 -1
  130. package/dist/label-B8cAG2kc.js.map +1 -0
  131. package/dist/layouts/cms-layout/index.d.ts +2 -0
  132. package/dist/layouts/cms-layout/index.js +1 -0
  133. package/dist/layouts/flex.d.cts +3 -3
  134. package/dist/layouts/{flex.d.mts → flex.d.ts} +6 -6
  135. package/dist/layouts/flex.js +1 -0
  136. package/dist/layouts/{grid.d.mts → grid.d.ts} +1 -1
  137. package/dist/layouts/{grid.mjs → grid.js} +1 -1
  138. package/dist/layouts/grid.js.map +1 -0
  139. package/dist/layouts/payment-layout/{index.d.mts → index.d.ts} +1 -1
  140. package/dist/layouts/payment-layout/index.js +1 -0
  141. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  142. package/dist/pages/{FeatureDeveloping.d.mts → FeatureDeveloping.d.ts} +3 -3
  143. package/dist/pages/FeatureDeveloping.js +2 -0
  144. package/dist/pages/FeatureDeveloping.js.map +1 -0
  145. package/dist/pages/FeatureFixing.d.cts +2 -2
  146. package/dist/pages/{FeatureFixing.d.mts → FeatureFixing.d.ts} +3 -3
  147. package/dist/pages/FeatureFixing.js +2 -0
  148. package/dist/pages/FeatureFixing.js.map +1 -0
  149. package/dist/pages/LoginPage.d.cts +2 -2
  150. package/dist/pages/{LoginPage.d.mts → LoginPage.d.ts} +3 -3
  151. package/dist/pages/LoginPage.js +2 -0
  152. package/dist/pages/LoginPage.js.map +1 -0
  153. package/dist/pages/NotAuthorized.d.cts +2 -2
  154. package/dist/pages/{NotAuthorized.d.mts → NotAuthorized.d.ts} +3 -3
  155. package/dist/pages/NotAuthorized.js +2 -0
  156. package/dist/pages/NotAuthorized.js.map +1 -0
  157. package/dist/pages/NotFound.d.cts +2 -2
  158. package/dist/pages/{NotFound.d.mts → NotFound.d.ts} +3 -3
  159. package/dist/pages/NotFound.js +2 -0
  160. package/dist/pages/NotFound.js.map +1 -0
  161. package/dist/pages/RegisterPage.d.cts +2 -2
  162. package/dist/pages/{RegisterPage.d.mts → RegisterPage.d.ts} +3 -3
  163. package/dist/pages/RegisterPage.js +2 -0
  164. package/dist/pages/RegisterPage.js.map +1 -0
  165. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  166. package/dist/pages/{VerifyEmailPage.d.mts → VerifyEmailPage.d.ts} +3 -3
  167. package/dist/pages/VerifyEmailPage.js +2 -0
  168. package/dist/pages/VerifyEmailPage.js.map +1 -0
  169. package/dist/{paragraph-DYLaQtTV.mjs → paragraph-Cc13ZI4d.js} +1 -1
  170. package/dist/paragraph-Cc13ZI4d.js.map +1 -0
  171. package/dist/payment-layout-giaGvs8T.js +2 -0
  172. package/dist/payment-layout-giaGvs8T.js.map +1 -0
  173. package/dist/popover-6233wU1s.js +2 -0
  174. package/dist/popover-6233wU1s.js.map +1 -0
  175. package/dist/{progress-CLeM0e7Z.mjs → progress-AYknlEgK.js} +1 -1
  176. package/dist/progress-AYknlEgK.js.map +1 -0
  177. package/dist/{radio-group-Y9bhdr55.mjs → radio-group-ImoBjpqZ.js} +1 -1
  178. package/dist/radio-group-ImoBjpqZ.js.map +1 -0
  179. package/dist/{resizable-CpCaSCFB.mjs → resizable-C-M-mu6b.js} +1 -1
  180. package/dist/resizable-C-M-mu6b.js.map +1 -0
  181. package/dist/search-modal-b2AE5WEW.js +2 -0
  182. package/dist/search-modal-b2AE5WEW.js.map +1 -0
  183. package/dist/{select-LlPCZFSF.mjs → select-CryLzZA0.js} +1 -1
  184. package/dist/select-CryLzZA0.js.map +1 -0
  185. package/dist/{separator-D3Gmkxzq.mjs → separator-BM8hA4DP.js} +1 -1
  186. package/dist/separator-BM8hA4DP.js.map +1 -0
  187. package/dist/{sheet-BFlIfNaA.mjs → sheet-DGXXYgWB.js} +1 -1
  188. package/dist/sheet-DGXXYgWB.js.map +1 -0
  189. package/dist/sidebar-BDrsbzo5.js +2 -0
  190. package/dist/sidebar-BDrsbzo5.js.map +1 -0
  191. package/dist/{skeleton-C51IdOfK.mjs → skeleton-DlRDNM97.js} +1 -1
  192. package/dist/skeleton-DlRDNM97.js.map +1 -0
  193. package/dist/{spinner-eClTgHjk.mjs → spinner-C1eamx3w.js} +1 -1
  194. package/dist/spinner-C1eamx3w.js.map +1 -0
  195. package/dist/{statistic-cwLwcukn.mjs → statistic-CYMqAYNc.js} +1 -1
  196. package/dist/statistic-CYMqAYNc.js.map +1 -0
  197. package/dist/{switch-BP7EPatj.mjs → switch-BLHmdRq2.js} +1 -1
  198. package/dist/switch-BLHmdRq2.js.map +1 -0
  199. package/dist/systems/{google.d.mts → google.d.ts} +1 -1
  200. package/dist/systems/{google.mjs → google.js} +1 -1
  201. package/dist/systems/google.js.map +1 -0
  202. package/dist/tables-DWQytYNm.js +4 -0
  203. package/dist/tables-DWQytYNm.js.map +1 -0
  204. package/dist/tanstack-form-CCDV-3Ml.js +12 -0
  205. package/dist/tanstack-form-CCDV-3Ml.js.map +1 -0
  206. package/dist/text-editor-WbS7pJJs.js +2 -0
  207. package/dist/text-editor-WbS7pJJs.js.map +1 -0
  208. package/dist/{textarea-7HDXcaK9.mjs → textarea-Bp6VvhiA.js} +1 -1
  209. package/dist/textarea-Bp6VvhiA.js.map +1 -0
  210. package/dist/{tooltip-Dxl5Wa8i.mjs → tooltip-CVIl6Hln.js} +1 -1
  211. package/dist/tooltip-CVIl6Hln.js.map +1 -0
  212. package/dist/{types-YLu40dXY.d.mts → types-BVSfF-1o.d.ts} +1 -1
  213. package/dist/{types-B5nyTWtO.mjs → types-BZqffRVJ.js} +1 -1
  214. package/dist/types-BZqffRVJ.js.map +1 -0
  215. package/dist/typography/paragraph.d.cts +5 -5
  216. package/dist/typography/{paragraph.d.mts → paragraph.d.ts} +6 -6
  217. package/dist/typography/paragraph.js +1 -0
  218. package/dist/typography/{title.d.mts → title.d.ts} +1 -1
  219. package/dist/typography/{title.mjs → title.js} +1 -1
  220. package/dist/typography/title.js.map +1 -0
  221. package/dist/ui/alert-dialog.d.cts +12 -12
  222. package/dist/ui/{alert-dialog.d.mts → alert-dialog.d.ts} +13 -13
  223. package/dist/ui/alert-dialog.js +2 -0
  224. package/dist/ui/alert-dialog.js.map +1 -0
  225. package/dist/ui/alert.d.cts +1 -1
  226. package/dist/ui/{alert.d.mts → alert.d.ts} +1 -1
  227. package/dist/ui/alert.js +1 -0
  228. package/dist/ui/aspect-ratio.d.cts +2 -2
  229. package/dist/ui/{aspect-ratio.d.mts → aspect-ratio.d.ts} +3 -3
  230. package/dist/ui/{aspect-ratio.mjs → aspect-ratio.js} +1 -1
  231. package/dist/ui/aspect-ratio.js.map +1 -0
  232. package/dist/ui/avatar.d.cts +4 -4
  233. package/dist/ui/{avatar.d.mts → avatar.d.ts} +5 -5
  234. package/dist/ui/avatar.js +1 -0
  235. package/dist/ui/badge.d.cts +1 -1
  236. package/dist/ui/badge.d.ts +2 -0
  237. package/dist/ui/badge.js +1 -0
  238. package/dist/ui/breadcrumb.d.cts +8 -8
  239. package/dist/ui/{breadcrumb.d.mts → breadcrumb.d.ts} +9 -9
  240. package/dist/ui/breadcrumb.js +2 -0
  241. package/dist/ui/breadcrumb.js.map +1 -0
  242. package/dist/ui/button-group.d.cts +6 -6
  243. package/dist/ui/{button-group.d.mts → button-group.d.ts} +6 -6
  244. package/dist/ui/button-group.js +2 -0
  245. package/dist/ui/button-group.js.map +1 -0
  246. package/dist/ui/button.d.cts +1 -1
  247. package/dist/ui/button.d.ts +2 -0
  248. package/dist/ui/button.js +1 -0
  249. package/dist/ui/buttons/{add-new.d.mts → add-new.d.ts} +1 -1
  250. package/dist/ui/buttons/add-new.js +2 -0
  251. package/dist/ui/buttons/add-new.js.map +1 -0
  252. package/dist/ui/buttons/{edit.d.mts → edit.d.ts} +1 -1
  253. package/dist/ui/buttons/edit.js +2 -0
  254. package/dist/ui/buttons/edit.js.map +1 -0
  255. package/dist/ui/buttons/{refresh.d.mts → refresh.d.ts} +1 -1
  256. package/dist/ui/buttons/refresh.js +2 -0
  257. package/dist/ui/buttons/refresh.js.map +1 -0
  258. package/dist/ui/buttons/{trash.d.mts → trash.d.ts} +1 -1
  259. package/dist/ui/buttons/trash.js +2 -0
  260. package/dist/ui/buttons/trash.js.map +1 -0
  261. package/dist/ui/buttons/{upload-image.d.mts → upload-image.d.ts} +1 -1
  262. package/dist/ui/buttons/upload-image.js +2 -0
  263. package/dist/ui/buttons/upload-image.js.map +1 -0
  264. package/dist/ui/calendar.d.cts +4 -4
  265. package/dist/ui/{calendar.d.mts → calendar.d.ts} +5 -5
  266. package/dist/ui/calendar.js +1 -0
  267. package/dist/ui/card.d.cts +8 -8
  268. package/dist/ui/{card.d.mts → card.d.ts} +9 -9
  269. package/dist/ui/card.js +2 -0
  270. package/dist/ui/card.js.map +1 -0
  271. package/dist/ui/carousel.d.cts +7 -7
  272. package/dist/ui/{carousel.d.mts → carousel.d.ts} +8 -8
  273. package/dist/ui/carousel.js +2 -0
  274. package/dist/ui/carousel.js.map +1 -0
  275. package/dist/ui/checkbox.d.cts +2 -2
  276. package/dist/ui/{checkbox.d.mts → checkbox.d.ts} +3 -3
  277. package/dist/ui/checkbox.js +1 -0
  278. package/dist/ui/collapsible.d.cts +4 -4
  279. package/dist/ui/{collapsible.d.mts → collapsible.d.ts} +5 -5
  280. package/dist/ui/{collapsible.mjs → collapsible.js} +1 -1
  281. package/dist/ui/collapsible.js.map +1 -0
  282. package/dist/ui/command.d.cts +11 -11
  283. package/dist/ui/{command.d.mts → command.d.ts} +12 -12
  284. package/dist/ui/command.js +1 -0
  285. package/dist/ui/context-menu.d.cts +16 -16
  286. package/dist/ui/{context-menu.d.mts → context-menu.d.ts} +17 -17
  287. package/dist/ui/{context-menu.mjs → context-menu.js} +1 -1
  288. package/dist/ui/context-menu.js.map +1 -0
  289. package/dist/ui/dialog.d.cts +1 -1
  290. package/dist/ui/{dialog.d.mts → dialog.d.ts} +1 -1
  291. package/dist/ui/dialog.js +1 -0
  292. package/dist/ui/drawer.d.cts +11 -11
  293. package/dist/ui/{drawer.d.mts → drawer.d.ts} +12 -12
  294. package/dist/ui/drawer.js +1 -0
  295. package/dist/ui/dropdown-menu.d.cts +16 -16
  296. package/dist/ui/{dropdown-menu.d.mts → dropdown-menu.d.ts} +17 -17
  297. package/dist/ui/dropdown-menu.js +1 -0
  298. package/dist/ui/empty.d.cts +9 -9
  299. package/dist/ui/{empty.d.mts → empty.d.ts} +10 -10
  300. package/dist/ui/{empty.mjs → empty.js} +1 -1
  301. package/dist/ui/empty.js.map +1 -0
  302. package/dist/ui/field.d.cts +23 -23
  303. package/dist/ui/field.d.ts +65 -0
  304. package/dist/ui/field.js +1 -0
  305. package/dist/ui/file-uploader.d.cts +2 -2
  306. package/dist/ui/{file-uploader.d.mts → file-uploader.d.ts} +3 -3
  307. package/dist/ui/file-uploader.js +3 -0
  308. package/dist/ui/file-uploader.js.map +1 -0
  309. package/dist/ui/form.d.cts +10 -10
  310. package/dist/ui/{form.d.mts → form.d.ts} +11 -11
  311. package/dist/ui/form.js +2 -0
  312. package/dist/ui/form.js.map +1 -0
  313. package/dist/ui/hover-card.d.cts +4 -4
  314. package/dist/ui/{hover-card.d.mts → hover-card.d.ts} +5 -5
  315. package/dist/ui/{hover-card.mjs → hover-card.js} +1 -1
  316. package/dist/ui/hover-card.js.map +1 -0
  317. package/dist/ui/{image.d.mts → image.d.ts} +1 -1
  318. package/dist/ui/image.js +1 -0
  319. package/dist/ui/input-otp.d.cts +5 -5
  320. package/dist/ui/{input-otp.d.mts → input-otp.d.ts} +6 -6
  321. package/dist/ui/{input-otp.mjs → input-otp.js} +1 -1
  322. package/dist/ui/input-otp.js.map +1 -0
  323. package/dist/ui/input.d.cts +1 -1
  324. package/dist/ui/input.d.ts +2 -0
  325. package/dist/ui/input.js +1 -0
  326. package/dist/ui/inputs/search-input.d.cts +3 -3
  327. package/dist/ui/inputs/{search-input.d.mts → search-input.d.ts} +4 -4
  328. package/dist/ui/inputs/search-input.js +2 -0
  329. package/dist/ui/inputs/search-input.js.map +1 -0
  330. package/dist/ui/item.d.cts +14 -14
  331. package/dist/ui/{item.d.mts → item.d.ts} +13 -13
  332. package/dist/ui/item.js +2 -0
  333. package/dist/ui/item.js.map +1 -0
  334. package/dist/ui/label.d.cts +2 -2
  335. package/dist/ui/{label.d.mts → label.d.ts} +3 -3
  336. package/dist/ui/label.js +1 -0
  337. package/dist/ui/menubar.d.cts +17 -17
  338. package/dist/ui/{menubar.d.mts → menubar.d.ts} +18 -18
  339. package/dist/ui/{menubar.mjs → menubar.js} +1 -1
  340. package/dist/ui/menubar.js.map +1 -0
  341. package/dist/ui/multi-select.d.cts +2 -2
  342. package/dist/ui/{multi-select.d.mts → multi-select.d.ts} +5 -5
  343. package/dist/ui/multi-select.js +2 -0
  344. package/dist/ui/multi-select.js.map +1 -0
  345. package/dist/ui/navigation-menu.d.cts +9 -9
  346. package/dist/ui/{navigation-menu.d.mts → navigation-menu.d.ts} +12 -12
  347. package/dist/ui/{navigation-menu.mjs → navigation-menu.js} +1 -1
  348. package/dist/ui/navigation-menu.js.map +1 -0
  349. package/dist/ui/pagination.d.cts +9 -9
  350. package/dist/ui/{pagination.d.mts → pagination.d.ts} +10 -10
  351. package/dist/ui/pagination.js +2 -0
  352. package/dist/ui/pagination.js.map +1 -0
  353. package/dist/ui/popover.d.cts +6 -6
  354. package/dist/ui/{popover.d.mts → popover.d.ts} +7 -7
  355. package/dist/ui/popover.js +1 -0
  356. package/dist/ui/progress.d.cts +2 -2
  357. package/dist/ui/{progress.d.mts → progress.d.ts} +3 -3
  358. package/dist/ui/progress.js +1 -0
  359. package/dist/ui/radio-group.d.cts +3 -3
  360. package/dist/ui/{radio-group.d.mts → radio-group.d.ts} +4 -4
  361. package/dist/ui/radio-group.js +1 -0
  362. package/dist/ui/resizable.d.cts +9 -9
  363. package/dist/ui/{resizable.d.mts → resizable.d.ts} +10 -10
  364. package/dist/ui/resizable.js +1 -0
  365. package/dist/ui/scroll-area.d.cts +5 -5
  366. package/dist/ui/{scroll-area.d.mts → scroll-area.d.ts} +6 -6
  367. package/dist/ui/{scroll-area.mjs → scroll-area.js} +1 -1
  368. package/dist/ui/scroll-area.js.map +1 -0
  369. package/dist/ui/select.d.cts +9 -9
  370. package/dist/ui/{select.d.mts → select.d.ts} +10 -10
  371. package/dist/ui/select.js +1 -0
  372. package/dist/ui/separator.d.cts +2 -2
  373. package/dist/ui/{separator.d.mts → separator.d.ts} +3 -3
  374. package/dist/ui/separator.js +1 -0
  375. package/dist/ui/sheet.d.cts +9 -9
  376. package/dist/ui/{sheet.d.mts → sheet.d.ts} +10 -10
  377. package/dist/ui/sheet.js +1 -0
  378. package/dist/ui/skeleton.d.cts +2 -2
  379. package/dist/ui/{skeleton.d.mts → skeleton.d.ts} +3 -3
  380. package/dist/ui/skeleton.js +1 -0
  381. package/dist/ui/slider.d.cts +2 -2
  382. package/dist/ui/{slider.d.mts → slider.d.ts} +3 -3
  383. package/dist/ui/{slider.mjs → slider.js} +1 -1
  384. package/dist/ui/slider.js.map +1 -0
  385. package/dist/ui/sonner.d.cts +2 -2
  386. package/dist/ui/{sonner.d.mts → sonner.d.ts} +3 -3
  387. package/dist/ui/{sonner.mjs → sonner.js} +1 -1
  388. package/dist/ui/sonner.js.map +1 -0
  389. package/dist/ui/spinner.d.cts +2 -2
  390. package/dist/ui/{spinner.d.mts → spinner.d.ts} +3 -3
  391. package/dist/ui/spinner.js +1 -0
  392. package/dist/ui/switch.d.cts +2 -2
  393. package/dist/ui/{switch.d.mts → switch.d.ts} +3 -3
  394. package/dist/ui/switch.js +1 -0
  395. package/dist/ui/table.d.cts +17 -17
  396. package/dist/ui/{table.d.mts → table.d.ts} +18 -18
  397. package/dist/ui/{table.mjs → table.js} +1 -1
  398. package/dist/ui/table.js.map +1 -0
  399. package/dist/ui/tabs.d.cts +5 -5
  400. package/dist/ui/{tabs.d.mts → tabs.d.ts} +6 -6
  401. package/dist/ui/{tabs.mjs → tabs.js} +1 -1
  402. package/dist/ui/tabs.js.map +1 -0
  403. package/dist/ui/textarea.d.cts +2 -2
  404. package/dist/ui/{textarea.d.mts → textarea.d.ts} +3 -3
  405. package/dist/ui/textarea.js +1 -0
  406. package/dist/ui/toggle-group.d.cts +3 -3
  407. package/dist/ui/{toggle-group.d.mts → toggle-group.d.ts} +5 -5
  408. package/dist/ui/toggle-group.js +2 -0
  409. package/dist/ui/toggle-group.js.map +1 -0
  410. package/dist/ui/toggle.d.cts +4 -4
  411. package/dist/ui/{toggle.d.mts → toggle.d.ts} +5 -5
  412. package/dist/ui/{toggle.mjs → toggle.js} +1 -1
  413. package/dist/ui/toggle.js.map +1 -0
  414. package/dist/ui/tooltip.d.cts +5 -5
  415. package/dist/ui/{tooltip.d.mts → tooltip.d.ts} +6 -6
  416. package/dist/ui/tooltip.js +1 -0
  417. package/dist/user-BSpgswEC.js +2 -0
  418. package/dist/user-BSpgswEC.js.map +1 -0
  419. package/package.json +97 -97
  420. package/dist/alert-BbvPwf2x.mjs.map +0 -1
  421. package/dist/avatar-fltdRVsJ.mjs.map +0 -1
  422. package/dist/badge-CDGBGq8X.mjs.map +0 -1
  423. package/dist/button-CCVJTHBI.mjs +0 -2
  424. package/dist/button-CCVJTHBI.mjs.map +0 -1
  425. package/dist/button.variants-DkMqWB8G.mjs.map +0 -1
  426. package/dist/calendar-R866yyd1.mjs +0 -2
  427. package/dist/calendar-R866yyd1.mjs.map +0 -1
  428. package/dist/cards/grid-product-card.mjs +0 -2
  429. package/dist/cards/grid-product-card.mjs.map +0 -1
  430. package/dist/cards/product-card.mjs +0 -2
  431. package/dist/cards/product-card.mjs.map +0 -1
  432. package/dist/cards/simple-card.mjs +0 -2
  433. package/dist/cards/simple-card.mjs.map +0 -1
  434. package/dist/checkbox-Cat3i08X.mjs.map +0 -1
  435. package/dist/close-_UHFeiLS.mjs.map +0 -1
  436. package/dist/cms-layout-DkCR1AfG.mjs +0 -2
  437. package/dist/cms-layout-DkCR1AfG.mjs.map +0 -1
  438. package/dist/command-D6_CSbwJ.mjs +0 -2
  439. package/dist/command-D6_CSbwJ.mjs.map +0 -1
  440. package/dist/data-display/country.mjs +0 -2
  441. package/dist/data-display/country.mjs.map +0 -1
  442. package/dist/data-display/data-list.mjs.map +0 -1
  443. package/dist/data-display/date-tooltip.mjs +0 -2
  444. package/dist/data-display/date-tooltip.mjs.map +0 -1
  445. package/dist/data-display/date.mjs +0 -1
  446. package/dist/data-display/empty.mjs.map +0 -1
  447. package/dist/data-display/name.mjs +0 -2
  448. package/dist/data-display/name.mjs.map +0 -1
  449. package/dist/data-display/phone-number.mjs +0 -2
  450. package/dist/data-display/phone-number.mjs.map +0 -1
  451. package/dist/data-display/role-badge.mjs +0 -2
  452. package/dist/data-display/role-badge.mjs.map +0 -1
  453. package/dist/data-display/statistic.mjs +0 -1
  454. package/dist/data-display/user.mjs +0 -1
  455. package/dist/date-fY3sUcLp.mjs.map +0 -1
  456. package/dist/dialog-CLDnvNH_.mjs +0 -2
  457. package/dist/dialog-CLDnvNH_.mjs.map +0 -1
  458. package/dist/dialogs/confirm-dialog.mjs +0 -2
  459. package/dist/dialogs/confirm-dialog.mjs.map +0 -1
  460. package/dist/dialogs/detail-dialog/components/sidebar.mjs +0 -1
  461. package/dist/dialogs/detail-dialog/index.mjs +0 -2
  462. package/dist/dialogs/detail-dialog/index.mjs.map +0 -1
  463. package/dist/dialogs/error-dialog.mjs +0 -2
  464. package/dist/dialogs/error-dialog.mjs.map +0 -1
  465. package/dist/dialogs/loading-dialog.mjs +0 -2
  466. package/dist/dialogs/loading-dialog.mjs.map +0 -1
  467. package/dist/dist-DVrfqn8H.mjs.map +0 -1
  468. package/dist/drawer-CMD7JWH8.mjs.map +0 -1
  469. package/dist/dropdown-menu-BWhiVsEf.mjs.map +0 -1
  470. package/dist/features/descriptions/index.mjs +0 -2
  471. package/dist/features/descriptions/index.mjs.map +0 -1
  472. package/dist/features/search-modal/index.mjs +0 -1
  473. package/dist/features/tables/index.mjs +0 -1
  474. package/dist/features/tanstack-form/index.mjs +0 -1
  475. package/dist/features/text-editor/index.mjs +0 -1
  476. package/dist/field-dYemS0hQ.mjs +0 -2
  477. package/dist/field-dYemS0hQ.mjs.map +0 -1
  478. package/dist/flex-B6YSJzGe.mjs.map +0 -1
  479. package/dist/heading-De4Pn3mZ.mjs.map +0 -1
  480. package/dist/image-D7OZ13Ib.mjs +0 -2
  481. package/dist/image-D7OZ13Ib.mjs.map +0 -1
  482. package/dist/index.mjs +0 -1
  483. package/dist/input-NJP2wQOm.mjs.map +0 -1
  484. package/dist/label-CUCpwS5D.mjs.map +0 -1
  485. package/dist/layouts/cms-layout/index.d.mts +0 -2
  486. package/dist/layouts/cms-layout/index.mjs +0 -1
  487. package/dist/layouts/flex.mjs +0 -1
  488. package/dist/layouts/grid.mjs.map +0 -1
  489. package/dist/layouts/payment-layout/index.mjs +0 -1
  490. package/dist/pages/FeatureDeveloping.mjs +0 -2
  491. package/dist/pages/FeatureDeveloping.mjs.map +0 -1
  492. package/dist/pages/FeatureFixing.mjs +0 -2
  493. package/dist/pages/FeatureFixing.mjs.map +0 -1
  494. package/dist/pages/LoginPage.mjs +0 -2
  495. package/dist/pages/LoginPage.mjs.map +0 -1
  496. package/dist/pages/NotAuthorized.mjs +0 -2
  497. package/dist/pages/NotAuthorized.mjs.map +0 -1
  498. package/dist/pages/NotFound.mjs +0 -2
  499. package/dist/pages/NotFound.mjs.map +0 -1
  500. package/dist/pages/RegisterPage.mjs +0 -2
  501. package/dist/pages/RegisterPage.mjs.map +0 -1
  502. package/dist/pages/VerifyEmailPage.mjs +0 -2
  503. package/dist/pages/VerifyEmailPage.mjs.map +0 -1
  504. package/dist/paragraph-DYLaQtTV.mjs.map +0 -1
  505. package/dist/payment-layout-DrQ0kZPX.mjs +0 -2
  506. package/dist/payment-layout-DrQ0kZPX.mjs.map +0 -1
  507. package/dist/popover-C8rcemA3.mjs +0 -2
  508. package/dist/popover-C8rcemA3.mjs.map +0 -1
  509. package/dist/progress-CLeM0e7Z.mjs.map +0 -1
  510. package/dist/radio-group-Y9bhdr55.mjs.map +0 -1
  511. package/dist/resizable-CpCaSCFB.mjs.map +0 -1
  512. package/dist/search-modal-Bn-GOOCy.mjs +0 -2
  513. package/dist/search-modal-Bn-GOOCy.mjs.map +0 -1
  514. package/dist/select-LlPCZFSF.mjs.map +0 -1
  515. package/dist/separator-D3Gmkxzq.mjs.map +0 -1
  516. package/dist/sheet-BFlIfNaA.mjs.map +0 -1
  517. package/dist/sidebar-ChtCyu-n.mjs +0 -2
  518. package/dist/sidebar-ChtCyu-n.mjs.map +0 -1
  519. package/dist/skeleton-C51IdOfK.mjs.map +0 -1
  520. package/dist/spinner-eClTgHjk.mjs.map +0 -1
  521. package/dist/statistic-cwLwcukn.mjs.map +0 -1
  522. package/dist/switch-BP7EPatj.mjs.map +0 -1
  523. package/dist/systems/google.mjs.map +0 -1
  524. package/dist/tables-CFrsk2lM.mjs +0 -4
  525. package/dist/tables-CFrsk2lM.mjs.map +0 -1
  526. package/dist/tanstack-form-C_pyibTQ.mjs +0 -12
  527. package/dist/tanstack-form-C_pyibTQ.mjs.map +0 -1
  528. package/dist/text-editor-5mA7XyaI.mjs +0 -2
  529. package/dist/text-editor-5mA7XyaI.mjs.map +0 -1
  530. package/dist/textarea-7HDXcaK9.mjs.map +0 -1
  531. package/dist/tooltip-Dxl5Wa8i.mjs.map +0 -1
  532. package/dist/types-B5nyTWtO.mjs.map +0 -1
  533. package/dist/typography/paragraph.mjs +0 -1
  534. package/dist/typography/title.mjs.map +0 -1
  535. package/dist/ui/alert-dialog.mjs +0 -2
  536. package/dist/ui/alert-dialog.mjs.map +0 -1
  537. package/dist/ui/alert.mjs +0 -1
  538. package/dist/ui/aspect-ratio.mjs.map +0 -1
  539. package/dist/ui/avatar.mjs +0 -1
  540. package/dist/ui/badge.d.mts +0 -2
  541. package/dist/ui/badge.mjs +0 -1
  542. package/dist/ui/breadcrumb.mjs +0 -2
  543. package/dist/ui/breadcrumb.mjs.map +0 -1
  544. package/dist/ui/button-group.mjs +0 -2
  545. package/dist/ui/button-group.mjs.map +0 -1
  546. package/dist/ui/button.d.mts +0 -2
  547. package/dist/ui/button.mjs +0 -1
  548. package/dist/ui/buttons/add-new.mjs +0 -2
  549. package/dist/ui/buttons/add-new.mjs.map +0 -1
  550. package/dist/ui/buttons/edit.mjs +0 -2
  551. package/dist/ui/buttons/edit.mjs.map +0 -1
  552. package/dist/ui/buttons/refresh.mjs +0 -2
  553. package/dist/ui/buttons/refresh.mjs.map +0 -1
  554. package/dist/ui/buttons/trash.mjs +0 -2
  555. package/dist/ui/buttons/trash.mjs.map +0 -1
  556. package/dist/ui/buttons/upload-image.mjs +0 -2
  557. package/dist/ui/buttons/upload-image.mjs.map +0 -1
  558. package/dist/ui/calendar.mjs +0 -1
  559. package/dist/ui/card.mjs +0 -2
  560. package/dist/ui/card.mjs.map +0 -1
  561. package/dist/ui/carousel.mjs +0 -2
  562. package/dist/ui/carousel.mjs.map +0 -1
  563. package/dist/ui/checkbox.mjs +0 -1
  564. package/dist/ui/collapsible.mjs.map +0 -1
  565. package/dist/ui/command.mjs +0 -1
  566. package/dist/ui/context-menu.mjs.map +0 -1
  567. package/dist/ui/dialog.mjs +0 -1
  568. package/dist/ui/drawer.mjs +0 -1
  569. package/dist/ui/dropdown-menu.mjs +0 -1
  570. package/dist/ui/empty.mjs.map +0 -1
  571. package/dist/ui/field.d.mts +0 -65
  572. package/dist/ui/field.mjs +0 -1
  573. package/dist/ui/file-uploader.mjs +0 -3
  574. package/dist/ui/file-uploader.mjs.map +0 -1
  575. package/dist/ui/form.mjs +0 -2
  576. package/dist/ui/form.mjs.map +0 -1
  577. package/dist/ui/hover-card.mjs.map +0 -1
  578. package/dist/ui/image.mjs +0 -1
  579. package/dist/ui/input-otp.mjs.map +0 -1
  580. package/dist/ui/input.d.mts +0 -2
  581. package/dist/ui/input.mjs +0 -1
  582. package/dist/ui/inputs/search-input.mjs +0 -2
  583. package/dist/ui/inputs/search-input.mjs.map +0 -1
  584. package/dist/ui/item.mjs +0 -2
  585. package/dist/ui/item.mjs.map +0 -1
  586. package/dist/ui/label.mjs +0 -1
  587. package/dist/ui/menubar.mjs.map +0 -1
  588. package/dist/ui/multi-select.mjs +0 -2
  589. package/dist/ui/multi-select.mjs.map +0 -1
  590. package/dist/ui/navigation-menu.mjs.map +0 -1
  591. package/dist/ui/pagination.mjs +0 -2
  592. package/dist/ui/pagination.mjs.map +0 -1
  593. package/dist/ui/popover.mjs +0 -1
  594. package/dist/ui/progress.mjs +0 -1
  595. package/dist/ui/radio-group.mjs +0 -1
  596. package/dist/ui/resizable.mjs +0 -1
  597. package/dist/ui/scroll-area.mjs.map +0 -1
  598. package/dist/ui/select.mjs +0 -1
  599. package/dist/ui/separator.mjs +0 -1
  600. package/dist/ui/sheet.mjs +0 -1
  601. package/dist/ui/skeleton.mjs +0 -1
  602. package/dist/ui/slider.mjs.map +0 -1
  603. package/dist/ui/sonner.mjs.map +0 -1
  604. package/dist/ui/spinner.mjs +0 -1
  605. package/dist/ui/switch.mjs +0 -1
  606. package/dist/ui/table.mjs.map +0 -1
  607. package/dist/ui/tabs.mjs.map +0 -1
  608. package/dist/ui/textarea.mjs +0 -1
  609. package/dist/ui/toggle-group.mjs +0 -2
  610. package/dist/ui/toggle-group.mjs.map +0 -1
  611. package/dist/ui/toggle.mjs.map +0 -1
  612. package/dist/ui/tooltip.mjs +0 -1
  613. package/dist/user-DtZy4P9d.mjs +0 -2
  614. package/dist/user-DtZy4P9d.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react118 from "react";
1
+ import * as react67 from "react";
2
2
  import { Drawer as Drawer$1 } from "vaul";
3
3
 
4
4
  //#region packages/components/ui/drawer.d.ts
@@ -23,50 +23,50 @@ import { Drawer as Drawer$1 } from "vaul";
23
23
  */
24
24
  declare function Drawer({
25
25
  ...props
26
- }: React.ComponentProps<typeof Drawer$1.Root>): react118.JSX.Element;
26
+ }: React.ComponentProps<typeof Drawer$1.Root>): react67.JSX.Element;
27
27
  /** Element that opens the Drawer when activated. */
28
28
  declare function DrawerTrigger({
29
29
  ...props
30
- }: React.ComponentProps<typeof Drawer$1.Trigger>): react118.JSX.Element;
30
+ }: React.ComponentProps<typeof Drawer$1.Trigger>): react67.JSX.Element;
31
31
  /** Portals Drawer content outside the current DOM tree. */
32
32
  declare function DrawerPortal({
33
33
  ...props
34
- }: React.ComponentProps<typeof Drawer$1.Portal>): react118.JSX.Element;
34
+ }: React.ComponentProps<typeof Drawer$1.Portal>): react67.JSX.Element;
35
35
  /** Button that programmatically closes the Drawer. */
36
36
  declare function DrawerClose({
37
37
  ...props
38
- }: React.ComponentProps<typeof Drawer$1.Close>): react118.JSX.Element;
38
+ }: React.ComponentProps<typeof Drawer$1.Close>): react67.JSX.Element;
39
39
  /** Dimmed backdrop rendered behind the Drawer panel. */
40
40
  declare function DrawerOverlay({
41
41
  className,
42
42
  ...props
43
- }: React.ComponentProps<typeof Drawer$1.Overlay>): react118.JSX.Element;
43
+ }: React.ComponentProps<typeof Drawer$1.Overlay>): react67.JSX.Element;
44
44
  /** The main Drawer panel; automatically positions itself based on the direction set on the root. */
45
45
  declare function DrawerContent({
46
46
  className,
47
47
  children,
48
48
  ...props
49
- }: React.ComponentProps<typeof Drawer$1.Content>): react118.JSX.Element;
49
+ }: React.ComponentProps<typeof Drawer$1.Content>): react67.JSX.Element;
50
50
  /** Padded header section at the top of the Drawer for the title and description. */
51
51
  declare function DrawerHeader({
52
52
  className,
53
53
  ...props
54
- }: React.ComponentProps<'div'>): react118.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react67.JSX.Element;
55
55
  /** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */
56
56
  declare function DrawerFooter({
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<'div'>): react118.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react67.JSX.Element;
60
60
  /** Accessible title element for the Drawer, announced by screen readers on open. */
61
61
  declare function DrawerTitle({
62
62
  className,
63
63
  ...props
64
- }: React.ComponentProps<typeof Drawer$1.Title>): react118.JSX.Element;
64
+ }: React.ComponentProps<typeof Drawer$1.Title>): react67.JSX.Element;
65
65
  /** Accessible description element for the Drawer, providing supplemental context to the title. */
66
66
  declare function DrawerDescription({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<typeof Drawer$1.Description>): react118.JSX.Element;
69
+ }: React.ComponentProps<typeof Drawer$1.Description>): react67.JSX.Element;
70
70
  //#endregion
71
71
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
72
- //# sourceMappingURL=drawer.d.mts.map
72
+ //# sourceMappingURL=drawer.d.ts.map
@@ -0,0 +1 @@
1
+ "use client";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../drawer-B3qXaN5p.js";export{c as Drawer,i as DrawerClose,o as DrawerContent,n as DrawerDescription,e as DrawerFooter,a as DrawerHeader,s as DrawerOverlay,t as DrawerPortal,r as DrawerTitle,l as DrawerTrigger};
@@ -1,4 +1,4 @@
1
- import * as react128 from "react";
1
+ import * as react222 from "react";
2
2
  import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dropdown-menu.d.ts
@@ -26,26 +26,26 @@ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
26
26
  */
27
27
  declare function DropdownMenu({
28
28
  ...props
29
- }: React.ComponentProps<typeof DropdownMenu$1.Root>): react128.JSX.Element;
29
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): react222.JSX.Element;
30
30
  /** Portals DropdownMenu content outside the current DOM hierarchy. */
31
31
  declare function DropdownMenuPortal({
32
32
  ...props
33
- }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react128.JSX.Element;
33
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react222.JSX.Element;
34
34
  /** Element that opens the DropdownMenu when activated. */
35
35
  declare function DropdownMenuTrigger({
36
36
  ...props
37
- }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react128.JSX.Element;
37
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react222.JSX.Element;
38
38
  /** Animated floating panel that contains the dropdown items. */
39
39
  declare function DropdownMenuContent({
40
40
  className,
41
41
  sideOffset,
42
42
  align,
43
43
  ...props
44
- }: React.ComponentProps<typeof DropdownMenu$1.Content>): react128.JSX.Element;
44
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): react222.JSX.Element;
45
45
  /** Groups related DropdownMenuItems under a shared logical section. */
46
46
  declare function DropdownMenuGroup({
47
47
  ...props
48
- }: React.ComponentProps<typeof DropdownMenu$1.Group>): react128.JSX.Element;
48
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): react222.JSX.Element;
49
49
  /**
50
50
  * A single clickable row inside a DropdownMenuContent.
51
51
  *
@@ -60,24 +60,24 @@ declare function DropdownMenuItem({
60
60
  }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
61
61
  inset?: boolean;
62
62
  variant?: 'default' | 'destructive';
63
- }): react128.JSX.Element;
63
+ }): react222.JSX.Element;
64
64
  /** A checkable menu item that displays a checkmark when selected. */
65
65
  declare function DropdownMenuCheckboxItem({
66
66
  className,
67
67
  children,
68
68
  checked,
69
69
  ...props
70
- }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react128.JSX.Element;
70
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react222.JSX.Element;
71
71
  /** Groups DropdownMenuRadioItems so only one can be selected at a time. */
72
72
  declare function DropdownMenuRadioGroup({
73
73
  ...props
74
- }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react128.JSX.Element;
74
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react222.JSX.Element;
75
75
  /** A radio-button menu item; shows a filled circle when selected. */
76
76
  declare function DropdownMenuRadioItem({
77
77
  className,
78
78
  children,
79
79
  ...props
80
- }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react128.JSX.Element;
80
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react222.JSX.Element;
81
81
  /**
82
82
  * Non-interactive label used to describe a group of items.
83
83
  *
@@ -89,21 +89,21 @@ declare function DropdownMenuLabel({
89
89
  ...props
90
90
  }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
91
91
  inset?: boolean;
92
- }): react128.JSX.Element;
92
+ }): react222.JSX.Element;
93
93
  /** Horizontal dividing line between groups of dropdown items. */
94
94
  declare function DropdownMenuSeparator({
95
95
  className,
96
96
  ...props
97
- }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react128.JSX.Element;
97
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react222.JSX.Element;
98
98
  /** Displays a keyboard shortcut hint aligned to the right of a menu item. */
99
99
  declare function DropdownMenuShortcut({
100
100
  className,
101
101
  ...props
102
- }: React.ComponentProps<'span'>): react128.JSX.Element;
102
+ }: React.ComponentProps<'span'>): react222.JSX.Element;
103
103
  /** Root container for a nested sub-menu inside a DropdownMenu. */
104
104
  declare function DropdownMenuSub({
105
105
  ...props
106
- }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react128.JSX.Element;
106
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react222.JSX.Element;
107
107
  /**
108
108
  * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
109
109
  *
@@ -116,12 +116,12 @@ declare function DropdownMenuSubTrigger({
116
116
  ...props
117
117
  }: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
118
118
  inset?: boolean;
119
- }): react128.JSX.Element;
119
+ }): react222.JSX.Element;
120
120
  /** Floating panel that contains the items of a nested sub-menu. */
121
121
  declare function DropdownMenuSubContent({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react128.JSX.Element;
124
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react222.JSX.Element;
125
125
  //#endregion
126
126
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
127
127
  //# sourceMappingURL=dropdown-menu.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react178 from "react";
1
+ import * as react104 from "react";
2
2
  import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dropdown-menu.d.ts
@@ -26,26 +26,26 @@ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
26
26
  */
27
27
  declare function DropdownMenu({
28
28
  ...props
29
- }: React.ComponentProps<typeof DropdownMenu$1.Root>): react178.JSX.Element;
29
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): react104.JSX.Element;
30
30
  /** Portals DropdownMenu content outside the current DOM hierarchy. */
31
31
  declare function DropdownMenuPortal({
32
32
  ...props
33
- }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react178.JSX.Element;
33
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react104.JSX.Element;
34
34
  /** Element that opens the DropdownMenu when activated. */
35
35
  declare function DropdownMenuTrigger({
36
36
  ...props
37
- }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react178.JSX.Element;
37
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react104.JSX.Element;
38
38
  /** Animated floating panel that contains the dropdown items. */
39
39
  declare function DropdownMenuContent({
40
40
  className,
41
41
  sideOffset,
42
42
  align,
43
43
  ...props
44
- }: React.ComponentProps<typeof DropdownMenu$1.Content>): react178.JSX.Element;
44
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): react104.JSX.Element;
45
45
  /** Groups related DropdownMenuItems under a shared logical section. */
46
46
  declare function DropdownMenuGroup({
47
47
  ...props
48
- }: React.ComponentProps<typeof DropdownMenu$1.Group>): react178.JSX.Element;
48
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): react104.JSX.Element;
49
49
  /**
50
50
  * A single clickable row inside a DropdownMenuContent.
51
51
  *
@@ -60,24 +60,24 @@ declare function DropdownMenuItem({
60
60
  }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
61
61
  inset?: boolean;
62
62
  variant?: 'default' | 'destructive';
63
- }): react178.JSX.Element;
63
+ }): react104.JSX.Element;
64
64
  /** A checkable menu item that displays a checkmark when selected. */
65
65
  declare function DropdownMenuCheckboxItem({
66
66
  className,
67
67
  children,
68
68
  checked,
69
69
  ...props
70
- }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react178.JSX.Element;
70
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react104.JSX.Element;
71
71
  /** Groups DropdownMenuRadioItems so only one can be selected at a time. */
72
72
  declare function DropdownMenuRadioGroup({
73
73
  ...props
74
- }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react178.JSX.Element;
74
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react104.JSX.Element;
75
75
  /** A radio-button menu item; shows a filled circle when selected. */
76
76
  declare function DropdownMenuRadioItem({
77
77
  className,
78
78
  children,
79
79
  ...props
80
- }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react178.JSX.Element;
80
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react104.JSX.Element;
81
81
  /**
82
82
  * Non-interactive label used to describe a group of items.
83
83
  *
@@ -89,21 +89,21 @@ declare function DropdownMenuLabel({
89
89
  ...props
90
90
  }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
91
91
  inset?: boolean;
92
- }): react178.JSX.Element;
92
+ }): react104.JSX.Element;
93
93
  /** Horizontal dividing line between groups of dropdown items. */
94
94
  declare function DropdownMenuSeparator({
95
95
  className,
96
96
  ...props
97
- }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react178.JSX.Element;
97
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react104.JSX.Element;
98
98
  /** Displays a keyboard shortcut hint aligned to the right of a menu item. */
99
99
  declare function DropdownMenuShortcut({
100
100
  className,
101
101
  ...props
102
- }: React.ComponentProps<'span'>): react178.JSX.Element;
102
+ }: React.ComponentProps<'span'>): react104.JSX.Element;
103
103
  /** Root container for a nested sub-menu inside a DropdownMenu. */
104
104
  declare function DropdownMenuSub({
105
105
  ...props
106
- }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react178.JSX.Element;
106
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react104.JSX.Element;
107
107
  /**
108
108
  * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
109
109
  *
@@ -116,12 +116,12 @@ declare function DropdownMenuSubTrigger({
116
116
  ...props
117
117
  }: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
118
118
  inset?: boolean;
119
- }): react178.JSX.Element;
119
+ }): react104.JSX.Element;
120
120
  /** Floating panel that contains the items of a nested sub-menu. */
121
121
  declare function DropdownMenuSubContent({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react178.JSX.Element;
124
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react104.JSX.Element;
125
125
  //#endregion
126
126
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
127
- //# sourceMappingURL=dropdown-menu.d.mts.map
127
+ //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -0,0 +1 @@
1
+ "use client";import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"../dropdown-menu-DeHCVyby.js";export{p as DropdownMenu,c as DropdownMenuCheckboxItem,d as DropdownMenuContent,a as DropdownMenuGroup,e as DropdownMenuItem,l as DropdownMenuLabel,f as DropdownMenuPortal,t as DropdownMenuRadioGroup,o as DropdownMenuRadioItem,m as DropdownMenuSeparator,n as DropdownMenuShortcut,r as DropdownMenuSub,u as DropdownMenuSubContent,s as DropdownMenuSubTrigger,i as DropdownMenuTrigger};
@@ -1,5 +1,5 @@
1
- import * as react113 from "react";
2
- import * as class_variance_authority_types5 from "class-variance-authority/types";
1
+ import * as react135 from "react";
2
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region packages/components/ui/empty.d.ts
@@ -29,15 +29,15 @@ import { VariantProps } from "class-variance-authority";
29
29
  declare function Empty({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react113.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react135.JSX.Element;
33
33
  /** Centred column container for the media, title, and description of an empty state. */
34
34
  declare function EmptyHeader({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<'div'>): react113.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react135.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
40
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
41
41
  /**
42
42
  * Container for the visual element (illustration, icon, or image) in an empty state.
43
43
  *
@@ -47,22 +47,22 @@ declare function EmptyMedia({
47
47
  className,
48
48
  variant,
49
49
  ...props
50
- }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react113.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react135.JSX.Element;
51
51
  /** Prominent heading text for the empty state. */
52
52
  declare function EmptyTitle({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react113.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react135.JSX.Element;
56
56
  /** Supporting body text that explains the empty state to the user. */
57
57
  declare function EmptyDescription({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'p'>): react113.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react135.JSX.Element;
61
61
  /** Action area below the header — typically holds buttons or links to help the user proceed. */
62
62
  declare function EmptyContent({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react113.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react135.JSX.Element;
66
66
  //#endregion
67
67
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
68
68
  //# sourceMappingURL=empty.d.cts.map
@@ -1,6 +1,6 @@
1
- import * as react128 from "react";
1
+ import * as react168 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types5 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types4 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/empty.d.ts
6
6
 
@@ -29,15 +29,15 @@ import * as class_variance_authority_types5 from "class-variance-authority/types
29
29
  declare function Empty({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react128.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react168.JSX.Element;
33
33
  /** Centred column container for the media, title, and description of an empty state. */
34
34
  declare function EmptyHeader({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<'div'>): react128.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react168.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
40
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
41
41
  /**
42
42
  * Container for the visual element (illustration, icon, or image) in an empty state.
43
43
  *
@@ -47,22 +47,22 @@ declare function EmptyMedia({
47
47
  className,
48
48
  variant,
49
49
  ...props
50
- }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react128.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react168.JSX.Element;
51
51
  /** Prominent heading text for the empty state. */
52
52
  declare function EmptyTitle({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react128.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react168.JSX.Element;
56
56
  /** Supporting body text that explains the empty state to the user. */
57
57
  declare function EmptyDescription({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'p'>): react128.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react168.JSX.Element;
61
61
  /** Action area below the header — typically holds buttons or links to help the user proceed. */
62
62
  declare function EmptyContent({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react128.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react168.JSX.Element;
66
66
  //#endregion
67
67
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
68
- //# sourceMappingURL=empty.d.mts.map
68
+ //# sourceMappingURL=empty.d.ts.map
@@ -1,2 +1,2 @@
1
1
  import{cn as e}from"@customafk/react-toolkit/utils";import{cva as t}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";function r({className:t,...r}){return n(`div`,{"data-slot":`empty`,className:e(`flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12`,t),...r})}function i({className:t,...r}){return n(`div`,{"data-slot":`empty-header`,className:e(`flex max-w-sm flex-col items-center gap-2 text-center`,t),...r})}const a=t(`flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6`}},defaultVariants:{variant:`default`}});function o({className:t,variant:r=`default`,...i}){return n(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:e(a({variant:r,className:t})),...i})}function s({className:t,...r}){return n(`div`,{"data-slot":`empty-title`,className:e(`text-lg font-medium tracking-tight`,t),...r})}function c({className:t,...r}){return n(`div`,{"data-slot":`empty-description`,className:e(`text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,t),...r})}function l({className:t,...r}){return n(`div`,{"data-slot":`empty-content`,className:e(`flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance`,t),...r})}export{r as Empty,l as EmptyContent,c as EmptyDescription,i as EmptyHeader,o as EmptyMedia,s as EmptyTitle};
2
- //# sourceMappingURL=empty.mjs.map
2
+ //# sourceMappingURL=empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.js","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\n/**\n * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.\n *\n * @example\n * ```tsx\n * import {\n * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,\n * } from '@customafk/lunas-ui/ui/empty';\n * import { SearchX } from 'lucide-react';\n *\n * <Empty>\n * <EmptyHeader>\n * <EmptyMedia variant=\"icon\"><SearchX /></EmptyMedia>\n * <EmptyTitle>No results found</EmptyTitle>\n * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>\n * </EmptyHeader>\n * <EmptyContent>\n * <button>Reset filters</button>\n * </EmptyContent>\n * </Empty>\n * ```\n */\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\n/** Centred column container for the media, title, and description of an empty state. */\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Container for the visual element (illustration, icon, or image) in an empty state.\n *\n * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.\n */\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\n/** Prominent heading text for the empty state. */\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\n/** Supporting body text that explains the empty state to the user. */\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\n/** Action area below the header — typically holds buttons or links to help the user proceed. */\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"2IA2BA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAsC,CACnE,OACE,EAAC,MAAA,CACC,YAAU,QACV,UAAW,EAAG,+HAAgI,EAAU,CACxJ,GAAI,GACJ,CAKN,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,wDAAyD,EAAU,CAAE,GAAI,GAAS,CAGvI,MAAM,EAAqB,EAAI,8FAA+F,CAC5H,SAAU,CACR,QAAS,CACP,QAAS,iBACT,KAAM,2IACP,CACF,CACD,gBAAiB,CACf,QAAS,UACV,CACF,CAAC,CAOF,SAAS,EAAW,CAAE,YAAW,UAAU,UAAW,GAAG,GAAgF,CACvI,OAAO,EAAC,MAAA,CAAI,YAAU,aAAa,eAAc,EAAS,UAAW,EAAG,EAAmB,CAAE,UAAS,YAAW,CAAC,CAAC,CAAE,GAAI,GAAS,CAIpI,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,qCAAsC,EAAU,CAAE,GAAI,GAAS,CAInH,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAoC,CAC5E,OACE,EAAC,MAAA,CACC,YAAU,oBACV,UAAW,EAAG,4GAA6G,EAAU,CACrI,GAAI,GACJ,CAKN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,gFAAiF,EAAU,CAAE,GAAI,GAAS"}
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.cjs";
2
- import * as react158 from "react";
3
- import * as class_variance_authority_types6 from "class-variance-authority/types";
2
+ import * as react115 from "react";
3
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region packages/components/ui/field.d.ts
7
- declare const FieldSet: react158.MemoExoticComponent<({
7
+ declare const FieldSet: react115.MemoExoticComponent<({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<"fieldset">) => react158.JSX.Element>;
11
- declare const FieldLegend: react158.MemoExoticComponent<({
10
+ }: React.ComponentProps<"fieldset">) => react115.JSX.Element>;
11
+ declare const FieldLegend: react115.MemoExoticComponent<({
12
12
  className,
13
13
  variant,
14
14
  ...props
15
15
  }: React.ComponentProps<"legend"> & {
16
16
  variant?: "legend" | "label";
17
- }) => react158.JSX.Element>;
18
- declare const FieldGroup: react158.MemoExoticComponent<({
17
+ }) => react115.JSX.Element>;
18
+ declare const FieldGroup: react115.MemoExoticComponent<({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<"div">) => react158.JSX.Element>;
21
+ }: React.ComponentProps<"div">) => react115.JSX.Element>;
22
22
  declare const fieldVariants: (props?: ({
23
23
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
- } & class_variance_authority_types6.ClassProp) | undefined) => string;
25
- declare const Field: react158.MemoExoticComponent<({
24
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
25
+ declare const Field: react115.MemoExoticComponent<({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react158.JSX.Element>;
30
- declare const FieldContent: react158.MemoExoticComponent<({
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react115.JSX.Element>;
30
+ declare const FieldContent: react115.MemoExoticComponent<({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<"div">) => react158.JSX.Element>;
34
- declare const FieldLabel: react158.MemoExoticComponent<({
33
+ }: React.ComponentProps<"div">) => react115.JSX.Element>;
34
+ declare const FieldLabel: react115.MemoExoticComponent<({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Label>) => react158.JSX.Element>;
38
- declare const FieldTitle: react158.MemoExoticComponent<({
37
+ }: React.ComponentProps<typeof Label>) => react115.JSX.Element>;
38
+ declare const FieldTitle: react115.MemoExoticComponent<({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">) => react158.JSX.Element>;
42
- declare const FieldDescription: react158.MemoExoticComponent<({
41
+ }: React.ComponentProps<"div">) => react115.JSX.Element>;
42
+ declare const FieldDescription: react115.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"p">) => react158.JSX.Element>;
46
- declare const FieldSeparator: react158.MemoExoticComponent<({
45
+ }: React.ComponentProps<"p">) => react115.JSX.Element>;
46
+ declare const FieldSeparator: react115.MemoExoticComponent<({
47
47
  children,
48
48
  className,
49
49
  ...props
50
50
  }: React.ComponentProps<"div"> & {
51
51
  children?: React.ReactNode;
52
- }) => react158.JSX.Element>;
53
- declare const FieldError: react158.MemoExoticComponent<({
52
+ }) => react115.JSX.Element>;
53
+ declare const FieldError: react115.MemoExoticComponent<({
54
54
  className,
55
55
  children,
56
56
  errors,
@@ -59,7 +59,7 @@ declare const FieldError: react158.MemoExoticComponent<({
59
59
  errors?: Array<{
60
60
  message?: string;
61
61
  } | undefined>;
62
- }) => react158.JSX.Element | null>;
62
+ }) => react115.JSX.Element | null>;
63
63
  //#endregion
64
64
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
65
  //# sourceMappingURL=field.d.cts.map
@@ -0,0 +1,65 @@
1
+ import { Label } from "./label.js";
2
+ import * as react269 from "react";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
5
+
6
+ //#region packages/components/ui/field.d.ts
7
+ declare const FieldSet: react269.MemoExoticComponent<({
8
+ className,
9
+ ...props
10
+ }: React.ComponentProps<"fieldset">) => react269.JSX.Element>;
11
+ declare const FieldLegend: react269.MemoExoticComponent<({
12
+ className,
13
+ variant,
14
+ ...props
15
+ }: React.ComponentProps<"legend"> & {
16
+ variant?: "legend" | "label";
17
+ }) => react269.JSX.Element>;
18
+ declare const FieldGroup: react269.MemoExoticComponent<({
19
+ className,
20
+ ...props
21
+ }: React.ComponentProps<"div">) => react269.JSX.Element>;
22
+ declare const fieldVariants: (props?: ({
23
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
+ } & class_variance_authority_types10.ClassProp) | undefined) => string;
25
+ declare const Field: react269.MemoExoticComponent<({
26
+ className,
27
+ orientation,
28
+ ...props
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react269.JSX.Element>;
30
+ declare const FieldContent: react269.MemoExoticComponent<({
31
+ className,
32
+ ...props
33
+ }: React.ComponentProps<"div">) => react269.JSX.Element>;
34
+ declare const FieldLabel: react269.MemoExoticComponent<({
35
+ className,
36
+ ...props
37
+ }: React.ComponentProps<typeof Label>) => react269.JSX.Element>;
38
+ declare const FieldTitle: react269.MemoExoticComponent<({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<"div">) => react269.JSX.Element>;
42
+ declare const FieldDescription: react269.MemoExoticComponent<({
43
+ className,
44
+ ...props
45
+ }: React.ComponentProps<"p">) => react269.JSX.Element>;
46
+ declare const FieldSeparator: react269.MemoExoticComponent<({
47
+ children,
48
+ className,
49
+ ...props
50
+ }: React.ComponentProps<"div"> & {
51
+ children?: React.ReactNode;
52
+ }) => react269.JSX.Element>;
53
+ declare const FieldError: react269.MemoExoticComponent<({
54
+ className,
55
+ children,
56
+ errors,
57
+ ...props
58
+ }: React.ComponentProps<"div"> & {
59
+ errors?: Array<{
60
+ message?: string;
61
+ } | undefined>;
62
+ }) => react269.JSX.Element | null>;
63
+ //#endregion
64
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
+ //# sourceMappingURL=field.d.ts.map
@@ -0,0 +1 @@
1
+ "use client";import"../separator-BM8hA4DP.js";import"../label-B8cAG2kc.js";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-DpoKF1nY.js";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
@@ -1,4 +1,4 @@
1
- import * as react181 from "react";
1
+ import * as react280 from "react";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react181.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react280.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react154 from "react";
1
+ import * as react202 from "react";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react154.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react202.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
- //# sourceMappingURL=file-uploader.d.mts.map
103
+ //# sourceMappingURL=file-uploader.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use client";import"../button.variants-CoSpd71B.js";import{t as e}from"../button-LMMbL-uH.js";import{t}from"../progress-AYknlEgK.js";import{FileText as n,Image as r,Trash2 as i,Upload as a}from"lucide-react";import{useCallback as o,useEffect as s}from"react";import{cn as c,formatBytes as l}from"@customafk/react-toolkit/utils";import{jsx as u,jsxs as d}from"react/jsx-runtime";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:n,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:n}),A=o((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),n?.(t)}s(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return d(`div`,{className:`relative flex w-full flex-col gap-6`,children:[u(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>d(`div`,{...e(),className:c(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[u(`input`,{...t()}),n?d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),u(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&d(`div`,{className:`flex flex-col gap-px`,children:[d(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),d(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
2
+ files (up to ${l(b)} each)`:` a file with ${l(b)}`]})]})]})]})}),O?.length?d(`div`,{className:`h-fit w-full overflow-y-auto`,children:[d(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[d(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[u(r,{size:16,"aria-hidden":`true`}),d(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,O.length,`)`]})]}),d(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{O&&(O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)}),k([]),n?.([]))},children:[u(i,{size:16,"aria-hidden":`true`}),u(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),u(`div`,{className:`flex flex-col gap-2.5`,children:O?.map((e,t)=>u(g,{file:e,onRemove:()=>j(t),progress:v?.[e.name]},t))})]}):null]})}function g({file:n,progress:r,onRemove:a}){return d(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[d(`div`,{className:`flex flex-1 gap-2.5`,children:[_(n)?u(v,{file:n}):null,d(`div`,{className:`flex w-full flex-col gap-2`,children:[d(`div`,{className:`flex flex-col gap-y-0.5`,children:[u(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:n.name}),u(`p`,{className:`text-text-positive-muted text-xs`,children:l(n.size)})]}),r?u(t,{value:r}):null]})]}),u(`div`,{className:`flex items-center gap-2`,children:d(e,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:a,children:[u(i,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),u(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function _(e){return`preview`in e&&typeof e.preview==`string`}function v({file:e}){return e.type.startsWith(`image/`)?u(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):u(n,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{h as FileUploader};
3
+ //# sourceMappingURL=file-uploader.js.map