@customafk/lunas-ui 0.2.33 → 0.2.35

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 (441) hide show
  1. package/dist/{alert-BC5Nss8t.mjs → alert-BbvPwf2x.mjs} +1 -1
  2. package/dist/{alert-BC5Nss8t.mjs.map → alert-BbvPwf2x.mjs.map} +1 -1
  3. package/dist/{alert-V73ULWoO.d.mts → alert-DGoFdiDI.d.cts} +7 -7
  4. package/dist/{alert-mTjrFpkB.d.cts → alert-DZlPX4MK.d.mts} +7 -7
  5. package/dist/{alert-4rfsFtN6.cjs → alert-DubR6Szk.cjs} +1 -1
  6. package/dist/{alert-4rfsFtN6.cjs.map → alert-DubR6Szk.cjs.map} +1 -1
  7. package/dist/{avatar-aVxo69zP.cjs → avatar-CqRl9dge.cjs} +1 -1
  8. package/dist/{avatar-aVxo69zP.cjs.map → avatar-CqRl9dge.cjs.map} +1 -1
  9. package/dist/{avatar-CK1R4r0j.mjs → avatar-m1LjDIil.mjs} +1 -1
  10. package/dist/{avatar-CK1R4r0j.mjs.map → avatar-m1LjDIil.mjs.map} +1 -1
  11. package/dist/{badge-utjRo-lW.mjs → badge-Bhbhmsic.mjs} +1 -1
  12. package/dist/{badge-utjRo-lW.mjs.map → badge-Bhbhmsic.mjs.map} +1 -1
  13. package/dist/{badge-DcQUUKY0.d.mts → badge-D1Un985K.d.cts} +6 -6
  14. package/dist/{badge-Cwb0fmkw.d.cts → badge-LtLg87DN.d.mts} +6 -6
  15. package/dist/{button-W7L4JgMw.d.mts → button-8OKxyueU.d.cts} +6 -6
  16. package/dist/{button-Bc-MAOOY.d.cts → button-CdjZ5QJ8.d.mts} +6 -6
  17. package/dist/{button-BqxBQ4Kr.mjs → button-CfPTDyoq.mjs} +2 -2
  18. package/dist/{button-BqxBQ4Kr.mjs.map → button-CfPTDyoq.mjs.map} +1 -1
  19. package/dist/{button.variants-CwcJHcI5.mjs → button.variants-B8aRZ52K.mjs} +1 -1
  20. package/dist/{button.variants-CwcJHcI5.mjs.map → button.variants-B8aRZ52K.mjs.map} +1 -1
  21. package/dist/{calendar-D8aRFw_F.mjs → calendar-BDhIfwPP.mjs} +2 -2
  22. package/dist/{calendar-D8aRFw_F.mjs.map → calendar-BDhIfwPP.mjs.map} +1 -1
  23. package/dist/{calendar-Bt0rlJ89.cjs → calendar-CMd11yg9.cjs} +1 -1
  24. package/dist/{calendar-Bt0rlJ89.cjs.map → calendar-CMd11yg9.cjs.map} +1 -1
  25. package/dist/cards/grid-product-card.mjs +1 -1
  26. package/dist/cards/product-card.mjs +1 -1
  27. package/dist/cards/simple-card.d.cts +2 -2
  28. package/dist/cards/simple-card.d.mts +2 -2
  29. package/dist/cards/simple-card.mjs +1 -1
  30. package/dist/{checkbox-BQ_TclX9.cjs → checkbox-BwDvS4De.cjs} +1 -1
  31. package/dist/{checkbox-BQ_TclX9.cjs.map → checkbox-BwDvS4De.cjs.map} +1 -1
  32. package/dist/{checkbox-CJsl9OjF.mjs → checkbox-CgHaRkuU.mjs} +1 -1
  33. package/dist/{checkbox-CJsl9OjF.mjs.map → checkbox-CgHaRkuU.mjs.map} +1 -1
  34. package/dist/{close-BMhGSmGs.mjs → close-B7OOMSZl.mjs} +1 -1
  35. package/dist/{close-BMhGSmGs.mjs.map → close-B7OOMSZl.mjs.map} +1 -1
  36. package/dist/{close-DUBEKxhw.cjs → close-DrCUWZt0.cjs} +1 -1
  37. package/dist/{close-DUBEKxhw.cjs.map → close-DrCUWZt0.cjs.map} +1 -1
  38. package/dist/{cms-layout-DDs0pHWh.cjs → cms-layout-BrubV8D8.cjs} +2 -2
  39. package/dist/{cms-layout-DDs0pHWh.cjs.map → cms-layout-BrubV8D8.cjs.map} +1 -1
  40. package/dist/{cms-layout-DHzRHAoI.mjs → cms-layout-C2-yysO2.mjs} +2 -2
  41. package/dist/{cms-layout-DHzRHAoI.mjs.map → cms-layout-C2-yysO2.mjs.map} +1 -1
  42. package/dist/{command-CTdjZi1F.cjs → command-DiXzSGc8.cjs} +2 -2
  43. package/dist/{command-CTdjZi1F.cjs.map → command-DiXzSGc8.cjs.map} +1 -1
  44. package/dist/{command-Bvauothg.mjs → command-FnbrPZ7_.mjs} +2 -2
  45. package/dist/{command-Bvauothg.mjs.map → command-FnbrPZ7_.mjs.map} +1 -1
  46. package/dist/data-display/country.d.cts +1 -1
  47. package/dist/data-display/country.d.mts +1 -1
  48. package/dist/data-display/country.mjs +1 -1
  49. package/dist/data-display/date-tooltip.mjs +1 -1
  50. package/dist/data-display/date.mjs +1 -1
  51. package/dist/data-display/name.mjs +1 -1
  52. package/dist/data-display/phone-number.mjs +1 -1
  53. package/dist/data-display/role-badge.d.cts +1 -1
  54. package/dist/data-display/role-badge.d.mts +1 -1
  55. package/dist/data-display/role-badge.mjs +1 -1
  56. package/dist/data-display/statistic.cjs +1 -2
  57. package/dist/data-display/statistic.d.mts +5 -5
  58. package/dist/data-display/statistic.mjs +1 -2
  59. package/dist/data-display/user.cjs +1 -1
  60. package/dist/data-display/user.mjs +1 -1
  61. package/dist/{date-BQ0c19uk.mjs → date-CFgc7pK3.mjs} +1 -1
  62. package/dist/{date-BQ0c19uk.mjs.map → date-CFgc7pK3.mjs.map} +1 -1
  63. package/dist/dialog-D1sWnn6n.cjs +2 -0
  64. package/dist/dialog-D1sWnn6n.cjs.map +1 -0
  65. package/dist/{dialog-CxPqgAES.d.cts → dialog-DolY0CYG.d.mts} +12 -12
  66. package/dist/dialog-EGFZeITu.mjs +2 -0
  67. package/dist/dialog-EGFZeITu.mjs.map +1 -0
  68. package/dist/{dialog-B8CvBgRs.d.mts → dialog-aguemTG1.d.cts} +12 -12
  69. package/dist/dialogs/confirm-dialog.mjs +1 -1
  70. package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
  71. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
  72. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
  73. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  74. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  75. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  76. package/dist/dialogs/error-dialog.mjs +1 -1
  77. package/dist/dialogs/loading-dialog.cjs +1 -1
  78. package/dist/dialogs/loading-dialog.mjs +1 -1
  79. package/dist/{dist-DdGJ50nX.mjs → dist-BQGL-YKY.mjs} +1 -1
  80. package/dist/{dist-DdGJ50nX.mjs.map → dist-BQGL-YKY.mjs.map} +1 -1
  81. package/dist/{drawer-C3o6IEeq.cjs → drawer-B6C8-Ndu.cjs} +1 -1
  82. package/dist/{drawer-C3o6IEeq.cjs.map → drawer-B6C8-Ndu.cjs.map} +1 -1
  83. package/dist/{drawer-j9wcVE50.mjs → drawer-CMD7JWH8.mjs} +1 -1
  84. package/dist/{drawer-j9wcVE50.mjs.map → drawer-CMD7JWH8.mjs.map} +1 -1
  85. package/dist/{dropdown-menu-DMwvWoxe.cjs → dropdown-menu-Bz7oMQ36.cjs} +1 -1
  86. package/dist/{dropdown-menu-DMwvWoxe.cjs.map → dropdown-menu-Bz7oMQ36.cjs.map} +1 -1
  87. package/dist/{dropdown-menu-B_uBxY94.mjs → dropdown-menu-C6tRSumY.mjs} +1 -1
  88. package/dist/{dropdown-menu-B_uBxY94.mjs.map → dropdown-menu-C6tRSumY.mjs.map} +1 -1
  89. package/dist/features/descriptions/index.cjs +1 -1
  90. package/dist/features/descriptions/index.d.cts +6 -6
  91. package/dist/features/descriptions/index.d.mts +4 -4
  92. package/dist/features/descriptions/index.mjs +1 -1
  93. package/dist/features/search-modal/index.cjs +1 -1
  94. package/dist/features/search-modal/index.d.mts +2 -2
  95. package/dist/features/search-modal/index.mjs +1 -1
  96. package/dist/features/tables/index.cjs +1 -1
  97. package/dist/features/tables/index.d.cts +2 -2
  98. package/dist/features/tables/index.d.mts +3 -3
  99. package/dist/features/tables/index.mjs +1 -1
  100. package/dist/features/tanstack-form/index.cjs +1 -1
  101. package/dist/features/tanstack-form/index.d.cts +1 -1
  102. package/dist/features/tanstack-form/index.d.mts +1 -1
  103. package/dist/features/tanstack-form/index.mjs +1 -1
  104. package/dist/features/text-editor/index.cjs +1 -1
  105. package/dist/features/text-editor/index.d.cts +1 -1
  106. package/dist/features/text-editor/index.d.mts +1 -1
  107. package/dist/features/text-editor/index.mjs +1 -1
  108. package/dist/{field-B8RhxRCu.mjs → field-DhgAIueI.mjs} +2 -2
  109. package/dist/{field-B8RhxRCu.mjs.map → field-DhgAIueI.mjs.map} +1 -1
  110. package/dist/{field-BxFpcOV1.cjs → field-pfL7RWcN.cjs} +2 -2
  111. package/dist/{field-BxFpcOV1.cjs.map → field-pfL7RWcN.cjs.map} +1 -1
  112. package/dist/{flex-Bl5yzx6g.mjs → flex-BAcvp4lB.mjs} +1 -1
  113. package/dist/{flex-Bl5yzx6g.mjs.map → flex-BAcvp4lB.mjs.map} +1 -1
  114. package/dist/{heading-B1t9baTw.mjs → heading-woRh-IC7.mjs} +1 -1
  115. package/dist/{heading-B1t9baTw.mjs.map → heading-woRh-IC7.mjs.map} +1 -1
  116. package/dist/{image-C4gMBmyV.mjs → image-D2U1SBw5.mjs} +2 -2
  117. package/dist/{image-C4gMBmyV.mjs.map → image-D2U1SBw5.mjs.map} +1 -1
  118. package/dist/{index-3rfnp-Kj.d.mts → index-BhnqroF7.d.cts} +91 -42
  119. package/dist/{index-cSJtvD9W.d.mts → index-BqGaIQNn.d.mts} +6 -6
  120. package/dist/{index-B0tpV7YG.d.cts → index-C45OSg1W.d.mts} +91 -42
  121. package/dist/{index-BQEmU6gw.d.cts → index-CgEghb4N.d.cts} +380 -380
  122. package/dist/{index-CE6WacAh.d.mts → index-DfvBLw2O.d.mts} +380 -380
  123. package/dist/{index-DMUr1T2A.d.cts → index-DwS7a4RL.d.cts} +6 -6
  124. package/dist/index.cjs +1 -1
  125. package/dist/index.d.cts +9 -10
  126. package/dist/index.d.mts +9 -10
  127. package/dist/index.mjs +1 -1
  128. package/dist/{input-CKFQdvqY.mjs → input-5gk-Jv1y.mjs} +1 -1
  129. package/dist/{input-CKFQdvqY.mjs.map → input-5gk-Jv1y.mjs.map} +1 -1
  130. package/dist/{input-1ceJxxFI.cjs → input-BvzsfAUc.cjs} +1 -1
  131. package/dist/{input-1ceJxxFI.cjs.map → input-BvzsfAUc.cjs.map} +1 -1
  132. package/dist/{input-BkbJ_jDH.d.mts → input-CZrWdm_Y.d.cts} +6 -6
  133. package/dist/{input-DgwlkE9s.d.cts → input-DcbOSbQr.d.mts} +6 -6
  134. package/dist/{label-CE2m0U_j.mjs → label-D9uNQ9b_.mjs} +1 -1
  135. package/dist/{label-CE2m0U_j.mjs.map → label-D9uNQ9b_.mjs.map} +1 -1
  136. package/dist/{label-BHbqbBtO.cjs → label-eIyGIRyw.cjs} +1 -1
  137. package/dist/{label-BHbqbBtO.cjs.map → label-eIyGIRyw.cjs.map} +1 -1
  138. package/dist/layouts/cms-layout/index.cjs +1 -1
  139. package/dist/layouts/cms-layout/index.mjs +1 -1
  140. package/dist/layouts/flex.d.cts +8 -8
  141. package/dist/layouts/flex.d.mts +8 -8
  142. package/dist/layouts/flex.mjs +1 -1
  143. package/dist/layouts/payment-layout/index.cjs +1 -1
  144. package/dist/layouts/payment-layout/index.mjs +1 -1
  145. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  146. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  147. package/dist/pages/FeatureDeveloping.mjs +1 -1
  148. package/dist/pages/FeatureFixing.d.cts +2 -2
  149. package/dist/pages/FeatureFixing.d.mts +2 -2
  150. package/dist/pages/FeatureFixing.mjs +1 -1
  151. package/dist/pages/LoginPage.cjs +1 -1
  152. package/dist/pages/LoginPage.d.cts +2 -2
  153. package/dist/pages/LoginPage.d.mts +2 -2
  154. package/dist/pages/LoginPage.mjs +1 -1
  155. package/dist/pages/NotAuthorized.d.cts +2 -2
  156. package/dist/pages/NotAuthorized.d.mts +2 -2
  157. package/dist/pages/NotAuthorized.mjs +1 -1
  158. package/dist/pages/NotFound.d.cts +2 -2
  159. package/dist/pages/NotFound.d.mts +2 -2
  160. package/dist/pages/NotFound.mjs +1 -1
  161. package/dist/pages/RegisterPage.cjs +1 -1
  162. package/dist/pages/RegisterPage.d.cts +2 -2
  163. package/dist/pages/RegisterPage.d.mts +2 -2
  164. package/dist/pages/RegisterPage.mjs +1 -1
  165. package/dist/pages/VerifyEmailPage.cjs +1 -1
  166. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  167. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  168. package/dist/pages/VerifyEmailPage.mjs +1 -1
  169. package/dist/{paragraph-J_QbLq9_.mjs → paragraph-CjstaJFj.mjs} +1 -1
  170. package/dist/{paragraph-J_QbLq9_.mjs.map → paragraph-CjstaJFj.mjs.map} +1 -1
  171. package/dist/{payment-layout-RldJzRGP.mjs → payment-layout-_ZM4uBy_.mjs} +2 -2
  172. package/dist/{payment-layout-RldJzRGP.mjs.map → payment-layout-_ZM4uBy_.mjs.map} +1 -1
  173. package/dist/{payment-layout-RVPi4-1C.cjs → payment-layout-fsYTkw3r.cjs} +2 -2
  174. package/dist/{payment-layout-RVPi4-1C.cjs.map → payment-layout-fsYTkw3r.cjs.map} +1 -1
  175. package/dist/{popover-BCzVvfnV.mjs → popover-DwgdOX8a.mjs} +2 -2
  176. package/dist/{popover-BCzVvfnV.mjs.map → popover-DwgdOX8a.mjs.map} +1 -1
  177. package/dist/{popover-Bnrgg4do.cjs → popover-fsTCOb6a.cjs} +2 -2
  178. package/dist/{popover-Bnrgg4do.cjs.map → popover-fsTCOb6a.cjs.map} +1 -1
  179. package/dist/{progress-BXWPPNt5.cjs → progress-CDYA2V-W.cjs} +1 -1
  180. package/dist/{progress-BXWPPNt5.cjs.map → progress-CDYA2V-W.cjs.map} +1 -1
  181. package/dist/{progress-BcEEbgJJ.mjs → progress-DCBKnTx0.mjs} +1 -1
  182. package/dist/{progress-BcEEbgJJ.mjs.map → progress-DCBKnTx0.mjs.map} +1 -1
  183. package/dist/{radio-group-Bv6w2woK.cjs → radio-group-B-M599Ys.cjs} +1 -1
  184. package/dist/{radio-group-Bv6w2woK.cjs.map → radio-group-B-M599Ys.cjs.map} +1 -1
  185. package/dist/{radio-group-KR6Ck-B9.mjs → radio-group-Y9bhdr55.mjs} +1 -1
  186. package/dist/{radio-group-KR6Ck-B9.mjs.map → radio-group-Y9bhdr55.mjs.map} +1 -1
  187. package/dist/{resizable-C7uLlTGB.cjs → resizable-DATSh0Du.cjs} +1 -1
  188. package/dist/{resizable-C7uLlTGB.cjs.map → resizable-DATSh0Du.cjs.map} +1 -1
  189. package/dist/{resizable-em2svgMz.mjs → resizable-DP1BQAF_.mjs} +1 -1
  190. package/dist/{resizable-em2svgMz.mjs.map → resizable-DP1BQAF_.mjs.map} +1 -1
  191. package/dist/{search-modal-zmavzZRx.cjs → search-modal-CYRJEDE-.cjs} +2 -2
  192. package/dist/{search-modal-zmavzZRx.cjs.map → search-modal-CYRJEDE-.cjs.map} +1 -1
  193. package/dist/{search-modal-DyOsqK-4.mjs → search-modal-DWu08xkE.mjs} +2 -2
  194. package/dist/{search-modal-DyOsqK-4.mjs.map → search-modal-DWu08xkE.mjs.map} +1 -1
  195. package/dist/{select-C2Ro2wmj.mjs → select-BAlA65tZ.mjs} +1 -1
  196. package/dist/{select-C2Ro2wmj.mjs.map → select-BAlA65tZ.mjs.map} +1 -1
  197. package/dist/{select-DHiTqZeX.cjs → select-Cib2aiw5.cjs} +1 -1
  198. package/dist/{select-DHiTqZeX.cjs.map → select-Cib2aiw5.cjs.map} +1 -1
  199. package/dist/{separator-yTKDuMWb.mjs → separator-C6s-YvlT.mjs} +1 -1
  200. package/dist/{separator-yTKDuMWb.mjs.map → separator-C6s-YvlT.mjs.map} +1 -1
  201. package/dist/{separator-jytY1CPq.cjs → separator-CBup_ah1.cjs} +1 -1
  202. package/dist/{separator-jytY1CPq.cjs.map → separator-CBup_ah1.cjs.map} +1 -1
  203. package/dist/{sheet-DDBCHwn6.mjs → sheet-Cj8hoftE.mjs} +1 -1
  204. package/dist/{sheet-DDBCHwn6.mjs.map → sheet-Cj8hoftE.mjs.map} +1 -1
  205. package/dist/{sheet-DuMrjidC.cjs → sheet-DAjZ-Q6Q.cjs} +1 -1
  206. package/dist/{sheet-DuMrjidC.cjs.map → sheet-DAjZ-Q6Q.cjs.map} +1 -1
  207. package/dist/{sidebar-BXrGXVxx.cjs → sidebar-Drasn0Bx.cjs} +2 -2
  208. package/dist/{sidebar-BXrGXVxx.cjs.map → sidebar-Drasn0Bx.cjs.map} +1 -1
  209. package/dist/{sidebar-De1RZMAG.mjs → sidebar-RcmDh50_.mjs} +2 -2
  210. package/dist/{sidebar-De1RZMAG.mjs.map → sidebar-RcmDh50_.mjs.map} +1 -1
  211. package/dist/{skeleton-Czl96pWA.mjs → skeleton-DupQ91XW.mjs} +1 -1
  212. package/dist/{skeleton-Czl96pWA.mjs.map → skeleton-DupQ91XW.mjs.map} +1 -1
  213. package/dist/{spinner-CWUvnJQw.mjs → spinner-BCnPYF1H.mjs} +1 -1
  214. package/dist/{spinner-CWUvnJQw.mjs.map → spinner-BCnPYF1H.mjs.map} +1 -1
  215. package/dist/{spinner-DgusnQMw.cjs → spinner-Bdta7BMp.cjs} +1 -1
  216. package/dist/{spinner-DgusnQMw.cjs.map → spinner-Bdta7BMp.cjs.map} +1 -1
  217. package/dist/statistic-Cm4nbkjQ.mjs +2 -0
  218. package/dist/statistic-Cm4nbkjQ.mjs.map +1 -0
  219. package/dist/statistic-DDDm5Om1.cjs +2 -0
  220. package/dist/statistic-DDDm5Om1.cjs.map +1 -0
  221. package/dist/{switch-DHsjxnFP.mjs → switch-BP7EPatj.mjs} +1 -1
  222. package/dist/{switch-DHsjxnFP.mjs.map → switch-BP7EPatj.mjs.map} +1 -1
  223. package/dist/{switch-0-9Zt33o.cjs → switch-Dbc77c_D.cjs} +1 -1
  224. package/dist/{switch-0-9Zt33o.cjs.map → switch-Dbc77c_D.cjs.map} +1 -1
  225. package/dist/tables-B3Ald6An.cjs +4 -0
  226. package/dist/tables-B3Ald6An.cjs.map +1 -0
  227. package/dist/tables-C3asiSD4.mjs +4 -0
  228. package/dist/tables-C3asiSD4.mjs.map +1 -0
  229. package/dist/{tanstack-form-Be6aIYAW.mjs → tanstack-form-BFX2-Tlo.mjs} +2 -2
  230. package/dist/{tanstack-form-Be6aIYAW.mjs.map → tanstack-form-BFX2-Tlo.mjs.map} +1 -1
  231. package/dist/{tanstack-form-CDgTokmf.cjs → tanstack-form-dHOZ76Jw.cjs} +2 -2
  232. package/dist/{tanstack-form-CDgTokmf.cjs.map → tanstack-form-dHOZ76Jw.cjs.map} +1 -1
  233. package/dist/{text-editor-CE_GkI7o.cjs → text-editor-BJBM0T1y.cjs} +1 -1
  234. package/dist/{text-editor-CE_GkI7o.cjs.map → text-editor-BJBM0T1y.cjs.map} +1 -1
  235. package/dist/{text-editor-CqC44BkO.mjs → text-editor-CbBJNn-4.mjs} +1 -1
  236. package/dist/{text-editor-CqC44BkO.mjs.map → text-editor-CbBJNn-4.mjs.map} +1 -1
  237. package/dist/{textarea-D0-Gltw6.mjs → textarea-7HDXcaK9.mjs} +1 -1
  238. package/dist/{textarea-D0-Gltw6.mjs.map → textarea-7HDXcaK9.mjs.map} +1 -1
  239. package/dist/{textarea-BB2WynyM.cjs → textarea-Byo8E8oi.cjs} +1 -1
  240. package/dist/{textarea-BB2WynyM.cjs.map → textarea-Byo8E8oi.cjs.map} +1 -1
  241. package/dist/{tooltip-BMdzWaaH.mjs → tooltip-BfBJRYpc.mjs} +1 -1
  242. package/dist/{tooltip-BMdzWaaH.mjs.map → tooltip-BfBJRYpc.mjs.map} +1 -1
  243. package/dist/{types-CuAlMviO.mjs → types-CFXgrpTm.mjs} +1 -1
  244. package/dist/{types-CuAlMviO.mjs.map → types-CFXgrpTm.mjs.map} +1 -1
  245. package/dist/{types-B2PQbMJL.d.mts → types-Cc_mLRAn.d.cts} +1 -1
  246. package/dist/{types-CLkAmCre.d.cts → types-YLu40dXY.d.mts} +1 -1
  247. package/dist/typography/paragraph.d.cts +5 -5
  248. package/dist/typography/paragraph.d.mts +3 -3
  249. package/dist/typography/paragraph.mjs +1 -1
  250. package/dist/ui/alert-dialog.d.cts +12 -12
  251. package/dist/ui/alert-dialog.d.mts +12 -12
  252. package/dist/ui/alert-dialog.mjs +1 -1
  253. package/dist/ui/alert.cjs +1 -1
  254. package/dist/ui/alert.d.cts +1 -1
  255. package/dist/ui/alert.d.mts +1 -1
  256. package/dist/ui/alert.mjs +1 -1
  257. package/dist/ui/aspect-ratio.d.cts +2 -2
  258. package/dist/ui/aspect-ratio.d.mts +2 -2
  259. package/dist/ui/avatar.cjs +1 -1
  260. package/dist/ui/avatar.d.cts +4 -4
  261. package/dist/ui/avatar.d.mts +4 -4
  262. package/dist/ui/avatar.mjs +1 -1
  263. package/dist/ui/badge.d.cts +1 -1
  264. package/dist/ui/badge.d.mts +1 -1
  265. package/dist/ui/badge.mjs +1 -1
  266. package/dist/ui/breadcrumb.d.cts +8 -8
  267. package/dist/ui/breadcrumb.d.mts +8 -8
  268. package/dist/ui/breadcrumb.mjs +1 -1
  269. package/dist/ui/button-group.cjs +1 -1
  270. package/dist/ui/button-group.d.cts +7 -7
  271. package/dist/ui/button-group.d.mts +7 -7
  272. package/dist/ui/button-group.mjs +1 -1
  273. package/dist/ui/button.d.cts +1 -1
  274. package/dist/ui/button.d.mts +1 -1
  275. package/dist/ui/button.mjs +1 -1
  276. package/dist/ui/buttons/add-new.mjs +1 -1
  277. package/dist/ui/buttons/edit.mjs +1 -1
  278. package/dist/ui/buttons/refresh.mjs +1 -1
  279. package/dist/ui/buttons/trash.mjs +1 -1
  280. package/dist/ui/buttons/upload-image.mjs +1 -1
  281. package/dist/ui/calendar.cjs +1 -1
  282. package/dist/ui/calendar.d.cts +4 -4
  283. package/dist/ui/calendar.d.mts +4 -4
  284. package/dist/ui/calendar.mjs +1 -1
  285. package/dist/ui/card.d.cts +8 -8
  286. package/dist/ui/card.d.mts +8 -8
  287. package/dist/ui/card.mjs +1 -1
  288. package/dist/ui/carousel.d.cts +7 -7
  289. package/dist/ui/carousel.d.mts +7 -7
  290. package/dist/ui/carousel.mjs +1 -1
  291. package/dist/ui/checkbox.cjs +1 -1
  292. package/dist/ui/checkbox.d.cts +2 -2
  293. package/dist/ui/checkbox.d.mts +2 -2
  294. package/dist/ui/checkbox.mjs +1 -1
  295. package/dist/ui/collapsible.d.cts +4 -4
  296. package/dist/ui/collapsible.d.mts +4 -4
  297. package/dist/ui/command.cjs +1 -1
  298. package/dist/ui/command.d.cts +11 -11
  299. package/dist/ui/command.d.mts +11 -11
  300. package/dist/ui/command.mjs +1 -1
  301. package/dist/ui/context-menu.d.cts +16 -16
  302. package/dist/ui/context-menu.d.mts +16 -16
  303. package/dist/ui/dialog.cjs +1 -1
  304. package/dist/ui/dialog.d.cts +1 -1
  305. package/dist/ui/dialog.d.mts +1 -1
  306. package/dist/ui/dialog.mjs +1 -1
  307. package/dist/ui/drawer.cjs +1 -1
  308. package/dist/ui/drawer.d.cts +11 -11
  309. package/dist/ui/drawer.d.mts +11 -11
  310. package/dist/ui/drawer.mjs +1 -1
  311. package/dist/ui/dropdown-menu.cjs +1 -1
  312. package/dist/ui/dropdown-menu.d.cts +16 -16
  313. package/dist/ui/dropdown-menu.d.mts +16 -16
  314. package/dist/ui/dropdown-menu.mjs +1 -1
  315. package/dist/ui/empty.d.cts +9 -9
  316. package/dist/ui/empty.d.mts +9 -9
  317. package/dist/ui/field.cjs +1 -1
  318. package/dist/ui/field.d.cts +24 -24
  319. package/dist/ui/field.d.mts +24 -24
  320. package/dist/ui/field.mjs +1 -1
  321. package/dist/ui/file-uploader.cjs +1 -1
  322. package/dist/ui/file-uploader.d.cts +2 -2
  323. package/dist/ui/file-uploader.d.mts +2 -2
  324. package/dist/ui/file-uploader.mjs +1 -1
  325. package/dist/ui/form.cjs +1 -1
  326. package/dist/ui/form.d.cts +10 -10
  327. package/dist/ui/form.d.mts +10 -10
  328. package/dist/ui/form.mjs +1 -1
  329. package/dist/ui/hover-card.d.cts +4 -4
  330. package/dist/ui/hover-card.d.mts +4 -4
  331. package/dist/ui/image.mjs +1 -1
  332. package/dist/ui/input-otp.d.cts +5 -5
  333. package/dist/ui/input-otp.d.mts +5 -5
  334. package/dist/ui/input.cjs +1 -1
  335. package/dist/ui/input.d.cts +1 -1
  336. package/dist/ui/input.d.mts +1 -1
  337. package/dist/ui/input.mjs +1 -1
  338. package/dist/ui/inputs/search-input.cjs +1 -1
  339. package/dist/ui/inputs/search-input.d.cts +3 -3
  340. package/dist/ui/inputs/search-input.d.mts +3 -3
  341. package/dist/ui/inputs/search-input.mjs +1 -1
  342. package/dist/ui/item.cjs +1 -1
  343. package/dist/ui/item.d.cts +16 -16
  344. package/dist/ui/item.d.mts +16 -16
  345. package/dist/ui/item.mjs +1 -1
  346. package/dist/ui/label.cjs +1 -1
  347. package/dist/ui/label.d.cts +2 -2
  348. package/dist/ui/label.d.mts +2 -2
  349. package/dist/ui/label.mjs +1 -1
  350. package/dist/ui/menubar.d.cts +17 -17
  351. package/dist/ui/menubar.d.mts +17 -17
  352. package/dist/ui/multi-select.cjs +1 -1
  353. package/dist/ui/multi-select.d.cts +2 -2
  354. package/dist/ui/multi-select.d.mts +3 -3
  355. package/dist/ui/multi-select.mjs +1 -1
  356. package/dist/ui/navigation-menu.d.cts +11 -11
  357. package/dist/ui/navigation-menu.d.mts +11 -11
  358. package/dist/ui/pagination.d.cts +9 -9
  359. package/dist/ui/pagination.d.mts +9 -9
  360. package/dist/ui/pagination.mjs +1 -1
  361. package/dist/ui/popover.cjs +1 -1
  362. package/dist/ui/popover.d.cts +6 -6
  363. package/dist/ui/popover.d.mts +6 -6
  364. package/dist/ui/popover.mjs +1 -1
  365. package/dist/ui/progress.cjs +1 -1
  366. package/dist/ui/progress.d.cts +2 -2
  367. package/dist/ui/progress.d.mts +2 -2
  368. package/dist/ui/progress.mjs +1 -1
  369. package/dist/ui/radio-group.cjs +1 -1
  370. package/dist/ui/radio-group.d.cts +3 -3
  371. package/dist/ui/radio-group.d.mts +3 -3
  372. package/dist/ui/radio-group.mjs +1 -1
  373. package/dist/ui/resizable.cjs +1 -1
  374. package/dist/ui/resizable.d.cts +9 -9
  375. package/dist/ui/resizable.d.mts +9 -9
  376. package/dist/ui/resizable.mjs +1 -1
  377. package/dist/ui/scroll-area.d.cts +5 -5
  378. package/dist/ui/scroll-area.d.mts +5 -5
  379. package/dist/ui/select.cjs +1 -1
  380. package/dist/ui/select.d.cts +9 -9
  381. package/dist/ui/select.d.mts +9 -9
  382. package/dist/ui/select.mjs +1 -1
  383. package/dist/ui/separator.cjs +1 -1
  384. package/dist/ui/separator.d.cts +2 -2
  385. package/dist/ui/separator.d.mts +2 -2
  386. package/dist/ui/separator.mjs +1 -1
  387. package/dist/ui/sheet.cjs +1 -1
  388. package/dist/ui/sheet.d.cts +9 -9
  389. package/dist/ui/sheet.d.mts +9 -9
  390. package/dist/ui/sheet.mjs +1 -1
  391. package/dist/ui/skeleton.d.cts +2 -2
  392. package/dist/ui/skeleton.d.mts +2 -2
  393. package/dist/ui/skeleton.mjs +1 -1
  394. package/dist/ui/slider.d.cts +2 -2
  395. package/dist/ui/slider.d.mts +2 -2
  396. package/dist/ui/sonner.d.cts +2 -2
  397. package/dist/ui/sonner.d.mts +2 -2
  398. package/dist/ui/spinner.cjs +1 -1
  399. package/dist/ui/spinner.d.cts +2 -2
  400. package/dist/ui/spinner.d.mts +2 -2
  401. package/dist/ui/spinner.mjs +1 -1
  402. package/dist/ui/switch.cjs +1 -1
  403. package/dist/ui/switch.d.cts +2 -2
  404. package/dist/ui/switch.d.mts +2 -2
  405. package/dist/ui/switch.mjs +1 -1
  406. package/dist/ui/table.d.cts +17 -17
  407. package/dist/ui/table.d.mts +17 -17
  408. package/dist/ui/tabs.d.cts +5 -5
  409. package/dist/ui/tabs.d.mts +5 -5
  410. package/dist/ui/textarea.cjs +1 -1
  411. package/dist/ui/textarea.d.cts +2 -2
  412. package/dist/ui/textarea.d.mts +2 -2
  413. package/dist/ui/textarea.mjs +1 -1
  414. package/dist/ui/toggle-group.d.cts +3 -3
  415. package/dist/ui/toggle-group.d.mts +3 -3
  416. package/dist/ui/toggle.d.cts +4 -4
  417. package/dist/ui/toggle.d.mts +4 -4
  418. package/dist/ui/tooltip.d.cts +5 -5
  419. package/dist/ui/tooltip.d.mts +5 -5
  420. package/dist/ui/tooltip.mjs +1 -1
  421. package/dist/{user-DexjSvGZ.mjs → user-D8Skw8dI.mjs} +2 -2
  422. package/dist/{user-DexjSvGZ.mjs.map → user-D8Skw8dI.mjs.map} +1 -1
  423. package/dist/{user-CQY0YnAc.cjs → user-Dns1BKaT.cjs} +2 -2
  424. package/dist/{user-CQY0YnAc.cjs.map → user-Dns1BKaT.cjs.map} +1 -1
  425. package/package.json +1 -5
  426. package/dist/data-display/statistic.cjs.map +0 -1
  427. package/dist/data-display/statistic.mjs.map +0 -1
  428. package/dist/dialog-DEnyBH2X.cjs +0 -2
  429. package/dist/dialog-DEnyBH2X.cjs.map +0 -1
  430. package/dist/dialog-jqiIqxlm.mjs +0 -2
  431. package/dist/dialog-jqiIqxlm.mjs.map +0 -1
  432. package/dist/tables-BQ-QiA1V.mjs +0 -4
  433. package/dist/tables-BQ-QiA1V.mjs.map +0 -1
  434. package/dist/tables-LRWPOv2a.cjs +0 -4
  435. package/dist/tables-LRWPOv2a.cjs.map +0 -1
  436. package/dist/ui/sidebar.cjs +0 -2
  437. package/dist/ui/sidebar.cjs.map +0 -1
  438. package/dist/ui/sidebar.d.cts +0 -264
  439. package/dist/ui/sidebar.d.mts +0 -264
  440. package/dist/ui/sidebar.mjs +0 -2
  441. package/dist/ui/sidebar.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react256 from "react";
1
+ import * as react84 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>): react256.JSX.Element;
26
+ }: React.ComponentProps<typeof Drawer$1.Root>): react84.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>): react256.JSX.Element;
30
+ }: React.ComponentProps<typeof Drawer$1.Trigger>): react84.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>): react256.JSX.Element;
34
+ }: React.ComponentProps<typeof Drawer$1.Portal>): react84.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>): react256.JSX.Element;
38
+ }: React.ComponentProps<typeof Drawer$1.Close>): react84.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>): react256.JSX.Element;
43
+ }: React.ComponentProps<typeof Drawer$1.Overlay>): react84.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>): react256.JSX.Element;
49
+ }: React.ComponentProps<typeof Drawer$1.Content>): react84.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'>): react256.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react84.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'>): react256.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react84.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>): react256.JSX.Element;
64
+ }: React.ComponentProps<typeof Drawer$1.Title>): react84.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>): react256.JSX.Element;
69
+ }: React.ComponentProps<typeof Drawer$1.Description>): react84.JSX.Element;
70
70
  //#endregion
71
71
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
72
72
  //# sourceMappingURL=drawer.d.mts.map
@@ -1 +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-j9wcVE50.mjs";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
+ "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-CMD7JWH8.mjs";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 +1 @@
1
- "use client";const e=require(`../dropdown-menu-DMwvWoxe.cjs`);exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
1
+ "use client";const e=require(`../dropdown-menu-Bz7oMQ36.cjs`);exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
@@ -1,4 +1,4 @@
1
- import * as react90 from "react";
1
+ import * as react190 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>): react90.JSX.Element;
29
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): react190.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>): react90.JSX.Element;
33
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react190.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>): react90.JSX.Element;
37
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react190.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>): react90.JSX.Element;
44
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): react190.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>): react90.JSX.Element;
48
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): react190.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
- }): react90.JSX.Element;
63
+ }): react190.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>): react90.JSX.Element;
70
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react190.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>): react90.JSX.Element;
74
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react190.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>): react90.JSX.Element;
80
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react190.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
- }): react90.JSX.Element;
92
+ }): react190.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>): react90.JSX.Element;
97
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react190.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'>): react90.JSX.Element;
102
+ }: React.ComponentProps<'span'>): react190.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>): react90.JSX.Element;
106
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react190.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
- }): react90.JSX.Element;
119
+ }): react190.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>): react90.JSX.Element;
124
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react190.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 react111 from "react";
1
+ import * as react134 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>): react111.JSX.Element;
29
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): react134.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>): react111.JSX.Element;
33
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react134.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>): react111.JSX.Element;
37
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react134.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>): react111.JSX.Element;
44
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): react134.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>): react111.JSX.Element;
48
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): react134.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
- }): react111.JSX.Element;
63
+ }): react134.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>): react111.JSX.Element;
70
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react134.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>): react111.JSX.Element;
74
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react134.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>): react111.JSX.Element;
80
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react134.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
- }): react111.JSX.Element;
92
+ }): react134.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>): react111.JSX.Element;
97
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): react134.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'>): react111.JSX.Element;
102
+ }: React.ComponentProps<'span'>): react134.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>): react111.JSX.Element;
106
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): react134.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
- }): react111.JSX.Element;
119
+ }): react134.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>): react111.JSX.Element;
124
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react134.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.mts.map
@@ -1 +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-B_uBxY94.mjs";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
+ "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-C6tRSumY.mjs";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 react246 from "react";
2
- import * as class_variance_authority_types10 from "class-variance-authority/types";
1
+ import * as react81 from "react";
2
+ import * as class_variance_authority_types4 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'>): react246.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react81.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'>): react246.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react81.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
- } & class_variance_authority_types10.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>): react246.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react81.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'>): react246.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react81.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'>): react246.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react81.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'>): react246.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react81.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 react66 from "react";
1
+ import * as react128 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types4 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types5 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_types4 from "class-variance-authority/types
29
29
  declare function Empty({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react66.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react128.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'>): react66.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react128.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
- } & class_variance_authority_types4.ClassProp) | undefined) => string;
40
+ } & class_variance_authority_types5.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>): react66.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react128.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'>): react66.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react128.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'>): react66.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react128.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'>): react66.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react128.JSX.Element;
66
66
  //#endregion
67
67
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
68
68
  //# sourceMappingURL=empty.d.mts.map
package/dist/ui/field.cjs CHANGED
@@ -1 +1 @@
1
- "use client";require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const e=require(`../field-BxFpcOV1.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
1
+ "use client";require(`../separator-CBup_ah1.cjs`),require(`../label-eIyGIRyw.cjs`);const e=require(`../field-pfL7RWcN.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.cjs";
2
- import * as react108 from "react";
3
- import * as class_variance_authority_types4 from "class-variance-authority/types";
2
+ import * as react105 from "react";
3
+ import * as class_variance_authority_types5 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: react108.MemoExoticComponent<({
7
+ declare const FieldSet: react105.MemoExoticComponent<({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<"fieldset">) => react108.JSX.Element>;
11
- declare const FieldLegend: react108.MemoExoticComponent<({
10
+ }: React.ComponentProps<"fieldset">) => react105.JSX.Element>;
11
+ declare const FieldLegend: react105.MemoExoticComponent<({
12
12
  className,
13
13
  variant,
14
14
  ...props
15
15
  }: React.ComponentProps<"legend"> & {
16
16
  variant?: "legend" | "label";
17
- }) => react108.JSX.Element>;
18
- declare const FieldGroup: react108.MemoExoticComponent<({
17
+ }) => react105.JSX.Element>;
18
+ declare const FieldGroup: react105.MemoExoticComponent<({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<"div">) => react108.JSX.Element>;
21
+ }: React.ComponentProps<"div">) => react105.JSX.Element>;
22
22
  declare const fieldVariants: (props?: ({
23
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
24
- } & class_variance_authority_types4.ClassProp) | undefined) => string;
25
- declare const Field: react108.MemoExoticComponent<({
23
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
25
+ declare const Field: react105.MemoExoticComponent<({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react108.JSX.Element>;
30
- declare const FieldContent: react108.MemoExoticComponent<({
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react105.JSX.Element>;
30
+ declare const FieldContent: react105.MemoExoticComponent<({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<"div">) => react108.JSX.Element>;
34
- declare const FieldLabel: react108.MemoExoticComponent<({
33
+ }: React.ComponentProps<"div">) => react105.JSX.Element>;
34
+ declare const FieldLabel: react105.MemoExoticComponent<({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Label>) => react108.JSX.Element>;
38
- declare const FieldTitle: react108.MemoExoticComponent<({
37
+ }: React.ComponentProps<typeof Label>) => react105.JSX.Element>;
38
+ declare const FieldTitle: react105.MemoExoticComponent<({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">) => react108.JSX.Element>;
42
- declare const FieldDescription: react108.MemoExoticComponent<({
41
+ }: React.ComponentProps<"div">) => react105.JSX.Element>;
42
+ declare const FieldDescription: react105.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"p">) => react108.JSX.Element>;
46
- declare const FieldSeparator: react108.MemoExoticComponent<({
45
+ }: React.ComponentProps<"p">) => react105.JSX.Element>;
46
+ declare const FieldSeparator: react105.MemoExoticComponent<({
47
47
  children,
48
48
  className,
49
49
  ...props
50
50
  }: React.ComponentProps<"div"> & {
51
51
  children?: React.ReactNode;
52
- }) => react108.JSX.Element>;
53
- declare const FieldError: react108.MemoExoticComponent<({
52
+ }) => react105.JSX.Element>;
53
+ declare const FieldError: react105.MemoExoticComponent<({
54
54
  className,
55
55
  children,
56
56
  errors,
@@ -59,7 +59,7 @@ declare const FieldError: react108.MemoExoticComponent<({
59
59
  errors?: Array<{
60
60
  message?: string;
61
61
  } | undefined>;
62
- }) => react108.JSX.Element | null>;
62
+ }) => react105.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
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.mjs";
2
- import * as react172 from "react";
2
+ import * as react162 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types7 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types6 from "class-variance-authority/types";
5
5
 
6
6
  //#region packages/components/ui/field.d.ts
7
- declare const FieldSet: react172.MemoExoticComponent<({
7
+ declare const FieldSet: react162.MemoExoticComponent<({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<"fieldset">) => react172.JSX.Element>;
11
- declare const FieldLegend: react172.MemoExoticComponent<({
10
+ }: React.ComponentProps<"fieldset">) => react162.JSX.Element>;
11
+ declare const FieldLegend: react162.MemoExoticComponent<({
12
12
  className,
13
13
  variant,
14
14
  ...props
15
15
  }: React.ComponentProps<"legend"> & {
16
16
  variant?: "legend" | "label";
17
- }) => react172.JSX.Element>;
18
- declare const FieldGroup: react172.MemoExoticComponent<({
17
+ }) => react162.JSX.Element>;
18
+ declare const FieldGroup: react162.MemoExoticComponent<({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<"div">) => react172.JSX.Element>;
21
+ }: React.ComponentProps<"div">) => react162.JSX.Element>;
22
22
  declare const fieldVariants: (props?: ({
23
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
24
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
25
- declare const Field: react172.MemoExoticComponent<({
23
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
25
+ declare const Field: react162.MemoExoticComponent<({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react172.JSX.Element>;
30
- declare const FieldContent: react172.MemoExoticComponent<({
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react162.JSX.Element>;
30
+ declare const FieldContent: react162.MemoExoticComponent<({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<"div">) => react172.JSX.Element>;
34
- declare const FieldLabel: react172.MemoExoticComponent<({
33
+ }: React.ComponentProps<"div">) => react162.JSX.Element>;
34
+ declare const FieldLabel: react162.MemoExoticComponent<({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Label>) => react172.JSX.Element>;
38
- declare const FieldTitle: react172.MemoExoticComponent<({
37
+ }: React.ComponentProps<typeof Label>) => react162.JSX.Element>;
38
+ declare const FieldTitle: react162.MemoExoticComponent<({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">) => react172.JSX.Element>;
42
- declare const FieldDescription: react172.MemoExoticComponent<({
41
+ }: React.ComponentProps<"div">) => react162.JSX.Element>;
42
+ declare const FieldDescription: react162.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"p">) => react172.JSX.Element>;
46
- declare const FieldSeparator: react172.MemoExoticComponent<({
45
+ }: React.ComponentProps<"p">) => react162.JSX.Element>;
46
+ declare const FieldSeparator: react162.MemoExoticComponent<({
47
47
  children,
48
48
  className,
49
49
  ...props
50
50
  }: React.ComponentProps<"div"> & {
51
51
  children?: React.ReactNode;
52
- }) => react172.JSX.Element>;
53
- declare const FieldError: react172.MemoExoticComponent<({
52
+ }) => react162.JSX.Element>;
53
+ declare const FieldError: react162.MemoExoticComponent<({
54
54
  className,
55
55
  children,
56
56
  errors,
@@ -59,7 +59,7 @@ declare const FieldError: react172.MemoExoticComponent<({
59
59
  errors?: Array<{
60
60
  message?: string;
61
61
  } | undefined>;
62
- }) => react172.JSX.Element | null>;
62
+ }) => react162.JSX.Element | null>;
63
63
  //#endregion
64
64
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
65
  //# sourceMappingURL=field.d.mts.map
package/dist/ui/field.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";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-B8RhxRCu.mjs";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
+ "use client";import"../separator-C6s-YvlT.mjs";import"../label-D9uNQ9b_.mjs";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-DhgAIueI.mjs";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,3 +1,3 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`),n=require(`../progress-BXWPPNt5.cjs`);let r=require(`lucide-react`),i=require(`react`),a=require(`@customafk/react-toolkit/utils`),o=require(`react/jsx-runtime`),s=require(`react-dropzone`);s=e.t(s);let c=require(`@customafk/react-toolkit/hooks/useControllableState`),l=require(`sonner`);function u(e){let{value:t,onValueChange:n,onUpload:u,progresses:p,accept:m={"image/*":[]},maxSize:h=1024*1024*2,maxFileCount:g=1,multiple:_=!1,disabled:v=!1,showText:y=!0,iconSize:b,className:x,...S}=e,[C,w]=(0,c.useControllableState)({prop:t,onChange:n}),T=(0,i.useCallback)((e,t)=>{if(!_&&g===1&&e.length>1){l.toast.error(`Cannot upload more than 1 file at a time`);return}if((C?.length??0)+e.length>g){l.toast.error(`Cannot upload more than ${g} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=C?[...C,...n]:n;if(w(r),t.length>0&&t.forEach(({file:e})=>{l.toast.error(`File ${e.name} was rejected`)}),u&&r.length>0&&r.length<=g){let e=r.length>0?`${r.length} files`:`file`;u(r).then(()=>{w([]),(0,l.toast)(`${e} uploaded`)})}},[C,g,_,u,w]);function E(e){if(!C)return;f(C[e])&&URL.revokeObjectURL(C[e].preview);let t=C.filter((t,n)=>n!==e);w(t),n?.(t)}(0,i.useEffect)(()=>()=>{C&&C.forEach(e=>{f(e)&&URL.revokeObjectURL(e.preview)})},[]);let D=v||(C?.length??0)>=g;return(0,o.jsxs)(`div`,{className:`relative flex w-full flex-col gap-6`,children:[(0,o.jsx)(s.default,{onDrop:T,accept:m,maxSize:h,maxFiles:g,multiple:g>1||_,disabled:D,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>(0,o.jsxs)(`div`,{...e(),className:(0,a.cn)(`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`,D&&`pointer-events-none opacity-60`,x),...S,children:[(0,o.jsx)(`input`,{...t()}),n?(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),(0,o.jsx)(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{size:b||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),y&&(0,o.jsxs)(`div`,{className:`flex flex-col gap-px`,children:[(0,o.jsxs)(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),(0,o.jsxs)(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,g>1?` ${g===1/0?`multiple`:g}
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`),n=require(`../progress-CDYA2V-W.cjs`);let r=require(`lucide-react`),i=require(`react`),a=require(`@customafk/react-toolkit/utils`),o=require(`react/jsx-runtime`),s=require(`react-dropzone`);s=e.t(s);let c=require(`@customafk/react-toolkit/hooks/useControllableState`),l=require(`sonner`);function u(e){let{value:t,onValueChange:n,onUpload:u,progresses:p,accept:m={"image/*":[]},maxSize:h=1024*1024*2,maxFileCount:g=1,multiple:_=!1,disabled:v=!1,showText:y=!0,iconSize:b,className:x,...S}=e,[C,w]=(0,c.useControllableState)({prop:t,onChange:n}),T=(0,i.useCallback)((e,t)=>{if(!_&&g===1&&e.length>1){l.toast.error(`Cannot upload more than 1 file at a time`);return}if((C?.length??0)+e.length>g){l.toast.error(`Cannot upload more than ${g} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=C?[...C,...n]:n;if(w(r),t.length>0&&t.forEach(({file:e})=>{l.toast.error(`File ${e.name} was rejected`)}),u&&r.length>0&&r.length<=g){let e=r.length>0?`${r.length} files`:`file`;u(r).then(()=>{w([]),(0,l.toast)(`${e} uploaded`)})}},[C,g,_,u,w]);function E(e){if(!C)return;f(C[e])&&URL.revokeObjectURL(C[e].preview);let t=C.filter((t,n)=>n!==e);w(t),n?.(t)}(0,i.useEffect)(()=>()=>{C&&C.forEach(e=>{f(e)&&URL.revokeObjectURL(e.preview)})},[]);let D=v||(C?.length??0)>=g;return(0,o.jsxs)(`div`,{className:`relative flex w-full flex-col gap-6`,children:[(0,o.jsx)(s.default,{onDrop:T,accept:m,maxSize:h,maxFiles:g,multiple:g>1||_,disabled:D,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>(0,o.jsxs)(`div`,{...e(),className:(0,a.cn)(`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`,D&&`pointer-events-none opacity-60`,x),...S,children:[(0,o.jsx)(`input`,{...t()}),n?(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),(0,o.jsx)(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{size:b||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),y&&(0,o.jsxs)(`div`,{className:`flex flex-col gap-px`,children:[(0,o.jsxs)(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),(0,o.jsxs)(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,g>1?` ${g===1/0?`multiple`:g}
2
2
  files (up to ${(0,a.formatBytes)(h)} each)`:` a file with ${(0,a.formatBytes)(h)}`]})]})]})]})}),C?.length?(0,o.jsxs)(`div`,{className:`h-fit w-full overflow-y-auto`,children:[(0,o.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[(0,o.jsxs)(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[(0,o.jsx)(r.Image,{size:16,"aria-hidden":`true`}),(0,o.jsxs)(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,C.length,`)`]})]}),(0,o.jsxs)(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{C&&(C.forEach(e=>{f(e)&&URL.revokeObjectURL(e.preview)}),w([]),n?.([]))},children:[(0,o.jsx)(r.Trash2,{size:16,"aria-hidden":`true`}),(0,o.jsx)(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),(0,o.jsx)(`div`,{className:`flex flex-col gap-2.5`,children:C?.map((e,t)=>(0,o.jsx)(d,{file:e,onRemove:()=>E(t),progress:p?.[e.name]},t))})]}):null]})}function d({file:e,progress:i,onRemove:s}){return(0,o.jsxs)(`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:[(0,o.jsxs)(`div`,{className:`flex flex-1 gap-2.5`,children:[f(e)?(0,o.jsx)(p,{file:e}):null,(0,o.jsxs)(`div`,{className:`flex w-full flex-col gap-2`,children:[(0,o.jsxs)(`div`,{className:`flex flex-col gap-y-0.5`,children:[(0,o.jsx)(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:e.name}),(0,o.jsx)(`p`,{className:`text-text-positive-muted text-xs`,children:(0,a.formatBytes)(e.size)})]}),i?(0,o.jsx)(n.t,{value:i}):null]})]}),(0,o.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,o.jsxs)(t.t,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:s,children:[(0,o.jsx)(r.Trash2,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),(0,o.jsx)(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function f(e){return`preview`in e&&typeof e.preview==`string`}function p({file:e}){return e.type.startsWith(`image/`)?(0,o.jsx)(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):(0,o.jsx)(r.FileText,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}exports.FileUploader=u;
3
3
  //# sourceMappingURL=file-uploader.cjs.map
@@ -1,4 +1,4 @@
1
- import * as react105 from "react";
1
+ import * as react189 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): react105.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react189.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.cts.map