@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
@@ -0,0 +1,410 @@
1
+ import { t as clsx } from "./clsx-CnD0nOiA.js";
2
+ import { t as Checkbox } from "./Checkbox-CZ9_SfXz.js";
3
+ import { t as Typography } from "./Typography-DCLnPa3P.js";
4
+ import { t as Button } from "./Button-BQkrCpgq.js";
5
+ import { IconButton } from "./components/icon-button.js";
6
+ import "./i18n-x5Ncs165.js";
7
+ import { v as getColumnDefId } from "./tanstack-table-iAD6ZDHR.js";
8
+ import { DndProvider, SortableItem, SortableRows } from "./TableDnd-lKAzjdMo.js";
9
+ import { GripVertical } from "lucide-react";
10
+ import { c } from "react/compiler-runtime";
11
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
+ import { useTranslation } from "react-i18next";
13
+ //#region src/components/table/ColumnListContent.tsx
14
+ const getColumnId = (column) => getColumnDefId(column);
15
+ function ColumnListContent(t0) {
16
+ const $ = c(97);
17
+ const { headingId, configColumns, visibleColumns, onVisibilityChange, onOrderChange, onReset, onClose } = t0;
18
+ const { t } = useTranslation("ui");
19
+ let t1;
20
+ if ($[0] !== configColumns || $[1] !== visibleColumns) {
21
+ let t2;
22
+ if ($[3] !== visibleColumns) {
23
+ t2 = (column) => {
24
+ const id = getColumnId(column);
25
+ return {
26
+ id,
27
+ label: typeof column.header === "string" && column.header ? column.header : id,
28
+ visible: visibleColumns?.[id] ?? true
29
+ };
30
+ };
31
+ $[3] = visibleColumns;
32
+ $[4] = t2;
33
+ } else t2 = $[4];
34
+ t1 = configColumns.map(t2);
35
+ $[0] = configColumns;
36
+ $[1] = visibleColumns;
37
+ $[2] = t1;
38
+ } else t1 = $[2];
39
+ const items = t1;
40
+ let T0;
41
+ let handleDragEnd;
42
+ let handleShowAll;
43
+ let handleToggle;
44
+ let t2;
45
+ let t3;
46
+ let t4;
47
+ let t5;
48
+ let t6;
49
+ let t7;
50
+ let visibleCount;
51
+ if ($[5] !== headingId || $[6] !== items || $[7] !== onOrderChange || $[8] !== onVisibilityChange || $[9] !== t || $[10] !== visibleColumns) {
52
+ visibleCount = items.filter(_temp).length;
53
+ let t8;
54
+ if ($[22] !== onVisibilityChange || $[23] !== visibleColumns) {
55
+ t8 = (id_0, visible) => {
56
+ onVisibilityChange({
57
+ ...visibleColumns,
58
+ [id_0]: visible
59
+ });
60
+ };
61
+ $[22] = onVisibilityChange;
62
+ $[23] = visibleColumns;
63
+ $[24] = t8;
64
+ } else t8 = $[24];
65
+ handleToggle = t8;
66
+ let t9;
67
+ if ($[25] !== items || $[26] !== onVisibilityChange) {
68
+ t9 = () => {
69
+ onVisibilityChange(Object.fromEntries(items.map(_temp2)));
70
+ };
71
+ $[25] = items;
72
+ $[26] = onVisibilityChange;
73
+ $[27] = t9;
74
+ } else t9 = $[27];
75
+ handleShowAll = t9;
76
+ let t10;
77
+ if ($[28] !== items || $[29] !== onOrderChange) {
78
+ t10 = (t11) => {
79
+ const { active, over } = t11;
80
+ if (!over || active.id === over.id) return;
81
+ const ids = items.map(_temp3);
82
+ const oldIndex = ids.indexOf(String(active.id));
83
+ const newIndex = ids.indexOf(String(over.id));
84
+ if (oldIndex === -1 || newIndex === -1) return;
85
+ const [moved] = ids.splice(oldIndex, 1);
86
+ ids.splice(newIndex, 0, moved);
87
+ onOrderChange(ids);
88
+ };
89
+ $[28] = items;
90
+ $[29] = onOrderChange;
91
+ $[30] = t10;
92
+ } else t10 = $[30];
93
+ handleDragEnd = t10;
94
+ let t11;
95
+ if ($[31] !== t) {
96
+ t11 = t(_temp4);
97
+ $[31] = t;
98
+ $[32] = t11;
99
+ } else t11 = $[32];
100
+ let t12;
101
+ if ($[33] !== headingId || $[34] !== t11) {
102
+ t12 = /* @__PURE__ */ jsx(Typography, {
103
+ as: "h2",
104
+ id: headingId,
105
+ size: "h3",
106
+ className: "font-semibold text-foreground",
107
+ children: t11
108
+ });
109
+ $[33] = headingId;
110
+ $[34] = t11;
111
+ $[35] = t12;
112
+ } else t12 = $[35];
113
+ let t13;
114
+ if ($[36] !== t) {
115
+ t13 = t(_temp5);
116
+ $[36] = t;
117
+ $[37] = t13;
118
+ } else t13 = $[37];
119
+ let t14;
120
+ if ($[38] !== t13) {
121
+ t14 = /* @__PURE__ */ jsx(Typography, {
122
+ size: "body",
123
+ className: "text-pretty text-muted-foreground",
124
+ children: t13
125
+ });
126
+ $[38] = t13;
127
+ $[39] = t14;
128
+ } else t14 = $[39];
129
+ if ($[40] !== t12 || $[41] !== t14) {
130
+ t7 = /* @__PURE__ */ jsxs("div", {
131
+ className: "flex flex-col gap-1.5 pr-6",
132
+ children: [t12, t14]
133
+ });
134
+ $[40] = t12;
135
+ $[41] = t14;
136
+ $[42] = t7;
137
+ } else t7 = $[42];
138
+ t6 = "flex flex-col gap-2";
139
+ t5 = "flex items-center justify-between";
140
+ T0 = Typography;
141
+ t2 = "small";
142
+ t3 = "text-muted-foreground";
143
+ t4 = t(_temp6, {
144
+ visible: visibleCount,
145
+ total: items.length
146
+ });
147
+ $[5] = headingId;
148
+ $[6] = items;
149
+ $[7] = onOrderChange;
150
+ $[8] = onVisibilityChange;
151
+ $[9] = t;
152
+ $[10] = visibleColumns;
153
+ $[11] = T0;
154
+ $[12] = handleDragEnd;
155
+ $[13] = handleShowAll;
156
+ $[14] = handleToggle;
157
+ $[15] = t2;
158
+ $[16] = t3;
159
+ $[17] = t4;
160
+ $[18] = t5;
161
+ $[19] = t6;
162
+ $[20] = t7;
163
+ $[21] = visibleCount;
164
+ } else {
165
+ T0 = $[11];
166
+ handleDragEnd = $[12];
167
+ handleShowAll = $[13];
168
+ handleToggle = $[14];
169
+ t2 = $[15];
170
+ t3 = $[16];
171
+ t4 = $[17];
172
+ t5 = $[18];
173
+ t6 = $[19];
174
+ t7 = $[20];
175
+ visibleCount = $[21];
176
+ }
177
+ let t8;
178
+ if ($[43] !== T0 || $[44] !== t2 || $[45] !== t3 || $[46] !== t4) {
179
+ t8 = /* @__PURE__ */ jsx(T0, {
180
+ size: t2,
181
+ className: t3,
182
+ children: t4
183
+ });
184
+ $[43] = T0;
185
+ $[44] = t2;
186
+ $[45] = t3;
187
+ $[46] = t4;
188
+ $[47] = t8;
189
+ } else t8 = $[47];
190
+ const t9 = visibleCount === items.length;
191
+ let t10;
192
+ if ($[48] !== t) {
193
+ t10 = t(_temp7);
194
+ $[48] = t;
195
+ $[49] = t10;
196
+ } else t10 = $[49];
197
+ let t11;
198
+ if ($[50] !== handleShowAll || $[51] !== t10 || $[52] !== t9) {
199
+ t11 = /* @__PURE__ */ jsx(Button, {
200
+ variant: "ghost",
201
+ color: "secondary",
202
+ size: "sm",
203
+ width: "hug",
204
+ isDisabled: t9,
205
+ onPress: handleShowAll,
206
+ children: t10
207
+ });
208
+ $[50] = handleShowAll;
209
+ $[51] = t10;
210
+ $[52] = t9;
211
+ $[53] = t11;
212
+ } else t11 = $[53];
213
+ let t12;
214
+ if ($[54] !== t11 || $[55] !== t5 || $[56] !== t8) {
215
+ t12 = /* @__PURE__ */ jsxs("div", {
216
+ className: t5,
217
+ children: [t8, t11]
218
+ });
219
+ $[54] = t11;
220
+ $[55] = t5;
221
+ $[56] = t8;
222
+ $[57] = t12;
223
+ } else t12 = $[57];
224
+ let t13;
225
+ if ($[58] !== items) {
226
+ t13 = items.map(_temp8);
227
+ $[58] = items;
228
+ $[59] = t13;
229
+ } else t13 = $[59];
230
+ let t14;
231
+ if ($[60] !== handleToggle || $[61] !== items || $[62] !== t) {
232
+ let t15;
233
+ if ($[64] !== handleToggle || $[65] !== t) {
234
+ t15 = (item_3) => /* @__PURE__ */ jsx(SortableItem, {
235
+ id: item_3.id,
236
+ children: (t16) => {
237
+ const { ref, style, isDragging, handleProps } = t16;
238
+ return /* @__PURE__ */ jsxs("li", {
239
+ ref,
240
+ style,
241
+ className: clsx("flex h-11 items-center gap-2 border-b border-border bg-background pr-3 pl-1 last:border-b-0", isDragging && "shadow-md"),
242
+ children: [/* @__PURE__ */ jsx(IconButton, {
243
+ ...handleProps,
244
+ className: "cursor-move p-1 text-muted-foreground",
245
+ label: t(_temp9, { column: item_3.label }),
246
+ icon: GripVertical,
247
+ variant: "text",
248
+ width: "hug",
249
+ disableTooltip: true,
250
+ size: "sm"
251
+ }), /* @__PURE__ */ jsx(Checkbox, {
252
+ isSelected: item_3.visible,
253
+ onChange: (isSelected) => handleToggle(item_3.id, isSelected),
254
+ hideError: true,
255
+ className: "flex-1 flex-row-reverse justify-between",
256
+ labelClassName: item_3.visible ? "text-foreground" : "text-muted-foreground",
257
+ children: item_3.label
258
+ })]
259
+ });
260
+ }
261
+ }, item_3.id);
262
+ $[64] = handleToggle;
263
+ $[65] = t;
264
+ $[66] = t15;
265
+ } else t15 = $[66];
266
+ t14 = items.map(t15);
267
+ $[60] = handleToggle;
268
+ $[61] = items;
269
+ $[62] = t;
270
+ $[63] = t14;
271
+ } else t14 = $[63];
272
+ let t15;
273
+ if ($[67] !== t14) {
274
+ t15 = /* @__PURE__ */ jsx("ul", {
275
+ className: "max-h-96 overflow-y-auto rounded-lg border border-border",
276
+ children: t14
277
+ });
278
+ $[67] = t14;
279
+ $[68] = t15;
280
+ } else t15 = $[68];
281
+ let t16;
282
+ if ($[69] !== t13 || $[70] !== t15) {
283
+ t16 = /* @__PURE__ */ jsx(SortableRows, {
284
+ items: t13,
285
+ children: t15
286
+ });
287
+ $[69] = t13;
288
+ $[70] = t15;
289
+ $[71] = t16;
290
+ } else t16 = $[71];
291
+ let t17;
292
+ if ($[72] !== handleDragEnd || $[73] !== t16) {
293
+ t17 = /* @__PURE__ */ jsx(DndProvider, {
294
+ onDragEnd: handleDragEnd,
295
+ children: t16
296
+ });
297
+ $[72] = handleDragEnd;
298
+ $[73] = t16;
299
+ $[74] = t17;
300
+ } else t17 = $[74];
301
+ let t18;
302
+ if ($[75] !== t12 || $[76] !== t17 || $[77] !== t6) {
303
+ t18 = /* @__PURE__ */ jsxs("div", {
304
+ className: t6,
305
+ children: [t12, t17]
306
+ });
307
+ $[75] = t12;
308
+ $[76] = t17;
309
+ $[77] = t6;
310
+ $[78] = t18;
311
+ } else t18 = $[78];
312
+ const t19 = onReset ? "justify-between" : "justify-end";
313
+ let t20;
314
+ if ($[79] !== t19) {
315
+ t20 = clsx("flex items-center gap-2", t19);
316
+ $[79] = t19;
317
+ $[80] = t20;
318
+ } else t20 = $[80];
319
+ let t21;
320
+ if ($[81] !== onReset || $[82] !== t) {
321
+ t21 = onReset && /* @__PURE__ */ jsx(Button, {
322
+ variant: "ghost",
323
+ color: "secondary",
324
+ width: "hug",
325
+ onPress: onReset,
326
+ children: t(_temp0)
327
+ });
328
+ $[81] = onReset;
329
+ $[82] = t;
330
+ $[83] = t21;
331
+ } else t21 = $[83];
332
+ let t22;
333
+ if ($[84] !== t) {
334
+ t22 = t(_temp1);
335
+ $[84] = t;
336
+ $[85] = t22;
337
+ } else t22 = $[85];
338
+ let t23;
339
+ if ($[86] !== onClose || $[87] !== t22) {
340
+ t23 = /* @__PURE__ */ jsx(Button, {
341
+ variant: "contained",
342
+ color: "primary",
343
+ width: "hug",
344
+ onPress: onClose,
345
+ children: t22
346
+ });
347
+ $[86] = onClose;
348
+ $[87] = t22;
349
+ $[88] = t23;
350
+ } else t23 = $[88];
351
+ let t24;
352
+ if ($[89] !== t20 || $[90] !== t21 || $[91] !== t23) {
353
+ t24 = /* @__PURE__ */ jsxs("div", {
354
+ className: t20,
355
+ children: [t21, t23]
356
+ });
357
+ $[89] = t20;
358
+ $[90] = t21;
359
+ $[91] = t23;
360
+ $[92] = t24;
361
+ } else t24 = $[92];
362
+ let t25;
363
+ if ($[93] !== t18 || $[94] !== t24 || $[95] !== t7) {
364
+ t25 = /* @__PURE__ */ jsxs(Fragment, { children: [
365
+ t7,
366
+ t18,
367
+ t24
368
+ ] });
369
+ $[93] = t18;
370
+ $[94] = t24;
371
+ $[95] = t7;
372
+ $[96] = t25;
373
+ } else t25 = $[96];
374
+ return t25;
375
+ }
376
+ function _temp1($_5) {
377
+ return $_5.ui.table.done;
378
+ }
379
+ function _temp0($_4) {
380
+ return $_4.ui.table.reset;
381
+ }
382
+ function _temp9($_3) {
383
+ return $_3.ui.table.reorderColumn;
384
+ }
385
+ function _temp8(item_2) {
386
+ return item_2.id;
387
+ }
388
+ function _temp7($_2) {
389
+ return $_2.ui.table.showAll;
390
+ }
391
+ function _temp6($_1) {
392
+ return $_1.ui.table.visibleCount;
393
+ }
394
+ function _temp5($_0) {
395
+ return $_0.ui.table.configureColumnsDescription;
396
+ }
397
+ function _temp4($) {
398
+ return $.ui.table.configureColumns;
399
+ }
400
+ function _temp3(item_1) {
401
+ return item_1.id;
402
+ }
403
+ function _temp2(item_0) {
404
+ return [item_0.id, true];
405
+ }
406
+ function _temp(item) {
407
+ return item.visible;
408
+ }
409
+ //#endregion
410
+ export { ColumnListContent };
@@ -1,16 +1,17 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
- import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
3
+ import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
4
4
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
5
5
  import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
6
6
  import { t as FormField } from "./FormField-dduTMkNH.js";
7
7
  import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
8
- import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-C5-kkdpq.js";
9
- import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-BVvFHWOs.js";
10
- import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-4d7pbB4k.js";
8
+ import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-BLTKP3tx.js";
9
+ import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-B0svHpvh.js";
10
+ import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-Dg50nZQY.js";
11
11
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
12
12
  import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
13
- import { t as TooltipWrapper } from "./TooltipWrapper-DcrEabVw.js";
13
+ import { t as TooltipWrapper } from "./TooltipWrapper-D6sJYclQ.js";
14
+ import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
14
15
  import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
15
16
  import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
16
17
  import { InputFrame } from "./components/input-frame.js";
@@ -81,6 +82,20 @@ const DatePickerBase = (props) => {
81
82
  onBlur?.({ target: { value: val } });
82
83
  };
83
84
  const normalizedValue = value ?? null;
85
+ const keepOutOfRangeEntry = ui.dateInput.keepOutOfRangeEntry;
86
+ const valueKey = normalizedValue?.toString() ?? null;
87
+ const [entry, setEntry] = useState(() => ({
88
+ valueKey,
89
+ value: normalizedValue,
90
+ blurred: false
91
+ }));
92
+ if (keepOutOfRangeEntry && entry.valueKey !== valueKey) setEntry({
93
+ valueKey,
94
+ value: normalizedValue,
95
+ blurred: false
96
+ });
97
+ const inputValue = keepOutOfRangeEntry && entry.valueKey === valueKey ? entry.value : normalizedValue;
98
+ const isInputOutOfRange = !!inputValue && !!(rest.minValue && inputValue.compare(rest.minValue) < 0 || rest.maxValue && inputValue.compare(rest.maxValue) > 0);
84
99
  const dialogState = $28aae683a942e141$export$87194bb378cc3ac2({
85
100
  ...rest,
86
101
  defaultValue: normalizedValue ?? rest.defaultValue ?? null,
@@ -90,12 +105,17 @@ const DatePickerBase = (props) => {
90
105
  const state = $28aae683a942e141$export$87194bb378cc3ac2({
91
106
  ...rest,
92
107
  shouldForceLeadingZeros,
93
- value: normalizedValue,
108
+ value: inputValue,
94
109
  onChange: (val) => {
95
110
  let normalizedValue = normalizeDatePickerValue(val);
96
111
  if (val) normalizedValue = normalizeByGranularity(val);
112
+ if (keepOutOfRangeEntry) setEntry({
113
+ valueKey,
114
+ value: normalizedValue,
115
+ blurred: false
116
+ });
97
117
  if (normalizedValue && (rest.minValue && normalizedValue < rest?.minValue || rest?.maxValue && normalizedValue > rest?.maxValue)) {
98
- state.setValue(state.value);
118
+ if (!keepOutOfRangeEntry) state.setValue(state.value);
99
119
  return;
100
120
  }
101
121
  onChange?.(normalizedValue);
@@ -162,6 +182,11 @@ const DatePickerBase = (props) => {
162
182
  calendarState.setFocusedDate(todayValue);
163
183
  };
164
184
  const onInputClear = () => {
185
+ if (keepOutOfRangeEntry) setEntry({
186
+ valueKey,
187
+ value: null,
188
+ blurred: false
189
+ });
165
190
  onChange?.(null);
166
191
  dialogState.setValue(null);
167
192
  onValueCommit?.();
@@ -228,19 +253,27 @@ const DatePickerBase = (props) => {
228
253
  "aria-describedby": accessibility.describedBy,
229
254
  onBlur: (event) => {
230
255
  fieldProps.onBlur?.(event);
231
- handleBlur(state.value);
256
+ if (!keepOutOfRangeEntry) {
257
+ handleBlur(state.value);
258
+ return;
259
+ }
260
+ setEntry((current) => ({
261
+ ...current,
262
+ blurred: true
263
+ }));
264
+ if (!isInputOutOfRange) handleBlur(normalizedValue);
232
265
  }
233
266
  },
234
- fieldValue: normalizedValue,
267
+ fieldValue: inputValue,
235
268
  isValueControlled: true,
236
- hasValue: normalizedValue != null,
269
+ hasValue: inputValue != null,
237
270
  buttonProps,
238
271
  isDirty,
239
272
  isRequired,
240
273
  isDisabled,
241
274
  disableManualEntry,
242
275
  autoFixYear,
243
- isInvalid: !!error,
276
+ isInvalid: !!error || keepOutOfRangeEntry && entry.blurred && isInputOutOfRange,
244
277
  disableDropdown,
245
278
  variant,
246
279
  size,
@@ -396,7 +429,7 @@ const DatePickerInner = ({ defaultValue: _defaultValue, fullIso = true, granular
396
429
  showClear: dateValue != null,
397
430
  wrapContentAndTrailing: true,
398
431
  contentAndTrailingClassName: "gap-2!",
399
- trailingClassName: "py-0! pl-0!",
432
+ trailingClassName: inputTrailingRowInsetClass,
400
433
  action: showDropdown ? {
401
434
  icon: ui.dateInput.calendarIcon,
402
435
  onClick: () => {},
@@ -1,6 +1,6 @@
1
- import { n as FormFieldProps } from "./FormField-DHCcfchm.js";
2
- import { n as InputVariantProps } from "./input.cva-cNv7yhcp.js";
3
- import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-B8UhMVP6.js";
1
+ import { n as FormFieldProps } from "./FormField-DudIjynh.js";
2
+ import { n as InputVariantProps } from "./input.cva-CrHUbtM5.js";
3
+ import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-2sNgmuoN.js";
4
4
  import { FocusEvent, Ref } from "react";
5
5
  import { CalendarDate, DateValue } from "@internationalized/date";
6
6
  import { DatePickerStateOptions } from "react-stately";
@@ -1,4 +1,4 @@
1
- import { i as DatePickerProps$1 } from "./DatePicker-1VbVBI4l.js";
1
+ import { i as DatePickerProps$1 } from "./DatePicker-BISGiQSI.js";
2
2
  import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
3
3
  //#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.d.ts
4
4
  type ControlledDatePickerProps<TFieldValues extends FieldValues> = FormControlProps<DatePickerProps$1, TFieldValues>;
@@ -1,6 +1,6 @@
1
1
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
2
2
  import { t as FieldController } from "./form.binding-DOR5gIQf.js";
3
- import { n as DatePickerInner } from "./DatePicker-CJj3Gp_S.js";
3
+ import { n as DatePickerInner } from "./DatePicker-BHU6CDtz.js";
4
4
  import { memo } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.tsx
@@ -1,6 +1,6 @@
1
- import { n as IconButtonProps } from "./IconButton-BqmX_sMz.js";
2
- import "./FormField-DHCcfchm.js";
3
- import "./input.cva-cNv7yhcp.js";
1
+ import { n as IconButtonProps } from "./IconButton-DjSMQQ21.js";
2
+ import "./FormField-DudIjynh.js";
3
+ import "./input.cva-CrHUbtM5.js";
4
4
  import { ReactNode, Ref } from "react";
5
5
  import "react-aria";
6
6
  //#region src/components/inputs/DateTime/shared/datePicker.types.d.ts
@@ -2,17 +2,18 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
3
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
4
4
  import { t as Typography } from "./Typography-DCLnPa3P.js";
5
- import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
5
+ import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
6
6
  import { IconButton } from "./components/icon-button.js";
7
7
  import { n as FormFieldLabel } from "./FormField-dduTMkNH.js";
8
8
  import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
9
9
  import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
10
- import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-BVvFHWOs.js";
10
+ import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-B0svHpvh.js";
11
11
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
12
12
  import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
13
13
  import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
14
- import "./i18n-D8vXIoiq.js";
15
- import { n as InputClear } from "./TooltipWrapper-DcrEabVw.js";
14
+ import "./i18n-x5Ncs165.js";
15
+ import { n as InputClear } from "./TooltipWrapper-D6sJYclQ.js";
16
+ import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
16
17
  import { Type } from "lucide-react";
17
18
  import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
18
19
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -659,7 +660,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
659
660
  "data-is-required": isRequired || void 0,
660
661
  "data-is-filled": hasDisplayedValue || void 0,
661
662
  children: [/* @__PURE__ */ jsxs("div", {
662
- className: clsx("flex items-center gap-2 pr-0!", shouldShrinkInput ? "min-w-0 flex-1 w-full" : "w-full", inputSizeCva({
663
+ className: clsx(inputContentRowClass, "pr-0!", shouldShrinkInput && "flex-1", inputSizeCva({
663
664
  size,
664
665
  as
665
666
  })),
@@ -719,12 +720,13 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
719
720
  })
720
721
  ]
721
722
  }), /* @__PURE__ */ jsxs("div", {
722
- className: clsx(inputSizeCva({
723
+ className: clsx(inputTrailingRowClass, inputSizeCva({
723
724
  size,
724
725
  as
725
- }), "flex items-center gap-1 py-0! pl-0!"),
726
+ }), inputTrailingRowInsetClass),
726
727
  children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
727
728
  onClear: clearInput,
729
+ as,
728
730
  show: showClear
729
731
  }), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(IconButton, {
730
732
  label: "",
@@ -1,6 +1,6 @@
1
- import { n as FormFieldProps } from "./FormField-DHCcfchm.js";
2
- import { n as InputVariantProps } from "./input.cva-cNv7yhcp.js";
3
- import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-B8UhMVP6.js";
1
+ import { n as FormFieldProps } from "./FormField-DudIjynh.js";
2
+ import { n as InputVariantProps } from "./input.cva-CrHUbtM5.js";
3
+ import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-2sNgmuoN.js";
4
4
  import { FocusEvent, Ref } from "react";
5
5
  import { DateValue } from "react-aria";
6
6
  import { CalendarDate } from "@internationalized/date";
@@ -1,22 +1,23 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
3
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
4
- import { t as Switch } from "./Switch-BfpSMMpv.js";
4
+ import { t as Switch } from "./Switch-C0JkyNRc.js";
5
5
  import { t as Typography } from "./Typography-DCLnPa3P.js";
6
6
  import { t as Spinner } from "./Spinner-DqjP06T1.js";
7
- import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
7
+ import { t as UIConfig } from "./uiConfig.context-BsLQ10JQ.js";
8
8
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
9
9
  import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
10
10
  import { t as FormField } from "./FormField-dduTMkNH.js";
11
11
  import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
12
- import { a as $dd602d3c757202f2$export$4f5203c0d889109e, c as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, o as $dd602d3c757202f2$export$a1d3911297b952d7, r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, s as $dd602d3c757202f2$export$eac50920cf2fd59a, t as DatePickerInput } from "./DatePickerInput-C5-kkdpq.js";
12
+ import { a as $dd602d3c757202f2$export$4f5203c0d889109e, c as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, o as $dd602d3c757202f2$export$a1d3911297b952d7, r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, s as $dd602d3c757202f2$export$eac50920cf2fd59a, t as DatePickerInput } from "./DatePickerInput-BLTKP3tx.js";
13
13
  import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
14
14
  import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
15
- import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-BVvFHWOs.js";
15
+ import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-B0svHpvh.js";
16
16
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
17
17
  import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
18
- import "./i18n-D8vXIoiq.js";
19
- import { t as TooltipWrapper } from "./TooltipWrapper-DcrEabVw.js";
18
+ import "./i18n-x5Ncs165.js";
19
+ import { t as TooltipWrapper } from "./TooltipWrapper-D6sJYclQ.js";
20
+ import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
20
21
  import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
21
22
  import { InputFrame } from "./components/input-frame.js";
22
23
  import { Suspense, lazy, memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
@@ -369,7 +370,7 @@ function $6de3e3f1a7663217$var$isCompleteRange(value) {
369
370
  }
370
371
  //#endregion
371
372
  //#region src/components/inputs/DateTime/shared/RangeCalendar.lazy.tsx
372
- const loadRangeCalendar = () => import("./RangeCalendar-p7ajg_wH.js");
373
+ const loadRangeCalendar = () => import("./RangeCalendar-Bmeu-aDS.js");
373
374
  const RangeCalendarRenderer = lazy(() => loadRangeCalendar().then(({ RangeCalendar }) => ({ default: RangeCalendar })));
374
375
  /** Fetches the range calendar chunk ahead of the dialog opening (hover, focus). */
375
376
  const preloadRangeCalendar = () => {
@@ -1447,7 +1448,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
1447
1448
  showClear: hasProvidedRangeValue,
1448
1449
  wrapContentAndTrailing: true,
1449
1450
  contentAndTrailingClassName: "gap-2!",
1450
- trailingClassName: "py-0! pl-0!",
1451
+ trailingClassName: inputTrailingRowInsetClass,
1451
1452
  action: showDropdown ? {
1452
1453
  icon: ui.dateInput.calendarIcon,
1453
1454
  onClick: () => {},
@@ -1,6 +1,6 @@
1
1
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
2
2
  import { t as FieldController } from "./form.binding-DOR5gIQf.js";
3
- import { n as DateRangePickerInner } from "./DateRangePicker-BO92JO3A.js";
3
+ import { n as DateRangePickerInner } from "./DateRangePicker-DXxtyr0r.js";
4
4
  import { memo } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.tsx