@customafk/lunas-ui 0.2.25 → 0.2.27

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 (527) hide show
  1. package/dist/{alert-B7TDxb35.cjs → alert-6_f_JgU-.cjs} +2 -2
  2. package/dist/{alert-B7TDxb35.cjs.map → alert-6_f_JgU-.cjs.map} +1 -1
  3. package/dist/{alert-C-Y4ZWNd.mjs → alert-BSAtkBnX.mjs} +2 -2
  4. package/dist/{alert-C-Y4ZWNd.mjs.map → alert-BSAtkBnX.mjs.map} +1 -1
  5. package/dist/{alert-CMZEZjzm.d.cts → alert-Bbooe3K0.d.cts} +8 -8
  6. package/dist/{alert-BETfoslt.d.mts → alert-Ck2z0ECv.d.mts} +6 -6
  7. package/dist/avatar-CK1R4r0j.mjs +2 -0
  8. package/dist/{avatar-SJmvlfqm.mjs.map → avatar-CK1R4r0j.mjs.map} +1 -1
  9. package/dist/avatar-aVxo69zP.cjs +2 -0
  10. package/dist/{avatar-CTS9-raY.cjs.map → avatar-aVxo69zP.cjs.map} +1 -1
  11. package/dist/{badge-9z9Eg_bC.d.cts → badge-BUDQIgSz.d.mts} +7 -7
  12. package/dist/{badge-uQ0pIZbQ.cjs → badge-DMnKV_uW.cjs} +2 -2
  13. package/dist/{badge-uQ0pIZbQ.cjs.map → badge-DMnKV_uW.cjs.map} +1 -1
  14. package/dist/{badge-BTtXqVuq.d.mts → badge-Dxa365-r.d.cts} +7 -7
  15. package/dist/{badge-DSwkF4C4.mjs → badge-utjRo-lW.mjs} +2 -2
  16. package/dist/{badge-DSwkF4C4.mjs.map → badge-utjRo-lW.mjs.map} +1 -1
  17. package/dist/button-BqxBQ4Kr.mjs +2 -0
  18. package/dist/{button-Bc8L9sFb.mjs.map → button-BqxBQ4Kr.mjs.map} +1 -1
  19. package/dist/button-Bu4ejNOW.cjs +2 -0
  20. package/dist/{button-CwDT3m4m.cjs.map → button-Bu4ejNOW.cjs.map} +1 -1
  21. package/dist/{button-y6EPgwvZ.d.cts → button-C7IuBgb_.d.cts} +7 -7
  22. package/dist/{button-DGSNru3Z.d.mts → button-u7M3BQF5.d.mts} +5 -5
  23. package/dist/{calendar-C2psGpju.mjs → calendar-CHVujBHK.mjs} +2 -2
  24. package/dist/{calendar-C2psGpju.mjs.map → calendar-CHVujBHK.mjs.map} +1 -1
  25. package/dist/{calendar-BMXIBCsr.cjs → calendar-ChaYPTJO.cjs} +2 -2
  26. package/dist/{calendar-BMXIBCsr.cjs.map → calendar-ChaYPTJO.cjs.map} +1 -1
  27. package/dist/cards/grid-product-card.cjs +1 -1
  28. package/dist/cards/grid-product-card.mjs +1 -1
  29. package/dist/cards/product-card.cjs +1 -1
  30. package/dist/cards/product-card.mjs +1 -1
  31. package/dist/cards/simple-card.cjs +1 -1
  32. package/dist/cards/simple-card.d.cts +2 -2
  33. package/dist/cards/simple-card.d.mts +2 -2
  34. package/dist/cards/simple-card.mjs +1 -1
  35. package/dist/{checkbox-Di7ACavC.cjs → checkbox-BQ_TclX9.cjs} +2 -2
  36. package/dist/{checkbox-Di7ACavC.cjs.map → checkbox-BQ_TclX9.cjs.map} +1 -1
  37. package/dist/{checkbox-Bwy_4QS_.mjs → checkbox-CJsl9OjF.mjs} +2 -2
  38. package/dist/{checkbox-Bwy_4QS_.mjs.map → checkbox-CJsl9OjF.mjs.map} +1 -1
  39. package/dist/close-BMhGSmGs.mjs +2 -0
  40. package/dist/{close-BS6EeCrQ.mjs.map → close-BMhGSmGs.mjs.map} +1 -1
  41. package/dist/{close-DXk_H3Gt.cjs → close-DUBEKxhw.cjs} +2 -2
  42. package/dist/{close-DXk_H3Gt.cjs.map → close-DUBEKxhw.cjs.map} +1 -1
  43. package/dist/{cms-layout-DCODI3eE.mjs → cms-layout--NUD8VVh.mjs} +2 -2
  44. package/dist/{cms-layout-DCODI3eE.mjs.map → cms-layout--NUD8VVh.mjs.map} +1 -1
  45. package/dist/{cms-layout-mgZdCNOL.cjs → cms-layout-COfACv3M.cjs} +2 -2
  46. package/dist/{cms-layout-mgZdCNOL.cjs.map → cms-layout-COfACv3M.cjs.map} +1 -1
  47. package/dist/{command-B5DpL6OG.mjs → command-Bvauothg.mjs} +2 -2
  48. package/dist/{command-B5DpL6OG.mjs.map → command-Bvauothg.mjs.map} +1 -1
  49. package/dist/{command-SHd-d_o0.cjs → command-CTdjZi1F.cjs} +2 -2
  50. package/dist/{command-SHd-d_o0.cjs.map → command-CTdjZi1F.cjs.map} +1 -1
  51. package/dist/data-display/country.cjs +1 -1
  52. package/dist/data-display/country.mjs +1 -1
  53. package/dist/data-display/data-list.cjs +1 -1
  54. package/dist/data-display/data-list.mjs +1 -1
  55. package/dist/data-display/date-tooltip.cjs +1 -1
  56. package/dist/data-display/date-tooltip.mjs +1 -1
  57. package/dist/data-display/date.cjs +1 -1
  58. package/dist/data-display/date.mjs +1 -1
  59. package/dist/data-display/empty.cjs +1 -1
  60. package/dist/data-display/empty.mjs +1 -1
  61. package/dist/data-display/name.cjs +1 -1
  62. package/dist/data-display/name.mjs +1 -1
  63. package/dist/data-display/phone-number.cjs +1 -1
  64. package/dist/data-display/phone-number.mjs +1 -1
  65. package/dist/data-display/role-badge.cjs +1 -1
  66. package/dist/data-display/role-badge.mjs +1 -1
  67. package/dist/data-display/statistic.cjs +1 -1
  68. package/dist/data-display/statistic.d.cts +2 -3
  69. package/dist/data-display/statistic.d.mts +1 -2
  70. package/dist/data-display/statistic.mjs +1 -1
  71. package/dist/data-display/user.cjs +1 -1
  72. package/dist/data-display/user.mjs +1 -1
  73. package/dist/{date-D_nB7Lh1.mjs → date-BQ0c19uk.mjs} +2 -2
  74. package/dist/{date-D_nB7Lh1.mjs.map → date-BQ0c19uk.mjs.map} +1 -1
  75. package/dist/{date-a3RI5Pwo.cjs → date-DtajzNoy.cjs} +2 -2
  76. package/dist/{date-a3RI5Pwo.cjs.map → date-DtajzNoy.cjs.map} +1 -1
  77. package/dist/{dialog-Z2IoE4ra.d.mts → dialog-CvPMWn6Y.d.mts} +12 -12
  78. package/dist/{dialog-DPEdvGiI.d.cts → dialog-DE7tIKD6.d.cts} +12 -12
  79. package/dist/{dialog-o_68LQXd.cjs → dialog-DEnyBH2X.cjs} +2 -2
  80. package/dist/{dialog-o_68LQXd.cjs.map → dialog-DEnyBH2X.cjs.map} +1 -1
  81. package/dist/dialog-jqiIqxlm.mjs +2 -0
  82. package/dist/{dialog-DG4vMCr5.mjs.map → dialog-jqiIqxlm.mjs.map} +1 -1
  83. package/dist/dialogs/confirm-dialog.cjs +1 -1
  84. package/dist/dialogs/confirm-dialog.mjs +1 -1
  85. package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
  86. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
  87. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +27 -27
  88. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  89. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  90. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  91. package/dist/dialogs/error-dialog.cjs +1 -1
  92. package/dist/dialogs/error-dialog.mjs +1 -1
  93. package/dist/dialogs/loading-dialog.cjs +1 -1
  94. package/dist/dialogs/loading-dialog.mjs +1 -1
  95. package/dist/dist-CAeolvAH.cjs +2 -0
  96. package/dist/dist-CAeolvAH.cjs.map +1 -0
  97. package/dist/dist-DdGJ50nX.mjs +2 -0
  98. package/dist/dist-DdGJ50nX.mjs.map +1 -0
  99. package/dist/{dropdown-menu-BlsIwe4B.mjs → dropdown-menu-B_uBxY94.mjs} +2 -2
  100. package/dist/{dropdown-menu-BlsIwe4B.mjs.map → dropdown-menu-B_uBxY94.mjs.map} +1 -1
  101. package/dist/{dropdown-menu-Ct9BLGfa.cjs → dropdown-menu-DMwvWoxe.cjs} +2 -2
  102. package/dist/{dropdown-menu-Ct9BLGfa.cjs.map → dropdown-menu-DMwvWoxe.cjs.map} +1 -1
  103. package/dist/features/descriptions/index.cjs +1 -1
  104. package/dist/features/descriptions/index.d.cts +4 -5
  105. package/dist/features/descriptions/index.d.mts +6 -7
  106. package/dist/features/descriptions/index.mjs +1 -1
  107. package/dist/features/search-modal/index.cjs +1 -1
  108. package/dist/features/search-modal/index.d.cts +2 -2
  109. package/dist/features/search-modal/index.d.mts +2 -2
  110. package/dist/features/search-modal/index.mjs +1 -1
  111. package/dist/features/tables/index.cjs +1 -1
  112. package/dist/features/tables/index.d.cts +1 -1
  113. package/dist/features/tables/index.d.mts +2 -2
  114. package/dist/features/tables/index.mjs +1 -1
  115. package/dist/features/tanstack-form/index.cjs +1 -1
  116. package/dist/features/tanstack-form/index.d.cts +1 -1
  117. package/dist/features/tanstack-form/index.d.mts +1 -1
  118. package/dist/features/tanstack-form/index.mjs +1 -1
  119. package/dist/features/text-editor/index.cjs +1 -1
  120. package/dist/features/text-editor/index.d.cts +1 -1
  121. package/dist/features/text-editor/index.d.mts +1 -1
  122. package/dist/features/text-editor/index.mjs +1 -1
  123. package/dist/{field-Mn2bf2Ns.mjs → field-Bh7Hq4Lo.mjs} +2 -2
  124. package/dist/{field-Mn2bf2Ns.mjs.map → field-Bh7Hq4Lo.mjs.map} +1 -1
  125. package/dist/{field-enVJXFvC.cjs → field-DTGEedKl.cjs} +2 -2
  126. package/dist/{field-enVJXFvC.cjs.map → field-DTGEedKl.cjs.map} +1 -1
  127. package/dist/{flex-Br7F9Fln.mjs → flex-Bl5yzx6g.mjs} +2 -2
  128. package/dist/{flex-Br7F9Fln.mjs.map → flex-Bl5yzx6g.mjs.map} +1 -1
  129. package/dist/{flex-BbbogTsZ.cjs → flex-DYh2t8ft.cjs} +2 -2
  130. package/dist/{flex-BbbogTsZ.cjs.map → flex-DYh2t8ft.cjs.map} +1 -1
  131. package/dist/{heading-BnaNuvDS.mjs → heading-B1t9baTw.mjs} +2 -2
  132. package/dist/{heading-BnaNuvDS.mjs.map → heading-B1t9baTw.mjs.map} +1 -1
  133. package/dist/{heading-AKz5ewy-.cjs → heading-wUXEbicM.cjs} +2 -2
  134. package/dist/{heading-AKz5ewy-.cjs.map → heading-wUXEbicM.cjs.map} +1 -1
  135. package/dist/image-C4gMBmyV.mjs +2 -0
  136. package/dist/{image-C-CdKKP1.mjs.map → image-C4gMBmyV.mjs.map} +1 -1
  137. package/dist/image-Y7gCz7uE.cjs +2 -0
  138. package/dist/{image-B1Dm5LWk.cjs.map → image-Y7gCz7uE.cjs.map} +1 -1
  139. package/dist/{index-GMITpWH3.d.mts → index-C3dXDjdR.d.mts} +4 -4
  140. package/dist/{index-Che417mo.d.cts → index-CyBWPhx7.d.cts} +27 -28
  141. package/dist/{index-DQA0fwM5.d.cts → index-DPnJrJS9.d.mts} +676 -305
  142. package/dist/{index-C81U0XWP.d.cts → index-DpdXz-q5.d.cts} +4 -4
  143. package/dist/{index-qRmNM-0U.d.mts → index-UfOfYRNf.d.cts} +677 -306
  144. package/dist/{index-vsBzzlFs.d.mts → index-rE1M5FGs.d.mts} +27 -28
  145. package/dist/index.cjs +1 -1
  146. package/dist/index.d.cts +8 -8
  147. package/dist/index.d.mts +8 -8
  148. package/dist/index.mjs +1 -1
  149. package/dist/{input-BMOYFJYM.cjs → input-1ceJxxFI.cjs} +2 -2
  150. package/dist/{input-BMOYFJYM.cjs.map → input-1ceJxxFI.cjs.map} +1 -1
  151. package/dist/{input-CjubfyGk.d.cts → input-B9XN8dsE.d.cts} +6 -6
  152. package/dist/{input-DLRypEj3.mjs → input-CKFQdvqY.mjs} +2 -2
  153. package/dist/{input-DLRypEj3.mjs.map → input-CKFQdvqY.mjs.map} +1 -1
  154. package/dist/{input-DEChxakv.d.mts → input-ZL65yvYU.d.mts} +4 -4
  155. package/dist/{label-DYsRdKMt.cjs → label-BHbqbBtO.cjs} +2 -2
  156. package/dist/{label-DYsRdKMt.cjs.map → label-BHbqbBtO.cjs.map} +1 -1
  157. package/dist/label-CE2m0U_j.mjs +2 -0
  158. package/dist/{label-BukQnBn7.mjs.map → label-CE2m0U_j.mjs.map} +1 -1
  159. package/dist/layouts/cms-layout/index.cjs +1 -1
  160. package/dist/layouts/cms-layout/index.mjs +1 -1
  161. package/dist/layouts/flex.cjs +1 -1
  162. package/dist/layouts/flex.d.cts +5 -6
  163. package/dist/layouts/flex.d.mts +5 -6
  164. package/dist/layouts/flex.mjs +1 -1
  165. package/dist/layouts/grid.cjs +1 -1
  166. package/dist/layouts/grid.mjs +1 -1
  167. package/dist/layouts/payment-layout/index.cjs +1 -1
  168. package/dist/layouts/payment-layout/index.mjs +1 -1
  169. package/dist/pages/FeatureDeveloping.cjs +1 -1
  170. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  171. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  172. package/dist/pages/FeatureDeveloping.mjs +1 -1
  173. package/dist/pages/FeatureFixing.cjs +1 -1
  174. package/dist/pages/FeatureFixing.d.cts +2 -2
  175. package/dist/pages/FeatureFixing.d.mts +2 -2
  176. package/dist/pages/FeatureFixing.mjs +1 -1
  177. package/dist/pages/LoginPage.cjs +1 -1
  178. package/dist/pages/LoginPage.d.cts +2 -2
  179. package/dist/pages/LoginPage.d.mts +2 -2
  180. package/dist/pages/LoginPage.mjs +1 -1
  181. package/dist/pages/NotAuthorized.cjs +1 -1
  182. package/dist/pages/NotAuthorized.d.cts +2 -2
  183. package/dist/pages/NotAuthorized.d.mts +2 -2
  184. package/dist/pages/NotAuthorized.mjs +1 -1
  185. package/dist/pages/NotFound.cjs +1 -1
  186. package/dist/pages/NotFound.d.cts +2 -2
  187. package/dist/pages/NotFound.d.mts +2 -2
  188. package/dist/pages/NotFound.mjs +1 -1
  189. package/dist/pages/RegisterPage.cjs +1 -1
  190. package/dist/pages/RegisterPage.d.cts +2 -2
  191. package/dist/pages/RegisterPage.d.mts +2 -2
  192. package/dist/pages/RegisterPage.mjs +1 -1
  193. package/dist/pages/VerifyEmailPage.cjs +1 -1
  194. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  195. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  196. package/dist/pages/VerifyEmailPage.mjs +1 -1
  197. package/dist/{paragraph-DN85Huc4.cjs → paragraph-D-JHj7EP.cjs} +2 -2
  198. package/dist/{paragraph-DN85Huc4.cjs.map → paragraph-D-JHj7EP.cjs.map} +1 -1
  199. package/dist/{paragraph-CnHNC0rS.mjs → paragraph-J_QbLq9_.mjs} +2 -2
  200. package/dist/{paragraph-CnHNC0rS.mjs.map → paragraph-J_QbLq9_.mjs.map} +1 -1
  201. package/dist/{payment-layout-DquWXt_w.cjs → payment-layout-8rRJJa0f.cjs} +2 -2
  202. package/dist/{payment-layout-DquWXt_w.cjs.map → payment-layout-8rRJJa0f.cjs.map} +1 -1
  203. package/dist/{payment-layout-YLfa3T79.mjs → payment-layout-BdGZbGO-.mjs} +2 -2
  204. package/dist/{payment-layout-YLfa3T79.mjs.map → payment-layout-BdGZbGO-.mjs.map} +1 -1
  205. package/dist/popover-BCzVvfnV.mjs +2 -0
  206. package/dist/{popover-DvGJ23lJ.mjs.map → popover-BCzVvfnV.mjs.map} +1 -1
  207. package/dist/{popover-AEt-aSy3.cjs → popover-Bnrgg4do.cjs} +2 -2
  208. package/dist/{popover-AEt-aSy3.cjs.map → popover-Bnrgg4do.cjs.map} +1 -1
  209. package/dist/progress-BXWPPNt5.cjs +2 -0
  210. package/dist/{progress-DE1FdQ1J.cjs.map → progress-BXWPPNt5.cjs.map} +1 -1
  211. package/dist/progress-BcEEbgJJ.mjs +2 -0
  212. package/dist/{progress-2G9rCupJ.mjs.map → progress-BcEEbgJJ.mjs.map} +1 -1
  213. package/dist/radio-group-CsmpBZTK.mjs +2 -0
  214. package/dist/{radio-group-fN6o0QBx.mjs.map → radio-group-CsmpBZTK.mjs.map} +1 -1
  215. package/dist/{radio-group-C7FAAawm.cjs → radio-group-KMvVXCIk.cjs} +2 -2
  216. package/dist/{radio-group-C7FAAawm.cjs.map → radio-group-KMvVXCIk.cjs.map} +1 -1
  217. package/dist/{resizable-DDPMwd28.cjs → resizable-C7uLlTGB.cjs} +2 -2
  218. package/dist/{resizable-DDPMwd28.cjs.map → resizable-C7uLlTGB.cjs.map} +1 -1
  219. package/dist/{resizable-BxsL978e.mjs → resizable-em2svgMz.mjs} +2 -2
  220. package/dist/{resizable-BxsL978e.mjs.map → resizable-em2svgMz.mjs.map} +1 -1
  221. package/dist/{search-modal-DZI6O6ua.mjs → search-modal-DyOsqK-4.mjs} +2 -2
  222. package/dist/{search-modal-DZI6O6ua.mjs.map → search-modal-DyOsqK-4.mjs.map} +1 -1
  223. package/dist/{search-modal-C-jNqQI1.cjs → search-modal-zmavzZRx.cjs} +2 -2
  224. package/dist/{search-modal-C-jNqQI1.cjs.map → search-modal-zmavzZRx.cjs.map} +1 -1
  225. package/dist/{select-Ze8Fq88G.mjs → select-C2Ro2wmj.mjs} +2 -2
  226. package/dist/{select-Ze8Fq88G.mjs.map → select-C2Ro2wmj.mjs.map} +1 -1
  227. package/dist/{select-DzylYFes.cjs → select-DHiTqZeX.cjs} +2 -2
  228. package/dist/{select-DzylYFes.cjs.map → select-DHiTqZeX.cjs.map} +1 -1
  229. package/dist/{separator-BwZb12bh.cjs → separator-jytY1CPq.cjs} +2 -2
  230. package/dist/{separator-BwZb12bh.cjs.map → separator-jytY1CPq.cjs.map} +1 -1
  231. package/dist/separator-yTKDuMWb.mjs +2 -0
  232. package/dist/{separator-DXnFHf3v.mjs.map → separator-yTKDuMWb.mjs.map} +1 -1
  233. package/dist/sheet-DDBCHwn6.mjs +2 -0
  234. package/dist/{sheet-GUUifKAd.mjs.map → sheet-DDBCHwn6.mjs.map} +1 -1
  235. package/dist/{sheet-CaDXTx7n.cjs → sheet-DuMrjidC.cjs} +2 -2
  236. package/dist/{sheet-CaDXTx7n.cjs.map → sheet-DuMrjidC.cjs.map} +1 -1
  237. package/dist/{sidebar-CcJCnqLb.cjs → sidebar-BXrGXVxx.cjs} +2 -2
  238. package/dist/{sidebar-CcJCnqLb.cjs.map → sidebar-BXrGXVxx.cjs.map} +1 -1
  239. package/dist/{sidebar-C_jArO1q.mjs → sidebar-De1RZMAG.mjs} +2 -2
  240. package/dist/{sidebar-C_jArO1q.mjs.map → sidebar-De1RZMAG.mjs.map} +1 -1
  241. package/dist/skeleton-CHympz8k.cjs +2 -0
  242. package/dist/{skeleton-BfMCjXYM.cjs.map → skeleton-CHympz8k.cjs.map} +1 -1
  243. package/dist/skeleton-Czl96pWA.mjs +2 -0
  244. package/dist/{skeleton-BLwzHejl.mjs.map → skeleton-Czl96pWA.mjs.map} +1 -1
  245. package/dist/spinner-CWUvnJQw.mjs +2 -0
  246. package/dist/{spinner-BaZ19Lla.mjs.map → spinner-CWUvnJQw.mjs.map} +1 -1
  247. package/dist/spinner-DgusnQMw.cjs +2 -0
  248. package/dist/{spinner-rA8pMY6v.cjs.map → spinner-DgusnQMw.cjs.map} +1 -1
  249. package/dist/{tables-EnSyNV7J.mjs → tables-BQ-QiA1V.mjs} +3 -3
  250. package/dist/{tables-EnSyNV7J.mjs.map → tables-BQ-QiA1V.mjs.map} +1 -1
  251. package/dist/{tables-CI2AZcbt.cjs → tables-LRWPOv2a.cjs} +3 -3
  252. package/dist/{tables-CI2AZcbt.cjs.map → tables-LRWPOv2a.cjs.map} +1 -1
  253. package/dist/tanstack-form--I4H53bf.cjs +2 -0
  254. package/dist/tanstack-form--I4H53bf.cjs.map +1 -0
  255. package/dist/tanstack-form-DKIudGKP.mjs +2 -0
  256. package/dist/tanstack-form-DKIudGKP.mjs.map +1 -0
  257. package/dist/text-editor-D182J9Y5.mjs +2 -0
  258. package/dist/{text-editor-ae2UTKW8.mjs.map → text-editor-D182J9Y5.mjs.map} +1 -1
  259. package/dist/text-editor-Dy3_hyNw.cjs +2 -0
  260. package/dist/{text-editor-BHmVZnEK.cjs.map → text-editor-Dy3_hyNw.cjs.map} +1 -1
  261. package/dist/{textarea-CEtUNLwy.mjs → textarea-Cvdq7UAn.mjs} +2 -2
  262. package/dist/{textarea-CEtUNLwy.mjs.map → textarea-Cvdq7UAn.mjs.map} +1 -1
  263. package/dist/{textarea-DZ86A_cm.cjs → textarea-SPXNe-iZ.cjs} +2 -2
  264. package/dist/{textarea-DZ86A_cm.cjs.map → textarea-SPXNe-iZ.cjs.map} +1 -1
  265. package/dist/tooltip-BMdzWaaH.mjs +2 -0
  266. package/dist/{tooltip-Cy0HbyAx.mjs.map → tooltip-BMdzWaaH.mjs.map} +1 -1
  267. package/dist/{tooltip-itUmYz9k.cjs → tooltip-DC6i1A25.cjs} +2 -2
  268. package/dist/{tooltip-itUmYz9k.cjs.map → tooltip-DC6i1A25.cjs.map} +1 -1
  269. package/dist/typography/paragraph.cjs +1 -1
  270. package/dist/typography/paragraph.d.cts +5 -5
  271. package/dist/typography/paragraph.d.mts +3 -3
  272. package/dist/typography/paragraph.mjs +1 -1
  273. package/dist/typography/title.cjs +1 -1
  274. package/dist/typography/title.d.cts +2 -3
  275. package/dist/typography/title.d.mts +2 -3
  276. package/dist/typography/title.mjs +1 -1
  277. package/dist/ui/alert-dialog.cjs +1 -1
  278. package/dist/ui/alert-dialog.d.cts +12 -12
  279. package/dist/ui/alert-dialog.d.mts +12 -12
  280. package/dist/ui/alert-dialog.mjs +1 -1
  281. package/dist/ui/alert.cjs +1 -1
  282. package/dist/ui/alert.d.cts +1 -1
  283. package/dist/ui/alert.d.mts +1 -1
  284. package/dist/ui/alert.mjs +1 -1
  285. package/dist/ui/aspect-ratio.cjs +1 -1
  286. package/dist/ui/aspect-ratio.d.cts +2 -2
  287. package/dist/ui/aspect-ratio.d.mts +2 -2
  288. package/dist/ui/aspect-ratio.mjs +1 -1
  289. package/dist/ui/avatar.cjs +1 -1
  290. package/dist/ui/avatar.d.cts +4 -4
  291. package/dist/ui/avatar.d.mts +4 -4
  292. package/dist/ui/avatar.mjs +1 -1
  293. package/dist/ui/badge.cjs +1 -1
  294. package/dist/ui/badge.d.cts +1 -1
  295. package/dist/ui/badge.d.mts +1 -1
  296. package/dist/ui/badge.mjs +1 -1
  297. package/dist/ui/breadcrumb.cjs +1 -1
  298. package/dist/ui/breadcrumb.d.cts +8 -8
  299. package/dist/ui/breadcrumb.d.mts +8 -8
  300. package/dist/ui/breadcrumb.mjs +1 -1
  301. package/dist/ui/button-group.cjs +1 -1
  302. package/dist/ui/button-group.d.cts +6 -6
  303. package/dist/ui/button-group.d.mts +6 -6
  304. package/dist/ui/button-group.mjs +1 -1
  305. package/dist/ui/button.cjs +1 -1
  306. package/dist/ui/button.d.cts +1 -1
  307. package/dist/ui/button.d.mts +1 -1
  308. package/dist/ui/button.mjs +1 -1
  309. package/dist/ui/buttons/add-new.cjs +1 -1
  310. package/dist/ui/buttons/add-new.mjs +1 -1
  311. package/dist/ui/buttons/edit.cjs +1 -1
  312. package/dist/ui/buttons/edit.mjs +1 -1
  313. package/dist/ui/buttons/refresh.cjs +1 -1
  314. package/dist/ui/buttons/refresh.mjs +1 -1
  315. package/dist/ui/buttons/trash.cjs +1 -1
  316. package/dist/ui/buttons/trash.mjs +1 -1
  317. package/dist/ui/buttons/upload-image.cjs +1 -1
  318. package/dist/ui/buttons/upload-image.mjs +1 -1
  319. package/dist/ui/calendar.cjs +1 -1
  320. package/dist/ui/calendar.d.cts +4 -4
  321. package/dist/ui/calendar.d.mts +4 -4
  322. package/dist/ui/calendar.mjs +1 -1
  323. package/dist/ui/card.cjs +1 -1
  324. package/dist/ui/card.d.cts +8 -8
  325. package/dist/ui/card.d.mts +8 -8
  326. package/dist/ui/card.mjs +1 -1
  327. package/dist/ui/carousel.cjs +1 -1
  328. package/dist/ui/carousel.d.cts +7 -7
  329. package/dist/ui/carousel.d.mts +7 -7
  330. package/dist/ui/carousel.mjs +1 -1
  331. package/dist/ui/checkbox.cjs +1 -1
  332. package/dist/ui/checkbox.d.cts +2 -2
  333. package/dist/ui/checkbox.d.mts +2 -2
  334. package/dist/ui/checkbox.mjs +1 -1
  335. package/dist/ui/collapsible.d.cts +4 -4
  336. package/dist/ui/collapsible.d.mts +4 -4
  337. package/dist/ui/command.cjs +1 -1
  338. package/dist/ui/command.d.cts +11 -11
  339. package/dist/ui/command.d.mts +11 -11
  340. package/dist/ui/command.mjs +1 -1
  341. package/dist/ui/context-menu.cjs +1 -1
  342. package/dist/ui/context-menu.d.cts +16 -16
  343. package/dist/ui/context-menu.d.mts +16 -16
  344. package/dist/ui/context-menu.mjs +1 -1
  345. package/dist/ui/dialog.cjs +1 -1
  346. package/dist/ui/dialog.d.cts +1 -1
  347. package/dist/ui/dialog.d.mts +1 -1
  348. package/dist/ui/dialog.mjs +1 -1
  349. package/dist/ui/drawer.cjs +1 -1
  350. package/dist/ui/drawer.d.cts +11 -11
  351. package/dist/ui/drawer.d.mts +11 -11
  352. package/dist/ui/drawer.mjs +1 -1
  353. package/dist/ui/dropdown-menu.cjs +1 -1
  354. package/dist/ui/dropdown-menu.d.cts +16 -16
  355. package/dist/ui/dropdown-menu.d.mts +16 -16
  356. package/dist/ui/dropdown-menu.mjs +1 -1
  357. package/dist/ui/empty.cjs +1 -1
  358. package/dist/ui/empty.d.cts +9 -9
  359. package/dist/ui/empty.d.mts +9 -9
  360. package/dist/ui/empty.mjs +1 -1
  361. package/dist/ui/field.cjs +1 -1
  362. package/dist/ui/field.d.cts +23 -24
  363. package/dist/ui/field.d.mts +23 -24
  364. package/dist/ui/field.mjs +1 -1
  365. package/dist/ui/file-uploader.cjs +2 -2
  366. package/dist/ui/file-uploader.d.cts +2 -2
  367. package/dist/ui/file-uploader.d.mts +2 -2
  368. package/dist/ui/file-uploader.mjs +2 -2
  369. package/dist/ui/form.cjs +1 -1
  370. package/dist/ui/form.d.cts +30 -12
  371. package/dist/ui/form.d.mts +30 -12
  372. package/dist/ui/form.mjs +1 -1
  373. package/dist/ui/hover-card.cjs +1 -1
  374. package/dist/ui/hover-card.d.cts +4 -4
  375. package/dist/ui/hover-card.d.mts +4 -4
  376. package/dist/ui/hover-card.mjs +1 -1
  377. package/dist/ui/image.cjs +1 -1
  378. package/dist/ui/image.mjs +1 -1
  379. package/dist/ui/input-otp.cjs +1 -1
  380. package/dist/ui/input-otp.d.cts +5 -5
  381. package/dist/ui/input-otp.d.mts +5 -5
  382. package/dist/ui/input-otp.mjs +1 -1
  383. package/dist/ui/input.cjs +1 -1
  384. package/dist/ui/input.d.cts +1 -1
  385. package/dist/ui/input.d.mts +1 -1
  386. package/dist/ui/input.mjs +1 -1
  387. package/dist/ui/inputs/search-input.cjs +1 -1
  388. package/dist/ui/inputs/search-input.d.cts +3 -3
  389. package/dist/ui/inputs/search-input.d.mts +3 -3
  390. package/dist/ui/inputs/search-input.mjs +1 -1
  391. package/dist/ui/item.cjs +1 -1
  392. package/dist/ui/item.d.cts +16 -16
  393. package/dist/ui/item.d.mts +13 -13
  394. package/dist/ui/item.mjs +1 -1
  395. package/dist/ui/label.cjs +1 -1
  396. package/dist/ui/label.d.cts +2 -2
  397. package/dist/ui/label.d.mts +2 -2
  398. package/dist/ui/label.mjs +1 -1
  399. package/dist/ui/menubar.cjs +1 -1
  400. package/dist/ui/menubar.d.cts +17 -17
  401. package/dist/ui/menubar.d.mts +17 -17
  402. package/dist/ui/menubar.mjs +1 -1
  403. package/dist/ui/multi-select.cjs +1 -1
  404. package/dist/ui/multi-select.d.cts +2 -2
  405. package/dist/ui/multi-select.d.mts +3 -3
  406. package/dist/ui/multi-select.mjs +1 -1
  407. package/dist/ui/navigation-menu.cjs +1 -1
  408. package/dist/ui/navigation-menu.d.cts +11 -11
  409. package/dist/ui/navigation-menu.d.mts +9 -9
  410. package/dist/ui/navigation-menu.mjs +1 -1
  411. package/dist/ui/pagination.cjs +1 -1
  412. package/dist/ui/pagination.d.cts +9 -9
  413. package/dist/ui/pagination.d.mts +9 -9
  414. package/dist/ui/pagination.mjs +1 -1
  415. package/dist/ui/popover.cjs +1 -1
  416. package/dist/ui/popover.d.cts +6 -6
  417. package/dist/ui/popover.d.mts +6 -6
  418. package/dist/ui/popover.mjs +1 -1
  419. package/dist/ui/progress.cjs +1 -1
  420. package/dist/ui/progress.d.cts +2 -2
  421. package/dist/ui/progress.d.mts +2 -2
  422. package/dist/ui/progress.mjs +1 -1
  423. package/dist/ui/radio-group.cjs +1 -1
  424. package/dist/ui/radio-group.d.cts +3 -3
  425. package/dist/ui/radio-group.d.mts +3 -3
  426. package/dist/ui/radio-group.mjs +1 -1
  427. package/dist/ui/resizable.cjs +1 -1
  428. package/dist/ui/resizable.d.cts +9 -9
  429. package/dist/ui/resizable.d.mts +9 -9
  430. package/dist/ui/resizable.mjs +1 -1
  431. package/dist/ui/scroll-area.cjs +1 -1
  432. package/dist/ui/scroll-area.d.cts +5 -6
  433. package/dist/ui/scroll-area.d.mts +5 -6
  434. package/dist/ui/scroll-area.mjs +1 -1
  435. package/dist/ui/select.cjs +1 -1
  436. package/dist/ui/select.d.cts +9 -9
  437. package/dist/ui/select.d.mts +9 -9
  438. package/dist/ui/select.mjs +1 -1
  439. package/dist/ui/separator.cjs +1 -1
  440. package/dist/ui/separator.d.cts +2 -2
  441. package/dist/ui/separator.d.mts +2 -2
  442. package/dist/ui/separator.mjs +1 -1
  443. package/dist/ui/sheet.cjs +1 -1
  444. package/dist/ui/sheet.d.cts +9 -9
  445. package/dist/ui/sheet.d.mts +9 -9
  446. package/dist/ui/sheet.mjs +1 -1
  447. package/dist/ui/sidebar.cjs +1 -1
  448. package/dist/ui/sidebar.d.cts +27 -27
  449. package/dist/ui/sidebar.d.mts +29 -29
  450. package/dist/ui/sidebar.mjs +1 -1
  451. package/dist/ui/skeleton.cjs +1 -1
  452. package/dist/ui/skeleton.d.cts +2 -2
  453. package/dist/ui/skeleton.d.mts +2 -2
  454. package/dist/ui/skeleton.mjs +1 -1
  455. package/dist/ui/slider.cjs +1 -1
  456. package/dist/ui/slider.d.cts +2 -2
  457. package/dist/ui/slider.d.mts +2 -2
  458. package/dist/ui/slider.mjs +1 -1
  459. package/dist/ui/sonner.d.cts +2 -2
  460. package/dist/ui/sonner.d.mts +2 -2
  461. package/dist/ui/spinner.cjs +1 -1
  462. package/dist/ui/spinner.d.cts +2 -2
  463. package/dist/ui/spinner.d.mts +2 -2
  464. package/dist/ui/spinner.mjs +1 -1
  465. package/dist/ui/switch.cjs +1 -1
  466. package/dist/ui/switch.d.cts +2 -2
  467. package/dist/ui/switch.d.mts +2 -2
  468. package/dist/ui/switch.mjs +1 -1
  469. package/dist/ui/table.cjs +1 -1
  470. package/dist/ui/table.d.cts +17 -18
  471. package/dist/ui/table.d.mts +17 -18
  472. package/dist/ui/table.mjs +1 -1
  473. package/dist/ui/tabs.cjs +1 -1
  474. package/dist/ui/tabs.d.cts +5 -5
  475. package/dist/ui/tabs.d.mts +5 -5
  476. package/dist/ui/tabs.mjs +1 -1
  477. package/dist/ui/textarea.cjs +1 -1
  478. package/dist/ui/textarea.d.cts +2 -2
  479. package/dist/ui/textarea.d.mts +2 -2
  480. package/dist/ui/textarea.mjs +1 -1
  481. package/dist/ui/toggle-group.cjs +1 -1
  482. package/dist/ui/toggle-group.d.cts +3 -3
  483. package/dist/ui/toggle-group.d.mts +3 -3
  484. package/dist/ui/toggle-group.mjs +1 -1
  485. package/dist/ui/toggle.cjs +1 -1
  486. package/dist/ui/toggle.d.cts +5 -5
  487. package/dist/ui/toggle.d.mts +5 -5
  488. package/dist/ui/toggle.mjs +1 -1
  489. package/dist/ui/tooltip.cjs +1 -1
  490. package/dist/ui/tooltip.d.cts +5 -5
  491. package/dist/ui/tooltip.d.mts +5 -5
  492. package/dist/ui/tooltip.mjs +1 -1
  493. package/dist/{user-BEyYLDNK.cjs → user-CQY0YnAc.cjs} +2 -2
  494. package/dist/{user-BEyYLDNK.cjs.map → user-CQY0YnAc.cjs.map} +1 -1
  495. package/dist/{user-DxSilm4V.mjs → user-DexjSvGZ.mjs} +2 -2
  496. package/dist/{user-DxSilm4V.mjs.map → user-DexjSvGZ.mjs.map} +1 -1
  497. package/package.json +1 -1
  498. package/dist/avatar-CTS9-raY.cjs +0 -2
  499. package/dist/avatar-SJmvlfqm.mjs +0 -2
  500. package/dist/button-Bc8L9sFb.mjs +0 -2
  501. package/dist/button-CwDT3m4m.cjs +0 -2
  502. package/dist/close-BS6EeCrQ.mjs +0 -2
  503. package/dist/dialog-DG4vMCr5.mjs +0 -2
  504. package/dist/dist-Dh8WwRa8.cjs +0 -2
  505. package/dist/dist-Dh8WwRa8.cjs.map +0 -1
  506. package/dist/dist-XxWAVHy8.mjs +0 -2
  507. package/dist/dist-XxWAVHy8.mjs.map +0 -1
  508. package/dist/image-B1Dm5LWk.cjs +0 -2
  509. package/dist/image-C-CdKKP1.mjs +0 -2
  510. package/dist/label-BukQnBn7.mjs +0 -2
  511. package/dist/popover-DvGJ23lJ.mjs +0 -2
  512. package/dist/progress-2G9rCupJ.mjs +0 -2
  513. package/dist/progress-DE1FdQ1J.cjs +0 -2
  514. package/dist/radio-group-fN6o0QBx.mjs +0 -2
  515. package/dist/separator-DXnFHf3v.mjs +0 -2
  516. package/dist/sheet-GUUifKAd.mjs +0 -2
  517. package/dist/skeleton-BLwzHejl.mjs +0 -2
  518. package/dist/skeleton-BfMCjXYM.cjs +0 -2
  519. package/dist/spinner-BaZ19Lla.mjs +0 -2
  520. package/dist/spinner-rA8pMY6v.cjs +0 -2
  521. package/dist/tanstack-form-C1EVQJ-n.mjs +0 -2
  522. package/dist/tanstack-form-C1EVQJ-n.mjs.map +0 -1
  523. package/dist/tanstack-form-D3SXGzZI.cjs +0 -2
  524. package/dist/tanstack-form-D3SXGzZI.cjs.map +0 -1
  525. package/dist/text-editor-BHmVZnEK.cjs +0 -2
  526. package/dist/text-editor-ae2UTKW8.mjs +0 -2
  527. package/dist/tooltip-Cy0HbyAx.mjs +0 -2
@@ -1,2 +1,2 @@
1
- const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./heading-AKz5ewy-.cjs`),n=require(`./paragraph-DN85Huc4.cjs`),r=require(`./close-DXk_H3Gt.cjs`);let i=require(`react/jsx-runtime`),a=require(`@customafk/react-toolkit/utils`),o=require(`radix-ui`);function s({...e}){return(0,i.jsx)(o.Dialog.Root,{"data-slot":`dialog`,...e})}function c({...e}){return(0,i.jsx)(o.Dialog.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return(0,i.jsx)(o.Dialog.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return(0,i.jsx)(o.Dialog.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...t}){return(0,i.jsx)(o.Dialog.Overlay,{"data-slot":`dialog-overlay`,className:(0,a.cn)(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`,e),...t})}function f({className:e,children:t,showCloseButton:n=!0,...s}){return(0,i.jsxs)(l,{children:[(0,i.jsx)(d,{}),(0,i.jsxs)(o.Dialog.Content,{"data-slot":`dialog-content`,className:(0,a.cn)(`fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2`,`grid w-full max-w-[calc(100%-2rem)] bg-background`,`max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200`,`sm:max-w-lg`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80`,e),...s,children:[t,n&&(0,i.jsx)(o.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:(0,i.jsx)(r.t,{})})]})]})}function p({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`dialog-header`,className:(0,a.cn)(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function m({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`dialog-footer`,className:(0,a.cn)(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function h({className:e,...n}){return(0,i.jsx)(o.Dialog.Title,{"data-slot":`dialog-title`,className:(0,a.cn)(t.t({level:`h3`}),e),...n})}function g({className:e,...t}){return(0,i.jsx)(o.Dialog.Description,{"data-slot":`dialog-description`,className:(0,a.cn)(n.n({variant:`muted`}),e),...t})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return c}});
2
- //# sourceMappingURL=dialog-o_68LQXd.cjs.map
1
+ const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./heading-wUXEbicM.cjs`),n=require(`./paragraph-D-JHj7EP.cjs`),r=require(`./close-DUBEKxhw.cjs`);let i=require(`@customafk/react-toolkit/utils`),a=require(`react/jsx-runtime`),o=require(`radix-ui`);function s({...e}){return(0,a.jsx)(o.Dialog.Root,{"data-slot":`dialog`,...e})}function c({...e}){return(0,a.jsx)(o.Dialog.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return(0,a.jsx)(o.Dialog.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return(0,a.jsx)(o.Dialog.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...t}){return(0,a.jsx)(o.Dialog.Overlay,{"data-slot":`dialog-overlay`,className:(0,i.cn)(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`,e),...t})}function f({className:e,children:t,showCloseButton:n=!0,...s}){return(0,a.jsxs)(l,{children:[(0,a.jsx)(d,{}),(0,a.jsxs)(o.Dialog.Content,{"data-slot":`dialog-content`,className:(0,i.cn)(`fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2`,`grid w-full max-w-[calc(100%-2rem)] bg-background`,`max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200`,`sm:max-w-lg`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80`,e),...s,children:[t,n&&(0,a.jsx)(o.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:(0,a.jsx)(r.t,{})})]})]})}function p({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`dialog-header`,className:(0,i.cn)(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function m({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`dialog-footer`,className:(0,i.cn)(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function h({className:e,...n}){return(0,a.jsx)(o.Dialog.Title,{"data-slot":`dialog-title`,className:(0,i.cn)(t.t({level:`h3`}),e),...n})}function g({className:e,...t}){return(0,a.jsx)(o.Dialog.Description,{"data-slot":`dialog-description`,className:(0,i.cn)(n.n({variant:`muted`}),e),...t})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return c}});
2
+ //# sourceMappingURL=dialog-DEnyBH2X.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-o_68LQXd.cjs","names":["DialogPrimitive","CloseButton","headingVariants","paragraphVariants"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as DialogPrimitive } from 'radix-ui';\nimport { CloseButton } from './buttons/close';\nimport { headingVariants } from '../typography/heading';\nimport { paragraphVariants } from '../typography/paragraph';\n\n/**\n * Accessible modal dialog built on Radix UI's Dialog primitives with animated overlay, close button, and responsive sizing.\n *\n * @example\n * ```tsx\n * import {\n * Dialog, DialogTrigger, DialogContent,\n * DialogHeader, DialogTitle, DialogDescription, DialogFooter,\n * } from '@customafk/lunas-ui/ui/dialog';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <Dialog>\n * <DialogTrigger asChild>\n * <Button>Open dialog</Button>\n * </DialogTrigger>\n * <DialogContent>\n * <DialogHeader>\n * <DialogTitle>Confirm action</DialogTitle>\n * <DialogDescription>This cannot be undone.</DialogDescription>\n * </DialogHeader>\n * <DialogFooter>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </DialogFooter>\n * </DialogContent>\n * </Dialog>\n * ```\n */\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/** Renders dialog overlay and content into a portal outside the normal React tree. */\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\n/** Button that closes the dialog; can be composed with `asChild` to use a custom element. */\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\n/** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/**\n * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.\n *\n * @param showCloseButton - When `true` (default), renders a `CloseButton` in the top-right corner.\n */\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2',\n 'grid w-full max-w-[calc(100%-2rem)] bg-background',\n 'max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200',\n 'sm:max-w-lg',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80',\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close data-slot=\"dialog-close\" tabIndex={-1} asChild className=\"absolute top-3 right-3\">\n <CloseButton />\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\n/** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />;\n}\n\n/** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />;\n}\n\n/** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn(headingVariants({ level: 'h3' }), className)} {...props} />;\n}\n\n/** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn(paragraphVariants({ variant: 'muted' }), className)} {...props} />;\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };\n"],"mappings":"yPAqCA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iCACA,2DACA,iEACA,EACD,CACD,GAAI,GACJ,CASN,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAIF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAA,SAAA,EACC,EAAA,EAAA,KAAC,EAAA,EAAA,CAAgB,EACjB,EAAA,EAAA,MAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,gEACA,oDACA,8EACA,cACA,wFACA,iGACA,EACD,CACD,GAAI,YAEH,EACA,IACC,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,SAAU,GAAI,QAAA,GAAQ,UAAU,mCAC9E,EAAA,EAAA,KAACC,EAAAA,EAAAA,EAAAA,CAAc,EACO,CAAA,EAEF,CAAA,CAAA,CACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,+CAAgD,EAAU,CAAE,GAAI,GAAS,CAI/H,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,yDAA0D,EAAU,CAAE,GAAI,GAAS,CAIzI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAcE,EAAAA,EAAgB,CAAE,MAAO,KAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAIlI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACF,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,WAAA,EAAA,EAAA,IAAcG,EAAAA,EAAkB,CAAE,QAAS,QAAS,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"dialog-DEnyBH2X.cjs","names":["DialogPrimitive","CloseButton","headingVariants","paragraphVariants"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as DialogPrimitive } from 'radix-ui';\nimport { CloseButton } from './buttons/close';\nimport { headingVariants } from '../typography/heading';\nimport { paragraphVariants } from '../typography/paragraph';\n\n/**\n * Accessible modal dialog built on Radix UI's Dialog primitives with animated overlay, close button, and responsive sizing.\n *\n * @example\n * ```tsx\n * import {\n * Dialog, DialogTrigger, DialogContent,\n * DialogHeader, DialogTitle, DialogDescription, DialogFooter,\n * } from '@customafk/lunas-ui/ui/dialog';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <Dialog>\n * <DialogTrigger asChild>\n * <Button>Open dialog</Button>\n * </DialogTrigger>\n * <DialogContent>\n * <DialogHeader>\n * <DialogTitle>Confirm action</DialogTitle>\n * <DialogDescription>This cannot be undone.</DialogDescription>\n * </DialogHeader>\n * <DialogFooter>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </DialogFooter>\n * </DialogContent>\n * </Dialog>\n * ```\n */\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/** Renders dialog overlay and content into a portal outside the normal React tree. */\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\n/** Button that closes the dialog; can be composed with `asChild` to use a custom element. */\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\n/** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/**\n * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.\n *\n * @param showCloseButton - When `true` (default), renders a `CloseButton` in the top-right corner.\n */\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2',\n 'grid w-full max-w-[calc(100%-2rem)] bg-background',\n 'max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200',\n 'sm:max-w-lg',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80',\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close data-slot=\"dialog-close\" tabIndex={-1} asChild className=\"absolute top-3 right-3\">\n <CloseButton />\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\n/** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />;\n}\n\n/** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />;\n}\n\n/** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn(headingVariants({ level: 'h3' }), className)} {...props} />;\n}\n\n/** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn(paragraphVariants({ variant: 'muted' }), className)} {...props} />;\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };\n"],"mappings":"yPAqCA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iCACA,2DACA,iEACA,EACD,CACD,GAAI,GACJ,CASN,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAIF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAA,SAAA,EACC,EAAA,EAAA,KAAC,EAAA,EAAA,CAAgB,EACjB,EAAA,EAAA,MAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,gEACA,oDACA,8EACA,cACA,wFACA,iGACA,EACD,CACD,GAAI,YAEH,EACA,IACC,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,SAAU,GAAI,QAAA,GAAQ,UAAU,mCAC9E,EAAA,EAAA,KAACC,EAAAA,EAAAA,EAAAA,CAAc,EACO,CAAA,EAEF,CAAA,CAAA,CACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,+CAAgD,EAAU,CAAE,GAAI,GAAS,CAI/H,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,yDAA0D,EAAU,CAAE,GAAI,GAAS,CAIzI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAcE,EAAAA,EAAgB,CAAE,MAAO,KAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAIlI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACF,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,WAAA,EAAA,EAAA,IAAcG,EAAAA,EAAkB,CAAE,QAAS,QAAS,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
@@ -0,0 +1,2 @@
1
+ import{t as e}from"./heading-B1t9baTw.mjs";import{n as t}from"./paragraph-J_QbLq9_.mjs";import{t as n}from"./close-BMhGSmGs.mjs";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{Dialog as o}from"radix-ui";function s({...e}){return i(o.Root,{"data-slot":`dialog`,...e})}function c({...e}){return i(o.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return i(o.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return i(o.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...t}){return i(o.Overlay,{"data-slot":`dialog-overlay`,className:r(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`,e),...t})}function f({className:e,children:t,showCloseButton:s=!0,...c}){return a(l,{children:[i(d,{}),a(o.Content,{"data-slot":`dialog-content`,className:r(`fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2`,`grid w-full max-w-[calc(100%-2rem)] bg-background`,`max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200`,`sm:max-w-lg`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80`,e),...c,children:[t,s&&i(o.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:i(n,{})})]})]})}function p({className:e,...t}){return i(`div`,{"data-slot":`dialog-header`,className:r(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function m({className:e,...t}){return i(`div`,{"data-slot":`dialog-footer`,className:r(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function h({className:t,...n}){return i(o.Title,{"data-slot":`dialog-title`,className:r(e({level:`h3`}),t),...n})}function g({className:e,...n}){return i(o.Description,{"data-slot":`dialog-description`,className:r(t({variant:`muted`}),e),...n})}export{m as a,l as c,g as i,h as l,u as n,p as o,f as r,d as s,s as t,c as u};
2
+ //# sourceMappingURL=dialog-jqiIqxlm.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-DG4vMCr5.mjs","names":["Dialog","DialogPrimitive"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as DialogPrimitive } from 'radix-ui';\nimport { CloseButton } from './buttons/close';\nimport { headingVariants } from '../typography/heading';\nimport { paragraphVariants } from '../typography/paragraph';\n\n/**\n * Accessible modal dialog built on Radix UI's Dialog primitives with animated overlay, close button, and responsive sizing.\n *\n * @example\n * ```tsx\n * import {\n * Dialog, DialogTrigger, DialogContent,\n * DialogHeader, DialogTitle, DialogDescription, DialogFooter,\n * } from '@customafk/lunas-ui/ui/dialog';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <Dialog>\n * <DialogTrigger asChild>\n * <Button>Open dialog</Button>\n * </DialogTrigger>\n * <DialogContent>\n * <DialogHeader>\n * <DialogTitle>Confirm action</DialogTitle>\n * <DialogDescription>This cannot be undone.</DialogDescription>\n * </DialogHeader>\n * <DialogFooter>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </DialogFooter>\n * </DialogContent>\n * </Dialog>\n * ```\n */\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/** Renders dialog overlay and content into a portal outside the normal React tree. */\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\n/** Button that closes the dialog; can be composed with `asChild` to use a custom element. */\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\n/** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/**\n * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.\n *\n * @param showCloseButton - When `true` (default), renders a `CloseButton` in the top-right corner.\n */\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2',\n 'grid w-full max-w-[calc(100%-2rem)] bg-background',\n 'max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200',\n 'sm:max-w-lg',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80',\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close data-slot=\"dialog-close\" tabIndex={-1} asChild className=\"absolute top-3 right-3\">\n <CloseButton />\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\n/** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />;\n}\n\n/** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />;\n}\n\n/** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn(headingVariants({ level: 'h3' }), className)} {...props} />;\n}\n\n/** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn(paragraphVariants({ variant: 'muted' }), className)} {...props} />;\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };\n"],"mappings":"yQAqCA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,2DACA,iEACA,EACD,CACD,GAAI,GACJ,CASN,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAIF,CACD,OACE,EAAC,EAAA,CAAA,SAAA,CACC,EAAC,EAAA,EAAA,CAAgB,CACjB,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,gEACA,oDACA,8EACA,cACA,wFACA,iGACA,EACD,CACD,GAAI,YAEH,EACA,GACC,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,SAAU,GAAI,QAAA,GAAQ,UAAU,kCAC9E,EAAC,EAAA,EAAA,CAAc,EACO,CAAA,EAEF,CAAA,CAAA,CACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,+CAAgD,EAAU,CAAE,GAAI,GAAS,CAI/H,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,yDAA0D,EAAU,CAAE,GAAI,GAAS,CAIzI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,EAAgB,CAAE,MAAO,KAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAIlI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,EAAkB,CAAE,QAAS,QAAS,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"dialog-jqiIqxlm.mjs","names":["Dialog","DialogPrimitive"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as DialogPrimitive } from 'radix-ui';\nimport { CloseButton } from './buttons/close';\nimport { headingVariants } from '../typography/heading';\nimport { paragraphVariants } from '../typography/paragraph';\n\n/**\n * Accessible modal dialog built on Radix UI's Dialog primitives with animated overlay, close button, and responsive sizing.\n *\n * @example\n * ```tsx\n * import {\n * Dialog, DialogTrigger, DialogContent,\n * DialogHeader, DialogTitle, DialogDescription, DialogFooter,\n * } from '@customafk/lunas-ui/ui/dialog';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <Dialog>\n * <DialogTrigger asChild>\n * <Button>Open dialog</Button>\n * </DialogTrigger>\n * <DialogContent>\n * <DialogHeader>\n * <DialogTitle>Confirm action</DialogTitle>\n * <DialogDescription>This cannot be undone.</DialogDescription>\n * </DialogHeader>\n * <DialogFooter>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </DialogFooter>\n * </DialogContent>\n * </Dialog>\n * ```\n */\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/** Renders dialog overlay and content into a portal outside the normal React tree. */\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\n/** Button that closes the dialog; can be composed with `asChild` to use a custom element. */\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\n/** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/**\n * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.\n *\n * @param showCloseButton - When `true` (default), renders a `CloseButton` in the top-right corner.\n */\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2',\n 'grid w-full max-w-[calc(100%-2rem)] bg-background',\n 'max-h-[85dvh] gap-4 rounded-2xl p-6 shadow-dialog outline-none duration-200',\n 'sm:max-w-lg',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-80',\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close data-slot=\"dialog-close\" tabIndex={-1} asChild className=\"absolute top-3 right-3\">\n <CloseButton />\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\n/** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />;\n}\n\n/** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />;\n}\n\n/** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn(headingVariants({ level: 'h3' }), className)} {...props} />;\n}\n\n/** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn(paragraphVariants({ variant: 'muted' }), className)} {...props} />;\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };\n"],"mappings":"yQAqCA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,2DACA,iEACA,EACD,CACD,GAAI,GACJ,CASN,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAIF,CACD,OACE,EAAC,EAAA,CAAA,SAAA,CACC,EAAC,EAAA,EAAA,CAAgB,CACjB,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,gEACA,oDACA,8EACA,cACA,wFACA,iGACA,EACD,CACD,GAAI,YAEH,EACA,GACC,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,SAAU,GAAI,QAAA,GAAQ,UAAU,kCAC9E,EAAC,EAAA,EAAA,CAAc,EACO,CAAA,EAEF,CAAA,CAAA,CACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,+CAAgD,EAAU,CAAE,GAAI,GAAS,CAI/H,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,yDAA0D,EAAU,CAAE,GAAI,GAAS,CAIzI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,EAAgB,CAAE,MAAO,KAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAIlI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,EAAkB,CAAE,QAAS,QAAS,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`),require(`../heading-AKz5ewy-.cjs`),require(`../paragraph-DN85Huc4.cjs`);const t=require(`../ui/alert-dialog.cjs`);let n=require(`lucide-react`),r=require(`react`),i=require(`react/jsx-runtime`);const a=({open:e,isLoading:a=!1,title:o,description:s,cancelText:c=`Cancel`,submitText:l=`Confirm`,descriptionClassName:u,onOpenChange:d,onConfirm:f})=>{let p=(0,r.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),f?.()},[f]);return(0,i.jsx)(t.AlertDialog,{open:e,onOpenChange:d,children:(0,i.jsxs)(t.AlertDialogContent,{className:`p-4 pb-5`,children:[(0,i.jsxs)(t.AlertDialogHeader,{className:`gap-2`,children:[(0,i.jsxs)(t.AlertDialogTitle,{className:`inline-flex items-center gap-x-1`,children:[(0,i.jsx)(n.TriangleAlert,{size:20}),(0,i.jsx)(`p`,{children:o})]}),(0,i.jsx)(t.AlertDialogDescription,{className:u,children:s})]}),(0,i.jsxs)(t.AlertDialogFooter,{children:[(0,i.jsx)(t.AlertDialogCancel,{children:c}),(0,i.jsx)(t.AlertDialogAction,{type:`button`,className:`min-h-9 w-full md:w-24`,onClick:p,children:a?(0,i.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,i.jsx)(`div`,{className:`loader-spinner text-text-positive-weak`})}):l})]})]})})};exports.ConfirmDialog=a;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`),require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`);const t=require(`../ui/alert-dialog.cjs`);let n=require(`lucide-react`),r=require(`react`),i=require(`react/jsx-runtime`);const a=({open:e,isLoading:a=!1,title:o,description:s,cancelText:c=`Cancel`,submitText:l=`Confirm`,descriptionClassName:u,onOpenChange:d,onConfirm:f})=>{let p=(0,r.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),f?.()},[f]);return(0,i.jsx)(t.AlertDialog,{open:e,onOpenChange:d,children:(0,i.jsxs)(t.AlertDialogContent,{className:`p-4 pb-5`,children:[(0,i.jsxs)(t.AlertDialogHeader,{className:`gap-2`,children:[(0,i.jsxs)(t.AlertDialogTitle,{className:`inline-flex items-center gap-x-1`,children:[(0,i.jsx)(n.TriangleAlert,{size:20}),(0,i.jsx)(`p`,{children:o})]}),(0,i.jsx)(t.AlertDialogDescription,{className:u,children:s})]}),(0,i.jsxs)(t.AlertDialogFooter,{children:[(0,i.jsx)(t.AlertDialogCancel,{children:c}),(0,i.jsx)(t.AlertDialogAction,{type:`button`,className:`min-h-9 w-full md:w-24`,onClick:p,children:a?(0,i.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,i.jsx)(`div`,{className:`loader-spinner text-text-positive-weak`})}):l})]})]})})};exports.ConfirmDialog=a;
2
2
  //# sourceMappingURL=confirm-dialog.cjs.map
@@ -1,2 +1,2 @@
1
- "use client";import"../button.variants-CwcJHcI5.mjs";import"../heading-BnaNuvDS.mjs";import"../paragraph-CnHNC0rS.mjs";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../ui/alert-dialog.mjs";import{TriangleAlert as c}from"lucide-react";import{useCallback as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";const f=({open:f,isLoading:p=!1,title:m,description:h,cancelText:g=`Cancel`,submitText:_=`Confirm`,descriptionClassName:v,onOpenChange:y,onConfirm:b})=>{let x=l(e=>{e.preventDefault(),e.stopPropagation(),b?.()},[b]);return u(e,{open:f,onOpenChange:y,children:d(r,{className:`p-4 pb-5`,children:[d(o,{className:`gap-2`,children:[d(s,{className:`inline-flex items-center gap-x-1`,children:[u(c,{size:20}),u(`p`,{children:m})]}),u(i,{className:v,children:h})]}),d(a,{children:[u(n,{children:g}),u(t,{type:`button`,className:`min-h-9 w-full md:w-24`,onClick:x,children:p?u(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:u(`div`,{className:`loader-spinner text-text-positive-weak`})}):_})]})]})})};export{f as ConfirmDialog};
1
+ "use client";import"../button.variants-CwcJHcI5.mjs";import"../heading-B1t9baTw.mjs";import"../paragraph-J_QbLq9_.mjs";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../ui/alert-dialog.mjs";import{TriangleAlert as c}from"lucide-react";import{useCallback as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";const f=({open:f,isLoading:p=!1,title:m,description:h,cancelText:g=`Cancel`,submitText:_=`Confirm`,descriptionClassName:v,onOpenChange:y,onConfirm:b})=>{let x=l(e=>{e.preventDefault(),e.stopPropagation(),b?.()},[b]);return u(e,{open:f,onOpenChange:y,children:d(r,{className:`p-4 pb-5`,children:[d(o,{className:`gap-2`,children:[d(s,{className:`inline-flex items-center gap-x-1`,children:[u(c,{size:20}),u(`p`,{children:m})]}),u(i,{className:v,children:h})]}),d(a,{children:[u(n,{children:g}),u(t,{type:`button`,className:`min-h-9 w-full md:w-24`,onClick:x,children:p?u(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:u(`div`,{className:`loader-spinner text-text-positive-weak`})}):_})]})]})})};export{f as ConfirmDialog};
2
2
  //# sourceMappingURL=confirm-dialog.mjs.map
@@ -1 +1 @@
1
- "use client";require(`../../../button.variants-tnhb123u.cjs`),require(`../../../button-CwDT3m4m.cjs`),require(`../../../skeleton-BfMCjXYM.cjs`),require(`../../../tooltip-itUmYz9k.cjs`),require(`../../../separator-BwZb12bh.cjs`),require(`../../../sheet-CaDXTx7n.cjs`);const e=require(`../../../sidebar-CcJCnqLb.cjs`);exports.DetailDialogSidebarContent=e.t,exports.DetailDialogSidebarFooter=e.n,exports.DetailDialogSidebarGroup=e.r,exports.DetailDialogSidebarGroupAction=e.i,exports.DetailDialogSidebarGroupContent=e.a,exports.DetailDialogSidebarGroupLabel=e.o,exports.DetailDialogSidebarHeader=e.s,exports.DetailDialogSidebarMenu=e.c,exports.DetailDialogSidebarMenuAction=e.l,exports.DetailDialogSidebarMenuBadge=e.u,exports.DetailDialogSidebarMenuButton=e.d,exports.DetailDialogSidebarMenuItem=e.f,exports.DetailDialogSidebarMenuSkeleton=e.p,exports.DetailDialogSidebarMenuSub=e.m,exports.DetailDialogSidebarMenuSubButton=e.h,exports.DetailDialogSidebarMenuSubItem=e.g,exports.DetailDialogSidebarRail=e._,exports.DetailDialogSidebarSeparator=e.v,exports.DetailDialogSidebarTrigger=e.y,exports.Sidebar=e.b,exports.SidebarInset=e.x,exports.SidebarProvider=e.S,exports.useSidebar=e.C;
1
+ "use client";require(`../../../button.variants-tnhb123u.cjs`),require(`../../../button-Bu4ejNOW.cjs`),require(`../../../skeleton-CHympz8k.cjs`),require(`../../../tooltip-DC6i1A25.cjs`),require(`../../../separator-jytY1CPq.cjs`),require(`../../../sheet-DuMrjidC.cjs`);const e=require(`../../../sidebar-BXrGXVxx.cjs`);exports.DetailDialogSidebarContent=e.t,exports.DetailDialogSidebarFooter=e.n,exports.DetailDialogSidebarGroup=e.r,exports.DetailDialogSidebarGroupAction=e.i,exports.DetailDialogSidebarGroupContent=e.a,exports.DetailDialogSidebarGroupLabel=e.o,exports.DetailDialogSidebarHeader=e.s,exports.DetailDialogSidebarMenu=e.c,exports.DetailDialogSidebarMenuAction=e.l,exports.DetailDialogSidebarMenuBadge=e.u,exports.DetailDialogSidebarMenuButton=e.d,exports.DetailDialogSidebarMenuItem=e.f,exports.DetailDialogSidebarMenuSkeleton=e.p,exports.DetailDialogSidebarMenuSub=e.m,exports.DetailDialogSidebarMenuSubButton=e.h,exports.DetailDialogSidebarMenuSubItem=e.g,exports.DetailDialogSidebarRail=e._,exports.DetailDialogSidebarSeparator=e.v,exports.DetailDialogSidebarTrigger=e.y,exports.Sidebar=e.b,exports.SidebarInset=e.x,exports.SidebarProvider=e.S,exports.useSidebar=e.C;
@@ -1,8 +1,8 @@
1
- import { t as Button } from "../../../button-y6EPgwvZ.cjs";
1
+ import { t as Button } from "../../../button-C7IuBgb_.cjs";
2
2
  import { Separator } from "../../../ui/separator.cjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.cjs";
4
- import * as react_jsx_runtime214 from "react/jsx-runtime";
5
- import * as class_variance_authority_types11 from "class-variance-authority/types";
4
+ import * as react3 from "react";
5
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
6
6
  import { VariantProps } from "class-variance-authority";
7
7
 
8
8
  //#region packages/components/dialogs/detail-dialog/components/sidebar.d.ts
@@ -50,7 +50,7 @@ declare function SidebarProvider({
50
50
  open?: boolean;
51
51
  /** Callback fired when the open state changes in controlled mode. */
52
52
  onOpenChange?: (open: boolean) => void;
53
- }): react_jsx_runtime214.JSX.Element;
53
+ }): react3.JSX.Element;
54
54
  /**
55
55
  * Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
56
56
  *
@@ -77,7 +77,7 @@ declare function Sidebar({
77
77
  variant?: 'sidebar' | 'floating' | 'inset';
78
78
  /** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
79
79
  collapsible?: 'offcanvas' | 'icon' | 'none';
80
- }): react_jsx_runtime214.JSX.Element;
80
+ }): react3.JSX.Element;
81
81
  /**
82
82
  * Icon button that toggles the detail-dialog sidebar open or collapsed.
83
83
  *
@@ -92,66 +92,66 @@ declare function DetailDialogSidebarTrigger({
92
92
  className,
93
93
  onClick,
94
94
  ...props
95
- }: React.ComponentProps<typeof Button>): react_jsx_runtime214.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react3.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react_jsx_runtime214.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react3.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react_jsx_runtime214.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react3.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime214.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react3.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
125
125
  declare function DetailDialogSidebarGroupLabel({
126
126
  className,
127
127
  asChild,
128
128
  ...props
129
129
  }: React.ComponentProps<'div'> & {
130
130
  asChild?: boolean;
131
- }): react_jsx_runtime214.JSX.Element;
131
+ }): react3.JSX.Element;
132
132
  declare function DetailDialogSidebarGroupAction({
133
133
  className,
134
134
  asChild,
135
135
  ...props
136
136
  }: React.ComponentProps<'button'> & {
137
137
  asChild?: boolean;
138
- }): react_jsx_runtime214.JSX.Element;
138
+ }): react3.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react_jsx_runtime214.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react_jsx_runtime214.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
- variant?: "outline" | "default" | null | undefined;
152
+ variant?: "default" | "outline" | null | undefined;
153
153
  size?: "sm" | "lg" | "default" | null | undefined;
154
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
154
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
155
155
  declare function DetailDialogSidebarMenuButton({
156
156
  asChild,
157
157
  isActive,
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
164
164
  asChild?: boolean;
165
165
  isActive?: boolean;
166
166
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
167
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime214.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react3.JSX.Element;
168
168
  declare function DetailDialogSidebarMenuAction({
169
169
  className,
170
170
  asChild,
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
173
173
  }: React.ComponentProps<'button'> & {
174
174
  asChild?: boolean;
175
175
  showOnHover?: boolean;
176
- }): react_jsx_runtime214.JSX.Element;
176
+ }): react3.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
181
181
  declare function DetailDialogSidebarMenuSkeleton({
182
182
  className,
183
183
  showIcon,
184
184
  ...props
185
185
  }: React.ComponentProps<'div'> & {
186
186
  showIcon?: boolean;
187
- }): react_jsx_runtime214.JSX.Element;
187
+ }): react3.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react_jsx_runtime214.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react_jsx_runtime214.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
196
196
  declare function DetailDialogSidebarMenuSubButton({
197
197
  asChild,
198
198
  size,
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
203
203
  asChild?: boolean;
204
204
  size?: 'sm' | 'md';
205
205
  isActive?: boolean;
206
- }): react_jsx_runtime214.JSX.Element;
206
+ }): react3.JSX.Element;
207
207
  //#endregion
208
208
  export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
209
209
  //# sourceMappingURL=sidebar.d.cts.map
@@ -1,9 +1,9 @@
1
- import { t as Button } from "../../../button-DGSNru3Z.mjs";
1
+ import { t as Button } from "../../../button-u7M3BQF5.mjs";
2
2
  import { Separator } from "../../../ui/separator.mjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.mjs";
4
- import * as react_jsx_runtime3 from "react/jsx-runtime";
4
+ import * as react3 from "react";
5
5
  import { VariantProps } from "class-variance-authority";
6
- import * as class_variance_authority_types1 from "class-variance-authority/types";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
7
 
8
8
  //#region packages/components/dialogs/detail-dialog/components/sidebar.d.ts
9
9
  type SidebarContextProps = {
@@ -50,7 +50,7 @@ declare function SidebarProvider({
50
50
  open?: boolean;
51
51
  /** Callback fired when the open state changes in controlled mode. */
52
52
  onOpenChange?: (open: boolean) => void;
53
- }): react_jsx_runtime3.JSX.Element;
53
+ }): react3.JSX.Element;
54
54
  /**
55
55
  * Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
56
56
  *
@@ -77,7 +77,7 @@ declare function Sidebar({
77
77
  variant?: 'sidebar' | 'floating' | 'inset';
78
78
  /** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
79
79
  collapsible?: 'offcanvas' | 'icon' | 'none';
80
- }): react_jsx_runtime3.JSX.Element;
80
+ }): react3.JSX.Element;
81
81
  /**
82
82
  * Icon button that toggles the detail-dialog sidebar open or collapsed.
83
83
  *
@@ -92,66 +92,66 @@ declare function DetailDialogSidebarTrigger({
92
92
  className,
93
93
  onClick,
94
94
  ...props
95
- }: React.ComponentProps<typeof Button>): react_jsx_runtime3.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react3.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react_jsx_runtime3.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react3.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react_jsx_runtime3.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react3.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime3.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react3.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
125
125
  declare function DetailDialogSidebarGroupLabel({
126
126
  className,
127
127
  asChild,
128
128
  ...props
129
129
  }: React.ComponentProps<'div'> & {
130
130
  asChild?: boolean;
131
- }): react_jsx_runtime3.JSX.Element;
131
+ }): react3.JSX.Element;
132
132
  declare function DetailDialogSidebarGroupAction({
133
133
  className,
134
134
  asChild,
135
135
  ...props
136
136
  }: React.ComponentProps<'button'> & {
137
137
  asChild?: boolean;
138
- }): react_jsx_runtime3.JSX.Element;
138
+ }): react3.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react_jsx_runtime3.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react_jsx_runtime3.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
- variant?: "outline" | "default" | null | undefined;
152
+ variant?: "default" | "outline" | null | undefined;
153
153
  size?: "sm" | "lg" | "default" | null | undefined;
154
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
154
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
155
155
  declare function DetailDialogSidebarMenuButton({
156
156
  asChild,
157
157
  isActive,
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
164
164
  asChild?: boolean;
165
165
  isActive?: boolean;
166
166
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
167
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime3.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react3.JSX.Element;
168
168
  declare function DetailDialogSidebarMenuAction({
169
169
  className,
170
170
  asChild,
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
173
173
  }: React.ComponentProps<'button'> & {
174
174
  asChild?: boolean;
175
175
  showOnHover?: boolean;
176
- }): react_jsx_runtime3.JSX.Element;
176
+ }): react3.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
181
181
  declare function DetailDialogSidebarMenuSkeleton({
182
182
  className,
183
183
  showIcon,
184
184
  ...props
185
185
  }: React.ComponentProps<'div'> & {
186
186
  showIcon?: boolean;
187
- }): react_jsx_runtime3.JSX.Element;
187
+ }): react3.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react_jsx_runtime3.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react_jsx_runtime3.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
196
196
  declare function DetailDialogSidebarMenuSubButton({
197
197
  asChild,
198
198
  size,
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
203
203
  asChild?: boolean;
204
204
  size?: 'sm' | 'md';
205
205
  isActive?: boolean;
206
- }): react_jsx_runtime3.JSX.Element;
206
+ }): react3.JSX.Element;
207
207
  //#endregion
208
208
  export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
209
209
  //# sourceMappingURL=sidebar.d.mts.map
@@ -1 +1 @@
1
- "use client";import"../../../button.variants-CwcJHcI5.mjs";import"../../../button-Bc8L9sFb.mjs";import"../../../skeleton-BLwzHejl.mjs";import"../../../tooltip-Cy0HbyAx.mjs";import"../../../separator-DXnFHf3v.mjs";import"../../../sheet-GUUifKAd.mjs";import{C as e,S as t,_ as n,a as r,b as i,c as a,d as o,f as s,g as c,h as l,i as u,l as d,m as f,n as p,o as m,p as h,r as g,s as _,t as v,u as y,v as b,x,y as S}from"../../../sidebar-C_jArO1q.mjs";export{v as DetailDialogSidebarContent,p as DetailDialogSidebarFooter,g as DetailDialogSidebarGroup,u as DetailDialogSidebarGroupAction,r as DetailDialogSidebarGroupContent,m as DetailDialogSidebarGroupLabel,_ as DetailDialogSidebarHeader,a as DetailDialogSidebarMenu,d as DetailDialogSidebarMenuAction,y as DetailDialogSidebarMenuBadge,o as DetailDialogSidebarMenuButton,s as DetailDialogSidebarMenuItem,h as DetailDialogSidebarMenuSkeleton,f as DetailDialogSidebarMenuSub,l as DetailDialogSidebarMenuSubButton,c as DetailDialogSidebarMenuSubItem,n as DetailDialogSidebarRail,b as DetailDialogSidebarSeparator,S as DetailDialogSidebarTrigger,i as Sidebar,x as SidebarInset,t as SidebarProvider,e as useSidebar};
1
+ "use client";import"../../../button.variants-CwcJHcI5.mjs";import"../../../button-BqxBQ4Kr.mjs";import"../../../skeleton-Czl96pWA.mjs";import"../../../tooltip-BMdzWaaH.mjs";import"../../../separator-yTKDuMWb.mjs";import"../../../sheet-DDBCHwn6.mjs";import{C as e,S as t,_ as n,a as r,b as i,c as a,d as o,f as s,g as c,h as l,i as u,l as d,m as f,n as p,o as m,p as h,r as g,s as _,t as v,u as y,v as b,x,y as S}from"../../../sidebar-De1RZMAG.mjs";export{v as DetailDialogSidebarContent,p as DetailDialogSidebarFooter,g as DetailDialogSidebarGroup,u as DetailDialogSidebarGroupAction,r as DetailDialogSidebarGroupContent,m as DetailDialogSidebarGroupLabel,_ as DetailDialogSidebarHeader,a as DetailDialogSidebarMenu,d as DetailDialogSidebarMenuAction,y as DetailDialogSidebarMenuBadge,o as DetailDialogSidebarMenuButton,s as DetailDialogSidebarMenuItem,h as DetailDialogSidebarMenuSkeleton,f as DetailDialogSidebarMenuSub,l as DetailDialogSidebarMenuSubButton,c as DetailDialogSidebarMenuSubItem,n as DetailDialogSidebarRail,b as DetailDialogSidebarSeparator,S as DetailDialogSidebarTrigger,i as Sidebar,x as SidebarInset,t as SidebarProvider,e as useSidebar};
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../../chunk-Bmb41Sf3.cjs`);require(`../../button.variants-tnhb123u.cjs`),require(`../../button-CwDT3m4m.cjs`),require(`../../skeleton-BfMCjXYM.cjs`);const t=require(`../../flex-BbbogTsZ.cjs`),n=require(`../../date-a3RI5Pwo.cjs`);require(`../../tooltip-itUmYz9k.cjs`);const r=require(`../../typography/title.cjs`);require(`../../separator-BwZb12bh.cjs`),require(`../../sheet-CaDXTx7n.cjs`);const i=require(`../../sidebar-CcJCnqLb.cjs`);let a=require(`lucide-react`),o=require(`react`),s=require(`react/jsx-runtime`),c=require(`@customafk/react-toolkit/utils`),l=require(`radix-ui`);const u=({open:e,isLoading:u,title:d,createdAt:f,onOpenChange:p,sidebar:m,children:h})=>{let{content:g,footer:_}=m||{},v=(0,o.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]);return(0,s.jsx)(l.Dialog.Root,{"data-slot":`detail-dialog`,open:e,onOpenChange:p,children:(0,s.jsxs)(l.Dialog.Portal,{"data-slot":`detail-dialog-portal`,children:[(0,s.jsx)(l.Dialog.Overlay,{"data-slot":`detail-dialog-overlay`,className:`fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`}),(0,s.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:(0,s.jsxs)(l.Dialog.Content,{"data-slot":`dialog-content`,className:(0,c.cn)(`data-[state=open]:animate-in data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80`,`relative z-50 grid`,`gap-4 overflow-hidden rounded-none border-none bg-background p-0 shadow-dialog outline-none duration-200`,`h-full max-h-dvh w-full max-w-svw`,`sm:rounded-lg`,`sm:max-w-lg`,`md:max-h-[calc(100dvh-2rem)]`,`md:max-w-[calc(100svw-2rem)]`),onInteractOutside:v,children:[(0,s.jsxs)(i.S,{children:[(0,s.jsxs)(i.b,{collapsible:`icon`,children:[(0,s.jsx)(i.s,{children:(0,s.jsx)(i.c,{children:(0,s.jsx)(i.f,{children:(0,s.jsxs)(i.d,{size:`lg`,tabIndex:-1,children:[(0,s.jsx)(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground`,children:(0,s.jsx)(a.CatIcon,{size:16})}),(0,s.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,s.jsx)(`span`,{className:`truncate font-medium`,children:m?.title||`Detail Dialog`}),(0,s.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,s.jsx)(i.t,{children:g}),(0,s.jsx)(i.n,{children:_})]}),(0,s.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,s.jsxs)(t.t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:[(0,s.jsxs)(`header`,{className:`flex w-full flex-0 items-start gap-x-2.5 border-b border-border-weak bg-card py-2.5 pr-12 pl-2`,children:[(0,s.jsx)(i.y,{}),(0,s.jsxs)(t.t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1 gap-0`,children:[(0,s.jsx)(r.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:d||`Detail Dialog`}),!!f&&(0,s.jsxs)(t.t,{padding:`none`,className:`relative items-center text-text-positive-weak`,children:[(0,s.jsx)(a.CalendarIcon,{size:12}),(0,s.jsx)(n.t,{showTime:!0,showHoliday:!0,date:f,format:`full`})]})]})]}),u?(0,s.jsx)(t.t,{justify:`center`,className:`inset-shadow-sm w-full flex-1 bg-muted-muted`,children:(0,s.jsx)(`div`,{className:`loader`})}):(0,s.jsx)(`section`,{"data-slot":`detail-dialog-body`,className:`relative inset-shadow-sm flex flex-1 snap-y flex-col gap-0 overflow-y-auto bg-white`,children:h})]})})]}),(0,s.jsx)(l.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:(0,s.jsx)(`button`,{className:`flex cursor-pointer items-center justify-center rounded-full p-2 text-text-positive-weak transition-colors hover:bg-muted-muted hover:text-text-positive active:bg-muted-weak active:text-text-positive-strong disabled:pointer-events-none disabled:opacity-60`,children:(0,s.jsx)(a.XIcon,{size:24})})})]})})]})})};exports.DetailDialog=u;
1
+ "use client";const e=require(`../../chunk-Bmb41Sf3.cjs`);require(`../../button.variants-tnhb123u.cjs`),require(`../../button-Bu4ejNOW.cjs`),require(`../../skeleton-CHympz8k.cjs`);const t=require(`../../flex-DYh2t8ft.cjs`),n=require(`../../date-DtajzNoy.cjs`);require(`../../tooltip-DC6i1A25.cjs`);const r=require(`../../typography/title.cjs`);require(`../../separator-jytY1CPq.cjs`),require(`../../sheet-DuMrjidC.cjs`);const i=require(`../../sidebar-BXrGXVxx.cjs`);let a=require(`lucide-react`),o=require(`react`),s=require(`@customafk/react-toolkit/utils`),c=require(`react/jsx-runtime`),l=require(`radix-ui`);const u=({open:e,isLoading:u,title:d,createdAt:f,onOpenChange:p,sidebar:m,children:h})=>{let{content:g,footer:_}=m||{},v=(0,o.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]);return(0,c.jsx)(l.Dialog.Root,{"data-slot":`detail-dialog`,open:e,onOpenChange:p,children:(0,c.jsxs)(l.Dialog.Portal,{"data-slot":`detail-dialog-portal`,children:[(0,c.jsx)(l.Dialog.Overlay,{"data-slot":`detail-dialog-overlay`,className:`fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`}),(0,c.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:(0,c.jsxs)(l.Dialog.Content,{"data-slot":`dialog-content`,className:(0,s.cn)(`data-[state=open]:animate-in data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80`,`relative z-50 grid`,`gap-4 overflow-hidden rounded-none border-none bg-background p-0 shadow-dialog outline-none duration-200`,`h-full max-h-dvh w-full max-w-svw`,`sm:rounded-lg`,`sm:max-w-lg`,`md:max-h-[calc(100dvh-2rem)]`,`md:max-w-[calc(100svw-2rem)]`),onInteractOutside:v,children:[(0,c.jsxs)(i.S,{children:[(0,c.jsxs)(i.b,{collapsible:`icon`,children:[(0,c.jsx)(i.s,{children:(0,c.jsx)(i.c,{children:(0,c.jsx)(i.f,{children:(0,c.jsxs)(i.d,{size:`lg`,tabIndex:-1,children:[(0,c.jsx)(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground`,children:(0,c.jsx)(a.CatIcon,{size:16})}),(0,c.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,c.jsx)(`span`,{className:`truncate font-medium`,children:m?.title||`Detail Dialog`}),(0,c.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,c.jsx)(i.t,{children:g}),(0,c.jsx)(i.n,{children:_})]}),(0,c.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,c.jsxs)(t.t,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:[(0,c.jsxs)(`header`,{className:`flex w-full flex-0 items-start gap-x-2.5 border-b border-border-weak bg-card py-2.5 pr-12 pl-2`,children:[(0,c.jsx)(i.y,{}),(0,c.jsxs)(t.t,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1 gap-0`,children:[(0,c.jsx)(r.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:d||`Detail Dialog`}),!!f&&(0,c.jsxs)(t.t,{padding:`none`,className:`relative items-center text-text-positive-weak`,children:[(0,c.jsx)(a.CalendarIcon,{size:12}),(0,c.jsx)(n.t,{showTime:!0,showHoliday:!0,date:f,format:`full`})]})]})]}),u?(0,c.jsx)(t.t,{justify:`center`,className:`inset-shadow-sm w-full flex-1 bg-muted-muted`,children:(0,c.jsx)(`div`,{className:`loader`})}):(0,c.jsx)(`section`,{"data-slot":`detail-dialog-body`,className:`relative inset-shadow-sm flex flex-1 snap-y flex-col gap-0 overflow-y-auto bg-white`,children:h})]})})]}),(0,c.jsx)(l.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:(0,c.jsx)(`button`,{className:`flex cursor-pointer items-center justify-center rounded-full p-2 text-text-positive-weak transition-colors hover:bg-muted-muted hover:text-text-positive active:bg-muted-weak active:text-text-positive-strong disabled:pointer-events-none disabled:opacity-60`,children:(0,c.jsx)(a.XIcon,{size:24})})})]})})]})})};exports.DetailDialog=u;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- "use client";import"../../button.variants-CwcJHcI5.mjs";import"../../button-Bc8L9sFb.mjs";import"../../skeleton-BLwzHejl.mjs";import{t as e}from"../../flex-Br7F9Fln.mjs";import{t}from"../../date-D_nB7Lh1.mjs";import"../../tooltip-Cy0HbyAx.mjs";import{Title as n}from"../../typography/title.mjs";import"../../separator-DXnFHf3v.mjs";import"../../sheet-GUUifKAd.mjs";import{S as r,b as i,c as a,d as o,f as s,n as c,s as l,t as u,y as d}from"../../sidebar-C_jArO1q.mjs";import{CalendarIcon as f,CatIcon as p,XIcon as m}from"lucide-react";import{useCallback as h}from"react";import{jsx as g,jsxs as _}from"react/jsx-runtime";import{cn as v}from"@customafk/react-toolkit/utils";import{Dialog as y}from"radix-ui";const b=({open:b,isLoading:x,title:S,createdAt:C,onOpenChange:w,sidebar:T,children:E})=>{let{content:D,footer:O}=T||{},k=h(e=>{e.preventDefault(),e.stopPropagation()},[]);return g(y.Root,{"data-slot":`detail-dialog`,open:b,onOpenChange:w,children:_(y.Portal,{"data-slot":`detail-dialog-portal`,children:[g(y.Overlay,{"data-slot":`detail-dialog-overlay`,className:`fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`}),g(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:_(y.Content,{"data-slot":`dialog-content`,className:v(`data-[state=open]:animate-in data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80`,`relative z-50 grid`,`gap-4 overflow-hidden rounded-none border-none bg-background p-0 shadow-dialog outline-none duration-200`,`h-full max-h-dvh w-full max-w-svw`,`sm:rounded-lg`,`sm:max-w-lg`,`md:max-h-[calc(100dvh-2rem)]`,`md:max-w-[calc(100svw-2rem)]`),onInteractOutside:k,children:[_(r,{children:[_(i,{collapsible:`icon`,children:[g(l,{children:g(a,{children:g(s,{children:_(o,{size:`lg`,tabIndex:-1,children:[g(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground`,children:g(p,{size:16})}),_(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[g(`span`,{className:`truncate font-medium`,children:T?.title||`Detail Dialog`}),g(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),g(u,{children:D}),g(c,{children:O})]}),g(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:_(e,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:[_(`header`,{className:`flex w-full flex-0 items-start gap-x-2.5 border-b border-border-weak bg-card py-2.5 pr-12 pl-2`,children:[g(d,{}),_(e,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1 gap-0`,children:[g(n,{level:5,className:`line-clamp-1 truncate text-wrap`,children:S||`Detail Dialog`}),!!C&&_(e,{padding:`none`,className:`relative items-center text-text-positive-weak`,children:[g(f,{size:12}),g(t,{showTime:!0,showHoliday:!0,date:C,format:`full`})]})]})]}),x?g(e,{justify:`center`,className:`inset-shadow-sm w-full flex-1 bg-muted-muted`,children:g(`div`,{className:`loader`})}):g(`section`,{"data-slot":`detail-dialog-body`,className:`relative inset-shadow-sm flex flex-1 snap-y flex-col gap-0 overflow-y-auto bg-white`,children:E})]})})]}),g(y.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:g(`button`,{className:`flex cursor-pointer items-center justify-center rounded-full p-2 text-text-positive-weak transition-colors hover:bg-muted-muted hover:text-text-positive active:bg-muted-weak active:text-text-positive-strong disabled:pointer-events-none disabled:opacity-60`,children:g(m,{size:24})})})]})})]})})};export{b as DetailDialog};
1
+ "use client";import"../../button.variants-CwcJHcI5.mjs";import"../../button-BqxBQ4Kr.mjs";import"../../skeleton-Czl96pWA.mjs";import{t as e}from"../../flex-Bl5yzx6g.mjs";import{t}from"../../date-BQ0c19uk.mjs";import"../../tooltip-BMdzWaaH.mjs";import{Title as n}from"../../typography/title.mjs";import"../../separator-yTKDuMWb.mjs";import"../../sheet-DDBCHwn6.mjs";import{S as r,b as i,c as a,d as o,f as s,n as c,s as l,t as u,y as d}from"../../sidebar-De1RZMAG.mjs";import{CalendarIcon as f,CatIcon as p,XIcon as m}from"lucide-react";import{useCallback as h}from"react";import{cn as g}from"@customafk/react-toolkit/utils";import{jsx as _,jsxs as v}from"react/jsx-runtime";import{Dialog as y}from"radix-ui";const b=({open:b,isLoading:x,title:S,createdAt:C,onOpenChange:w,sidebar:T,children:E})=>{let{content:D,footer:O}=T||{},k=h(e=>{e.preventDefault(),e.stopPropagation()},[]);return _(y.Root,{"data-slot":`detail-dialog`,open:b,onOpenChange:w,children:v(y.Portal,{"data-slot":`detail-dialog-portal`,children:[_(y.Overlay,{"data-slot":`detail-dialog-overlay`,className:`fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`}),_(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:v(y.Content,{"data-slot":`dialog-content`,className:g(`data-[state=open]:animate-in data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80`,`relative z-50 grid`,`gap-4 overflow-hidden rounded-none border-none bg-background p-0 shadow-dialog outline-none duration-200`,`h-full max-h-dvh w-full max-w-svw`,`sm:rounded-lg`,`sm:max-w-lg`,`md:max-h-[calc(100dvh-2rem)]`,`md:max-w-[calc(100svw-2rem)]`),onInteractOutside:k,children:[v(r,{children:[v(i,{collapsible:`icon`,children:[_(l,{children:_(a,{children:_(s,{children:v(o,{size:`lg`,tabIndex:-1,children:[_(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground`,children:_(p,{size:16})}),v(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[_(`span`,{className:`truncate font-medium`,children:T?.title||`Detail Dialog`}),_(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),_(u,{children:D}),_(c,{children:O})]}),_(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:v(e,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:[v(`header`,{className:`flex w-full flex-0 items-start gap-x-2.5 border-b border-border-weak bg-card py-2.5 pr-12 pl-2`,children:[_(d,{}),v(e,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1 gap-0`,children:[_(n,{level:5,className:`line-clamp-1 truncate text-wrap`,children:S||`Detail Dialog`}),!!C&&v(e,{padding:`none`,className:`relative items-center text-text-positive-weak`,children:[_(f,{size:12}),_(t,{showTime:!0,showHoliday:!0,date:C,format:`full`})]})]})]}),x?_(e,{justify:`center`,className:`inset-shadow-sm w-full flex-1 bg-muted-muted`,children:_(`div`,{className:`loader`})}):_(`section`,{"data-slot":`detail-dialog-body`,className:`relative inset-shadow-sm flex flex-1 snap-y flex-col gap-0 overflow-y-auto bg-white`,children:E})]})})]}),_(y.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:_(`button`,{className:`flex cursor-pointer items-center justify-center rounded-full p-2 text-text-positive-weak transition-colors hover:bg-muted-muted hover:text-text-positive active:bg-muted-weak active:text-text-positive-strong disabled:pointer-events-none disabled:opacity-60`,children:_(m,{size:24})})})]})})]})})};export{b as DetailDialog};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`),require(`../heading-AKz5ewy-.cjs`),require(`../paragraph-DN85Huc4.cjs`);const t=require(`../ui/alert-dialog.cjs`);let n=require(`lucide-react`),r=require(`react`),i=require(`react/jsx-runtime`);const a=({open:e,title:a,children:o,onOpenChange:s})=>{let c=(0,r.useCallback)(()=>{s?.(!1)},[s]);return(0,i.jsx)(t.AlertDialog,{open:e,onOpenChange:s,children:(0,i.jsxs)(t.AlertDialogContent,{className:`gap-8 p-4 sm:max-w-md`,children:[(0,i.jsx)(t.AlertDialogHeader,{children:(0,i.jsxs)(`div`,{className:`flex flex-col items-center text-danger`,children:[(0,i.jsx)(n.AlertTriangleIcon,{size:42}),(0,i.jsx)(t.AlertDialogTitle,{className:`text-xl font-medium`,children:a||`An error occurred`})]})}),o,(0,i.jsx)(t.AlertDialogFooter,{children:(0,i.jsx)(t.AlertDialogAction,{className:`w-full sm:w-28`,onClick:c,children:`Close`})})]})})};exports.ErrorDialog=a;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`),require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`);const t=require(`../ui/alert-dialog.cjs`);let n=require(`lucide-react`),r=require(`react`),i=require(`react/jsx-runtime`);const a=({open:e,title:a,children:o,onOpenChange:s})=>{let c=(0,r.useCallback)(()=>{s?.(!1)},[s]);return(0,i.jsx)(t.AlertDialog,{open:e,onOpenChange:s,children:(0,i.jsxs)(t.AlertDialogContent,{className:`gap-8 p-4 sm:max-w-md`,children:[(0,i.jsx)(t.AlertDialogHeader,{children:(0,i.jsxs)(`div`,{className:`flex flex-col items-center text-danger`,children:[(0,i.jsx)(n.AlertTriangleIcon,{size:42}),(0,i.jsx)(t.AlertDialogTitle,{className:`text-xl font-medium`,children:a||`An error occurred`})]})}),o,(0,i.jsx)(t.AlertDialogFooter,{children:(0,i.jsx)(t.AlertDialogAction,{className:`w-full sm:w-28`,onClick:c,children:`Close`})})]})})};exports.ErrorDialog=a;
2
2
  //# sourceMappingURL=error-dialog.cjs.map
@@ -1,2 +1,2 @@
1
- "use client";import"../button.variants-CwcJHcI5.mjs";import"../heading-BnaNuvDS.mjs";import"../paragraph-CnHNC0rS.mjs";import{AlertDialog as e,AlertDialogAction as t,AlertDialogContent as n,AlertDialogFooter as r,AlertDialogHeader as i,AlertDialogTitle as a}from"../ui/alert-dialog.mjs";import{AlertTriangleIcon as o}from"lucide-react";import{useCallback as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=({open:u,title:d,children:f,onOpenChange:p})=>{let m=s(()=>{p?.(!1)},[p]);return c(e,{open:u,onOpenChange:p,children:l(n,{className:`gap-8 p-4 sm:max-w-md`,children:[c(i,{children:l(`div`,{className:`flex flex-col items-center text-danger`,children:[c(o,{size:42}),c(a,{className:`text-xl font-medium`,children:d||`An error occurred`})]})}),f,c(r,{children:c(t,{className:`w-full sm:w-28`,onClick:m,children:`Close`})})]})})};export{u as ErrorDialog};
1
+ "use client";import"../button.variants-CwcJHcI5.mjs";import"../heading-B1t9baTw.mjs";import"../paragraph-J_QbLq9_.mjs";import{AlertDialog as e,AlertDialogAction as t,AlertDialogContent as n,AlertDialogFooter as r,AlertDialogHeader as i,AlertDialogTitle as a}from"../ui/alert-dialog.mjs";import{AlertTriangleIcon as o}from"lucide-react";import{useCallback as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=({open:u,title:d,children:f,onOpenChange:p})=>{let m=s(()=>{p?.(!1)},[p]);return c(e,{open:u,onOpenChange:p,children:l(n,{className:`gap-8 p-4 sm:max-w-md`,children:[c(i,{children:l(`div`,{className:`flex flex-col items-center text-danger`,children:[c(o,{size:42}),c(a,{className:`text-xl font-medium`,children:d||`An error occurred`})]})}),f,c(r,{children:c(t,{className:`w-full sm:w-28`,onClick:m,children:`Close`})})]})})};export{u as ErrorDialog};
2
2
  //# sourceMappingURL=error-dialog.mjs.map
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../heading-AKz5ewy-.cjs`),require(`../paragraph-DN85Huc4.cjs`),require(`../close-DXk_H3Gt.cjs`);const t=require(`../dialog-o_68LQXd.cjs`);let n=require(`react/jsx-runtime`);const r=({open:e,onOpenChange:r})=>(0,n.jsx)(t.t,{open:e,onOpenChange:r,children:(0,n.jsxs)(t.r,{showCloseButton:!1,className:`pointer-events-none border-none bg-transparent shadow-none outline-none [&>div]:bg-transparent`,children:[(0,n.jsx)(t.l,{}),(0,n.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,n.jsx)(`div`,{className:`loader opacity-60`})})]})});exports.LoadingDialog=r;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DUBEKxhw.cjs`);const t=require(`../dialog-DEnyBH2X.cjs`);let n=require(`react/jsx-runtime`);const r=({open:e,onOpenChange:r})=>(0,n.jsx)(t.t,{open:e,onOpenChange:r,children:(0,n.jsxs)(t.r,{showCloseButton:!1,className:`pointer-events-none border-none bg-transparent shadow-none outline-none [&>div]:bg-transparent`,children:[(0,n.jsx)(t.l,{}),(0,n.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,n.jsx)(`div`,{className:`loader opacity-60`})})]})});exports.LoadingDialog=r;
2
2
  //# sourceMappingURL=loading-dialog.cjs.map
@@ -1,2 +1,2 @@
1
- "use client";import"../heading-BnaNuvDS.mjs";import"../paragraph-CnHNC0rS.mjs";import"../close-BS6EeCrQ.mjs";import{l as e,r as t,t as n}from"../dialog-DG4vMCr5.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({open:a,onOpenChange:o})=>r(n,{open:a,onOpenChange:o,children:i(t,{showCloseButton:!1,className:`pointer-events-none border-none bg-transparent shadow-none outline-none [&>div]:bg-transparent`,children:[r(e,{}),r(`div`,{className:`flex items-center justify-center`,children:r(`div`,{className:`loader opacity-60`})})]})});export{a as LoadingDialog};
1
+ "use client";import"../heading-B1t9baTw.mjs";import"../paragraph-J_QbLq9_.mjs";import"../close-BMhGSmGs.mjs";import{l as e,r as t,t as n}from"../dialog-jqiIqxlm.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({open:a,onOpenChange:o})=>r(n,{open:a,onOpenChange:o,children:i(t,{showCloseButton:!1,className:`pointer-events-none border-none bg-transparent shadow-none outline-none [&>div]:bg-transparent`,children:[r(e,{}),r(`div`,{className:`flex items-center justify-center`,children:r(`div`,{className:`loader opacity-60`})})]})});export{a as LoadingDialog};
2
2
  //# sourceMappingURL=loading-dialog.mjs.map
@@ -0,0 +1,2 @@
1
+ const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`react`);t=e.t(t);function n(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function r(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return!r&&typeof i==`function`&&(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];typeof r==`function`?r():n(e[t],null)}}}}function i(...e){return t.useCallback(r(...e),e)}function a(e){let n=t.forwardRef((n,r)=>{let{children:a,...o}=n,s=null,f=!1,m=[];p(a)&&typeof _==`function`&&(a=_(a._payload)),t.Children.forEach(a,e=>{if(d(e)){f=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;p(n)&&typeof _==`function`&&(n=_(n._payload)),s=c(t,n),m.push(s?.props?.children)}else m.push(e)}),s?s=t.cloneElement(s,void 0,m):!f&&t.Children.count(a)===1&&t.isValidElement(a)&&(s=a);let v=s?u(s):void 0,y=i(r,v);if(!s){if(a||a===0)throw Error(f?g(e):h(e));return a}let b=l(o,s.props??{});return s.type!==t.Fragment&&(b.ref=r?y:v),t.cloneElement(s,b)});return n.displayName=`${e}.Slot`,n}var o=a(`Slot`),s=Symbol.for(`radix.slottable`),c=(e,n)=>{if(`child`in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null};function l(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function u(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function d(e){return t.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===s}var f=Symbol.for(`react.lazy`);function p(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===f&&`_payload`in e&&m(e._payload)}function m(e){return typeof e==`object`&&!!e&&`then`in e}var h=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,g=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,_=t.use;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
2
+ //# sourceMappingURL=dist-CAeolvAH.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dist-CAeolvAH.cjs","names":["React","React"],"sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs","../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n let { children, ...slotProps } = props;\n let slottableElement = null;\n let hasSlottable = false;\n const newChildren = [];\n if (isLazyComponent(children) && typeof use === \"function\") {\n children = use(children._payload);\n }\n React.Children.forEach(children, (maybeSlottable) => {\n if (isSlottable(maybeSlottable)) {\n hasSlottable = true;\n const slottable = maybeSlottable;\n let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n if (isLazyComponent(child) && typeof use === \"function\") {\n child = use(child._payload);\n }\n slottableElement = getSlottableElementFromSlottable(slottable, child);\n newChildren.push(slottableElement?.props?.children);\n } else {\n newChildren.push(maybeSlottable);\n }\n });\n if (slottableElement) {\n slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n } else if (\n // A `Slottable` was found but it didn't resolve to a single element (e.g.\n // it wrapped multiple elements, text, or a render-prop `child` that\n // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n // itself as the slot target — throw a descriptive error below instead.\n !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n ) {\n slottableElement = children;\n }\n const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n if (!slottableElement) {\n if (children || children === 0) {\n throw new Error(\n hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n );\n }\n return children;\n }\n const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n if (slottableElement.type !== React.Fragment) {\n mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n }\n return React.cloneElement(slottableElement, mergedProps);\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = (props) => \"child\" in props ? props.children(props.child) : props.children;\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = (slottable, child) => {\n if (\"child\" in slottable.props) {\n const child2 = slottable.props.child;\n if (!React.isValidElement(child2)) return null;\n return React.cloneElement(child2, void 0, slottable.props.children(child2.props.children));\n }\n return React.isValidElement(child) ? child : null;\n};\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\nfunction isPromiseLike(value) {\n return typeof value === \"object\" && value !== null && \"then\" in value;\n}\nvar createSlotError = (ownerName) => {\n return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n};\nvar createSlottableError = (ownerName) => {\n return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n};\nvar use = React[\" use \".trim().toString()];\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0,1],"mappings":"wEAEA,SAAS,EAAO,EAAK,EAAO,CAC1B,GAAI,OAAO,GAAQ,WACjB,OAAO,EAAI,EAAM,CACR,GAAQ,OACjB,EAAI,QAAU,GAGlB,SAAS,EAAY,GAAG,EAAM,CAC5B,MAAQ,IAAS,CACf,IAAI,EAAa,GACX,EAAW,EAAK,IAAK,GAAQ,CACjC,IAAM,EAAU,EAAO,EAAK,EAAK,CAIjC,MAHI,CAAC,GAAc,OAAO,GAAW,aACnC,EAAa,IAER,GACP,CACF,GAAI,EACF,UAAa,CACX,IAAK,IAAI,EAAI,EAAG,EAAI,EAAS,OAAQ,IAAK,CACxC,IAAM,EAAU,EAAS,GACrB,OAAO,GAAW,WACpB,GAAS,CAET,EAAO,EAAK,GAAI,KAAK,IAOjC,SAAS,EAAgB,GAAG,EAAM,CAChC,OAAOA,EAAM,YAAY,EAAY,GAAG,EAAK,CAAE,EAAK,CC9BtD,SAAS,EAAW,EAAW,CAC7B,IAAM,EAAQC,EAAM,YAAY,EAAO,IAAiB,CACtD,GAAI,CAAE,WAAU,GAAG,GAAc,EAC7B,EAAmB,KACnB,EAAe,GACb,EAAc,EAAE,CAClB,EAAgB,EAAS,EAAI,OAAO,GAAQ,aAC9C,EAAW,EAAI,EAAS,SAAS,EAEnC,EAAM,SAAS,QAAQ,EAAW,GAAmB,CACnD,GAAI,EAAY,EAAe,CAAE,CAC/B,EAAe,GACf,IAAM,EAAY,EACd,EAAQ,UAAW,EAAU,MAAQ,EAAU,MAAM,MAAQ,EAAU,MAAM,SAC7E,EAAgB,EAAM,EAAI,OAAO,GAAQ,aAC3C,EAAQ,EAAI,EAAM,SAAS,EAE7B,EAAmB,EAAiC,EAAW,EAAM,CACrE,EAAY,KAAK,GAAkB,OAAO,SAAS,MAEnD,EAAY,KAAK,EAAe,EAElC,CACE,EACF,EAAmBA,EAAM,aAAa,EAAkB,IAAK,GAAG,EAAY,CAM5E,CAAC,GAAgBA,EAAM,SAAS,MAAM,EAAS,GAAK,GAAKA,EAAM,eAAe,EAAS,GAEvF,EAAmB,GAErB,IAAM,EAAsB,EAAmB,EAAc,EAAiB,CAAG,IAAK,GAChF,EAAc,EAAgB,EAAc,EAAoB,CACtE,GAAI,CAAC,EAAkB,CACrB,GAAI,GAAY,IAAa,EAC3B,MAAU,MACR,EAAe,EAAqB,EAAU,CAAG,EAAgB,EAAU,CAC5E,CAEH,OAAO,EAET,IAAM,EAAc,EAAW,EAAW,EAAiB,OAAS,EAAE,CAAC,CAIvE,OAHI,EAAiB,OAASA,EAAM,WAClC,EAAY,IAAM,EAAe,EAAc,GAE1CA,EAAM,aAAa,EAAkB,EAAY,EACxD,CAEF,MADA,GAAM,YAAc,GAAG,EAAU,OAC1B,EAET,IAAI,EAAuB,EAAW,OAAO,CACzC,EAAuB,OAAO,IAAI,kBAAkB,CASpD,GAAoC,EAAW,IAAU,CAC3D,GAAI,UAAW,EAAU,MAAO,CAC9B,IAAM,EAAS,EAAU,MAAM,MAE/B,OADKA,EAAM,eAAe,EAAO,CAC1BA,EAAM,aAAa,EAAQ,IAAK,GAAG,EAAU,MAAM,SAAS,EAAO,MAAM,SAAS,CAAC,CADhD,KAG5C,OAAOA,EAAM,eAAe,EAAM,CAAG,EAAQ,MAE/C,SAAS,EAAW,EAAW,EAAY,CACzC,IAAM,EAAgB,CAAE,GAAG,EAAY,CACvC,IAAK,IAAM,KAAY,EAAY,CACjC,IAAM,EAAgB,EAAU,GAC1B,EAAiB,EAAW,GAChB,WAAW,KAAK,EAAS,CAErC,GAAiB,EACnB,EAAc,IAAa,GAAG,IAAS,CACrC,IAAM,EAAS,EAAe,GAAG,EAAK,CAEtC,OADA,EAAc,GAAG,EAAK,CACf,GAEA,IACT,EAAc,GAAY,GAEnB,IAAa,QACtB,EAAc,GAAY,CAAE,GAAG,EAAe,GAAG,EAAgB,CACxD,IAAa,cACtB,EAAc,GAAY,CAAC,EAAe,EAAe,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,EAGvF,MAAO,CAAE,GAAG,EAAW,GAAG,EAAe,CAE3C,SAAS,EAAc,EAAS,CAC9B,IAAI,EAAS,OAAO,yBAAyB,EAAQ,MAAO,MAAM,EAAE,IAChE,EAAU,GAAU,mBAAoB,GAAU,EAAO,eAS7D,OARI,EACK,EAAQ,KAEjB,EAAS,OAAO,yBAAyB,EAAS,MAAM,EAAE,IAC1D,EAAU,GAAU,mBAAoB,GAAU,EAAO,eACrD,EACK,EAAQ,MAAM,IAEhB,EAAQ,MAAM,KAAO,EAAQ,KAEtC,SAAS,EAAY,EAAO,CAC1B,OAAOA,EAAM,eAAe,EAAM,EAAI,OAAO,EAAM,MAAS,YAAc,cAAe,EAAM,MAAQ,EAAM,KAAK,YAAc,EAElI,IAAI,EAAkB,OAAO,IAAI,aAAa,CAC9C,SAAS,EAAgB,EAAS,CAChC,OAA0B,OAAO,GAAY,YAAtC,GAAkD,aAAc,GAAW,EAAQ,WAAa,GAAmB,aAAc,GAAW,EAAc,EAAQ,SAAS,CAEpL,SAAS,EAAc,EAAO,CAC5B,OAAO,OAAO,GAAU,YAAY,GAAkB,SAAU,EAElE,IAAI,EAAmB,GACd,GAAG,EAAU,4FAElB,EAAwB,GACnB,GAAG,EAAU,yGAElB,EAAMA,EAAM"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";function t(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function n(...e){return n=>{let r=!1,i=e.map(e=>{let i=t(e,n);return!r&&typeof i==`function`&&(r=!0),i});if(r)return()=>{for(let n=0;n<i.length;n++){let r=i[n];typeof r==`function`?r():t(e[n],null)}}}}function r(...t){return e.useCallback(n(...t),t)}function i(t){let n=e.forwardRef((n,i)=>{let{children:a,...o}=n,d=null,p=!1,_=[];f(a)&&typeof g==`function`&&(a=g(a._payload)),e.Children.forEach(a,e=>{if(u(e)){p=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;f(n)&&typeof g==`function`&&(n=g(n._payload)),d=s(t,n),_.push(d?.props?.children)}else _.push(e)}),d?d=e.cloneElement(d,void 0,_):!p&&e.Children.count(a)===1&&e.isValidElement(a)&&(d=a);let v=d?l(d):void 0,y=r(i,v);if(!d){if(a||a===0)throw Error(p?h(t):m(t));return a}let b=c(o,d.props??{});return d.type!==e.Fragment&&(b.ref=i?y:v),e.cloneElement(d,b)});return n.displayName=`${t}.Slot`,n}var a=i(`Slot`),o=Symbol.for(`radix.slottable`),s=(t,n)=>{if(`child`in t.props){let n=t.props.child;return e.isValidElement(n)?e.cloneElement(n,void 0,t.props.children(n.props.children)):null}return e.isValidElement(n)?n:null};function c(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function l(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function u(t){return e.isValidElement(t)&&typeof t.type==`function`&&`__radixId`in t.type&&t.type.__radixId===o}var d=Symbol.for(`react.lazy`);function f(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===d&&`_payload`in e&&p(e._payload)}function p(e){return typeof e==`object`&&!!e&&`then`in e}var m=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,h=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,g=e.use;export{a as t};
2
+ //# sourceMappingURL=dist-DdGJ50nX.mjs.map