@customafk/lunas-ui 0.2.20 → 0.2.22

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 (341) hide show
  1. package/dist/{alert-Dn5x8pBc.mjs → alert-C-Y4ZWNd.mjs} +1 -1
  2. package/dist/{alert-Dn5x8pBc.mjs.map → alert-C-Y4ZWNd.mjs.map} +1 -1
  3. package/dist/{alert-iwPuxYjG.d.cts → alert-CrrRLYNJ.d.mts} +7 -7
  4. package/dist/{alert-CwIH3Hkd.d.mts → alert-YcsH9M6y.d.cts} +7 -7
  5. package/dist/{avatar-5LzTjIjo.mjs → avatar-SJmvlfqm.mjs} +1 -1
  6. package/dist/{avatar-5LzTjIjo.mjs.map → avatar-SJmvlfqm.mjs.map} +1 -1
  7. package/dist/{badge-DBsYYM8d.d.cts → badge-84HgXhHg.d.cts} +7 -7
  8. package/dist/{badge-CINaZwOW.d.mts → badge-BiFukfpS.d.mts} +5 -5
  9. package/dist/{badge-DYcJtNU0.mjs → badge-DSwkF4C4.mjs} +1 -1
  10. package/dist/{badge-DYcJtNU0.mjs.map → badge-DSwkF4C4.mjs.map} +1 -1
  11. package/dist/{button-DPABon17.mjs → button-Bc8L9sFb.mjs} +2 -2
  12. package/dist/{button-DPABon17.mjs.map → button-Bc8L9sFb.mjs.map} +1 -1
  13. package/dist/{button-DdwLbwWQ.d.mts → button-DXeUzeTa.d.cts} +7 -7
  14. package/dist/{button-UgIAM1cP.d.cts → button-xMJ2hylr.d.mts} +7 -7
  15. package/dist/{button.variants-B8KCLWPT.mjs → button.variants-CwcJHcI5.mjs} +1 -1
  16. package/dist/{button.variants-B8KCLWPT.mjs.map → button.variants-CwcJHcI5.mjs.map} +1 -1
  17. package/dist/{calendar-DJnuujFC.mjs → calendar-C2psGpju.mjs} +2 -2
  18. package/dist/{calendar-DJnuujFC.mjs.map → calendar-C2psGpju.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.d.mts +2 -2
  22. package/dist/cards/simple-card.mjs +1 -1
  23. package/dist/{checkbox-dDSDiwLB.mjs → checkbox-Bwy_4QS_.mjs} +1 -1
  24. package/dist/{checkbox-dDSDiwLB.mjs.map → checkbox-Bwy_4QS_.mjs.map} +1 -1
  25. package/dist/{close-BcOkVqd8.mjs → close-BS6EeCrQ.mjs} +1 -1
  26. package/dist/{close-BcOkVqd8.mjs.map → close-BS6EeCrQ.mjs.map} +1 -1
  27. package/dist/{cms-layout-CujBx9FA.mjs → cms-layout-DCODI3eE.mjs} +2 -2
  28. package/dist/{cms-layout-CujBx9FA.mjs.map → cms-layout-DCODI3eE.mjs.map} +1 -1
  29. package/dist/{command-B8y4H5q5.mjs → command-B5DpL6OG.mjs} +2 -2
  30. package/dist/{command-B8y4H5q5.mjs.map → command-B5DpL6OG.mjs.map} +1 -1
  31. package/dist/data-display/country.d.cts +1 -1
  32. package/dist/data-display/country.d.mts +1 -1
  33. package/dist/data-display/country.mjs +1 -1
  34. package/dist/data-display/date-tooltip.mjs +1 -1
  35. package/dist/data-display/date.mjs +1 -1
  36. package/dist/data-display/name.mjs +1 -1
  37. package/dist/data-display/phone-number.mjs +1 -1
  38. package/dist/data-display/role-badge.d.cts +1 -1
  39. package/dist/data-display/role-badge.d.mts +1 -1
  40. package/dist/data-display/role-badge.mjs +1 -1
  41. package/dist/data-display/statistic.d.mts +6 -6
  42. package/dist/data-display/user.mjs +1 -1
  43. package/dist/{date-C76vNHGL.mjs → date-D_nB7Lh1.mjs} +1 -1
  44. package/dist/{date-C76vNHGL.mjs.map → date-D_nB7Lh1.mjs.map} +1 -1
  45. package/dist/{dialog-dqqupmOT.mjs → dialog-DG4vMCr5.mjs} +2 -2
  46. package/dist/{dialog-dqqupmOT.mjs.map → dialog-DG4vMCr5.mjs.map} +1 -1
  47. package/dist/{dialog-CfbtCisP.d.mts → dialog-DeQiptoB.d.cts} +12 -12
  48. package/dist/{dialog-HXH3FYKH.d.cts → dialog-Dsuo8PP7.d.mts} +12 -12
  49. package/dist/dialogs/confirm-dialog.mjs +1 -1
  50. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +2 -2
  51. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +27 -27
  52. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  53. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  54. package/dist/dialogs/error-dialog.mjs +1 -1
  55. package/dist/dialogs/loading-dialog.mjs +1 -1
  56. package/dist/{dist-DPEjz4kv.mjs → dist-XxWAVHy8.mjs} +1 -1
  57. package/dist/{dist-DPEjz4kv.mjs.map → dist-XxWAVHy8.mjs.map} +1 -1
  58. package/dist/{dropdown-menu-BocQ2Vev.mjs → dropdown-menu-BlsIwe4B.mjs} +1 -1
  59. package/dist/{dropdown-menu-BocQ2Vev.mjs.map → dropdown-menu-BlsIwe4B.mjs.map} +1 -1
  60. package/dist/features/descriptions/index.d.cts +7 -7
  61. package/dist/features/descriptions/index.d.mts +3 -3
  62. package/dist/features/descriptions/index.mjs +1 -1
  63. package/dist/features/search-modal/index.d.cts +2 -2
  64. package/dist/features/search-modal/index.d.mts +2 -2
  65. package/dist/features/search-modal/index.mjs +1 -1
  66. package/dist/features/tables/index.cjs +1 -1
  67. package/dist/features/tables/index.d.cts +1 -1
  68. package/dist/features/tables/index.d.mts +2 -2
  69. package/dist/features/tables/index.mjs +1 -1
  70. package/dist/features/tanstack-form/index.d.cts +1 -1
  71. package/dist/features/tanstack-form/index.d.mts +1 -1
  72. package/dist/features/tanstack-form/index.mjs +1 -1
  73. package/dist/features/text-editor/index.d.cts +1 -1
  74. package/dist/features/text-editor/index.d.mts +1 -1
  75. package/dist/features/text-editor/index.mjs +1 -1
  76. package/dist/{field-DaZocB_E.mjs → field-Mn2bf2Ns.mjs} +2 -2
  77. package/dist/{field-DaZocB_E.mjs.map → field-Mn2bf2Ns.mjs.map} +1 -1
  78. package/dist/{flex-zl_w1yeZ.mjs → flex-Br7F9Fln.mjs} +1 -1
  79. package/dist/{flex-zl_w1yeZ.mjs.map → flex-Br7F9Fln.mjs.map} +1 -1
  80. package/dist/{heading-D8K7UGv2.mjs → heading-BnaNuvDS.mjs} +1 -1
  81. package/dist/{heading-D8K7UGv2.mjs.map → heading-BnaNuvDS.mjs.map} +1 -1
  82. package/dist/{image-WRAFECmc.mjs → image-C-CdKKP1.mjs} +2 -2
  83. package/dist/{image-WRAFECmc.mjs.map → image-C-CdKKP1.mjs.map} +1 -1
  84. package/dist/{index-D09-9eQ8.d.cts → index-6xsKIhtm.d.mts} +193 -193
  85. package/dist/{index-DXXR4oq-.d.mts → index-BG-MpSBd.d.cts} +340 -340
  86. package/dist/{index-Dn6FVL5X.d.cts → index-BMUK7c5C.d.cts} +4 -4
  87. package/dist/{index-3ZBP9XKI.d.mts → index-Bway3IIA.d.mts} +4 -4
  88. package/dist/{index-DWGlOnex.d.cts → index-CpeGB7w3.d.cts} +9 -9
  89. package/dist/{index-BreahdZP.d.mts → index-DriR2xP5.d.mts} +29 -29
  90. package/dist/index.cjs +1 -1
  91. package/dist/index.d.cts +13 -10
  92. package/dist/index.d.mts +13 -10
  93. package/dist/index.mjs +1 -1
  94. package/dist/{input-DjEul_uK.d.cts → input-BdcIab9N.d.cts} +6 -6
  95. package/dist/{input-BTm2GrZP.mjs → input-DLRypEj3.mjs} +1 -1
  96. package/dist/{input-BTm2GrZP.mjs.map → input-DLRypEj3.mjs.map} +1 -1
  97. package/dist/{input-BpTmuYnJ.d.mts → input-DLztWYaq.d.mts} +6 -6
  98. package/dist/{label-BC2u42kJ.mjs → label-BukQnBn7.mjs} +1 -1
  99. package/dist/{label-BC2u42kJ.mjs.map → label-BukQnBn7.mjs.map} +1 -1
  100. package/dist/layouts/cms-layout/index.mjs +1 -1
  101. package/dist/layouts/flex.d.cts +8 -8
  102. package/dist/layouts/flex.d.mts +12 -12
  103. package/dist/layouts/flex.mjs +1 -1
  104. package/dist/layouts/payment-layout/index.cjs +1 -1
  105. package/dist/layouts/payment-layout/index.d.cts +17 -2
  106. package/dist/layouts/payment-layout/index.d.mts +17 -2
  107. package/dist/layouts/payment-layout/index.mjs +1 -1
  108. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  109. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  110. package/dist/pages/FeatureDeveloping.mjs +1 -1
  111. package/dist/pages/FeatureFixing.d.mts +2 -2
  112. package/dist/pages/FeatureFixing.mjs +1 -1
  113. package/dist/pages/LoginPage.cjs +2 -0
  114. package/dist/pages/LoginPage.cjs.map +1 -0
  115. package/dist/pages/LoginPage.d.cts +55 -0
  116. package/dist/pages/LoginPage.d.mts +55 -0
  117. package/dist/pages/LoginPage.mjs +2 -0
  118. package/dist/pages/LoginPage.mjs.map +1 -0
  119. package/dist/pages/NotAuthorized.d.cts +2 -2
  120. package/dist/pages/NotAuthorized.d.mts +2 -2
  121. package/dist/pages/NotAuthorized.mjs +1 -1
  122. package/dist/pages/NotFound.d.cts +2 -2
  123. package/dist/pages/NotFound.d.mts +2 -2
  124. package/dist/pages/NotFound.mjs +1 -1
  125. package/dist/pages/RegisterPage.cjs +2 -0
  126. package/dist/pages/RegisterPage.cjs.map +1 -0
  127. package/dist/pages/RegisterPage.d.cts +52 -0
  128. package/dist/pages/RegisterPage.d.mts +52 -0
  129. package/dist/pages/RegisterPage.mjs +2 -0
  130. package/dist/pages/RegisterPage.mjs.map +1 -0
  131. package/dist/pages/VerifyEmailPage.cjs +2 -0
  132. package/dist/pages/VerifyEmailPage.cjs.map +1 -0
  133. package/dist/pages/VerifyEmailPage.d.cts +64 -0
  134. package/dist/pages/VerifyEmailPage.d.mts +64 -0
  135. package/dist/pages/VerifyEmailPage.mjs +2 -0
  136. package/dist/pages/VerifyEmailPage.mjs.map +1 -0
  137. package/dist/{paragraph-jzLzzEYZ.mjs → paragraph-CnHNC0rS.mjs} +1 -1
  138. package/dist/{paragraph-jzLzzEYZ.mjs.map → paragraph-CnHNC0rS.mjs.map} +1 -1
  139. package/dist/payment-layout-0mqqno1V.cjs +2 -0
  140. package/dist/payment-layout-0mqqno1V.cjs.map +1 -0
  141. package/dist/payment-layout-ClqGIxV7.mjs +2 -0
  142. package/dist/payment-layout-ClqGIxV7.mjs.map +1 -0
  143. package/dist/{popover-HZvZNeka.mjs → popover-DvGJ23lJ.mjs} +2 -2
  144. package/dist/{popover-HZvZNeka.mjs.map → popover-DvGJ23lJ.mjs.map} +1 -1
  145. package/dist/{progress-CgQ13rSf.mjs → progress-2G9rCupJ.mjs} +1 -1
  146. package/dist/{progress-CgQ13rSf.mjs.map → progress-2G9rCupJ.mjs.map} +1 -1
  147. package/dist/{radio-group-BN5y5gZY.mjs → radio-group-fN6o0QBx.mjs} +1 -1
  148. package/dist/{radio-group-BN5y5gZY.mjs.map → radio-group-fN6o0QBx.mjs.map} +1 -1
  149. package/dist/{resizable-CLUR91Hx.mjs → resizable-BxsL978e.mjs} +1 -1
  150. package/dist/{resizable-CLUR91Hx.mjs.map → resizable-BxsL978e.mjs.map} +1 -1
  151. package/dist/{search-modal-Dz7rfifb.mjs → search-modal-DZI6O6ua.mjs} +2 -2
  152. package/dist/{search-modal-Dz7rfifb.mjs.map → search-modal-DZI6O6ua.mjs.map} +1 -1
  153. package/dist/{select-1Z1p9bmp.mjs → select-Ze8Fq88G.mjs} +1 -1
  154. package/dist/{select-1Z1p9bmp.mjs.map → select-Ze8Fq88G.mjs.map} +1 -1
  155. package/dist/{separator-DVI2h_rd.mjs → separator-DXnFHf3v.mjs} +1 -1
  156. package/dist/{separator-DVI2h_rd.mjs.map → separator-DXnFHf3v.mjs.map} +1 -1
  157. package/dist/{sheet-BRXYSJDv.mjs → sheet-GUUifKAd.mjs} +1 -1
  158. package/dist/{sheet-BRXYSJDv.mjs.map → sheet-GUUifKAd.mjs.map} +1 -1
  159. package/dist/{sidebar-QPaK3ryM.mjs → sidebar-C_jArO1q.mjs} +2 -2
  160. package/dist/{sidebar-QPaK3ryM.mjs.map → sidebar-C_jArO1q.mjs.map} +1 -1
  161. package/dist/{skeleton-CZVkWN4p.mjs → skeleton-BLwzHejl.mjs} +1 -1
  162. package/dist/{skeleton-CZVkWN4p.mjs.map → skeleton-BLwzHejl.mjs.map} +1 -1
  163. package/dist/{spinner-DkmcGiVT.mjs → spinner-BaZ19Lla.mjs} +1 -1
  164. package/dist/{spinner-DkmcGiVT.mjs.map → spinner-BaZ19Lla.mjs.map} +1 -1
  165. package/dist/tables-CI2AZcbt.cjs +4 -0
  166. package/dist/tables-CI2AZcbt.cjs.map +1 -0
  167. package/dist/tables-EnSyNV7J.mjs +4 -0
  168. package/dist/tables-EnSyNV7J.mjs.map +1 -0
  169. package/dist/{tanstack-form-Sqj9ZD9z.mjs → tanstack-form-C1EVQJ-n.mjs} +2 -2
  170. package/dist/{tanstack-form-Sqj9ZD9z.mjs.map → tanstack-form-C1EVQJ-n.mjs.map} +1 -1
  171. package/dist/{text-editor-BLK_EeiU.mjs → text-editor-ae2UTKW8.mjs} +1 -1
  172. package/dist/{text-editor-BLK_EeiU.mjs.map → text-editor-ae2UTKW8.mjs.map} +1 -1
  173. package/dist/{textarea-D2ILgz82.mjs → textarea-CEtUNLwy.mjs} +1 -1
  174. package/dist/{textarea-D2ILgz82.mjs.map → textarea-CEtUNLwy.mjs.map} +1 -1
  175. package/dist/{tooltip-C7UhtrFf.mjs → tooltip-Cy0HbyAx.mjs} +1 -1
  176. package/dist/{tooltip-C7UhtrFf.mjs.map → tooltip-Cy0HbyAx.mjs.map} +1 -1
  177. package/dist/{types-BonWRhox.d.mts → types-CLkAmCre.d.cts} +1 -1
  178. package/dist/{types-COppLTPh.mjs → types-CuAlMviO.mjs} +1 -1
  179. package/dist/{types-COppLTPh.mjs.map → types-CuAlMviO.mjs.map} +1 -1
  180. package/dist/{types-CILbFL3j.d.cts → types-wApFGHmV.d.mts} +1 -1
  181. package/dist/typography/paragraph.d.cts +3 -3
  182. package/dist/typography/paragraph.d.mts +5 -5
  183. package/dist/typography/paragraph.mjs +1 -1
  184. package/dist/typography/title.d.cts +2 -2
  185. package/dist/typography/title.d.mts +2 -2
  186. package/dist/ui/alert-dialog.d.cts +12 -12
  187. package/dist/ui/alert-dialog.d.mts +12 -12
  188. package/dist/ui/alert-dialog.mjs +1 -1
  189. package/dist/ui/alert.d.cts +1 -1
  190. package/dist/ui/alert.d.mts +1 -1
  191. package/dist/ui/alert.mjs +1 -1
  192. package/dist/ui/aspect-ratio.d.cts +2 -2
  193. package/dist/ui/aspect-ratio.d.mts +2 -2
  194. package/dist/ui/avatar.d.cts +4 -4
  195. package/dist/ui/avatar.d.mts +4 -4
  196. package/dist/ui/avatar.mjs +1 -1
  197. package/dist/ui/badge.d.cts +1 -1
  198. package/dist/ui/badge.d.mts +1 -1
  199. package/dist/ui/badge.mjs +1 -1
  200. package/dist/ui/breadcrumb.d.cts +8 -8
  201. package/dist/ui/breadcrumb.d.mts +8 -8
  202. package/dist/ui/breadcrumb.mjs +1 -1
  203. package/dist/ui/button-group.d.cts +7 -7
  204. package/dist/ui/button-group.d.mts +7 -7
  205. package/dist/ui/button-group.mjs +1 -1
  206. package/dist/ui/button.d.cts +1 -1
  207. package/dist/ui/button.d.mts +1 -1
  208. package/dist/ui/button.mjs +1 -1
  209. package/dist/ui/buttons/add-new.mjs +1 -1
  210. package/dist/ui/buttons/edit.mjs +1 -1
  211. package/dist/ui/buttons/refresh.mjs +1 -1
  212. package/dist/ui/buttons/trash.mjs +1 -1
  213. package/dist/ui/buttons/upload-image.mjs +1 -1
  214. package/dist/ui/calendar.d.cts +4 -4
  215. package/dist/ui/calendar.d.mts +4 -4
  216. package/dist/ui/calendar.mjs +1 -1
  217. package/dist/ui/card.d.cts +8 -8
  218. package/dist/ui/card.d.mts +8 -8
  219. package/dist/ui/card.mjs +1 -1
  220. package/dist/ui/carousel.d.cts +7 -7
  221. package/dist/ui/carousel.d.mts +7 -7
  222. package/dist/ui/carousel.mjs +1 -1
  223. package/dist/ui/checkbox.d.cts +2 -2
  224. package/dist/ui/checkbox.d.mts +2 -2
  225. package/dist/ui/checkbox.mjs +1 -1
  226. package/dist/ui/collapsible.d.cts +4 -4
  227. package/dist/ui/collapsible.d.mts +4 -4
  228. package/dist/ui/command.d.cts +11 -11
  229. package/dist/ui/command.d.mts +11 -11
  230. package/dist/ui/command.mjs +1 -1
  231. package/dist/ui/context-menu.d.cts +16 -16
  232. package/dist/ui/context-menu.d.mts +16 -16
  233. package/dist/ui/dialog.d.cts +1 -1
  234. package/dist/ui/dialog.d.mts +1 -1
  235. package/dist/ui/dialog.mjs +1 -1
  236. package/dist/ui/drawer.d.cts +11 -11
  237. package/dist/ui/drawer.d.mts +11 -11
  238. package/dist/ui/dropdown-menu.d.cts +16 -16
  239. package/dist/ui/dropdown-menu.d.mts +16 -16
  240. package/dist/ui/dropdown-menu.mjs +1 -1
  241. package/dist/ui/empty.d.cts +9 -9
  242. package/dist/ui/empty.d.mts +9 -9
  243. package/dist/ui/field.d.cts +25 -25
  244. package/dist/ui/field.d.mts +25 -25
  245. package/dist/ui/field.mjs +1 -1
  246. package/dist/ui/file-uploader.d.cts +2 -2
  247. package/dist/ui/file-uploader.d.mts +2 -2
  248. package/dist/ui/file-uploader.mjs +1 -1
  249. package/dist/ui/form.d.cts +11 -11
  250. package/dist/ui/form.d.mts +11 -11
  251. package/dist/ui/form.mjs +1 -1
  252. package/dist/ui/hover-card.d.cts +4 -4
  253. package/dist/ui/hover-card.d.mts +4 -4
  254. package/dist/ui/image.mjs +1 -1
  255. package/dist/ui/input-otp.d.cts +5 -5
  256. package/dist/ui/input-otp.d.mts +5 -5
  257. package/dist/ui/input.d.cts +1 -1
  258. package/dist/ui/input.d.mts +1 -1
  259. package/dist/ui/input.mjs +1 -1
  260. package/dist/ui/inputs/search-input.d.cts +3 -3
  261. package/dist/ui/inputs/search-input.d.mts +3 -3
  262. package/dist/ui/inputs/search-input.mjs +1 -1
  263. package/dist/ui/item.d.cts +16 -16
  264. package/dist/ui/item.d.mts +16 -16
  265. package/dist/ui/item.mjs +1 -1
  266. package/dist/ui/label.d.cts +2 -2
  267. package/dist/ui/label.d.mts +2 -2
  268. package/dist/ui/label.mjs +1 -1
  269. package/dist/ui/menubar.d.cts +17 -17
  270. package/dist/ui/menubar.d.mts +17 -17
  271. package/dist/ui/multi-select.d.cts +2 -2
  272. package/dist/ui/multi-select.d.mts +3 -3
  273. package/dist/ui/multi-select.mjs +1 -1
  274. package/dist/ui/navigation-menu.d.cts +11 -11
  275. package/dist/ui/navigation-menu.d.mts +11 -11
  276. package/dist/ui/pagination.d.cts +9 -9
  277. package/dist/ui/pagination.d.mts +9 -9
  278. package/dist/ui/pagination.mjs +1 -1
  279. package/dist/ui/popover.d.cts +6 -6
  280. package/dist/ui/popover.d.mts +6 -6
  281. package/dist/ui/popover.mjs +1 -1
  282. package/dist/ui/progress.d.cts +2 -2
  283. package/dist/ui/progress.d.mts +2 -2
  284. package/dist/ui/progress.mjs +1 -1
  285. package/dist/ui/radio-group.d.cts +3 -3
  286. package/dist/ui/radio-group.d.mts +3 -3
  287. package/dist/ui/radio-group.mjs +1 -1
  288. package/dist/ui/resizable.d.cts +9 -9
  289. package/dist/ui/resizable.d.mts +9 -9
  290. package/dist/ui/resizable.mjs +1 -1
  291. package/dist/ui/scroll-area.d.cts +6 -6
  292. package/dist/ui/scroll-area.d.mts +6 -6
  293. package/dist/ui/select.d.cts +9 -9
  294. package/dist/ui/select.d.mts +9 -9
  295. package/dist/ui/select.mjs +1 -1
  296. package/dist/ui/separator.d.cts +2 -2
  297. package/dist/ui/separator.d.mts +2 -2
  298. package/dist/ui/separator.mjs +1 -1
  299. package/dist/ui/sheet.d.cts +9 -9
  300. package/dist/ui/sheet.d.mts +9 -9
  301. package/dist/ui/sheet.mjs +1 -1
  302. package/dist/ui/sidebar.d.cts +29 -29
  303. package/dist/ui/sidebar.d.mts +29 -29
  304. package/dist/ui/sidebar.mjs +1 -1
  305. package/dist/ui/skeleton.d.cts +2 -2
  306. package/dist/ui/skeleton.d.mts +2 -2
  307. package/dist/ui/skeleton.mjs +1 -1
  308. package/dist/ui/slider.d.cts +2 -2
  309. package/dist/ui/slider.d.mts +2 -2
  310. package/dist/ui/sonner.d.cts +2 -2
  311. package/dist/ui/sonner.d.mts +2 -2
  312. package/dist/ui/spinner.d.cts +2 -2
  313. package/dist/ui/spinner.d.mts +2 -2
  314. package/dist/ui/spinner.mjs +1 -1
  315. package/dist/ui/switch.d.cts +2 -2
  316. package/dist/ui/switch.d.mts +2 -2
  317. package/dist/ui/table.d.cts +18 -18
  318. package/dist/ui/table.d.mts +18 -18
  319. package/dist/ui/tabs.d.cts +5 -5
  320. package/dist/ui/tabs.d.mts +5 -5
  321. package/dist/ui/textarea.d.cts +2 -2
  322. package/dist/ui/textarea.d.mts +2 -2
  323. package/dist/ui/textarea.mjs +1 -1
  324. package/dist/ui/toggle-group.d.cts +3 -3
  325. package/dist/ui/toggle-group.d.mts +3 -3
  326. package/dist/ui/toggle.d.cts +5 -5
  327. package/dist/ui/toggle.d.mts +5 -5
  328. package/dist/ui/tooltip.d.cts +5 -5
  329. package/dist/ui/tooltip.d.mts +5 -5
  330. package/dist/ui/tooltip.mjs +1 -1
  331. package/dist/{user-DIEH54XW.mjs → user-DxSilm4V.mjs} +2 -2
  332. package/dist/{user-DIEH54XW.mjs.map → user-DxSilm4V.mjs.map} +1 -1
  333. package/package.json +13 -1
  334. package/dist/payment-layout-BKJ5xJra.mjs +0 -2
  335. package/dist/payment-layout-BKJ5xJra.mjs.map +0 -1
  336. package/dist/payment-layout-CcMvKPaX.cjs +0 -2
  337. package/dist/payment-layout-CcMvKPaX.cjs.map +0 -1
  338. package/dist/tables--hUSBZFP.cjs +0 -4
  339. package/dist/tables--hUSBZFP.cjs.map +0 -1
  340. package/dist/tables-BZ5jLRGG.mjs +0 -4
  341. package/dist/tables-BZ5jLRGG.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime180 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime95 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/ui/breadcrumb.d.ts
4
4
 
@@ -28,17 +28,17 @@ import * as react_jsx_runtime180 from "react/jsx-runtime";
28
28
  declare function Breadcrumb({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<'nav'>): react_jsx_runtime180.JSX.Element;
31
+ }: React.ComponentProps<'nav'>): react_jsx_runtime95.JSX.Element;
32
32
  /** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
33
33
  declare function BreadcrumbList({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'ol'>): react_jsx_runtime180.JSX.Element;
36
+ }: React.ComponentProps<'ol'>): react_jsx_runtime95.JSX.Element;
37
37
  /** Individual `<li>` item wrapper inside a BreadcrumbList. */
38
38
  declare function BreadcrumbItem({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<'li'>): react_jsx_runtime180.JSX.Element;
41
+ }: React.ComponentProps<'li'>): react_jsx_runtime95.JSX.Element;
42
42
  /**
43
43
  * Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
44
44
  *
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
50
50
  ...props
51
51
  }: React.ComponentProps<'a'> & {
52
52
  asChild?: boolean;
53
- }): react_jsx_runtime180.JSX.Element;
53
+ }): react_jsx_runtime95.JSX.Element;
54
54
  /** Non-interactive span representing the current page; sets `aria-current="page"`. */
55
55
  declare function BreadcrumbPage({
56
56
  className,
57
57
  ...props
58
- }: React.ComponentProps<'span'>): react_jsx_runtime180.JSX.Element;
58
+ }: React.ComponentProps<'span'>): react_jsx_runtime95.JSX.Element;
59
59
  /** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
60
60
  declare function BreadcrumbSeparator({
61
61
  children,
62
62
  className,
63
63
  ...props
64
- }: React.ComponentProps<'li'>): react_jsx_runtime180.JSX.Element;
64
+ }: React.ComponentProps<'li'>): react_jsx_runtime95.JSX.Element;
65
65
  /** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
66
66
  declare function BreadcrumbEllipsis({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<'button'>): react_jsx_runtime180.JSX.Element;
69
+ }: React.ComponentProps<'button'>): react_jsx_runtime95.JSX.Element;
70
70
  //#endregion
71
71
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
72
72
  //# sourceMappingURL=breadcrumb.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime39 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime82 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/ui/breadcrumb.d.ts
4
4
 
@@ -28,17 +28,17 @@ import * as react_jsx_runtime39 from "react/jsx-runtime";
28
28
  declare function Breadcrumb({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<'nav'>): react_jsx_runtime39.JSX.Element;
31
+ }: React.ComponentProps<'nav'>): react_jsx_runtime82.JSX.Element;
32
32
  /** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
33
33
  declare function BreadcrumbList({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<'ol'>): react_jsx_runtime39.JSX.Element;
36
+ }: React.ComponentProps<'ol'>): react_jsx_runtime82.JSX.Element;
37
37
  /** Individual `<li>` item wrapper inside a BreadcrumbList. */
38
38
  declare function BreadcrumbItem({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<'li'>): react_jsx_runtime39.JSX.Element;
41
+ }: React.ComponentProps<'li'>): react_jsx_runtime82.JSX.Element;
42
42
  /**
43
43
  * Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
44
44
  *
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
50
50
  ...props
51
51
  }: React.ComponentProps<'a'> & {
52
52
  asChild?: boolean;
53
- }): react_jsx_runtime39.JSX.Element;
53
+ }): react_jsx_runtime82.JSX.Element;
54
54
  /** Non-interactive span representing the current page; sets `aria-current="page"`. */
55
55
  declare function BreadcrumbPage({
56
56
  className,
57
57
  ...props
58
- }: React.ComponentProps<'span'>): react_jsx_runtime39.JSX.Element;
58
+ }: React.ComponentProps<'span'>): react_jsx_runtime82.JSX.Element;
59
59
  /** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
60
60
  declare function BreadcrumbSeparator({
61
61
  children,
62
62
  className,
63
63
  ...props
64
- }: React.ComponentProps<'li'>): react_jsx_runtime39.JSX.Element;
64
+ }: React.ComponentProps<'li'>): react_jsx_runtime82.JSX.Element;
65
65
  /** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
66
66
  declare function BreadcrumbEllipsis({
67
67
  className,
68
68
  ...props
69
- }: React.ComponentProps<'button'>): react_jsx_runtime39.JSX.Element;
69
+ }: React.ComponentProps<'button'>): react_jsx_runtime82.JSX.Element;
70
70
  //#endregion
71
71
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
72
72
  //# sourceMappingURL=breadcrumb.d.mts.map
@@ -1,2 +1,2 @@
1
- "use client";import{t as e}from"../dist-DPEjz4kv.mjs";import{ChevronRight as t,MoreHorizontal 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";function o({className:e,...t}){return r(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:a(``,e),...t})}function s({className:e,...t}){return r(`ol`,{"data-slot":`breadcrumb-list`,className:a(`flex flex-wrap items-center gap-1.5 sm:gap-2.5`,`text-sm break-words`,`text-text-positive-weak`,e),...t})}function c({className:e,...t}){return r(`li`,{"data-slot":`breadcrumb-item`,className:a(`inline-flex items-center gap-1.5`,e),...t})}function l({asChild:t,className:n,...i}){return r(t?e:`a`,{"data-slot":`breadcrumb-link`,className:a(`text-text-positive-weak`,`transition-colors duration-150`,`hover:text-text-positive focus-visible:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`rounded-sm`,n),...i})}function u({className:e,...t}){return r(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:a(`text-text-positive-strong font-medium`,e),...t})}function d({children:e,className:n,...i}){return r(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:a(`text-text-positive-muted`,`[&>svg]:size-3.5`,n),...i,children:e??r(t,{})})}function f({className:e,...t}){return i(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:a(`flex items-center justify-center`,`size-8 rounded-sm`,`text-text-positive-weak`,`hover:bg-secondary-muted hover:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`transition-colors duration-150`,e),...t,children:[r(n,{className:`size-4`}),r(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}export{o as Breadcrumb,f as BreadcrumbEllipsis,c as BreadcrumbItem,l as BreadcrumbLink,s as BreadcrumbList,u as BreadcrumbPage,d as BreadcrumbSeparator};
1
+ "use client";import{t as e}from"../dist-XxWAVHy8.mjs";import{ChevronRight as t,MoreHorizontal 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";function o({className:e,...t}){return r(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:a(``,e),...t})}function s({className:e,...t}){return r(`ol`,{"data-slot":`breadcrumb-list`,className:a(`flex flex-wrap items-center gap-1.5 sm:gap-2.5`,`text-sm break-words`,`text-text-positive-weak`,e),...t})}function c({className:e,...t}){return r(`li`,{"data-slot":`breadcrumb-item`,className:a(`inline-flex items-center gap-1.5`,e),...t})}function l({asChild:t,className:n,...i}){return r(t?e:`a`,{"data-slot":`breadcrumb-link`,className:a(`text-text-positive-weak`,`transition-colors duration-150`,`hover:text-text-positive focus-visible:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`rounded-sm`,n),...i})}function u({className:e,...t}){return r(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:a(`text-text-positive-strong font-medium`,e),...t})}function d({children:e,className:n,...i}){return r(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:a(`text-text-positive-muted`,`[&>svg]:size-3.5`,n),...i,children:e??r(t,{})})}function f({className:e,...t}){return i(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:a(`flex items-center justify-center`,`size-8 rounded-sm`,`text-text-positive-weak`,`hover:bg-secondary-muted hover:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`transition-colors duration-150`,e),...t,children:[r(n,{className:`size-4`}),r(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}export{o as Breadcrumb,f as BreadcrumbEllipsis,c as BreadcrumbItem,l as BreadcrumbLink,s as BreadcrumbList,u as BreadcrumbPage,d as BreadcrumbSeparator};
2
2
  //# sourceMappingURL=breadcrumb.mjs.map
@@ -1,12 +1,12 @@
1
1
  import { Separator } from "./separator.cjs";
2
- import * as react_jsx_runtime171 from "react/jsx-runtime";
3
- import * as class_variance_authority_types9 from "class-variance-authority/types";
2
+ import * as react_jsx_runtime91 from "react/jsx-runtime";
3
+ import * as class_variance_authority_types4 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region packages/components/ui/button-group.d.ts
7
7
  declare const buttonGroupVariants: (props?: ({
8
- orientation?: "vertical" | "horizontal" | null | undefined;
9
- } & class_variance_authority_types9.ClassProp) | undefined) => string;
8
+ orientation?: "horizontal" | "vertical" | null | undefined;
9
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
10
10
  /**
11
11
  * Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
12
12
  *
@@ -26,7 +26,7 @@ declare function ButtonGroup({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime171.JSX.Element;
29
+ }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime91.JSX.Element;
30
30
  /**
31
31
  * A static text or icon addon rendered inside a ButtonGroup with muted background styling.
32
32
  *
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
38
38
  ...props
39
39
  }: React.ComponentProps<'div'> & {
40
40
  asChild?: boolean;
41
- }): react_jsx_runtime171.JSX.Element;
41
+ }): react_jsx_runtime91.JSX.Element;
42
42
  /** A visual Separator rendered between items inside a ButtonGroup. */
43
43
  declare function ButtonGroupSeparator({
44
44
  className,
45
45
  orientation,
46
46
  ...props
47
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime171.JSX.Element;
47
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime91.JSX.Element;
48
48
  //#endregion
49
49
  export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
50
50
  //# sourceMappingURL=button-group.d.cts.map
@@ -1,12 +1,12 @@
1
1
  import { Separator } from "./separator.mjs";
2
- import * as react_jsx_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types3 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
6
6
  //#region packages/components/ui/button-group.d.ts
7
7
  declare const buttonGroupVariants: (props?: ({
8
- orientation?: "vertical" | "horizontal" | null | undefined;
9
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
8
+ orientation?: "horizontal" | "vertical" | null | undefined;
9
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  /**
11
11
  * Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
12
12
  *
@@ -26,7 +26,7 @@ declare function ButtonGroup({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime31.JSX.Element;
29
+ }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime0.JSX.Element;
30
30
  /**
31
31
  * A static text or icon addon rendered inside a ButtonGroup with muted background styling.
32
32
  *
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
38
38
  ...props
39
39
  }: React.ComponentProps<'div'> & {
40
40
  asChild?: boolean;
41
- }): react_jsx_runtime31.JSX.Element;
41
+ }): react_jsx_runtime0.JSX.Element;
42
42
  /** A visual Separator rendered between items inside a ButtonGroup. */
43
43
  declare function ButtonGroupSeparator({
44
44
  className,
45
45
  orientation,
46
46
  ...props
47
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime31.JSX.Element;
47
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
48
48
  //#endregion
49
49
  export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
50
50
  //# sourceMappingURL=button-group.d.mts.map
@@ -1,2 +1,2 @@
1
- import{t as e}from"../dist-DPEjz4kv.mjs";import{t}from"../separator-DVI2h_rd.mjs";import{jsx as n}from"react/jsx-runtime";import{cn as r}from"@customafk/react-toolkit/utils";import{cva as i}from"class-variance-authority";const a=i(`flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none`}},defaultVariants:{orientation:`horizontal`}});function o({className:e,orientation:t,...i}){return n(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:r(a({orientation:t}),e),...i})}function s({className:t,asChild:i=!1,...a}){return n(i?e:`div`,{className:r(`flex items-center gap-2 rounded-md border border-border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none`,t),...a})}function c({className:e,orientation:i=`vertical`,...a}){return n(t,{"data-slot":`button-group-separator`,orientation:i,className:r(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...a})}export{o as ButtonGroup,c as ButtonGroupSeparator,s as ButtonGroupText,a as buttonGroupVariants};
1
+ import{t as e}from"../dist-XxWAVHy8.mjs";import{t}from"../separator-DXnFHf3v.mjs";import{jsx as n}from"react/jsx-runtime";import{cn as r}from"@customafk/react-toolkit/utils";import{cva as i}from"class-variance-authority";const a=i(`flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none`}},defaultVariants:{orientation:`horizontal`}});function o({className:e,orientation:t,...i}){return n(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:r(a({orientation:t}),e),...i})}function s({className:t,asChild:i=!1,...a}){return n(i?e:`div`,{className:r(`flex items-center gap-2 rounded-md border border-border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none`,t),...a})}function c({className:e,orientation:i=`vertical`,...a}){return n(t,{"data-slot":`button-group-separator`,orientation:i,className:r(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...a})}export{o as ButtonGroup,c as ButtonGroupSeparator,s as ButtonGroupText,a as buttonGroupVariants};
2
2
  //# sourceMappingURL=button-group.mjs.map
@@ -1,2 +1,2 @@
1
- import { n as ButtonProps, t as Button } from "../button-UgIAM1cP.cjs";
1
+ import { n as ButtonProps, t as Button } from "../button-DXeUzeTa.cjs";
2
2
  export { Button, ButtonProps };
@@ -1,2 +1,2 @@
1
- import { n as ButtonProps, t as Button } from "../button-DdwLbwWQ.mjs";
1
+ import { n as ButtonProps, t as Button } from "../button-xMJ2hylr.mjs";
2
2
  export { Button, ButtonProps };
@@ -1 +1 @@
1
- "use client";import"../button.variants-B8KCLWPT.mjs";import{t as e}from"../button-DPABon17.mjs";export{e as Button};
1
+ "use client";import"../button.variants-CwcJHcI5.mjs";import{t as e}from"../button-Bc8L9sFb.mjs";export{e as Button};
@@ -1,2 +1,2 @@
1
- import"../../button.variants-B8KCLWPT.mjs";import{t as e}from"../../button-DPABon17.mjs";import{t}from"../../paragraph-jzLzzEYZ.mjs";import{PlusIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});export{a as AddNewBtn};
1
+ import"../../button.variants-CwcJHcI5.mjs";import{t as e}from"../../button-Bc8L9sFb.mjs";import{t}from"../../paragraph-CnHNC0rS.mjs";import{PlusIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});export{a as AddNewBtn};
2
2
  //# sourceMappingURL=add-new.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../button.variants-B8KCLWPT.mjs";import{t as e}from"../../button-DPABon17.mjs";import{Edit2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Chỉnh sửa`,variant:`ghost`,color:`secondary`,size:`icon`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`})});export{r as EditBtn};
1
+ import"../../button.variants-CwcJHcI5.mjs";import{t as e}from"../../button-Bc8L9sFb.mjs";import{Edit2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Chỉnh sửa`,variant:`ghost`,color:`secondary`,size:`icon`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`})});export{r as EditBtn};
2
2
  //# sourceMappingURL=edit.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../button.variants-B8KCLWPT.mjs";import{t as e}from"../../button-DPABon17.mjs";import{t}from"../../paragraph-jzLzzEYZ.mjs";import{RefreshCwIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Reset`})]});export{a as RefreshBtn};
1
+ import"../../button.variants-CwcJHcI5.mjs";import{t as e}from"../../button-Bc8L9sFb.mjs";import{t}from"../../paragraph-CnHNC0rS.mjs";import{RefreshCwIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Reset`})]});export{a as RefreshBtn};
2
2
  //# sourceMappingURL=refresh.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../button.variants-B8KCLWPT.mjs";import{t as e}from"../../button-DPABon17.mjs";import{Trash2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Xoá`,variant:`ghost`,size:`icon`,color:`secondary`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`,"aria-hidden":`true`})});export{r as TrashBtn};
1
+ import"../../button.variants-CwcJHcI5.mjs";import{t as e}from"../../button-Bc8L9sFb.mjs";import{Trash2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Xoá`,variant:`ghost`,size:`icon`,color:`secondary`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`,"aria-hidden":`true`})});export{r as TrashBtn};
2
2
  //# sourceMappingURL=trash.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../button.variants-B8KCLWPT.mjs";import{t as e}from"../../button-DPABon17.mjs";import{UploadIcon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({size:r=`5rem`,onClick:i})=>n(e,{style:{width:r,height:r},variant:`outline`,color:`muted`,onClick:i,children:n(t,{className:`size-6`})});export{r as UploadImageBtn};
1
+ import"../../button.variants-CwcJHcI5.mjs";import{t as e}from"../../button-Bc8L9sFb.mjs";import{UploadIcon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({size:r=`5rem`,onClick:i})=>n(e,{style:{width:r,height:r},variant:`outline`,color:`muted`,onClick:i,children:n(t,{className:`size-6`})});export{r as UploadImageBtn};
2
2
  //# sourceMappingURL=upload-image.mjs.map
@@ -1,5 +1,5 @@
1
- import { t as Button } from "../button-UgIAM1cP.cjs";
2
- import * as react_jsx_runtime256 from "react/jsx-runtime";
1
+ import { t as Button } from "../button-DXeUzeTa.cjs";
2
+ import * as react_jsx_runtime84 from "react/jsx-runtime";
3
3
  import { DayButton, DayPicker } from "react-day-picker";
4
4
 
5
5
  //#region packages/components/ui/calendar.d.ts
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
9
9
  modifiers,
10
10
  color: _,
11
11
  ...props
12
- }: React.ComponentProps<typeof DayButton>) => react_jsx_runtime256.JSX.Element;
12
+ }: React.ComponentProps<typeof DayButton>) => react_jsx_runtime84.JSX.Element;
13
13
  /**
14
14
  * A fully styled date-picker calendar built on top of react-day-picker, supporting single, range, and multiple selection modes.
15
15
  *
@@ -39,7 +39,7 @@ declare function Calendar({
39
39
  }: React.ComponentProps<typeof DayPicker> & {
40
40
  /** Variant applied to the previous/next navigation buttons. */
41
41
  buttonVariant?: React.ComponentProps<typeof Button>['variant'];
42
- }): react_jsx_runtime256.JSX.Element;
42
+ }): react_jsx_runtime84.JSX.Element;
43
43
  //#endregion
44
44
  export { Calendar, CalendarDayButton };
45
45
  //# sourceMappingURL=calendar.d.cts.map
@@ -1,5 +1,5 @@
1
- import { t as Button } from "../button-DdwLbwWQ.mjs";
2
- import * as react_jsx_runtime78 from "react/jsx-runtime";
1
+ import { t as Button } from "../button-xMJ2hylr.mjs";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
3
  import { DayButton, DayPicker } from "react-day-picker";
4
4
 
5
5
  //#region packages/components/ui/calendar.d.ts
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
9
9
  modifiers,
10
10
  color: _,
11
11
  ...props
12
- }: React.ComponentProps<typeof DayButton>) => react_jsx_runtime78.JSX.Element;
12
+ }: React.ComponentProps<typeof DayButton>) => react_jsx_runtime93.JSX.Element;
13
13
  /**
14
14
  * A fully styled date-picker calendar built on top of react-day-picker, supporting single, range, and multiple selection modes.
15
15
  *
@@ -39,7 +39,7 @@ declare function Calendar({
39
39
  }: React.ComponentProps<typeof DayPicker> & {
40
40
  /** Variant applied to the previous/next navigation buttons. */
41
41
  buttonVariant?: React.ComponentProps<typeof Button>['variant'];
42
- }): react_jsx_runtime78.JSX.Element;
42
+ }): react_jsx_runtime93.JSX.Element;
43
43
  //#endregion
44
44
  export { Calendar, CalendarDayButton };
45
45
  //# sourceMappingURL=calendar.d.mts.map
@@ -1 +1 @@
1
- "use client";import"../button.variants-B8KCLWPT.mjs";import"../button-DPABon17.mjs";import{n as e,t}from"../calendar-DJnuujFC.mjs";export{t as Calendar,e as CalendarDayButton};
1
+ "use client";import"../button.variants-CwcJHcI5.mjs";import"../button-Bc8L9sFb.mjs";import{n as e,t}from"../calendar-C2psGpju.mjs";export{t as Calendar,e as CalendarDayButton};
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime233 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime37 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/ui/card.d.ts
4
4
 
@@ -27,37 +27,37 @@ import * as react_jsx_runtime233 from "react/jsx-runtime";
27
27
  declare function Card({
28
28
  className,
29
29
  ...props
30
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
30
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
31
31
  /** Top section of the card that holds the title, description, and optional action slot. */
32
32
  declare function CardHeader({
33
33
  className,
34
34
  ...props
35
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
35
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
36
36
  /** Primary heading for the card, styled with the h3 heading variant. */
37
37
  declare function CardTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
41
41
  /** Muted supporting text displayed beneath the card title. */
42
42
  declare function CardDescription({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
45
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
46
46
  /** Optional slot in the card header for a contextual action (e.g. a button or menu); positioned in the top-right grid cell. */
47
47
  declare function CardAction({
48
48
  className,
49
49
  ...props
50
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
50
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
51
51
  /** Main body area of the card with horizontal padding for content alignment. */
52
52
  declare function CardContent({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
56
56
  /** Bottom section of the card, typically used for supplementary text or secondary actions. */
57
57
  declare function CardFooter({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
60
+ }: React.ComponentProps<'div'>): react_jsx_runtime37.JSX.Element;
61
61
  //#endregion
62
62
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
63
63
  //# sourceMappingURL=card.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime46 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/ui/card.d.ts
4
4
 
@@ -27,37 +27,37 @@ import * as react_jsx_runtime46 from "react/jsx-runtime";
27
27
  declare function Card({
28
28
  className,
29
29
  ...props
30
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
30
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
31
31
  /** Top section of the card that holds the title, description, and optional action slot. */
32
32
  declare function CardHeader({
33
33
  className,
34
34
  ...props
35
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
35
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
36
36
  /** Primary heading for the card, styled with the h3 heading variant. */
37
37
  declare function CardTitle({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
41
41
  /** Muted supporting text displayed beneath the card title. */
42
42
  declare function CardDescription({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
45
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
46
46
  /** Optional slot in the card header for a contextual action (e.g. a button or menu); positioned in the top-right grid cell. */
47
47
  declare function CardAction({
48
48
  className,
49
49
  ...props
50
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
50
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
51
51
  /** Main body area of the card with horizontal padding for content alignment. */
52
52
  declare function CardContent({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
56
56
  /** Bottom section of the card, typically used for supplementary text or secondary actions. */
57
57
  declare function CardFooter({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
60
+ }: React.ComponentProps<'div'>): react_jsx_runtime2.JSX.Element;
61
61
  //#endregion
62
62
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
63
63
  //# sourceMappingURL=card.d.mts.map
package/dist/ui/card.mjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";import{t as e}from"../heading-D8K7UGv2.mjs";import{n as t}from"../paragraph-jzLzzEYZ.mjs";import{jsx as n}from"react/jsx-runtime";import{cn as r}from"@customafk/react-toolkit/utils";function i({className:e,...t}){return n(`div`,{"data-slot":`card`,className:r(`flex flex-col gap-6 rounded-lg border border-border bg-card py-6 text-text-positive shadow-card`,`transition-[box-shadow,opacity] duration-150 ease-in-out`,`data-[interactive=true]:cursor-pointer`,`data-[interactive=true]:hover:shadow-dropdown`,`data-[interactive=true]:focus-visible:outline-none data-[interactive=true]:focus-visible:ring-2 data-[interactive=true]:focus-visible:ring-ring data-[interactive=true]:focus-visible:ring-offset-2`,`data-[interactive=true]:active:opacity-90`,e),...t})}function a({className:e,...t}){return n(`div`,{"data-slot":`card-header`,className:r(`@container/card-header`,`grid auto-rows-min grid-rows-[auto_auto]`,`items-start gap-1.5 px-6 text-text-positive-strong`,`has-data-[slot=card-action]:grid-cols-[1fr_auto]`,`[.border-b]:pb-6`,e),...t})}function o({className:t,...i}){return n(`div`,{"data-slot":`card-title`,className:r(e({level:`h3`}),t),...i})}function s({className:e,...i}){return n(`div`,{"data-slot":`card-description`,className:r(t({variant:`muted`}),e),...i})}function c({className:e,...t}){return n(`div`,{"data-slot":`card-action`,className:r(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...t})}function l({className:e,...t}){return n(`div`,{"data-slot":`card-content`,className:r(`px-6 text-sm`,e),...t})}function u({className:e,...t}){return n(`div`,{"data-slot":`card-footer`,className:r(`flex items-center px-6 text-sm [.border-t]:pt-6`,e),...t})}export{i as Card,c as CardAction,l as CardContent,s as CardDescription,u as CardFooter,a as CardHeader,o as CardTitle};
1
+ "use client";import{t as e}from"../heading-BnaNuvDS.mjs";import{n as t}from"../paragraph-CnHNC0rS.mjs";import{jsx as n}from"react/jsx-runtime";import{cn as r}from"@customafk/react-toolkit/utils";function i({className:e,...t}){return n(`div`,{"data-slot":`card`,className:r(`flex flex-col gap-6 rounded-lg border border-border bg-card py-6 text-text-positive shadow-card`,`transition-[box-shadow,opacity] duration-150 ease-in-out`,`data-[interactive=true]:cursor-pointer`,`data-[interactive=true]:hover:shadow-dropdown`,`data-[interactive=true]:focus-visible:outline-none data-[interactive=true]:focus-visible:ring-2 data-[interactive=true]:focus-visible:ring-ring data-[interactive=true]:focus-visible:ring-offset-2`,`data-[interactive=true]:active:opacity-90`,e),...t})}function a({className:e,...t}){return n(`div`,{"data-slot":`card-header`,className:r(`@container/card-header`,`grid auto-rows-min grid-rows-[auto_auto]`,`items-start gap-1.5 px-6 text-text-positive-strong`,`has-data-[slot=card-action]:grid-cols-[1fr_auto]`,`[.border-b]:pb-6`,e),...t})}function o({className:t,...i}){return n(`div`,{"data-slot":`card-title`,className:r(e({level:`h3`}),t),...i})}function s({className:e,...i}){return n(`div`,{"data-slot":`card-description`,className:r(t({variant:`muted`}),e),...i})}function c({className:e,...t}){return n(`div`,{"data-slot":`card-action`,className:r(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...t})}function l({className:e,...t}){return n(`div`,{"data-slot":`card-content`,className:r(`px-6 text-sm`,e),...t})}function u({className:e,...t}){return n(`div`,{"data-slot":`card-footer`,className:r(`flex items-center px-6 text-sm [.border-t]:pt-6`,e),...t})}export{i as Card,c as CardAction,l as CardContent,s as CardDescription,u as CardFooter,a as CardHeader,o as CardTitle};
2
2
  //# sourceMappingURL=card.mjs.map
@@ -1,5 +1,5 @@
1
- import { t as Button } from "../button-UgIAM1cP.cjs";
2
- import * as react_jsx_runtime251 from "react/jsx-runtime";
1
+ import { t as Button } from "../button-DXeUzeTa.cjs";
2
+ import * as react_jsx_runtime136 from "react/jsx-runtime";
3
3
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
4
4
 
5
5
  //#region packages/components/ui/carousel.d.ts
@@ -41,31 +41,31 @@ declare function Carousel({
41
41
  className,
42
42
  children,
43
43
  ...props
44
- }: React.ComponentProps<'div'> & CarouselProps): react_jsx_runtime251.JSX.Element;
44
+ }: React.ComponentProps<'div'> & CarouselProps): react_jsx_runtime136.JSX.Element;
45
45
  /** The scrollable track that holds all CarouselItem elements. */
46
46
  declare function CarouselContent({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<'div'>): react_jsx_runtime251.JSX.Element;
49
+ }: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
50
50
  /** A single slide within a CarouselContent; occupies the full width (or height for vertical carousels). */
51
51
  declare function CarouselItem({
52
52
  className,
53
53
  ...props
54
- }: React.ComponentProps<'div'>): react_jsx_runtime251.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
55
55
  /** Circular button positioned to the left (or top for vertical) that scrolls to the previous slide. */
56
56
  declare function CarouselPrevious({
57
57
  className,
58
58
  variant,
59
59
  size,
60
60
  ...props
61
- }: React.ComponentProps<typeof Button>): react_jsx_runtime251.JSX.Element;
61
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime136.JSX.Element;
62
62
  /** Circular button positioned to the right (or bottom for vertical) that scrolls to the next slide. */
63
63
  declare function CarouselNext({
64
64
  className,
65
65
  variant,
66
66
  size,
67
67
  ...props
68
- }: React.ComponentProps<typeof Button>): react_jsx_runtime251.JSX.Element;
68
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime136.JSX.Element;
69
69
  //#endregion
70
70
  export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
71
71
  //# sourceMappingURL=carousel.d.cts.map
@@ -1,5 +1,5 @@
1
- import { t as Button } from "../button-DdwLbwWQ.mjs";
2
- import * as react_jsx_runtime72 from "react/jsx-runtime";
1
+ import { t as Button } from "../button-xMJ2hylr.mjs";
2
+ import * as react_jsx_runtime121 from "react/jsx-runtime";
3
3
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
4
4
 
5
5
  //#region packages/components/ui/carousel.d.ts
@@ -41,31 +41,31 @@ declare function Carousel({
41
41
  className,
42
42
  children,
43
43
  ...props
44
- }: React.ComponentProps<'div'> & CarouselProps): react_jsx_runtime72.JSX.Element;
44
+ }: React.ComponentProps<'div'> & CarouselProps): react_jsx_runtime121.JSX.Element;
45
45
  /** The scrollable track that holds all CarouselItem elements. */
46
46
  declare function CarouselContent({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<'div'>): react_jsx_runtime72.JSX.Element;
49
+ }: React.ComponentProps<'div'>): react_jsx_runtime121.JSX.Element;
50
50
  /** A single slide within a CarouselContent; occupies the full width (or height for vertical carousels). */
51
51
  declare function CarouselItem({
52
52
  className,
53
53
  ...props
54
- }: React.ComponentProps<'div'>): react_jsx_runtime72.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react_jsx_runtime121.JSX.Element;
55
55
  /** Circular button positioned to the left (or top for vertical) that scrolls to the previous slide. */
56
56
  declare function CarouselPrevious({
57
57
  className,
58
58
  variant,
59
59
  size,
60
60
  ...props
61
- }: React.ComponentProps<typeof Button>): react_jsx_runtime72.JSX.Element;
61
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime121.JSX.Element;
62
62
  /** Circular button positioned to the right (or bottom for vertical) that scrolls to the next slide. */
63
63
  declare function CarouselNext({
64
64
  className,
65
65
  variant,
66
66
  size,
67
67
  ...props
68
- }: React.ComponentProps<typeof Button>): react_jsx_runtime72.JSX.Element;
68
+ }: React.ComponentProps<typeof Button>): react_jsx_runtime121.JSX.Element;
69
69
  //#endregion
70
70
  export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
71
71
  //# sourceMappingURL=carousel.d.mts.map
@@ -1,2 +1,2 @@
1
- "use client";import"../button.variants-B8KCLWPT.mjs";import{t as e}from"../button-DPABon17.mjs";import{ArrowLeft as t,ArrowRight as n}from"lucide-react";import{createContext as r,use as i,useCallback as a,useEffect as o,useState as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import{cn as u}from"@customafk/react-toolkit/utils";import d from"embla-carousel-react";const f=r(null);function p(){let e=i(f);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}function m({orientation:e=`horizontal`,opts:t,setApi:n,plugins:r,className:i,children:l,...p}){let[m,h]=d({...t,axis:e===`horizontal`?`x`:`y`},r),[g,_]=s(!1),[v,y]=s(!1),b=a(e=>{e&&(_(e.canScrollPrev()),y(e.canScrollNext()))},[]),x=a(()=>{h?.scrollPrev()},[h]),S=a(()=>{h?.scrollNext()},[h]),C=a(e=>{e.key===`ArrowLeft`?(e.preventDefault(),x()):e.key===`ArrowRight`&&(e.preventDefault(),S())},[x,S]);return o(()=>{!h||!n||n(h)},[h,n]),o(()=>{if(h)return b(h),h.on(`reInit`,b),h.on(`select`,b),()=>{h?.off(`select`,b)}},[h,b]),c(f.Provider,{value:{carouselRef:m,api:h,opts:t,orientation:e||(t?.axis===`y`?`vertical`:`horizontal`),scrollPrev:x,scrollNext:S,canScrollPrev:g,canScrollNext:v},children:c(`div`,{onKeyDownCapture:C,className:u(`relative`,i),role:`region`,"aria-roledescription":`carousel`,"data-slot":`carousel`,...p,children:l})})}function h({className:e,...t}){let{carouselRef:n,orientation:r}=p();return c(`div`,{ref:n,className:`overflow-hidden`,"data-slot":`carousel-content`,children:c(`div`,{className:u(`flex`,r===`horizontal`?`-ml-4`:`-mt-4 flex-col`,e),...t})})}function g({className:e,...t}){let{orientation:n}=p();return c(`div`,{role:`group`,"aria-roledescription":`slide`,"data-slot":`carousel-item`,className:u(`min-w-0 shrink-0 grow-0 basis-full`,n===`horizontal`?`pl-4`:`pt-4`,e),...t})}function _({className:n,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollPrev:s,canScrollPrev:d}=p();return l(e,{"data-slot":`carousel-previous`,variant:r,size:i,className:u(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -left-12 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,n),disabled:!d,onClick:s,...a,children:[c(t,{}),c(`span`,{className:`sr-only`,children:`Previous slide`})]})}function v({className:t,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollNext:s,canScrollNext:d}=p();return l(e,{"data-slot":`carousel-next`,variant:r,size:i,className:u(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -right-12 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,t),disabled:!d,onClick:s,...a,children:[c(n,{}),c(`span`,{className:`sr-only`,children:`Next slide`})]})}export{m as Carousel,h as CarouselContent,g as CarouselItem,v as CarouselNext,_ as CarouselPrevious};
1
+ "use client";import"../button.variants-CwcJHcI5.mjs";import{t as e}from"../button-Bc8L9sFb.mjs";import{ArrowLeft as t,ArrowRight as n}from"lucide-react";import{createContext as r,use as i,useCallback as a,useEffect as o,useState as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import{cn as u}from"@customafk/react-toolkit/utils";import d from"embla-carousel-react";const f=r(null);function p(){let e=i(f);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}function m({orientation:e=`horizontal`,opts:t,setApi:n,plugins:r,className:i,children:l,...p}){let[m,h]=d({...t,axis:e===`horizontal`?`x`:`y`},r),[g,_]=s(!1),[v,y]=s(!1),b=a(e=>{e&&(_(e.canScrollPrev()),y(e.canScrollNext()))},[]),x=a(()=>{h?.scrollPrev()},[h]),S=a(()=>{h?.scrollNext()},[h]),C=a(e=>{e.key===`ArrowLeft`?(e.preventDefault(),x()):e.key===`ArrowRight`&&(e.preventDefault(),S())},[x,S]);return o(()=>{!h||!n||n(h)},[h,n]),o(()=>{if(h)return b(h),h.on(`reInit`,b),h.on(`select`,b),()=>{h?.off(`select`,b)}},[h,b]),c(f.Provider,{value:{carouselRef:m,api:h,opts:t,orientation:e||(t?.axis===`y`?`vertical`:`horizontal`),scrollPrev:x,scrollNext:S,canScrollPrev:g,canScrollNext:v},children:c(`div`,{onKeyDownCapture:C,className:u(`relative`,i),role:`region`,"aria-roledescription":`carousel`,"data-slot":`carousel`,...p,children:l})})}function h({className:e,...t}){let{carouselRef:n,orientation:r}=p();return c(`div`,{ref:n,className:`overflow-hidden`,"data-slot":`carousel-content`,children:c(`div`,{className:u(`flex`,r===`horizontal`?`-ml-4`:`-mt-4 flex-col`,e),...t})})}function g({className:e,...t}){let{orientation:n}=p();return c(`div`,{role:`group`,"aria-roledescription":`slide`,"data-slot":`carousel-item`,className:u(`min-w-0 shrink-0 grow-0 basis-full`,n===`horizontal`?`pl-4`:`pt-4`,e),...t})}function _({className:n,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollPrev:s,canScrollPrev:d}=p();return l(e,{"data-slot":`carousel-previous`,variant:r,size:i,className:u(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -left-12 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,n),disabled:!d,onClick:s,...a,children:[c(t,{}),c(`span`,{className:`sr-only`,children:`Previous slide`})]})}function v({className:t,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollNext:s,canScrollNext:d}=p();return l(e,{"data-slot":`carousel-next`,variant:r,size:i,className:u(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -right-12 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,t),disabled:!d,onClick:s,...a,children:[c(n,{}),c(`span`,{className:`sr-only`,children:`Next slide`})]})}export{m as Carousel,h as CarouselContent,g as CarouselItem,v as CarouselNext,_ as CarouselPrevious};
2
2
  //# sourceMappingURL=carousel.mjs.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime202 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime94 from "react/jsx-runtime";
2
2
  import { Checkbox as Checkbox$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/checkbox.d.ts
@@ -20,7 +20,7 @@ import { Checkbox as Checkbox$1 } from "radix-ui";
20
20
  declare function Checkbox({
21
21
  className,
22
22
  ...props
23
- }: React.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime202.JSX.Element;
23
+ }: React.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime94.JSX.Element;
24
24
  //#endregion
25
25
  export { Checkbox };
26
26
  //# sourceMappingURL=checkbox.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime77 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime148 from "react/jsx-runtime";
2
2
  import { Checkbox as Checkbox$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/checkbox.d.ts
@@ -20,7 +20,7 @@ import { Checkbox as Checkbox$1 } from "radix-ui";
20
20
  declare function Checkbox({
21
21
  className,
22
22
  ...props
23
- }: React.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime77.JSX.Element;
23
+ }: React.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime148.JSX.Element;
24
24
  //#endregion
25
25
  export { Checkbox };
26
26
  //# sourceMappingURL=checkbox.d.mts.map
@@ -1 +1 @@
1
- "use client";import{t as e}from"../checkbox-dDSDiwLB.mjs";export{e as Checkbox};
1
+ "use client";import{t as e}from"../checkbox-Bwy_4QS_.mjs";export{e as Checkbox};
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime220 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime86 from "react/jsx-runtime";
2
2
  import { Collapsible as Collapsible$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/collapsible.d.ts
@@ -20,15 +20,15 @@ import { Collapsible as Collapsible$1 } from "radix-ui";
20
20
  */
21
21
  declare function Collapsible({
22
22
  ...props
23
- }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime220.JSX.Element;
23
+ }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime86.JSX.Element;
24
24
  /** Button or element that expands or collapses the CollapsibleContent. */
25
25
  declare function CollapsibleTrigger({
26
26
  ...props
27
- }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime220.JSX.Element;
27
+ }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime86.JSX.Element;
28
28
  /** The section that is shown or hidden based on the Collapsible open state. */
29
29
  declare function CollapsibleContent({
30
30
  ...props
31
- }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime220.JSX.Element;
31
+ }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime86.JSX.Element;
32
32
  //#endregion
33
33
  export { Collapsible, CollapsibleContent, CollapsibleTrigger };
34
34
  //# sourceMappingURL=collapsible.d.cts.map