@customafk/lunas-ui 0.2.16 → 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 (339) 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 +11 -1
  332. package/styles/text-editor.css +140 -0
  333. package/dist/tables-CRT-VlLK.cjs.map +0 -1
  334. package/dist/tables-DTYYTJSQ.mjs +0 -4
  335. package/dist/tables-DTYYTJSQ.mjs.map +0 -1
  336. package/dist/tanstack-form-BUjk7DIz.cjs +0 -2
  337. package/dist/tanstack-form-BUjk7DIz.cjs.map +0 -1
  338. package/dist/tanstack-form-DtZdrifK.mjs +0 -2
  339. package/dist/tanstack-form-DtZdrifK.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime95 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime233 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types2 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/empty.d.ts
6
6
 
@@ -29,15 +29,15 @@ import * as class_variance_authority_types2 from "class-variance-authority/types
29
29
  declare function Empty({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react_jsx_runtime95.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
33
33
  /** Centred column container for the media, title, and description of an empty state. */
34
34
  declare function EmptyHeader({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<'div'>): react_jsx_runtime95.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
40
+ } & class_variance_authority_types10.ClassProp) | undefined) => string;
41
41
  /**
42
42
  * Container for the visual element (illustration, icon, or image) in an empty state.
43
43
  *
@@ -47,22 +47,22 @@ declare function EmptyMedia({
47
47
  className,
48
48
  variant,
49
49
  ...props
50
- }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime95.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime233.JSX.Element;
51
51
  /** Prominent heading text for the empty state. */
52
52
  declare function EmptyTitle({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime95.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
56
56
  /** Supporting body text that explains the empty state to the user. */
57
57
  declare function EmptyDescription({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'p'>): react_jsx_runtime95.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react_jsx_runtime233.JSX.Element;
61
61
  /** Action area below the header — typically holds buttons or links to help the user proceed. */
62
62
  declare function EmptyContent({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react_jsx_runtime95.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react_jsx_runtime233.JSX.Element;
66
66
  //#endregion
67
67
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
68
68
  //# sourceMappingURL=empty.d.mts.map
package/dist/ui/field.cjs CHANGED
@@ -1 +1 @@
1
- "use client";require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const e=require(`../field-D1wvj5Wj.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
1
+ "use client";require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const e=require(`../field-enVJXFvC.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
@@ -1,57 +1,57 @@
1
1
  import { Label } from "./label.cjs";
2
- import * as react_jsx_runtime159 from "react/jsx-runtime";
3
- import * as class_variance_authority_types5 from "class-variance-authority/types";
4
- import * as react4 from "react";
2
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
3
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
4
+ import * as react0 from "react";
5
5
  import { VariantProps } from "class-variance-authority";
6
6
 
7
7
  //#region packages/components/ui/field.d.ts
8
- declare const FieldSet: react4.MemoExoticComponent<({
8
+ declare const FieldSet: react0.MemoExoticComponent<({
9
9
  className,
10
10
  ...props
11
- }: React.ComponentProps<"fieldset">) => react_jsx_runtime159.JSX.Element>;
12
- declare const FieldLegend: react4.MemoExoticComponent<({
11
+ }: React.ComponentProps<"fieldset">) => react_jsx_runtime44.JSX.Element>;
12
+ declare const FieldLegend: react0.MemoExoticComponent<({
13
13
  className,
14
14
  variant,
15
15
  ...props
16
16
  }: React.ComponentProps<"legend"> & {
17
17
  variant?: "legend" | "label";
18
- }) => react_jsx_runtime159.JSX.Element>;
19
- declare const FieldGroup: react4.MemoExoticComponent<({
18
+ }) => react_jsx_runtime44.JSX.Element>;
19
+ declare const FieldGroup: react0.MemoExoticComponent<({
20
20
  className,
21
21
  ...props
22
- }: React.ComponentProps<"div">) => react_jsx_runtime159.JSX.Element>;
22
+ }: React.ComponentProps<"div">) => react_jsx_runtime44.JSX.Element>;
23
23
  declare const fieldVariants: (props?: ({
24
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
25
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
26
- declare const Field: react4.MemoExoticComponent<({
24
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
25
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
26
+ declare const Field: react0.MemoExoticComponent<({
27
27
  className,
28
28
  orientation,
29
29
  ...props
30
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime159.JSX.Element>;
31
- declare const FieldContent: react4.MemoExoticComponent<({
30
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime44.JSX.Element>;
31
+ declare const FieldContent: react0.MemoExoticComponent<({
32
32
  className,
33
33
  ...props
34
- }: React.ComponentProps<"div">) => react_jsx_runtime159.JSX.Element>;
35
- declare const FieldLabel: react4.MemoExoticComponent<({
34
+ }: React.ComponentProps<"div">) => react_jsx_runtime44.JSX.Element>;
35
+ declare const FieldLabel: react0.MemoExoticComponent<({
36
36
  className,
37
37
  ...props
38
- }: React.ComponentProps<typeof Label>) => react_jsx_runtime159.JSX.Element>;
39
- declare const FieldTitle: react4.MemoExoticComponent<({
38
+ }: React.ComponentProps<typeof Label>) => react_jsx_runtime44.JSX.Element>;
39
+ declare const FieldTitle: react0.MemoExoticComponent<({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<"div">) => react_jsx_runtime159.JSX.Element>;
43
- declare const FieldDescription: react4.MemoExoticComponent<({
42
+ }: React.ComponentProps<"div">) => react_jsx_runtime44.JSX.Element>;
43
+ declare const FieldDescription: react0.MemoExoticComponent<({
44
44
  className,
45
45
  ...props
46
- }: React.ComponentProps<"p">) => react_jsx_runtime159.JSX.Element>;
47
- declare const FieldSeparator: react4.MemoExoticComponent<({
46
+ }: React.ComponentProps<"p">) => react_jsx_runtime44.JSX.Element>;
47
+ declare const FieldSeparator: react0.MemoExoticComponent<({
48
48
  children,
49
49
  className,
50
50
  ...props
51
51
  }: React.ComponentProps<"div"> & {
52
52
  children?: React.ReactNode;
53
- }) => react_jsx_runtime159.JSX.Element>;
54
- declare const FieldError: react4.MemoExoticComponent<({
53
+ }) => react_jsx_runtime44.JSX.Element>;
54
+ declare const FieldError: react0.MemoExoticComponent<({
55
55
  className,
56
56
  children,
57
57
  errors,
@@ -60,7 +60,7 @@ declare const FieldError: react4.MemoExoticComponent<({
60
60
  errors?: Array<{
61
61
  message?: string;
62
62
  } | undefined>;
63
- }) => react_jsx_runtime159.JSX.Element | null>;
63
+ }) => react_jsx_runtime44.JSX.Element | null>;
64
64
  //#endregion
65
65
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
66
66
  //# sourceMappingURL=field.d.cts.map
@@ -1,57 +1,57 @@
1
1
  import { Label } from "./label.mjs";
2
- import * as react4 from "react";
3
- import * as react_jsx_runtime138 from "react/jsx-runtime";
2
+ import * as react16 from "react";
3
+ import * as react_jsx_runtime207 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
- import * as class_variance_authority_types5 from "class-variance-authority/types";
5
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
6
6
 
7
7
  //#region packages/components/ui/field.d.ts
8
- declare const FieldSet: react4.MemoExoticComponent<({
8
+ declare const FieldSet: react16.MemoExoticComponent<({
9
9
  className,
10
10
  ...props
11
- }: React.ComponentProps<"fieldset">) => react_jsx_runtime138.JSX.Element>;
12
- declare const FieldLegend: react4.MemoExoticComponent<({
11
+ }: React.ComponentProps<"fieldset">) => react_jsx_runtime207.JSX.Element>;
12
+ declare const FieldLegend: react16.MemoExoticComponent<({
13
13
  className,
14
14
  variant,
15
15
  ...props
16
16
  }: React.ComponentProps<"legend"> & {
17
17
  variant?: "legend" | "label";
18
- }) => react_jsx_runtime138.JSX.Element>;
19
- declare const FieldGroup: react4.MemoExoticComponent<({
18
+ }) => react_jsx_runtime207.JSX.Element>;
19
+ declare const FieldGroup: react16.MemoExoticComponent<({
20
20
  className,
21
21
  ...props
22
- }: React.ComponentProps<"div">) => react_jsx_runtime138.JSX.Element>;
22
+ }: React.ComponentProps<"div">) => react_jsx_runtime207.JSX.Element>;
23
23
  declare const fieldVariants: (props?: ({
24
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
25
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
26
- declare const Field: react4.MemoExoticComponent<({
24
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
25
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
26
+ declare const Field: react16.MemoExoticComponent<({
27
27
  className,
28
28
  orientation,
29
29
  ...props
30
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime138.JSX.Element>;
31
- declare const FieldContent: react4.MemoExoticComponent<({
30
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime207.JSX.Element>;
31
+ declare const FieldContent: react16.MemoExoticComponent<({
32
32
  className,
33
33
  ...props
34
- }: React.ComponentProps<"div">) => react_jsx_runtime138.JSX.Element>;
35
- declare const FieldLabel: react4.MemoExoticComponent<({
34
+ }: React.ComponentProps<"div">) => react_jsx_runtime207.JSX.Element>;
35
+ declare const FieldLabel: react16.MemoExoticComponent<({
36
36
  className,
37
37
  ...props
38
- }: React.ComponentProps<typeof Label>) => react_jsx_runtime138.JSX.Element>;
39
- declare const FieldTitle: react4.MemoExoticComponent<({
38
+ }: React.ComponentProps<typeof Label>) => react_jsx_runtime207.JSX.Element>;
39
+ declare const FieldTitle: react16.MemoExoticComponent<({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<"div">) => react_jsx_runtime138.JSX.Element>;
43
- declare const FieldDescription: react4.MemoExoticComponent<({
42
+ }: React.ComponentProps<"div">) => react_jsx_runtime207.JSX.Element>;
43
+ declare const FieldDescription: react16.MemoExoticComponent<({
44
44
  className,
45
45
  ...props
46
- }: React.ComponentProps<"p">) => react_jsx_runtime138.JSX.Element>;
47
- declare const FieldSeparator: react4.MemoExoticComponent<({
46
+ }: React.ComponentProps<"p">) => react_jsx_runtime207.JSX.Element>;
47
+ declare const FieldSeparator: react16.MemoExoticComponent<({
48
48
  children,
49
49
  className,
50
50
  ...props
51
51
  }: React.ComponentProps<"div"> & {
52
52
  children?: React.ReactNode;
53
- }) => react_jsx_runtime138.JSX.Element>;
54
- declare const FieldError: react4.MemoExoticComponent<({
53
+ }) => react_jsx_runtime207.JSX.Element>;
54
+ declare const FieldError: react16.MemoExoticComponent<({
55
55
  className,
56
56
  children,
57
57
  errors,
@@ -60,7 +60,7 @@ declare const FieldError: react4.MemoExoticComponent<({
60
60
  errors?: Array<{
61
61
  message?: string;
62
62
  } | undefined>;
63
- }) => react_jsx_runtime138.JSX.Element | null>;
63
+ }) => react_jsx_runtime207.JSX.Element | null>;
64
64
  //#endregion
65
65
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
66
66
  //# sourceMappingURL=field.d.mts.map
package/dist/ui/field.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import"../separator-BMsbHAVt.mjs";import"../label-COqDQDMy.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-C5HOxxiX.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
1
+ "use client";import"../separator-DVI2h_rd.mjs";import"../label-BC2u42kJ.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-DaZocB_E.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime36 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime127 from "react/jsx-runtime";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react_jsx_runtime36.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react_jsx_runtime127.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime137 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime123 from "react/jsx-runtime";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react_jsx_runtime137.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react_jsx_runtime123.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.mts.map
@@ -1,3 +1,3 @@
1
- "use client";import"../button.variants-DeCyas1F.mjs";import{t as e}from"../button-C6ybzxxj.mjs";import{t}from"../progress-0cpDwgAJ.mjs";import{FileText as n,Image as r,Trash2 as i,Upload as a}from"lucide-react";import{useCallback as o,useEffect as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import{cn as u,formatBytes as d}from"@customafk/react-toolkit/utils";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:n,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:n}),A=o((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),n?.(t)}s(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return l(`div`,{className:`relative flex w-full flex-col gap-6`,children:[c(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>l(`div`,{...e(),className:u(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[c(`input`,{...t()}),n?l(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[c(`div`,{className:`rounded-full border border-dashed p-3`,children:c(a,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),c(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):l(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[c(`div`,{className:`rounded-full border border-dashed p-3`,children:c(a,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&l(`div`,{className:`flex flex-col gap-px`,children:[l(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),l(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
1
+ "use client";import"../button.variants-B8KCLWPT.mjs";import{t as e}from"../button-DPABon17.mjs";import{t}from"../progress-CgQ13rSf.mjs";import{FileText as n,Image as r,Trash2 as i,Upload as a}from"lucide-react";import{useCallback as o,useEffect as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import{cn as u,formatBytes as d}from"@customafk/react-toolkit/utils";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:n,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:n}),A=o((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),n?.(t)}s(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return l(`div`,{className:`relative flex w-full flex-col gap-6`,children:[c(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>l(`div`,{...e(),className:u(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[c(`input`,{...t()}),n?l(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[c(`div`,{className:`rounded-full border border-dashed p-3`,children:c(a,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),c(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):l(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[c(`div`,{className:`rounded-full border border-dashed p-3`,children:c(a,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&l(`div`,{className:`flex flex-col gap-px`,children:[l(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),l(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
2
2
  files (up to ${d(b)} each)`:` a file with ${d(b)}`]})]})]})]})}),O?.length?l(`div`,{className:`h-fit w-full overflow-y-auto`,children:[l(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[l(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[c(r,{size:16,"aria-hidden":`true`}),l(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,O.length,`)`]})]}),l(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{O&&(O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)}),k([]),n?.([]))},children:[c(i,{size:16,"aria-hidden":`true`}),c(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),c(`div`,{className:`flex flex-col gap-2.5`,children:O?.map((e,t)=>c(g,{file:e,onRemove:()=>j(t),progress:v?.[e.name]},t))})]}):null]})}function g({file:n,progress:r,onRemove:a}){return l(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[l(`div`,{className:`flex flex-1 gap-2.5`,children:[_(n)?c(v,{file:n}):null,l(`div`,{className:`flex w-full flex-col gap-2`,children:[l(`div`,{className:`flex flex-col gap-y-0.5`,children:[c(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:n.name}),c(`p`,{className:`text-text-positive-muted text-xs`,children:d(n.size)})]}),r?c(t,{value:r}):null]})]}),c(`div`,{className:`flex items-center gap-2`,children:l(e,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:a,children:[c(i,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),c(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function _(e){return`preview`in e&&typeof e.preview==`string`}function v({file:e}){return e.type.startsWith(`image/`)?c(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):c(n,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{h as FileUploader};
3
3
  //# sourceMappingURL=file-uploader.mjs.map
package/dist/ui/form.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const t=require(`../field-D1wvj5Wj.cjs`);let n=require(`react`),r=require(`react/jsx-runtime`),i=require(`@customafk/react-toolkit/utils`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,r.jsx)(c.Provider,{value:{name:e.name},children:(0,r.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:i=`responsive`,...a})=>{let o=(0,n.useId)();return(0,r.jsx)(d.Provider,{value:{id:o},children:(0,r.jsx)(t.t,{orientation:i,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,r.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:i,formMessageId:o}=u();return(0,r.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${i} ${o}`:`${i}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,r.jsx)(t.r,{id:a,className:(0,i.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,r.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,i.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const t=require(`../field-enVJXFvC.cjs`);let n=require(`react`),r=require(`react/jsx-runtime`),i=require(`@customafk/react-toolkit/utils`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,r.jsx)(c.Provider,{value:{name:e.name},children:(0,r.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:i=`responsive`,...a})=>{let o=(0,n.useId)();return(0,r.jsx)(d.Provider,{value:{id:o},children:(0,r.jsx)(t.t,{orientation:i,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,r.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:i,formMessageId:o}=u();return(0,r.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${i} ${o}`:`${i}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,r.jsx)(t.r,{id:a,className:(0,i.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,r.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,i.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
2
2
  //# sourceMappingURL=form.cjs.map
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime44 from "react/jsx-runtime";
2
- import * as react1 from "react";
1
+ import * as react_jsx_runtime193 from "react/jsx-runtime";
2
+ import * as react21 from "react";
3
3
  import { Label, Slot } from "radix-ui";
4
4
  import * as react_hook_form0 from "react-hook-form";
5
5
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -39,7 +39,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
39
39
  */
40
40
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
41
41
  ...props
42
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime44.JSX.Element;
42
+ }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime193.JSX.Element;
43
43
  /**
44
44
  * Hook that returns the field state and IDs for the enclosing FormField.
45
45
  * Must be called inside a component rendered within a `<FormField>`.
@@ -63,32 +63,32 @@ declare const useFormField: () => {
63
63
  *
64
64
  * @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
65
65
  */
66
- declare const FormItem: react1.MemoExoticComponent<({
66
+ declare const FormItem: react21.MemoExoticComponent<({
67
67
  className,
68
68
  orientation,
69
69
  ...props
70
70
  }: React.ComponentProps<"div"> & {
71
71
  orientation?: "vertical" | "horizontal" | "responsive";
72
- }) => react_jsx_runtime44.JSX.Element>;
72
+ }) => react_jsx_runtime193.JSX.Element>;
73
73
  /** Styled label automatically associated with the FormItem's control via `htmlFor`. */
74
- declare const FormLabel: react1.MemoExoticComponent<({
74
+ declare const FormLabel: react21.MemoExoticComponent<({
75
75
  ...props
76
- }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime44.JSX.Element>;
76
+ }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime193.JSX.Element>;
77
77
  /** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
78
- declare const FormControl: react1.MemoExoticComponent<({
78
+ declare const FormControl: react21.MemoExoticComponent<({
79
79
  ...props
80
- }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime44.JSX.Element>;
80
+ }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime193.JSX.Element>;
81
81
  /** Helper text displayed below the control that provides additional context about the field. */
82
82
  declare function FormDescription({
83
83
  className,
84
84
  ...props
85
- }: React.ComponentProps<'p'>): react_jsx_runtime44.JSX.Element;
85
+ }: React.ComponentProps<'p'>): react_jsx_runtime193.JSX.Element;
86
86
  /** Displays the validation error message for the field, or falls back to `children` when there is no error. */
87
87
  declare function FormMessage({
88
88
  className,
89
89
  children,
90
90
  ...props
91
- }: React.ComponentProps<'p'>): react_jsx_runtime44.JSX.Element;
91
+ }: React.ComponentProps<'p'>): react_jsx_runtime193.JSX.Element;
92
92
  //#endregion
93
93
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
94
94
  //# sourceMappingURL=form.d.cts.map
@@ -1,5 +1,5 @@
1
1
  import * as react1 from "react";
2
- import * as react_jsx_runtime102 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime127 from "react/jsx-runtime";
3
3
  import { Label, Slot } from "radix-ui";
4
4
  import * as react_hook_form0 from "react-hook-form";
5
5
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -39,7 +39,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
39
39
  */
40
40
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
41
41
  ...props
42
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime102.JSX.Element;
42
+ }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime127.JSX.Element;
43
43
  /**
44
44
  * Hook that returns the field state and IDs for the enclosing FormField.
45
45
  * Must be called inside a component rendered within a `<FormField>`.
@@ -69,26 +69,26 @@ declare const FormItem: react1.MemoExoticComponent<({
69
69
  ...props
70
70
  }: React.ComponentProps<"div"> & {
71
71
  orientation?: "vertical" | "horizontal" | "responsive";
72
- }) => react_jsx_runtime102.JSX.Element>;
72
+ }) => react_jsx_runtime127.JSX.Element>;
73
73
  /** Styled label automatically associated with the FormItem's control via `htmlFor`. */
74
74
  declare const FormLabel: react1.MemoExoticComponent<({
75
75
  ...props
76
- }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime102.JSX.Element>;
76
+ }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime127.JSX.Element>;
77
77
  /** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
78
78
  declare const FormControl: react1.MemoExoticComponent<({
79
79
  ...props
80
- }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime102.JSX.Element>;
80
+ }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime127.JSX.Element>;
81
81
  /** Helper text displayed below the control that provides additional context about the field. */
82
82
  declare function FormDescription({
83
83
  className,
84
84
  ...props
85
- }: React.ComponentProps<'p'>): react_jsx_runtime102.JSX.Element;
85
+ }: React.ComponentProps<'p'>): react_jsx_runtime127.JSX.Element;
86
86
  /** Displays the validation error message for the field, or falls back to `children` when there is no error. */
87
87
  declare function FormMessage({
88
88
  className,
89
89
  children,
90
90
  ...props
91
- }: React.ComponentProps<'p'>): react_jsx_runtime102.JSX.Element;
91
+ }: React.ComponentProps<'p'>): react_jsx_runtime127.JSX.Element;
92
92
  //#endregion
93
93
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
94
94
  //# sourceMappingURL=form.d.mts.map
package/dist/ui/form.mjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";import"../separator-BMsbHAVt.mjs";import"../label-COqDQDMy.mjs";import{o as e,r as t,t as n}from"../field-C5HOxxiX.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{jsx as s}from"react/jsx-runtime";import{cn as c}from"@customafk/react-toolkit/utils";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>s(h.Provider,{value:{name:e.name},children:s(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return s(v.Provider,{value:{id:i},children:s(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return s(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return s(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return s(t,{id:r,className:c(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return s(`span`,{"data-slot":`form-message`,id:i,className:c(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
1
+ "use client";import"../separator-DVI2h_rd.mjs";import"../label-BC2u42kJ.mjs";import{o as e,r as t,t as n}from"../field-DaZocB_E.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{jsx as s}from"react/jsx-runtime";import{cn as c}from"@customafk/react-toolkit/utils";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>s(h.Provider,{value:{name:e.name},children:s(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return s(v.Provider,{value:{id:i},children:s(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return s(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return s(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return s(t,{id:r,className:c(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return s(`span`,{"data-slot":`form-message`,id:i,className:c(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
2
2
  //# sourceMappingURL=form.mjs.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime77 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime199 from "react/jsx-runtime";
2
2
  import { HoverCard as HoverCard$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/hover-card.d.ts
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
20
20
  */
21
21
  declare function HoverCard({
22
22
  ...props
23
- }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime77.JSX.Element;
23
+ }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime199.JSX.Element;
24
24
  /** The element that triggers the HoverCard on pointer enter. */
25
25
  declare function HoverCardTrigger({
26
26
  ...props
27
- }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime77.JSX.Element;
27
+ }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime199.JSX.Element;
28
28
  /** The floating card panel displayed when the trigger is hovered. */
29
29
  declare function HoverCardContent({
30
30
  className,
31
31
  align,
32
32
  sideOffset,
33
33
  ...props
34
- }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime77.JSX.Element;
34
+ }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime199.JSX.Element;
35
35
  //#endregion
36
36
  export { HoverCard, HoverCardContent, HoverCardTrigger };
37
37
  //# sourceMappingURL=hover-card.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime124 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime273 from "react/jsx-runtime";
2
2
  import { HoverCard as HoverCard$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/hover-card.d.ts
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
20
20
  */
21
21
  declare function HoverCard({
22
22
  ...props
23
- }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime124.JSX.Element;
23
+ }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime273.JSX.Element;
24
24
  /** The element that triggers the HoverCard on pointer enter. */
25
25
  declare function HoverCardTrigger({
26
26
  ...props
27
- }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime124.JSX.Element;
27
+ }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime273.JSX.Element;
28
28
  /** The floating card panel displayed when the trigger is hovered. */
29
29
  declare function HoverCardContent({
30
30
  className,
31
31
  align,
32
32
  sideOffset,
33
33
  ...props
34
- }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime124.JSX.Element;
34
+ }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime273.JSX.Element;
35
35
  //#endregion
36
36
  export { HoverCard, HoverCardContent, HoverCardTrigger };
37
37
  //# sourceMappingURL=hover-card.d.mts.map
package/dist/ui/image.mjs CHANGED
@@ -1 +1 @@
1
- import"../skeleton-BPxcW2yu.mjs";import{t as e}from"../image-BlzrSaoE.mjs";export{e as Image};
1
+ import"../skeleton-CZVkWN4p.mjs";import{t as e}from"../image-WRAFECmc.mjs";export{e as Image};
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime283 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime73 from "react/jsx-runtime";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -32,12 +32,12 @@ declare function InputOTP({
32
32
  }: React.ComponentProps<typeof OTPInput> & {
33
33
  /** Class name applied to the outer container div. */
34
34
  containerClassName?: string;
35
- }): react_jsx_runtime283.JSX.Element;
35
+ }): react_jsx_runtime73.JSX.Element;
36
36
  /** Flex container that groups a sequence of InputOTPSlot elements. */
37
37
  declare function InputOTPGroup({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react_jsx_runtime283.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react_jsx_runtime73.JSX.Element;
41
41
  /**
42
42
  * A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
43
43
  *
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
49
49
  ...props
50
50
  }: React.ComponentProps<'div'> & {
51
51
  index: number;
52
- }): react_jsx_runtime283.JSX.Element;
52
+ }): react_jsx_runtime73.JSX.Element;
53
53
  /** Visual separator (dash) placed between InputOTPGroup elements. */
54
54
  declare function InputOTPSeparator({
55
55
  ...props
56
- }: React.ComponentProps<'div'>): react_jsx_runtime283.JSX.Element;
56
+ }: React.ComponentProps<'div'>): react_jsx_runtime73.JSX.Element;
57
57
  //#endregion
58
58
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
59
59
  //# sourceMappingURL=input-otp.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime191 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -32,12 +32,12 @@ declare function InputOTP({
32
32
  }: React.ComponentProps<typeof OTPInput> & {
33
33
  /** Class name applied to the outer container div. */
34
34
  containerClassName?: string;
35
- }): react_jsx_runtime191.JSX.Element;
35
+ }): react_jsx_runtime32.JSX.Element;
36
36
  /** Flex container that groups a sequence of InputOTPSlot elements. */
37
37
  declare function InputOTPGroup({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react_jsx_runtime191.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
41
41
  /**
42
42
  * A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
43
43
  *
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
49
49
  ...props
50
50
  }: React.ComponentProps<'div'> & {
51
51
  index: number;
52
- }): react_jsx_runtime191.JSX.Element;
52
+ }): react_jsx_runtime32.JSX.Element;
53
53
  /** Visual separator (dash) placed between InputOTPGroup elements. */
54
54
  declare function InputOTPSeparator({
55
55
  ...props
56
- }: React.ComponentProps<'div'>): react_jsx_runtime191.JSX.Element;
56
+ }: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
57
57
  //#endregion
58
58
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
59
59
  //# sourceMappingURL=input-otp.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-BMJ08G0t.cjs";
1
+ import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-CsTijTsW.cjs";
2
2
  export { Input, InputVariantProps, inputVariants };
@@ -1,2 +1,2 @@
1
- import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-CKmihxje.mjs";
1
+ import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-BFD3ecVI.mjs";
2
2
  export { Input, InputVariantProps, inputVariants };
package/dist/ui/input.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{n as e,t}from"../input-6f9JTc79.mjs";export{t as Input,e as inputVariants};
1
+ "use client";import{n as e,t}from"../input-BTm2GrZP.mjs";export{t as Input,e as inputVariants};
@@ -1,5 +1,5 @@
1
- import { t as Input } from "../../input-BMJ08G0t.cjs";
2
- import * as react_jsx_runtime250 from "react/jsx-runtime";
1
+ import { t as Input } from "../../input-CsTijTsW.cjs";
2
+ import * as react_jsx_runtime149 from "react/jsx-runtime";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
5
5
 
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
23
23
  declare const SearchInput: ({
24
24
  className,
25
25
  ...rest
26
- }: Props) => react_jsx_runtime250.JSX.Element;
26
+ }: Props) => react_jsx_runtime149.JSX.Element;
27
27
  //#endregion
28
28
  export { SearchInput };
29
29
  //# sourceMappingURL=search-input.d.cts.map
@@ -1,5 +1,5 @@
1
- import { t as Input } from "../../input-CKmihxje.mjs";
2
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import { t as Input } from "../../input-BFD3ecVI.mjs";
2
+ import * as react_jsx_runtime164 from "react/jsx-runtime";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
5
5
 
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
23
23
  declare const SearchInput: ({
24
24
  className,
25
25
  ...rest
26
- }: Props) => react_jsx_runtime28.JSX.Element;
26
+ }: Props) => react_jsx_runtime164.JSX.Element;
27
27
  //#endregion
28
28
  export { SearchInput };
29
29
  //# sourceMappingURL=search-input.d.mts.map