@povio/ui 5.0.0 → 5.1.0-rc.1

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 (332) hide show
  1. package/README.md +23 -0
  2. package/dist/{Alert-24ruR0iF.d.ts → Alert-DJ7J4ZFJ.d.ts} +2 -2
  3. package/dist/{AlertDialog-Co3gNMwE.d.ts → AlertDialog-Cg63pVUa.d.ts} +3 -3
  4. package/dist/{Autocomplete-BQ9ZQoJt.d.ts → Autocomplete-C2XybizC.d.ts} +1 -1
  5. package/dist/{Autocomplete-DbALLWP0.js → Autocomplete-D-g3ok8P.js} +4 -4
  6. package/dist/{Autocomplete.bound-DCbFBXjJ.d.ts → Autocomplete.bound-BaJYZGJp.d.ts} +1 -1
  7. package/dist/{Autocomplete.bound-DCPZBYKR.js → Autocomplete.bound-CJVuetm8.js} +1 -1
  8. package/dist/{Badge-DZLVacMd.d.ts → Badge-BSH4YVD_.d.ts} +2 -2
  9. package/dist/{BadgeButton-coK9Fzoc.d.ts → BadgeButton-Bwq0SSef.d.ts} +2 -2
  10. package/dist/{BottomSheet-CGipksM_.js → BottomSheet-D6S4vH_L.js} +1 -1
  11. package/dist/{BottomSheet-BlcmdfAT.d.ts → BottomSheet-DdHoUvNv.d.ts} +1 -1
  12. package/dist/{BottomSheet.lazy-CGjuurej.d.ts → BottomSheet.lazy-BLCi51_F.d.ts} +1 -1
  13. package/dist/{Breadcrumbs-DfREVuAC.d.ts → Breadcrumbs-qAYF_jG0.d.ts} +1 -1
  14. package/dist/{Button-dRFJundh.js → Button-BQkrCpgq.js} +1 -1
  15. package/dist/{Button-Cphxmj43.d.ts → Button-zLy_nLM2.d.ts} +1 -1
  16. package/dist/{ButtonBase-BCYFCbSV.js → ButtonBase-7s_flUU5.js} +1 -1
  17. package/dist/{ButtonBase-CfSqmiom.d.ts → ButtonBase-B0t70Brt.d.ts} +3 -3
  18. package/dist/{Calendar-B9jqOJB6.js → Calendar-DpI8K7xm.js} +38 -18
  19. package/dist/{Calendar.lazy-4d7pbB4k.js → Calendar.lazy-Dg50nZQY.js} +3 -3
  20. package/dist/{Checkbox-DYeofZzs.js → Checkbox-CZ9_SfXz.js} +2 -2
  21. package/dist/{Checkbox-D2VVq5Bi.d.ts → Checkbox-Df6NfL5V.d.ts} +1 -1
  22. package/dist/{Checkbox.bound-DyQFIVCw.js → Checkbox.bound-C5GA4K6k.js} +1 -1
  23. package/dist/{Checkbox.bound-Hdvnrnwb.d.ts → Checkbox.bound-DmHYarAO.d.ts} +1 -1
  24. package/dist/{CheckboxCheckmark-DYhxLfZN.js → CheckboxCheckmark-Bqp1iJtc.js} +2 -2
  25. package/dist/{CheckboxGroup-CK_tTvvI.js → CheckboxGroup-C6FbtubK.js} +2 -2
  26. package/dist/{CheckboxGroup-CTkBMnBN.d.ts → CheckboxGroup-DXMP1Fex.d.ts} +3 -3
  27. package/dist/{CheckboxGroup.bound-DyCp83EI.js → CheckboxGroup.bound-Dj0aSHC8.js} +1 -1
  28. package/dist/{CheckboxGroup.bound-C6e91DCT.d.ts → CheckboxGroup.bound-R_k5mYm8.d.ts} +1 -1
  29. package/dist/ColumnConfigContent-DkMScfib.js +1025 -0
  30. package/dist/ColumnListContent-DBQ09rAa.js +410 -0
  31. package/dist/{DatePicker-CJj3Gp_S.js → DatePicker-BHU6CDtz.js} +45 -12
  32. package/dist/{DatePicker-1VbVBI4l.d.ts → DatePicker-BISGiQSI.d.ts} +3 -3
  33. package/dist/{DatePicker.bound-ZvJi_V8D.d.ts → DatePicker.bound-Cw6scTAM.d.ts} +1 -1
  34. package/dist/{DatePicker.bound-BWPOirPV.js → DatePicker.bound-RgShEA8L.js} +1 -1
  35. package/dist/{DatePickerInput-B8UhMVP6.d.ts → DatePickerInput-2sNgmuoN.d.ts} +3 -3
  36. package/dist/{DatePickerInput-C5-kkdpq.js → DatePickerInput-BLTKP3tx.js} +9 -7
  37. package/dist/{DateRangePicker-B8O8nA1M.d.ts → DateRangePicker-BaB2DNLG.d.ts} +3 -3
  38. package/dist/{DateRangePicker-BO92JO3A.js → DateRangePicker-DXxtyr0r.js} +9 -8
  39. package/dist/{DateRangePicker.bound-cDWQPCUj.js → DateRangePicker.bound-DjVRKJcK.js} +1 -1
  40. package/dist/{DateRangePicker.bound-B_Lg8Tna.d.ts → DateRangePicker.bound-QCTKDVl_.d.ts} +1 -1
  41. package/dist/{DateTimePicker-DSzd33fp.js → DateTimePicker-CjcXV8rE.js} +7 -6
  42. package/dist/{DateTimePicker-BRy_VN63.d.ts → DateTimePicker-hszpbYIl.d.ts} +3 -3
  43. package/dist/{DateTimePicker.bound-BQUJXvBQ.js → DateTimePicker.bound-CzCsHpRR.js} +1 -1
  44. package/dist/{DateTimePicker.bound-Bt9wdYeR.d.ts → DateTimePicker.bound-ZCaPwW0Y.d.ts} +1 -1
  45. package/dist/{Dialog-DN5703sy.js → Dialog-C1Bx2GEV.js} +1 -1
  46. package/dist/{Dialog-CDiUZFcf.d.ts → Dialog-Ds0TI_Td.d.ts} +1 -1
  47. package/dist/{DropdownMenu-oJzwpMXL.d.ts → DropdownMenu-DB7o7x8-.d.ts} +2 -2
  48. package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-RxtMVBps.js} +1 -1
  49. package/dist/{FileInput-dTcR3V93.js → FileInput-Ckhcg51P.js} +3 -3
  50. package/dist/{FileInput-Bm3_nNb4.d.ts → FileInput-DfxsB0a1.d.ts} +5 -5
  51. package/dist/{FileInput.bound-puNboLYc.d.ts → FileInput.bound-CLhQYqpj.d.ts} +1 -1
  52. package/dist/{FileInput.bound-B5b7BLGg.js → FileInput.bound-wgeflaxC.js} +1 -1
  53. package/dist/{FileUpload-ksjKICmv.d.ts → FileUpload-3-6Qglu_.d.ts} +1 -1
  54. package/dist/{FileUpload-JogkVfav.js → FileUpload-Lx_SbMx3.js} +518 -42
  55. package/dist/{FileUpload.bound-D4sr1tsH.d.ts → FileUpload.bound-13y385n5.d.ts} +2 -2
  56. package/dist/{FileUpload.bound-TTr9FNMS.js → FileUpload.bound-Bc5UpoqY.js} +1 -1
  57. package/dist/{FileUploadContainer-DRIxUmp2.d.ts → FileUploadContainer-BkWliwMs.d.ts} +1 -1
  58. package/dist/{FormField-DHCcfchm.d.ts → FormField-DudIjynh.d.ts} +1 -1
  59. package/dist/{IconButton-BqmX_sMz.d.ts → IconButton-DjSMQQ21.d.ts} +1 -1
  60. package/dist/{Input-Dq2Raco6.js → Input-B5gqqeY2.js} +5 -4
  61. package/dist/{Input-DKNzGXy-.d.ts → Input-DOcHgfnC.d.ts} +3 -3
  62. package/dist/{Input.bound-BxngTsaq.d.ts → Input.bound-BQ5qmiic.d.ts} +1 -1
  63. package/dist/{Input.bound-CB0WNCLI.js → Input.bound-Dh_r-cuO.js} +1 -1
  64. package/dist/{InputContent-5WKp0yNK.js → InputContent-C-Ehc3a1.js} +6 -4
  65. package/dist/{InputContent-C5wdgK9u.d.ts → InputContent-DPk9z1ok.d.ts} +3 -3
  66. package/dist/{Link-n1MxiBY_.d.ts → Link-BLfof_56.d.ts} +2 -2
  67. package/dist/{MenuItem-Cj7ytjH0.d.ts → MenuItem-CcTiVJwA.d.ts} +1 -1
  68. package/dist/{NumberField-BQwc6a7u.js → NumberField-BV7btNsa.js} +5 -4
  69. package/dist/{NumberField-BUTmx-kv.d.ts → NumberField-twNxAPIR.d.ts} +3 -3
  70. package/dist/{NumberField.bound-DhGXXd4v.d.ts → NumberField.bound-CEDt5Qal.d.ts} +1 -1
  71. package/dist/{NumberField.bound-Ha6jrlsv.js → NumberField.bound-m0TMCT0p.js} +1 -1
  72. package/dist/{NumberRangeInput-KngK-OvN.js → NumberRangeInput-Bpe21Zud.js} +4 -3
  73. package/dist/{NumberRangeInput-BwUPbB0M.d.ts → NumberRangeInput-CPorXVrd.d.ts} +2 -2
  74. package/dist/{NumberRangeInput.bound-j_WC6iJC.d.ts → NumberRangeInput.bound-4rJn1cqj.d.ts} +1 -1
  75. package/dist/{NumberRangeInput.bound-VafOPEAu.js → NumberRangeInput.bound-YNjx-mcx.js} +1 -1
  76. package/dist/{PageHeader-DtV-4JEh.d.ts → PageHeader--_hyMRiw.d.ts} +2 -2
  77. package/dist/{PasswordInput-DNt_CfI8.d.ts → PasswordInput-RaHAwisG.d.ts} +1 -1
  78. package/dist/{PasswordInput.bound-EOqjNEVC.d.ts → PasswordInput.bound-CY6PTSDk.d.ts} +1 -1
  79. package/dist/{PasswordInput.bound-D4tGX20e.js → PasswordInput.bound-CiJodOlN.js} +2 -2
  80. package/dist/{Popover-DRqROtxR.d.ts → Popover-C4GKBeaX.d.ts} +2 -2
  81. package/dist/{Progress-uzAAtLNk.d.ts → Progress-CnckNLA0.d.ts} +2 -2
  82. package/dist/{RadioGroup-Dvq0TiEB.js → RadioGroup-C5oxb7Zu.js} +1 -1
  83. package/dist/{RadioGroup-skcBf54J.d.ts → RadioGroup-CzE2pv1Z.d.ts} +3 -3
  84. package/dist/{RadioGroup.bound-CpxN2p6t.d.ts → RadioGroup.bound-DxYpHGgd.d.ts} +1 -1
  85. package/dist/{RadioGroup.bound-B-xm1dwo.js → RadioGroup.bound-YnYV2ADL.js} +1 -1
  86. package/dist/{RangeCalendar-p7ajg_wH.js → RangeCalendar-Bmeu-aDS.js} +4 -4
  87. package/dist/{RichTextEditor-DLBfexN_.js → RichTextEditor-60wfzqDv.js} +13 -9
  88. package/dist/{RichTextEditor-B9zaBMWl.d.ts → RichTextEditor-jHcEEeUf.d.ts} +1 -1
  89. package/dist/{Select-DNF-GpuC.d.ts → Select-B3uIrS07.d.ts} +3 -3
  90. package/dist/{Select-hIRIXRz1.js → Select-Dd5yAUMX.js} +26 -12
  91. package/dist/{Select.bound-CpN6KalY.d.ts → Select.bound-7yT5eT1D.d.ts} +1 -1
  92. package/dist/{Select.bound-BrAIDjfv.js → Select.bound-B5BABhqc.js} +1 -1
  93. package/dist/{SelectListBox-ysubv-kl.js → SelectListBox-Ci3VXYDB.js} +23 -11
  94. package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-DjprMXTK.js} +1 -1
  95. package/dist/{SidebarWorkspaces-Drgog0IO.d.ts → SidebarWorkspaces-j4eNE3Dc.d.ts} +1 -1
  96. package/dist/{Slider-DCsCCPFx.js → Slider-Cyg3xUIy.js} +1 -1
  97. package/dist/{Slider-JlRCD72s.d.ts → Slider-DPkwrTPB.d.ts} +1 -1
  98. package/dist/{Slider.bound-CByTXPTr.js → Slider.bound-DR4CDKah.js} +1 -1
  99. package/dist/{Slider.bound-BChOUGvm.d.ts → Slider.bound-mDyKpk5b.d.ts} +1 -1
  100. package/dist/{Spinner-DNguPtBP.d.ts → Spinner-DDIGQMdy.d.ts} +2 -2
  101. package/dist/{SplitButton-BTuc5oYU.d.ts → SplitButton-Cl0OotCy.d.ts} +3 -3
  102. package/dist/{Stepper-DNu5YlbG.d.ts → Stepper-C42LqWVY.d.ts} +2 -2
  103. package/dist/{Switch-CVt-dT9Z.d.ts → Switch-AzzCGybn.d.ts} +1 -1
  104. package/dist/{Switch-BfpSMMpv.js → Switch-C0JkyNRc.js} +1 -1
  105. package/dist/{Switch.bound-Dv0cHsMM.js → Switch.bound-Akzh7yLe.js} +1 -1
  106. package/dist/{Switch.bound-56C86rOe.d.ts → Switch.bound-BN6VZFIu.d.ts} +1 -1
  107. package/dist/TableDnd-lKAzjdMo.js +224 -0
  108. package/dist/TableDragHandle-Dypn1H3e.js +42 -0
  109. package/dist/{TableRowDetails-A_FdBE_d.d.ts → TableRowDetails-BUjTAaX_.d.ts} +9 -5
  110. package/dist/{TabsFilters-BDoCGfRA.d.ts → TabsFilters-D5_GTSUn.d.ts} +1 -1
  111. package/dist/{TabsFilters-ka2sUZPi.js → TabsFilters-DinXME1z.js} +2 -2
  112. package/dist/{Tag-BxYYX-i7.d.ts → Tag-BT_DWubz.d.ts} +3 -3
  113. package/dist/{TextArea-DxAHDgz4.d.ts → TextArea-BLBtdME_.d.ts} +2 -2
  114. package/dist/{TextArea-CqT0_Bn-.js → TextArea-BuZ7-sl8.js} +2 -2
  115. package/dist/{TextArea.bound-kHkY_d9o.js → TextArea.bound-Cq9ygf7N.js} +1 -1
  116. package/dist/{TextArea.bound-oSnqk1Un.d.ts → TextArea.bound-DNIv0B6x.d.ts} +1 -1
  117. package/dist/{TimePicker-Duw94UIt.js → TimePicker-CWXawTn4.js} +11 -9
  118. package/dist/{TimePicker-Yg84ntZH.d.ts → TimePicker-NjamhLJ4.d.ts} +2 -2
  119. package/dist/{TimePicker.bound-5b_qcmeo.d.ts → TimePicker.bound-BX86D4HJ.d.ts} +1 -1
  120. package/dist/{TimePicker.bound-DX5pXlgZ.js → TimePicker.bound-DINg3Eqe.js} +1 -1
  121. package/dist/{TimePickerForm-BiWPFcsD.js → TimePickerForm-Csp_0tIY.js} +13 -8
  122. package/dist/{Toast-DbIZorlS.d.ts → Toast-DzsNOMnh.d.ts} +1 -1
  123. package/dist/{ToastContainer-DtpZaefx.js → ToastContainer-J4y5mLdO.js} +3 -3
  124. package/dist/{ToggleButton-CdcLn-PW.d.ts → ToggleButton-BOjC9UCs.d.ts} +1 -1
  125. package/dist/{ToggleGroup-Co1-A0Ti.js → ToggleGroup-BSl6K-jV.js} +1 -1
  126. package/dist/{ToggleGroup-Cbx9Keza.d.ts → ToggleGroup-z8vtwj1Y.d.ts} +1 -1
  127. package/dist/{ToggleGroup.bound-DphkH_jH.js → ToggleGroup.bound-Bbk2CqZi.js} +1 -1
  128. package/dist/{ToggleGroup.bound-dDLGgcJm.d.ts → ToggleGroup.bound-pTKJagth.d.ts} +1 -1
  129. package/dist/{Tooltip-Bg9AFtGw.d.ts → Tooltip-B_Tt4Bck.d.ts} +1 -1
  130. package/dist/{TooltipWrapper-DcrEabVw.js → TooltipWrapper-D6sJYclQ.js} +2 -2
  131. package/dist/{Typography-MkA6LnHW.d.ts → Typography-kfXNpNVv.d.ts} +1 -1
  132. package/dist/{badgeButton.cva-Bjhs4ops.d.ts → badgeButton.cva-CPQAbZ8Y.d.ts} +3 -3
  133. package/dist/{badgeButton.cva-CqaR8KBt.js → badgeButton.cva-DbGx8oRe.js} +3 -2
  134. package/dist/{button.cva-DoDFPTm5.d.ts → button.cva-BDd6y8E8.d.ts} +3 -3
  135. package/dist/{buttonContent.cva-Dj7Eve71.d.ts → buttonContent.cva-CbHXH_yh.d.ts} +2 -2
  136. package/dist/calendar.cva-BEQxOs-f.js +195 -0
  137. package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
  138. package/dist/{checkbox.cva-DUvQJdT-.d.ts → checkbox.cva-Cd4qZzud.d.ts} +3 -3
  139. package/dist/columnConfig.cva-CERwSZRN.js +29 -0
  140. package/dist/components/alert-dialog.d.ts +1 -1
  141. package/dist/components/alert-dialog.js +3 -3
  142. package/dist/components/alert.d.ts +1 -1
  143. package/dist/components/autocomplete.d.ts +1 -1
  144. package/dist/components/autocomplete.js +1 -1
  145. package/dist/components/badge-button.d.ts +1 -1
  146. package/dist/components/badge-button.js +28 -21
  147. package/dist/components/badge.d.ts +1 -1
  148. package/dist/components/badge.js +3 -3
  149. package/dist/components/bottom-sheet-header.d.ts +1 -1
  150. package/dist/components/bottom-sheet-header.js +22 -18
  151. package/dist/components/bottom-sheet.d.ts +2 -2
  152. package/dist/components/bottom-sheet.js +1 -1
  153. package/dist/components/breadcrumbs.d.ts +1 -1
  154. package/dist/components/button.d.ts +2 -2
  155. package/dist/components/button.js +1 -1
  156. package/dist/components/checkbox-group.d.ts +1 -1
  157. package/dist/components/checkbox-group.js +1 -1
  158. package/dist/components/checkbox.d.ts +1 -1
  159. package/dist/components/checkbox.js +1 -1
  160. package/dist/components/date-picker.d.ts +1 -1
  161. package/dist/components/date-picker.js +1 -1
  162. package/dist/components/date-range-picker.d.ts +1 -1
  163. package/dist/components/date-range-picker.js +1 -1
  164. package/dist/components/date-time-picker.d.ts +1 -1
  165. package/dist/components/date-time-picker.js +1 -1
  166. package/dist/components/dialog.d.ts +1 -1
  167. package/dist/components/dialog.js +1 -1
  168. package/dist/components/dropdown-menu.d.ts +2 -2
  169. package/dist/components/dropdown-menu.js +1 -1
  170. package/dist/components/file-input.d.ts +1 -1
  171. package/dist/components/file-input.js +1 -1
  172. package/dist/components/file-upload-container.d.ts +2 -2
  173. package/dist/components/file-upload-container.js +1 -1
  174. package/dist/components/file-upload.d.ts +2 -2
  175. package/dist/components/file-upload.js +1 -1
  176. package/dist/components/form-field.d.ts +1 -1
  177. package/dist/components/icon-button.d.ts +1 -1
  178. package/dist/components/icon-button.js +1 -1
  179. package/dist/components/icon-slot.d.ts +1 -1
  180. package/dist/components/input-frame.d.ts +4 -4
  181. package/dist/components/input-frame.js +7 -6
  182. package/dist/components/input.d.ts +1 -1
  183. package/dist/components/input.js +1 -1
  184. package/dist/components/link.d.ts +1 -1
  185. package/dist/components/number-field.d.ts +1 -1
  186. package/dist/components/number-field.js +1 -1
  187. package/dist/components/number-range-input.d.ts +1 -1
  188. package/dist/components/number-range-input.js +1 -1
  189. package/dist/components/page-header.d.ts +1 -1
  190. package/dist/components/password-input.d.ts +1 -1
  191. package/dist/components/password-input.js +2 -2
  192. package/dist/components/popover.d.ts +1 -1
  193. package/dist/components/popover.js +1 -1
  194. package/dist/components/progress.d.ts +1 -1
  195. package/dist/components/radio-group.d.ts +1 -1
  196. package/dist/components/radio-group.js +1 -1
  197. package/dist/components/select.d.ts +1 -1
  198. package/dist/components/select.js +1 -1
  199. package/dist/components/sidebar.d.ts +1 -1
  200. package/dist/components/sidebar.js +1 -1
  201. package/dist/components/slider.d.ts +1 -1
  202. package/dist/components/slider.js +1 -1
  203. package/dist/components/spinner.d.ts +1 -1
  204. package/dist/components/split-button.d.ts +1 -1
  205. package/dist/components/split-button.js +2 -2
  206. package/dist/components/stepper.d.ts +1 -1
  207. package/dist/components/style-definitions.d.ts +2 -2
  208. package/dist/components/style-definitions.js +31 -4
  209. package/dist/components/switch.d.ts +1 -1
  210. package/dist/components/switch.js +1 -1
  211. package/dist/components/tabs-filters.d.ts +1 -1
  212. package/dist/components/tabs-filters.js +1 -1
  213. package/dist/components/tag.d.ts +1 -1
  214. package/dist/components/tag.js +2 -2
  215. package/dist/components/text-area.d.ts +1 -1
  216. package/dist/components/text-area.js +1 -1
  217. package/dist/components/time-picker.d.ts +1 -1
  218. package/dist/components/time-picker.js +1 -1
  219. package/dist/components/toast.d.ts +2 -2
  220. package/dist/components/toast.js +2 -2
  221. package/dist/components/toggle-button.d.ts +1 -1
  222. package/dist/components/toggle-button.js +1 -1
  223. package/dist/components/toggle-group.d.ts +1 -1
  224. package/dist/components/toggle-group.js +1 -1
  225. package/dist/components/tooltip.d.ts +1 -1
  226. package/dist/components/typography.d.ts +2 -2
  227. package/dist/components/use-toast.d.ts +1 -1
  228. package/dist/components/use-toast.js +2 -2
  229. package/dist/config/component-configuration.d.ts +2 -2
  230. package/dist/config/confirmation.d.ts +1 -1
  231. package/dist/config/confirmation.js +1 -1
  232. package/dist/config/link-context.d.ts +2 -2
  233. package/dist/config/resources.d.ts +1 -1
  234. package/dist/config/resources.js +1 -1
  235. package/dist/config/ui-config.d.ts +2 -2
  236. package/dist/config/ui-config.js +1 -1
  237. package/dist/config/ui-overrides.d.ts +1 -1
  238. package/dist/{confirmation.context-Bc2yEVp_.js → confirmation.context-CzsTRZem.js} +1 -1
  239. package/dist/{confirmation.context-CAt_T5qZ.d.ts → confirmation.context-DiFWm5XR.d.ts} +1 -1
  240. package/dist/{dist-fFtzh872.js → dist-xgJbeZHj.js} +12 -8
  241. package/dist/{fileUpload.types-CfUkihds.d.ts → fileUpload.types-J2_-C028.d.ts} +2 -2
  242. package/dist/hooks/use-async-list.js +1 -1
  243. package/dist/{i18n-DM-PUcxQ.d.ts → i18n-ChMvQtCN.d.ts} +34 -4
  244. package/dist/{i18n-D8vXIoiq.js → i18n-x5Ncs165.js} +36 -6
  245. package/dist/{iconSlot.cva-I0pFwkGy.d.ts → iconSlot.cva-Ce-gT2l9.d.ts} +2 -2
  246. package/dist/icons.d.ts +1 -1
  247. package/dist/{import-C7W0Wv2r.js → import-BTw4QXEc.js} +39 -15
  248. package/dist/index.d.ts +76 -75
  249. package/dist/index.js +45 -44
  250. package/dist/{input.cva-cNv7yhcp.d.ts → input.cva-CrHUbtM5.d.ts} +2 -2
  251. package/dist/inputRow.clsx-BbcaXVta.js +6 -0
  252. package/dist/{link.context-LSbvpZCL.d.ts → link.context-i4nBN7Vz.d.ts} +1 -1
  253. package/dist/{radio.cva-CtBwM88n.d.ts → radio.cva-CrEoyom3.d.ts} +3 -3
  254. package/dist/rich-text-editor.d.ts +1 -1
  255. package/dist/rich-text-editor.js +1 -1
  256. package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
  257. package/dist/{staticDateTimeSegments-BVvFHWOs.js → staticDateTimeSegments-B0svHpvh.js} +29 -14
  258. package/dist/{style-definitions-DJOlAxCG.d.ts → style-definitions-BcKPX5mb.d.ts} +120 -4
  259. package/dist/styles/input.d.ts +1 -1
  260. package/dist/{switch.cva-DmuYW9tg.d.ts → switch.cva-CRU1tzXQ.d.ts} +3 -3
  261. package/dist/{table.cva-DkcsOmZG.js → table.cva-DJhjptlL.js} +58 -17
  262. package/dist/tableCells.cva-Br0_kgRM.js +18 -0
  263. package/dist/tableColumnConfigStorage-7W1CssoX.js +215 -0
  264. package/dist/tableVirtualStore-whSmFzTV.js +67 -0
  265. package/dist/tanstack/autocomplete.d.ts +2 -2
  266. package/dist/tanstack/autocomplete.js +1 -1
  267. package/dist/tanstack/checkbox-group.d.ts +2 -2
  268. package/dist/tanstack/checkbox-group.js +1 -1
  269. package/dist/tanstack/checkbox.d.ts +2 -2
  270. package/dist/tanstack/checkbox.js +1 -1
  271. package/dist/tanstack/date-picker.d.ts +2 -2
  272. package/dist/tanstack/date-picker.js +1 -1
  273. package/dist/tanstack/date-range-picker.d.ts +2 -2
  274. package/dist/tanstack/date-range-picker.js +1 -1
  275. package/dist/tanstack/date-time-picker.d.ts +2 -2
  276. package/dist/tanstack/date-time-picker.js +1 -1
  277. package/dist/tanstack/file-input.d.ts +2 -2
  278. package/dist/tanstack/file-input.js +1 -1
  279. package/dist/tanstack/file-upload.d.ts +3 -3
  280. package/dist/tanstack/file-upload.js +1 -1
  281. package/dist/tanstack/input.d.ts +2 -2
  282. package/dist/tanstack/input.js +1 -1
  283. package/dist/tanstack/number-field.d.ts +2 -2
  284. package/dist/tanstack/number-field.js +1 -1
  285. package/dist/tanstack/number-range-input.d.ts +2 -2
  286. package/dist/tanstack/number-range-input.js +1 -1
  287. package/dist/tanstack/password-input.d.ts +1 -1
  288. package/dist/tanstack/password-input.js +1 -1
  289. package/dist/tanstack/radio-group.d.ts +2 -2
  290. package/dist/tanstack/radio-group.js +1 -1
  291. package/dist/tanstack/rich-text-editor.d.ts +1 -1
  292. package/dist/tanstack/rich-text-editor.js +1 -1
  293. package/dist/tanstack/select.d.ts +2 -2
  294. package/dist/tanstack/select.js +1 -1
  295. package/dist/tanstack/slider.d.ts +2 -2
  296. package/dist/tanstack/slider.js +1 -1
  297. package/dist/tanstack/switch.d.ts +2 -2
  298. package/dist/tanstack/switch.js +1 -1
  299. package/dist/tanstack/table-context.d.ts +2 -0
  300. package/dist/tanstack/table-context.js +2 -0
  301. package/dist/tanstack/table-types.d.ts +55 -0
  302. package/dist/tanstack/table.d.ts +4 -3
  303. package/dist/tanstack/table.js +3 -2
  304. package/dist/tanstack/text-area.d.ts +2 -2
  305. package/dist/tanstack/text-area.js +1 -1
  306. package/dist/tanstack/time-picker.d.ts +2 -2
  307. package/dist/tanstack/time-picker.js +1 -1
  308. package/dist/tanstack/toggle-group.d.ts +2 -2
  309. package/dist/tanstack/toggle-group.js +1 -1
  310. package/dist/{tanstack-CJKor9l-.d.ts → tanstack-Ci8mM89Q.d.ts} +67 -67
  311. package/dist/tanstack-table-DQhB9xMa.d.ts +656 -0
  312. package/dist/tanstack-table-iAD6ZDHR.js +5004 -0
  313. package/dist/tanstack.d.ts +76 -75
  314. package/dist/tanstack.js +45 -44
  315. package/dist/{toast.cva-BnXRIWVy.d.ts → toast.cva-BXdt_pK4.d.ts} +3 -3
  316. package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-Bc90e3cT.js} +5 -1
  317. package/dist/{toast.runtime-BWQLlbZW.js → toast.runtime-DUT7yTvj.js} +1 -1
  318. package/dist/{toggleGroup.cva-BZcOUjIS.d.ts → toggleGroup.cva-CZ-Nr2qS.d.ts} +2 -2
  319. package/dist/{typography.cva-DcBCiskp.d.ts → typography.cva-DbNNkjuR.d.ts} +2 -2
  320. package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-BsLQ10JQ.js} +58 -3
  321. package/dist/uiConfig.context-CEuWPygU.d.ts +250 -0
  322. package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-CO9peDGD.d.ts} +101 -0
  323. package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-BVZ1va2U.js} +67 -14
  324. package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-C9N7g37E.js} +2 -2
  325. package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-CZg2YIi8.js} +1 -1
  326. package/dist/useTableVirtualizer-B5g8oTj1.d.ts +160 -0
  327. package/dist/{useToast-CjyrMHdh.d.ts → useToast-UqFXSmK_.d.ts} +1 -1
  328. package/package.json +13 -1
  329. package/dist/TableDnd-CuHxANWh.js +0 -133
  330. package/dist/uiConfig.context-CoE2HBL4.d.ts +0 -133
  331. package/dist/useTableColumnConfig-D4BGhlBT.js +0 -1906
  332. package/dist/useTableNav-hQCt_TbI.d.ts +0 -197
@@ -1,4 +1,4 @@
1
- import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
1
+ import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
2
2
  //#region src/components/DropdownMenu/dropdownMenu.cva.d.ts
3
3
  declare const dropdownMenuDefinition: {
4
4
  base: string[];
@@ -416,6 +416,35 @@ declare const cvaDefinitions: {
416
416
  };
417
417
  }>;
418
418
  };
419
+ "columnConfig.contentCva": {
420
+ base: string[];
421
+ config?: StyleMergeUtils.Config<Record<never, never>>;
422
+ };
423
+ "columnConfig.rowCva": {
424
+ base: string[];
425
+ config: StyleMergeUtils.Config<{
426
+ readonly isOverlay: {
427
+ readonly true: "w-[246px] border border-border shadow-md";
428
+ readonly false: "border-b border-border last:border-b-0";
429
+ };
430
+ }>;
431
+ };
432
+ "columnConfig.rowLabelCva": {
433
+ base: string[];
434
+ config?: StyleMergeUtils.Config<Record<never, never>>;
435
+ };
436
+ "columnConfig.zoneCva": {
437
+ base: string[];
438
+ config?: StyleMergeUtils.Config<Record<never, never>>;
439
+ };
440
+ "columnConfig.zoneEmptyCva": {
441
+ base: string[];
442
+ config?: StyleMergeUtils.Config<Record<never, never>>;
443
+ };
444
+ "columnConfig.zoneHeaderCva": {
445
+ base: string[];
446
+ config?: StyleMergeUtils.Config<Record<never, never>>;
447
+ };
419
448
  "dialog.contentCva": {
420
449
  base: string[];
421
450
  config: StyleMergeUtils.Config<{
@@ -622,6 +651,20 @@ declare const cvaDefinitions: {
622
651
  };
623
652
  }>;
624
653
  };
654
+ "badgeButton.contentCva": {
655
+ base: string[];
656
+ config: StyleMergeUtils.Config<{
657
+ readonly iconPosition: {
658
+ readonly left: "";
659
+ readonly right: "";
660
+ readonly none: "";
661
+ };
662
+ }>;
663
+ };
664
+ "badgeButton.iconCva": {
665
+ base: string[];
666
+ config?: StyleMergeUtils.Config<Record<never, never>>;
667
+ };
625
668
  "popover.cva": {
626
669
  base: string[];
627
670
  config?: StyleMergeUtils.Config<Record<never, never>>;
@@ -705,6 +748,10 @@ declare const cvaDefinitions: {
705
748
  };
706
749
  }>;
707
750
  };
751
+ "select.listBoxCva": {
752
+ base: string[];
753
+ config?: StyleMergeUtils.Config<Record<never, never>>;
754
+ };
708
755
  "select.listBoxItemCva": {
709
756
  base: string[];
710
757
  config: StyleMergeUtils.Config<{
@@ -718,6 +765,31 @@ declare const cvaDefinitions: {
718
765
  };
719
766
  }>;
720
767
  };
768
+ "calendar.headerCva": {
769
+ base: string[];
770
+ config?: StyleMergeUtils.Config<Record<never, never>>;
771
+ };
772
+ "calendar.headerSideCva": {
773
+ base: string[];
774
+ config: StyleMergeUtils.Config<{
775
+ readonly includesTime: {
776
+ readonly true: "";
777
+ readonly false: "";
778
+ };
779
+ }>;
780
+ };
781
+ "calendar.navButtonCva": {
782
+ base: string[];
783
+ config?: StyleMergeUtils.Config<Record<never, never>>;
784
+ };
785
+ "calendar.navIconCva": {
786
+ base: string[];
787
+ config?: StyleMergeUtils.Config<Record<never, never>>;
788
+ };
789
+ "calendar.navigationCva": {
790
+ base: string[];
791
+ config?: StyleMergeUtils.Config<Record<never, never>>;
792
+ };
721
793
  "select.popoverCva": {
722
794
  base: string[];
723
795
  config?: StyleMergeUtils.Config<Record<never, never>>;
@@ -887,13 +959,17 @@ declare const cvaDefinitions: {
887
959
  readonly rounded: "";
888
960
  readonly verticals: "";
889
961
  readonly horizontals: "";
890
- readonly zebra: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted";
962
+ readonly zebra: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted";
891
963
  readonly "striped-columns": "";
892
964
  readonly inner: "";
893
965
  };
894
966
  readonly alternatingBackground: {
895
- readonly even: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted";
896
- readonly odd: "[&:nth-child(odd_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(odd_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted";
967
+ readonly even: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted";
968
+ readonly odd: "data-[row-parity=odd]:bg-muted/50 data-[row-parity=odd]:not-selected:not-disabled:hover:bg-muted";
969
+ };
970
+ readonly highlightFocused: {
971
+ readonly true: "not-selected:not-disabled:focus-within:bg-muted/50";
972
+ readonly false: "";
897
973
  };
898
974
  }>;
899
975
  };
@@ -901,6 +977,30 @@ declare const cvaDefinitions: {
901
977
  base: string[];
902
978
  config?: StyleMergeUtils.Config<Record<never, never>>;
903
979
  };
980
+ "tableCell.linkActionCva": {
981
+ base: string[];
982
+ config?: StyleMergeUtils.Config<Record<never, never>>;
983
+ };
984
+ "tableCell.linkCva": {
985
+ base: string[];
986
+ config?: StyleMergeUtils.Config<Record<never, never>>;
987
+ };
988
+ "tableCell.linkTextCva": {
989
+ base: string[];
990
+ config?: StyleMergeUtils.Config<Record<never, never>>;
991
+ };
992
+ "tableCell.numberUnitCva": {
993
+ base: string[];
994
+ config?: StyleMergeUtils.Config<Record<never, never>>;
995
+ };
996
+ "tableCell.rowCheckboxCva": {
997
+ base: string[];
998
+ config?: StyleMergeUtils.Config<Record<never, never>>;
999
+ };
1000
+ "tableCell.selectionCheckboxCva": {
1001
+ base: string[];
1002
+ config?: StyleMergeUtils.Config<Record<never, never>>;
1003
+ };
904
1004
  "tag.cva": {
905
1005
  base: string[];
906
1006
  config: StyleMergeUtils.Config<{
@@ -953,6 +1053,22 @@ declare const cvaDefinitions: {
953
1053
  };
954
1054
  }>;
955
1055
  };
1056
+ "toast.contentCva": {
1057
+ base: string[];
1058
+ config?: StyleMergeUtils.Config<Record<never, never>>;
1059
+ };
1060
+ "toast.spinnerCva": {
1061
+ base: string[];
1062
+ config?: StyleMergeUtils.Config<Record<never, never>>;
1063
+ };
1064
+ "toast.textCva": {
1065
+ base: string[];
1066
+ config?: StyleMergeUtils.Config<Record<never, never>>;
1067
+ };
1068
+ "toast.actionsCva": {
1069
+ base: string[];
1070
+ config?: StyleMergeUtils.Config<Record<never, never>>;
1071
+ };
956
1072
  "toggleGroup.cva": {
957
1073
  base: string[];
958
1074
  config?: StyleMergeUtils.Config<Record<never, never>>;
@@ -1,2 +1,2 @@
1
- import { n as InputVariantProps } from "../input.cva-cNv7yhcp.js";
1
+ import { n as InputVariantProps } from "../input.cva-CrHUbtM5.js";
2
2
  export type { InputVariantProps };
@@ -1,6 +1,6 @@
1
- import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
2
- import "./style-definitions-DJOlAxCG.js";
3
- import "./typography.cva-DcBCiskp.js";
1
+ import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-CO9peDGD.js";
2
+ import "./style-definitions-BcKPX5mb.js";
3
+ import "./typography.cva-DbNNkjuR.js";
4
4
  //#region src/components/inputs/Switch/switch.cva.d.ts
5
5
  declare const switchDefinition: {
6
6
  base: string[];
@@ -1,31 +1,38 @@
1
1
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
2
+ import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
2
3
  //#region src/components/table/table.cva.ts
3
4
  const tableRowDefinition = UIOverrides.defineConfig({
4
5
  base: [
5
6
  "transition-colors",
6
7
  "not-selected:not-disabled:hover:bg-muted/50",
7
- "not-selected:not-disabled:focus-within:bg-muted/50",
8
8
  "disabled:opacity-50",
9
9
  "selected:bg-muted",
10
10
  "data-details-open:bg-muted",
11
11
  "selected:not-disabled:hover:bg-accent",
12
12
  "data-clickable:cursor-pointer"
13
13
  ],
14
- config: { variants: {
15
- variant: {
16
- bordered: "",
17
- rounded: "",
18
- verticals: "",
19
- horizontals: "",
20
- zebra: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted",
21
- "striped-columns": "",
22
- inner: ""
14
+ config: {
15
+ variants: {
16
+ variant: {
17
+ bordered: "",
18
+ rounded: "",
19
+ verticals: "",
20
+ horizontals: "",
21
+ zebra: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted",
22
+ "striped-columns": "",
23
+ inner: ""
24
+ },
25
+ alternatingBackground: {
26
+ even: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted",
27
+ odd: "data-[row-parity=odd]:bg-muted/50 data-[row-parity=odd]:not-selected:not-disabled:hover:bg-muted"
28
+ },
29
+ highlightFocused: {
30
+ true: "not-selected:not-disabled:focus-within:bg-muted/50",
31
+ false: ""
32
+ }
23
33
  },
24
- alternatingBackground: {
25
- even: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted",
26
- odd: "[&:nth-child(odd_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(odd_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted"
27
- }
28
- } }
34
+ defaultVariants: { highlightFocused: true }
35
+ }
29
36
  });
30
37
  const tableContainerDefinition = UIOverrides.defineConfig({
31
38
  base: ["relative w-full"],
@@ -51,7 +58,7 @@ const tableContainerDefinition = UIOverrides.defineConfig({
51
58
  }
52
59
  }
53
60
  });
54
- const theadDefinition = UIOverrides.defineConfig({ base: ["group/table-head sticky top-0 z-sticky data-is-sticky:shadow-xs"] });
61
+ const theadDefinition = UIOverrides.defineConfig({ base: ["group/table-head sticky top-[var(--table-sticky-top,0px)] z-sticky data-is-sticky:shadow-xs"] });
55
62
  const pinnedEdgeClasses = [
56
63
  "transition-shadow",
57
64
  "group-data-stuck-start/table:data-[pinned-edge=start]:shadow-[inset_-1px_0_0_var(--color-border),8px_0_12px_-6px_rgb(0_0_0/0.10),2px_0_4px_-2px_rgb(0_0_0/0.06)]",
@@ -143,5 +150,39 @@ const tableDetailsPanelDefinition = UIOverrides.defineConfig({ base: ["px-4 py-4
143
150
  const tableSidePanelDefinition = UIOverrides.defineConfig({ base: ["sticky top-0 flex max-h-screen w-96 max-w-[45%] shrink-0 flex-col overflow-y-auto", "border-l border-solid border-border bg-card"] });
144
151
  const tableSidePanelHeaderDefinition = UIOverrides.defineConfig({ base: ["flex items-start gap-3 px-6 pt-5 text-card-foreground"] });
145
152
  const tableSidePanelBodyDefinition = UIOverrides.defineConfig({ base: ["px-6 pt-4 pb-6 font-sans text-foreground"] });
153
+ const tableDefinition = UIOverrides.defineConfig({ base: ["group/table w-full font-sans text-sm"] });
154
+ const tableHeadContentDefinition = UIOverrides.defineConfig({ base: ["flex min-w-0 items-center gap-1"] });
155
+ const tableHeadLabelDefinition = UIOverrides.defineConfig({ base: ["flex min-w-0 flex-1"] });
156
+ const tableSortButtonDefinition = UIOverrides.defineConfig({
157
+ base: ["flex min-w-0 select-none items-center gap-1 text-card-foreground", uiOutlineClass],
158
+ config: {
159
+ variants: { sortable: {
160
+ true: "-mx-1 h-6 cursor-pointer rounded-xs px-1 hover:bg-muted/50",
161
+ false: "cursor-default"
162
+ } },
163
+ defaultVariants: { sortable: false }
164
+ }
165
+ });
166
+ const tableResizeHandleDefinition = UIOverrides.defineConfig({
167
+ base: [
168
+ "absolute inset-y-0 z-raised w-2 pointer-coarse:w-6 cursor-col-resize touch-none select-none outline-none",
169
+ "after:absolute after:inset-y-1 after:w-0.5 after:rounded-full after:transition-colors",
170
+ "hover:after:bg-card-foreground focus-visible:after:bg-ring",
171
+ "data-resizing:after:bg-card-foreground"
172
+ ],
173
+ config: {
174
+ variants: { edge: {
175
+ end: "right-0 after:right-0",
176
+ start: "left-0 after:left-0"
177
+ } },
178
+ defaultVariants: { edge: "end" }
179
+ }
180
+ });
181
+ const tableFootDefinition = UIOverrides.defineConfig({ base: ["sticky bottom-0 z-raised"] });
182
+ const tableSkeletonDefinition = UIOverrides.defineConfig({ base: ["h-4 w-3/4 animate-pulse rounded bg-muted motion-reduce:animate-none"] });
183
+ const tableEmptyCellDefinition = UIOverrides.defineConfig({ base: ["p-0"] });
184
+ const tableEmptyDefinition = UIOverrides.defineConfig({ base: ["flex items-center justify-center px-4 py-6 text-center text-muted-foreground"] });
185
+ const tableLoadingDefinition = UIOverrides.defineConfig({ base: ["sticky start-1/2 flex w-fit -translate-x-1/2 items-center justify-center p-6 text-muted-foreground rtl:translate-x-1/2"] });
186
+ const tableDragHandleDefinition = UIOverrides.defineConfig({ base: ["cursor-move p-1"] });
146
187
  //#endregion
147
- export { tableDetailsPanelDefinition as a, tableHeaderTextDefinition as c, tableSidePanelDefinition as d, tableSidePanelHeaderDefinition as f, tableDetailsCellDefinition as i, tableRowDefinition as l, tableContainerDefinition as n, tableHeadDataDefinition as o, theadDefinition as p, tableDataDefinition as r, tableHeadRowDefinition as s, tableCellTextDefinition as t, tableSidePanelBodyDefinition as u };
188
+ export { tableSortButtonDefinition as C, tableSkeletonDefinition as S, tableResizeHandleDefinition as _, tableDetailsCellDefinition as a, tableSidePanelDefinition as b, tableEmptyCellDefinition as c, tableHeadContentDefinition as d, tableHeadDataDefinition as f, tableLoadingDefinition as g, tableHeaderTextDefinition as h, tableDefinition as i, tableEmptyDefinition as l, tableHeadRowDefinition as m, tableContainerDefinition as n, tableDetailsPanelDefinition as o, tableHeadLabelDefinition as p, tableDataDefinition as r, tableDragHandleDefinition as s, tableCellTextDefinition as t, tableFootDefinition as u, tableRowDefinition as v, theadDefinition as w, tableSidePanelHeaderDefinition as x, tableSidePanelBodyDefinition as y };
@@ -0,0 +1,18 @@
1
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
2
+ //#region src/components/table/tableCells.cva.ts
3
+ const cellLinkDefinition = UIOverrides.defineConfig({ base: ["group/cell-link flex items-center justify-between gap-1"] });
4
+ const cellLinkTextDefinition = UIOverrides.defineConfig({ base: ["min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap"] });
5
+ const cellLinkActionDefinition = UIOverrides.defineConfig({ base: [
6
+ "inline-flex size-5 shrink-0 items-center justify-center rounded text-muted-foreground",
7
+ "opacity-0 group-hover/cell-link:opacity-100 focus-visible:opacity-100",
8
+ "hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring"
9
+ ] });
10
+ const cellNumberUnitDefinition = UIOverrides.defineConfig({ base: ["text-muted-foreground"] });
11
+ const tableRowCheckboxDefinition = UIOverrides.defineConfig({ base: [
12
+ "group relative inline-flex size-6 shrink-0 items-center justify-center",
13
+ "[&:has(input:focus-visible)>div]:outline-2 [&:has(input:focus-visible)>div]:outline-offset-2 [&:has(input:focus-visible)>div]:outline-ring",
14
+ "data-disabled:opacity-50"
15
+ ] });
16
+ const tableSelectionCheckboxDefinition = UIOverrides.defineConfig({ base: ["flex h-full w-full items-center justify-center"] });
17
+ //#endregion
18
+ export { tableRowCheckboxDefinition as a, cellNumberUnitDefinition as i, cellLinkDefinition as n, tableSelectionCheckboxDefinition as o, cellLinkTextDefinition as r, cellLinkActionDefinition as t };
@@ -0,0 +1,215 @@
1
+ import { c } from "react/compiler-runtime";
2
+ import { createContext, useEffect, useLayoutEffect, useState, useSyncExternalStore } from "react";
3
+ //#region src/components/table/cellLinkContext.ts
4
+ /**
5
+ * Opens cell links in place instead of a new tab. Provide a handler, e.g. one that navigates inside a search
6
+ * overlay; the link icon then becomes a button calling it with the link's `href`.
7
+ */
8
+ const CellLinkNavigationContext = createContext(null);
9
+ /** Preload handlers for every `CellLink` below it, so an app wires its router once. */
10
+ const CellLinkPreloadContext = createContext(null);
11
+ //#endregion
12
+ //#region src/components/table/tableConfigurationContext.ts
13
+ /**
14
+ * Turns table configuration (column resizing, the column config UI and saved column settings) on or off for every
15
+ * table below it. Wrap a subtree in `<TableConfigurationEnabledContext value={false}>` to render plain tables there.
16
+ */
17
+ const TableConfigurationEnabledContext = createContext(true);
18
+ //#endregion
19
+ //#region src/components/table/lazyModule.ts
20
+ const useLazyModule = (lazyModule, enabled) => {
21
+ const $ = c(10);
22
+ let t0;
23
+ if ($[0] !== lazyModule.loaded) {
24
+ t0 = () => ({
25
+ module: lazyModule.loaded,
26
+ failed: false
27
+ });
28
+ $[0] = lazyModule.loaded;
29
+ $[1] = t0;
30
+ } else t0 = $[1];
31
+ const [state, setState] = useState(t0);
32
+ const { module } = state;
33
+ let t1;
34
+ let t2;
35
+ if ($[2] !== enabled || $[3] !== lazyModule || $[4] !== module) {
36
+ t1 = () => {
37
+ if (!enabled || module) return;
38
+ let active = true;
39
+ lazyModule.load().then((loaded) => {
40
+ if (active) setState({
41
+ module: loaded,
42
+ failed: false
43
+ });
44
+ }, () => {
45
+ if (active) setState({
46
+ module: null,
47
+ failed: true
48
+ });
49
+ });
50
+ return () => {
51
+ active = false;
52
+ };
53
+ };
54
+ t2 = [
55
+ enabled,
56
+ lazyModule,
57
+ module
58
+ ];
59
+ $[2] = enabled;
60
+ $[3] = lazyModule;
61
+ $[4] = module;
62
+ $[5] = t1;
63
+ $[6] = t2;
64
+ } else {
65
+ t1 = $[5];
66
+ t2 = $[6];
67
+ }
68
+ useEffect(t1, t2);
69
+ let t3;
70
+ if ($[7] !== enabled || $[8] !== state) {
71
+ t3 = enabled ? state : {
72
+ module: null,
73
+ failed: false
74
+ };
75
+ $[7] = enabled;
76
+ $[8] = state;
77
+ $[9] = t3;
78
+ } else t3 = $[9];
79
+ return t3;
80
+ };
81
+ /**
82
+ * A module loaded on demand and shared by every table. A failed load is not cached: `preload` and later mounts try
83
+ * again, and the tables that asked for it learn of the failure so they can render without it.
84
+ */
85
+ const createLazyModule = (load) => {
86
+ let modulePromise = null;
87
+ const lazyModule = {
88
+ loaded: null,
89
+ load: () => {
90
+ modulePromise ??= load().then((module) => {
91
+ lazyModule.loaded = module;
92
+ return module;
93
+ }, (error) => {
94
+ modulePromise = null;
95
+ throw error;
96
+ });
97
+ return modulePromise;
98
+ }
99
+ };
100
+ return {
101
+ /** Starts loading; a failure is swallowed here, and a mount that needs the module retries. */
102
+ preload: () => lazyModule.load().catch(() => null),
103
+ useModule: (enabled) => useLazyModule(lazyModule, enabled)
104
+ };
105
+ };
106
+ //#endregion
107
+ //#region src/components/table/tableDndModule.ts
108
+ const dndModuleLoader = createLazyModule(() => import("./TableDnd-lKAzjdMo.js"));
109
+ /**
110
+ * Loads dnd-kit for `enableDragDrop` tables. Tables load it on mount; call it earlier (for example when a route that
111
+ * reorders rows starts loading) so their rows render on the first paint.
112
+ */
113
+ const preloadTableDnd = dndModuleLoader.preload;
114
+ const TableDndModuleContext = createContext(null);
115
+ /** dnd-kit once it has loaded, while `enabled`; `failed` when it couldn't load (the table then renders without drag). */
116
+ const useTableDndModule = dndModuleLoader.useModule;
117
+ //#endregion
118
+ //#region src/components/table/useTableVirtualizer.ts
119
+ const virtualModuleLoader = createLazyModule(() => import("./tableVirtualStore-whSmFzTV.js"));
120
+ /**
121
+ * Loads row virtualization. Virtualized tables load it on mount and render their first rows meanwhile; call it at
122
+ * startup when most tables virtualize, so the first table virtualizes on its first render.
123
+ */
124
+ const preloadTableVirtualizer = virtualModuleLoader.preload;
125
+ /** The virtualization module once it has loaded, while `enabled`; `failed` when it couldn't load. */
126
+ const useTableVirtualModule = virtualModuleLoader.useModule;
127
+ const EMPTY_SNAPSHOT = {
128
+ virtualItems: [],
129
+ totalSize: 0
130
+ };
131
+ const getEmptySnapshot = () => EMPTY_SNAPSHOT;
132
+ const subscribeToNothing = () => () => {};
133
+ /** A row virtualizer once `module` is loaded; until then it renders nothing virtual. */
134
+ function useTableVirtualizer(module, options) {
135
+ const $ = c(21);
136
+ let t0;
137
+ if ($[0] !== module || $[1] !== options) {
138
+ t0 = () => module ? new module.TableVirtualStore(options) : null;
139
+ $[0] = module;
140
+ $[1] = options;
141
+ $[2] = t0;
142
+ } else t0 = $[2];
143
+ const [store, setStore] = useState(t0);
144
+ let current;
145
+ if ($[3] !== module || $[4] !== options || $[5] !== store) {
146
+ current = store;
147
+ if (module && !current) {
148
+ current = new module.TableVirtualStore(options);
149
+ setStore(current);
150
+ }
151
+ $[3] = module;
152
+ $[4] = options;
153
+ $[5] = store;
154
+ $[6] = current;
155
+ } else current = $[6];
156
+ const snapshot = useSyncExternalStore(current?.subscribe ?? subscribeToNothing, current?.getSnapshot ?? getEmptySnapshot, current?.getSnapshot ?? getEmptySnapshot);
157
+ let t1;
158
+ if ($[7] !== current) {
159
+ t1 = () => current?.mount();
160
+ $[7] = current;
161
+ $[8] = t1;
162
+ } else t1 = $[8];
163
+ let t2;
164
+ if ($[9] !== current) {
165
+ t2 = [current];
166
+ $[9] = current;
167
+ $[10] = t2;
168
+ } else t2 = $[10];
169
+ useLayoutEffect(t1, t2);
170
+ let t3;
171
+ if ($[11] !== current || $[12] !== options) {
172
+ t3 = () => current?.update(options);
173
+ $[11] = current;
174
+ $[12] = options;
175
+ $[13] = t3;
176
+ } else t3 = $[13];
177
+ let t4;
178
+ if ($[14] !== current || $[15] !== options) {
179
+ t4 = [current, options];
180
+ $[14] = current;
181
+ $[15] = options;
182
+ $[16] = t4;
183
+ } else t4 = $[16];
184
+ useLayoutEffect(t3, t4);
185
+ const t5 = current?.instance ?? null;
186
+ const t6 = current?.measureElement;
187
+ let t7;
188
+ if ($[17] !== snapshot || $[18] !== t5 || $[19] !== t6) {
189
+ t7 = {
190
+ ...snapshot,
191
+ instance: t5,
192
+ measureElement: t6
193
+ };
194
+ $[17] = snapshot;
195
+ $[18] = t5;
196
+ $[19] = t6;
197
+ $[20] = t7;
198
+ } else t7 = $[20];
199
+ return t7;
200
+ }
201
+ //#endregion
202
+ //#region src/components/table/tableColumnConfigStorage.ts
203
+ const NO_SETTINGS = {
204
+ settings: void 0,
205
+ save: () => {}
206
+ };
207
+ /** The default: nothing is saved, so configuration lasts while the table is mounted. */
208
+ const memoryTableColumnConfigStorage = { useColumnSettings: () => NO_SETTINGS };
209
+ /**
210
+ * Storage used by `useTableColumnConfig` below it, unless a table passes its own `storage`.
211
+ * Provide one stable object for the app's lifetime: its hook must not change between renders.
212
+ */
213
+ const TableColumnConfigStorageContext = createContext(memoryTableColumnConfigStorage);
214
+ //#endregion
215
+ export { useTableVirtualizer as a, useTableDndModule as c, CellLinkPreloadContext as d, useTableVirtualModule as i, TableConfigurationEnabledContext as l, memoryTableColumnConfigStorage as n, TableDndModuleContext as o, preloadTableVirtualizer as r, preloadTableDnd as s, TableColumnConfigStorageContext as t, CellLinkNavigationContext as u };
@@ -0,0 +1,67 @@
1
+ import { flushSync } from "react-dom";
2
+ import { Virtualizer, elementScroll, observeElementOffset, observeElementRect, observeWindowOffset, observeWindowRect, windowScroll } from "@tanstack/react-virtual";
3
+ //#region src/components/table/tableVirtualStore.ts
4
+ const sameItems = (left, right) => left.length === right.length && left.every((item, index) => {
5
+ const other = right[index];
6
+ return other && item.key === other.key && item.index === other.index && item.start === other.start && item.end === other.end && item.size === other.size && item.lane === other.lane;
7
+ });
8
+ /** Keeps the mutable virtualizer behind an external-store boundary; rendering reads immutable snapshots. */
9
+ var TableVirtualStore = class {
10
+ constructor(options) {
11
+ this.listeners = /* @__PURE__ */ new Set();
12
+ this.notify = () => {
13
+ for (const listener of this.listeners) listener();
14
+ };
15
+ this.mount = () => this.instance._didMount();
16
+ this.getSnapshot = () => this.snapshot;
17
+ this.subscribe = (listener) => {
18
+ this.listeners.add(listener);
19
+ return () => {
20
+ this.listeners.delete(listener);
21
+ };
22
+ };
23
+ this.measureElement = (element) => this.instance.measureElement(element);
24
+ this.instance = new Virtualizer(this.resolveOptions(options));
25
+ this.snapshot = {
26
+ virtualItems: this.instance.getVirtualItems(),
27
+ totalSize: this.instance.getTotalSize()
28
+ };
29
+ }
30
+ resolveOptions({ isWindow, ...options }) {
31
+ const windowFunctions = {
32
+ observeElementRect: observeWindowRect,
33
+ observeElementOffset: observeWindowOffset,
34
+ scrollToFn: windowScroll,
35
+ getScrollElement: () => window
36
+ };
37
+ return {
38
+ observeElementRect,
39
+ observeElementOffset,
40
+ scrollToFn: elementScroll,
41
+ ...options,
42
+ ...isWindow ? windowFunctions : {},
43
+ onChange: (instance, synchronous) => {
44
+ this.publish(synchronous);
45
+ options.onChange?.(instance, synchronous);
46
+ }
47
+ };
48
+ }
49
+ publish(synchronous = false) {
50
+ const virtualItems = this.instance.getVirtualItems();
51
+ const totalSize = this.instance.getTotalSize();
52
+ if (totalSize === this.snapshot.totalSize && sameItems(this.snapshot.virtualItems, virtualItems)) return;
53
+ this.snapshot = {
54
+ virtualItems,
55
+ totalSize
56
+ };
57
+ if (synchronous) flushSync(this.notify);
58
+ else this.notify();
59
+ }
60
+ update(options) {
61
+ this.instance.setOptions(this.resolveOptions(options));
62
+ this.instance._willUpdate();
63
+ this.publish();
64
+ }
65
+ };
66
+ //#endregion
67
+ export { TableVirtualStore };
@@ -1,3 +1,3 @@
1
- import { i as AutocompleteItem, n as AutocompleteComponent, r as AutocompleteInner } from "../Autocomplete-BQ9ZQoJt.js";
2
- import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "../Autocomplete.bound-DCbFBXjJ.js";
1
+ import { i as AutocompleteItem, n as AutocompleteComponent, r as AutocompleteInner } from "../Autocomplete-C2XybizC.js";
2
+ import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "../Autocomplete.bound-BaJYZGJp.js";
3
3
  export { Autocomplete, type AutocompleteComponent, type AutocompleteInner, type AutocompleteItem, AutocompleteProps, ControlledAutocompleteProps };
@@ -1,2 +1,2 @@
1
- import { t as Autocomplete } from "../Autocomplete.bound-DCPZBYKR.js";
1
+ import { t as Autocomplete } from "../Autocomplete.bound-CJVuetm8.js";
2
2
  export { Autocomplete };
@@ -1,3 +1,3 @@
1
- import { n as CheckboxGroupBase, r as CheckboxGroupComponent } from "../CheckboxGroup-CTkBMnBN.js";
2
- import { n as CheckboxGroupProps, r as ControlledCheckboxGroupProps, t as CheckboxGroup } from "../CheckboxGroup.bound-C6e91DCT.js";
1
+ import { n as CheckboxGroupBase, r as CheckboxGroupComponent } from "../CheckboxGroup-DXMP1Fex.js";
2
+ import { n as CheckboxGroupProps, r as ControlledCheckboxGroupProps, t as CheckboxGroup } from "../CheckboxGroup.bound-R_k5mYm8.js";
3
3
  export { CheckboxGroup, type CheckboxGroupBase, type CheckboxGroupComponent, CheckboxGroupProps, ControlledCheckboxGroupProps };
@@ -1,2 +1,2 @@
1
- import { t as CheckboxGroup } from "../CheckboxGroup.bound-DyCp83EI.js";
1
+ import { t as CheckboxGroup } from "../CheckboxGroup.bound-Dj0aSHC8.js";
2
2
  export { CheckboxGroup };
@@ -1,3 +1,3 @@
1
- import { i as CheckboxComponent, n as CheckboxBase, r as CheckboxBaseProps } from "../Checkbox-D2VVq5Bi.js";
2
- import { n as CheckboxProps, r as ControlledCheckboxProps, t as Checkbox } from "../Checkbox.bound-Hdvnrnwb.js";
1
+ import { i as CheckboxComponent, n as CheckboxBase, r as CheckboxBaseProps } from "../Checkbox-Df6NfL5V.js";
2
+ import { n as CheckboxProps, r as ControlledCheckboxProps, t as Checkbox } from "../Checkbox.bound-DmHYarAO.js";
3
3
  export { Checkbox, type CheckboxBase, type CheckboxBaseProps, type CheckboxComponent, CheckboxProps, ControlledCheckboxProps };
@@ -1,2 +1,2 @@
1
- import { t as Checkbox } from "../Checkbox.bound-DyQFIVCw.js";
1
+ import { t as Checkbox } from "../Checkbox.bound-C5GA4K6k.js";
2
2
  export { Checkbox };
@@ -1,3 +1,3 @@
1
- import { n as DatePickerComponent, r as DatePickerInner } from "../DatePicker-1VbVBI4l.js";
2
- import { n as DatePicker, r as DatePickerProps, t as ControlledDatePickerProps } from "../DatePicker.bound-ZvJi_V8D.js";
1
+ import { n as DatePickerComponent, r as DatePickerInner } from "../DatePicker-BISGiQSI.js";
2
+ import { n as DatePicker, r as DatePickerProps, t as ControlledDatePickerProps } from "../DatePicker.bound-Cw6scTAM.js";
3
3
  export { ControlledDatePickerProps, DatePicker, type DatePickerComponent, type DatePickerInner, DatePickerProps };
@@ -1,2 +1,2 @@
1
- import { t as DatePicker } from "../DatePicker.bound-BWPOirPV.js";
1
+ import { t as DatePicker } from "../DatePicker.bound-RgShEA8L.js";
2
2
  export { DatePicker };
@@ -1,3 +1,3 @@
1
- import { i as DateRangePickerInner, o as DateRangeRelativeOption, r as DateRangePickerComponent, s as DateRangeResolvedValue, t as AbsoluteDateRangePickerValue } from "../DateRangePicker-B8O8nA1M.js";
2
- import { n as DateRangePicker, r as DateRangePickerProps, t as ControlledDateRangePickerProps } from "../DateRangePicker.bound-B_Lg8Tna.js";
1
+ import { i as DateRangePickerInner, o as DateRangeRelativeOption, r as DateRangePickerComponent, s as DateRangeResolvedValue, t as AbsoluteDateRangePickerValue } from "../DateRangePicker-BaB2DNLG.js";
2
+ import { n as DateRangePicker, r as DateRangePickerProps, t as ControlledDateRangePickerProps } from "../DateRangePicker.bound-QCTKDVl_.js";
3
3
  export { type AbsoluteDateRangePickerValue, ControlledDateRangePickerProps, DateRangePicker, type DateRangePickerComponent, type DateRangePickerInner, DateRangePickerProps, type DateRangeRelativeOption, type DateRangeResolvedValue };
@@ -1,2 +1,2 @@
1
- import { t as DateRangePicker } from "../DateRangePicker.bound-cDWQPCUj.js";
1
+ import { t as DateRangePicker } from "../DateRangePicker.bound-DjVRKJcK.js";
2
2
  export { DateRangePicker };