@povio/ui 5.0.1-rc.1 → 5.1.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/README.md +23 -0
  2. package/dist/{Alert-24ruR0iF.d.ts → Alert-3z2jSCTG.d.ts} +2 -2
  3. package/dist/{AlertDialog-Co3gNMwE.d.ts → AlertDialog-DqeuAY3w.d.ts} +3 -3
  4. package/dist/{Autocomplete-BQ9ZQoJt.d.ts → Autocomplete-CzNavrBV.d.ts} +1 -1
  5. package/dist/{Autocomplete-XP-Qdlrm.js → Autocomplete-ltX881u8.js} +5 -5
  6. package/dist/{Autocomplete.bound-DCbFBXjJ.d.ts → Autocomplete.bound-ClJZyVzI.d.ts} +1 -1
  7. package/dist/{Autocomplete.bound-DFL87TOZ.js → Autocomplete.bound-eZhv11nv.js} +2 -2
  8. package/dist/{Badge-DZLVacMd.d.ts → Badge-BwNnJ7NY.d.ts} +2 -2
  9. package/dist/{BadgeButton-coK9Fzoc.d.ts → BadgeButton-3UP_Pgy8.d.ts} +2 -2
  10. package/dist/{BottomSheet-BlcmdfAT.d.ts → BottomSheet-DzQwxcMV.d.ts} +1 -1
  11. package/dist/{BottomSheet-CGipksM_.js → BottomSheet-lqoe0iVM.js} +1 -1
  12. package/dist/{BottomSheet.lazy-CGjuurej.d.ts → BottomSheet.lazy-T10KW8JU.d.ts} +1 -1
  13. package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-B7i7tj1S.js} +1 -1
  14. package/dist/{Breadcrumbs-DfREVuAC.d.ts → Breadcrumbs-DPOrdGnx.d.ts} +1 -1
  15. package/dist/{Button-Cphxmj43.d.ts → Button-D7mAz3o1.d.ts} +1 -1
  16. package/dist/{Button-dRFJundh.js → Button-H57bVL_6.js} +1 -1
  17. package/dist/{ButtonBase-BCYFCbSV.js → ButtonBase-CWDfj0KX.js} +1 -1
  18. package/dist/{ButtonBase-CfSqmiom.d.ts → ButtonBase-CbKDIpOJ.d.ts} +3 -3
  19. package/dist/{Calendar-DLlUsZP2.js → Calendar-BpGHCDvi.js} +38 -18
  20. package/dist/{Calendar.lazy-Bl5amf0W.js → Calendar.lazy-OV2WJQ8o.js} +3 -3
  21. package/dist/{Checkbox-DYeofZzs.js → Checkbox-BVqa6I9c.js} +2 -2
  22. package/dist/{Checkbox-D2VVq5Bi.d.ts → Checkbox-Cvd1vtaW.d.ts} +1 -1
  23. package/dist/{Checkbox.bound-DQYJMtCs.js → Checkbox.bound-B39Evq7K.js} +2 -2
  24. package/dist/{Checkbox.bound-Hdvnrnwb.d.ts → Checkbox.bound-BLTmVcWY.d.ts} +1 -1
  25. package/dist/{CheckboxCheckmark-DYhxLfZN.js → CheckboxCheckmark-Bqp1iJtc.js} +2 -2
  26. package/dist/{CheckboxGroup-CK_tTvvI.js → CheckboxGroup-DsmGSrBY.js} +3 -3
  27. package/dist/{CheckboxGroup-CTkBMnBN.d.ts → CheckboxGroup-PSD4nJqs.d.ts} +3 -3
  28. package/dist/{CheckboxGroup.bound-C6e91DCT.d.ts → CheckboxGroup.bound-CcEF4b4q.d.ts} +1 -1
  29. package/dist/{CheckboxGroup.bound-wGcpw5tY.js → CheckboxGroup.bound-Dbs8KMqp.js} +2 -2
  30. package/dist/ColumnConfigContent-MtKLfgku.js +1025 -0
  31. package/dist/ColumnListContent-C6khJOwP.js +410 -0
  32. package/dist/{DatePicker-CqkS8dCf.js → DatePicker-DtUWJl9o.js} +44 -12
  33. package/dist/{DatePicker-1VbVBI4l.d.ts → DatePicker-euSuOBn8.d.ts} +3 -3
  34. package/dist/{DatePicker.bound-Bg524WMN.js → DatePicker.bound-BYezHwl1.js} +2 -2
  35. package/dist/{DatePicker.bound-ZvJi_V8D.d.ts → DatePicker.bound-DpAJaYQj.d.ts} +1 -1
  36. package/dist/{DatePickerInput-jrCYehXn.js → DatePickerInput-DsEd7b2_.js} +5 -5
  37. package/dist/{DatePickerInput-B8UhMVP6.d.ts → DatePickerInput-iuVajauQ.d.ts} +3 -3
  38. package/dist/{DateRangePicker-DfLnonW1.js → DateRangePicker-CH6UKK9U.js} +8 -8
  39. package/dist/{DateRangePicker-B8O8nA1M.d.ts → DateRangePicker-CQ9667ae.d.ts} +3 -3
  40. package/dist/{DateRangePicker.bound-B_Lg8Tna.d.ts → DateRangePicker.bound-CVytnvNT.d.ts} +1 -1
  41. package/dist/{DateRangePicker.bound-Cahr-3cK.js → DateRangePicker.bound-DZPaqDgy.js} +2 -2
  42. package/dist/{DateTimePicker-BRy_VN63.d.ts → DateTimePicker-BUj8KgZy.d.ts} +3 -3
  43. package/dist/{DateTimePicker-BL8koIhS.js → DateTimePicker-fDNlZSYR.js} +6 -6
  44. package/dist/{DateTimePicker.bound-BheJ0Rny.js → DateTimePicker.bound-Bx3qTVAb.js} +2 -2
  45. package/dist/{DateTimePicker.bound-Bt9wdYeR.d.ts → DateTimePicker.bound-DGV59onh.d.ts} +1 -1
  46. package/dist/{Dialog-B10YV23i.js → Dialog-DsJcQ_B9.js} +1 -1
  47. package/dist/{Dialog-CDiUZFcf.d.ts → Dialog-cvoTQ0Q5.d.ts} +1 -1
  48. package/dist/{DropdownMenu-oJzwpMXL.d.ts → DropdownMenu-BunmrISn.d.ts} +2 -2
  49. package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-D_FBtdPP.js} +3 -3
  50. package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BjGcbdmX.js} +1 -1
  51. package/dist/{FileInput-3wNdotBt.js → FileInput-BVpASKhd.js} +4 -4
  52. package/dist/{FileInput-Bm3_nNb4.d.ts → FileInput-CyJ1lS_M.d.ts} +5 -5
  53. package/dist/{FileInput.bound-puNboLYc.d.ts → FileInput.bound-Bj0wqy_j.d.ts} +1 -1
  54. package/dist/{FileInput.bound-CJdou4D6.js → FileInput.bound-wXFOGGaf.js} +2 -2
  55. package/dist/{FileUpload-ksjKICmv.d.ts → FileUpload-C5vD0XwE.d.ts} +1 -1
  56. package/dist/{FileUpload-C3IMKBRp.js → FileUpload-C9DYuUCV.js} +519 -43
  57. package/dist/{FileUpload.bound-Bf4LzJUU.js → FileUpload.bound-Cg-UXoMS.js} +2 -2
  58. package/dist/{FileUpload.bound-D4sr1tsH.d.ts → FileUpload.bound-CyGZoKDo.d.ts} +2 -2
  59. package/dist/{FileUploadContainer-DRIxUmp2.d.ts → FileUploadContainer-C8BJZBCe.d.ts} +1 -1
  60. package/dist/{FormField-dduTMkNH.js → FormField-ClLu7Hix.js} +2 -2
  61. package/dist/{FormField-DHCcfchm.d.ts → FormField-DmHAgmuK.d.ts} +1 -1
  62. package/dist/{IconButton-BqmX_sMz.d.ts → IconButton-CSlnw5E9.d.ts} +1 -1
  63. package/dist/{Input-DRR8_MgG.js → Input-mklnGVj8.js} +4 -4
  64. package/dist/{Input-DKNzGXy-.d.ts → Input-xhXO7KC_.d.ts} +3 -3
  65. package/dist/{Input.bound-BxngTsaq.d.ts → Input.bound-DYp-XoV2.d.ts} +1 -1
  66. package/dist/{Input.bound-3CTdQnA8.js → Input.bound-DtcY7_cb.js} +2 -2
  67. package/dist/{InputContent-C5wdgK9u.d.ts → InputContent-B89TmyOY.d.ts} +3 -3
  68. package/dist/{InputContent-BkNnqXt3.js → InputContent-Ch4Yyc8u.js} +2 -2
  69. package/dist/{Link-n1MxiBY_.d.ts → Link-DC_uUmIl.d.ts} +2 -2
  70. package/dist/{MenuItem-Cj7ytjH0.d.ts → MenuItem-BuyuOJ3X.d.ts} +1 -1
  71. package/dist/{NumberField-BUTmx-kv.d.ts → NumberField-Cjz4yzCR.d.ts} +3 -3
  72. package/dist/{NumberField-OjtbK2Uh.js → NumberField-PlmDroE9.js} +4 -4
  73. package/dist/{NumberField.bound-D-uZoLYH.js → NumberField.bound-D-Pd4YZV.js} +2 -2
  74. package/dist/{NumberField.bound-DhGXXd4v.d.ts → NumberField.bound-DuM3EL1B.d.ts} +1 -1
  75. package/dist/{NumberRangeInput-BwUPbB0M.d.ts → NumberRangeInput-BMDfMeC5.d.ts} +2 -2
  76. package/dist/{NumberRangeInput-EKzbxaN0.js → NumberRangeInput-C7vydtSQ.js} +3 -3
  77. package/dist/{NumberRangeInput.bound-CmXDNvF1.js → NumberRangeInput.bound-BgCOKi83.js} +2 -2
  78. package/dist/{NumberRangeInput.bound-j_WC6iJC.d.ts → NumberRangeInput.bound-CahQ9iuE.d.ts} +1 -1
  79. package/dist/{PageHeader-DtV-4JEh.d.ts → PageHeader-CDexgEIV.d.ts} +2 -2
  80. package/dist/{PasswordInput-DNt_CfI8.d.ts → PasswordInput-DsjgRmhd.d.ts} +1 -1
  81. package/dist/{PasswordInput.bound-lnJeVf4k.js → PasswordInput.bound-D1bEcO2k.js} +2 -2
  82. package/dist/{PasswordInput.bound-EOqjNEVC.d.ts → PasswordInput.bound-rCo5CpOK.d.ts} +1 -1
  83. package/dist/{Popover-DRqROtxR.d.ts → Popover-rm2JF58P.d.ts} +2 -2
  84. package/dist/{Progress-uzAAtLNk.d.ts → Progress-Bj1zC3a3.d.ts} +2 -2
  85. package/dist/{RadioGroup-skcBf54J.d.ts → RadioGroup-BluoF3mx.d.ts} +3 -3
  86. package/dist/{RadioGroup-Dvq0TiEB.js → RadioGroup-CLEy2OHD.js} +2 -2
  87. package/dist/{RadioGroup.bound-CpxN2p6t.d.ts → RadioGroup.bound-CVh0pZZU.d.ts} +1 -1
  88. package/dist/{RadioGroup.bound-Dya9IgZr.js → RadioGroup.bound-DgzHI19M.js} +2 -2
  89. package/dist/{RangeCalendar-BuRiCB7z.js → RangeCalendar-vT9767N9.js} +4 -4
  90. package/dist/{RichTextEditor-B9zaBMWl.d.ts → RichTextEditor-BzkDUUMg.d.ts} +1 -1
  91. package/dist/{RichTextEditor-Cg-S5lhK.js → RichTextEditor-CQuKGb_f.js} +5 -5
  92. package/dist/{Select-DfgTo2X3.js → Select-Bbg7kQ-r.js} +31 -15
  93. package/dist/{Select-DNF-GpuC.d.ts → Select-CG8_UiQY.d.ts} +3 -3
  94. package/dist/{Select.bound-XC8lgM6E.js → Select.bound-C6LgkbEl.js} +2 -2
  95. package/dist/{Select.bound-CpN6KalY.d.ts → Select.bound-DGBQc7nk.d.ts} +1 -1
  96. package/dist/{SelectListBox-B_bqWSLU.js → SelectListBox-BWDULGz1.js} +12 -9
  97. package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BjZWIqMu.js} +1 -1
  98. package/dist/{SidebarWorkspaces-Drgog0IO.d.ts → SidebarWorkspaces-mB1TJUPg.d.ts} +1 -1
  99. package/dist/{Slider-JlRCD72s.d.ts → Slider-DXhGPtgV.d.ts} +1 -1
  100. package/dist/{Slider-DCsCCPFx.js → Slider-T_zBKcp_.js} +2 -2
  101. package/dist/{Slider.bound-DO1l_qJQ.js → Slider.bound-2aj5NiDJ.js} +2 -2
  102. package/dist/{Slider.bound-BChOUGvm.d.ts → Slider.bound-DGHMIc3q.d.ts} +1 -1
  103. package/dist/{Spinner-DNguPtBP.d.ts → Spinner-DSEOXIHo.d.ts} +2 -2
  104. package/dist/{SplitButton-BTuc5oYU.d.ts → SplitButton-ZMn505Se.d.ts} +3 -3
  105. package/dist/{Stepper-DNu5YlbG.d.ts → Stepper-DfpoUFYB.d.ts} +2 -2
  106. package/dist/{Switch-CVt-dT9Z.d.ts → Switch-B0bbjNwQ.d.ts} +1 -1
  107. package/dist/{Switch-BfpSMMpv.js → Switch-Dik84BLQ.js} +1 -1
  108. package/dist/{Switch.bound-D8QsLsS4.js → Switch.bound-Bwg3rU0k.js} +2 -2
  109. package/dist/{Switch.bound-56C86rOe.d.ts → Switch.bound-D7bnimHZ.d.ts} +1 -1
  110. package/dist/TableDnd-DHj07yzN.js +224 -0
  111. package/dist/TableDragHandle-DCIFTOUn.js +42 -0
  112. package/dist/{TableRowDetails-A_FdBE_d.d.ts → TableRowDetails-DltMuPo7.d.ts} +9 -5
  113. package/dist/{TabsFilters-DtZrvnTC.js → TabsFilters-Cem8lcer.js} +2 -2
  114. package/dist/{TabsFilters-BDoCGfRA.d.ts → TabsFilters-CjEEQKYT.d.ts} +1 -1
  115. package/dist/{Tag-BxYYX-i7.d.ts → Tag-B14abMT9.d.ts} +3 -3
  116. package/dist/{TextArea-nySHbed0.js → TextArea-D5Lgb6SZ.js} +3 -3
  117. package/dist/{TextArea-DxAHDgz4.d.ts → TextArea-DhbJy8uv.d.ts} +2 -2
  118. package/dist/{TextArea.bound-DbSMg_Kz.js → TextArea.bound--oJSDdau.js} +2 -2
  119. package/dist/{TextArea.bound-oSnqk1Un.d.ts → TextArea.bound-DHvQxlQg.d.ts} +1 -1
  120. package/dist/{TimePicker-Fnj3QZ3G.js → TimePicker-Bifd7_Y2.js} +5 -5
  121. package/dist/{TimePicker-Yg84ntZH.d.ts → TimePicker-C3ZFFe8u.d.ts} +2 -2
  122. package/dist/{TimePicker.bound-DLflOXZm.js → TimePicker.bound-CQJr-6uM.js} +2 -2
  123. package/dist/{TimePicker.bound-5b_qcmeo.d.ts → TimePicker.bound-CaGbWZUe.d.ts} +1 -1
  124. package/dist/{TimePickerForm-Bv8S3M_p.js → TimePickerForm-CIF4b0PP.js} +13 -8
  125. package/dist/{Toast-DbIZorlS.d.ts → Toast-C0yoVPbM.d.ts} +1 -1
  126. package/dist/{ToastContainer-DtpZaefx.js → ToastContainer-D5_hHZhH.js} +26 -3
  127. package/dist/{ToggleButton-CdcLn-PW.d.ts → ToggleButton-B746UBfP.d.ts} +1 -1
  128. package/dist/{ToggleGroup-Co1-A0Ti.js → ToggleGroup-C8klrNGR.js} +2 -2
  129. package/dist/{ToggleGroup-Cbx9Keza.d.ts → ToggleGroup-Cz2X_mUg.d.ts} +1 -1
  130. package/dist/{ToggleGroup.bound-DNxhSz1h.js → ToggleGroup.bound-C2qh-Mz4.js} +2 -2
  131. package/dist/{ToggleGroup.bound-dDLGgcJm.d.ts → ToggleGroup.bound-MWUtK8p7.d.ts} +1 -1
  132. package/dist/{Tooltip-Bg9AFtGw.d.ts → Tooltip-BdDB-jLQ.d.ts} +1 -1
  133. package/dist/{TooltipWrapper-DmcWMIp0.js → TooltipWrapper-CE9EbzEM.js} +2 -2
  134. package/dist/{Typography-MkA6LnHW.d.ts → Typography-ryUkrthX.d.ts} +1 -1
  135. package/dist/{badgeButton.cva-Bjhs4ops.d.ts → badgeButton.cva-BJhZkwfd.d.ts} +3 -3
  136. package/dist/{badgeButton.cva-CqaR8KBt.js → badgeButton.cva-DbGx8oRe.js} +3 -2
  137. package/dist/{button.cva-DoDFPTm5.d.ts → button.cva-C7-6mWL5.d.ts} +3 -3
  138. package/dist/{buttonContent.cva-Dj7Eve71.d.ts → buttonContent.cva-Dr0_vUMc.d.ts} +2 -2
  139. package/dist/calendar.cva-BEQxOs-f.js +195 -0
  140. package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
  141. package/dist/{checkbox.cva-DUvQJdT-.d.ts → checkbox.cva-DvVJGRv1.d.ts} +3 -3
  142. package/dist/columnConfig.cva-CERwSZRN.js +29 -0
  143. package/dist/components/alert-dialog.d.ts +1 -1
  144. package/dist/components/alert-dialog.js +3 -3
  145. package/dist/components/alert.d.ts +1 -1
  146. package/dist/components/autocomplete.d.ts +1 -1
  147. package/dist/components/autocomplete.js +1 -1
  148. package/dist/components/badge-button.d.ts +1 -1
  149. package/dist/components/badge-button.js +28 -21
  150. package/dist/components/badge.d.ts +1 -1
  151. package/dist/components/badge.js +3 -3
  152. package/dist/components/bottom-sheet-header.d.ts +1 -1
  153. package/dist/components/bottom-sheet-header.js +22 -18
  154. package/dist/components/bottom-sheet.d.ts +2 -2
  155. package/dist/components/bottom-sheet.js +1 -1
  156. package/dist/components/breadcrumbs.d.ts +1 -1
  157. package/dist/components/breadcrumbs.js +1 -1
  158. package/dist/components/button.d.ts +2 -2
  159. package/dist/components/button.js +1 -1
  160. package/dist/components/checkbox-group.d.ts +1 -1
  161. package/dist/components/checkbox-group.js +1 -1
  162. package/dist/components/checkbox.d.ts +1 -1
  163. package/dist/components/checkbox.js +1 -1
  164. package/dist/components/date-picker.d.ts +1 -1
  165. package/dist/components/date-picker.js +1 -1
  166. package/dist/components/date-range-picker.d.ts +1 -1
  167. package/dist/components/date-range-picker.js +1 -1
  168. package/dist/components/date-time-picker.d.ts +1 -1
  169. package/dist/components/date-time-picker.js +1 -1
  170. package/dist/components/dialog.d.ts +1 -1
  171. package/dist/components/dialog.js +1 -1
  172. package/dist/components/dropdown-menu.d.ts +2 -2
  173. package/dist/components/dropdown-menu.js +2 -2
  174. package/dist/components/file-input.d.ts +1 -1
  175. package/dist/components/file-input.js +1 -1
  176. package/dist/components/file-upload-container.d.ts +2 -2
  177. package/dist/components/file-upload-container.js +1 -1
  178. package/dist/components/file-upload.d.ts +2 -2
  179. package/dist/components/file-upload.js +1 -1
  180. package/dist/components/form-field.d.ts +1 -1
  181. package/dist/components/form-field.js +1 -1
  182. package/dist/components/icon-button.d.ts +1 -1
  183. package/dist/components/icon-button.js +1 -1
  184. package/dist/components/icon-slot.d.ts +1 -1
  185. package/dist/components/input-frame.d.ts +4 -4
  186. package/dist/components/input-frame.js +5 -5
  187. package/dist/components/input.d.ts +1 -1
  188. package/dist/components/input.js +1 -1
  189. package/dist/components/link.d.ts +1 -1
  190. package/dist/components/number-field.d.ts +1 -1
  191. package/dist/components/number-field.js +1 -1
  192. package/dist/components/number-range-input.d.ts +1 -1
  193. package/dist/components/number-range-input.js +1 -1
  194. package/dist/components/page-header.d.ts +1 -1
  195. package/dist/components/page-header.js +1 -1
  196. package/dist/components/password-input.d.ts +1 -1
  197. package/dist/components/password-input.js +2 -2
  198. package/dist/components/popover.d.ts +1 -1
  199. package/dist/components/popover.js +1 -1
  200. package/dist/components/progress.d.ts +1 -1
  201. package/dist/components/radio-group.d.ts +1 -1
  202. package/dist/components/radio-group.js +1 -1
  203. package/dist/components/select.d.ts +1 -1
  204. package/dist/components/select.js +1 -1
  205. package/dist/components/sidebar.d.ts +1 -1
  206. package/dist/components/sidebar.js +1 -1
  207. package/dist/components/slider.d.ts +1 -1
  208. package/dist/components/slider.js +1 -1
  209. package/dist/components/spinner.d.ts +1 -1
  210. package/dist/components/split-button.d.ts +1 -1
  211. package/dist/components/split-button.js +2 -2
  212. package/dist/components/stepper.d.ts +1 -1
  213. package/dist/components/style-definitions.d.ts +2 -2
  214. package/dist/components/style-definitions.js +32 -5
  215. package/dist/components/switch.d.ts +1 -1
  216. package/dist/components/switch.js +1 -1
  217. package/dist/components/tabs-filters.d.ts +1 -1
  218. package/dist/components/tabs-filters.js +1 -1
  219. package/dist/components/tag.d.ts +1 -1
  220. package/dist/components/tag.js +2 -2
  221. package/dist/components/text-area.d.ts +1 -1
  222. package/dist/components/text-area.js +1 -1
  223. package/dist/components/time-picker.d.ts +1 -1
  224. package/dist/components/time-picker.js +1 -1
  225. package/dist/components/toast.d.ts +2 -2
  226. package/dist/components/toast.js +2 -2
  227. package/dist/components/toggle-button.d.ts +1 -1
  228. package/dist/components/toggle-button.js +1 -1
  229. package/dist/components/toggle-group.d.ts +1 -1
  230. package/dist/components/toggle-group.js +1 -1
  231. package/dist/components/tooltip.d.ts +1 -1
  232. package/dist/components/typography.d.ts +2 -2
  233. package/dist/components/use-toast.d.ts +1 -1
  234. package/dist/components/use-toast.js +2 -2
  235. package/dist/config/component-configuration.d.ts +2 -2
  236. package/dist/config/confirmation.d.ts +1 -1
  237. package/dist/config/confirmation.js +1 -1
  238. package/dist/config/link-context.d.ts +2 -2
  239. package/dist/config/resources.d.ts +1 -1
  240. package/dist/config/resources.js +1 -1
  241. package/dist/config/ui-config.d.ts +2 -2
  242. package/dist/config/ui-config.js +1 -1
  243. package/dist/config/ui-overrides.d.ts +1 -1
  244. package/dist/{confirmation.context-CAt_T5qZ.d.ts → confirmation.context-DLNfuF_4.d.ts} +1 -1
  245. package/dist/{confirmation.context-ByjNx2uA.js → confirmation.context-DoT7Kbkk.js} +1 -1
  246. package/dist/{dist-fFtzh872.js → dist-CiyMIvMV.js} +13 -9
  247. package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-CcFuz2Yo.js} +1 -1
  248. package/dist/{fileUpload.types-CfUkihds.d.ts → fileUpload.types-qj0hNn7z.d.ts} +2 -2
  249. package/dist/{form.binding-Ddx5NGCq.js → form.binding-DOR5gIQf.js} +1 -1
  250. package/dist/{i18n-DxbqkvyK.js → i18n-BQhW0Ce1.js} +26 -2
  251. package/dist/{i18n-JT8Yui4a.d.ts → i18n-hmPOSD17.d.ts} +24 -0
  252. package/dist/{iconSlot.cva-I0pFwkGy.d.ts → iconSlot.cva-DIRjtkbF.d.ts} +2 -2
  253. package/dist/icons.d.ts +1 -1
  254. package/dist/{import-Duf36Dbs.js → import-lpcVuK9z.js} +39 -15
  255. package/dist/index.d.ts +76 -75
  256. package/dist/index.js +50 -49
  257. package/dist/{input.cva-cNv7yhcp.d.ts → input.cva-D4MX5vPh.d.ts} +2 -2
  258. package/dist/{link.context-LSbvpZCL.d.ts → link.context-Cv92HnwG.d.ts} +1 -1
  259. package/dist/{logger-CW24po62.js → logger-CqZjM-sn.js} +1 -10
  260. package/dist/{radio.cva-CtBwM88n.d.ts → radio.cva-8GccNyGF.d.ts} +3 -3
  261. package/dist/rich-text-editor.d.ts +1 -1
  262. package/dist/rich-text-editor.js +1 -1
  263. package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
  264. package/dist/{staticDateTimeSegments-DeeSpTzj.js → staticDateTimeSegments-DKIcg849.js} +29 -14
  265. package/dist/{style-definitions-DJOlAxCG.d.ts → style-definitions-CQzFJR44.d.ts} +120 -4
  266. package/dist/styles/input.d.ts +1 -1
  267. package/dist/{switch.cva-DmuYW9tg.d.ts → switch.cva-C0A3kOq-.d.ts} +3 -3
  268. package/dist/{table.cva-DkcsOmZG.js → table.cva-cDPQ5cFW.js} +59 -17
  269. package/dist/tableCells.cva-Br0_kgRM.js +18 -0
  270. package/dist/tableColumnConfigStorage-oYLKnGeP.js +215 -0
  271. package/dist/tableVirtualStore-whSmFzTV.js +67 -0
  272. package/dist/tanstack/autocomplete.d.ts +2 -2
  273. package/dist/tanstack/autocomplete.js +1 -1
  274. package/dist/tanstack/checkbox-group.d.ts +2 -2
  275. package/dist/tanstack/checkbox-group.js +1 -1
  276. package/dist/tanstack/checkbox.d.ts +2 -2
  277. package/dist/tanstack/checkbox.js +1 -1
  278. package/dist/tanstack/date-picker.d.ts +2 -2
  279. package/dist/tanstack/date-picker.js +1 -1
  280. package/dist/tanstack/date-range-picker.d.ts +2 -2
  281. package/dist/tanstack/date-range-picker.js +1 -1
  282. package/dist/tanstack/date-time-picker.d.ts +2 -2
  283. package/dist/tanstack/date-time-picker.js +1 -1
  284. package/dist/tanstack/file-input.d.ts +2 -2
  285. package/dist/tanstack/file-input.js +1 -1
  286. package/dist/tanstack/file-upload.d.ts +3 -3
  287. package/dist/tanstack/file-upload.js +1 -1
  288. package/dist/tanstack/form.js +2 -2
  289. package/dist/tanstack/input.d.ts +2 -2
  290. package/dist/tanstack/input.js +1 -1
  291. package/dist/tanstack/number-field.d.ts +2 -2
  292. package/dist/tanstack/number-field.js +1 -1
  293. package/dist/tanstack/number-range-input.d.ts +2 -2
  294. package/dist/tanstack/number-range-input.js +1 -1
  295. package/dist/tanstack/password-input.d.ts +1 -1
  296. package/dist/tanstack/password-input.js +1 -1
  297. package/dist/tanstack/radio-group.d.ts +2 -2
  298. package/dist/tanstack/radio-group.js +1 -1
  299. package/dist/tanstack/rich-text-editor.d.ts +1 -1
  300. package/dist/tanstack/rich-text-editor.js +2 -2
  301. package/dist/tanstack/select.d.ts +2 -2
  302. package/dist/tanstack/select.js +1 -1
  303. package/dist/tanstack/slider.d.ts +2 -2
  304. package/dist/tanstack/slider.js +1 -1
  305. package/dist/tanstack/switch.d.ts +2 -2
  306. package/dist/tanstack/switch.js +1 -1
  307. package/dist/tanstack/table-context.d.ts +2 -0
  308. package/dist/tanstack/table-context.js +2 -0
  309. package/dist/tanstack/table-types.d.ts +55 -0
  310. package/dist/tanstack/table.d.ts +4 -3
  311. package/dist/tanstack/table.js +3 -2
  312. package/dist/tanstack/text-area.d.ts +2 -2
  313. package/dist/tanstack/text-area.js +1 -1
  314. package/dist/tanstack/time-picker.d.ts +2 -2
  315. package/dist/tanstack/time-picker.js +1 -1
  316. package/dist/tanstack/toggle-group.d.ts +2 -2
  317. package/dist/tanstack/toggle-group.js +1 -1
  318. package/dist/{tanstack-DzNVI2Rj.d.ts → tanstack-BwL6P-Dq.d.ts} +67 -67
  319. package/dist/tanstack-table-D8-YeW7n.js +5036 -0
  320. package/dist/tanstack-table-I6wSByWo.d.ts +663 -0
  321. package/dist/tanstack.d.ts +76 -75
  322. package/dist/tanstack.js +50 -49
  323. package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-Bc90e3cT.js} +5 -1
  324. package/dist/{toast.cva-BnXRIWVy.d.ts → toast.cva-bha1M_1O.d.ts} +3 -3
  325. package/dist/{toast.runtime-BWQLlbZW.js → toast.runtime-CawBuVqa.js} +1 -1
  326. package/dist/{toggleGroup.cva-BZcOUjIS.d.ts → toggleGroup.cva-BlLFVdeU.d.ts} +2 -2
  327. package/dist/{typography.cva-DcBCiskp.d.ts → typography.cva-DyZaRPX5.d.ts} +2 -2
  328. package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CizdbCRs.js} +59 -3
  329. package/dist/uiConfig.context-NjAAXEQ-.d.ts +252 -0
  330. package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-D_vBH_U6.d.ts} +103 -0
  331. package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-Bl0-IRlT.js} +2 -2
  332. package/dist/{useForm-C7wrpJ2t.js → useForm-Cb7KWLds.js} +1 -1
  333. package/dist/{useFormAutosave-Cy0wTigY.js → useFormAutosave-BPGlChiY.js} +2 -2
  334. package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-CAayfu2m.js} +1 -1
  335. package/dist/useTableVirtualizer-B5g8oTj1.d.ts +160 -0
  336. package/dist/{useToast-CjyrMHdh.d.ts → useToast-DoP6TP6U.d.ts} +1 -1
  337. package/dist/utils/logger.js +1 -1
  338. package/package.json +13 -1
  339. package/dist/uiConfig.context-CoE2HBL4.d.ts +0 -133
  340. package/dist/useTableColumnConfig-xvu1zw0E.js +0 -2377
  341. package/dist/useTableNav-DxuUTKn5.d.ts +0 -200
@@ -0,0 +1,252 @@
1
+ import { t as TypographyVariantProps } from "./typography.cva-DyZaRPX5.js";
2
+ import { n as ButtonVariantProps } from "./button.cva-C7-6mWL5.js";
3
+ import { n as InputVariantProps } from "./input.cva-D4MX5vPh.js";
4
+ import { r as TypographyPropsCva } from "./Typography-ryUkrthX.js";
5
+ import { t as ToastVariantProps } from "./toast.cva-bha1M_1O.js";
6
+ import { n as IconSlotIcon } from "./IconSlot-DcEDPaNb.js";
7
+ import { t as CheckboxVariantProps } from "./checkbox.cva-DvVJGRv1.js";
8
+ import { t as RadioVariantProps } from "./radio.cva-8GccNyGF.js";
9
+ import { t as SwitchVariantProps } from "./switch.cva-C0A3kOq-.js";
10
+ import { i as TableVariant, n as TableRowDetailsMode } from "./TableRowDetails-DltMuPo7.js";
11
+ import { t as ToggleGroupItemVariantProps } from "./toggleGroup.cva-BlLFVdeU.js";
12
+ import { FC, PropsWithChildren, ReactElement, ReactNode, SVGProps } from "react";
13
+ import { ToastPosition } from "react-toastify";
14
+ //#region src/config/uiConfig.types.d.ts
15
+ type Breakpoint = "sm" | "md" | "lg" | "xl";
16
+ interface DateRangeRelativeOption {
17
+ value: string;
18
+ label: string;
19
+ getValue: () => {
20
+ start: string;
21
+ end: string;
22
+ };
23
+ isDisabled?: boolean;
24
+ }
25
+ type DatePickerIcon = boolean | FC<SVGProps<SVGSVGElement>> | ReactElement;
26
+ interface UIConfigOptions {
27
+ /** Defer input activation until interaction (default true); disable for mount-time autofocus or input refs. */
28
+ renderStaticInput: boolean;
29
+ /**
30
+ * How long the pointer has to rest over a static input before the real control mounts, in ms.
31
+ * `0` mounts on the next frame, so sweeping the pointer across a form mounts every field it crosses.
32
+ */
33
+ staticInputHoverHandoffDelay: number;
34
+ responsive: {
35
+ ssrMatches: Partial<Record<Breakpoint, boolean>>;
36
+ };
37
+ input: Pick<InputVariantProps, "variant" | "as" | "size"> & {
38
+ isClearable?: boolean;
39
+ hideLabel?: boolean;
40
+ alwaysShowClear?: boolean;
41
+ };
42
+ button: Pick<ButtonVariantProps, "variant" | "size">;
43
+ numberField: {
44
+ formatOptions?: Intl.NumberFormatOptions;
45
+ };
46
+ radioGroup: Pick<RadioVariantProps, "variant"> & {
47
+ hideLabel?: boolean;
48
+ fireBlurOnChange?: boolean;
49
+ };
50
+ checkbox: Pick<CheckboxVariantProps, "variant"> & {
51
+ fireBlurOnChange?: boolean;
52
+ };
53
+ select: {
54
+ selectionMode?: "single" | "multiple";
55
+ isSearchable?: boolean;
56
+ isScrollPreventDisabled?: boolean;
57
+ collapseAfter?: number;
58
+ selectedTagsType?: "tags" | "list";
59
+ hideSearchIcon?: boolean;
60
+ multiSelectAutoConfirm?: boolean;
61
+ searchDebounceDelay?: number;
62
+ fireBlurOnChange?: boolean;
63
+ renderStaticInput?: boolean;
64
+ };
65
+ switch: Pick<SwitchVariantProps, "variant"> & {
66
+ fireBlurOnChange?: boolean;
67
+ };
68
+ slider: {
69
+ minValue?: number;
70
+ maxValue?: number;
71
+ };
72
+ dateInput: {
73
+ /** Show ISO week numbers in a leading column and start calendar weeks on Monday. */
74
+ showWeekNumbers?: boolean;
75
+ todayIcon?: DatePickerIcon;
76
+ todayIconButtonSize?: ButtonVariantProps["size"];
77
+ todayIconButtonComponent?: "iconButton" | "inlineIconButton";
78
+ todayIconPlacement?: "content" | "fieldLabel";
79
+ shouldForceLeadingZeros?: boolean;
80
+ disableManualEntry?: boolean;
81
+ shouldUpdateDateOnMonthYearChange?: boolean;
82
+ granularity?: "day" | "month" | "year";
83
+ autoFixYear?: boolean;
84
+ calendarIcon?: ReactElement;
85
+ dateTimeIcon?: ReactElement;
86
+ timeIcon?: ReactElement;
87
+ setDateValueOnDateSelection?: boolean;
88
+ timeZone?: string;
89
+ allowPartialRange?: boolean;
90
+ fireBlurOnChange?: boolean;
91
+ dateRangeOptions?: DateRangeRelativeOption[];
92
+ /**
93
+ * A typed date outside `minValue` / `maxValue` stays in the field, marked invalid once the field loses focus,
94
+ * instead of reverting to the last valid value. It is never published to `onChange`. Defaults to off.
95
+ */
96
+ keepOutOfRangeEntry?: boolean;
97
+ };
98
+ alertDialog: {
99
+ titleTypography?: TypographyPropsCva;
100
+ descriptionTypography?: TypographyPropsCva;
101
+ };
102
+ bottomSheet: {
103
+ closeDragThreshold?: number;
104
+ closeVelocityThreshold?: number;
105
+ hideThumb?: boolean;
106
+ headerTypography?: TypographyVariantProps;
107
+ };
108
+ /**
109
+ * Defaults for every `Table`; a table's own prop wins.
110
+ * `rowDetailsMode`: how row details open when a table's `rowDetails` sets no `mode`.
111
+ */
112
+ table: {
113
+ variant: TableVariant;
114
+ rowDetailsMode: TableRowDetailsMode;
115
+ /** What scrolls when the table is larger than its space. Defaults to `table`. */
116
+ scroll?: "table" | "page";
117
+ /** With `scroll: "page"`, the table sits in its container box; off places it directly in its parent. Defaults to on. */
118
+ pageScrollContainer?: boolean;
119
+ /** How column widths are decided. Defaults to `natural`; see the `columnLayout` table prop. */
120
+ columnLayout?: "natural" | "sized";
121
+ /**
122
+ * `size` of columns without one in tables without resizing (raised to their minimum width). In `sized` layout it is
123
+ * the cells' minimum width. Defaults to none: such columns keep the default column size.
124
+ */
125
+ unresizableDefaultColumnSize?: number | null;
126
+ /** Resize handles on every table. Defaults to off. */
127
+ enableColumnResizing?: boolean;
128
+ /** Width of columns without a `size`, in `sized` layout. Defaults to 150. */
129
+ defaultColumnSize?: number;
130
+ /** Narrowest a column can be resized or auto-sized to, unless its `minSize` says otherwise. Defaults to 60. */
131
+ minColumnWidth?: number;
132
+ /** Clicking a selectable row (without `onRowClick`) toggles its selection. Defaults to on. */
133
+ selectRowOnClick?: boolean;
134
+ /** Enter and Space on a row or cell select it and run `onRowClick` (or `onDoubleClick`); rows get a Tab stop. Defaults to off. */
135
+ rowKeyboardActivation?: boolean;
136
+ /** Arrow keys, Home/End and Page Up/Down move focus between cells. Defaults to on. */
137
+ enableCellNavigation?: boolean;
138
+ enableArrowKeyRowNavigation?: boolean;
139
+ highlightSelectedRows?: boolean;
140
+ highlightFocusedRows?: boolean;
141
+ enableSortingRemoval?: boolean;
142
+ resetPageIndexOnSorting?: boolean;
143
+ /** Skips re-rendering rows whose data, selection and layout are unchanged. Defaults to off. */
144
+ memoizeRows?: boolean;
145
+ /** Cells of columns without an accessor read their value from the row by column id (`"a.b"` reads `row.a.b`). Defaults to off. */
146
+ cellValueFromColumnId?: boolean;
147
+ /** Plain text and number cell results are wrapped in `CellText`; off renders them as they are. Defaults to on. */
148
+ wrapCellText?: boolean;
149
+ /** Resize handles are Tab stops resized with the arrow keys; off leaves them to the pointer. Defaults to on. */
150
+ resizeHandleFocusable?: boolean;
151
+ /** Headers of columns that can't sort show their label without a button. Defaults to off. */
152
+ plainUnsortableHeaders?: boolean;
153
+ /** Accessible name of column resize handles: `{name}` is the column's label, `{id}` its id. Defaults to `Resize {name}`. */
154
+ resizeHandleLabel?: string;
155
+ /** String column headers are wrapped in `HeaderText`; off renders the string as it is. Defaults to on. */
156
+ wrapHeaderText?: boolean;
157
+ /** A row's `onRightClick` keeps the context menu event from reaching the table's ancestors. Defaults to off. */
158
+ rightClickStopsPropagation?: boolean;
159
+ /** Accessible name of every header sort button, instead of the column's label. Defaults to none. */
160
+ sortButtonLabel?: string;
161
+ /**
162
+ * Pinned columns stop sticking once they would leave less than a quarter of the view for the scrolling columns.
163
+ * Off keeps every pinned column sticky. Defaults to on.
164
+ */
165
+ limitPinnedWidth?: boolean;
166
+ /** `defaultSelectedRows` used alone resets the selection whenever its selected ids change. Defaults to off. */
167
+ followDefaultSelectedRows?: boolean;
168
+ /** Row group of `emptyContent` and `loadingContent`: `tbody` under the header, or `tfoot`. Defaults to `tbody`. */
169
+ statusRowGroup?: "tbody" | "tfoot";
170
+ /** Icon of row drag handles. Defaults to `GripVertical`. */
171
+ dragHandleIcon?: IconSlotIcon;
172
+ /** Button size of row drag handles. Defaults to `sm`. */
173
+ dragHandleSize?: "sm" | "default";
174
+ /** Icon of the column configuration popover's trigger. Defaults to `Columns3`. */
175
+ columnConfigIcon?: IconSlotIcon;
176
+ /** Header sort icons. `unsorted` shows on sortable columns of tables with `setSorting`; `false` hides it. */
177
+ sortIcons?: {
178
+ asc?: IconSlotIcon;
179
+ desc?: IconSlotIcon;
180
+ unsorted?: IconSlotIcon | false;
181
+ };
182
+ virtualization?: {
183
+ /** Render only the rows in view (see the `enableRowVirtualization` prop). Defaults to off. */
184
+ rows?: boolean;
185
+ /** Render only the cells of columns in view (see the `enableColumnVirtualization` prop). Defaults to off. */
186
+ columns?: boolean;
187
+ /** Row height used before rows are measured, in px. Defaults to 40. */
188
+ estimateRowSize?: number;
189
+ /** Rows rendered beyond each edge of the view. Defaults to 12. */
190
+ overscan?: number;
191
+ /** Rows are virtualized only above this count. Defaults to 40. */
192
+ rowThreshold?: number;
193
+ /** Columns are virtualized only above this count. Defaults to 20. */
194
+ columnThreshold?: number;
195
+ /** Width rendered beyond each edge of the view when columns are virtualized, in px. Defaults to 600. */
196
+ columnOverscan?: number;
197
+ /** Rows rendered before the scroller is known. Defaults to 20. */
198
+ initialRowCount?: number;
199
+ };
200
+ /** Where `InfiniteTable` shows that a page is loading. Defaults to `footer`. */
201
+ infiniteLoadingIndicator?: "footer" | "overlay";
202
+ /**
203
+ * `InfiniteTable` mounts right after the page's first commit (see `TableMountBoundary`), so the page paints before
204
+ * a heavy table mounts. Defaults to off.
205
+ */
206
+ infiniteDeferMount?: boolean;
207
+ /** Shown when an `InfiniteTable` has no rows and nothing is loading, unless it sets `emptyContent`. Defaults to none. */
208
+ infiniteEmptyContent?: ReactNode;
209
+ /** Shown by an `InfiniteTable` with `isError`, unless it sets `errorContent`. Defaults to a generic message. */
210
+ infiniteErrorContent?: ReactNode;
211
+ loadingSkeleton?: {
212
+ /** Most skeleton rows shown while the first page loads. Defaults to 60. */
213
+ rowCount?: number;
214
+ /** Wait before skeleton rows appear, so quick loads never show them, in ms. Defaults to 150. */
215
+ delay?: number;
216
+ };
217
+ };
218
+ tableHeaderText: Pick<TypographyPropsCva, "size">;
219
+ tableCellText: Pick<TypographyPropsCva, "size">;
220
+ /** `formatOptions`: `Intl.NumberFormat` options every `CellNumber` starts from; its `numberOptions` prop wins. */
221
+ tableCellNumber: {
222
+ formatOptions?: Intl.NumberFormatOptions;
223
+ };
224
+ /** `tooltipDelay`: hover delay in ms of the tooltip on `CellLink`s that open in place. Defaults to 0. */
225
+ tableCellLink: {
226
+ tooltipDelay?: number;
227
+ };
228
+ tag: {
229
+ textSize?: TypographyVariantProps["size"];
230
+ };
231
+ toast: Pick<ToastVariantProps, "variant"> & {
232
+ position: ToastPosition;
233
+ };
234
+ /** Leave `size` unset to follow `input.size`. */
235
+ toggleGroup: {
236
+ size?: ToggleGroupItemVariantProps["size"];
237
+ };
238
+ }
239
+ type DeepRequired<T> = { [P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : Exclude<T[P], null | undefined>; };
240
+ //#endregion
241
+ //#region src/config/uiConfig.context.d.ts
242
+ declare namespace UIConfig {
243
+ export type Options = UIConfigOptions;
244
+ interface ProviderProps {
245
+ config?: Partial<Options>;
246
+ }
247
+ export const Provider: ({ config, children }: PropsWithChildren<ProviderProps>) => import("react").JSX.Element;
248
+ export const useConfig: () => DeepRequired<UIConfigOptions>;
249
+ export {};
250
+ }
251
+ //#endregion
252
+ export { UIConfig as t };
@@ -71,6 +71,8 @@ declare namespace UIOverrides {
71
71
  };
72
72
  badgeButton: {
73
73
  cva?: GenericCvaOption;
74
+ contentCva?: GenericCvaOption;
75
+ iconCva?: GenericCvaOption;
74
76
  typography?: Mapper;
75
77
  };
76
78
  checkbox: {
@@ -96,6 +98,10 @@ declare namespace UIOverrides {
96
98
  toast: {
97
99
  cva?: GenericCvaOption;
98
100
  containerCva?: GenericCvaOption;
101
+ contentCva?: GenericCvaOption;
102
+ spinnerCva?: GenericCvaOption;
103
+ textCva?: GenericCvaOption;
104
+ actionsCva?: GenericCvaOption;
99
105
  buttonColor?: Mapper;
100
106
  };
101
107
  alert: {
@@ -116,6 +122,53 @@ declare namespace UIOverrides {
116
122
  };
117
123
  datePickerInput: {
118
124
  contentRowCva?: GenericCvaOption;
125
+ /** A date or time segment (`isMuted`, `isSpaced`, `isHidden`). */
126
+ segmentCva?: GenericCvaOption;
127
+ /** The dash between a range's dates (`isEmpty`). */
128
+ rangeSeparatorCva?: GenericCvaOption;
129
+ /** The placeholder of an input that isn't activated yet. */
130
+ placeholderCva?: GenericCvaOption;
131
+ };
132
+ calendar: {
133
+ headerCva?: GenericCvaOption;
134
+ headerSideCva?: GenericCvaOption;
135
+ navButtonCva?: GenericCvaOption;
136
+ navIconCva?: GenericCvaOption;
137
+ navigationCva?: GenericCvaOption;
138
+ /** The box around the day grid (`showWeekNumbers`). */
139
+ gridCva?: GenericCvaOption;
140
+ /** A weekday heading's label. */
141
+ weekdayCva?: GenericCvaOption;
142
+ /** The week-number column's cells. */
143
+ weekNumberCellCva?: GenericCvaOption;
144
+ /** A week's number. */
145
+ weekNumberCva?: GenericCvaOption;
146
+ /** The table cell around a day. */
147
+ cellWrapperCva?: GenericCvaOption;
148
+ /** A day; see `calendarCellDefinition` for its state variants. */
149
+ cellCva?: GenericCvaOption;
150
+ /** A day's number. */
151
+ cellTypography?: Mapper;
152
+ /** A month in the month list (`isDisabled`). */
153
+ monthCva?: GenericCvaOption;
154
+ /** A year in the year list (`isDisabled`). */
155
+ yearCva?: GenericCvaOption;
156
+ /** The label of a month or year in the lists. */
157
+ optionTypography?: Mapper;
158
+ };
159
+ timePicker: {
160
+ /** An hour, minute or second box. */
161
+ segmentCva?: GenericCvaOption;
162
+ /** The separators between the boxes. */
163
+ segmentTypography?: Mapper;
164
+ };
165
+ dateTimeDialog: {
166
+ /** The footer with the Today and Save buttons (`hasToday`). */
167
+ footerCva?: GenericCvaOption;
168
+ };
169
+ bottomSheet: {
170
+ /** The header's close button. */
171
+ closeButtonCva?: GenericCvaOption;
119
172
  };
120
173
  label: {
121
174
  cva?: GenericCvaOption;
@@ -149,6 +202,39 @@ declare namespace UIOverrides {
149
202
  sidePanelCva?: GenericCvaOption;
150
203
  sidePanelHeaderCva?: GenericCvaOption;
151
204
  sidePanelBodyCva?: GenericCvaOption;
205
+ tableCva?: GenericCvaOption;
206
+ sortButtonCva?: GenericCvaOption;
207
+ /** The row of a header's content (label, filter, pin and resize controls). */
208
+ headContentCva?: GenericCvaOption;
209
+ /** The box around a header's label or sort button. */
210
+ headLabelCva?: GenericCvaOption;
211
+ resizeHandleCva?: GenericCvaOption;
212
+ footCva?: GenericCvaOption;
213
+ skeletonCva?: GenericCvaOption;
214
+ emptyCva?: GenericCvaOption;
215
+ /** The cell that holds `emptyContent`. */
216
+ emptyCellCva?: GenericCvaOption;
217
+ loadingCva?: GenericCvaOption;
218
+ /** The alert above an `InfiniteTable` that kept its rows after a failed load. */
219
+ errorNoticeCva?: GenericCvaOption;
220
+ dragHandleCva?: GenericCvaOption;
221
+ };
222
+ tableCell: {
223
+ linkCva?: GenericCvaOption;
224
+ linkTextCva?: GenericCvaOption;
225
+ linkActionCva?: GenericCvaOption;
226
+ numberUnitCva?: GenericCvaOption;
227
+ rowCheckboxCva?: GenericCvaOption;
228
+ selectionCheckboxCva?: GenericCvaOption;
229
+ };
230
+ columnConfig: {
231
+ contentCva?: GenericCvaOption;
232
+ toolbarCva?: GenericCvaOption;
233
+ zoneCva?: GenericCvaOption;
234
+ zoneHeaderCva?: GenericCvaOption;
235
+ zoneEmptyCva?: GenericCvaOption;
236
+ rowCva?: GenericCvaOption;
237
+ rowLabelCva?: GenericCvaOption;
152
238
  };
153
239
  tooltip: {
154
240
  cva?: GenericCvaOption;
@@ -226,6 +312,7 @@ declare namespace UIOverrides {
226
312
  helperLabelCva?: GenericCvaOption;
227
313
  };
228
314
  select: {
315
+ listBoxCva?: GenericCvaOption;
229
316
  listBoxItemCva?: GenericCvaOption;
230
317
  popoverCva?: GenericCvaOption;
231
318
  tagsContentWrapperCva?: GenericCvaOption;
@@ -239,6 +326,22 @@ declare namespace UIOverrides {
239
326
  };
240
327
  fileUpload: {
241
328
  dropZoneCva?: GenericCvaOption;
329
+ /** The group around the drop zone. */
330
+ groupCva?: GenericCvaOption;
331
+ /** Content parts; each takes `content` (`empty` / `filled` / `error` / `loading`) and the upload's variants. */
332
+ contentCva?: GenericCvaOption;
333
+ contentBodyCva?: GenericCvaOption;
334
+ contentLeadCva?: GenericCvaOption;
335
+ contentIconCva?: GenericCvaOption;
336
+ contentTextCva?: GenericCvaOption;
337
+ contentTitleCva?: GenericCvaOption;
338
+ contentDescriptionCva?: GenericCvaOption;
339
+ contentActionsCva?: GenericCvaOption;
340
+ contentLinkCva?: GenericCvaOption;
341
+ contentSeparatorCva?: GenericCvaOption;
342
+ contentButtonsCva?: GenericCvaOption;
343
+ cardCva?: GenericCvaOption;
344
+ cardListCva?: GenericCvaOption;
242
345
  };
243
346
  }
244
347
  export type Config = Partial<Options>;
@@ -1,4 +1,4 @@
1
- import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
1
+ import { t as UIConfig } from "./uiConfig.context-CizdbCRs.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { useSyncExternalStore } from "react";
4
4
  //#region src/hooks/useBreakpoint.ts
@@ -35,7 +35,7 @@ function useBreakpoint(breakpointKey) {
35
35
  const query = `(min-width: ${breakpoints[breakpointKey]})`;
36
36
  let t1;
37
37
  if ($[1] !== query) {
38
- t1 = typeof window === "undefined" ? null : window.matchMedia(query);
38
+ t1 = typeof window === "undefined" || typeof window.matchMedia !== "function" ? null : window.matchMedia(query);
39
39
  $[1] = query;
40
40
  $[2] = t1;
41
41
  } else t1 = $[2];
@@ -1,4 +1,4 @@
1
- import { t as logger } from "./logger-CW24po62.js";
1
+ import { t as logger } from "./logger-CqZjM-sn.js";
2
2
  import { n as ObjectUtils, t as isEqual } from "./isEqual-LFw0W5rU.js";
3
3
  import { c } from "react/compiler-runtime";
4
4
  import { useEffect, useLayoutEffect, useMemo, useRef } from "react";
@@ -1,6 +1,6 @@
1
- import { t as logger } from "./logger-CW24po62.js";
1
+ import { t as logger } from "./logger-CqZjM-sn.js";
2
2
  import { n as ObjectUtils, t as isEqual } from "./isEqual-LFw0W5rU.js";
3
- import { a as getFormResetVersion, c as getAutosavePatch, l as getChangedAutosaveFields, o as refreshAutosaveForm, s as subscribeFormReset, t as useForm$1, u as getSubmittedAutosaveFields } from "./useForm-C7wrpJ2t.js";
3
+ import { a as getFormResetVersion, c as getAutosavePatch, l as getChangedAutosaveFields, o as refreshAutosaveForm, s as subscribeFormReset, t as useForm$1, u as getSubmittedAutosaveFields } from "./useForm-Cb7KWLds.js";
4
4
  import { useCallback, useEffect, useRef } from "react";
5
5
  import { getBy, setBy } from "@tanstack/react-form";
6
6
  //#region src/hooks/useAutosave.ts
@@ -1,4 +1,4 @@
1
- import { t as useBreakpoint } from "./useBreakpoint-CJ3mx7UF.js";
1
+ import { t as useBreakpoint } from "./useBreakpoint-Bl0-IRlT.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { useEffect, useRef } from "react";
4
4
  //#region src/hooks/useScrollableListBox.ts
@@ -0,0 +1,160 @@
1
+ import { CSSProperties, PropsWithChildren, ReactNode } from "react";
2
+ import { ColumnOrderState, ColumnPinningState, ColumnVisibilityState } from "@tanstack/react-table";
3
+ import { DragEndEvent, DragStartEvent, UniqueIdentifier } from "@dnd-kit/core";
4
+ import { useSortable } from "@dnd-kit/sortable";
5
+ import { VirtualItem, Virtualizer, VirtualizerOptions } from "@tanstack/react-virtual";
6
+ //#endregion
7
+ //#region src/components/table/cellLinkContext.d.ts
8
+ /**
9
+ * Opens cell links in place instead of a new tab. Provide a handler, e.g. one that navigates inside a search
10
+ * overlay; the link icon then becomes a button calling it with the link's `href`.
11
+ */
12
+ declare const CellLinkNavigationContext: import("react").Context<((href: string) => void) | null>;
13
+ interface CellLinkPreloadHandlers {
14
+ /** Called when the pointer or focus reaches the link, e.g. to start preloading the target route. */
15
+ onPreload?: (element: HTMLAnchorElement, href: string) => void;
16
+ /** Called when the pointer or focus leaves the link before it was opened. */
17
+ onPreloadCancel?: (element: HTMLAnchorElement) => void;
18
+ }
19
+ /** Preload handlers for every `CellLink` below it, so an app wires its router once. */
20
+ declare const CellLinkPreloadContext: import("react").Context<CellLinkPreloadHandlers | null>;
21
+ //#endregion
22
+ //#region src/components/table/tableColumnConfigStorage.d.ts
23
+ /** A table's saved column configuration. */
24
+ interface TableColumnSettings {
25
+ visibility?: ColumnVisibilityState;
26
+ order?: ColumnOrderState;
27
+ pinning?: ColumnPinningState;
28
+ /** Column widths in pixels, by column id. */
29
+ widths?: Record<string, number>;
30
+ }
31
+ /**
32
+ * Where a table's configuration is saved, as passed to `useTableColumnConfig`.
33
+ * `location` names one entry holding every setting; `persistence` names a separate key per setting.
34
+ */
35
+ interface TableColumnStorageTarget {
36
+ location?: string;
37
+ persistence?: {
38
+ visibility: string;
39
+ order: string;
40
+ pinning: string;
41
+ };
42
+ }
43
+ interface TableColumnSettingsHandle {
44
+ /** Saved settings, or `undefined` when nothing is saved. Keep `widths` referentially stable between renders. */
45
+ settings: TableColumnSettings | undefined;
46
+ /** Saves changed settings. `widths` is merged into the saved widths; the other fields replace theirs. */
47
+ save: (patch: TableColumnSettings) => void;
48
+ }
49
+ /** Persists column configuration for `useTableColumnConfig`, e.g. in user settings or local storage. */
50
+ interface TableColumnConfigStorage {
51
+ /**
52
+ * A React hook, called on every render of `useTableColumnConfig`. `target` is `undefined` for tables that
53
+ * aren't persisted; return no settings for them.
54
+ */
55
+ useColumnSettings: (target: TableColumnStorageTarget | undefined) => TableColumnSettingsHandle;
56
+ }
57
+ /** The default: nothing is saved, so configuration lasts while the table is mounted. */
58
+ declare const memoryTableColumnConfigStorage: TableColumnConfigStorage;
59
+ /**
60
+ * Storage used by `useTableColumnConfig` below it, unless a table passes its own `storage`.
61
+ * Provide one stable object for the app's lifetime: its hook must not change between renders.
62
+ */
63
+ declare const TableColumnConfigStorageContext: import("react").Context<TableColumnConfigStorage>;
64
+ //#endregion
65
+ //#region src/components/table/tableConfigurationContext.d.ts
66
+ /**
67
+ * Turns table configuration (column resizing, the column config UI and saved column settings) on or off for every
68
+ * table below it. Wrap a subtree in `<TableConfigurationEnabledContext value={false}>` to render plain tables there.
69
+ */
70
+ declare const TableConfigurationEnabledContext: import("react").Context<boolean>;
71
+ declare namespace TableDnd_d_exports {
72
+ export { DndProvider, DragHandle, RowDragHandle, SortableItem, SortableRow, SortableRowState, SortableRows, TableDragHandleProps };
73
+ }
74
+ /** Spread on your own drag handle in a `renderRow` row, or a column when `showDragHandleColumn` is off. */
75
+ type TableDragHandleProps = {
76
+ attributes: ReturnType<typeof useSortable>["attributes"];
77
+ listeners: ReturnType<typeof useSortable>["listeners"];
78
+ };
79
+ type SortableRowState = {
80
+ setNodeRef: (element: HTMLElement | null) => void;
81
+ style: CSSProperties;
82
+ isDragging: boolean;
83
+ dragHandleProps: TableDragHandleProps;
84
+ };
85
+ interface DndProviderProps extends PropsWithChildren {
86
+ onDragEnd: (event: DragEndEvent) => void;
87
+ onDragStart?: (event: DragStartEvent) => void;
88
+ }
89
+ declare const DndProvider: ({ children, onDragEnd, onDragStart }: DndProviderProps) => import("react").JSX.Element;
90
+ declare const SortableRows: ({ children, items }: PropsWithChildren<{
91
+ items: UniqueIdentifier[];
92
+ }>) => import("react").JSX.Element;
93
+ /** Registers a row with the sortable context and hands the drag styling to the element it renders. */
94
+ declare const SortableRow: ({ id, translateOnly, children }: {
95
+ id: UniqueIdentifier;
96
+ /** Row groups (`<tbody>`) only move; table rows take the full transform. */
97
+ translateOnly?: boolean;
98
+ children: (state: SortableRowState) => ReactNode;
99
+ }) => import("react").JSX.Element;
100
+ interface SortableItemRenderProps {
101
+ ref: (node: HTMLElement | null) => void;
102
+ style: CSSProperties;
103
+ isDragging: boolean;
104
+ handleProps: Record<string, unknown>;
105
+ }
106
+ declare const SortableItem: ({ id, children }: {
107
+ id: UniqueIdentifier;
108
+ children: (props: SortableItemRenderProps) => ReactNode;
109
+ }) => ReactNode;
110
+ type DragHandleProps = {
111
+ id: UniqueIdentifier;
112
+ children: (props: Record<string, unknown>) => ReactNode;
113
+ };
114
+ declare const DragHandle: ({ id, children }: DragHandleProps) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
115
+ declare const RowDragHandle: ({ rowId }: {
116
+ rowId: UniqueIdentifier;
117
+ }) => import("react").JSX.Element;
118
+ //#endregion
119
+ //#region src/components/table/tableDndModule.d.ts
120
+ /**
121
+ * Loads dnd-kit for `enableDragDrop` tables. Tables load it on mount; call it earlier (for example when a route that
122
+ * reorders rows starts loading) so their rows render on the first paint.
123
+ */
124
+ declare const preloadTableDnd: () => Promise<typeof TableDnd_d_exports | null>;
125
+ declare namespace tableVirtualStore_d_exports {
126
+ export { TableVirtualInstance, TableVirtualOptions, TableVirtualSnapshot, TableVirtualStore };
127
+ }
128
+ type TableVirtualOptions = Partial<VirtualizerOptions<HTMLElement, Element>> & Pick<VirtualizerOptions<HTMLElement, Element>, "count" | "getScrollElement" | "estimateSize"> & {
129
+ /** The page scrolls: the window is observed instead of `getScrollElement`. */
130
+ isWindow?: boolean;
131
+ };
132
+ type TableVirtualSnapshot = {
133
+ virtualItems: VirtualItem[];
134
+ totalSize: number;
135
+ };
136
+ type TableVirtualInstance = Virtualizer<HTMLElement, Element>;
137
+ /** Keeps the mutable virtualizer behind an external-store boundary; rendering reads immutable snapshots. */
138
+ declare class TableVirtualStore {
139
+ readonly instance: TableVirtualInstance;
140
+ private snapshot;
141
+ private listeners;
142
+ constructor(options: TableVirtualOptions);
143
+ private resolveOptions;
144
+ private notify;
145
+ private publish;
146
+ update(options: TableVirtualOptions): void;
147
+ mount: () => () => void;
148
+ getSnapshot: () => TableVirtualSnapshot;
149
+ subscribe: (listener: () => void) => () => void;
150
+ measureElement: (element: Element | null) => void;
151
+ }
152
+ //#endregion
153
+ //#region src/components/table/useTableVirtualizer.d.ts
154
+ /**
155
+ * Loads row virtualization. Virtualized tables load it on mount and render their first rows meanwhile; call it at
156
+ * startup when most tables virtualize, so the first table virtualizes on its first render.
157
+ */
158
+ declare const preloadTableVirtualizer: () => Promise<typeof tableVirtualStore_d_exports | null>;
159
+ //#endregion
160
+ export { TableColumnConfigStorage as a, TableColumnSettingsHandle as c, CellLinkNavigationContext as d, CellLinkPreloadContext as f, TableConfigurationEnabledContext as i, TableColumnStorageTarget as l, preloadTableDnd as n, TableColumnConfigStorageContext as o, CellLinkPreloadHandlers as p, TableDragHandleProps as r, TableColumnSettings as s, preloadTableVirtualizer as t, memoryTableColumnConfigStorage as u };
@@ -1,4 +1,4 @@
1
- import { r as ToastProps } from "./Toast-DbIZorlS.js";
1
+ import { r as ToastProps } from "./Toast-C0yoVPbM.js";
2
2
  import { Id, ToastOptions, ToastPosition } from "react-toastify";
3
3
  //#region src/components/status/Toast/useToast.d.ts
4
4
  interface ToastParams extends Omit<ToastProps, "color"> {
@@ -1,2 +1,2 @@
1
- import { t as logger } from "../logger-CW24po62.js";
1
+ import { t as logger } from "../logger-CqZjM-sn.js";
2
2
  export { logger };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "5.0.1-rc.1",
3
+ "version": "5.1.0-rc.2",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1088,6 +1088,14 @@
1088
1088
  "import": "./dist/tanstack/table.js",
1089
1089
  "default": "./dist/tanstack/table.js"
1090
1090
  },
1091
+ "./tanstack/table-context": {
1092
+ "types": "./dist/tanstack/table-context.d.ts",
1093
+ "import": "./dist/tanstack/table-context.js",
1094
+ "default": "./dist/tanstack/table-context.js"
1095
+ },
1096
+ "./tanstack/table-types": {
1097
+ "types": "./dist/tanstack/table-types.d.ts"
1098
+ },
1091
1099
  "./tanstack/checkbox": {
1092
1100
  "types": "./dist/tanstack/checkbox.d.ts",
1093
1101
  "import": "./dist/tanstack/checkbox.js",
@@ -1260,6 +1268,7 @@
1260
1268
  "@tanstack/react-query": "^5.89.0",
1261
1269
  "@tanstack/react-router": "^1.136.8",
1262
1270
  "@tanstack/react-table": "^9.0.0",
1271
+ "@tanstack/react-virtual": "^3.14.5",
1263
1272
  "@tanstack/store": "^0.11.0",
1264
1273
  "@tiptap/core": "^3.19.0",
1265
1274
  "@tiptap/extension-color": "^3.19.0",
@@ -1311,6 +1320,9 @@
1311
1320
  "@tanstack/react-table": {
1312
1321
  "optional": true
1313
1322
  },
1323
+ "@tanstack/react-virtual": {
1324
+ "optional": true
1325
+ },
1314
1326
  "@tanstack/react-form": {
1315
1327
  "optional": true
1316
1328
  },