@customafk/lunas-ui 0.2.32 → 0.2.34

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 (369) hide show
  1. package/dist/{alert-CqRM6LFa.d.cts → alert-BFLT5Jqg.d.cts} +7 -7
  2. package/dist/{alert-BC5Nss8t.mjs → alert-BbInRLt4.mjs} +1 -1
  3. package/dist/{alert-BC5Nss8t.mjs.map → alert-BbInRLt4.mjs.map} +1 -1
  4. package/dist/{alert-hSQjkSHn.d.mts → alert-DmaYqfy7.d.mts} +7 -7
  5. package/dist/{avatar-CK1R4r0j.mjs → avatar-1SuFoI5h.mjs} +1 -1
  6. package/dist/{avatar-CK1R4r0j.mjs.map → avatar-1SuFoI5h.mjs.map} +1 -1
  7. package/dist/{badge-utjRo-lW.mjs → badge-Bhbhmsic.mjs} +1 -1
  8. package/dist/{badge-utjRo-lW.mjs.map → badge-Bhbhmsic.mjs.map} +1 -1
  9. package/dist/{badge-BNlMwt54.d.mts → badge-CSMgaMwT.d.cts} +8 -8
  10. package/dist/{badge-BXCkfLW0.d.cts → badge-Dxewfuj8.d.mts} +8 -8
  11. package/dist/{button-BqxBQ4Kr.mjs → button-CfPTDyoq.mjs} +2 -2
  12. package/dist/{button-BqxBQ4Kr.mjs.map → button-CfPTDyoq.mjs.map} +1 -1
  13. package/dist/{button-DhUjRe5e.d.mts → button-DeBpvNFE.d.mts} +8 -8
  14. package/dist/{button-xc_1ixgJ.d.cts → button-soF3CKai.d.cts} +8 -8
  15. package/dist/{button.variants-CwcJHcI5.mjs → button.variants-B8aRZ52K.mjs} +1 -1
  16. package/dist/{button.variants-CwcJHcI5.mjs.map → button.variants-B8aRZ52K.mjs.map} +1 -1
  17. package/dist/{calendar-D8aRFw_F.mjs → calendar-CqeVe3HO.mjs} +2 -2
  18. package/dist/{calendar-D8aRFw_F.mjs.map → calendar-CqeVe3HO.mjs.map} +1 -1
  19. package/dist/cards/grid-product-card.mjs +1 -1
  20. package/dist/cards/product-card.mjs +1 -1
  21. package/dist/cards/simple-card.mjs +1 -1
  22. package/dist/{checkbox-CJsl9OjF.mjs → checkbox-CrZ80dV_.mjs} +1 -1
  23. package/dist/{checkbox-CJsl9OjF.mjs.map → checkbox-CrZ80dV_.mjs.map} +1 -1
  24. package/dist/{close-BMhGSmGs.mjs → close-DTBepcqW.mjs} +1 -1
  25. package/dist/{close-BMhGSmGs.mjs.map → close-DTBepcqW.mjs.map} +1 -1
  26. package/dist/{cms-layout-DHzRHAoI.mjs → cms-layout-BvaYr6rb.mjs} +2 -2
  27. package/dist/{cms-layout-DHzRHAoI.mjs.map → cms-layout-BvaYr6rb.mjs.map} +1 -1
  28. package/dist/{command-CTdjZi1F.cjs → command-B7DO73K0.cjs} +2 -2
  29. package/dist/{command-CTdjZi1F.cjs.map → command-B7DO73K0.cjs.map} +1 -1
  30. package/dist/{command-Bvauothg.mjs → command-YngzaaGP.mjs} +2 -2
  31. package/dist/{command-Bvauothg.mjs.map → command-YngzaaGP.mjs.map} +1 -1
  32. package/dist/data-display/country.d.cts +1 -1
  33. package/dist/data-display/country.d.mts +1 -1
  34. package/dist/data-display/country.mjs +1 -1
  35. package/dist/data-display/date-tooltip.mjs +1 -1
  36. package/dist/data-display/date.mjs +1 -1
  37. package/dist/data-display/name.mjs +1 -1
  38. package/dist/data-display/phone-number.mjs +1 -1
  39. package/dist/data-display/role-badge.d.cts +1 -1
  40. package/dist/data-display/role-badge.d.mts +1 -1
  41. package/dist/data-display/role-badge.mjs +1 -1
  42. package/dist/data-display/statistic.d.cts +4 -4
  43. package/dist/data-display/statistic.d.mts +6 -6
  44. package/dist/data-display/user.mjs +1 -1
  45. package/dist/{date-BQ0c19uk.mjs → date-CFgc7pK3.mjs} +1 -1
  46. package/dist/{date-BQ0c19uk.mjs.map → date-CFgc7pK3.mjs.map} +1 -1
  47. package/dist/{dialog-gZTogunf.d.cts → dialog-BQTnKhUH.d.cts} +12 -12
  48. package/dist/dialog-Bly2YImt.mjs +2 -0
  49. package/dist/dialog-Bly2YImt.mjs.map +1 -0
  50. package/dist/{dialog-KxgG7gFA.d.mts → dialog-DDiSHKlc.d.mts} +12 -12
  51. package/dist/dialog-DhO0dkO3.cjs +2 -0
  52. package/dist/dialog-DhO0dkO3.cjs.map +1 -0
  53. package/dist/dialogs/confirm-dialog.mjs +1 -1
  54. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
  55. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +2 -2
  56. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  57. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  58. package/dist/dialogs/error-dialog.mjs +1 -1
  59. package/dist/dialogs/loading-dialog.cjs +1 -1
  60. package/dist/dialogs/loading-dialog.mjs +1 -1
  61. package/dist/{dist-DdGJ50nX.mjs → dist-BQGL-YKY.mjs} +1 -1
  62. package/dist/{dist-DdGJ50nX.mjs.map → dist-BQGL-YKY.mjs.map} +1 -1
  63. package/dist/{drawer-j9wcVE50.mjs → drawer-B3GpKBZs.mjs} +1 -1
  64. package/dist/{drawer-j9wcVE50.mjs.map → drawer-B3GpKBZs.mjs.map} +1 -1
  65. package/dist/{dropdown-menu-B_uBxY94.mjs → dropdown-menu-BjckWIZH.mjs} +1 -1
  66. package/dist/{dropdown-menu-B_uBxY94.mjs.map → dropdown-menu-BjckWIZH.mjs.map} +1 -1
  67. package/dist/features/descriptions/index.d.cts +7 -7
  68. package/dist/features/descriptions/index.d.mts +7 -7
  69. package/dist/features/descriptions/index.mjs +1 -1
  70. package/dist/features/search-modal/index.cjs +1 -1
  71. package/dist/features/search-modal/index.d.cts +2 -2
  72. package/dist/features/search-modal/index.d.mts +2 -2
  73. package/dist/features/search-modal/index.mjs +1 -1
  74. package/dist/features/tables/index.cjs +1 -1
  75. package/dist/features/tables/index.d.cts +1 -1
  76. package/dist/features/tables/index.d.mts +2 -2
  77. package/dist/features/tables/index.mjs +1 -1
  78. package/dist/features/tanstack-form/index.cjs +1 -1
  79. package/dist/features/tanstack-form/index.d.cts +1 -1
  80. package/dist/features/tanstack-form/index.d.mts +1 -1
  81. package/dist/features/tanstack-form/index.mjs +1 -1
  82. package/dist/features/text-editor/index.d.cts +1 -1
  83. package/dist/features/text-editor/index.d.mts +1 -1
  84. package/dist/features/text-editor/index.mjs +1 -1
  85. package/dist/{field-B8RhxRCu.mjs → field-0SZIwI1Q.mjs} +2 -2
  86. package/dist/{field-B8RhxRCu.mjs.map → field-0SZIwI1Q.mjs.map} +1 -1
  87. package/dist/{field-BxFpcOV1.cjs → field-ThrHQOAI.cjs} +2 -2
  88. package/dist/{field-BxFpcOV1.cjs.map → field-ThrHQOAI.cjs.map} +1 -1
  89. package/dist/{flex-Bl5yzx6g.mjs → flex-BAcvp4lB.mjs} +1 -1
  90. package/dist/{flex-Bl5yzx6g.mjs.map → flex-BAcvp4lB.mjs.map} +1 -1
  91. package/dist/{heading-B1t9baTw.mjs → heading-woRh-IC7.mjs} +1 -1
  92. package/dist/{heading-B1t9baTw.mjs.map → heading-woRh-IC7.mjs.map} +1 -1
  93. package/dist/{image-C4gMBmyV.mjs → image-D2U1SBw5.mjs} +2 -2
  94. package/dist/{image-C4gMBmyV.mjs.map → image-D2U1SBw5.mjs.map} +1 -1
  95. package/dist/{index-DMUr1T2A.d.cts → index-B4tGZDYR.d.cts} +6 -6
  96. package/dist/{index-WCk8mTXV.d.mts → index-BFFBdGdv.d.mts} +361 -361
  97. package/dist/{index-cSJtvD9W.d.mts → index-BUi04v_-.d.mts} +6 -6
  98. package/dist/{index-22flsTNt.d.cts → index-Btd0a1HO.d.cts} +28 -28
  99. package/dist/{index-DDPBbVVt.d.cts → index-Cvjgsouk.d.cts} +361 -361
  100. package/dist/{index-DdqgMofm.d.mts → index-DWJlXfCi.d.mts} +28 -28
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.d.cts +9 -10
  103. package/dist/index.d.mts +9 -10
  104. package/dist/index.mjs +1 -1
  105. package/dist/{input-CEYWz7lS.d.cts → input-DHBWjFPA.d.cts} +7 -7
  106. package/dist/{input-CKFQdvqY.mjs → input-ESg91VId.mjs} +1 -1
  107. package/dist/{input-CKFQdvqY.mjs.map → input-ESg91VId.mjs.map} +1 -1
  108. package/dist/{input-BILuHVfC.d.mts → input-wQP8YLOp.d.mts} +7 -7
  109. package/dist/{label-BHbqbBtO.cjs → label-BzfsTrVt.cjs} +1 -1
  110. package/dist/{label-BHbqbBtO.cjs.map → label-BzfsTrVt.cjs.map} +1 -1
  111. package/dist/{label-CE2m0U_j.mjs → label-Cig7a9ON.mjs} +1 -1
  112. package/dist/{label-CE2m0U_j.mjs.map → label-Cig7a9ON.mjs.map} +1 -1
  113. package/dist/layouts/cms-layout/index.mjs +1 -1
  114. package/dist/layouts/flex.d.cts +10 -10
  115. package/dist/layouts/flex.d.mts +10 -10
  116. package/dist/layouts/flex.mjs +1 -1
  117. package/dist/layouts/payment-layout/index.cjs +1 -1
  118. package/dist/layouts/payment-layout/index.d.cts +3 -0
  119. package/dist/layouts/payment-layout/index.d.mts +3 -0
  120. package/dist/layouts/payment-layout/index.mjs +1 -1
  121. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  122. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  123. package/dist/pages/FeatureDeveloping.mjs +1 -1
  124. package/dist/pages/FeatureFixing.d.cts +2 -2
  125. package/dist/pages/FeatureFixing.d.mts +2 -2
  126. package/dist/pages/FeatureFixing.mjs +1 -1
  127. package/dist/pages/LoginPage.cjs +1 -1
  128. package/dist/pages/LoginPage.d.cts +2 -2
  129. package/dist/pages/LoginPage.d.mts +2 -2
  130. package/dist/pages/LoginPage.mjs +1 -1
  131. package/dist/pages/NotAuthorized.d.cts +2 -2
  132. package/dist/pages/NotAuthorized.d.mts +2 -2
  133. package/dist/pages/NotAuthorized.mjs +1 -1
  134. package/dist/pages/NotFound.d.cts +2 -2
  135. package/dist/pages/NotFound.d.mts +2 -2
  136. package/dist/pages/NotFound.mjs +1 -1
  137. package/dist/pages/RegisterPage.cjs +1 -1
  138. package/dist/pages/RegisterPage.d.cts +2 -2
  139. package/dist/pages/RegisterPage.d.mts +2 -2
  140. package/dist/pages/RegisterPage.mjs +1 -1
  141. package/dist/pages/VerifyEmailPage.cjs +1 -1
  142. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  143. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  144. package/dist/pages/VerifyEmailPage.mjs +1 -1
  145. package/dist/{paragraph-J_QbLq9_.mjs → paragraph-CjstaJFj.mjs} +1 -1
  146. package/dist/{paragraph-J_QbLq9_.mjs.map → paragraph-CjstaJFj.mjs.map} +1 -1
  147. package/dist/{payment-layout-CafCw6lS.mjs → payment-layout-Bd4B4jhp.mjs} +2 -2
  148. package/dist/payment-layout-Bd4B4jhp.mjs.map +1 -0
  149. package/dist/{payment-layout-BkSC6JkI.cjs → payment-layout-kh0lLq71.cjs} +2 -2
  150. package/dist/payment-layout-kh0lLq71.cjs.map +1 -0
  151. package/dist/{popover-BCzVvfnV.mjs → popover-BXktOcLz.mjs} +2 -2
  152. package/dist/{popover-BCzVvfnV.mjs.map → popover-BXktOcLz.mjs.map} +1 -1
  153. package/dist/{popover-Bnrgg4do.cjs → popover-DACS7x0e.cjs} +1 -1
  154. package/dist/{popover-Bnrgg4do.cjs.map → popover-DACS7x0e.cjs.map} +1 -1
  155. package/dist/{progress-BcEEbgJJ.mjs → progress-bJYAFoHE.mjs} +1 -1
  156. package/dist/{progress-BcEEbgJJ.mjs.map → progress-bJYAFoHE.mjs.map} +1 -1
  157. package/dist/{radio-group-KR6Ck-B9.mjs → radio-group-CTILro-C.mjs} +1 -1
  158. package/dist/{radio-group-KR6Ck-B9.mjs.map → radio-group-CTILro-C.mjs.map} +1 -1
  159. package/dist/{resizable-em2svgMz.mjs → resizable-BNYc7hFd.mjs} +1 -1
  160. package/dist/{resizable-em2svgMz.mjs.map → resizable-BNYc7hFd.mjs.map} +1 -1
  161. package/dist/{search-modal-zmavzZRx.cjs → search-modal-CsYUvnWi.cjs} +2 -2
  162. package/dist/{search-modal-zmavzZRx.cjs.map → search-modal-CsYUvnWi.cjs.map} +1 -1
  163. package/dist/{search-modal-DyOsqK-4.mjs → search-modal-D4ESSOU-.mjs} +2 -2
  164. package/dist/{search-modal-DyOsqK-4.mjs.map → search-modal-D4ESSOU-.mjs.map} +1 -1
  165. package/dist/{select-DHiTqZeX.cjs → select-D0m78xbd.cjs} +1 -1
  166. package/dist/{select-DHiTqZeX.cjs.map → select-D0m78xbd.cjs.map} +1 -1
  167. package/dist/{select-C2Ro2wmj.mjs → select-DMGFb8TB.mjs} +1 -1
  168. package/dist/{select-C2Ro2wmj.mjs.map → select-DMGFb8TB.mjs.map} +1 -1
  169. package/dist/{separator-yTKDuMWb.mjs → separator-DVaVWuNc.mjs} +1 -1
  170. package/dist/{separator-yTKDuMWb.mjs.map → separator-DVaVWuNc.mjs.map} +1 -1
  171. package/dist/{sheet-DDBCHwn6.mjs → sheet-BoulTUHV.mjs} +1 -1
  172. package/dist/{sheet-DDBCHwn6.mjs.map → sheet-BoulTUHV.mjs.map} +1 -1
  173. package/dist/{sidebar-De1RZMAG.mjs → sidebar-xWo_Rfi-.mjs} +2 -2
  174. package/dist/{sidebar-De1RZMAG.mjs.map → sidebar-xWo_Rfi-.mjs.map} +1 -1
  175. package/dist/{skeleton-Czl96pWA.mjs → skeleton-DupQ91XW.mjs} +1 -1
  176. package/dist/{skeleton-Czl96pWA.mjs.map → skeleton-DupQ91XW.mjs.map} +1 -1
  177. package/dist/{spinner-CWUvnJQw.mjs → spinner-C2tF8jQt.mjs} +1 -1
  178. package/dist/{spinner-CWUvnJQw.mjs.map → spinner-C2tF8jQt.mjs.map} +1 -1
  179. package/dist/{switch-DHsjxnFP.mjs → switch-CY25L6l0.mjs} +1 -1
  180. package/dist/{switch-DHsjxnFP.mjs.map → switch-CY25L6l0.mjs.map} +1 -1
  181. package/dist/tables-BvdD0_el.mjs +4 -0
  182. package/dist/{tables-BQ-QiA1V.mjs.map → tables-BvdD0_el.mjs.map} +1 -1
  183. package/dist/{tables-LRWPOv2a.cjs → tables-D1SMzDFu.cjs} +2 -2
  184. package/dist/{tables-LRWPOv2a.cjs.map → tables-D1SMzDFu.cjs.map} +1 -1
  185. package/dist/{tanstack-form-Be6aIYAW.mjs → tanstack-form-Bof1jeRB.mjs} +2 -2
  186. package/dist/{tanstack-form-Be6aIYAW.mjs.map → tanstack-form-Bof1jeRB.mjs.map} +1 -1
  187. package/dist/{tanstack-form-CDgTokmf.cjs → tanstack-form-BulYI2bY.cjs} +2 -2
  188. package/dist/{tanstack-form-CDgTokmf.cjs.map → tanstack-form-BulYI2bY.cjs.map} +1 -1
  189. package/dist/{text-editor-CqC44BkO.mjs → text-editor-D61C1dng.mjs} +1 -1
  190. package/dist/{text-editor-CqC44BkO.mjs.map → text-editor-D61C1dng.mjs.map} +1 -1
  191. package/dist/{textarea-D0-Gltw6.mjs → textarea-B8eQoQaZ.mjs} +1 -1
  192. package/dist/{textarea-D0-Gltw6.mjs.map → textarea-B8eQoQaZ.mjs.map} +1 -1
  193. package/dist/{tooltip-BMdzWaaH.mjs → tooltip-BfBJRYpc.mjs} +1 -1
  194. package/dist/{tooltip-BMdzWaaH.mjs.map → tooltip-BfBJRYpc.mjs.map} +1 -1
  195. package/dist/{types-CuAlMviO.mjs → types-CFXgrpTm.mjs} +1 -1
  196. package/dist/{types-CuAlMviO.mjs.map → types-CFXgrpTm.mjs.map} +1 -1
  197. package/dist/{types-B2PQbMJL.d.mts → types-Cc_mLRAn.d.cts} +1 -1
  198. package/dist/{types-CLkAmCre.d.cts → types-DmTyKdm7.d.mts} +1 -1
  199. package/dist/typography/paragraph.d.cts +5 -5
  200. package/dist/typography/paragraph.d.mts +5 -5
  201. package/dist/typography/paragraph.mjs +1 -1
  202. package/dist/ui/alert-dialog.d.cts +12 -12
  203. package/dist/ui/alert-dialog.d.mts +12 -12
  204. package/dist/ui/alert-dialog.mjs +1 -1
  205. package/dist/ui/alert.d.cts +1 -1
  206. package/dist/ui/alert.d.mts +1 -1
  207. package/dist/ui/alert.mjs +1 -1
  208. package/dist/ui/aspect-ratio.d.cts +2 -2
  209. package/dist/ui/aspect-ratio.d.mts +2 -2
  210. package/dist/ui/avatar.d.cts +4 -4
  211. package/dist/ui/avatar.d.mts +4 -4
  212. package/dist/ui/avatar.mjs +1 -1
  213. package/dist/ui/badge.d.cts +1 -1
  214. package/dist/ui/badge.d.mts +1 -1
  215. package/dist/ui/badge.mjs +1 -1
  216. package/dist/ui/breadcrumb.d.cts +8 -8
  217. package/dist/ui/breadcrumb.d.mts +8 -8
  218. package/dist/ui/breadcrumb.mjs +1 -1
  219. package/dist/ui/button-group.d.cts +6 -6
  220. package/dist/ui/button-group.d.mts +6 -6
  221. package/dist/ui/button-group.mjs +1 -1
  222. package/dist/ui/button.d.cts +1 -1
  223. package/dist/ui/button.d.mts +1 -1
  224. package/dist/ui/button.mjs +1 -1
  225. package/dist/ui/buttons/add-new.mjs +1 -1
  226. package/dist/ui/buttons/edit.mjs +1 -1
  227. package/dist/ui/buttons/refresh.mjs +1 -1
  228. package/dist/ui/buttons/trash.mjs +1 -1
  229. package/dist/ui/buttons/upload-image.mjs +1 -1
  230. package/dist/ui/calendar.d.cts +4 -4
  231. package/dist/ui/calendar.d.mts +4 -4
  232. package/dist/ui/calendar.mjs +1 -1
  233. package/dist/ui/card.d.cts +8 -8
  234. package/dist/ui/card.d.mts +8 -8
  235. package/dist/ui/card.mjs +1 -1
  236. package/dist/ui/carousel.d.cts +7 -7
  237. package/dist/ui/carousel.d.mts +7 -7
  238. package/dist/ui/carousel.mjs +1 -1
  239. package/dist/ui/checkbox.d.cts +2 -2
  240. package/dist/ui/checkbox.d.mts +2 -2
  241. package/dist/ui/checkbox.mjs +1 -1
  242. package/dist/ui/collapsible.d.cts +4 -4
  243. package/dist/ui/collapsible.d.mts +4 -4
  244. package/dist/ui/command.cjs +1 -1
  245. package/dist/ui/command.d.cts +11 -11
  246. package/dist/ui/command.d.mts +11 -11
  247. package/dist/ui/command.mjs +1 -1
  248. package/dist/ui/context-menu.d.cts +16 -16
  249. package/dist/ui/context-menu.d.mts +16 -16
  250. package/dist/ui/dialog.cjs +1 -1
  251. package/dist/ui/dialog.d.cts +1 -1
  252. package/dist/ui/dialog.d.mts +1 -1
  253. package/dist/ui/dialog.mjs +1 -1
  254. package/dist/ui/drawer.d.cts +11 -11
  255. package/dist/ui/drawer.d.mts +11 -11
  256. package/dist/ui/drawer.mjs +1 -1
  257. package/dist/ui/dropdown-menu.d.cts +16 -16
  258. package/dist/ui/dropdown-menu.d.mts +16 -16
  259. package/dist/ui/dropdown-menu.mjs +1 -1
  260. package/dist/ui/empty.d.cts +9 -9
  261. package/dist/ui/empty.d.mts +9 -9
  262. package/dist/ui/field.cjs +1 -1
  263. package/dist/ui/field.d.cts +23 -23
  264. package/dist/ui/field.d.mts +23 -23
  265. package/dist/ui/field.mjs +1 -1
  266. package/dist/ui/file-uploader.d.cts +2 -2
  267. package/dist/ui/file-uploader.d.mts +2 -2
  268. package/dist/ui/file-uploader.mjs +1 -1
  269. package/dist/ui/form.cjs +1 -1
  270. package/dist/ui/form.d.cts +10 -10
  271. package/dist/ui/form.d.mts +10 -10
  272. package/dist/ui/form.mjs +1 -1
  273. package/dist/ui/hover-card.d.cts +4 -4
  274. package/dist/ui/hover-card.d.mts +4 -4
  275. package/dist/ui/image.mjs +1 -1
  276. package/dist/ui/input-otp.d.cts +5 -5
  277. package/dist/ui/input-otp.d.mts +5 -5
  278. package/dist/ui/input.d.cts +1 -1
  279. package/dist/ui/input.d.mts +1 -1
  280. package/dist/ui/input.mjs +1 -1
  281. package/dist/ui/inputs/search-input.d.cts +3 -3
  282. package/dist/ui/inputs/search-input.d.mts +3 -3
  283. package/dist/ui/inputs/search-input.mjs +1 -1
  284. package/dist/ui/item.d.cts +15 -15
  285. package/dist/ui/item.d.mts +15 -15
  286. package/dist/ui/item.mjs +1 -1
  287. package/dist/ui/label.cjs +1 -1
  288. package/dist/ui/label.d.cts +2 -2
  289. package/dist/ui/label.d.mts +2 -2
  290. package/dist/ui/label.mjs +1 -1
  291. package/dist/ui/menubar.d.cts +17 -17
  292. package/dist/ui/menubar.d.mts +17 -17
  293. package/dist/ui/multi-select.cjs +1 -1
  294. package/dist/ui/multi-select.d.cts +2 -2
  295. package/dist/ui/multi-select.d.mts +3 -3
  296. package/dist/ui/multi-select.mjs +1 -1
  297. package/dist/ui/navigation-menu.d.cts +9 -9
  298. package/dist/ui/navigation-menu.d.mts +11 -11
  299. package/dist/ui/pagination.d.cts +9 -9
  300. package/dist/ui/pagination.d.mts +9 -9
  301. package/dist/ui/pagination.mjs +1 -1
  302. package/dist/ui/popover.cjs +1 -1
  303. package/dist/ui/popover.d.cts +6 -6
  304. package/dist/ui/popover.d.mts +6 -6
  305. package/dist/ui/popover.mjs +1 -1
  306. package/dist/ui/progress.d.cts +2 -2
  307. package/dist/ui/progress.d.mts +2 -2
  308. package/dist/ui/progress.mjs +1 -1
  309. package/dist/ui/radio-group.d.cts +3 -3
  310. package/dist/ui/radio-group.d.mts +3 -3
  311. package/dist/ui/radio-group.mjs +1 -1
  312. package/dist/ui/resizable.d.cts +9 -9
  313. package/dist/ui/resizable.d.mts +9 -9
  314. package/dist/ui/resizable.mjs +1 -1
  315. package/dist/ui/scroll-area.d.cts +5 -5
  316. package/dist/ui/scroll-area.d.mts +5 -5
  317. package/dist/ui/select.cjs +1 -1
  318. package/dist/ui/select.d.cts +9 -9
  319. package/dist/ui/select.d.mts +9 -9
  320. package/dist/ui/select.mjs +1 -1
  321. package/dist/ui/separator.d.cts +2 -2
  322. package/dist/ui/separator.d.mts +2 -2
  323. package/dist/ui/separator.mjs +1 -1
  324. package/dist/ui/sheet.d.cts +9 -9
  325. package/dist/ui/sheet.d.mts +9 -9
  326. package/dist/ui/sheet.mjs +1 -1
  327. package/dist/ui/skeleton.d.cts +2 -2
  328. package/dist/ui/skeleton.d.mts +2 -2
  329. package/dist/ui/skeleton.mjs +1 -1
  330. package/dist/ui/slider.d.cts +2 -2
  331. package/dist/ui/slider.d.mts +2 -2
  332. package/dist/ui/sonner.d.cts +2 -2
  333. package/dist/ui/sonner.d.mts +2 -2
  334. package/dist/ui/spinner.d.cts +2 -2
  335. package/dist/ui/spinner.d.mts +2 -2
  336. package/dist/ui/spinner.mjs +1 -1
  337. package/dist/ui/switch.d.cts +2 -2
  338. package/dist/ui/switch.d.mts +2 -2
  339. package/dist/ui/switch.mjs +1 -1
  340. package/dist/ui/table.d.cts +17 -17
  341. package/dist/ui/table.d.mts +17 -17
  342. package/dist/ui/tabs.d.cts +5 -5
  343. package/dist/ui/tabs.d.mts +5 -5
  344. package/dist/ui/textarea.d.cts +2 -2
  345. package/dist/ui/textarea.d.mts +2 -2
  346. package/dist/ui/textarea.mjs +1 -1
  347. package/dist/ui/toggle-group.d.cts +3 -3
  348. package/dist/ui/toggle-group.d.mts +3 -3
  349. package/dist/ui/toggle.d.cts +5 -5
  350. package/dist/ui/toggle.d.mts +5 -5
  351. package/dist/ui/tooltip.d.cts +5 -5
  352. package/dist/ui/tooltip.d.mts +5 -5
  353. package/dist/ui/tooltip.mjs +1 -1
  354. package/dist/{user-DexjSvGZ.mjs → user-Cif7yb1w.mjs} +2 -2
  355. package/dist/{user-DexjSvGZ.mjs.map → user-Cif7yb1w.mjs.map} +1 -1
  356. package/package.json +1 -5
  357. package/dist/dialog-DEnyBH2X.cjs +0 -2
  358. package/dist/dialog-DEnyBH2X.cjs.map +0 -1
  359. package/dist/dialog-jqiIqxlm.mjs +0 -2
  360. package/dist/dialog-jqiIqxlm.mjs.map +0 -1
  361. package/dist/payment-layout-BkSC6JkI.cjs.map +0 -1
  362. package/dist/payment-layout-CafCw6lS.mjs.map +0 -1
  363. package/dist/tables-BQ-QiA1V.mjs +0 -4
  364. package/dist/ui/sidebar.cjs +0 -2
  365. package/dist/ui/sidebar.cjs.map +0 -1
  366. package/dist/ui/sidebar.d.cts +0 -264
  367. package/dist/ui/sidebar.d.mts +0 -264
  368. package/dist/ui/sidebar.mjs +0 -2
  369. package/dist/ui/sidebar.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react170 from "react";
1
+ import * as react99 from "react";
2
2
 
3
3
  //#region packages/components/ui/table.d.ts
4
4
 
@@ -29,45 +29,45 @@ import * as react170 from "react";
29
29
  * </Table>
30
30
  * ```
31
31
  */
32
- declare const Table: react170.MemoExoticComponent<({
32
+ declare const Table: react99.MemoExoticComponent<({
33
33
  className,
34
34
  ...props
35
- }: React.ComponentProps<"table">) => react170.JSX.Element>;
35
+ }: React.ComponentProps<"table">) => react99.JSX.Element>;
36
36
  /** The `<thead>` element containing one or more header rows. */
37
- declare const TableHeader: react170.MemoExoticComponent<({
37
+ declare const TableHeader: react99.MemoExoticComponent<({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<"thead">) => react170.JSX.Element>;
40
+ }: React.ComponentProps<"thead">) => react99.JSX.Element>;
41
41
  /** The `<tbody>` element containing data rows with hover and selection styling. */
42
- declare const TableBody: react170.MemoExoticComponent<({
42
+ declare const TableBody: react99.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"tbody">) => react170.JSX.Element>;
45
+ }: React.ComponentProps<"tbody">) => react99.JSX.Element>;
46
46
  /** The `<tfoot>` element for summary or aggregate rows at the bottom of the table. */
47
- declare const TableFooter: react170.MemoExoticComponent<({
47
+ declare const TableFooter: react99.MemoExoticComponent<({
48
48
  className,
49
49
  ...props
50
- }: React.ComponentProps<"tfoot">) => react170.JSX.Element>;
50
+ }: React.ComponentProps<"tfoot">) => react99.JSX.Element>;
51
51
  /** A single `<tr>` row used inside TableHeader, TableBody, or TableFooter. */
52
- declare const TableRow: react170.MemoExoticComponent<({
52
+ declare const TableRow: react99.MemoExoticComponent<({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<"tr">) => react170.JSX.Element>;
55
+ }: React.ComponentProps<"tr">) => react99.JSX.Element>;
56
56
  /** A `<th>` column header cell with medium-weight text and left alignment. */
57
- declare const TableHead: react170.MemoExoticComponent<({
57
+ declare const TableHead: react99.MemoExoticComponent<({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<"th">) => react170.JSX.Element>;
60
+ }: React.ComponentProps<"th">) => react99.JSX.Element>;
61
61
  /** A standard `<td>` data cell used inside a TableRow. */
62
- declare const TableCell: react170.MemoExoticComponent<({
62
+ declare const TableCell: react99.MemoExoticComponent<({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<"td">) => react170.JSX.Element>;
65
+ }: React.ComponentProps<"td">) => react99.JSX.Element>;
66
66
  /** An accessible `<caption>` element displayed below the table. */
67
- declare const TableCaption: react170.MemoExoticComponent<({
67
+ declare const TableCaption: react99.MemoExoticComponent<({
68
68
  className,
69
69
  ...props
70
- }: React.ComponentProps<"caption">) => react170.JSX.Element>;
70
+ }: React.ComponentProps<"caption">) => react99.JSX.Element>;
71
71
  //#endregion
72
72
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
73
73
  //# sourceMappingURL=table.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react265 from "react";
1
+ import * as react107 from "react";
2
2
 
3
3
  //#region packages/components/ui/table.d.ts
4
4
 
@@ -29,45 +29,45 @@ import * as react265 from "react";
29
29
  * </Table>
30
30
  * ```
31
31
  */
32
- declare const Table: react265.MemoExoticComponent<({
32
+ declare const Table: react107.MemoExoticComponent<({
33
33
  className,
34
34
  ...props
35
- }: React.ComponentProps<"table">) => react265.JSX.Element>;
35
+ }: React.ComponentProps<"table">) => react107.JSX.Element>;
36
36
  /** The `<thead>` element containing one or more header rows. */
37
- declare const TableHeader: react265.MemoExoticComponent<({
37
+ declare const TableHeader: react107.MemoExoticComponent<({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<"thead">) => react265.JSX.Element>;
40
+ }: React.ComponentProps<"thead">) => react107.JSX.Element>;
41
41
  /** The `<tbody>` element containing data rows with hover and selection styling. */
42
- declare const TableBody: react265.MemoExoticComponent<({
42
+ declare const TableBody: react107.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"tbody">) => react265.JSX.Element>;
45
+ }: React.ComponentProps<"tbody">) => react107.JSX.Element>;
46
46
  /** The `<tfoot>` element for summary or aggregate rows at the bottom of the table. */
47
- declare const TableFooter: react265.MemoExoticComponent<({
47
+ declare const TableFooter: react107.MemoExoticComponent<({
48
48
  className,
49
49
  ...props
50
- }: React.ComponentProps<"tfoot">) => react265.JSX.Element>;
50
+ }: React.ComponentProps<"tfoot">) => react107.JSX.Element>;
51
51
  /** A single `<tr>` row used inside TableHeader, TableBody, or TableFooter. */
52
- declare const TableRow: react265.MemoExoticComponent<({
52
+ declare const TableRow: react107.MemoExoticComponent<({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<"tr">) => react265.JSX.Element>;
55
+ }: React.ComponentProps<"tr">) => react107.JSX.Element>;
56
56
  /** A `<th>` column header cell with medium-weight text and left alignment. */
57
- declare const TableHead: react265.MemoExoticComponent<({
57
+ declare const TableHead: react107.MemoExoticComponent<({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<"th">) => react265.JSX.Element>;
60
+ }: React.ComponentProps<"th">) => react107.JSX.Element>;
61
61
  /** A standard `<td>` data cell used inside a TableRow. */
62
- declare const TableCell: react265.MemoExoticComponent<({
62
+ declare const TableCell: react107.MemoExoticComponent<({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<"td">) => react265.JSX.Element>;
65
+ }: React.ComponentProps<"td">) => react107.JSX.Element>;
66
66
  /** An accessible `<caption>` element displayed below the table. */
67
- declare const TableCaption: react265.MemoExoticComponent<({
67
+ declare const TableCaption: react107.MemoExoticComponent<({
68
68
  className,
69
69
  ...props
70
- }: React.ComponentProps<"caption">) => react265.JSX.Element>;
70
+ }: React.ComponentProps<"caption">) => react107.JSX.Element>;
71
71
  //#endregion
72
72
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
73
73
  //# sourceMappingURL=table.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react213 from "react";
1
+ import * as react158 from "react";
2
2
  import { Tabs as Tabs$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tabs.d.ts
@@ -23,22 +23,22 @@ import { Tabs as Tabs$1 } from "radix-ui";
23
23
  declare function Tabs({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<typeof Tabs$1.Root>): react213.JSX.Element;
26
+ }: React.ComponentProps<typeof Tabs$1.Root>): react158.JSX.Element;
27
27
  /** Container that holds the row of `TabsTrigger` buttons with a muted background pill style. */
28
28
  declare function TabsList({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<typeof Tabs$1.List>): react213.JSX.Element;
31
+ }: React.ComponentProps<typeof Tabs$1.List>): react158.JSX.Element;
32
32
  /** Individual tab button that activates its associated `TabsContent` panel when clicked. */
33
33
  declare function TabsTrigger({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<typeof Tabs$1.Trigger>): react213.JSX.Element;
36
+ }: React.ComponentProps<typeof Tabs$1.Trigger>): react158.JSX.Element;
37
37
  /** Panel whose visibility is controlled by the active `TabsTrigger`; each panel must have a matching `value`. */
38
38
  declare function TabsContent({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof Tabs$1.Content>): react213.JSX.Element;
41
+ }: React.ComponentProps<typeof Tabs$1.Content>): react158.JSX.Element;
42
42
  //#endregion
43
43
  export { Tabs, TabsContent, TabsList, TabsTrigger };
44
44
  //# sourceMappingURL=tabs.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react299 from "react";
1
+ import * as react144 from "react";
2
2
  import { Tabs as Tabs$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tabs.d.ts
@@ -23,22 +23,22 @@ import { Tabs as Tabs$1 } from "radix-ui";
23
23
  declare function Tabs({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<typeof Tabs$1.Root>): react299.JSX.Element;
26
+ }: React.ComponentProps<typeof Tabs$1.Root>): react144.JSX.Element;
27
27
  /** Container that holds the row of `TabsTrigger` buttons with a muted background pill style. */
28
28
  declare function TabsList({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<typeof Tabs$1.List>): react299.JSX.Element;
31
+ }: React.ComponentProps<typeof Tabs$1.List>): react144.JSX.Element;
32
32
  /** Individual tab button that activates its associated `TabsContent` panel when clicked. */
33
33
  declare function TabsTrigger({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<typeof Tabs$1.Trigger>): react299.JSX.Element;
36
+ }: React.ComponentProps<typeof Tabs$1.Trigger>): react144.JSX.Element;
37
37
  /** Panel whose visibility is controlled by the active `TabsTrigger`; each panel must have a matching `value`. */
38
38
  declare function TabsContent({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof Tabs$1.Content>): react299.JSX.Element;
41
+ }: React.ComponentProps<typeof Tabs$1.Content>): react144.JSX.Element;
42
42
  //#endregion
43
43
  export { Tabs, TabsContent, TabsList, TabsTrigger };
44
44
  //# sourceMappingURL=tabs.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react169 from "react";
1
+ import * as react171 from "react";
2
2
 
3
3
  //#region packages/components/ui/textarea.d.ts
4
4
 
@@ -24,7 +24,7 @@ declare function Textarea({
24
24
  }: React.ComponentProps<'textarea'> & {
25
25
  /** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
26
26
  onValueChange?: (value: string) => void;
27
- }): react169.JSX.Element;
27
+ }): react171.JSX.Element;
28
28
  //#endregion
29
29
  export { Textarea };
30
30
  //# sourceMappingURL=textarea.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react291 from "react";
1
+ import * as react198 from "react";
2
2
 
3
3
  //#region packages/components/ui/textarea.d.ts
4
4
 
@@ -24,7 +24,7 @@ declare function Textarea({
24
24
  }: React.ComponentProps<'textarea'> & {
25
25
  /** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
26
26
  onValueChange?: (value: string) => void;
27
- }): react291.JSX.Element;
27
+ }): react198.JSX.Element;
28
28
  //#endregion
29
29
  export { Textarea };
30
30
  //# sourceMappingURL=textarea.d.mts.map
@@ -1 +1 @@
1
- "use client";import{t as e}from"../textarea-D0-Gltw6.mjs";export{e as Textarea};
1
+ "use client";import{t as e}from"../textarea-B8eQoQaZ.mjs";export{e as Textarea};
@@ -1,5 +1,5 @@
1
1
  import { toggleVariants } from "./toggle.cjs";
2
- import * as react274 from "react";
2
+ import * as react185 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
5
5
 
@@ -25,7 +25,7 @@ declare function ToggleGroup({
25
25
  size,
26
26
  children,
27
27
  ...props
28
- }: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react274.JSX.Element;
28
+ }: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react185.JSX.Element;
29
29
  /** A single item/button within a ToggleGroup that inherits the group's variant and size. */
30
30
  declare function ToggleGroupItem({
31
31
  className,
@@ -33,7 +33,7 @@ declare function ToggleGroupItem({
33
33
  variant,
34
34
  size,
35
35
  ...props
36
- }: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react274.JSX.Element;
36
+ }: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react185.JSX.Element;
37
37
  //#endregion
38
38
  export { ToggleGroup, ToggleGroupItem };
39
39
  //# sourceMappingURL=toggle-group.d.cts.map
@@ -1,5 +1,5 @@
1
1
  import { toggleVariants } from "./toggle.mjs";
2
- import * as react292 from "react";
2
+ import * as react105 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
5
5
 
@@ -25,7 +25,7 @@ declare function ToggleGroup({
25
25
  size,
26
26
  children,
27
27
  ...props
28
- }: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react292.JSX.Element;
28
+ }: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react105.JSX.Element;
29
29
  /** A single item/button within a ToggleGroup that inherits the group's variant and size. */
30
30
  declare function ToggleGroupItem({
31
31
  className,
@@ -33,7 +33,7 @@ declare function ToggleGroupItem({
33
33
  variant,
34
34
  size,
35
35
  ...props
36
- }: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react292.JSX.Element;
36
+ }: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react105.JSX.Element;
37
37
  //#endregion
38
38
  export { ToggleGroup, ToggleGroupItem };
39
39
  //# sourceMappingURL=toggle-group.d.mts.map
@@ -1,13 +1,13 @@
1
- import * as react276 from "react";
2
- import * as class_variance_authority_types11 from "class-variance-authority/types";
1
+ import * as react170 from "react";
2
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { Toggle as Toggle$1 } from "radix-ui";
5
5
 
6
6
  //#region packages/components/ui/toggle.d.ts
7
7
  declare const toggleVariants: (props?: ({
8
8
  variant?: "default" | "outline" | null | undefined;
9
- size?: "sm" | "lg" | "default" | null | undefined;
10
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
9
+ size?: "default" | "sm" | "lg" | null | undefined;
10
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
11
11
  /**
12
12
  * A two-state button that switches between pressed (`on`) and unpressed (`off`).
13
13
  *
@@ -26,7 +26,7 @@ declare function Toggle({
26
26
  variant,
27
27
  size,
28
28
  ...props
29
- }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react276.JSX.Element;
29
+ }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react170.JSX.Element;
30
30
  //#endregion
31
31
  export { Toggle, toggleVariants };
32
32
  //# sourceMappingURL=toggle.d.cts.map
@@ -1,13 +1,13 @@
1
- import * as react290 from "react";
1
+ import * as react196 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { Toggle as Toggle$1 } from "radix-ui";
4
- import * as class_variance_authority_types11 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
5
5
 
6
6
  //#region packages/components/ui/toggle.d.ts
7
7
  declare const toggleVariants: (props?: ({
8
8
  variant?: "default" | "outline" | null | undefined;
9
- size?: "sm" | "lg" | "default" | null | undefined;
10
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
9
+ size?: "default" | "sm" | "lg" | null | undefined;
10
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
11
11
  /**
12
12
  * A two-state button that switches between pressed (`on`) and unpressed (`off`).
13
13
  *
@@ -26,7 +26,7 @@ declare function Toggle({
26
26
  variant,
27
27
  size,
28
28
  ...props
29
- }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react290.JSX.Element;
29
+ }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react196.JSX.Element;
30
30
  //#endregion
31
31
  export { Toggle, toggleVariants };
32
32
  //# sourceMappingURL=toggle.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react187 from "react";
1
+ import * as react223 from "react";
2
2
  import { Tooltip as Tooltip$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
@@ -19,7 +19,7 @@ import { Tooltip as Tooltip$1 } from "radix-ui";
19
19
  declare function TooltipProvider({
20
20
  delayDuration,
21
21
  ...props
22
- }: React.ComponentProps<typeof Tooltip$1.Provider>): react187.JSX.Element;
22
+ }: React.ComponentProps<typeof Tooltip$1.Provider>): react223.JSX.Element;
23
23
  /**
24
24
  * Floating label that reveals supplementary text when the user hovers or focuses its trigger element.
25
25
  *
@@ -38,18 +38,18 @@ declare function TooltipProvider({
38
38
  */
39
39
  declare function Tooltip({
40
40
  ...props
41
- }: React.ComponentProps<typeof Tooltip$1.Root>): react187.JSX.Element;
41
+ }: React.ComponentProps<typeof Tooltip$1.Root>): react223.JSX.Element;
42
42
  /** Element that opens the tooltip on hover/focus; use `asChild` to forward props to a custom child element. */
43
43
  declare function TooltipTrigger({
44
44
  ...props
45
- }: React.ComponentProps<typeof Tooltip$1.Trigger>): react187.JSX.Element;
45
+ }: React.ComponentProps<typeof Tooltip$1.Trigger>): react223.JSX.Element;
46
46
  /** Floating panel rendered in a portal that displays the tooltip text with a directional arrow. */
47
47
  declare function TooltipContent({
48
48
  className,
49
49
  sideOffset,
50
50
  children,
51
51
  ...props
52
- }: React.ComponentProps<typeof Tooltip$1.Content>): react187.JSX.Element;
52
+ }: React.ComponentProps<typeof Tooltip$1.Content>): react223.JSX.Element;
53
53
  //#endregion
54
54
  export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
55
55
  //# sourceMappingURL=tooltip.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react295 from "react";
1
+ import * as react100 from "react";
2
2
  import { Tooltip as Tooltip$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
@@ -19,7 +19,7 @@ import { Tooltip as Tooltip$1 } from "radix-ui";
19
19
  declare function TooltipProvider({
20
20
  delayDuration,
21
21
  ...props
22
- }: React.ComponentProps<typeof Tooltip$1.Provider>): react295.JSX.Element;
22
+ }: React.ComponentProps<typeof Tooltip$1.Provider>): react100.JSX.Element;
23
23
  /**
24
24
  * Floating label that reveals supplementary text when the user hovers or focuses its trigger element.
25
25
  *
@@ -38,18 +38,18 @@ declare function TooltipProvider({
38
38
  */
39
39
  declare function Tooltip({
40
40
  ...props
41
- }: React.ComponentProps<typeof Tooltip$1.Root>): react295.JSX.Element;
41
+ }: React.ComponentProps<typeof Tooltip$1.Root>): react100.JSX.Element;
42
42
  /** Element that opens the tooltip on hover/focus; use `asChild` to forward props to a custom child element. */
43
43
  declare function TooltipTrigger({
44
44
  ...props
45
- }: React.ComponentProps<typeof Tooltip$1.Trigger>): react295.JSX.Element;
45
+ }: React.ComponentProps<typeof Tooltip$1.Trigger>): react100.JSX.Element;
46
46
  /** Floating panel rendered in a portal that displays the tooltip text with a directional arrow. */
47
47
  declare function TooltipContent({
48
48
  className,
49
49
  sideOffset,
50
50
  children,
51
51
  ...props
52
- }: React.ComponentProps<typeof Tooltip$1.Content>): react295.JSX.Element;
52
+ }: React.ComponentProps<typeof Tooltip$1.Content>): react100.JSX.Element;
53
53
  //#endregion
54
54
  export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
55
55
  //# sourceMappingURL=tooltip.d.mts.map
@@ -1 +1 @@
1
- "use client";import{i as e,n as t,r as n,t as r}from"../tooltip-BMdzWaaH.mjs";export{r as Tooltip,t as TooltipContent,n as TooltipProvider,e as TooltipTrigger};
1
+ "use client";import{i as e,n as t,r as n,t as r}from"../tooltip-BfBJRYpc.mjs";export{r as Tooltip,t as TooltipContent,n as TooltipProvider,e as TooltipTrigger};
@@ -1,2 +1,2 @@
1
- import{t as e}from"./paragraph-J_QbLq9_.mjs";import{t}from"./flex-Bl5yzx6g.mjs";import{n,t as r}from"./avatar-CK1R4r0j.mjs";import{UserRoundIcon as i}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{colorHashLight as s}from"@customafk/react-toolkit/color-hash";const c=({uuid:c,username:l,email:u})=>o(t,{"data-slot":`user-display`,wrap:!1,gap:`sm`,padding:`none`,children:[a(r,{className:`size-10 shadow-card`,children:a(n,{style:{backgroundColor:s.hex(c)},children:a(i,{size:28,className:`text-white`})})}),o(t,{vertical:!0,padding:`none`,gap:`none`,align:`start`,children:[a(e,{className:`text-sm font-medium text-text-positive`,children:l}),a(e,{variant:`sm`,className:`mt-0! text-xs text-text-positive-weak`,children:u})]})]});export{c as t};
2
- //# sourceMappingURL=user-DexjSvGZ.mjs.map
1
+ import{t as e}from"./paragraph-CjstaJFj.mjs";import{t}from"./flex-BAcvp4lB.mjs";import{n,t as r}from"./avatar-1SuFoI5h.mjs";import{UserRoundIcon as i}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{colorHashLight as s}from"@customafk/react-toolkit/color-hash";const c=({uuid:c,username:l,email:u})=>o(t,{"data-slot":`user-display`,wrap:!1,gap:`sm`,padding:`none`,children:[a(r,{className:`size-10 shadow-card`,children:a(n,{style:{backgroundColor:s.hex(c)},children:a(i,{size:28,className:`text-white`})})}),o(t,{vertical:!0,padding:`none`,gap:`none`,align:`start`,children:[a(e,{className:`text-sm font-medium text-text-positive`,children:l}),a(e,{variant:`sm`,className:`mt-0! text-xs text-text-positive-weak`,children:u})]})]});export{c as t};
2
+ //# sourceMappingURL=user-Cif7yb1w.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-DexjSvGZ.mjs","names":["UserDataDisplay: React.FC<UserDataDisplayProps>"],"sources":["../packages/components/data-display/user.tsx"],"sourcesContent":["'use client';\n\nimport { UserRoundIcon } from 'lucide-react';\n\nimport { colorHashLight } from '@customafk/react-toolkit/color-hash';\n\nimport { Flex } from '../layouts/flex';\nimport { Paragraph } from '../typography/paragraph';\nimport { Avatar, AvatarFallback } from '../ui/avatar';\n\ntype UserDataDisplayProps = {\n /** Unique identifier used to deterministically generate the avatar background colour. */\n uuid: string;\n /** Display name rendered as the primary line of the user card. */\n username: string;\n /** Email address rendered as the secondary, muted line below the username. */\n email: string;\n};\n\n/**\n * Displays a user identity card with a colour-hashed avatar, username, and email address.\n *\n * @example\n * ```tsx\n * import { UserDataDisplay } from '@customafk/lunas-ui/data-display/user';\n *\n * <UserDataDisplay uuid=\"abc-123\" username=\"Nguyễn Văn An\" email=\"an@example.com\" />\n * ```\n */\nexport const UserDataDisplay: React.FC<UserDataDisplayProps> = ({ uuid, username, email }) => {\n return (\n <Flex data-slot=\"user-display\" wrap={false} gap=\"sm\" padding=\"none\">\n <Avatar className=\"size-10 shadow-card\">\n <AvatarFallback style={{ backgroundColor: colorHashLight.hex(uuid) }}>\n <UserRoundIcon size={28} className=\"text-white\" />\n </AvatarFallback>\n </Avatar>\n <Flex vertical padding=\"none\" gap=\"none\" align=\"start\">\n <Paragraph className=\"text-sm font-medium text-text-positive\">{username}</Paragraph>\n <Paragraph variant=\"sm\" className=\"mt-0! text-xs text-text-positive-weak\">\n {email}\n </Paragraph>\n </Flex>\n </Flex>\n );\n};\n"],"mappings":"gSA6BA,MAAaA,GAAmD,CAAE,OAAM,WAAU,WAE9E,EAAC,EAAA,CAAK,YAAU,eAAe,KAAM,GAAO,IAAI,KAAK,QAAQ,iBAC3D,EAAC,EAAA,CAAO,UAAU,+BAChB,EAAC,EAAA,CAAe,MAAO,CAAE,gBAAiB,EAAe,IAAI,EAAK,CAAE,UAClE,EAAC,EAAA,CAAc,KAAM,GAAI,UAAU,cAAe,EACnC,EACV,CACT,EAAC,EAAA,CAAK,SAAA,GAAS,QAAQ,OAAO,IAAI,OAAO,MAAM,kBAC7C,EAAC,EAAA,CAAU,UAAU,kDAA0C,GAAqB,CACpF,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,iDAC/B,GACS,CAAA,EACP,CAAA,EACF"}
1
+ {"version":3,"file":"user-Cif7yb1w.mjs","names":["UserDataDisplay: React.FC<UserDataDisplayProps>"],"sources":["../packages/components/data-display/user.tsx"],"sourcesContent":["'use client';\n\nimport { UserRoundIcon } from 'lucide-react';\n\nimport { colorHashLight } from '@customafk/react-toolkit/color-hash';\n\nimport { Flex } from '../layouts/flex';\nimport { Paragraph } from '../typography/paragraph';\nimport { Avatar, AvatarFallback } from '../ui/avatar';\n\ntype UserDataDisplayProps = {\n /** Unique identifier used to deterministically generate the avatar background colour. */\n uuid: string;\n /** Display name rendered as the primary line of the user card. */\n username: string;\n /** Email address rendered as the secondary, muted line below the username. */\n email: string;\n};\n\n/**\n * Displays a user identity card with a colour-hashed avatar, username, and email address.\n *\n * @example\n * ```tsx\n * import { UserDataDisplay } from '@customafk/lunas-ui/data-display/user';\n *\n * <UserDataDisplay uuid=\"abc-123\" username=\"Nguyễn Văn An\" email=\"an@example.com\" />\n * ```\n */\nexport const UserDataDisplay: React.FC<UserDataDisplayProps> = ({ uuid, username, email }) => {\n return (\n <Flex data-slot=\"user-display\" wrap={false} gap=\"sm\" padding=\"none\">\n <Avatar className=\"size-10 shadow-card\">\n <AvatarFallback style={{ backgroundColor: colorHashLight.hex(uuid) }}>\n <UserRoundIcon size={28} className=\"text-white\" />\n </AvatarFallback>\n </Avatar>\n <Flex vertical padding=\"none\" gap=\"none\" align=\"start\">\n <Paragraph className=\"text-sm font-medium text-text-positive\">{username}</Paragraph>\n <Paragraph variant=\"sm\" className=\"mt-0! text-xs text-text-positive-weak\">\n {email}\n </Paragraph>\n </Flex>\n </Flex>\n );\n};\n"],"mappings":"gSA6BA,MAAaA,GAAmD,CAAE,OAAM,WAAU,WAE9E,EAAC,EAAA,CAAK,YAAU,eAAe,KAAM,GAAO,IAAI,KAAK,QAAQ,iBAC3D,EAAC,EAAA,CAAO,UAAU,+BAChB,EAAC,EAAA,CAAe,MAAO,CAAE,gBAAiB,EAAe,IAAI,EAAK,CAAE,UAClE,EAAC,EAAA,CAAc,KAAM,GAAI,UAAU,cAAe,EACnC,EACV,CACT,EAAC,EAAA,CAAK,SAAA,GAAS,QAAQ,OAAO,IAAI,OAAO,MAAM,kBAC7C,EAAC,EAAA,CAAU,UAAU,kDAA0C,GAAqB,CACpF,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,iDAC/B,GACS,CAAA,EACP,CAAA,EACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@customafk/lunas-ui",
3
- "version": "0.2.32",
3
+ "version": "0.2.34",
4
4
  "description": "UI library for Lunas Enterprise",
5
5
  "type": "module",
6
6
  "author": {
@@ -364,10 +364,6 @@
364
364
  "require": "./dist/ui/sheet.cjs",
365
365
  "import": "./dist/ui/sheet.mjs"
366
366
  },
367
- "./ui/sidebar": {
368
- "require": "./dist/ui/sidebar.cjs",
369
- "import": "./dist/ui/sidebar.mjs"
370
- },
371
367
  "./ui/skeleton": {
372
368
  "require": "./dist/ui/skeleton.cjs",
373
369
  "import": "./dist/ui/skeleton.mjs"
@@ -1,2 +0,0 @@
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 +0,0 @@
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"}
@@ -1,2 +0,0 @@
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 +0,0 @@
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"}