@customafk/lunas-ui 0.2.17 → 0.2.18

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 (338) hide show
  1. package/dist/{alert-kJbUcjIR.cjs → alert-B7TDxb35.cjs} +1 -1
  2. package/dist/{alert-kJbUcjIR.cjs.map → alert-B7TDxb35.cjs.map} +1 -1
  3. package/dist/{alert-DAsuV2rs.d.cts → alert-Beqe8m7q.d.cts} +8 -8
  4. package/dist/{alert-DjfDTXIK.mjs → alert-Dn5x8pBc.mjs} +1 -1
  5. package/dist/{alert-DjfDTXIK.mjs.map → alert-Dn5x8pBc.mjs.map} +1 -1
  6. package/dist/{alert-DbIpz-Ut.d.mts → alert-XpHbQl4p.d.mts} +8 -8
  7. package/dist/{avatar-DbxqvCjT.mjs → avatar-5LzTjIjo.mjs} +1 -1
  8. package/dist/{avatar-DbxqvCjT.mjs.map → avatar-5LzTjIjo.mjs.map} +1 -1
  9. package/dist/{badge-DRPNdX-8.d.cts → badge-CSIbd6Ib.d.cts} +7 -7
  10. package/dist/{badge-B8bw2UEY.mjs → badge-DYcJtNU0.mjs} +1 -1
  11. package/dist/{badge-B8bw2UEY.mjs.map → badge-DYcJtNU0.mjs.map} +1 -1
  12. package/dist/{badge-DujjvdK2.d.mts → badge-cDG94TBd.d.mts} +7 -7
  13. package/dist/{button-NsDEQZQu.d.cts → button-Bu1wgqhO.d.mts} +7 -7
  14. package/dist/{button-C6ybzxxj.mjs → button-DPABon17.mjs} +2 -2
  15. package/dist/{button-C6ybzxxj.mjs.map → button-DPABon17.mjs.map} +1 -1
  16. package/dist/{button-By8N7gww.d.mts → button-D_PwLu6A.d.cts} +7 -7
  17. package/dist/{button.variants-DeCyas1F.mjs → button.variants-B8KCLWPT.mjs} +1 -1
  18. package/dist/{button.variants-DeCyas1F.mjs.map → button.variants-B8KCLWPT.mjs.map} +1 -1
  19. package/dist/{calendar-WMJIKojX.mjs → calendar-DJnuujFC.mjs} +2 -2
  20. package/dist/{calendar-WMJIKojX.mjs.map → calendar-DJnuujFC.mjs.map} +1 -1
  21. package/dist/cards/grid-product-card.mjs +1 -1
  22. package/dist/cards/product-card.mjs +1 -1
  23. package/dist/cards/simple-card.d.mts +2 -2
  24. package/dist/cards/simple-card.mjs +1 -1
  25. package/dist/{checkbox-Dzo6oI4y.mjs → checkbox-dDSDiwLB.mjs} +1 -1
  26. package/dist/{checkbox-Dzo6oI4y.mjs.map → checkbox-dDSDiwLB.mjs.map} +1 -1
  27. package/dist/{close-BU0kWRVo.mjs → close-BcOkVqd8.mjs} +1 -1
  28. package/dist/{close-BU0kWRVo.mjs.map → close-BcOkVqd8.mjs.map} +1 -1
  29. package/dist/{cms-layout-BYzUepEk.mjs → cms-layout-CujBx9FA.mjs} +2 -2
  30. package/dist/{cms-layout-BYzUepEk.mjs.map → cms-layout-CujBx9FA.mjs.map} +1 -1
  31. package/dist/{cms-layout-BLJpfFpE.cjs → cms-layout-mgZdCNOL.cjs} +1 -1
  32. package/dist/{cms-layout-BLJpfFpE.cjs.map → cms-layout-mgZdCNOL.cjs.map} +1 -1
  33. package/dist/{command-bpcnKEbR.mjs → command-B8y4H5q5.mjs} +2 -2
  34. package/dist/{command-bpcnKEbR.mjs.map → command-B8y4H5q5.mjs.map} +1 -1
  35. package/dist/data-display/country.d.cts +1 -1
  36. package/dist/data-display/country.d.mts +1 -1
  37. package/dist/data-display/country.mjs +1 -1
  38. package/dist/data-display/date-tooltip.mjs +1 -1
  39. package/dist/data-display/date.mjs +1 -1
  40. package/dist/data-display/name.mjs +1 -1
  41. package/dist/data-display/phone-number.mjs +1 -1
  42. package/dist/data-display/role-badge.d.cts +1 -1
  43. package/dist/data-display/role-badge.d.mts +1 -1
  44. package/dist/data-display/role-badge.mjs +1 -1
  45. package/dist/data-display/statistic.d.cts +2 -2
  46. package/dist/data-display/statistic.d.mts +6 -6
  47. package/dist/data-display/user.mjs +1 -1
  48. package/dist/{date-CVz9xdCg.mjs → date-C76vNHGL.mjs} +1 -1
  49. package/dist/{date-CVz9xdCg.mjs.map → date-C76vNHGL.mjs.map} +1 -1
  50. package/dist/{dialog-CI38DMSt.d.cts → dialog-CtO9ie0P.d.cts} +12 -12
  51. package/dist/{dialog-Cd9s8XQ6.d.mts → dialog-DtknheXI.d.mts} +12 -12
  52. package/dist/{dialog-BchwY6-N.mjs → dialog-dqqupmOT.mjs} +2 -2
  53. package/dist/{dialog-BchwY6-N.mjs.map → dialog-dqqupmOT.mjs.map} +1 -1
  54. package/dist/dialogs/confirm-dialog.mjs +1 -1
  55. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
  56. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +27 -27
  57. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  58. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  59. package/dist/dialogs/error-dialog.mjs +1 -1
  60. package/dist/dialogs/loading-dialog.mjs +1 -1
  61. package/dist/{dist-CIN9T2FB.mjs → dist-DPEjz4kv.mjs} +1 -1
  62. package/dist/{dist-CIN9T2FB.mjs.map → dist-DPEjz4kv.mjs.map} +1 -1
  63. package/dist/{dropdown-menu-DWSfXhHo.mjs → dropdown-menu-BocQ2Vev.mjs} +1 -1
  64. package/dist/{dropdown-menu-DWSfXhHo.mjs.map → dropdown-menu-BocQ2Vev.mjs.map} +1 -1
  65. package/dist/features/descriptions/index.d.cts +7 -7
  66. package/dist/features/descriptions/index.d.mts +7 -7
  67. package/dist/features/descriptions/index.mjs +1 -1
  68. package/dist/features/search-modal/index.d.cts +2 -2
  69. package/dist/features/search-modal/index.d.mts +2 -2
  70. package/dist/features/search-modal/index.mjs +1 -1
  71. package/dist/features/tables/index.cjs +1 -1
  72. package/dist/features/tables/index.d.cts +1 -1
  73. package/dist/features/tables/index.d.mts +2 -2
  74. package/dist/features/tables/index.mjs +1 -1
  75. package/dist/features/tanstack-form/index.cjs +1 -1
  76. package/dist/features/tanstack-form/index.d.cts +1 -1
  77. package/dist/features/tanstack-form/index.d.mts +1 -1
  78. package/dist/features/tanstack-form/index.mjs +1 -1
  79. package/dist/features/text-editor/index.cjs +1 -0
  80. package/dist/features/text-editor/index.d.cts +2 -0
  81. package/dist/features/text-editor/index.d.mts +2 -0
  82. package/dist/features/text-editor/index.mjs +1 -0
  83. package/dist/{field-C5HOxxiX.mjs → field-DaZocB_E.mjs} +2 -2
  84. package/dist/{field-C5HOxxiX.mjs.map → field-DaZocB_E.mjs.map} +1 -1
  85. package/dist/{field-D1wvj5Wj.cjs → field-enVJXFvC.cjs} +1 -1
  86. package/dist/{field-D1wvj5Wj.cjs.map → field-enVJXFvC.cjs.map} +1 -1
  87. package/dist/{flex-BLMTj7Ev.mjs → flex-zl_w1yeZ.mjs} +1 -1
  88. package/dist/{flex-BLMTj7Ev.mjs.map → flex-zl_w1yeZ.mjs.map} +1 -1
  89. package/dist/{heading-DN67djxs.mjs → heading-D8K7UGv2.mjs} +1 -1
  90. package/dist/{heading-DN67djxs.mjs.map → heading-D8K7UGv2.mjs.map} +1 -1
  91. package/dist/{image-BlzrSaoE.mjs → image-WRAFECmc.mjs} +2 -2
  92. package/dist/{image-BlzrSaoE.mjs.map → image-WRAFECmc.mjs.map} +1 -1
  93. package/dist/{index-nVWQpWlX.d.cts → index-6R0zla55.d.cts} +444 -342
  94. package/dist/{index-dLraZMQ9.d.mts → index-CDGAuUDu.d.cts} +29 -29
  95. package/dist/{index-DHBPQRFJ.d.mts → index-D8a6GRB2.d.mts} +444 -342
  96. package/dist/{index-DmpI6f1Z.d.cts → index-DgO3fRA8.d.mts} +29 -29
  97. package/dist/index-Dn6FVL5X.d.cts +48 -0
  98. package/dist/index-tr2ndIm-.d.mts +48 -0
  99. package/dist/index.cjs +1 -1
  100. package/dist/index.d.cts +9 -8
  101. package/dist/index.d.mts +9 -8
  102. package/dist/index.mjs +1 -1
  103. package/dist/{input-CKmihxje.d.mts → input-BFD3ecVI.d.mts} +6 -6
  104. package/dist/{input-6f9JTc79.mjs → input-BTm2GrZP.mjs} +1 -1
  105. package/dist/{input-6f9JTc79.mjs.map → input-BTm2GrZP.mjs.map} +1 -1
  106. package/dist/{input-BMJ08G0t.d.cts → input-CsTijTsW.d.cts} +4 -4
  107. package/dist/{label-COqDQDMy.mjs → label-BC2u42kJ.mjs} +1 -1
  108. package/dist/{label-COqDQDMy.mjs.map → label-BC2u42kJ.mjs.map} +1 -1
  109. package/dist/layouts/cms-layout/index.cjs +1 -1
  110. package/dist/layouts/cms-layout/index.mjs +1 -1
  111. package/dist/layouts/flex.d.cts +7 -7
  112. package/dist/layouts/flex.d.mts +7 -7
  113. package/dist/layouts/flex.mjs +1 -1
  114. package/dist/layouts/payment-layout/index.cjs +1 -1
  115. package/dist/layouts/payment-layout/index.mjs +1 -1
  116. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  117. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  118. package/dist/pages/FeatureDeveloping.mjs +1 -1
  119. package/dist/pages/FeatureFixing.d.cts +2 -2
  120. package/dist/pages/FeatureFixing.d.mts +2 -2
  121. package/dist/pages/FeatureFixing.mjs +1 -1
  122. package/dist/pages/NotAuthorized.d.cts +2 -2
  123. package/dist/pages/NotAuthorized.d.mts +2 -2
  124. package/dist/pages/NotAuthorized.mjs +1 -1
  125. package/dist/pages/NotFound.d.cts +2 -2
  126. package/dist/pages/NotFound.d.mts +2 -2
  127. package/dist/pages/NotFound.mjs +1 -1
  128. package/dist/{paragraph-Ch5TvEqL.mjs → paragraph-jzLzzEYZ.mjs} +1 -1
  129. package/dist/{paragraph-Ch5TvEqL.mjs.map → paragraph-jzLzzEYZ.mjs.map} +1 -1
  130. package/dist/{payment-layout-CVBTGjMw.mjs → payment-layout-BKJ5xJra.mjs} +2 -2
  131. package/dist/{payment-layout-CVBTGjMw.mjs.map → payment-layout-BKJ5xJra.mjs.map} +1 -1
  132. package/dist/{payment-layout-C8_xrnVn.cjs → payment-layout-CcMvKPaX.cjs} +1 -1
  133. package/dist/{payment-layout-C8_xrnVn.cjs.map → payment-layout-CcMvKPaX.cjs.map} +1 -1
  134. package/dist/{popover-OJXFbqJi.mjs → popover-HZvZNeka.mjs} +2 -2
  135. package/dist/{popover-OJXFbqJi.mjs.map → popover-HZvZNeka.mjs.map} +1 -1
  136. package/dist/{progress-0cpDwgAJ.mjs → progress-CgQ13rSf.mjs} +1 -1
  137. package/dist/{progress-0cpDwgAJ.mjs.map → progress-CgQ13rSf.mjs.map} +1 -1
  138. package/dist/{radio-group-5ktXGXSv.mjs → radio-group-BN5y5gZY.mjs} +1 -1
  139. package/dist/{radio-group-5ktXGXSv.mjs.map → radio-group-BN5y5gZY.mjs.map} +1 -1
  140. package/dist/{resizable-C2Zl-iLF.mjs → resizable-CLUR91Hx.mjs} +1 -1
  141. package/dist/{resizable-C2Zl-iLF.mjs.map → resizable-CLUR91Hx.mjs.map} +1 -1
  142. package/dist/{search-modal-BxjKY8I7.mjs → search-modal-Dz7rfifb.mjs} +2 -2
  143. package/dist/{search-modal-BxjKY8I7.mjs.map → search-modal-Dz7rfifb.mjs.map} +1 -1
  144. package/dist/{select-DrHceSnf.mjs → select-1Z1p9bmp.mjs} +1 -1
  145. package/dist/{select-DrHceSnf.mjs.map → select-1Z1p9bmp.mjs.map} +1 -1
  146. package/dist/{separator-BMsbHAVt.mjs → separator-DVI2h_rd.mjs} +1 -1
  147. package/dist/{separator-BMsbHAVt.mjs.map → separator-DVI2h_rd.mjs.map} +1 -1
  148. package/dist/{sheet-DMIqn1iv.mjs → sheet-BRXYSJDv.mjs} +1 -1
  149. package/dist/{sheet-DMIqn1iv.mjs.map → sheet-BRXYSJDv.mjs.map} +1 -1
  150. package/dist/{sidebar-QmCQFs8h.mjs → sidebar-QPaK3ryM.mjs} +2 -2
  151. package/dist/{sidebar-QmCQFs8h.mjs.map → sidebar-QPaK3ryM.mjs.map} +1 -1
  152. package/dist/{skeleton-BPxcW2yu.mjs → skeleton-CZVkWN4p.mjs} +1 -1
  153. package/dist/{skeleton-BPxcW2yu.mjs.map → skeleton-CZVkWN4p.mjs.map} +1 -1
  154. package/dist/{spinner-B3F9W53l.mjs → spinner-DkmcGiVT.mjs} +1 -1
  155. package/dist/{spinner-B3F9W53l.mjs.map → spinner-DkmcGiVT.mjs.map} +1 -1
  156. package/dist/{tables-CRT-VlLK.cjs → tables-BhX5FzM4.cjs} +4 -4
  157. package/dist/tables-BhX5FzM4.cjs.map +1 -0
  158. package/dist/tables-D2za3DdW.mjs +4 -0
  159. package/dist/tables-D2za3DdW.mjs.map +1 -0
  160. package/dist/tanstack-form-D3SXGzZI.cjs +2 -0
  161. package/dist/tanstack-form-D3SXGzZI.cjs.map +1 -0
  162. package/dist/tanstack-form-Sqj9ZD9z.mjs +2 -0
  163. package/dist/tanstack-form-Sqj9ZD9z.mjs.map +1 -0
  164. package/dist/text-editor-BHmVZnEK.cjs +2 -0
  165. package/dist/text-editor-BHmVZnEK.cjs.map +1 -0
  166. package/dist/text-editor-BLK_EeiU.mjs +2 -0
  167. package/dist/text-editor-BLK_EeiU.mjs.map +1 -0
  168. package/dist/{textarea-Dd1fBf_4.mjs → textarea-D2ILgz82.mjs} +1 -1
  169. package/dist/{textarea-Dd1fBf_4.mjs.map → textarea-D2ILgz82.mjs.map} +1 -1
  170. package/dist/{tooltip-Bj0iOG4s.mjs → tooltip-C7UhtrFf.mjs} +1 -1
  171. package/dist/{tooltip-Bj0iOG4s.mjs.map → tooltip-C7UhtrFf.mjs.map} +1 -1
  172. package/dist/{types-CDYHkcOk.d.cts → types-BonWRhox.d.mts} +1 -1
  173. package/dist/{types-CkRjAQZ2.d.mts → types-CILbFL3j.d.cts} +1 -1
  174. package/dist/{types-DNphnTW-.mjs → types-COppLTPh.mjs} +1 -1
  175. package/dist/{types-DNphnTW-.mjs.map → types-COppLTPh.mjs.map} +1 -1
  176. package/dist/typography/paragraph.d.cts +5 -5
  177. package/dist/typography/paragraph.d.mts +3 -3
  178. package/dist/typography/paragraph.mjs +1 -1
  179. package/dist/typography/title.d.cts +2 -2
  180. package/dist/typography/title.d.mts +2 -2
  181. package/dist/ui/alert-dialog.d.cts +12 -12
  182. package/dist/ui/alert-dialog.d.mts +12 -12
  183. package/dist/ui/alert-dialog.mjs +1 -1
  184. package/dist/ui/alert.cjs +1 -1
  185. package/dist/ui/alert.d.cts +1 -1
  186. package/dist/ui/alert.d.mts +1 -1
  187. package/dist/ui/alert.mjs +1 -1
  188. package/dist/ui/aspect-ratio.d.cts +2 -2
  189. package/dist/ui/aspect-ratio.d.mts +2 -2
  190. package/dist/ui/avatar.d.cts +4 -4
  191. package/dist/ui/avatar.d.mts +4 -4
  192. package/dist/ui/avatar.mjs +1 -1
  193. package/dist/ui/badge.d.cts +1 -1
  194. package/dist/ui/badge.d.mts +1 -1
  195. package/dist/ui/badge.mjs +1 -1
  196. package/dist/ui/breadcrumb.d.cts +8 -8
  197. package/dist/ui/breadcrumb.d.mts +8 -8
  198. package/dist/ui/breadcrumb.mjs +1 -1
  199. package/dist/ui/button-group.d.cts +7 -7
  200. package/dist/ui/button-group.d.mts +7 -7
  201. package/dist/ui/button-group.mjs +1 -1
  202. package/dist/ui/button.d.cts +1 -1
  203. package/dist/ui/button.d.mts +1 -1
  204. package/dist/ui/button.mjs +1 -1
  205. package/dist/ui/buttons/add-new.mjs +1 -1
  206. package/dist/ui/buttons/edit.mjs +1 -1
  207. package/dist/ui/buttons/refresh.mjs +1 -1
  208. package/dist/ui/buttons/trash.mjs +1 -1
  209. package/dist/ui/buttons/upload-image.mjs +1 -1
  210. package/dist/ui/calendar.d.cts +4 -4
  211. package/dist/ui/calendar.d.mts +4 -4
  212. package/dist/ui/calendar.mjs +1 -1
  213. package/dist/ui/card.d.cts +8 -8
  214. package/dist/ui/card.d.mts +8 -8
  215. package/dist/ui/card.mjs +1 -1
  216. package/dist/ui/carousel.d.cts +7 -7
  217. package/dist/ui/carousel.d.mts +7 -7
  218. package/dist/ui/carousel.mjs +1 -1
  219. package/dist/ui/checkbox.d.cts +2 -2
  220. package/dist/ui/checkbox.d.mts +2 -2
  221. package/dist/ui/checkbox.mjs +1 -1
  222. package/dist/ui/collapsible.d.cts +4 -4
  223. package/dist/ui/collapsible.d.mts +4 -4
  224. package/dist/ui/command.d.cts +11 -11
  225. package/dist/ui/command.d.mts +11 -11
  226. package/dist/ui/command.mjs +1 -1
  227. package/dist/ui/context-menu.d.cts +16 -16
  228. package/dist/ui/context-menu.d.mts +16 -16
  229. package/dist/ui/dialog.d.cts +1 -1
  230. package/dist/ui/dialog.d.mts +1 -1
  231. package/dist/ui/dialog.mjs +1 -1
  232. package/dist/ui/drawer.d.cts +11 -11
  233. package/dist/ui/drawer.d.mts +11 -11
  234. package/dist/ui/dropdown-menu.d.cts +16 -16
  235. package/dist/ui/dropdown-menu.d.mts +16 -16
  236. package/dist/ui/dropdown-menu.mjs +1 -1
  237. package/dist/ui/empty.d.cts +9 -9
  238. package/dist/ui/empty.d.mts +9 -9
  239. package/dist/ui/field.cjs +1 -1
  240. package/dist/ui/field.d.cts +25 -25
  241. package/dist/ui/field.d.mts +25 -25
  242. package/dist/ui/field.mjs +1 -1
  243. package/dist/ui/file-uploader.d.cts +2 -2
  244. package/dist/ui/file-uploader.d.mts +2 -2
  245. package/dist/ui/file-uploader.mjs +1 -1
  246. package/dist/ui/form.cjs +1 -1
  247. package/dist/ui/form.d.cts +11 -11
  248. package/dist/ui/form.d.mts +7 -7
  249. package/dist/ui/form.mjs +1 -1
  250. package/dist/ui/hover-card.d.cts +4 -4
  251. package/dist/ui/hover-card.d.mts +4 -4
  252. package/dist/ui/image.mjs +1 -1
  253. package/dist/ui/input-otp.d.cts +5 -5
  254. package/dist/ui/input-otp.d.mts +5 -5
  255. package/dist/ui/input.d.cts +1 -1
  256. package/dist/ui/input.d.mts +1 -1
  257. package/dist/ui/input.mjs +1 -1
  258. package/dist/ui/inputs/search-input.d.cts +3 -3
  259. package/dist/ui/inputs/search-input.d.mts +3 -3
  260. package/dist/ui/inputs/search-input.mjs +1 -1
  261. package/dist/ui/item.d.cts +15 -15
  262. package/dist/ui/item.d.mts +15 -15
  263. package/dist/ui/item.mjs +1 -1
  264. package/dist/ui/label.d.cts +2 -2
  265. package/dist/ui/label.d.mts +2 -2
  266. package/dist/ui/label.mjs +1 -1
  267. package/dist/ui/menubar.d.cts +17 -17
  268. package/dist/ui/menubar.d.mts +17 -17
  269. package/dist/ui/multi-select.d.cts +2 -2
  270. package/dist/ui/multi-select.d.mts +3 -3
  271. package/dist/ui/multi-select.mjs +1 -1
  272. package/dist/ui/navigation-menu.d.cts +11 -11
  273. package/dist/ui/navigation-menu.d.mts +11 -11
  274. package/dist/ui/pagination.d.cts +9 -9
  275. package/dist/ui/pagination.d.mts +9 -9
  276. package/dist/ui/pagination.mjs +1 -1
  277. package/dist/ui/popover.d.cts +6 -6
  278. package/dist/ui/popover.d.mts +6 -6
  279. package/dist/ui/popover.mjs +1 -1
  280. package/dist/ui/progress.d.cts +2 -2
  281. package/dist/ui/progress.d.mts +2 -2
  282. package/dist/ui/progress.mjs +1 -1
  283. package/dist/ui/radio-group.d.cts +3 -3
  284. package/dist/ui/radio-group.d.mts +3 -3
  285. package/dist/ui/radio-group.mjs +1 -1
  286. package/dist/ui/resizable.d.cts +9 -9
  287. package/dist/ui/resizable.d.mts +9 -9
  288. package/dist/ui/resizable.mjs +1 -1
  289. package/dist/ui/scroll-area.d.cts +6 -6
  290. package/dist/ui/scroll-area.d.mts +6 -6
  291. package/dist/ui/select.d.cts +9 -9
  292. package/dist/ui/select.d.mts +9 -9
  293. package/dist/ui/select.mjs +1 -1
  294. package/dist/ui/separator.d.cts +2 -2
  295. package/dist/ui/separator.d.mts +2 -2
  296. package/dist/ui/separator.mjs +1 -1
  297. package/dist/ui/sheet.d.cts +9 -9
  298. package/dist/ui/sheet.d.mts +9 -9
  299. package/dist/ui/sheet.mjs +1 -1
  300. package/dist/ui/sidebar.d.cts +29 -29
  301. package/dist/ui/sidebar.d.mts +29 -29
  302. package/dist/ui/sidebar.mjs +1 -1
  303. package/dist/ui/skeleton.d.cts +2 -2
  304. package/dist/ui/skeleton.d.mts +2 -2
  305. package/dist/ui/skeleton.mjs +1 -1
  306. package/dist/ui/slider.d.cts +2 -2
  307. package/dist/ui/slider.d.mts +2 -2
  308. package/dist/ui/sonner.d.cts +2 -2
  309. package/dist/ui/sonner.d.mts +2 -2
  310. package/dist/ui/spinner.d.cts +2 -2
  311. package/dist/ui/spinner.d.mts +2 -2
  312. package/dist/ui/spinner.mjs +1 -1
  313. package/dist/ui/switch.d.cts +2 -2
  314. package/dist/ui/switch.d.mts +2 -2
  315. package/dist/ui/table.d.cts +18 -18
  316. package/dist/ui/table.d.mts +18 -18
  317. package/dist/ui/tabs.d.cts +5 -5
  318. package/dist/ui/tabs.d.mts +5 -5
  319. package/dist/ui/textarea.d.cts +2 -2
  320. package/dist/ui/textarea.d.mts +2 -2
  321. package/dist/ui/textarea.mjs +1 -1
  322. package/dist/ui/toggle-group.d.cts +3 -3
  323. package/dist/ui/toggle-group.d.mts +3 -3
  324. package/dist/ui/toggle.d.cts +5 -5
  325. package/dist/ui/toggle.d.mts +5 -5
  326. package/dist/ui/tooltip.d.cts +5 -5
  327. package/dist/ui/tooltip.d.mts +5 -5
  328. package/dist/ui/tooltip.mjs +1 -1
  329. package/dist/{user-DONsffqr.mjs → user-DIEH54XW.mjs} +2 -2
  330. package/dist/{user-DONsffqr.mjs.map → user-DIEH54XW.mjs.map} +1 -1
  331. package/package.json +1 -1
  332. package/dist/tables-CRT-VlLK.cjs.map +0 -1
  333. package/dist/tables-DTYYTJSQ.mjs +0 -4
  334. package/dist/tables-DTYYTJSQ.mjs.map +0 -1
  335. package/dist/tanstack-form-BUjk7DIz.cjs +0 -2
  336. package/dist/tanstack-form-BUjk7DIz.cjs.map +0 -1
  337. package/dist/tanstack-form-DtZdrifK.mjs +0 -2
  338. package/dist/tanstack-form-DtZdrifK.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime85 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime69 from "react/jsx-runtime";
2
2
  import { Dialog } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dialog.d.ts
@@ -33,24 +33,24 @@ import { Dialog } from "radix-ui";
33
33
  */
34
34
  declare function Dialog$1({
35
35
  ...props
36
- }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime85.JSX.Element;
36
+ }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime69.JSX.Element;
37
37
  /** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */
38
38
  declare function DialogTrigger({
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime85.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime69.JSX.Element;
41
41
  /** Renders dialog overlay and content into a portal outside the normal React tree. */
42
42
  declare function DialogPortal({
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime85.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime69.JSX.Element;
45
45
  /** Button that closes the dialog; can be composed with `asChild` to use a custom element. */
46
46
  declare function DialogClose({
47
47
  ...props
48
- }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime85.JSX.Element;
48
+ }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime69.JSX.Element;
49
49
  /** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */
50
50
  declare function DialogOverlay({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime85.JSX.Element;
53
+ }: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime69.JSX.Element;
54
54
  /**
55
55
  * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.
56
56
  *
@@ -64,27 +64,27 @@ declare function DialogContent({
64
64
  }: React.ComponentProps<typeof Dialog.Content> & {
65
65
  /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */
66
66
  showCloseButton?: boolean;
67
- }): react_jsx_runtime85.JSX.Element;
67
+ }): react_jsx_runtime69.JSX.Element;
68
68
  /** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */
69
69
  declare function DialogHeader({
70
70
  className,
71
71
  ...props
72
- }: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
72
+ }: React.ComponentProps<'div'>): react_jsx_runtime69.JSX.Element;
73
73
  /** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */
74
74
  declare function DialogFooter({
75
75
  className,
76
76
  ...props
77
- }: React.ComponentProps<'div'>): react_jsx_runtime85.JSX.Element;
77
+ }: React.ComponentProps<'div'>): react_jsx_runtime69.JSX.Element;
78
78
  /** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */
79
79
  declare function DialogTitle({
80
80
  className,
81
81
  ...props
82
- }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime85.JSX.Element;
82
+ }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime69.JSX.Element;
83
83
  /** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */
84
84
  declare function DialogDescription({
85
85
  className,
86
86
  ...props
87
- }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime85.JSX.Element;
87
+ }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime69.JSX.Element;
88
88
  //#endregion
89
89
  export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
90
- //# sourceMappingURL=dialog-Cd9s8XQ6.d.mts.map
90
+ //# sourceMappingURL=dialog-DtknheXI.d.mts.map
@@ -1,2 +1,2 @@
1
- import{t as e}from"./heading-DN67djxs.mjs";import{n as t}from"./paragraph-Ch5TvEqL.mjs";import{t as n}from"./close-BU0kWRVo.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{cn as a}from"@customafk/react-toolkit/utils";import{Dialog as o}from"radix-ui";function s({...e}){return r(o.Root,{"data-slot":`dialog`,...e})}function c({...e}){return r(o.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return r(o.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return r(o.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...t}){return r(o.Overlay,{"data-slot":`dialog-overlay`,className:a(`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 i(l,{children:[r(d,{}),i(o.Content,{"data-slot":`dialog-content`,className:a(`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&&r(o.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:r(n,{})})]})]})}function p({className:e,...t}){return r(`div`,{"data-slot":`dialog-header`,className:a(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function m({className:e,...t}){return r(`div`,{"data-slot":`dialog-footer`,className:a(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function h({className:t,...n}){return r(o.Title,{"data-slot":`dialog-title`,className:a(e({level:`h3`}),t),...n})}function g({className:e,...n}){return r(o.Description,{"data-slot":`dialog-description`,className:a(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-BchwY6-N.mjs.map
1
+ import{t as e}from"./heading-D8K7UGv2.mjs";import{n as t}from"./paragraph-jzLzzEYZ.mjs";import{t as n}from"./close-BcOkVqd8.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{cn as a}from"@customafk/react-toolkit/utils";import{Dialog as o}from"radix-ui";function s({...e}){return r(o.Root,{"data-slot":`dialog`,...e})}function c({...e}){return r(o.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return r(o.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return r(o.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...t}){return r(o.Overlay,{"data-slot":`dialog-overlay`,className:a(`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 i(l,{children:[r(d,{}),i(o.Content,{"data-slot":`dialog-content`,className:a(`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&&r(o.Close,{"data-slot":`dialog-close`,tabIndex:-1,asChild:!0,className:`absolute top-3 right-3`,children:r(n,{})})]})]})}function p({className:e,...t}){return r(`div`,{"data-slot":`dialog-header`,className:a(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function m({className:e,...t}){return r(`div`,{"data-slot":`dialog-footer`,className:a(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t})}function h({className:t,...n}){return r(o.Title,{"data-slot":`dialog-title`,className:a(e({level:`h3`}),t),...n})}function g({className:e,...n}){return r(o.Description,{"data-slot":`dialog-description`,className:a(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-dqqupmOT.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-BchwY6-N.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-dqqupmOT.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";import"../button.variants-DeCyas1F.mjs";import"../heading-DN67djxs.mjs";import"../paragraph-Ch5TvEqL.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-B8KCLWPT.mjs";import"../heading-D8K7UGv2.mjs";import"../paragraph-jzLzzEYZ.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,8 +1,8 @@
1
- import { t as Button } from "../../../button-NsDEQZQu.cjs";
1
+ import { t as Button } from "../../../button-D_PwLu6A.cjs";
2
2
  import { Separator } from "../../../ui/separator.cjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.cjs";
4
- import * as react_jsx_runtime2 from "react/jsx-runtime";
5
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
+ import * as react_jsx_runtime151 from "react/jsx-runtime";
5
+ import * as class_variance_authority_types7 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_runtime2.JSX.Element;
53
+ }): react_jsx_runtime151.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_runtime2.JSX.Element;
80
+ }): react_jsx_runtime151.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_runtime2.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime151.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react_jsx_runtime2.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react_jsx_runtime151.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react_jsx_runtime2.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react_jsx_runtime151.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime2.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime151.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.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_runtime2.JSX.Element;
131
+ }): react_jsx_runtime151.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_runtime2.JSX.Element;
138
+ }): react_jsx_runtime151.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react_jsx_runtime2.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react_jsx_runtime151.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react_jsx_runtime2.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react_jsx_runtime151.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
- variant?: "default" | "outline" | null | undefined;
152
+ variant?: "outline" | "default" | null | undefined;
153
153
  size?: "sm" | "lg" | "default" | null | undefined;
154
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
154
+ } & class_variance_authority_types7.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_runtime2.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime151.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_runtime2.JSX.Element;
176
+ }): react_jsx_runtime151.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react_jsx_runtime151.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_runtime2.JSX.Element;
187
+ }): react_jsx_runtime151.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react_jsx_runtime2.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react_jsx_runtime151.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react_jsx_runtime2.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react_jsx_runtime151.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_runtime2.JSX.Element;
206
+ }): react_jsx_runtime151.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-By8N7gww.mjs";
1
+ import { t as Button } from "../../../button-Bu1wgqhO.mjs";
2
2
  import { Separator } from "../../../ui/separator.mjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.mjs";
4
- import * as react_jsx_runtime5 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime43 from "react/jsx-runtime";
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_runtime5.JSX.Element;
53
+ }): react_jsx_runtime43.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_runtime5.JSX.Element;
80
+ }): react_jsx_runtime43.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_runtime5.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime43.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react_jsx_runtime5.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react_jsx_runtime43.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react_jsx_runtime5.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react_jsx_runtime43.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime5.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime43.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.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_runtime5.JSX.Element;
131
+ }): react_jsx_runtime43.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_runtime5.JSX.Element;
138
+ }): react_jsx_runtime43.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react_jsx_runtime5.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react_jsx_runtime43.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react_jsx_runtime5.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react_jsx_runtime43.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
- variant?: "default" | "outline" | null | undefined;
152
+ variant?: "outline" | "default" | 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_runtime5.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime43.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_runtime5.JSX.Element;
176
+ }): react_jsx_runtime43.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react_jsx_runtime43.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_runtime5.JSX.Element;
187
+ }): react_jsx_runtime43.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react_jsx_runtime5.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react_jsx_runtime43.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react_jsx_runtime5.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react_jsx_runtime43.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_runtime5.JSX.Element;
206
+ }): react_jsx_runtime43.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-DeCyas1F.mjs";import"../../../button-C6ybzxxj.mjs";import"../../../skeleton-BPxcW2yu.mjs";import"../../../tooltip-Bj0iOG4s.mjs";import"../../../separator-BMsbHAVt.mjs";import"../../../sheet-DMIqn1iv.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-QmCQFs8h.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-B8KCLWPT.mjs";import"../../../button-DPABon17.mjs";import"../../../skeleton-CZVkWN4p.mjs";import"../../../tooltip-C7UhtrFf.mjs";import"../../../separator-DVI2h_rd.mjs";import"../../../sheet-BRXYSJDv.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-QPaK3ryM.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";import"../../button.variants-DeCyas1F.mjs";import"../../button-C6ybzxxj.mjs";import"../../skeleton-BPxcW2yu.mjs";import{t as e}from"../../flex-BLMTj7Ev.mjs";import{t}from"../../date-CVz9xdCg.mjs";import"../../tooltip-Bj0iOG4s.mjs";import{Title as n}from"../../typography/title.mjs";import"../../separator-BMsbHAVt.mjs";import"../../sheet-DMIqn1iv.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-QmCQFs8h.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-B8KCLWPT.mjs";import"../../button-DPABon17.mjs";import"../../skeleton-CZVkWN4p.mjs";import{t as e}from"../../flex-zl_w1yeZ.mjs";import{t}from"../../date-C76vNHGL.mjs";import"../../tooltip-C7UhtrFf.mjs";import{Title as n}from"../../typography/title.mjs";import"../../separator-DVI2h_rd.mjs";import"../../sheet-BRXYSJDv.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-QPaK3ryM.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};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- "use client";import"../button.variants-DeCyas1F.mjs";import"../heading-DN67djxs.mjs";import"../paragraph-Ch5TvEqL.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-B8KCLWPT.mjs";import"../heading-D8K7UGv2.mjs";import"../paragraph-jzLzzEYZ.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";import"../heading-DN67djxs.mjs";import"../paragraph-Ch5TvEqL.mjs";import"../close-BU0kWRVo.mjs";import{l as e,r as t,t as n}from"../dialog-BchwY6-N.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-D8K7UGv2.mjs";import"../paragraph-jzLzzEYZ.mjs";import"../close-BcOkVqd8.mjs";import{l as e,r as t,t as n}from"../dialog-dqqupmOT.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
@@ -1,2 +1,2 @@
1
1
  import*as e from"react";import{Fragment as t,jsx as n}from"react/jsx-runtime";function r(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function i(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return!n&&typeof i==`function`&&(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];typeof n==`function`?n():r(e[t],null)}}}}function a(t){let r=s(t),i=e.forwardRef((t,i)=>{let{children:a,...o}=t,s=e.Children.toArray(a),c=s.find(l);if(c){let t=c.props.children,a=s.map(n=>n===c?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return n(r,{...o,ref:i,children:e.isValidElement(t)?e.cloneElement(t,void 0,a):null})}return n(r,{...o,ref:i,children:a})});return i.displayName=`${t}.Slot`,i}var o=a(`Slot`);function s(t){let n=e.forwardRef((t,n)=>{let{children:r,...a}=t;if(e.isValidElement(r)){let t=d(r),o=u(a,r.props);return r.type!==e.Fragment&&(o.ref=n?i(n,t):t),e.cloneElement(r,o)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var c=Symbol(`radix.slottable`);function l(t){return e.isValidElement(t)&&typeof t.type==`function`&&`__radixId`in t.type&&t.type.__radixId===c}function u(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 d(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)}export{o as t};
2
- //# sourceMappingURL=dist-CIN9T2FB.mjs.map
2
+ //# sourceMappingURL=dist-DPEjz4kv.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dist-CIN9T2FB.mjs","names":[],"sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs","../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/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 { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\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}\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":"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"}
1
+ {"version":3,"file":"dist-DPEjz4kv.mjs","names":[],"sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs","../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/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 { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\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}\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":"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"}
@@ -1,2 +1,2 @@
1
1
  import{CheckIcon as e,ChevronRightIcon as t,CircleIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{cn as a}from"@customafk/react-toolkit/utils";import{DropdownMenu as o}from"radix-ui";function s({...e}){return r(o.Root,{"data-slot":`dropdown-menu`,...e})}function c({...e}){return r(o.Portal,{"data-slot":`dropdown-menu-portal`,...e})}function l({...e}){return r(o.Trigger,{"data-slot":`dropdown-menu-trigger`,...e})}function u({className:e,sideOffset:t=4,align:n=`start`,...i}){return r(o.Portal,{children:r(o.Content,{"data-slot":`dropdown-menu-content`,sideOffset:t,align:n,className:a(`bg-popover text-text-positive`,`z-50 min-w-32`,`overflow-y-auto overflow-x-hidden`,`rounded-md p-1.5 shadow-dropdown`,`max-h-(--radix-dropdown-menu-content-available-height)`,`origin-(--radix-dropdown-menu-content-transform-origin)`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2`,`data-[side=left]:slide-in-from-right-2`,`data-[side=right]:slide-in-from-left-2`,`data-[side=top]:slide-in-from-bottom-2`,e),...i})})}function d({...e}){return r(o.Group,{"data-slot":`dropdown-menu-group`,...e})}function f({className:e,inset:t,variant:n=`default`,...i}){return r(o.Item,{"data-slot":`dropdown-menu-item`,"data-inset":t,"data-variant":n,className:a(`relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-inset:pl-8`,`data-disabled:pointer-events-none data-disabled:opacity-50`,`data-[variant=destructive]:text-danger`,`data-[variant=destructive]:focus:bg-danger-muted data-[variant=destructive]:focus:text-danger-strong`,`data-[variant=destructive]:*:[svg]:text-danger!`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,`[&_svg:not([class*='text-'])]:text-text-positive-weak`,e),...i})}function p({className:t,children:n,checked:s,...c}){return i(o.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,className:a(`relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-disabled:pointer-events-none data-disabled:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,t),checked:s,...c,children:[r(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:r(o.ItemIndicator,{children:r(e,{size:16})})}),n]})}function m({...e}){return r(o.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e})}function h({className:e,children:t,...s}){return i(o.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:a(`relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-disabled:pointer-events-none data-disabled:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,e),...s,children:[r(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:r(o.ItemIndicator,{children:r(n,{className:`size-2 fill-current`})})}),t]})}function g({className:e,inset:t,...n}){return r(o.Label,{"data-slot":`dropdown-menu-label`,"data-inset":t,className:a(`px-2 py-1.5 font-medium text-sm text-text-positive-weak data-inset:pl-8`,e),...n})}function _({className:e,...t}){return r(o.Separator,{"data-slot":`dropdown-menu-separator`,className:a(`-mx-1 my-1 h-px bg-border-weak`,e),...t})}function v({className:e,...t}){return r(`span`,{"data-slot":`dropdown-menu-shortcut`,className:a(`ml-auto text-xs text-text-positive-muted tracking-widest`,e),...t})}function y({...e}){return r(o.Sub,{"data-slot":`dropdown-menu-sub`,...e})}function b({className:e,inset:n,children:s,...c}){return i(o.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":n,className:a(`flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-[state=open]:bg-muted-muted data-[state=open]:text-text-positive-strong`,`data-inset:pl-8`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,e),...c,children:[s,r(t,{className:`ml-auto size-4`})]})}function x({className:e,...t}){return r(o.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:a(`bg-popover text-text-positive`,`z-50 min-w-32`,`overflow-y-auto overflow-x-hidden`,`origin-(--radix-dropdown-menu-content-transform-origin) rounded-md p-1.5 shadow-dropdown`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2`,`data-[side=left]:slide-in-from-right-2`,`data-[side=right]:slide-in-from-left-2`,`data-[side=top]:slide-in-from-bottom-2`,e),...t})}export{f as a,m as c,v as d,y as f,l as h,d as i,h as l,b as m,p as n,g as o,x as p,u as r,c as s,s as t,_ as u};
2
- //# sourceMappingURL=dropdown-menu-DWSfXhHo.mjs.map
2
+ //# sourceMappingURL=dropdown-menu-BocQ2Vev.mjs.map