@customafk/lunas-ui 0.2.37 → 0.2.39

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 (1037) hide show
  1. package/dist/alert-B2PaDJp6.cjs +2 -0
  2. package/dist/alert-B2PaDJp6.cjs.map +1 -0
  3. package/dist/alert-BzBDfGk2.js +2 -0
  4. package/dist/alert-BzBDfGk2.js.map +1 -0
  5. package/dist/alert-CNFuxKp7.d.cts +88 -0
  6. package/dist/alert-DOpQdSIC.d.ts +88 -0
  7. package/dist/avatar-Hpj8lmux.js +2 -0
  8. package/dist/avatar-Hpj8lmux.js.map +1 -0
  9. package/dist/avatar-TyOphzGo.cjs +2 -0
  10. package/dist/avatar-TyOphzGo.cjs.map +1 -0
  11. package/dist/badge-CRpRXSuO.js +2 -0
  12. package/dist/badge-CRpRXSuO.js.map +1 -0
  13. package/dist/badge-D4c9IlYD.d.cts +42 -0
  14. package/dist/badge-DowUoI6w.d.ts +42 -0
  15. package/dist/badge-KW7xu5Ca.cjs +2 -0
  16. package/dist/badge-KW7xu5Ca.cjs.map +1 -0
  17. package/dist/button-C--DAN1D.cjs +2 -0
  18. package/dist/button-C--DAN1D.cjs.map +1 -0
  19. package/dist/button-D4YMSwqK.d.ts +174 -0
  20. package/dist/button-IMi0bEY_.d.cts +174 -0
  21. package/dist/button-LMMbL-uH.js +2 -0
  22. package/dist/button-LMMbL-uH.js.map +1 -0
  23. package/dist/button.variants-4kw6plrv.cjs +2 -0
  24. package/dist/button.variants-4kw6plrv.cjs.map +1 -0
  25. package/dist/button.variants-CoSpd71B.js +2 -0
  26. package/dist/button.variants-CoSpd71B.js.map +1 -0
  27. package/dist/calendar-4weBDnXz.cjs +2 -0
  28. package/dist/calendar-4weBDnXz.cjs.map +1 -0
  29. package/dist/calendar-DzPt7b6k.js +2 -0
  30. package/dist/calendar-DzPt7b6k.js.map +1 -0
  31. package/dist/cards/grid-product-card.cjs +1 -1
  32. package/dist/cards/grid-product-card.d.ts +37 -0
  33. package/dist/cards/grid-product-card.js +2 -0
  34. package/dist/cards/grid-product-card.js.map +1 -0
  35. package/dist/cards/product-card.cjs +1 -1
  36. package/dist/cards/product-card.d.ts +37 -0
  37. package/dist/cards/product-card.js +2 -0
  38. package/dist/cards/product-card.js.map +1 -0
  39. package/dist/cards/simple-card.cjs +1 -1
  40. package/dist/cards/simple-card.d.ts +35 -0
  41. package/dist/cards/simple-card.js +2 -0
  42. package/dist/cards/simple-card.js.map +1 -0
  43. package/dist/checkbox-DLGDoU-1.js +2 -0
  44. package/dist/checkbox-DLGDoU-1.js.map +1 -0
  45. package/dist/checkbox-Dsq-MSbH.cjs +2 -0
  46. package/dist/checkbox-Dsq-MSbH.cjs.map +1 -0
  47. package/dist/chunk-350yNsax.cjs +1 -0
  48. package/dist/close-C0PdZGxr.js +2 -0
  49. package/dist/close-C0PdZGxr.js.map +1 -0
  50. package/dist/close-Dlo1bI8x.cjs +2 -0
  51. package/dist/close-Dlo1bI8x.cjs.map +1 -0
  52. package/dist/cms-layout-BCH4NroR.cjs +2 -0
  53. package/dist/cms-layout-BCH4NroR.cjs.map +1 -0
  54. package/dist/cms-layout-tPwrgJZc.js +2 -0
  55. package/dist/cms-layout-tPwrgJZc.js.map +1 -0
  56. package/dist/command-2gUejA6g.js +2 -0
  57. package/dist/command-2gUejA6g.js.map +1 -0
  58. package/dist/command-CsP8a1Un.cjs +2 -0
  59. package/dist/command-CsP8a1Un.cjs.map +1 -0
  60. package/dist/data-display/country.cjs +1 -1
  61. package/dist/data-display/country.d.ts +22 -0
  62. package/dist/data-display/country.js +2 -0
  63. package/dist/data-display/country.js.map +1 -0
  64. package/dist/data-display/data-list.cjs +1 -1
  65. package/dist/data-display/data-list.d.ts +43 -0
  66. package/dist/data-display/data-list.js +2 -0
  67. package/dist/data-display/data-list.js.map +1 -0
  68. package/dist/data-display/date-tooltip.cjs +1 -1
  69. package/dist/data-display/date-tooltip.d.ts +19 -0
  70. package/dist/data-display/date-tooltip.js +2 -0
  71. package/dist/data-display/date-tooltip.js.map +1 -0
  72. package/dist/data-display/date.cjs +1 -1
  73. package/dist/data-display/date.d.ts +39 -0
  74. package/dist/data-display/date.js +1 -0
  75. package/dist/data-display/empty.cjs +1 -1
  76. package/dist/data-display/empty.d.ts +21 -0
  77. package/dist/data-display/empty.js +2 -0
  78. package/dist/data-display/empty.js.map +1 -0
  79. package/dist/data-display/name.cjs +1 -1
  80. package/dist/data-display/name.d.ts +19 -0
  81. package/dist/data-display/name.js +2 -0
  82. package/dist/data-display/name.js.map +1 -0
  83. package/dist/data-display/phone-number.cjs +1 -1
  84. package/dist/data-display/phone-number.d.ts +19 -0
  85. package/dist/data-display/phone-number.js +2 -0
  86. package/dist/data-display/phone-number.js.map +1 -0
  87. package/dist/data-display/role-badge.cjs +1 -1
  88. package/dist/data-display/role-badge.d.ts +22 -0
  89. package/dist/data-display/role-badge.js +2 -0
  90. package/dist/data-display/role-badge.js.map +1 -0
  91. package/dist/data-display/statistic.cjs +1 -1
  92. package/dist/data-display/statistic.d.cts +3 -3
  93. package/dist/data-display/statistic.d.ts +57 -0
  94. package/dist/data-display/statistic.js +1 -0
  95. package/dist/data-display/user.cjs +1 -1
  96. package/dist/data-display/user.d.ts +23 -0
  97. package/dist/data-display/user.js +1 -0
  98. package/dist/date-BIqCFM1Z.js +2 -0
  99. package/dist/date-BIqCFM1Z.js.map +1 -0
  100. package/dist/date-D4NVl6C9.cjs +2 -0
  101. package/dist/date-D4NVl6C9.cjs.map +1 -0
  102. package/dist/dialog-AcOtFuF4.d.ts +90 -0
  103. package/dist/dialog-BLjShZci.d.cts +90 -0
  104. package/dist/dialog-BigPrWIj.cjs +2 -0
  105. package/dist/dialog-BigPrWIj.cjs.map +1 -0
  106. package/dist/dialog-CmutQ3rp.js +2 -0
  107. package/dist/dialog-CmutQ3rp.js.map +1 -0
  108. package/dist/dialogs/confirm-dialog.cjs +1 -1
  109. package/dist/dialogs/confirm-dialog.d.ts +142 -0
  110. package/dist/dialogs/confirm-dialog.js +2 -0
  111. package/dist/dialogs/confirm-dialog.js.map +1 -0
  112. package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
  113. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
  114. package/dist/dialogs/detail-dialog/components/sidebar.d.ts +209 -0
  115. package/dist/dialogs/detail-dialog/components/sidebar.js +1 -0
  116. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  117. package/dist/dialogs/detail-dialog/index.d.ts +45 -0
  118. package/dist/dialogs/detail-dialog/index.js +2 -0
  119. package/dist/dialogs/detail-dialog/index.js.map +1 -0
  120. package/dist/dialogs/error-dialog.cjs +1 -1
  121. package/dist/dialogs/error-dialog.d.ts +25 -0
  122. package/dist/dialogs/error-dialog.js +2 -0
  123. package/dist/dialogs/error-dialog.js.map +1 -0
  124. package/dist/dialogs/loading-dialog.cjs +1 -1
  125. package/dist/dialogs/loading-dialog.d.ts +21 -0
  126. package/dist/dialogs/loading-dialog.js +2 -0
  127. package/dist/dialogs/loading-dialog.js.map +1 -0
  128. package/dist/dist-Cx5ufCdr.cjs +2 -0
  129. package/dist/dist-Cx5ufCdr.cjs.map +1 -0
  130. package/dist/dist-EPxjIRJp.js +2 -0
  131. package/dist/dist-EPxjIRJp.js.map +1 -0
  132. package/dist/drawer-B3qXaN5p.js +2 -0
  133. package/dist/drawer-B3qXaN5p.js.map +1 -0
  134. package/dist/drawer-BB8BZzDG.cjs +2 -0
  135. package/dist/drawer-BB8BZzDG.cjs.map +1 -0
  136. package/dist/dropdown-menu-CVh520yG.cjs +2 -0
  137. package/dist/dropdown-menu-CVh520yG.cjs.map +1 -0
  138. package/dist/dropdown-menu-DeHCVyby.js +2 -0
  139. package/dist/dropdown-menu-DeHCVyby.js.map +1 -0
  140. package/dist/features/descriptions/index.cjs +1 -1
  141. package/dist/features/descriptions/index.cjs.map +1 -1
  142. package/dist/features/descriptions/index.d.cts +1 -1
  143. package/dist/features/descriptions/index.d.ts +246 -0
  144. package/dist/features/descriptions/index.js +2 -0
  145. package/dist/features/descriptions/index.js.map +1 -0
  146. package/dist/features/search-modal/index.cjs +1 -1
  147. package/dist/features/search-modal/index.d.cts +2 -2
  148. package/dist/features/search-modal/index.d.ts +17 -0
  149. package/dist/features/search-modal/index.js +1 -0
  150. package/dist/features/tables/index.cjs +1 -1
  151. package/dist/features/tables/index.d.cts +2 -2
  152. package/dist/features/tables/index.d.ts +3 -0
  153. package/dist/features/tables/index.js +1 -0
  154. package/dist/features/tanstack-form/index.cjs +1 -1
  155. package/dist/features/tanstack-form/index.d.cts +2 -2
  156. package/dist/features/tanstack-form/index.d.ts +2 -0
  157. package/dist/features/tanstack-form/index.js +1 -0
  158. package/dist/features/text-editor/index.cjs +1 -1
  159. package/dist/features/text-editor/index.d.ts +2 -0
  160. package/dist/features/text-editor/index.js +1 -0
  161. package/dist/field-BrlETeXX.cjs +2 -0
  162. package/dist/field-BrlETeXX.cjs.map +1 -0
  163. package/dist/field-DpoKF1nY.js +2 -0
  164. package/dist/field-DpoKF1nY.js.map +1 -0
  165. package/dist/flex-CinRrgEy.js +2 -0
  166. package/dist/flex-CinRrgEy.js.map +1 -0
  167. package/dist/flex-DmWmOBn5.cjs +2 -0
  168. package/dist/flex-DmWmOBn5.cjs.map +1 -0
  169. package/dist/heading-Bz-hSatD.js +2 -0
  170. package/dist/heading-Bz-hSatD.js.map +1 -0
  171. package/dist/heading-tGTqk3pA.cjs +2 -0
  172. package/dist/heading-tGTqk3pA.cjs.map +1 -0
  173. package/dist/image-BpTuF_1w.js +2 -0
  174. package/dist/image-BpTuF_1w.js.map +1 -0
  175. package/dist/image-W_Yb0xTB.cjs +2 -0
  176. package/dist/image-W_Yb0xTB.cjs.map +1 -0
  177. package/dist/index-BDMEeMn4.d.ts +1093 -0
  178. package/dist/index-BiAWxLAj.d.ts +2348 -0
  179. package/dist/index-BlQGXGqt.d.ts +90 -0
  180. package/dist/index-BxoQxUnW.d.cts +1093 -0
  181. package/dist/index-C1WfBa-T.d.ts +85 -0
  182. package/dist/index-KO98y6L0.d.cts +90 -0
  183. package/dist/index-gSP59hja.d.cts +2348 -0
  184. package/dist/index.cjs +1 -1
  185. package/dist/index.d.cts +9 -9
  186. package/dist/index.d.ts +93 -0
  187. package/dist/index.js +1 -0
  188. package/dist/input-Aa-GQW2V.d.cts +44 -0
  189. package/dist/input-B1Wc5jsb.d.ts +44 -0
  190. package/dist/input-DAfP6LZ7.js +2 -0
  191. package/dist/input-DAfP6LZ7.js.map +1 -0
  192. package/dist/input-WJ0DLHTR.cjs +2 -0
  193. package/dist/input-WJ0DLHTR.cjs.map +1 -0
  194. package/dist/label-B8cAG2kc.js +2 -0
  195. package/dist/label-B8cAG2kc.js.map +1 -0
  196. package/dist/label-CC6fXVbC.cjs +2 -0
  197. package/dist/label-CC6fXVbC.cjs.map +1 -0
  198. package/dist/layouts/cms-layout/index.cjs +1 -1
  199. package/dist/layouts/cms-layout/index.d.cts +2 -76
  200. package/dist/layouts/cms-layout/index.d.ts +2 -0
  201. package/dist/layouts/cms-layout/index.js +1 -0
  202. package/dist/layouts/flex.cjs +1 -1
  203. package/dist/layouts/flex.d.cts +3 -3
  204. package/dist/layouts/flex.d.ts +117 -0
  205. package/dist/layouts/flex.js +1 -0
  206. package/dist/layouts/grid.cjs +1 -1
  207. package/dist/layouts/grid.d.ts +19 -0
  208. package/dist/layouts/grid.js +2 -0
  209. package/dist/layouts/grid.js.map +1 -0
  210. package/dist/layouts/payment-layout/index.cjs +1 -1
  211. package/dist/layouts/payment-layout/index.d.ts +74 -0
  212. package/dist/layouts/payment-layout/index.js +1 -0
  213. package/dist/pages/FeatureDeveloping.cjs +1 -1
  214. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  215. package/dist/pages/FeatureDeveloping.d.ts +43 -0
  216. package/dist/pages/FeatureDeveloping.js +2 -0
  217. package/dist/pages/FeatureDeveloping.js.map +1 -0
  218. package/dist/pages/FeatureFixing.cjs +1 -1
  219. package/dist/pages/FeatureFixing.d.cts +2 -2
  220. package/dist/pages/FeatureFixing.d.ts +43 -0
  221. package/dist/pages/FeatureFixing.js +2 -0
  222. package/dist/pages/FeatureFixing.js.map +1 -0
  223. package/dist/pages/LoginPage.cjs +1 -1
  224. package/dist/pages/LoginPage.cjs.map +1 -1
  225. package/dist/pages/LoginPage.d.cts +2 -2
  226. package/dist/pages/LoginPage.d.ts +55 -0
  227. package/dist/pages/LoginPage.js +2 -0
  228. package/dist/pages/LoginPage.js.map +1 -0
  229. package/dist/pages/NotAuthorized.cjs +1 -1
  230. package/dist/pages/NotAuthorized.d.cts +2 -2
  231. package/dist/pages/NotAuthorized.d.ts +43 -0
  232. package/dist/pages/NotAuthorized.js +2 -0
  233. package/dist/pages/NotAuthorized.js.map +1 -0
  234. package/dist/pages/NotFound.cjs +1 -1
  235. package/dist/pages/NotFound.d.cts +2 -2
  236. package/dist/pages/NotFound.d.ts +43 -0
  237. package/dist/pages/NotFound.js +2 -0
  238. package/dist/pages/NotFound.js.map +1 -0
  239. package/dist/pages/RegisterPage.cjs +1 -1
  240. package/dist/pages/RegisterPage.cjs.map +1 -1
  241. package/dist/pages/RegisterPage.d.cts +2 -2
  242. package/dist/pages/RegisterPage.d.ts +52 -0
  243. package/dist/pages/RegisterPage.js +2 -0
  244. package/dist/pages/RegisterPage.js.map +1 -0
  245. package/dist/pages/VerifyEmailPage.cjs +1 -1
  246. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  247. package/dist/pages/VerifyEmailPage.d.ts +64 -0
  248. package/dist/pages/VerifyEmailPage.js +2 -0
  249. package/dist/pages/VerifyEmailPage.js.map +1 -0
  250. package/dist/paragraph-Cc13ZI4d.js +2 -0
  251. package/dist/paragraph-Cc13ZI4d.js.map +1 -0
  252. package/dist/paragraph-DvTZvbzw.cjs +2 -0
  253. package/dist/paragraph-DvTZvbzw.cjs.map +1 -0
  254. package/dist/payment-layout-DyILfyVG.cjs +2 -0
  255. package/dist/payment-layout-DyILfyVG.cjs.map +1 -0
  256. package/dist/payment-layout-giaGvs8T.js +2 -0
  257. package/dist/payment-layout-giaGvs8T.js.map +1 -0
  258. package/dist/popover-6233wU1s.js +2 -0
  259. package/dist/popover-6233wU1s.js.map +1 -0
  260. package/dist/popover-DBsC8Ltp.cjs +2 -0
  261. package/dist/popover-DBsC8Ltp.cjs.map +1 -0
  262. package/dist/progress-AYknlEgK.js +2 -0
  263. package/dist/progress-AYknlEgK.js.map +1 -0
  264. package/dist/progress-gvBqNiHp.cjs +2 -0
  265. package/dist/progress-gvBqNiHp.cjs.map +1 -0
  266. package/dist/radio-group-ImoBjpqZ.js +2 -0
  267. package/dist/radio-group-ImoBjpqZ.js.map +1 -0
  268. package/dist/radio-group-_TdMkv8w.cjs +2 -0
  269. package/dist/radio-group-_TdMkv8w.cjs.map +1 -0
  270. package/dist/resizable-C-M-mu6b.js +2 -0
  271. package/dist/resizable-C-M-mu6b.js.map +1 -0
  272. package/dist/resizable-sgpaHAb8.cjs +2 -0
  273. package/dist/resizable-sgpaHAb8.cjs.map +1 -0
  274. package/dist/search-modal-B-pzGcfP.cjs +2 -0
  275. package/dist/search-modal-B-pzGcfP.cjs.map +1 -0
  276. package/dist/search-modal-b2AE5WEW.js +2 -0
  277. package/dist/search-modal-b2AE5WEW.js.map +1 -0
  278. package/dist/select-CWLQHh8x.cjs +2 -0
  279. package/dist/select-CWLQHh8x.cjs.map +1 -0
  280. package/dist/select-CryLzZA0.js +2 -0
  281. package/dist/select-CryLzZA0.js.map +1 -0
  282. package/dist/separator-BM8hA4DP.js +2 -0
  283. package/dist/separator-BM8hA4DP.js.map +1 -0
  284. package/dist/separator-KuymG9g0.cjs +2 -0
  285. package/dist/separator-KuymG9g0.cjs.map +1 -0
  286. package/dist/sheet-CvKSi0UC.cjs +2 -0
  287. package/dist/sheet-CvKSi0UC.cjs.map +1 -0
  288. package/dist/sheet-DGXXYgWB.js +2 -0
  289. package/dist/sheet-DGXXYgWB.js.map +1 -0
  290. package/dist/sidebar-BDrsbzo5.js +2 -0
  291. package/dist/sidebar-BDrsbzo5.js.map +1 -0
  292. package/dist/sidebar-D5J2gcTw.cjs +2 -0
  293. package/dist/sidebar-D5J2gcTw.cjs.map +1 -0
  294. package/dist/skeleton-CX1USu1w.cjs +2 -0
  295. package/dist/skeleton-CX1USu1w.cjs.map +1 -0
  296. package/dist/skeleton-DlRDNM97.js +2 -0
  297. package/dist/skeleton-DlRDNM97.js.map +1 -0
  298. package/dist/spinner-C1eamx3w.js +2 -0
  299. package/dist/spinner-C1eamx3w.js.map +1 -0
  300. package/dist/spinner-CFxorYEt.cjs +2 -0
  301. package/dist/spinner-CFxorYEt.cjs.map +1 -0
  302. package/dist/statistic-CYMqAYNc.js +2 -0
  303. package/dist/statistic-CYMqAYNc.js.map +1 -0
  304. package/dist/statistic-DDXilD7q.cjs +2 -0
  305. package/dist/statistic-DDXilD7q.cjs.map +1 -0
  306. package/dist/switch-BLHmdRq2.js +2 -0
  307. package/dist/switch-BLHmdRq2.js.map +1 -0
  308. package/dist/switch-DVfOV7wP.cjs +2 -0
  309. package/dist/switch-DVfOV7wP.cjs.map +1 -0
  310. package/dist/systems/google.cjs +1 -1
  311. package/dist/systems/google.d.ts +53 -0
  312. package/dist/systems/google.js +2 -0
  313. package/dist/systems/google.js.map +1 -0
  314. package/dist/tables-CPKHe3k-.cjs +4 -0
  315. package/dist/tables-CPKHe3k-.cjs.map +1 -0
  316. package/dist/tables-DWQytYNm.js +4 -0
  317. package/dist/tables-DWQytYNm.js.map +1 -0
  318. package/dist/tanstack-form-DatI41wz.cjs +12 -0
  319. package/dist/tanstack-form-DatI41wz.cjs.map +1 -0
  320. package/dist/tanstack-form-YVdm9V01.js +12 -0
  321. package/dist/tanstack-form-YVdm9V01.js.map +1 -0
  322. package/dist/text-editor-CvJN3nSL.cjs +2 -0
  323. package/dist/text-editor-CvJN3nSL.cjs.map +1 -0
  324. package/dist/text-editor-WbS7pJJs.js +2 -0
  325. package/dist/text-editor-WbS7pJJs.js.map +1 -0
  326. package/dist/textarea-Bp6VvhiA.js +2 -0
  327. package/dist/textarea-Bp6VvhiA.js.map +1 -0
  328. package/dist/textarea-Cc9CF8wD.cjs +2 -0
  329. package/dist/textarea-Cc9CF8wD.cjs.map +1 -0
  330. package/dist/tooltip-CBdoIzoM.cjs +2 -0
  331. package/dist/tooltip-CBdoIzoM.cjs.map +1 -0
  332. package/dist/tooltip-CVIl6Hln.js +2 -0
  333. package/dist/tooltip-CVIl6Hln.js.map +1 -0
  334. package/dist/types-BVSfF-1o.d.ts +24 -0
  335. package/dist/types-BZqffRVJ.js +2 -0
  336. package/dist/types-BZqffRVJ.js.map +1 -0
  337. package/dist/typography/paragraph.cjs +1 -1
  338. package/dist/typography/paragraph.d.cts +3 -3
  339. package/dist/typography/paragraph.d.ts +48 -0
  340. package/dist/typography/paragraph.js +1 -0
  341. package/dist/typography/title.cjs +1 -1
  342. package/dist/typography/title.d.ts +43 -0
  343. package/dist/typography/title.js +2 -0
  344. package/dist/typography/title.js.map +1 -0
  345. package/dist/ui/alert-dialog.cjs +1 -1
  346. package/dist/ui/alert-dialog.d.cts +12 -12
  347. package/dist/ui/alert-dialog.d.ts +90 -0
  348. package/dist/ui/alert-dialog.js +2 -0
  349. package/dist/ui/alert-dialog.js.map +1 -0
  350. package/dist/ui/alert.cjs +1 -1
  351. package/dist/ui/alert.d.cts +1 -1
  352. package/dist/ui/alert.d.ts +2 -0
  353. package/dist/ui/alert.js +1 -0
  354. package/dist/ui/aspect-ratio.cjs +1 -1
  355. package/dist/ui/aspect-ratio.d.cts +2 -2
  356. package/dist/ui/aspect-ratio.d.ts +24 -0
  357. package/dist/ui/aspect-ratio.js +2 -0
  358. package/dist/ui/aspect-ratio.js.map +1 -0
  359. package/dist/ui/avatar.cjs +1 -1
  360. package/dist/ui/avatar.d.cts +4 -4
  361. package/dist/ui/avatar.d.ts +35 -0
  362. package/dist/ui/avatar.js +1 -0
  363. package/dist/ui/badge.cjs +1 -1
  364. package/dist/ui/badge.d.cts +1 -1
  365. package/dist/ui/badge.d.ts +2 -0
  366. package/dist/ui/badge.js +1 -0
  367. package/dist/ui/breadcrumb.cjs +1 -1
  368. package/dist/ui/breadcrumb.d.cts +8 -8
  369. package/dist/ui/breadcrumb.d.ts +72 -0
  370. package/dist/ui/breadcrumb.js +2 -0
  371. package/dist/ui/breadcrumb.js.map +1 -0
  372. package/dist/ui/button-group.cjs +1 -1
  373. package/dist/ui/button-group.d.cts +7 -7
  374. package/dist/ui/button-group.d.ts +50 -0
  375. package/dist/ui/button-group.js +2 -0
  376. package/dist/ui/button-group.js.map +1 -0
  377. package/dist/ui/button.cjs +1 -1
  378. package/dist/ui/button.d.cts +1 -1
  379. package/dist/ui/button.d.ts +2 -0
  380. package/dist/ui/button.js +1 -0
  381. package/dist/ui/buttons/add-new.cjs +1 -1
  382. package/dist/ui/buttons/add-new.d.ts +17 -0
  383. package/dist/ui/buttons/add-new.js +2 -0
  384. package/dist/ui/buttons/add-new.js.map +1 -0
  385. package/dist/ui/buttons/edit.cjs +1 -1
  386. package/dist/ui/buttons/edit.d.ts +17 -0
  387. package/dist/ui/buttons/edit.js +2 -0
  388. package/dist/ui/buttons/edit.js.map +1 -0
  389. package/dist/ui/buttons/refresh.cjs +1 -1
  390. package/dist/ui/buttons/refresh.d.ts +17 -0
  391. package/dist/ui/buttons/refresh.js +2 -0
  392. package/dist/ui/buttons/refresh.js.map +1 -0
  393. package/dist/ui/buttons/trash.cjs +1 -1
  394. package/dist/ui/buttons/trash.d.ts +17 -0
  395. package/dist/ui/buttons/trash.js +2 -0
  396. package/dist/ui/buttons/trash.js.map +1 -0
  397. package/dist/ui/buttons/upload-image.cjs +1 -1
  398. package/dist/ui/buttons/upload-image.d.ts +24 -0
  399. package/dist/ui/buttons/upload-image.js +2 -0
  400. package/dist/ui/buttons/upload-image.js.map +1 -0
  401. package/dist/ui/calendar.cjs +1 -1
  402. package/dist/ui/calendar.d.cts +4 -4
  403. package/dist/ui/calendar.d.ts +45 -0
  404. package/dist/ui/calendar.js +1 -0
  405. package/dist/ui/card.cjs +1 -1
  406. package/dist/ui/card.d.cts +8 -8
  407. package/dist/ui/card.d.ts +63 -0
  408. package/dist/ui/card.js +2 -0
  409. package/dist/ui/card.js.map +1 -0
  410. package/dist/ui/carousel.cjs +1 -1
  411. package/dist/ui/carousel.d.cts +7 -7
  412. package/dist/ui/carousel.d.ts +71 -0
  413. package/dist/ui/carousel.js +2 -0
  414. package/dist/ui/carousel.js.map +1 -0
  415. package/dist/ui/checkbox.cjs +1 -1
  416. package/dist/ui/checkbox.d.cts +2 -2
  417. package/dist/ui/checkbox.d.ts +26 -0
  418. package/dist/ui/checkbox.js +1 -0
  419. package/dist/ui/collapsible.cjs +1 -1
  420. package/dist/ui/collapsible.d.cts +4 -4
  421. package/dist/ui/collapsible.d.ts +34 -0
  422. package/dist/ui/collapsible.js +2 -0
  423. package/dist/ui/collapsible.js.map +1 -0
  424. package/dist/ui/command.cjs +1 -1
  425. package/dist/ui/command.d.cts +11 -11
  426. package/dist/ui/command.d.ts +89 -0
  427. package/dist/ui/command.js +1 -0
  428. package/dist/ui/context-menu.cjs +1 -1
  429. package/dist/ui/context-menu.d.cts +16 -16
  430. package/dist/ui/context-menu.d.ts +125 -0
  431. package/dist/ui/context-menu.js +2 -0
  432. package/dist/ui/context-menu.js.map +1 -0
  433. package/dist/ui/dialog.cjs +1 -1
  434. package/dist/ui/dialog.d.cts +1 -1
  435. package/dist/ui/dialog.d.ts +2 -0
  436. package/dist/ui/dialog.js +1 -0
  437. package/dist/ui/drawer.cjs +1 -1
  438. package/dist/ui/drawer.d.cts +11 -11
  439. package/dist/ui/drawer.d.ts +72 -0
  440. package/dist/ui/drawer.js +1 -0
  441. package/dist/ui/dropdown-menu.cjs +1 -1
  442. package/dist/ui/dropdown-menu.d.cts +16 -16
  443. package/dist/ui/dropdown-menu.d.ts +127 -0
  444. package/dist/ui/dropdown-menu.js +1 -0
  445. package/dist/ui/empty.cjs +1 -1
  446. package/dist/ui/empty.d.cts +9 -9
  447. package/dist/ui/empty.d.ts +68 -0
  448. package/dist/ui/empty.js +2 -0
  449. package/dist/ui/empty.js.map +1 -0
  450. package/dist/ui/field.cjs +1 -1
  451. package/dist/ui/field.d.cts +24 -24
  452. package/dist/ui/field.d.ts +65 -0
  453. package/dist/ui/field.js +1 -0
  454. package/dist/ui/file-uploader.cjs +1 -1
  455. package/dist/ui/file-uploader.d.cts +2 -2
  456. package/dist/ui/file-uploader.d.ts +103 -0
  457. package/dist/ui/file-uploader.js +3 -0
  458. package/dist/ui/file-uploader.js.map +1 -0
  459. package/dist/ui/form.cjs +1 -1
  460. package/dist/ui/form.d.cts +10 -10
  461. package/dist/ui/form.d.ts +112 -0
  462. package/dist/ui/form.js +2 -0
  463. package/dist/ui/form.js.map +1 -0
  464. package/dist/ui/hover-card.cjs +1 -1
  465. package/dist/ui/hover-card.d.cts +4 -4
  466. package/dist/ui/hover-card.d.ts +37 -0
  467. package/dist/ui/hover-card.js +2 -0
  468. package/dist/ui/hover-card.js.map +1 -0
  469. package/dist/ui/image.cjs +1 -1
  470. package/dist/ui/image.d.ts +36 -0
  471. package/dist/ui/image.js +1 -0
  472. package/dist/ui/input-otp.cjs +1 -1
  473. package/dist/ui/input-otp.d.cts +5 -5
  474. package/dist/ui/input-otp.d.ts +59 -0
  475. package/dist/ui/input-otp.js +2 -0
  476. package/dist/ui/input-otp.js.map +1 -0
  477. package/dist/ui/input.cjs +1 -1
  478. package/dist/ui/input.d.cts +1 -1
  479. package/dist/ui/input.d.ts +2 -0
  480. package/dist/ui/input.js +1 -0
  481. package/dist/ui/inputs/search-input.cjs +1 -1
  482. package/dist/ui/inputs/search-input.d.cts +3 -3
  483. package/dist/ui/inputs/search-input.d.ts +29 -0
  484. package/dist/ui/inputs/search-input.js +2 -0
  485. package/dist/ui/inputs/search-input.js.map +1 -0
  486. package/dist/ui/item.cjs +1 -1
  487. package/dist/ui/item.d.cts +14 -14
  488. package/dist/ui/item.d.ts +102 -0
  489. package/dist/ui/item.js +2 -0
  490. package/dist/ui/item.js.map +1 -0
  491. package/dist/ui/label.cjs +1 -1
  492. package/dist/ui/label.d.cts +2 -2
  493. package/dist/ui/label.d.ts +24 -0
  494. package/dist/ui/label.js +1 -0
  495. package/dist/ui/menubar.cjs +1 -1
  496. package/dist/ui/menubar.d.cts +17 -17
  497. package/dist/ui/menubar.d.ts +135 -0
  498. package/dist/ui/menubar.js +2 -0
  499. package/dist/ui/menubar.js.map +1 -0
  500. package/dist/ui/multi-select.cjs +1 -1
  501. package/dist/ui/multi-select.d.cts +2 -2
  502. package/dist/ui/multi-select.d.ts +118 -0
  503. package/dist/ui/multi-select.js +2 -0
  504. package/dist/ui/multi-select.js.map +1 -0
  505. package/dist/ui/navigation-menu.cjs +1 -1
  506. package/dist/ui/navigation-menu.d.cts +9 -9
  507. package/dist/ui/navigation-menu.d.ts +77 -0
  508. package/dist/ui/navigation-menu.js +2 -0
  509. package/dist/ui/navigation-menu.js.map +1 -0
  510. package/dist/ui/pagination.cjs +1 -1
  511. package/dist/ui/pagination.d.cts +9 -9
  512. package/dist/ui/pagination.d.ts +67 -0
  513. package/dist/ui/pagination.js +2 -0
  514. package/dist/ui/pagination.js.map +1 -0
  515. package/dist/ui/popover.cjs +1 -1
  516. package/dist/ui/popover.d.cts +6 -6
  517. package/dist/ui/popover.d.ts +52 -0
  518. package/dist/ui/popover.js +1 -0
  519. package/dist/ui/progress.cjs +1 -1
  520. package/dist/ui/progress.d.cts +2 -2
  521. package/dist/ui/progress.d.ts +23 -0
  522. package/dist/ui/progress.js +1 -0
  523. package/dist/ui/radio-group.cjs +1 -1
  524. package/dist/ui/radio-group.d.cts +3 -3
  525. package/dist/ui/radio-group.d.ts +37 -0
  526. package/dist/ui/radio-group.js +1 -0
  527. package/dist/ui/resizable.cjs +1 -1
  528. package/dist/ui/resizable.d.cts +9 -9
  529. package/dist/ui/resizable.d.ts +63 -0
  530. package/dist/ui/resizable.js +1 -0
  531. package/dist/ui/scroll-area.cjs +1 -1
  532. package/dist/ui/scroll-area.d.cts +5 -5
  533. package/dist/ui/scroll-area.d.ts +37 -0
  534. package/dist/ui/scroll-area.js +2 -0
  535. package/dist/ui/scroll-area.js.map +1 -0
  536. package/dist/ui/select.cjs +1 -1
  537. package/dist/ui/select.d.cts +9 -9
  538. package/dist/ui/select.d.ts +77 -0
  539. package/dist/ui/select.js +1 -0
  540. package/dist/ui/separator.cjs +1 -1
  541. package/dist/ui/separator.d.cts +2 -2
  542. package/dist/ui/separator.d.ts +34 -0
  543. package/dist/ui/separator.js +1 -0
  544. package/dist/ui/sheet.cjs +1 -1
  545. package/dist/ui/sheet.d.cts +9 -9
  546. package/dist/ui/sheet.d.ts +69 -0
  547. package/dist/ui/sheet.js +1 -0
  548. package/dist/ui/skeleton.cjs +1 -1
  549. package/dist/ui/skeleton.d.cts +2 -2
  550. package/dist/ui/skeleton.d.ts +27 -0
  551. package/dist/ui/skeleton.js +1 -0
  552. package/dist/ui/slider.cjs +1 -1
  553. package/dist/ui/slider.d.cts +2 -2
  554. package/dist/ui/slider.d.ts +26 -0
  555. package/dist/ui/slider.js +2 -0
  556. package/dist/ui/slider.js.map +1 -0
  557. package/dist/ui/sonner.cjs +1 -1
  558. package/dist/ui/sonner.cjs.map +1 -1
  559. package/dist/ui/sonner.d.cts +2 -2
  560. package/dist/ui/sonner.d.ts +24 -0
  561. package/dist/ui/sonner.js +2 -0
  562. package/dist/ui/sonner.js.map +1 -0
  563. package/dist/ui/spinner.cjs +1 -1
  564. package/dist/ui/spinner.d.cts +2 -2
  565. package/dist/ui/spinner.d.ts +25 -0
  566. package/dist/ui/spinner.js +1 -0
  567. package/dist/ui/switch.cjs +1 -1
  568. package/dist/ui/switch.d.cts +2 -2
  569. package/dist/ui/switch.d.ts +26 -0
  570. package/dist/ui/switch.js +1 -0
  571. package/dist/ui/table.cjs +1 -1
  572. package/dist/ui/table.d.cts +17 -17
  573. package/dist/ui/table.d.ts +73 -0
  574. package/dist/ui/table.js +2 -0
  575. package/dist/ui/table.js.map +1 -0
  576. package/dist/ui/tabs.cjs +1 -1
  577. package/dist/ui/tabs.d.cts +5 -5
  578. package/dist/ui/tabs.d.ts +44 -0
  579. package/dist/ui/tabs.js +2 -0
  580. package/dist/ui/tabs.js.map +1 -0
  581. package/dist/ui/textarea.cjs +1 -1
  582. package/dist/ui/textarea.d.cts +2 -2
  583. package/dist/ui/textarea.d.ts +30 -0
  584. package/dist/ui/textarea.js +1 -0
  585. package/dist/ui/toggle-group.cjs +1 -1
  586. package/dist/ui/toggle-group.d.cts +3 -3
  587. package/dist/ui/toggle-group.d.ts +39 -0
  588. package/dist/ui/toggle-group.js +2 -0
  589. package/dist/ui/toggle-group.js.map +1 -0
  590. package/dist/ui/toggle.cjs +1 -1
  591. package/dist/ui/toggle.d.cts +4 -4
  592. package/dist/ui/toggle.d.ts +32 -0
  593. package/dist/ui/toggle.js +2 -0
  594. package/dist/ui/toggle.js.map +1 -0
  595. package/dist/ui/tooltip.cjs +1 -1
  596. package/dist/ui/tooltip.d.cts +5 -5
  597. package/dist/ui/tooltip.d.ts +55 -0
  598. package/dist/ui/tooltip.js +1 -0
  599. package/dist/user-BSpgswEC.js +2 -0
  600. package/dist/user-BSpgswEC.js.map +1 -0
  601. package/dist/user-ii4FBhO1.cjs +2 -0
  602. package/dist/user-ii4FBhO1.cjs.map +1 -0
  603. package/package.json +20 -5
  604. package/styles/spacing.css +186 -0
  605. package/dist/alert-BbvPwf2x.mjs +0 -2
  606. package/dist/alert-BbvPwf2x.mjs.map +0 -1
  607. package/dist/alert-CT7oAzCC.d.mts +0 -88
  608. package/dist/alert-DubR6Szk.cjs +0 -2
  609. package/dist/alert-DubR6Szk.cjs.map +0 -1
  610. package/dist/alert-lqPNRRvJ.d.cts +0 -88
  611. package/dist/avatar-CqRl9dge.cjs +0 -2
  612. package/dist/avatar-CqRl9dge.cjs.map +0 -1
  613. package/dist/avatar-m1LjDIil.mjs +0 -2
  614. package/dist/avatar-m1LjDIil.mjs.map +0 -1
  615. package/dist/badge-Bhbhmsic.mjs +0 -2
  616. package/dist/badge-Bhbhmsic.mjs.map +0 -1
  617. package/dist/badge-C4nTfJGX.d.mts +0 -42
  618. package/dist/badge-DMnKV_uW.cjs +0 -2
  619. package/dist/badge-DMnKV_uW.cjs.map +0 -1
  620. package/dist/badge-Dq-Yyus_.d.cts +0 -42
  621. package/dist/button-Bu4ejNOW.cjs +0 -2
  622. package/dist/button-Bu4ejNOW.cjs.map +0 -1
  623. package/dist/button-CYLxBCfa.d.cts +0 -174
  624. package/dist/button-CfPTDyoq.mjs +0 -2
  625. package/dist/button-CfPTDyoq.mjs.map +0 -1
  626. package/dist/button-DlFsSFmT.d.mts +0 -174
  627. package/dist/button.variants-B8aRZ52K.mjs +0 -2
  628. package/dist/button.variants-B8aRZ52K.mjs.map +0 -1
  629. package/dist/button.variants-tnhb123u.cjs +0 -2
  630. package/dist/button.variants-tnhb123u.cjs.map +0 -1
  631. package/dist/calendar-BDhIfwPP.mjs +0 -2
  632. package/dist/calendar-BDhIfwPP.mjs.map +0 -1
  633. package/dist/calendar-CMd11yg9.cjs +0 -2
  634. package/dist/calendar-CMd11yg9.cjs.map +0 -1
  635. package/dist/cards/grid-product-card.d.mts +0 -37
  636. package/dist/cards/grid-product-card.mjs +0 -2
  637. package/dist/cards/grid-product-card.mjs.map +0 -1
  638. package/dist/cards/product-card.d.mts +0 -37
  639. package/dist/cards/product-card.mjs +0 -2
  640. package/dist/cards/product-card.mjs.map +0 -1
  641. package/dist/cards/simple-card.d.mts +0 -35
  642. package/dist/cards/simple-card.mjs +0 -2
  643. package/dist/cards/simple-card.mjs.map +0 -1
  644. package/dist/checkbox-BwDvS4De.cjs +0 -2
  645. package/dist/checkbox-BwDvS4De.cjs.map +0 -1
  646. package/dist/checkbox-CgHaRkuU.mjs +0 -2
  647. package/dist/checkbox-CgHaRkuU.mjs.map +0 -1
  648. package/dist/chunk-Bmb41Sf3.cjs +0 -1
  649. package/dist/close-B7OOMSZl.mjs +0 -2
  650. package/dist/close-B7OOMSZl.mjs.map +0 -1
  651. package/dist/close-DrCUWZt0.cjs +0 -2
  652. package/dist/close-DrCUWZt0.cjs.map +0 -1
  653. package/dist/cms-layout-BrubV8D8.cjs +0 -2
  654. package/dist/cms-layout-BrubV8D8.cjs.map +0 -1
  655. package/dist/cms-layout-C2-yysO2.mjs +0 -2
  656. package/dist/cms-layout-C2-yysO2.mjs.map +0 -1
  657. package/dist/command-DiXzSGc8.cjs +0 -2
  658. package/dist/command-DiXzSGc8.cjs.map +0 -1
  659. package/dist/command-FnbrPZ7_.mjs +0 -2
  660. package/dist/command-FnbrPZ7_.mjs.map +0 -1
  661. package/dist/data-display/country.d.mts +0 -22
  662. package/dist/data-display/country.mjs +0 -2
  663. package/dist/data-display/country.mjs.map +0 -1
  664. package/dist/data-display/data-list.d.mts +0 -43
  665. package/dist/data-display/data-list.mjs +0 -2
  666. package/dist/data-display/data-list.mjs.map +0 -1
  667. package/dist/data-display/date-tooltip.d.mts +0 -19
  668. package/dist/data-display/date-tooltip.mjs +0 -2
  669. package/dist/data-display/date-tooltip.mjs.map +0 -1
  670. package/dist/data-display/date.d.mts +0 -39
  671. package/dist/data-display/date.mjs +0 -1
  672. package/dist/data-display/empty.d.mts +0 -21
  673. package/dist/data-display/empty.mjs +0 -2
  674. package/dist/data-display/empty.mjs.map +0 -1
  675. package/dist/data-display/name.d.mts +0 -19
  676. package/dist/data-display/name.mjs +0 -2
  677. package/dist/data-display/name.mjs.map +0 -1
  678. package/dist/data-display/phone-number.d.mts +0 -19
  679. package/dist/data-display/phone-number.mjs +0 -2
  680. package/dist/data-display/phone-number.mjs.map +0 -1
  681. package/dist/data-display/role-badge.d.mts +0 -22
  682. package/dist/data-display/role-badge.mjs +0 -2
  683. package/dist/data-display/role-badge.mjs.map +0 -1
  684. package/dist/data-display/statistic.d.mts +0 -57
  685. package/dist/data-display/statistic.mjs +0 -1
  686. package/dist/data-display/user.d.mts +0 -23
  687. package/dist/data-display/user.mjs +0 -1
  688. package/dist/date-CFgc7pK3.mjs +0 -2
  689. package/dist/date-CFgc7pK3.mjs.map +0 -1
  690. package/dist/date-DtajzNoy.cjs +0 -2
  691. package/dist/date-DtajzNoy.cjs.map +0 -1
  692. package/dist/dialog-1ArhWB8r.d.cts +0 -90
  693. package/dist/dialog-D1sWnn6n.cjs +0 -2
  694. package/dist/dialog-D1sWnn6n.cjs.map +0 -1
  695. package/dist/dialog-EGFZeITu.mjs +0 -2
  696. package/dist/dialog-EGFZeITu.mjs.map +0 -1
  697. package/dist/dialog-_zfOGo8B.d.mts +0 -90
  698. package/dist/dialogs/confirm-dialog.d.mts +0 -142
  699. package/dist/dialogs/confirm-dialog.mjs +0 -2
  700. package/dist/dialogs/confirm-dialog.mjs.map +0 -1
  701. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +0 -209
  702. package/dist/dialogs/detail-dialog/components/sidebar.mjs +0 -1
  703. package/dist/dialogs/detail-dialog/index.d.mts +0 -45
  704. package/dist/dialogs/detail-dialog/index.mjs +0 -2
  705. package/dist/dialogs/detail-dialog/index.mjs.map +0 -1
  706. package/dist/dialogs/error-dialog.d.mts +0 -25
  707. package/dist/dialogs/error-dialog.mjs +0 -2
  708. package/dist/dialogs/error-dialog.mjs.map +0 -1
  709. package/dist/dialogs/loading-dialog.d.mts +0 -21
  710. package/dist/dialogs/loading-dialog.mjs +0 -2
  711. package/dist/dialogs/loading-dialog.mjs.map +0 -1
  712. package/dist/dist-BQGL-YKY.mjs +0 -2
  713. package/dist/dist-BQGL-YKY.mjs.map +0 -1
  714. package/dist/dist-CAeolvAH.cjs +0 -2
  715. package/dist/dist-CAeolvAH.cjs.map +0 -1
  716. package/dist/drawer-B6C8-Ndu.cjs +0 -2
  717. package/dist/drawer-B6C8-Ndu.cjs.map +0 -1
  718. package/dist/drawer-CMD7JWH8.mjs +0 -2
  719. package/dist/drawer-CMD7JWH8.mjs.map +0 -1
  720. package/dist/dropdown-menu-Bz7oMQ36.cjs +0 -2
  721. package/dist/dropdown-menu-Bz7oMQ36.cjs.map +0 -1
  722. package/dist/dropdown-menu-C6tRSumY.mjs +0 -2
  723. package/dist/dropdown-menu-C6tRSumY.mjs.map +0 -1
  724. package/dist/features/descriptions/index.d.mts +0 -246
  725. package/dist/features/descriptions/index.mjs +0 -2
  726. package/dist/features/descriptions/index.mjs.map +0 -1
  727. package/dist/features/search-modal/index.d.mts +0 -17
  728. package/dist/features/search-modal/index.mjs +0 -1
  729. package/dist/features/tables/index.d.mts +0 -3
  730. package/dist/features/tables/index.mjs +0 -1
  731. package/dist/features/tanstack-form/index.d.mts +0 -2
  732. package/dist/features/tanstack-form/index.mjs +0 -1
  733. package/dist/features/text-editor/index.d.mts +0 -2
  734. package/dist/features/text-editor/index.mjs +0 -1
  735. package/dist/field-DhgAIueI.mjs +0 -2
  736. package/dist/field-DhgAIueI.mjs.map +0 -1
  737. package/dist/field-pfL7RWcN.cjs +0 -2
  738. package/dist/field-pfL7RWcN.cjs.map +0 -1
  739. package/dist/flex-BAcvp4lB.mjs +0 -2
  740. package/dist/flex-BAcvp4lB.mjs.map +0 -1
  741. package/dist/flex-DYh2t8ft.cjs +0 -2
  742. package/dist/flex-DYh2t8ft.cjs.map +0 -1
  743. package/dist/heading-wUXEbicM.cjs +0 -2
  744. package/dist/heading-wUXEbicM.cjs.map +0 -1
  745. package/dist/heading-woRh-IC7.mjs +0 -2
  746. package/dist/heading-woRh-IC7.mjs.map +0 -1
  747. package/dist/image-D2U1SBw5.mjs +0 -2
  748. package/dist/image-D2U1SBw5.mjs.map +0 -1
  749. package/dist/image-Y7gCz7uE.cjs +0 -2
  750. package/dist/image-Y7gCz7uE.cjs.map +0 -1
  751. package/dist/index-9dZXIJo5.d.mts +0 -2749
  752. package/dist/index-C6nrbQ-E.d.cts +0 -1061
  753. package/dist/index-CJoz7sMc.d.mts +0 -1061
  754. package/dist/index-CQkuntSj.d.cts +0 -2749
  755. package/dist/index-DiW-62hY.d.mts +0 -85
  756. package/dist/index.d.mts +0 -93
  757. package/dist/index.mjs +0 -1
  758. package/dist/input-5gk-Jv1y.mjs +0 -2
  759. package/dist/input-5gk-Jv1y.mjs.map +0 -1
  760. package/dist/input-BAr0l-oA.d.cts +0 -44
  761. package/dist/input-BvzsfAUc.cjs +0 -2
  762. package/dist/input-BvzsfAUc.cjs.map +0 -1
  763. package/dist/input-DXO2mTgG.d.mts +0 -44
  764. package/dist/label-D9uNQ9b_.mjs +0 -2
  765. package/dist/label-D9uNQ9b_.mjs.map +0 -1
  766. package/dist/label-eIyGIRyw.cjs +0 -2
  767. package/dist/label-eIyGIRyw.cjs.map +0 -1
  768. package/dist/layouts/cms-layout/index.d.mts +0 -76
  769. package/dist/layouts/cms-layout/index.mjs +0 -1
  770. package/dist/layouts/flex.d.mts +0 -117
  771. package/dist/layouts/flex.mjs +0 -1
  772. package/dist/layouts/grid.d.mts +0 -19
  773. package/dist/layouts/grid.mjs +0 -2
  774. package/dist/layouts/grid.mjs.map +0 -1
  775. package/dist/layouts/payment-layout/index.d.mts +0 -74
  776. package/dist/layouts/payment-layout/index.mjs +0 -1
  777. package/dist/pages/FeatureDeveloping.d.mts +0 -43
  778. package/dist/pages/FeatureDeveloping.mjs +0 -2
  779. package/dist/pages/FeatureDeveloping.mjs.map +0 -1
  780. package/dist/pages/FeatureFixing.d.mts +0 -43
  781. package/dist/pages/FeatureFixing.mjs +0 -2
  782. package/dist/pages/FeatureFixing.mjs.map +0 -1
  783. package/dist/pages/LoginPage.d.mts +0 -55
  784. package/dist/pages/LoginPage.mjs +0 -2
  785. package/dist/pages/LoginPage.mjs.map +0 -1
  786. package/dist/pages/NotAuthorized.d.mts +0 -43
  787. package/dist/pages/NotAuthorized.mjs +0 -2
  788. package/dist/pages/NotAuthorized.mjs.map +0 -1
  789. package/dist/pages/NotFound.d.mts +0 -43
  790. package/dist/pages/NotFound.mjs +0 -2
  791. package/dist/pages/NotFound.mjs.map +0 -1
  792. package/dist/pages/RegisterPage.d.mts +0 -52
  793. package/dist/pages/RegisterPage.mjs +0 -2
  794. package/dist/pages/RegisterPage.mjs.map +0 -1
  795. package/dist/pages/VerifyEmailPage.d.mts +0 -64
  796. package/dist/pages/VerifyEmailPage.mjs +0 -2
  797. package/dist/pages/VerifyEmailPage.mjs.map +0 -1
  798. package/dist/paragraph-CjstaJFj.mjs +0 -2
  799. package/dist/paragraph-CjstaJFj.mjs.map +0 -1
  800. package/dist/paragraph-D-JHj7EP.cjs +0 -2
  801. package/dist/paragraph-D-JHj7EP.cjs.map +0 -1
  802. package/dist/payment-layout-_ZM4uBy_.mjs +0 -2
  803. package/dist/payment-layout-_ZM4uBy_.mjs.map +0 -1
  804. package/dist/payment-layout-fsYTkw3r.cjs +0 -2
  805. package/dist/payment-layout-fsYTkw3r.cjs.map +0 -1
  806. package/dist/popover-DwgdOX8a.mjs +0 -2
  807. package/dist/popover-DwgdOX8a.mjs.map +0 -1
  808. package/dist/popover-fsTCOb6a.cjs +0 -2
  809. package/dist/popover-fsTCOb6a.cjs.map +0 -1
  810. package/dist/progress-CDYA2V-W.cjs +0 -2
  811. package/dist/progress-CDYA2V-W.cjs.map +0 -1
  812. package/dist/progress-DCBKnTx0.mjs +0 -2
  813. package/dist/progress-DCBKnTx0.mjs.map +0 -1
  814. package/dist/radio-group-B-M599Ys.cjs +0 -2
  815. package/dist/radio-group-B-M599Ys.cjs.map +0 -1
  816. package/dist/radio-group-Y9bhdr55.mjs +0 -2
  817. package/dist/radio-group-Y9bhdr55.mjs.map +0 -1
  818. package/dist/resizable-DATSh0Du.cjs +0 -2
  819. package/dist/resizable-DATSh0Du.cjs.map +0 -1
  820. package/dist/resizable-DP1BQAF_.mjs +0 -2
  821. package/dist/resizable-DP1BQAF_.mjs.map +0 -1
  822. package/dist/search-modal-CYRJEDE-.cjs +0 -2
  823. package/dist/search-modal-CYRJEDE-.cjs.map +0 -1
  824. package/dist/search-modal-DWu08xkE.mjs +0 -2
  825. package/dist/search-modal-DWu08xkE.mjs.map +0 -1
  826. package/dist/select-BAlA65tZ.mjs +0 -2
  827. package/dist/select-BAlA65tZ.mjs.map +0 -1
  828. package/dist/select-Cib2aiw5.cjs +0 -2
  829. package/dist/select-Cib2aiw5.cjs.map +0 -1
  830. package/dist/separator-C6s-YvlT.mjs +0 -2
  831. package/dist/separator-C6s-YvlT.mjs.map +0 -1
  832. package/dist/separator-CBup_ah1.cjs +0 -2
  833. package/dist/separator-CBup_ah1.cjs.map +0 -1
  834. package/dist/sheet-Cj8hoftE.mjs +0 -2
  835. package/dist/sheet-Cj8hoftE.mjs.map +0 -1
  836. package/dist/sheet-DAjZ-Q6Q.cjs +0 -2
  837. package/dist/sheet-DAjZ-Q6Q.cjs.map +0 -1
  838. package/dist/sidebar-Drasn0Bx.cjs +0 -2
  839. package/dist/sidebar-Drasn0Bx.cjs.map +0 -1
  840. package/dist/sidebar-RcmDh50_.mjs +0 -2
  841. package/dist/sidebar-RcmDh50_.mjs.map +0 -1
  842. package/dist/skeleton-CHympz8k.cjs +0 -2
  843. package/dist/skeleton-CHympz8k.cjs.map +0 -1
  844. package/dist/skeleton-DupQ91XW.mjs +0 -2
  845. package/dist/skeleton-DupQ91XW.mjs.map +0 -1
  846. package/dist/spinner-BCnPYF1H.mjs +0 -2
  847. package/dist/spinner-BCnPYF1H.mjs.map +0 -1
  848. package/dist/spinner-Bdta7BMp.cjs +0 -2
  849. package/dist/spinner-Bdta7BMp.cjs.map +0 -1
  850. package/dist/statistic-Cm4nbkjQ.mjs +0 -2
  851. package/dist/statistic-Cm4nbkjQ.mjs.map +0 -1
  852. package/dist/statistic-DDDm5Om1.cjs +0 -2
  853. package/dist/statistic-DDDm5Om1.cjs.map +0 -1
  854. package/dist/switch-BP7EPatj.mjs +0 -2
  855. package/dist/switch-BP7EPatj.mjs.map +0 -1
  856. package/dist/switch-Dbc77c_D.cjs +0 -2
  857. package/dist/switch-Dbc77c_D.cjs.map +0 -1
  858. package/dist/systems/google.d.mts +0 -53
  859. package/dist/systems/google.mjs +0 -2
  860. package/dist/systems/google.mjs.map +0 -1
  861. package/dist/tables-B3Ald6An.cjs +0 -4
  862. package/dist/tables-B3Ald6An.cjs.map +0 -1
  863. package/dist/tables-C3asiSD4.mjs +0 -4
  864. package/dist/tables-C3asiSD4.mjs.map +0 -1
  865. package/dist/tanstack-form-Byb7E1m9.cjs +0 -2
  866. package/dist/tanstack-form-Byb7E1m9.cjs.map +0 -1
  867. package/dist/tanstack-form-Dg_0hFwX.mjs +0 -2
  868. package/dist/tanstack-form-Dg_0hFwX.mjs.map +0 -1
  869. package/dist/text-editor-Bg0Wtnt3.mjs +0 -2
  870. package/dist/text-editor-Bg0Wtnt3.mjs.map +0 -1
  871. package/dist/text-editor-DtLcsiR7.cjs +0 -2
  872. package/dist/text-editor-DtLcsiR7.cjs.map +0 -1
  873. package/dist/textarea-7HDXcaK9.mjs +0 -2
  874. package/dist/textarea-7HDXcaK9.mjs.map +0 -1
  875. package/dist/textarea-Byo8E8oi.cjs +0 -2
  876. package/dist/textarea-Byo8E8oi.cjs.map +0 -1
  877. package/dist/tooltip-BfBJRYpc.mjs +0 -2
  878. package/dist/tooltip-BfBJRYpc.mjs.map +0 -1
  879. package/dist/tooltip-DC6i1A25.cjs +0 -2
  880. package/dist/tooltip-DC6i1A25.cjs.map +0 -1
  881. package/dist/types-CFXgrpTm.mjs +0 -2
  882. package/dist/types-CFXgrpTm.mjs.map +0 -1
  883. package/dist/types-YLu40dXY.d.mts +0 -24
  884. package/dist/typography/paragraph.d.mts +0 -48
  885. package/dist/typography/paragraph.mjs +0 -1
  886. package/dist/typography/title.d.mts +0 -43
  887. package/dist/typography/title.mjs +0 -2
  888. package/dist/typography/title.mjs.map +0 -1
  889. package/dist/ui/alert-dialog.d.mts +0 -90
  890. package/dist/ui/alert-dialog.mjs +0 -2
  891. package/dist/ui/alert-dialog.mjs.map +0 -1
  892. package/dist/ui/alert.d.mts +0 -2
  893. package/dist/ui/alert.mjs +0 -1
  894. package/dist/ui/aspect-ratio.d.mts +0 -24
  895. package/dist/ui/aspect-ratio.mjs +0 -2
  896. package/dist/ui/aspect-ratio.mjs.map +0 -1
  897. package/dist/ui/avatar.d.mts +0 -35
  898. package/dist/ui/avatar.mjs +0 -1
  899. package/dist/ui/badge.d.mts +0 -2
  900. package/dist/ui/badge.mjs +0 -1
  901. package/dist/ui/breadcrumb.d.mts +0 -72
  902. package/dist/ui/breadcrumb.mjs +0 -2
  903. package/dist/ui/breadcrumb.mjs.map +0 -1
  904. package/dist/ui/button-group.d.mts +0 -50
  905. package/dist/ui/button-group.mjs +0 -2
  906. package/dist/ui/button-group.mjs.map +0 -1
  907. package/dist/ui/button.d.mts +0 -2
  908. package/dist/ui/button.mjs +0 -1
  909. package/dist/ui/buttons/add-new.d.mts +0 -17
  910. package/dist/ui/buttons/add-new.mjs +0 -2
  911. package/dist/ui/buttons/add-new.mjs.map +0 -1
  912. package/dist/ui/buttons/edit.d.mts +0 -17
  913. package/dist/ui/buttons/edit.mjs +0 -2
  914. package/dist/ui/buttons/edit.mjs.map +0 -1
  915. package/dist/ui/buttons/refresh.d.mts +0 -17
  916. package/dist/ui/buttons/refresh.mjs +0 -2
  917. package/dist/ui/buttons/refresh.mjs.map +0 -1
  918. package/dist/ui/buttons/trash.d.mts +0 -17
  919. package/dist/ui/buttons/trash.mjs +0 -2
  920. package/dist/ui/buttons/trash.mjs.map +0 -1
  921. package/dist/ui/buttons/upload-image.d.mts +0 -24
  922. package/dist/ui/buttons/upload-image.mjs +0 -2
  923. package/dist/ui/buttons/upload-image.mjs.map +0 -1
  924. package/dist/ui/calendar.d.mts +0 -45
  925. package/dist/ui/calendar.mjs +0 -1
  926. package/dist/ui/card.d.mts +0 -63
  927. package/dist/ui/card.mjs +0 -2
  928. package/dist/ui/card.mjs.map +0 -1
  929. package/dist/ui/carousel.d.mts +0 -71
  930. package/dist/ui/carousel.mjs +0 -2
  931. package/dist/ui/carousel.mjs.map +0 -1
  932. package/dist/ui/checkbox.d.mts +0 -26
  933. package/dist/ui/checkbox.mjs +0 -1
  934. package/dist/ui/collapsible.d.mts +0 -34
  935. package/dist/ui/collapsible.mjs +0 -2
  936. package/dist/ui/collapsible.mjs.map +0 -1
  937. package/dist/ui/command.d.mts +0 -89
  938. package/dist/ui/command.mjs +0 -1
  939. package/dist/ui/context-menu.d.mts +0 -125
  940. package/dist/ui/context-menu.mjs +0 -2
  941. package/dist/ui/context-menu.mjs.map +0 -1
  942. package/dist/ui/dialog.d.mts +0 -2
  943. package/dist/ui/dialog.mjs +0 -1
  944. package/dist/ui/drawer.d.mts +0 -72
  945. package/dist/ui/drawer.mjs +0 -1
  946. package/dist/ui/dropdown-menu.d.mts +0 -127
  947. package/dist/ui/dropdown-menu.mjs +0 -1
  948. package/dist/ui/empty.d.mts +0 -68
  949. package/dist/ui/empty.mjs +0 -2
  950. package/dist/ui/empty.mjs.map +0 -1
  951. package/dist/ui/field.d.mts +0 -65
  952. package/dist/ui/field.mjs +0 -1
  953. package/dist/ui/file-uploader.d.mts +0 -103
  954. package/dist/ui/file-uploader.mjs +0 -3
  955. package/dist/ui/file-uploader.mjs.map +0 -1
  956. package/dist/ui/form.d.mts +0 -112
  957. package/dist/ui/form.mjs +0 -2
  958. package/dist/ui/form.mjs.map +0 -1
  959. package/dist/ui/hover-card.d.mts +0 -37
  960. package/dist/ui/hover-card.mjs +0 -2
  961. package/dist/ui/hover-card.mjs.map +0 -1
  962. package/dist/ui/image.d.mts +0 -36
  963. package/dist/ui/image.mjs +0 -1
  964. package/dist/ui/input-otp.d.mts +0 -59
  965. package/dist/ui/input-otp.mjs +0 -2
  966. package/dist/ui/input-otp.mjs.map +0 -1
  967. package/dist/ui/input.d.mts +0 -2
  968. package/dist/ui/input.mjs +0 -1
  969. package/dist/ui/inputs/search-input.d.mts +0 -29
  970. package/dist/ui/inputs/search-input.mjs +0 -2
  971. package/dist/ui/inputs/search-input.mjs.map +0 -1
  972. package/dist/ui/item.d.mts +0 -102
  973. package/dist/ui/item.mjs +0 -2
  974. package/dist/ui/item.mjs.map +0 -1
  975. package/dist/ui/label.d.mts +0 -24
  976. package/dist/ui/label.mjs +0 -1
  977. package/dist/ui/menubar.d.mts +0 -135
  978. package/dist/ui/menubar.mjs +0 -2
  979. package/dist/ui/menubar.mjs.map +0 -1
  980. package/dist/ui/multi-select.d.mts +0 -118
  981. package/dist/ui/multi-select.mjs +0 -2
  982. package/dist/ui/multi-select.mjs.map +0 -1
  983. package/dist/ui/navigation-menu.d.mts +0 -77
  984. package/dist/ui/navigation-menu.mjs +0 -2
  985. package/dist/ui/navigation-menu.mjs.map +0 -1
  986. package/dist/ui/pagination.d.mts +0 -67
  987. package/dist/ui/pagination.mjs +0 -2
  988. package/dist/ui/pagination.mjs.map +0 -1
  989. package/dist/ui/popover.d.mts +0 -52
  990. package/dist/ui/popover.mjs +0 -1
  991. package/dist/ui/progress.d.mts +0 -23
  992. package/dist/ui/progress.mjs +0 -1
  993. package/dist/ui/radio-group.d.mts +0 -37
  994. package/dist/ui/radio-group.mjs +0 -1
  995. package/dist/ui/resizable.d.mts +0 -63
  996. package/dist/ui/resizable.mjs +0 -1
  997. package/dist/ui/scroll-area.d.mts +0 -37
  998. package/dist/ui/scroll-area.mjs +0 -2
  999. package/dist/ui/scroll-area.mjs.map +0 -1
  1000. package/dist/ui/select.d.mts +0 -77
  1001. package/dist/ui/select.mjs +0 -1
  1002. package/dist/ui/separator.d.mts +0 -34
  1003. package/dist/ui/separator.mjs +0 -1
  1004. package/dist/ui/sheet.d.mts +0 -69
  1005. package/dist/ui/sheet.mjs +0 -1
  1006. package/dist/ui/skeleton.d.mts +0 -27
  1007. package/dist/ui/skeleton.mjs +0 -1
  1008. package/dist/ui/slider.d.mts +0 -26
  1009. package/dist/ui/slider.mjs +0 -2
  1010. package/dist/ui/slider.mjs.map +0 -1
  1011. package/dist/ui/sonner.d.mts +0 -24
  1012. package/dist/ui/sonner.mjs +0 -2
  1013. package/dist/ui/sonner.mjs.map +0 -1
  1014. package/dist/ui/spinner.d.mts +0 -25
  1015. package/dist/ui/spinner.mjs +0 -1
  1016. package/dist/ui/switch.d.mts +0 -26
  1017. package/dist/ui/switch.mjs +0 -1
  1018. package/dist/ui/table.d.mts +0 -73
  1019. package/dist/ui/table.mjs +0 -2
  1020. package/dist/ui/table.mjs.map +0 -1
  1021. package/dist/ui/tabs.d.mts +0 -44
  1022. package/dist/ui/tabs.mjs +0 -2
  1023. package/dist/ui/tabs.mjs.map +0 -1
  1024. package/dist/ui/textarea.d.mts +0 -30
  1025. package/dist/ui/textarea.mjs +0 -1
  1026. package/dist/ui/toggle-group.d.mts +0 -39
  1027. package/dist/ui/toggle-group.mjs +0 -2
  1028. package/dist/ui/toggle-group.mjs.map +0 -1
  1029. package/dist/ui/toggle.d.mts +0 -32
  1030. package/dist/ui/toggle.mjs +0 -2
  1031. package/dist/ui/toggle.mjs.map +0 -1
  1032. package/dist/ui/tooltip.d.mts +0 -55
  1033. package/dist/ui/tooltip.mjs +0 -1
  1034. package/dist/user-D8Skw8dI.mjs +0 -2
  1035. package/dist/user-D8Skw8dI.mjs.map +0 -1
  1036. package/dist/user-Dns1BKaT.cjs +0 -2
  1037. package/dist/user-Dns1BKaT.cjs.map +0 -1
@@ -1,1061 +0,0 @@
1
- import { t as AnyEntity } from "./types-Cc_mLRAn.cjs";
2
- import { t as Input } from "./input-BAr0l-oA.cjs";
3
- import * as react642 from "react";
4
- import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
5
- import { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
6
-
7
- //#region packages/components/features/tables/components/atoms/badge-display.d.ts
8
-
9
- /**
10
- * Renders a pill-shaped badge for a table cell that optionally supports a click
11
- * action and an inline remove button; falls back to {@link UITableEmpty} when
12
- * `label` is falsy.
13
- *
14
- * @example
15
- * import { UITableBadgeDisplay } from '@customafk/lunas-ui/features/tables';
16
- *
17
- * <UITableBadgeDisplay
18
- * label="Active"
19
- * onClick={() => console.log('badge clicked')}
20
- * onRemove={() => console.log('remove clicked')}
21
- * />
22
- */
23
- declare const UITableBadgeDisplay: React.FC<{
24
- /** The text or number to display inside the badge. */
25
- label: string | number | null | undefined;
26
- /** Optional callback fired when the badge itself is clicked. */
27
- onClick?: () => void;
28
- /** When provided, renders a remove (×) button and fires this callback on click. */
29
- onRemove?: () => void;
30
- }>;
31
- //#endregion
32
- //#region packages/components/features/tables/components/atoms/boolean-display.d.ts
33
- declare const UITableBooleanDisplay: React.FC<{
34
- value: boolean | null | undefined;
35
- }>;
36
- //#endregion
37
- //#region packages/components/features/tables/components/atoms/currency-display.d.ts
38
- /** Props for the {@link UITableCurrencyDisplay} component. */
39
- type Props$7 = {
40
- /** The numeric value to format as currency; falsy / `NaN` renders an empty state. */
41
- value: number | string | null | undefined;
42
- /** ISO 4217 currency code (default: `'USD'`). */
43
- currency?: string;
44
- /**
45
- * BCP 47 locale used for number formatting (default: `'en-US'`).
46
- * Controls digit grouping and decimal separators.
47
- */
48
- locale?: string;
49
- /** How to display the currency symbol — `'symbol'` (default), `'code'`, or `'name'`. */
50
- display?: 'symbol' | 'code' | 'name';
51
- /** Font-size variant (default: `'md'`). */
52
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
53
- /** When `true`, applies a green tint for positive and red tint for negative values. */
54
- colorize?: boolean;
55
- };
56
- /**
57
- * Formats a numeric value as a locale-aware currency string in a table cell.
58
- * Always shows exactly two decimal places and uses the browser's `Intl` API for
59
- * symbol placement. Renders {@link UITableEmpty} when the value is absent or
60
- * invalid.
61
- *
62
- * @example
63
- * import { UITableCurrencyDisplay } from '@customafk/lunas-ui/features/tables';
64
- *
65
- * <UITableCurrencyDisplay value={1234.5} currency="USD" colorize />
66
- */
67
- declare const UITableCurrencyDisplay: react642.MemoExoticComponent<({
68
- value,
69
- currency,
70
- locale,
71
- display,
72
- size,
73
- colorize
74
- }: Props$7) => react642.JSX.Element>;
75
- //#endregion
76
- //#region packages/components/features/tables/components/atoms/date-display.d.ts
77
- /** Props for the {@link UITableDateDisplay} component. */
78
- type Props$6 = {
79
- /** The date value to format and display; `null`/`undefined` renders an empty state. */
80
- date: Date | string | number | null | undefined;
81
- };
82
- /**
83
- * Displays a date as a compact badge in a table cell with a tooltip that shows
84
- * the full date and time on hover; renders {@link UITableEmpty} when `date` is
85
- * `null` or `undefined`.
86
- *
87
- * @example
88
- * import { UITableDateDisplay } from '@customafk/lunas-ui/features/tables';
89
- *
90
- * <UITableDateDisplay date={new Date('2024-06-15T10:30:00Z')} />
91
- */
92
- declare const UITableDateDisplay: React.FC<Props$6>;
93
- //#endregion
94
- //#region packages/components/features/tables/components/atoms/description-display.d.ts
95
- /**
96
- * Renders a two-line-clamped description in a table cell with a tooltip that
97
- * reveals the full text and its character count; falls back to
98
- * {@link UITableEmpty} when `content` is `null` or `undefined`.
99
- *
100
- * @example
101
- * import { UITableDescriptionDisplay } from '@customafk/lunas-ui/features/tables';
102
- *
103
- * <UITableDescriptionDisplay content="A detailed description of this record." />
104
- */
105
- declare const UITableDescriptionDisplay: React.FC<{
106
- /** The text or numeric value to display; `null`/`undefined` renders an empty state. */
107
- content: string | null | undefined | number;
108
- }>;
109
- //#endregion
110
- //#region packages/components/features/tables/components/atoms/email-display.d.ts
111
- /** Props for the {@link UITableEmailDisplay} component. */
112
- type Props$5 = {
113
- /** The email address to display; `null`/`undefined`/empty renders an empty state. */
114
- email: string | null | undefined;
115
- /** When `true`, a `mailto:` anchor wraps the address (default: `true`). */
116
- linkable?: boolean;
117
- };
118
- /**
119
- * Displays an email address in a table cell with a copy-to-clipboard button.
120
- * Shows a brief checkmark confirmation after copying. Optionally wraps the
121
- * address in a `mailto:` link. Renders {@link UITableEmpty} when `email` is
122
- * absent.
123
- *
124
- * @example
125
- * import { UITableEmailDisplay } from '@customafk/lunas-ui/features/tables';
126
- *
127
- * <UITableEmailDisplay email="jane@example.com" />
128
- */
129
- declare const UITableEmailDisplay: React.FC<Props$5>;
130
- //#endregion
131
- //#region packages/components/features/tables/components/atoms/list-display.d.ts
132
- /** Props for the {@link UITableListDisplay} component. */
133
- type Props$4 = {
134
- /** Array of strings or numbers to render as inline pills. */
135
- items: (string | number)[] | null | undefined;
136
- /**
137
- * Maximum number of pills shown before a `+N more` overflow badge appears
138
- * (default: `3`).
139
- */
140
- maxVisible?: number;
141
- };
142
- /**
143
- * Renders an array of values as compact inline pills in a table cell. When the
144
- * list exceeds `maxVisible`, a `+N more` badge is shown; hovering it reveals all
145
- * remaining items in a tooltip. Renders {@link UITableEmpty} for empty or absent
146
- * arrays.
147
- *
148
- * @example
149
- * import { UITableListDisplay } from '@customafk/lunas-ui/features/tables';
150
- *
151
- * <UITableListDisplay items={['React', 'TypeScript', 'TailwindCSS', 'Vite']} maxVisible={3} />
152
- */
153
- declare const UITableListDisplay: React.FC<Props$4>;
154
- //#endregion
155
- //#region packages/components/features/tables/components/atoms/more-button.d.ts
156
- /**
157
- * A vertical-ellipsis icon button that opens a dropdown menu populated from the
158
- * `items` array; intended for use in table row action columns.
159
- *
160
- * @example
161
- * import { UITableMoreButton } from '@customafk/lunas-ui/features/tables';
162
- *
163
- * <UITableMoreButton
164
- * items={[
165
- * { id: 'edit', label: 'Edit', onClick: (id) => console.log(id) },
166
- * { id: 'delete', label: 'Delete', onClick: (id) => console.log(id) },
167
- * ]}
168
- * />
169
- */
170
- declare const UITableMoreButton: React.FC<{
171
- /**
172
- * List of menu items to render inside the dropdown.
173
- * Each item must have a unique `id`, a display `label`, and an `onClick`
174
- * handler that receives the item's `id`.
175
- */
176
- items?: {
177
- id: string;
178
- label: string;
179
- onClick: (id: string) => void;
180
- }[];
181
- /** Reserved for future use; currently unused by the component. */
182
- onClick?: () => void;
183
- }>;
184
- //#endregion
185
- //#region packages/components/features/tables/components/atoms/name-display.d.ts
186
- /** Props for the {@link UITableNameDisplay} component. */
187
- type NameDisplayProps = {
188
- /** The name string to display; renders an empty placeholder when falsy. */
189
- name?: string | null | undefined;
190
- };
191
- /**
192
- * Renders a clamped, truncated name string inside a tooltip that shows the full
193
- * text and character count on hover; falls back to {@link UITableEmpty} when the
194
- * value is absent.
195
- *
196
- * @example
197
- * import { UITableNameDisplay } from '@customafk/lunas-ui/features/tables';
198
- *
199
- * <UITableNameDisplay name="John Doe" />
200
- */
201
- declare const UITableNameDisplay: React.FC<NameDisplayProps>;
202
- //#endregion
203
- //#region packages/components/features/tables/components/atoms/permalink.d.ts
204
- /**
205
- * Renders an external-link anchor with an icon for use in table cells, opening
206
- * the target URL in a new tab with safe `rel` attributes.
207
- *
208
- * @example
209
- * import { UITablePermalink } from '@customafk/lunas-ui/features/tables';
210
- *
211
- * <UITablePermalink href="https://example.com/records/42" label="View record" />
212
- */
213
- declare const UITablePermalink: React.FC<{
214
- /** The destination URL the anchor navigates to. */
215
- href: string;
216
- /** Optional display text; falls back to the raw `href` when omitted. */
217
- label?: string;
218
- }>;
219
- //#endregion
220
- //#region packages/components/features/tables/components/atoms/phone-number.d.ts
221
- /**
222
- * Formats and displays a phone number string in a table cell using the
223
- * `(NXX) NXX-XXXX` pattern, with a tooltip that shows the full international
224
- * dialling representation.
225
- *
226
- * @example
227
- * import { UITablePhoneNumberDisplay } from '@customafk/lunas-ui/features/tables';
228
- *
229
- * <UITablePhoneNumberDisplay value="0843456789" />
230
- */
231
- declare const UITablePhoneNumberDisplay: React.FC<React.PropsWithChildren<{
232
- /** The raw phone number string to format and display. */
233
- value: string;
234
- }>>;
235
- //#endregion
236
- //#region packages/components/features/tables/components/atoms/progress-display.d.ts
237
- /** Props for the {@link UITableProgressDisplay} component. */
238
- type Props$3 = {
239
- /** Percentage value between 0 and 100; `null`/`undefined` renders an empty state. */
240
- value: number | null | undefined;
241
- /** When `true`, shows the numeric percentage next to the bar (default: `true`). */
242
- showLabel?: boolean;
243
- /**
244
- * Color thresholds applied to the progress indicator.
245
- * - `≥ successThreshold` → green
246
- * - `≥ warningThreshold` → yellow
247
- * - otherwise → red
248
- *
249
- * Defaults: `successThreshold = 70`, `warningThreshold = 40`.
250
- */
251
- successThreshold?: number;
252
- warningThreshold?: number;
253
- };
254
- /**
255
- * Renders a horizontal progress bar with an optional percentage label for a
256
- * table cell. The bar color shifts from red → yellow → green based on
257
- * configurable thresholds. Renders {@link UITableEmpty} when `value` is absent.
258
- *
259
- * @example
260
- * import { UITableProgressDisplay } from '@customafk/lunas-ui/features/tables';
261
- *
262
- * <UITableProgressDisplay value={75} />
263
- */
264
- declare const UITableProgressDisplay: react642.MemoExoticComponent<({
265
- value,
266
- showLabel,
267
- successThreshold,
268
- warningThreshold
269
- }: Props$3) => react642.JSX.Element>;
270
- //#endregion
271
- //#region packages/components/features/tables/components/atoms/remove-button.d.ts
272
- /**
273
- * A ghost danger icon button with a trash icon that triggers an async removal
274
- * handler; displays a descriptive tooltip on hover to confirm the action intent.
275
- *
276
- * @example
277
- * import { UITableRemoveButton } from '@customafk/lunas-ui/features/tables';
278
- *
279
- * <UITableRemoveButton
280
- * title="Remove member from project"
281
- * onClick={async () => await deleteRow(rowId)}
282
- * />
283
- */
284
- declare const UITableRemoveButton: React.FC<{
285
- /** Tooltip label describing what will be removed; defaults to a generic message. */
286
- title?: string;
287
- /** Async-compatible callback invoked when the button is clicked. */
288
- onClick?: () => void | Promise<void>;
289
- }>;
290
- //#endregion
291
- //#region packages/components/features/tables/components/atoms/statistic.d.ts
292
- /** Props for the {@link UITableStatisticDisplay} component. */
293
- type Props$2 = {
294
- /** Character used to separate the integer and fractional parts (default: `'.'`). */
295
- decimalSeparator?: string;
296
- /** Character used to separate thousands groups (default: `','`). */
297
- groupSeparator?: string;
298
- /** Optional node rendered before the formatted number (e.g. a currency symbol). */
299
- prefix?: React.ReactNode;
300
- /** Optional node rendered after the formatted number (e.g. a unit label). */
301
- suffix?: React.ReactNode;
302
- /** Number of decimal digits to display. */
303
- precision?: number;
304
- /** Rounding strategy applied before formatting (default: `'round'`). */
305
- roundingMode?: 'round' | 'floor' | 'ceil';
306
- /** When `true`, pads the fractional part with trailing zeros up to `precision` digits. */
307
- showTrailingZeros?: boolean;
308
- /** Font-size variant for the displayed number (default: `'lg'`). */
309
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
310
- /** The numeric or string value to format; falsy / invalid values render an empty state. */
311
- value: number | string | null | undefined;
312
- };
313
- /**
314
- * A memoized table-cell component that formats a numeric value with configurable
315
- * separators, precision, rounding, and size; renders {@link UITableEmpty} when
316
- * the value is zero, invalid, or absent.
317
- *
318
- * @example
319
- * import { UITableStatisticDisplay } from '@customafk/lunas-ui/features/tables';
320
- *
321
- * <UITableStatisticDisplay value={1234567.89} precision={2} prefix="$" size="md" />
322
- */
323
- declare const UITableStatisticDisplay: react642.MemoExoticComponent<({
324
- decimalSeparator,
325
- groupSeparator,
326
- prefix: Prefix,
327
- suffix: Suffix,
328
- precision,
329
- roundingMode,
330
- showTrailingZeros,
331
- size,
332
- value
333
- }: Props$2) => react642.JSX.Element>;
334
- //#endregion
335
- //#region packages/components/features/tables/components/atoms/status-display.d.ts
336
- type BadgeColor = 'primary' | 'secondary' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger';
337
- /** Props for the {@link UITableStatusDisplay} component. */
338
- type Props$1 = {
339
- /** The status string to display; `null`/`undefined` renders an empty state. */
340
- value: string | null | undefined;
341
- /**
342
- * Maps each status string to a badge color. Any key not present in the map
343
- * falls back to `defaultColor`.
344
- */
345
- colorMap?: Record<string, BadgeColor>;
346
- /** Color used when `value` is not found in `colorMap` (default: `'muted'`). */
347
- defaultColor?: BadgeColor;
348
- /** Badge variant forwarded to the underlying {@link Badge} (default: `'soft'`). */
349
- variant?: 'solid' | 'soft' | 'outline';
350
- };
351
- /**
352
- * Renders a color-coded status badge for a table cell. The mapping from status
353
- * string to badge color is fully configurable via `colorMap`; unknown statuses
354
- * fall back to `defaultColor`.
355
- *
356
- * @example
357
- * import { UITableStatusDisplay } from '@customafk/lunas-ui/features/tables';
358
- *
359
- * <UITableStatusDisplay
360
- * value="active"
361
- * colorMap={{ active: 'success', inactive: 'danger', pending: 'warning' }}
362
- * />
363
- */
364
- declare const UITableStatusDisplay: React.FC<Props$1>;
365
- //#endregion
366
- //#region packages/components/features/tables/components/atoms/user.d.ts
367
- /** Props for the {@link UITableUserDataDisplay} component. */
368
- type Props = {
369
- /** Unique identifier used to deterministically generate the avatar background colour. */
370
- uuid?: string | null | undefined;
371
- /** Display name shown below the avatar; falls back to `'Unknown User'` when absent. */
372
- username?: string | null | undefined;
373
- /** Email address shown as secondary text beneath the username. */
374
- email?: string | null | undefined;
375
- };
376
- /**
377
- * Renders a user avatar paired with username and email for use in table cells;
378
- * derives a consistent avatar background colour from the user's `uuid` via a
379
- * colour-hash utility.
380
- *
381
- * @example
382
- * import { UITableUserDataDisplay } from '@customafk/lunas-ui/features/tables';
383
- *
384
- * <UITableUserDataDisplay
385
- * uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890"
386
- * username="Jane Smith"
387
- * email="jane@example.com"
388
- * />
389
- */
390
- declare const UITableUserDataDisplay: React.FC<Props>;
391
- //#endregion
392
- //#region packages/components/features/tables/types.d.ts
393
- /**
394
- * Base constraint for all row data objects used with UITable.
395
- *
396
- * Any property key is allowed so that generic column definitions remain
397
- * flexible, but the optional `subRows` field is the well-known expansion
398
- * hook understood by TanStack Table's grouped-row model.
399
- */
400
- type RowData<TData extends RowData<AnyEntity>> = {
401
- /** Allows any property key so column `accessorKey` values type-check. */
402
- [x: string | number | symbol]: AnyEntity;
403
- /** Nested child rows used by the grouped/expanded row model. */
404
- subRows?: TData[] | undefined;
405
- };
406
- /** Props for `UITableEmptyDisplay` — controls which placeholder state is shown. */
407
- type TUITableEmptyDisplay = {
408
- /** When `true` a loading spinner is shown instead of the empty-box illustration. */
409
- isFetching?: boolean;
410
- /** When `true` (and `isFetching` is `false`) the "No data available" illustration is shown. */
411
- isEmpty?: boolean;
412
- /** When `true` a "Refetching data..." message is shown below the spinner to indicate a background refresh. */
413
- isRefetching?: boolean;
414
- /** CSS height of the overlay container. Defaults to `384px` (`min-h-96`) when omitted. */
415
- height?: React.CSSProperties['height'];
416
- };
417
- /** Props for `UITableWrapper` — all native `<div>` attributes are forwarded. */
418
- type TUITableWrapper = React.PropsWithChildren<React.ComponentProps<'div'>>;
419
- /** Props for `UITableInnerWrapper` — all native `<div>` attributes are forwarded. */
420
- type TUITableInnerWrapper = React.PropsWithChildren<React.ComponentProps<'div'>>;
421
- /** Props for `UITableInnerTable` — all native `<table>` attributes are forwarded. */
422
- type TUITableInnerTable = React.PropsWithChildren<React.ComponentProps<'table'>>;
423
- /** Props for `UITableHead` — all native `<thead>` attributes are forwarded. */
424
- type TUITableHead = React.PropsWithChildren<React.ComponentProps<'thead'>>;
425
- /** Props for `UITableHeadCellOption` — the pin/unpin dropdown on a header cell. */
426
- type TUITableHeadCellOption = {
427
- /** Current pinning position of the column (`'left'`, `'right'`, or `false`). */
428
- isPinned?: ColumnPinningPosition;
429
- /** Whether the column is currently visible; reserved for future hide/show actions. */
430
- isVisible?: boolean;
431
- /** Additional CSS classes applied to the dropdown trigger button. */
432
- className?: string;
433
- /** Called with `'left'` when the user selects "Pin to Left". */
434
- onLeftPin?: (pos: ColumnPinningPosition) => void;
435
- /** Called with `'right'` when the user selects "Pin to Right". */
436
- onRightPin?: (pos: ColumnPinningPosition) => void;
437
- /** Called with `false` when the user selects "Unpin". */
438
- onUnpin?: (pos: ColumnPinningPosition) => void;
439
- /** Called when the user toggles column visibility via the dropdown. */
440
- onToggleVisibility?: (props: AnyEntity) => void;
441
- };
442
- /** Props for `UITableHeadCellSelect` — the "select all rows" header checkbox cell. */
443
- type TUITableHeadCellSelect = React.ComponentProps<'th'> & {
444
- /** Whether the column is pinned to a side (the select cell is always sticky). */
445
- isPinned?: ColumnPinningPosition;
446
- /** Reflects `table.getIsAllRowsSelected()` to set the checkbox state. */
447
- isAllRowsSelected?: boolean;
448
- /** Calls `table.toggleAllRowsSelected` when the checkbox value changes. */
449
- onToggleAllRowsSelected?: (value?: boolean) => void;
450
- };
451
- /** Props for `UITableHeadRow` — a single header `<tr>` built from a TanStack `HeaderGroup`. */
452
- type TUITableHeadRow = React.PropsWithChildren<React.ComponentProps<'tr'> & {
453
- /** The TanStack `HeaderGroup` whose `headers` are rendered as `<th>` cells. */
454
- headerGroup: HeaderGroup<unknown>;
455
- /** Forwarded to `UITableHeadCellSelect`; toggles all-row selection. */
456
- onToggleAllRowsSelected?: (value?: boolean) => void;
457
- }>;
458
- /** Props for `UITableHeadCell` — a single data `<th>` with pinning and resize support. */
459
- type TUITableHeadCell = React.PropsWithChildren<React.ComponentProps<'th'> & {
460
- /** Whether the column is currently visible (used for future hide/show UI). */
461
- isVisible?: boolean;
462
- /** Current pinning position (`'left'`, `'right'`, or `false`). */
463
- isPinned?: ColumnPinningPosition;
464
- /** `true` when this is the first cell in the right-pinned group (adds a left border). */
465
- isFirstCell?: boolean;
466
- /** `true` when this is the last cell in the left-pinned group (adds a right border). */
467
- isLastCell?: boolean;
468
- /** When `false` the pin/unpin option dropdown is hidden (e.g. `actions` column). */
469
- isOptionsVisible?: boolean;
470
- /** Column id used to look up the CSS custom property `--header-<id>-size`. */
471
- headerId?: string;
472
- /** TanStack `Column` instance used to derive `left`/`right` sticky offsets and size constraints. */
473
- headerColumn?: Column<unknown, unknown>;
474
- /** Calls `column.pin` with the chosen `ColumnPinningPosition`. */
475
- onColumnPin?: (pos: ColumnPinningPosition) => void;
476
- /** Calls `column.toggleVisibility` when hide/show is triggered from the dropdown. */
477
- onToggleVisibility?: (value?: boolean) => void;
478
- }>;
479
- /** Props for `UITableBody` — the virtual-scroll `<tbody>` container. */
480
- type TUITableBody = React.PropsWithChildren<React.ComponentProps<'tbody'> & {
481
- /** When `true` the body renders `null` (loading state is handled by `UITableEmptyDisplay`). */
482
- isFetching?: boolean;
483
- /** When `true` the body renders `null` (empty state is handled by `UITableEmptyDisplay`). */
484
- isEmpty?: boolean;
485
- /** CSS string for the total virtual height of all rows, e.g. `"4200px"`. */
486
- height: string;
487
- }>;
488
- /** Props for `UITableRow` — a single virtualised data `<tr>`. */
489
- type TUITableRow = React.ComponentProps<'tr'> & {
490
- /** The TanStack `Row` object whose visible cells are iterated. */
491
- row: Row<AnyEntity>;
492
- /** Whether this row is currently selected (drives `data-selected` attribute). */
493
- isSelected?: boolean;
494
- /** Zero-based virtual row index used for `data-index` and passed to `onClickRow`. */
495
- virtualRowIndex: number;
496
- /** Pixel offset from the top of the scroll container for the CSS `translateY`. */
497
- virtualRowStart: number;
498
- };
499
- /** Props for `UITableCellSelect` — the per-row selection checkbox `<td>`. */
500
- type TUITableCellSelect = React.ComponentProps<'td'> & {
501
- /** Pinning position; the select cell is always rendered sticky regardless. */
502
- isPinned?: ColumnPinningPosition;
503
- /** Whether the checkbox should appear checked. */
504
- isSelected?: boolean;
505
- /** Calls `row.toggleSelected` when the checkbox value changes. */
506
- onToggleRowSelected?: (value?: boolean) => void;
507
- };
508
- /** Props for `UITableCellActions` — the sticky right-edge actions `<td>`. */
509
- type TUITableCellActions = React.ComponentProps<'td'> & {
510
- /** Virtual row index forwarded to the cell renderer via `data-cell`. */
511
- virtualRowIndex: number;
512
- /** TanStack `Column` whose `columnDef.cell` is rendered inside the `<td>`. */
513
- column?: Column<unknown, unknown>;
514
- /** Returns the `CellContext` passed to `flexRender`. */
515
- getContext: () => CellContext<unknown, unknown>;
516
- };
517
- /** Props for `UITableCell` — a standard data `<td>` with pinning and sizing support. */
518
- type TUITableCell = React.ComponentProps<'td'> & {
519
- /** Current pinning position of the column. */
520
- isPinned?: ColumnPinningPosition;
521
- /** `true` when this is the first cell in the right-pinned group (adds a left border separator). */
522
- isFirstCell?: boolean;
523
- /** `true` when this is the last cell in the left-pinned group (adds a right border separator). */
524
- isLastCell?: boolean;
525
- /** Column id used to read `--col-<id>-size` CSS custom property for width. */
526
- colId?: string;
527
- /** Unused reserved field for a future per-cell identifier. */
528
- cellId?: string;
529
- /** Horizontal alignment of the cell content (`'start'` is the default). */
530
- position?: 'start' | 'center' | 'end';
531
- /** TanStack `Column` instance used to derive sticky offsets and content-fit sizing. */
532
- column?: Column<unknown, unknown>;
533
- /** Returns the `CellContext` passed to `flexRender`. */
534
- getContext: () => CellContext<unknown, unknown>;
535
- };
536
- /** Props for `UITableFooter` — rendered as a `<div>` below the scroll container. */
537
- type TUITableFooter = React.PropsWithChildren<React.ComponentProps<'div'>>;
538
- /** Props for `UITableLoadMore` — the append-row "load more" trigger. */
539
- type TUITableLoadMore = React.PropsWithChildren<React.ComponentProps<'tr'> & {
540
- /** Virtual index of this synthetic row (appended after the last data row). */
541
- virtualRowIndex: number;
542
- /** Pixel offset used for the CSS `translateY` to position the row correctly. */
543
- virtualRowStart: number;
544
- /**
545
- * Async callback that fetches the next page of data.
546
- * When omitted the component renders `null`.
547
- */
548
- fetchMoreData?: () => void | Promise<void>;
549
- }>;
550
- /** Aggregation function types supported by `UITableFooterRow`. */
551
- type ColumnAggregationType = 'sum' | 'avg' | 'count' | 'min' | 'max';
552
- /** Per-column aggregation config placed in `TUITableColumn.meta.aggregation`. */
553
- type ColumnAggregation = {
554
- /** Which aggregation to compute from the column's numeric values. */
555
- type: ColumnAggregationType;
556
- /** Override label shown in the analysis panel. Defaults to the column header text. */
557
- label?: string;
558
- /** Optional prefix rendered before the computed value (e.g. `'$'`). */
559
- prefix?: string;
560
- /** Optional suffix rendered after the computed value (e.g. `'%'`). */
561
- suffix?: string;
562
- /** Decimal precision for the formatted result. */
563
- precision?: number;
564
- };
565
- /**
566
- * Typed column definition accepted by `UITableProvider`.
567
- *
568
- * Extends TanStack's `AccessorKeyColumnDef` with a typed `meta` block so that
569
- * the alignment and auto-fit behaviour can be specified in a type-safe manner.
570
- */
571
- type TUITableColumn<TData extends RowData<TData>> = Pick<AccessorKeyColumnDef<TData, AnyEntity>, 'id' | 'accessorKey' | 'size' | 'maxSize' | 'minSize' | 'header' | 'cell' | 'meta'> & {
572
- meta?: {
573
- /** Horizontal alignment of the column's cells and header. Defaults to `'start'`. */
574
- position?: 'start' | 'center' | 'end';
575
- /** When `true`, the cell auto-expands to fit its rendered content width. */
576
- fitContent?: boolean;
577
- /** When set, renders an aggregated value in the footer row for this column. */
578
- aggregation?: ColumnAggregation;
579
- };
580
- };
581
- /** A single KPI tile displayed in `UITableSummaryBar`. */
582
- type SummaryItem = {
583
- /** Short label displayed above the value. */
584
- label: string;
585
- /** The numeric or string value to display. */
586
- value: number | string | null;
587
- /** Optional prefix rendered before the value (e.g. `'$'`). */
588
- prefix?: string;
589
- /** Optional suffix rendered after the value (e.g. `'%'`). */
590
- suffix?: string;
591
- /** Decimal precision for numeric values. */
592
- precision?: number;
593
- /** Colour trend indicator. */
594
- trend?: 'neutral' | 'up' | 'down';
595
- /** Secondary description text rendered below the value. */
596
- description?: string;
597
- };
598
- /** Context value provided by the analysis panel toggle state. */
599
- type TTableAnalysisContext = {
600
- /** Whether the analysis panel is currently expanded. */
601
- isOpen: boolean;
602
- /** Toggles the analysis panel open/closed. */
603
- toggle: () => void;
604
- };
605
- /** A single cell in a CSV export row. */
606
- type CsvCell = {
607
- /** Column header label for this cell. */
608
- label: string;
609
- /** Cell value — numbers render right-aligned in spreadsheet editors. */
610
- value: string | number | boolean | null | undefined;
611
- };
612
- /**
613
- * Value shape of the root `TableContext` consumed by toolbar and body
614
- * components via `useUITableContext`.
615
- */
616
- type TTableContext<TData extends RowData<TData>> = {
617
- /** Human-readable table title rendered in `UITableTooltip`. */
618
- title: string;
619
- /** The TanStack `Table` instance for the current dataset. */
620
- table: Table<TData>;
621
- /** `true` when no rows exist after a successful (non-loading) fetch. */
622
- isEmpty: boolean;
623
- /** `true` while the initial data fetch is in-flight. */
624
- isFetching?: boolean;
625
- /** `true` while a background refetch is running (data is already present). */
626
- isRefetching?: boolean;
627
- /** `true` while any data fetch is in-flight; deprecated in favor of `isFetching` and `isRefetching`. */
628
- isLoading?: boolean;
629
- /** The rows currently visible when loading data */
630
- loadingDisplayRow?: number;
631
- /** Total number of rows in the remote dataset, used for virtual scroll height. */
632
- totalRows?: number;
633
- /** Callback that loads the next page; forwarded to `UITableLoadMore`. */
634
- fetchMoreData?: () => void | Promise<void>;
635
- /** CSS height of the `UITableEmptyDisplay` overlay. Defaults to `384px` when omitted. */
636
- emptyDisplayHeight?: React.CSSProperties['height'];
637
- /** CSV export rows; each row is an ordered array of `{ label, value }` cells. */
638
- csvData?: CsvCell[][];
639
- /** File name (without `.csv`) for the downloaded file. Defaults to the table title. */
640
- csvFileName?: string;
641
- /** Definitions of all filterable fields shown in the "Add Filter" dropdown. */
642
- filterDefinitions?: FilterDefinition[];
643
- /** Called with the full list of active filters whenever filters are added, removed, or updated. */
644
- onFilterChange?: (filters: ActiveFilter[]) => void;
645
- /** KPI stat cards displayed in `UITableSummaryBar` above the toolbar. */
646
- summary?: SummaryItem[];
647
- /** When `true`, a toggle button appears in `UITableTooltipActions` to open `UITableAnalysisPanel`. */
648
- showAnalysisPanel?: boolean;
649
- };
650
- /** Context value provided by `UITableInnerWrapperProvider`. */
651
- type TTableInnerWrapperContext = {
652
- /** Stable `useId`-generated id on the scrollable inner wrapper `<div>`. */
653
- innerWrapperId: string;
654
- };
655
- /** Context value provided by `UITableInnerTableProvider`. */
656
- type TTableInnerTableContext = {
657
- /** The TanStack `Table` instance (typed as `AnyEntity` for the context boundary). */
658
- table: Table<AnyEntity>;
659
- /** Stable `useId`-generated id on the `<table>` element. */
660
- innerTableId: string;
661
- /** Pre-computed sum of all column sizes used as the `<table>` `minWidth`. */
662
- totalSize: number;
663
- };
664
- /** Context value provided by `UITableHeadRowProvider`. */
665
- type TTableHeadRowContext = {
666
- /** Whether every visible row is currently selected. */
667
- isAllRowsSelected: boolean;
668
- /** The current `{ left, right }` column pinning map. */
669
- columnPinningState: ColumnPinningState;
670
- /** Ordered list of `Header` objects in the left-pinned group. */
671
- leftPinnedHeaders: Header<AnyEntity, unknown>[];
672
- /** Ordered list of `Header` objects in the right-pinned group. */
673
- rightPinnedHeaders: Header<AnyEntity, unknown>[];
674
- /** Toggles all-row selection; delegates to `table.toggleAllRowsSelected`. */
675
- onToggleAllRowsSelected?: (value?: boolean) => void;
676
- };
677
- /** Context value provided by `UITableBodyProvider`. */
678
- type TTableBodyContext = {
679
- /** `true` while data is loading; causes `UITableBody` to render `null`. */
680
- isFetching: boolean;
681
- /** `true` while a background refetch is running; passed to `UITableEmptyDisplay`. */
682
- isRefetching: boolean;
683
- /** `true` when there are no rows after a successful fetch. */
684
- isEmpty: boolean;
685
- /** The current `Record<rowId, boolean>` row-selection map from TanStack state. */
686
- rowSelectionState: RowSelectionState;
687
- };
688
- /** Context value provided by `UITableRowProvider`, consumed by individual `UITableRow` renders. */
689
- type TTableRowContext<TData extends RowData<TData> = RowData<AnyEntity>, TKey extends keyof TData = keyof TData> = {
690
- /** The data key whose value is passed as the second argument to `onClickRow`. */
691
- keyOfClickRow?: TKey;
692
- /** Whether all rows are selected (drives the select cell's checked state). */
693
- isAllRowsSelected?: boolean;
694
- /** The current `{ left, right }` column pinning map used by each cell. */
695
- columnPinningState: ColumnPinningState;
696
- /** Called with the virtual row index and the extracted `keyOfClickRow` value. */
697
- onClickRow?: (rowIndex: number, rowId?: AnyEntity) => void;
698
- /** Left-pinned headers used to determine border separator placement. */
699
- leftPinnedHeaders?: Header<TData, unknown>[];
700
- /** Right-pinned headers used to determine border separator placement. */
701
- rightPinnedHeaders?: Header<TData, unknown>[];
702
- };
703
- /** Context value for the virtualiser, shared between the body and the load-more row. */
704
- type TTableVirtualizerContext = {
705
- /** The TanStack Virtual `Virtualizer` instance driving row windowing. */
706
- rowVirtualizer: Virtualizer<HTMLDivElement, HTMLTableRowElement>;
707
- /** The currently visible `VirtualItem` slice (index + start offset for each row). */
708
- virtualItems: VirtualItem[];
709
- };
710
- /**
711
- * Props accepted by `UITableProvider` — the single entry point for configuring
712
- * a UITable instance.
713
- *
714
- * @example
715
- * ```tsx
716
- * import { UITableProvider } from '@customafk/lunas-ui/features/tables';
717
- *
718
- * <UITableProvider<User>
719
- * title="Users"
720
- * data={users}
721
- * columns={columns}
722
- * totalRows={total}
723
- * isFetching={isLoading}
724
- * leftPinnedColumns={['name']}
725
- * onClickRow={(index, id) => openDetail(id)}
726
- * onRowSelection={sel => setSelected(sel)}
727
- * fetchMoreData={fetchNextPage}
728
- * >
729
- * <UITable />
730
- * </UITableProvider>
731
- * ```
732
- */
733
- type TableProviderProps<TData extends RowData<TData>, TKey extends keyof TData = keyof TData, TColumns extends ReadonlyArray<TUITableColumn<TData>> = TUITableColumn<TData>[]> = {
734
- /** Human-readable label shown in `UITableTooltip`. */
735
- title: string;
736
- /** Pass `true` while the initial page of data is being fetched. */
737
- isFetching?: boolean;
738
- /** Pass `true` while a background refetch is running (stale data remains visible). */
739
- isRefetching?: boolean;
740
- /** Pass `true` while any data fetch is in-flight; deprecated in favor of `isFetching` and `isRefetching`. */
741
- isLoading?: boolean;
742
- /** The rows currently visible when loading data */
743
- loadingDisplayRow?: number;
744
- /** The current page / slice of row data. */
745
- data: TData[];
746
- /** Typed column definitions; use `TUITableColumn<TData>` for full type safety. */
747
- columns: TColumns;
748
- /** Total number of rows in the remote dataset; required for accurate virtual-scroll height. */
749
- totalRows?: number;
750
- /**
751
- * Async callback invoked by `UITableLoadMore` when the user scrolls to the
752
- * bottom or clicks "Load More". Omit to hide the load-more row entirely.
753
- */
754
- fetchMoreData?: () => void | Promise<void>;
755
- /** Column accessor keys to pin on the left (the `select` column is always pinned left). */
756
- leftPinnedColumns?: Array<TColumns[number]['accessorKey']>;
757
- /** Column accessor keys (or plain string ids) to pin on the right. */
758
- rightPinnedColumns?: Array<TColumns[number]['accessorKey']> | string[];
759
- /** Data key whose value is extracted and passed as the second argument of `onClickRow`. */
760
- keyOfClickRow?: TTableRowContext<TData, TKey>['keyOfClickRow'];
761
- /** Called with the virtual row index and the value of `keyOfClickRow` when a row is clicked. */
762
- onClickRow?: TTableRowContext<TData, TKey>['onClickRow'];
763
- /** Called with the updated row-selection map after each selection change. */
764
- onRowSelection?: (rowSelection: RowSelectionState) => void;
765
- /** Called with the updated column-pinning state after each pin/unpin action. */
766
- onColumnPinning?: (columnPinning: ColumnPinningState) => void;
767
- /** CSS height of the `UITableEmptyDisplay` overlay. Defaults to `384px` when omitted. */
768
- emptyDisplayHeight?: React.CSSProperties['height'];
769
- /** CSV export rows; each row is an ordered array of `{ label, value }` cells. */
770
- csvData?: CsvCell[][];
771
- /** File name (without `.csv`) for the downloaded file. Defaults to the table title. */
772
- csvFileName?: string;
773
- /** Definitions of all filterable fields shown in the "Add Filter" dropdown. */
774
- filterDefinitions?: FilterDefinition[];
775
- /** Called with the full list of active filters whenever filters are added, removed, or updated. */
776
- onFilterChange?: (filters: ActiveFilter[]) => void;
777
- /** KPI stat cards displayed in `UITableSummaryBar` above the toolbar. */
778
- summary?: SummaryItem[];
779
- /** When `true`, a toggle button appears in `UITableTooltipActions` to open `UITableAnalysisPanel`. */
780
- showAnalysisPanel?: boolean;
781
- };
782
- type FilterType = 'tag' | 'single-tag' | 'date-range' | 'number' | 'text' | 'boolean';
783
- /** A selectable option for tag/enum filters. */
784
- type FilterOption = {
785
- label: string;
786
- value: string;
787
- };
788
- /**
789
- * Declares a filterable field available in the "Add Filter" dropdown.
790
- * `options` is required when `type === 'tag'`.
791
- */
792
- type FilterDefinition = {
793
- id: string;
794
- label: string;
795
- type: FilterType;
796
- options?: FilterOption[];
797
- };
798
- type TagFilterValue = {
799
- type: 'tag';
800
- values: string[];
801
- };
802
- type SingleTagFilterValue = {
803
- type: 'single-tag';
804
- value: string | null;
805
- };
806
- type DateRangeFilterValue = {
807
- type: 'date-range';
808
- /** ISO date string, e.g. `"2024-01-01"`. */
809
- from?: string;
810
- to?: string;
811
- };
812
- type NumberFilterValue = {
813
- type: 'number';
814
- operator: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'between';
815
- value?: number;
816
- valueTo?: number;
817
- };
818
- type TextFilterValue = {
819
- type: 'text';
820
- operator: 'contains' | 'equals' | 'starts-with' | 'ends-with';
821
- value: string;
822
- };
823
- type BooleanFilterValue = {
824
- type: 'boolean';
825
- value: boolean | null;
826
- };
827
- type FilterValue = TagFilterValue | SingleTagFilterValue | DateRangeFilterValue | NumberFilterValue | TextFilterValue | BooleanFilterValue;
828
- /** An active (added) filter instance with its current value. */
829
- type ActiveFilter = {
830
- /** Unique instance id for this filter entry. */
831
- id: string;
832
- /** References a `FilterDefinition.id`. */
833
- definitionId: string;
834
- value: FilterValue;
835
- };
836
- /** Context value exposed by `UITableProvider` for the filter panel. */
837
- type TTableFilterContext = {
838
- filterDefinitions: FilterDefinition[];
839
- activeFilters: ActiveFilter[];
840
- addFilter: (definitionId: string) => void;
841
- removeFilter: (filterId: string) => void;
842
- updateFilter: (filterId: string, value: FilterValue) => void;
843
- };
844
- //#endregion
845
- //#region packages/components/features/tables/components/commons/body.d.ts
846
- declare const UITableBody: react642.NamedExoticComponent<TUITableBody>;
847
- //#endregion
848
- //#region packages/components/features/tables/components/commons/cell.d.ts
849
- declare const UITableCell: react642.NamedExoticComponent<TUITableCell>;
850
- //#endregion
851
- //#region packages/components/features/tables/components/commons/cell-actions.d.ts
852
- declare const UITableCellActions: react642.NamedExoticComponent<TUITableCellActions>;
853
- //#endregion
854
- //#region packages/components/features/tables/components/commons/cell-select.d.ts
855
- declare const UITableCellSelect: react642.NamedExoticComponent<TUITableCellSelect>;
856
- //#endregion
857
- //#region packages/components/features/tables/components/commons/empty-display.d.ts
858
- declare const UITableEmptyDisplay: react642.NamedExoticComponent<TUITableEmptyDisplay>;
859
- //#endregion
860
- //#region packages/components/features/tables/components/commons/footer.d.ts
861
- declare const UITableFooter: react642.NamedExoticComponent<TUITableFooter>;
862
- //#endregion
863
- //#region packages/components/features/tables/components/commons/footer-row.d.ts
864
- declare const UITableFooterRow: react642.MemoExoticComponent<() => react642.JSX.Element | null>;
865
- //#endregion
866
- //#region packages/components/features/tables/components/commons/head.d.ts
867
- declare const UITableHead: react642.NamedExoticComponent<TUITableHead>;
868
- //#endregion
869
- //#region packages/components/features/tables/components/commons/head-cell.d.ts
870
- declare const UITableHeadCell: react642.NamedExoticComponent<TUITableHeadCell>;
871
- //#endregion
872
- //#region packages/components/features/tables/components/commons/head-cell-option.d.ts
873
- declare const UITableHeadCellOption: react642.NamedExoticComponent<TUITableHeadCellOption>;
874
- //#endregion
875
- //#region packages/components/features/tables/components/commons/head-cell-select.d.ts
876
- declare const UITableHeadCellSelect: react642.NamedExoticComponent<TUITableHeadCellSelect>;
877
- //#endregion
878
- //#region packages/components/features/tables/components/commons/head-row.d.ts
879
- declare const UITableHeadRow: react642.NamedExoticComponent<TUITableHeadRow>;
880
- //#endregion
881
- //#region packages/components/features/tables/components/commons/inner-table.d.ts
882
- declare const UITableInnerTable: react642.NamedExoticComponent<TUITableInnerTable>;
883
- //#endregion
884
- //#region packages/components/features/tables/components/commons/inner-wrapper.d.ts
885
- declare const UITableInnerWrapper: react642.NamedExoticComponent<TUITableInnerWrapper>;
886
- //#endregion
887
- //#region packages/components/features/tables/components/commons/load-more.d.ts
888
- declare const UITableLoadMore: react642.NamedExoticComponent<TUITableLoadMore>;
889
- //#endregion
890
- //#region packages/components/features/tables/components/commons/row.d.ts
891
- declare const UITableRow: react642.NamedExoticComponent<TUITableRow>;
892
- //#endregion
893
- //#region packages/components/features/tables/components/commons/wrapper.d.ts
894
- declare const UITableWrapper: react642.NamedExoticComponent<TUITableWrapper>;
895
- //#endregion
896
- //#region packages/components/features/tables/components/table.d.ts
897
- declare const UITableContainer: React.FC<React.PropsWithChildren>;
898
- //#endregion
899
- //#region packages/components/features/tables/components/table/analysis-panel.d.ts
900
- declare const UITableAnalysisPanel: react642.MemoExoticComponent<() => react642.JSX.Element>;
901
- //#endregion
902
- //#region packages/components/features/tables/components/table/filter.d.ts
903
- /**
904
- * Collapsible side-panel that lets users toggle column visibility and build
905
- * row filters without leaving the table view.
906
- *
907
- * The panel collapses to a narrow icon strip when no tab is active and expands
908
- * to at least 64 units when the "Columns" or "Filters" tab is selected.
909
- *
910
- * Wire filter capability by passing `filterDefinitions` and `onFilterChange` to
911
- * the parent `UITableProvider`.
912
- *
913
- * @example
914
- * ```tsx
915
- * <UITableProvider
916
- * filterDefinitions={[
917
- * { id: 'status', label: 'Status', type: 'tag', options: [{ label: 'Active', value: 'active' }] },
918
- * { id: 'created', label: 'Created At', type: 'date-range' },
919
- * { id: 'amount', label: 'Amount', type: 'number' },
920
- * ]}
921
- * onFilterChange={filters => console.log(filters)}
922
- * >
923
- * <ResizablePanelGroup direction="horizontal">
924
- * <ResizablePanel><UITable /></ResizablePanel>
925
- * <ResizableHandle />
926
- * <UITableFilter />
927
- * </ResizablePanelGroup>
928
- * </UITableProvider>
929
- * ```
930
- */
931
- declare const UITableFilter: () => react642.JSX.Element;
932
- //#endregion
933
- //#region packages/components/features/tables/components/table/provider.d.ts
934
- /**
935
- * Root context provider for the UITable component family.
936
- *
937
- * Instantiates a TanStack Table instance with virtualisation-friendly settings
938
- * (column pinning, row selection, row grouping, row expansion) and propagates
939
- * all derived state through a nested set of memoised context providers so that
940
- * each layer only re-renders when its own slice of state changes.
941
- *
942
- * @example
943
- * ```tsx
944
- * import { UITableProvider } from '@customafk/lunas-ui/features/tables';
945
- *
946
- * const columns = [
947
- * { accessorKey: 'name', header: 'Name' },
948
- * { accessorKey: 'email', header: 'Email' },
949
- * ];
950
- *
951
- * function MyPage() {
952
- * return (
953
- * <UITableProvider
954
- * title="Users"
955
- * data={users}
956
- * columns={columns}
957
- * isFetching={isLoading}
958
- * onClickRow={(index, id) => console.log(index, id)}
959
- * >
960
- * <UITable />
961
- * </UITableProvider>
962
- * );
963
- * }
964
- * ```
965
- */
966
- declare const UITableProvider: <TData extends RowData<TData> = RowData<AnyEntity>, TKey extends keyof TData = keyof TData, TColumns extends ReadonlyArray<TUITableColumn<TData>> = TUITableColumn<TData>[]>({
967
- title,
968
- isFetching,
969
- isRefetching,
970
- isLoading,
971
- loadingDisplayRow,
972
- data,
973
- columns,
974
- totalRows,
975
- leftPinnedColumns,
976
- rightPinnedColumns,
977
- keyOfClickRow,
978
- onClickRow,
979
- onRowSelection,
980
- onColumnPinning,
981
- fetchMoreData,
982
- emptyDisplayHeight,
983
- csvData,
984
- csvFileName,
985
- filterDefinitions,
986
- onFilterChange,
987
- summary,
988
- showAnalysisPanel,
989
- children
990
- }: React.PropsWithChildren<TableProviderProps<TData, TKey, TColumns>>) => react642.JSX.Element;
991
- //#endregion
992
- //#region packages/components/features/tables/components/table/summary-bar.d.ts
993
- declare const UITableSummaryBar: react642.MemoExoticComponent<() => react642.JSX.Element | null>;
994
- //#endregion
995
- //#region packages/components/features/tables/components/table/tooltip.d.ts
996
- /**
997
- * Debounced search input rendered inside the table toolbar.
998
- *
999
- * Fires `onSearch` 500 ms after the user stops typing and delegates all other
1000
- * native input events via the spread `props`.
1001
- *
1002
- * @example
1003
- * ```tsx
1004
- * import { UITableTooltipFilter } from '@customafk/lunas-ui/features/tables';
1005
- *
1006
- * <UITableTooltipFilter
1007
- * placeholder="Search users…"
1008
- * onSearch={value => setQuery(value)}
1009
- * />
1010
- * ```
1011
- */
1012
- declare const UITableTooltipFilter: React.FC<Omit<React.ComponentProps<typeof Input>, 'className'> & {
1013
- onSearch?: (value: string) => void;
1014
- }>;
1015
- /**
1016
- * Grouped action buttons (create, refresh, download) displayed in the table
1017
- * toolbar.
1018
- *
1019
- * Each button is disabled automatically when the corresponding handler prop is
1020
- * omitted, so only the actions relevant to a given table need to be provided.
1021
- *
1022
- * @example
1023
- * ```tsx
1024
- * import { UITableTooltipActions } from '@customafk/lunas-ui/features/tables';
1025
- *
1026
- * <UITableTooltipActions
1027
- * onCreate={() => setOpenCreate(true)}
1028
- * onRefresh={() => refetch()}
1029
- * />
1030
- * ```
1031
- */
1032
- declare const UITableTooltipActions: React.FC<{
1033
- onCreate?: () => void;
1034
- onRefresh?: () => void;
1035
- onDownload?: () => void;
1036
- }>;
1037
- /**
1038
- * Outer toolbar shell for the UITable component.
1039
- *
1040
- * Reads the table `title` from `UITableContext` and renders it as a heading
1041
- * above the `children` slot, which typically contains a
1042
- * `UITableTooltipFilter` and/or `UITableTooltipActions`.
1043
- *
1044
- * @example
1045
- * ```tsx
1046
- * import {
1047
- * UITableTooltip,
1048
- * UITableTooltipFilter,
1049
- * UITableTooltipActions,
1050
- * } from '@customafk/lunas-ui/features/tables';
1051
- *
1052
- * <UITableTooltip>
1053
- * <UITableTooltipFilter onSearch={setQuery} />
1054
- * <UITableTooltipActions onCreate={handleCreate} onRefresh={refetch} />
1055
- * </UITableTooltip>
1056
- * ```
1057
- */
1058
- declare const UITableTooltip: React.FC<React.PropsWithChildren>;
1059
- //#endregion
1060
- export { TUITableColumn as $, CsvCell as A, UITableBadgeDisplay as At, TTableAnalysisContext as B, UITableCellActions as C, UITableMoreButton as Ct, BooleanFilterValue as D, UITableDateDisplay as Dt, ActiveFilter as E, UITableDescriptionDisplay as Et, FilterValue as F, TTableInnerTableContext as G, TTableContext as H, NumberFilterValue as I, TTableVirtualizerContext as J, TTableInnerWrapperContext as K, RowData as L, FilterDefinition as M, FilterOption as N, ColumnAggregation as O, UITableCurrencyDisplay as Ot, FilterType as P, TUITableCellSelect as Q, SingleTagFilterValue as R, UITableCellSelect as S, UITableNameDisplay as St, UITableBody as T, UITableEmailDisplay as Tt, TTableFilterContext as U, TTableBodyContext as V, TTableHeadRowContext as W, TUITableCell as X, TUITableBody as Y, TUITableCellActions as Z, UITableHeadCell as _, UITableStatisticDisplay as _t, UITableProvider as a, TUITableHeadCellSelect as at, UITableFooter as b, UITablePhoneNumberDisplay as bt, UITableContainer as c, TUITableInnerWrapper as ct, UITableLoadMore as d, TUITableWrapper as dt, TUITableEmptyDisplay as et, UITableInnerWrapper as f, TableProviderProps as ft, UITableHeadCellOption as g, UITableStatusDisplay as gt, UITableHeadCellSelect as h, UITableUserDataDisplay as ht, UITableSummaryBar as i, TUITableHeadCellOption as it, DateRangeFilterValue as j, ColumnAggregationType as k, UITableBooleanDisplay as kt, UITableWrapper as l, TUITableLoadMore as lt, UITableHeadRow as m, TextFilterValue as mt, UITableTooltipActions as n, TUITableHead as nt, UITableFilter as o, TUITableHeadRow as ot, UITableInnerTable as p, TagFilterValue as pt, TTableRowContext as q, UITableTooltipFilter as r, TUITableHeadCell as rt, UITableAnalysisPanel as s, TUITableInnerTable as st, UITableTooltip as t, TUITableFooter as tt, UITableRow as u, TUITableRow as ut, UITableHead as v, UITableRemoveButton as vt, UITableCell as w, UITableListDisplay as wt, UITableEmptyDisplay as x, UITablePermalink as xt, UITableFooterRow as y, UITableProgressDisplay as yt, SummaryItem as z };
1061
- //# sourceMappingURL=index-C6nrbQ-E.d.cts.map