@povio/ui 5.0.0-rc.2 → 5.0.0-rc.4

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 (436) hide show
  1. package/.rulesync/rules/ui-buttons-and-content.md +3 -1
  2. package/README.md +50 -7
  3. package/dist/{Accordion-CzFKi8Bp.js → Accordion-BzwO4_ml.js} +20 -136
  4. package/dist/{Alert-T25LY8ZL.js → Alert-CnvEb1D_.js} +16 -12
  5. package/dist/{Alert-f1dG-4Uy.d.ts → Alert-DfiJbKH0.d.ts} +2 -1
  6. package/dist/{AlertDialog-B6R2MbNg.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
  7. package/dist/{Autocomplete-CQ63Cynd.d.ts → Autocomplete-BwNHp8fy.d.ts} +1 -1
  8. package/dist/{Badge-YKlKz-Jy.d.ts → Badge-CBNpj823.d.ts} +8 -5
  9. package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
  10. package/dist/{BottomSheet-DvqBvth_.js → BottomSheet-BXLE3161.js} +7 -6
  11. package/dist/{BottomSheet-xaymO7aQ.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
  12. package/dist/{BottomSheet.lazy-CGBRPve_.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
  13. package/dist/{Breadcrumbs-DyriI-Bi.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
  14. package/dist/{Breadcrumbs-DiIYJAWf.js → Breadcrumbs-FF8hMfXd.js} +24 -38
  15. package/dist/Button-C5rv4Cr2.js +506 -0
  16. package/dist/{Button-BZ3is6IU.d.ts → Button-D-4qb0IR.d.ts} +3 -3
  17. package/dist/{ButtonContent-B2_dZ6vA.js → ButtonContent-c7lJayVQ.js} +10 -8
  18. package/dist/{Calendar-DzQApBCy.js → Calendar-BTjajO6i.js} +25 -148
  19. package/dist/{CheckContent-DZ7Gk8GS.js → CheckContent-D7sZPmzx.js} +2 -2
  20. package/dist/{Checkbox-BepzfVfK.js → Checkbox-CV1ILXXO.js} +6 -6
  21. package/dist/{Checkbox-CHpgW3fI.d.ts → Checkbox-DVTWaMKa.d.ts} +1 -1
  22. package/dist/{CheckboxCheckmark-B3lnOjsU.js → CheckboxCheckmark-CpC3wlMs.js} +11 -11
  23. package/dist/{CheckboxGroup-CXrR3A-c.d.ts → CheckboxGroup-DGF12cmB.d.ts} +3 -3
  24. package/dist/ComponentGallery-BWiPGUL8.js +3665 -0
  25. package/dist/{DatePicker-B3l9TEjW.d.ts → DatePicker-8xSs_jNd.d.ts} +3 -3
  26. package/dist/{DatePicker-CI87jC4_.js → DatePicker-DOLL7mkc.js} +17 -16
  27. package/dist/{DatePickerInput-UBZcTmdv.js → DatePickerInput-BLBcySA2.js} +16 -26
  28. package/dist/{DatePickerInput-CZTEsrS0.d.ts → DatePickerInput-D81ZJ3fT.d.ts} +3 -3
  29. package/dist/{DateRangePicker-BX2O5zA8.js → DateRangePicker-BF-1CztH.js} +23 -194
  30. package/dist/{DateRangePicker-DKkc2B3n.d.ts → DateRangePicker-Bfq-yDm7.d.ts} +3 -3
  31. package/dist/{DateTimePicker-CVfkp45w.js → DateTimePicker-Cj0qvJUz.js} +16 -15
  32. package/dist/{DateTimePicker-IHr-wPq8.d.ts → DateTimePicker-D4lHyf6P.d.ts} +3 -3
  33. package/dist/{Dialog-DdRP4YFC.js → Dialog-9manOgMA.js} +4 -4
  34. package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
  35. package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
  36. package/dist/{DropdownMenu-zrodtd44.js → DropdownMenu-5jmtgLXd.js} +8 -6
  37. package/dist/{DropdownMenu-CWDhk3XA.d.ts → DropdownMenu-JNpYT4-3.d.ts} +3 -2
  38. package/dist/{DropdownMenuDesktop-CGYxsavQ.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
  39. package/dist/{FileInput-Dz1eESr_.js → FileInput-Br5DQaGQ.js} +10 -9
  40. package/dist/{FileInput-BQbn77bE.d.ts → FileInput-C4CE5kuP.d.ts} +5 -4
  41. package/dist/{FileTrigger-CDXcQthK.js → FileTrigger-Cthk5_Wp.js} +1 -30
  42. package/dist/{FileUpload-D3Io7Is5.js → FileUpload--7ub3EZO.js} +53 -140
  43. package/dist/{FileUpload-qySCMcLn.d.ts → FileUpload-CR7bZxV1.d.ts} +1 -1
  44. package/dist/{FileUploadContainer-qOyGvb5J.d.ts → FileUploadContainer-042ztsaL.d.ts} +1 -1
  45. package/dist/{Form-u_N_6mwo.d.ts → Form-BJ12MjE-.d.ts} +1 -1
  46. package/dist/{FormField-CHD4OJOt.js → FormField-B99dLt8o.js} +9 -9
  47. package/dist/{FormField-B0miX3gu.d.ts → FormField-Byiehm9y.d.ts} +1 -1
  48. package/dist/{FormFieldError-QRAFHUTt.js → FormFieldError-DeOHHLo2.js} +1 -1
  49. package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +17 -0
  50. package/dist/{IconButton-KXecZgYX.d.ts → IconButton-D4thBurp.d.ts} +2 -2
  51. package/dist/IconSlot-DSK7qNxc.js +79 -0
  52. package/dist/{InlineIconButton-CbKZ2U_a.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
  53. package/dist/{InlineTooltipWrapper-g5yoeH1B.js → InlineTooltipWrapper-BpApaGXV.js} +3 -3
  54. package/dist/{Input-efmPwk8f.d.ts → Input-DOanwj3l.d.ts} +3 -3
  55. package/dist/{InputContent-DuBa9FuI.d.ts → InputContent-CXuP1ghQ.d.ts} +3 -3
  56. package/dist/{InputItem-2zf6QI5L.js → InputItem-CIxbTxZu.js} +11 -11
  57. package/dist/{Inputs-C-w03Q_F.d.ts → Inputs-DA73LmLc.d.ts} +1 -1
  58. package/dist/{Inputs-BceDTmdT.js → Inputs-DJSKiaWY.js} +1 -1
  59. package/dist/{Link-QYpprkN1.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
  60. package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
  61. package/dist/{MenuItem--Mjd_yK8.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
  62. package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
  63. package/dist/{NumberField-z2JatYK0.d.ts → NumberField-Cb9Gf6QJ.d.ts} +3 -3
  64. package/dist/NumberFormatter-CLDS_LRZ.js +265 -0
  65. package/dist/{NumberRangeInput-BxVrHq8R.js → NumberRangeInput-B8-LHfg3.js} +9 -8
  66. package/dist/{NumberRangeInput-Chai3iEi.d.ts → NumberRangeInput-BfbJQqzn.d.ts} +2 -2
  67. package/dist/{Pagination-CXtIDclf.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
  68. package/dist/{PaginationList-CXG4jWFD.d.ts → PaginationList-DMRUGtf8.d.ts} +1 -1
  69. package/dist/{PaginationList-0bAmvXC0.js → PaginationList-DtvuP63b.js} +2 -2
  70. package/dist/{PasswordInput-ub2TQxef.d.ts → PasswordInput-CLwFUgl0.d.ts} +1 -1
  71. package/dist/{Popover-DUKH0q9u.d.ts → Popover-BTHPteIh.d.ts} +2 -2
  72. package/dist/{Progress-DQWiFP0L.js → Progress-B3mY9rIP.js} +2 -2
  73. package/dist/{Progress-Dho39FDs.d.ts → Progress-CjWOR38H.d.ts} +2 -1
  74. package/dist/{QuerySelect-Bo1K6gi_.d.ts → QuerySelect-BGxb6Y0K.d.ts} +2 -2
  75. package/dist/{RadioGroup-B_zJdn4y.d.ts → RadioGroup-CZg2kIMk.d.ts} +3 -3
  76. package/dist/{RadioGroup-SSZYch-J.js → RadioGroup-DOw3PRoX.js} +13 -13
  77. package/dist/{RichTextEditor-D6RewmRj.js → RichTextEditor-D4yN7Wj7.js} +52 -133
  78. package/dist/{RichTextEditor-B_JX3nor.d.ts → RichTextEditor-YxuRUlI7.d.ts} +1 -1
  79. package/dist/{Select-CuZDkeQs.js → Select-UR0ec2Ux.js} +5 -4
  80. package/dist/{Select-DeapZMYx.d.ts → Select-pHbyJdZJ.d.ts} +1 -1
  81. package/dist/{SelectBase-7SE9Za2r.d.ts → SelectBase-Omiq2D3M.d.ts} +3 -3
  82. package/dist/{Slider-DJ9K_a-x.js → Slider-CzEmKYBF.js} +11 -11
  83. package/dist/{Slider-BFViQmM3.d.ts → Slider-EYlGCLWe.d.ts} +1 -1
  84. package/dist/{Spinner-BEYBu85B.js → Spinner-BeVTUzzx.js} +1 -1
  85. package/dist/{Spinner-BbcI6IOb.d.ts → Spinner-DbXeDOa2.d.ts} +2 -1
  86. package/dist/{SplitButton-lL87EcBL.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
  87. package/dist/{Stepper-C1YPgTBG.js → Stepper-Cp5vbL5g.js} +4 -117
  88. package/dist/{Stepper-hlhViuaK.d.ts → Stepper-TATlHZhQ.d.ts} +9 -8
  89. package/dist/{Switch-JxRmH1dX.js → Switch-CqnGEdeD.js} +11 -11
  90. package/dist/{Switch-DPftmB1b.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
  91. package/dist/Table-piX1SWvN.js +689 -0
  92. package/dist/Tag-AHfV_XSf.d.ts +44 -0
  93. package/dist/{Tag-HiDH438e.js → Tag-DPg5sL1Z.js} +22 -21
  94. package/dist/{TextArea-gikUKKDl.js → TextArea-D8WkKsGn.js} +7 -7
  95. package/dist/{TextArea-BhrCBGbq.d.ts → TextArea-l_keyLK7.d.ts} +2 -2
  96. package/dist/{TextButton-DnXRykhF.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
  97. package/dist/{TimePicker-CmT89X7v.d.ts → TimePicker-B1POvGWs.d.ts} +2 -2
  98. package/dist/{TimePicker-DtNTOOGr.js → TimePicker-C4taAOFQ.js} +15 -14
  99. package/dist/Toast-DtG3pA61.js +53 -0
  100. package/dist/{Toast-B4cXs2rj.d.ts → Toast-ruXqONDA.d.ts} +1 -1
  101. package/dist/{ToastContainer-BbsMIwtC.js → ToastContainer-qgpzMFD4.js} +4 -3
  102. package/dist/{ToggleButton-BGuzPJDO.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
  103. package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
  104. package/dist/{ToggleGroup-Cl0NS3fe.js → ToggleGroup-DOk27fgI.js} +29 -123
  105. package/dist/{Tooltip-aE1Vswxz.js → Tooltip-CpG1nz7Y.js} +8 -49
  106. package/dist/{Tooltip-D7dNwGy9.d.ts → Tooltip-DHv6vAqW.d.ts} +6 -5
  107. package/dist/{TooltipWrapper-CRf-JFeo.js → TooltipWrapper-3jyN0Wss.js} +4 -4
  108. package/dist/{Typography-B0Gp1lpc.js → Typography-LU4z2pR1.js} +2 -2
  109. package/dist/{Typography-BiuidzDC.d.ts → Typography-XljT9s02.d.ts} +1 -1
  110. package/dist/accordion.cva-CL1bVscW.js +129 -0
  111. package/dist/{autocomplete-BJ7rqWa4.d.ts → autocomplete-DeERHN8W.d.ts} +2 -2
  112. package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
  113. package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
  114. package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
  115. package/dist/{button.cva-BvRI-3Gn.d.ts → button.cva-C7kEhgoA.d.ts} +7 -6
  116. package/dist/{buttonContent.cva-BDT_CReI.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
  117. package/dist/{checkbox-BfcE8J5P.d.ts → checkbox-DxIPDTK5.d.ts} +1 -1
  118. package/dist/{checkbox-group-CHs2wFHS.d.ts → checkbox-group-B3BOVshI.d.ts} +1 -1
  119. package/dist/{checkbox.cva-gv87kr1W.d.ts → checkbox.cva-t1Ox50hy.d.ts} +4 -3
  120. package/dist/components/accordion.js +1 -1
  121. package/dist/components/alert-dialog.d.ts +1 -1
  122. package/dist/components/alert-dialog.js +4 -4
  123. package/dist/components/alert.d.ts +1 -1
  124. package/dist/components/alert.js +1 -1
  125. package/dist/components/autocomplete.d.ts +1 -1
  126. package/dist/components/autocomplete.js +5 -4
  127. package/dist/components/badge-button.d.ts +2 -0
  128. package/dist/components/{pill-button.js → badge-button.js} +13 -12
  129. package/dist/components/badge.d.ts +1 -1
  130. package/dist/components/badge.js +56 -37
  131. package/dist/components/bottom-sheet.d.ts +2 -2
  132. package/dist/components/bottom-sheet.js +2 -2
  133. package/dist/components/breadcrumbs.d.ts +1 -1
  134. package/dist/components/breadcrumbs.js +1 -1
  135. package/dist/components/button.d.ts +2 -2
  136. package/dist/components/button.js +1 -1
  137. package/dist/components/checkbox-group.d.ts +1 -1
  138. package/dist/components/checkbox-group.js +6 -6
  139. package/dist/components/checkbox.d.ts +1 -1
  140. package/dist/components/checkbox.js +1 -1
  141. package/dist/components/date-picker.d.ts +1 -1
  142. package/dist/components/date-picker.js +1 -1
  143. package/dist/components/date-range-picker.d.ts +1 -1
  144. package/dist/components/date-range-picker.js +1 -1
  145. package/dist/components/date-time-picker.d.ts +1 -1
  146. package/dist/components/date-time-picker.js +1 -1
  147. package/dist/components/dialog.d.ts +1 -1
  148. package/dist/components/dialog.js +1 -1
  149. package/dist/components/drawer.js +3 -3
  150. package/dist/components/dropdown-menu.d.ts +2 -2
  151. package/dist/components/dropdown-menu.js +2 -2
  152. package/dist/components/file-input.d.ts +1 -1
  153. package/dist/components/file-input.js +1 -1
  154. package/dist/components/file-upload-container.d.ts +2 -2
  155. package/dist/components/file-upload-container.js +1 -1
  156. package/dist/components/file-upload.d.ts +2 -2
  157. package/dist/components/file-upload.js +1 -1
  158. package/dist/components/form-field.d.ts +1 -1
  159. package/dist/components/form-field.js +1 -1
  160. package/dist/components/icon-button.d.ts +1 -1
  161. package/dist/components/icon-button.js +2 -2
  162. package/dist/components/icon-slot.d.ts +2 -0
  163. package/dist/components/icon-slot.js +2 -0
  164. package/dist/components/inline-icon-button.d.ts +1 -1
  165. package/dist/components/inline-icon-button.js +1 -1
  166. package/dist/components/input.d.ts +1 -1
  167. package/dist/components/input.js +7 -7
  168. package/dist/components/link.d.ts +1 -1
  169. package/dist/components/link.js +32 -1
  170. package/dist/components/number-field.d.ts +1 -1
  171. package/dist/components/number-field.js +10 -9
  172. package/dist/components/number-range-input.d.ts +1 -1
  173. package/dist/components/number-range-input.js +1 -1
  174. package/dist/components/pagination-list.d.ts +1 -1
  175. package/dist/components/pagination-list.js +1 -1
  176. package/dist/components/pagination.d.ts +1 -1
  177. package/dist/components/pagination.js +34 -30
  178. package/dist/components/password-input.d.ts +1 -1
  179. package/dist/components/popover.d.ts +1 -1
  180. package/dist/components/popover.js +6 -5
  181. package/dist/components/progress.d.ts +1 -1
  182. package/dist/components/progress.js +1 -1
  183. package/dist/components/query-autocomplete.d.ts +2 -2
  184. package/dist/components/query-autocomplete.js +2 -2
  185. package/dist/components/query-select.d.ts +1 -1
  186. package/dist/components/query-select.js +3 -3
  187. package/dist/components/radio-group.d.ts +1 -1
  188. package/dist/components/radio-group.js +1 -1
  189. package/dist/components/select.d.ts +2 -2
  190. package/dist/components/select.js +1 -1
  191. package/dist/components/slider.d.ts +1 -1
  192. package/dist/components/slider.js +1 -1
  193. package/dist/components/spinner.d.ts +1 -1
  194. package/dist/components/spinner.js +1 -1
  195. package/dist/components/split-button.d.ts +1 -1
  196. package/dist/components/split-button.js +3 -3
  197. package/dist/components/stepper.d.ts +1 -1
  198. package/dist/components/stepper.js +1 -1
  199. package/dist/components/switch.d.ts +1 -1
  200. package/dist/components/switch.js +1 -1
  201. package/dist/components/tag.d.ts +1 -1
  202. package/dist/components/tag.js +1 -1
  203. package/dist/components/text-area.d.ts +1 -1
  204. package/dist/components/text-area.js +1 -1
  205. package/dist/components/text-button.d.ts +1 -1
  206. package/dist/components/text-button.js +1 -1
  207. package/dist/components/time-picker.d.ts +1 -1
  208. package/dist/components/time-picker.js +1 -1
  209. package/dist/components/toast.d.ts +2 -2
  210. package/dist/components/toast.js +2 -2
  211. package/dist/components/toggle-button.d.ts +1 -1
  212. package/dist/components/toggle-button.js +1 -1
  213. package/dist/components/toggle-group.d.ts +2 -2
  214. package/dist/components/toggle-group.js +1 -1
  215. package/dist/components/tooltip-ellipsis.js +1 -1
  216. package/dist/components/tooltip.d.ts +1 -1
  217. package/dist/components/tooltip.js +1 -1
  218. package/dist/components/typography.d.ts +2 -2
  219. package/dist/components/typography.js +1 -1
  220. package/dist/components/use-toast.d.ts +1 -1
  221. package/dist/components/use-toast.js +2 -2
  222. package/dist/config/confirmation.d.ts +1 -1
  223. package/dist/config/link-context.d.ts +2 -2
  224. package/dist/config/ui-config.d.ts +2 -2
  225. package/dist/config/ui-config.js +1 -1
  226. package/dist/config/ui-configurator-theme.d.ts +2 -0
  227. package/dist/config/ui-configurator-theme.js +2 -0
  228. package/dist/config/ui-configurator-vite.d.ts +10 -0
  229. package/dist/config/ui-configurator-vite.js +174 -0
  230. package/dist/config/ui-configurator.d.ts +934 -0
  231. package/dist/config/ui-configurator.js +4555 -0
  232. package/dist/config/ui-overrides.d.ts +1 -1
  233. package/dist/config/ui-overrides.js +1 -1
  234. package/dist/config/ui-router.js +1 -1
  235. package/dist/{confirmation.context-DPAKsLYl.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
  236. package/dist/{date-picker-BYFWSbN8.d.ts → date-picker-DnxDmlOW.d.ts} +1 -1
  237. package/dist/{date-range-picker-BaaXOObm.d.ts → date-range-picker-DHDOSvHN.d.ts} +1 -1
  238. package/dist/{date-time-picker-D42cTCgx.d.ts → date-time-picker-UkTa0OJ8.d.ts} +1 -1
  239. package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
  240. package/dist/{datePickerValue.utils-CFCY-fRJ.js → datePickerValue.utils-DCgoSrP3.js} +9 -9
  241. package/dist/{dialog.cva---xiOXMQ.js → dialog.cva-COhDZaVl.js} +4 -4
  242. package/dist/{dist-B8h0VT0E.js → dist-CAdwxJbe.js} +1 -208
  243. package/dist/{dom.utils-DjuRTR6U.js → dom.utils-D1AopHx9.js} +1 -1
  244. package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
  245. package/dist/{dynamicInputs-wEEikYeg.d.ts → dynamicInputs-iP39lVKf.d.ts} +102 -100
  246. package/dist/{fieldAdapter-C0lCFmf0.js → fieldAdapter-DjYls12j.js} +1 -1
  247. package/dist/{file-input-C56GXRwz.d.ts → file-input-DkbkdI7l.d.ts} +1 -1
  248. package/dist/{file-upload-Bx0X534g.d.ts → file-upload-CTsPhxJk.d.ts} +2 -2
  249. package/dist/fileUpload.cva-ujmStxB1.js +42 -0
  250. package/dist/{fileUpload.types-DWuQKA2l.d.ts → fileUpload.types-n5FxK_F-.d.ts} +2 -2
  251. package/dist/hooks/use-filters.js +1 -1
  252. package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
  253. package/dist/icons.d.ts +2 -1
  254. package/dist/icons.js +2 -1
  255. package/dist/index.d.ts +87 -86
  256. package/dist/index.js +57 -46
  257. package/dist/info-iUmX3uDk.js +32 -0
  258. package/dist/{input-D2kGX0hW.d.ts → input-CdQNCPgH.d.ts} +1 -1
  259. package/dist/{input.cva-BhDJxc7r.d.ts → input.cva-BsHgYa-L.d.ts} +3 -2
  260. package/dist/{input.cva-BcXyC1vZ.js → input.cva-DJA8ovm_.js} +9 -9
  261. package/dist/{link.context-CDZn6oL2.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
  262. package/dist/link.cva-DMTHZiJG.js +12 -0
  263. package/dist/{number-field-Bw2GKr0s.d.ts → number-field-CUDbenNV.d.ts} +1 -1
  264. package/dist/{number-range-input-Dqe6x2dR.d.ts → number-range-input-DZGrcvjL.d.ts} +1 -1
  265. package/dist/numberStatic.utils-BX50PSee.js +421 -0
  266. package/dist/{password-input-DepKyhh3.d.ts → password-input-fYN20cQO.d.ts} +1 -1
  267. package/dist/{popover.cva-BJSkLndY.js → popover.cva-Bhud1wnp.js} +1 -1
  268. package/dist/popoverAnimation-DEZSvKP8.js +4 -0
  269. package/dist/{query-autocomplete-BSpHin_R.d.ts → query-autocomplete-CfuQeiYG.d.ts} +2 -2
  270. package/dist/{query-select-m1DCp4UF.d.ts → query-select-CuT_sE6a.d.ts} +2 -2
  271. package/dist/{queryAutocomplete.types-CrbVUmvl.d.ts → queryAutocomplete.types-tl3r6iaY.d.ts} +2 -2
  272. package/dist/{radio-group-Civ3Fb70.d.ts → radio-group-B3ccPf0p.d.ts} +1 -1
  273. package/dist/{radio.cva-BlOrmxzf.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
  274. package/dist/rhf/autocomplete.d.ts +2 -2
  275. package/dist/rhf/autocomplete.js +1 -1
  276. package/dist/rhf/checkbox-group.d.ts +2 -2
  277. package/dist/rhf/checkbox-group.js +1 -1
  278. package/dist/rhf/checkbox.d.ts +2 -2
  279. package/dist/rhf/checkbox.js +2 -2
  280. package/dist/rhf/date-picker.d.ts +2 -2
  281. package/dist/rhf/date-picker.js +2 -2
  282. package/dist/rhf/date-range-picker.d.ts +2 -2
  283. package/dist/rhf/date-range-picker.js +2 -2
  284. package/dist/rhf/date-time-picker.d.ts +2 -2
  285. package/dist/rhf/date-time-picker.js +2 -2
  286. package/dist/rhf/file-input.d.ts +2 -2
  287. package/dist/rhf/file-input.js +2 -2
  288. package/dist/rhf/file-upload.d.ts +2 -2
  289. package/dist/rhf/file-upload.js +2 -2
  290. package/dist/rhf/input.d.ts +2 -2
  291. package/dist/rhf/input.js +1 -1
  292. package/dist/rhf/inputs.d.ts +2 -2
  293. package/dist/rhf/number-field.d.ts +2 -2
  294. package/dist/rhf/number-field.js +1 -1
  295. package/dist/rhf/number-range-input.d.ts +2 -2
  296. package/dist/rhf/number-range-input.js +2 -2
  297. package/dist/rhf/password-input.d.ts +2 -2
  298. package/dist/rhf/password-input.js +1 -1
  299. package/dist/rhf/query-autocomplete.d.ts +1 -1
  300. package/dist/rhf/query-autocomplete.js +1 -1
  301. package/dist/rhf/query-select.d.ts +1 -1
  302. package/dist/rhf/query-select.js +1 -1
  303. package/dist/rhf/radio-group.d.ts +2 -2
  304. package/dist/rhf/radio-group.js +2 -2
  305. package/dist/rhf/rich-text-editor.d.ts +2 -2
  306. package/dist/rhf/rich-text-editor.js +2 -2
  307. package/dist/rhf/select.d.ts +2 -2
  308. package/dist/rhf/select.js +2 -2
  309. package/dist/rhf/slider.d.ts +2 -2
  310. package/dist/rhf/slider.js +2 -2
  311. package/dist/rhf/switch.d.ts +2 -2
  312. package/dist/rhf/switch.js +2 -2
  313. package/dist/rhf/text-area.d.ts +2 -2
  314. package/dist/rhf/text-area.js +2 -2
  315. package/dist/rhf/time-picker.d.ts +2 -2
  316. package/dist/rhf/time-picker.js +2 -2
  317. package/dist/rhf/toggle-group.d.ts +2 -2
  318. package/dist/rhf/toggle-group.js +2 -2
  319. package/dist/{rhf-D8B7mLO1.js → rhf-t348TCCL.js} +1 -1
  320. package/dist/rhf.d.ts +87 -86
  321. package/dist/rhf.js +57 -46
  322. package/dist/{rich-text-editor-DvNEOIux.d.ts → rich-text-editor-B-Onl7T8.d.ts} +1 -1
  323. package/dist/rich-text-editor.d.ts +1 -1
  324. package/dist/rich-text-editor.js +1 -1
  325. package/dist/{router.context-B0jTMtE0.js → router.context-B4FvsTim.js} +2 -2
  326. package/dist/{select-DY5QtwqI.d.ts → select-B4a52eWW.d.ts} +2 -2
  327. package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
  328. package/dist/{slider-CrB-Gkcv.d.ts → slider-dNj9jruO.d.ts} +1 -1
  329. package/dist/staticDateTimeSegments-DtU63_dw.js +1764 -0
  330. package/dist/{staticSelect.utils-Cm7MoDVG.js → staticSelect.utils-uHa8f_c6.js} +33 -231
  331. package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
  332. package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
  333. package/dist/styles/color-utilities.css +13 -25
  334. package/dist/styles/configurator.css +2365 -0
  335. package/dist/styles/input.d.ts +1 -1
  336. package/dist/{switch-8WzXfTS8.d.ts → switch-C--iWnY8.d.ts} +1 -1
  337. package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
  338. package/dist/table.cva-DlMT-zLD.js +48 -0
  339. package/dist/tanstack/autocomplete.d.ts +1 -1
  340. package/dist/tanstack/checkbox-group.d.ts +1 -1
  341. package/dist/tanstack/checkbox.d.ts +1 -1
  342. package/dist/tanstack/checkbox.js +1 -1
  343. package/dist/tanstack/date-picker.d.ts +1 -1
  344. package/dist/tanstack/date-picker.js +1 -1
  345. package/dist/tanstack/date-range-picker.d.ts +1 -1
  346. package/dist/tanstack/date-range-picker.js +1 -1
  347. package/dist/tanstack/date-time-picker.d.ts +1 -1
  348. package/dist/tanstack/date-time-picker.js +1 -1
  349. package/dist/tanstack/file-input.d.ts +1 -1
  350. package/dist/tanstack/file-input.js +1 -1
  351. package/dist/tanstack/file-upload.d.ts +2 -2
  352. package/dist/tanstack/file-upload.js +1 -1
  353. package/dist/tanstack/form.d.ts +1 -1
  354. package/dist/tanstack/form.js +1 -1
  355. package/dist/tanstack/input.d.ts +1 -1
  356. package/dist/tanstack/inputs.d.ts +3 -3
  357. package/dist/tanstack/inputs.js +1 -1
  358. package/dist/tanstack/number-field.d.ts +1 -1
  359. package/dist/tanstack/number-range-input.d.ts +1 -1
  360. package/dist/tanstack/number-range-input.js +1 -1
  361. package/dist/tanstack/password-input.d.ts +1 -1
  362. package/dist/tanstack/query-select.d.ts +1 -1
  363. package/dist/tanstack/radio-group.d.ts +1 -1
  364. package/dist/tanstack/radio-group.js +1 -1
  365. package/dist/tanstack/rich-text-editor.d.ts +1 -1
  366. package/dist/tanstack/rich-text-editor.js +1 -1
  367. package/dist/tanstack/select.d.ts +1 -1
  368. package/dist/tanstack/select.js +1 -1
  369. package/dist/tanstack/slider.d.ts +1 -1
  370. package/dist/tanstack/slider.js +1 -1
  371. package/dist/tanstack/switch.d.ts +1 -1
  372. package/dist/tanstack/switch.js +1 -1
  373. package/dist/tanstack/table.d.ts +1 -1
  374. package/dist/tanstack/table.js +2 -1
  375. package/dist/tanstack/text-area.d.ts +1 -1
  376. package/dist/tanstack/text-area.js +1 -1
  377. package/dist/tanstack/time-picker.d.ts +1 -1
  378. package/dist/tanstack/time-picker.js +1 -1
  379. package/dist/tanstack/toggle-group.d.ts +2 -2
  380. package/dist/tanstack/toggle-group.js +1 -1
  381. package/dist/tanstack.d.ts +71 -70
  382. package/dist/tanstack.js +68 -55
  383. package/dist/{text-area-CqnKRWKq.d.ts → text-area-DQAtpOQp.d.ts} +1 -1
  384. package/dist/theme-model-DtYPxNvH.js +406 -0
  385. package/dist/theme-model-T1zIdBg8.d.ts +12 -0
  386. package/dist/{time-picker-Cz1GIzpF.d.ts → time-picker-DoGfbil6.d.ts} +1 -1
  387. package/dist/{toast.cva-Cj6o2Rmu.d.ts → toast.cva-By5lvAfr.d.ts} +3 -2
  388. package/dist/toast.cva-C_L_RffH.js +163 -0
  389. package/dist/{toast.runtime-CIKvmkjo.js → toast.runtime-cxex9e4E.js} +2 -1
  390. package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
  391. package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
  392. package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
  393. package/dist/tooltip.cva-BIzlOXHH.js +48 -0
  394. package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
  395. package/dist/{typography.cva-jtp6WWUH.d.ts → typography.cva-D1JOEYl-.d.ts} +2 -1
  396. package/dist/{typography.cva-CJZZSGXW.js → typography.cva-iD15k56p.js} +1 -1
  397. package/dist/{uiConfig.context-D2eUIPHn.js → uiConfig.context-BS3r_kTS.js} +1 -1
  398. package/dist/{uiConfig.context-aoarCLYX.d.ts → uiConfig.context-DeBX2beU.d.ts} +8 -8
  399. package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
  400. package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
  401. package/dist/underline-66hmELxa.js +81 -0
  402. package/dist/upload-CXU83BJ4.js +30 -0
  403. package/dist/{useBreakpoint-BOA-MyoT.js → useBreakpoint-DQoMN-BG.js} +1 -1
  404. package/dist/useControlledState-CzXkZCX8.js +30 -0
  405. package/dist/{useFieldAccessibility-D2_Qm26-.js → useFieldAccessibility-ScC6Mtd5.js} +15 -8
  406. package/dist/{useFilters-kkEUFKmQ.js → useFilters-XNH27Md2.js} +1 -1
  407. package/dist/{useFormAutosave-BYFn3LH8.js → useFormAutosave-DfuP7drj.js} +2 -2
  408. package/dist/{useStaticInputHandoff-DB9PgioW.js → useStaticInputHandoff-NeZVnci-.js} +14 -11
  409. package/dist/useTableColumnConfig-BTGZiluz.js +892 -0
  410. package/dist/{useTableNav-D9mICzNW.d.ts → useTableNav-Ckj5PBRk.d.ts} +3 -2
  411. package/dist/{useToast-DMSm59Y6.d.ts → useToast-yreVCUer.d.ts} +1 -1
  412. package/package.json +31 -5
  413. package/src/configurator/README.md +71 -0
  414. package/dist/Button-sn52l1Yv.js +0 -506
  415. package/dist/FocusScope-CO9oJ1sc.js +0 -343
  416. package/dist/FormFieldHeaderTooltip-Dl24v4_j.js +0 -45
  417. package/dist/Link-Btxj2gzg.js +0 -42
  418. package/dist/PillButton-DASBXLFB.d.ts +0 -15
  419. package/dist/Tag-Cch_68QO.d.ts +0 -43
  420. package/dist/chain-DIXr2VAT.js +0 -10
  421. package/dist/components/pill-button.d.ts +0 -2
  422. package/dist/focusSafely-DCGrr2bb.js +0 -447
  423. package/dist/getScrollParent-kSR7EtoT.js +0 -47
  424. package/dist/numberStatic.utils-BMgRzyd3.js +0 -902
  425. package/dist/openLink-CQhMhfzO.js +0 -121
  426. package/dist/pillButton.cva-BEWuu0qm.d.ts +0 -34
  427. package/dist/pillButton.cva-DlP5tOT5.js +0 -197
  428. package/dist/platform-BXNIIAfU.js +0 -42
  429. package/dist/staticDateTimeSegments-DR8bJw-F.js +0 -3605
  430. package/dist/switch.cva-8T0fw31t.d.ts +0 -15
  431. package/dist/useControlledState-DQxX6LMN.js +0 -189
  432. package/dist/useFocusable-Bd0UsrQ7.js +0 -63
  433. package/dist/useFormValidationState-D3z-gafz.js +0 -1341
  434. package/dist/useLayoutEffect-B2-1tbPJ.js +0 -83
  435. package/dist/useSyncRef-RGMv0rXK.js +0 -338
  436. package/dist/useTableColumnConfig-CcJxu14U.js +0 -1625
@@ -1,8 +1,8 @@
1
1
  import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
2
2
  import { t as ControlProps } from "./form.types-CecYaerF.js";
3
- import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
4
- import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
5
- import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
3
+ import { n as FormFieldProps } from "./FormField-Byiehm9y.js";
4
+ import { n as InputVariantProps } from "./input.cva-BsHgYa-L.js";
5
+ import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-D81ZJ3fT.js";
6
6
  import { FocusEvent, Ref } from "react";
7
7
  import { CalendarDate, DateValue } from "@internationalized/date";
8
8
  import { DatePickerStateOptions } from "react-stately";
@@ -1,20 +1,21 @@
1
- import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
2
- import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-UBZcTmdv.js";
1
+ import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
2
+ import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-BLBcySA2.js";
3
3
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
- import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
5
- import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
6
- import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-DR8bJw-F.js";
7
- import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DzQApBCy.js";
4
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
8
5
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
9
6
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
10
- import { t as FormField } from "./FormField-CHD4OJOt.js";
11
- import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
12
- import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
13
- import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CFCY-fRJ.js";
7
+ import { t as FormField } from "./FormField-B99dLt8o.js";
8
+ import { t as TooltipWrapper } from "./TooltipWrapper-3jyN0Wss.js";
9
+ import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-NeZVnci-.js";
10
+ import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-DtU63_dw.js";
11
+ import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-BTjajO6i.js";
12
+ import { t as normalizeDatePickerValue } from "./datePickerValue.utils-DCgoSrP3.js";
14
13
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
14
+ import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
15
15
  import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
16
- import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
17
16
  import { jsx, jsxs } from "react/jsx-runtime";
17
+ import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
18
+ import { useDatePicker, useLocale } from "react-aria";
18
19
  //#region src/components/inputs/DateTime/DatePicker/DatePicker.tsx
19
20
  const DatePickerBase = (props) => {
20
21
  const ui = UIConfig.useConfig();
@@ -98,17 +99,17 @@ const DatePickerBase = (props) => {
98
99
  },
99
100
  shouldCloseOnSelect: false
100
101
  });
101
- const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = $6902a2bb26917a07$export$42df105a73306d51({
102
+ const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = useDatePicker({
102
103
  ...rest,
103
104
  label,
104
105
  shouldForceLeadingZeros
105
106
  }, state, datePickerRef);
106
- const { calendarProps } = $6902a2bb26917a07$export$42df105a73306d51({
107
+ const { calendarProps } = useDatePicker({
107
108
  ...rest,
108
109
  label,
109
110
  shouldForceLeadingZeros
110
111
  }, dialogState, datePickerRef);
111
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
112
+ const { locale } = useLocale();
112
113
  const calendarState = $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f({
113
114
  ...calendarProps,
114
115
  locale,
@@ -240,7 +241,7 @@ const DatePickerBase = (props) => {
240
241
  timeZone: effectiveTimeZone,
241
242
  onClear: onInputClear,
242
243
  onValueCommit
243
- }), (!disableDropdown || disableManualEntry) && state.isOpen && /* @__PURE__ */ jsx(DateTimeDialog, {
244
+ }), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(DateTimeDialog, {
244
245
  footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
245
246
  isDisabled,
246
247
  isValid: !dialogState.isInvalid && !!dialogState.value,
@@ -269,7 +270,7 @@ const DatePickerBase = (props) => {
269
270
  const DatePickerInner = ({ fullIso = true, granularity = "day", minValue, maxValue, renderStaticInput, isFormControlDisabled, ...props }) => {
270
271
  const ui = UIConfig.useConfig();
271
272
  const datePickerInputContentRowCva = UIOverrides.useCva("datePickerInput.contentRowCva", datePickerInputContentRowDefinition);
272
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
273
+ const { locale } = useLocale();
273
274
  const shouldForceLeadingZeros = props.shouldForceLeadingZeros ?? ui.dateInput.shouldForceLeadingZeros;
274
275
  const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
275
276
  const inputRef = useRef(null);
@@ -1,22 +1,24 @@
1
1
  import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
2
+ import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
3
3
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
4
5
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
5
- import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
6
- import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
7
- import { b as $7541913c0284d84b$export$5591b0b878c1a989, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-DR8bJw-F.js";
8
- import { t as Typography } from "./Typography-B0Gp1lpc.js";
6
+ import { t as Typography } from "./Typography-LU4z2pR1.js";
9
7
  import { IconButton } from "./components/icon-button.js";
10
8
  import { InlineIconButton } from "./components/inline-icon-button.js";
11
9
  import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-BE0r63d8.js";
12
- import { r as FormFieldLabel } from "./FormField-CHD4OJOt.js";
10
+ import { r as FormFieldLabel } from "./FormField-B99dLt8o.js";
13
11
  import "./i18n-CX2EjhJI.js";
14
- import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-BcXyC1vZ.js";
15
- import { n as InputClear } from "./TooltipWrapper-CRf-JFeo.js";
16
- import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-DB9PgioW.js";
12
+ import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-DJA8ovm_.js";
13
+ import { n as InputClear } from "./TooltipWrapper-3jyN0Wss.js";
14
+ import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-NeZVnci-.js";
15
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
16
+ import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-DtU63_dw.js";
17
17
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
18
18
  import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
19
+ import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
19
20
  import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
21
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
20
22
  import { CalendarDate, CalendarDateTime, DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, getDayOfWeek, getLocalTimeZone, getWeeksInMonth, isEqualCalendar, isSameDay, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, today } from "@internationalized/date";
21
23
  import "react-aria/I18nProvider";
22
24
  import "react-aria/useNumberFormatter";
@@ -24,7 +26,7 @@ import "react-aria/useCollator";
24
26
  import "react-aria/useLocalizedStringFormatter";
25
27
  import "react-aria/useFilter";
26
28
  import "react-aria/useListFormatter";
27
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
29
+ import { useDateField, useLocale as useLocale$1 } from "react-aria";
28
30
  import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
29
31
  import { useTranslation } from "react-i18next";
30
32
  import { useCalendarCell, useCalendarGrid } from "@react-aria/calendar";
@@ -508,7 +510,7 @@ const CalendarCell = ({ state, onApply, onDoubleClickApply, shouldApplyOnDateSel
508
510
  }, [onDateHover, selectionState.isSelectingMode]);
509
511
  const cellClassName = useMemo(() => {
510
512
  const { isSelectedCell, isInRange, isHoverRange, isSelectingMode, isSelectionStart, isSelectionEnd } = selectionState;
511
- return clsx("mx-auto flex h-10 w-full max-w-10 items-center justify-center rounded-button-rounding-default p-2", "focus:outline-none focus-visible:outline-1 focus-visible:outline-interactive-ring focus-visible:outline-offset-1", "border border-transparent border-solid", !isSelectedCell && !isOutsideVisibleRange && "bg-surface-default-card text-surface-default-card-foreground", !isSelectedCell && isOutsideVisibleRange && "bg-surface-default-card text-surface-default-popover-foreground", isSelectedCell && !isOutsideVisibleRange && "bg-interactive-primary-background text-interactive-primary-foreground", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionStart && !isSelectionEnd && "rounded-r-none", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionEnd && !isSelectionStart && "rounded-l-none", isDisabled && !isOutsideVisibleRange && "cursor-default", isDisabled && !isSelectedCell && "text-tint-surface-default-card-foreground/50", isDisabled && isSelectedCell && "bg-tint-interactive-primary-background/50 text-tint-interactive-primary-foreground/50", !isSelectedCell && !isInRange && !isHoverRange && !isSelectingMode && !isDisabled && !isOutsideVisibleRange && "[@media(pointer:fine)]:hover:border-border-default-subtle [@media(pointer:fine)]:hover:bg-tint-surface-default-card/80 [@media(pointer:fine)]:hover:text-tint-surface-default-card-foreground/80", isInRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", isHoverRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", !isInRange && !isSelectedCell && isSelectingMode && !isDisabled && "hover:bg-tint-interactive-primary-background/80 hover:text-interactive-primary-foreground", isSelectingMode && !isSelectedCell && !isInRange && !isHoverRange && !isDisabled && !isOutsideVisibleRange && "transition-all duration-75 hover:border-border-default-subtle", isFocused && !isSelectedCell && !isDisabled && !isOutsideVisibleRange && "ring-2 ring-inset ring-interactive-ring");
513
+ return clsx("mx-auto flex h-10 w-full max-w-10 items-center justify-center rounded-button-rounding-default p-2", "focus:outline-none focus-visible:outline-1 focus-visible:outline-interactive-ring focus-visible:outline-offset-1", "border border-transparent border-solid", !isSelectedCell && !isOutsideVisibleRange && "bg-surface-default-card text-surface-default-card-foreground", !isSelectedCell && isOutsideVisibleRange && "bg-surface-default-card text-surface-default-popover-foreground", isSelectedCell && !isOutsideVisibleRange && "bg-interactive-primary-background text-interactive-primary-foreground", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionStart && !isSelectionEnd && "rounded-r-none", isSelectedCell && !isOutsideVisibleRange && rangeSelection && !rangeSelection.isSelecting && isSelectionEnd && !isSelectionStart && "rounded-l-none", isDisabled && !isOutsideVisibleRange && "cursor-default", isDisabled && !isSelectedCell && "text-state-surface-default-card-foreground/disabled", isDisabled && isSelectedCell && "bg-state-interactive-primary-background/disabled text-state-interactive-primary-foreground/disabled", !isSelectedCell && !isInRange && !isHoverRange && !isSelectingMode && !isDisabled && !isOutsideVisibleRange && "[@media(pointer:fine)]:hover:border-border-default-subtle [@media(pointer:fine)]:hover:bg-state-surface-default-card/hover [@media(pointer:fine)]:hover:text-state-surface-default-card-foreground/hover", isInRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", isHoverRange && !isOutsideVisibleRange && "!rounded-none !bg-interactive-subtle-primary-background text-interactive-subtle-primary-foreground", !isInRange && !isSelectedCell && isSelectingMode && !isDisabled && "hover:bg-state-interactive-primary-background/hover hover:text-interactive-primary-foreground", isSelectingMode && !isSelectedCell && !isInRange && !isHoverRange && !isDisabled && !isOutsideVisibleRange && "transition-all duration-75 hover:border-border-default-subtle", isFocused && !isSelectedCell && !isDisabled && !isOutsideVisibleRange && "ring-2 ring-inset ring-interactive-ring");
512
514
  }, [
513
515
  selectionState,
514
516
  isOutsideVisibleRange,
@@ -620,7 +622,7 @@ const CalendarGrid = ({ state, showWeekNumbers = false, onApply, onDoubleClickAp
620
622
  //#region src/components/inputs/DateTime/shared/DateField.tsx
621
623
  const omitNullValue = ({ value: _value, ...props }) => props;
622
624
  const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableManualEntry, dateGranularity = "day", isTimeOptional = false, format, timeZone, segmentGroup, shouldAutoFixYear = false, preserveNullValue = false, ...props }) => {
623
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
625
+ const { locale } = useLocale$1();
624
626
  const previousValueRef = useRef(props.value);
625
627
  const dateFieldProps = props.value == null && !preserveNullValue ? omitNullValue(props) : props;
626
628
  const state = $8e7461aabf74661f$export$60e84778edff6d26({
@@ -631,7 +633,7 @@ const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableMan
631
633
  createCalendar
632
634
  });
633
635
  const dataFieldRef = useRef(null);
634
- const { fieldProps } = $7541913c0284d84b$export$5591b0b878c1a989({
636
+ const { fieldProps } = useDateField({
635
637
  ...dateFieldProps,
636
638
  isDisabled,
637
639
  isReadOnly: disableManualEntry
@@ -762,18 +764,6 @@ const DateField = ({ ref, onClearChange, hidePlaceholder, isDisabled, disableMan
762
764
  });
763
765
  };
764
766
  //#endregion
765
- //#region src/components/inputs/DateTime/shared/datePickerInput.cva.ts
766
- const datePickerInputContentRowDefinition = UIOverrides.defineConfig({
767
- base: ["flex items-center gap-input-gap-input-text-to-elements"],
768
- config: {
769
- variants: { size: {
770
- small: "",
771
- default: ""
772
- } },
773
- defaultVariants: { size: "default" }
774
- }
775
- });
776
- //#endregion
777
767
  //#region src/components/inputs/DateTime/shared/datePickerTodayIcon.tsx
778
768
  const getDatePickerTodayIcon = (todayIcon) => {
779
769
  if (!todayIcon) return null;
@@ -988,4 +978,4 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
988
978
  });
989
979
  };
990
980
  //#endregion
991
- export { CalendarGrid as a, $dd602d3c757202f2$export$4f5203c0d889109e as c, $dd602d3c757202f2$export$f4a51ff076cc9a09 as d, $1697a7ad3db7b79f$re_export$useDateFormatter as i, $dd602d3c757202f2$export$a1d3911297b952d7 as l, renderDatePickerTodayIcon as n, $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 as o, datePickerInputContentRowDefinition as r, $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f as s, DatePickerInput as t, $dd602d3c757202f2$export$eac50920cf2fd59a as u };
981
+ export { $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 as a, $dd602d3c757202f2$export$a1d3911297b952d7 as c, CalendarGrid as i, $dd602d3c757202f2$export$eac50920cf2fd59a as l, renderDatePickerTodayIcon as n, $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f as o, $1697a7ad3db7b79f$re_export$useDateFormatter as r, $dd602d3c757202f2$export$4f5203c0d889109e as s, DatePickerInput as t, $dd602d3c757202f2$export$f4a51ff076cc9a09 as u };
@@ -1,6 +1,6 @@
1
- import { n as IconButtonProps } from "./IconButton-KXecZgYX.js";
2
- import "./FormField-B0miX3gu.js";
3
- import "./input.cva-BhDJxc7r.js";
1
+ import { n as IconButtonProps } from "./IconButton-D4thBurp.js";
2
+ import "./FormField-Byiehm9y.js";
3
+ import "./input.cva-BsHgYa-L.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
@@ -1,205 +1,34 @@
1
- import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
1
+ import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
2
2
  import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
3
3
  import { t as ChevronLeft } from "./chevron-left-Dgo_b9wJ.js";
4
4
  import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
5
5
  import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-DJPPn2fD.js";
6
- import { a as CalendarGrid, c as $dd602d3c757202f2$export$4f5203c0d889109e, d as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $1697a7ad3db7b79f$re_export$useDateFormatter, l as $dd602d3c757202f2$export$a1d3911297b952d7, n as renderDatePickerTodayIcon, o as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput, u as $dd602d3c757202f2$export$eac50920cf2fd59a } from "./DatePickerInput-UBZcTmdv.js";
6
+ import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, c as $dd602d3c757202f2$export$a1d3911297b952d7, i as CalendarGrid, l as $dd602d3c757202f2$export$eac50920cf2fd59a, n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, r as $1697a7ad3db7b79f$re_export$useDateFormatter, s as $dd602d3c757202f2$export$4f5203c0d889109e, t as DatePickerInput, u as $dd602d3c757202f2$export$f4a51ff076cc9a09 } from "./DatePickerInput-BLBcySA2.js";
7
7
  import { t as clsx } from "./clsx-CnD0nOiA.js";
8
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
8
9
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
9
- import { t as Switch } from "./Switch-JxRmH1dX.js";
10
- import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
11
- import { n as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useLayoutEffect-B2-1tbPJ.js";
12
- import { a as $390e54f620492c70$export$f680877a34711e37, r as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./useSyncRef-RGMv0rXK.js";
13
- import { c as $191c9b6d48a0a4e2$export$294aa081a6c6f55d, m as $cf2482eff2eeeec2$export$f12b703ca79dfbb1, r as $fd2148440a13ec26$export$fc1a364ae1f3ff10, s as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFormValidationState-D3z-gafz.js";
14
- import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
15
- import { C as $0014db39426443c5$exports, S as $6a440d0e2d99dd46$export$4a931266a3838b86, 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, v as $7541913c0284d84b$export$300019f83c56d282, w as $121970af65029459$export$f8aeda7b10753fa1, x as $7541913c0284d84b$export$7b3062cd49e80452 } from "./staticDateTimeSegments-DR8bJw-F.js";
16
- import { n as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-CO9oJ1sc.js";
17
- import { t as Typography } from "./Typography-B0Gp1lpc.js";
10
+ import { t as Switch } from "./Switch-CqnGEdeD.js";
11
+ import { t as Typography } from "./Typography-LU4z2pR1.js";
18
12
  import { InlineIconButton } from "./components/inline-icon-button.js";
19
- import { PillButton } from "./components/pill-button.js";
13
+ import { BadgeButton } from "./components/badge-button.js";
20
14
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
21
15
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
22
- import { t as FormField } from "./FormField-CHD4OJOt.js";
16
+ import { t as FormField } from "./FormField-B99dLt8o.js";
23
17
  import "./i18n-CX2EjhJI.js";
24
- import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
25
- import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
18
+ import { t as TooltipWrapper } from "./TooltipWrapper-3jyN0Wss.js";
19
+ import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-NeZVnci-.js";
20
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
21
+ import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-CLDS_LRZ.js";
22
+ 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-DtU63_dw.js";
26
23
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
27
- import { t as Select } from "./Select-CuZDkeQs.js";
24
+ import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
25
+ import { t as Select } from "./Select-UR0ec2Ux.js";
28
26
  import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
29
- import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
30
- import { DEFAULT_VALIDATION_RESULT, mergeValidation, privateValidationStateProp } from "react-stately/private/form/useFormValidationState";
31
27
  import { jsx, jsxs } from "react/jsx-runtime";
28
+ import { DateFormatter, GregorianCalendar, createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, maxDate, minDate, startOfMonth, startOfWeek, startOfYear, toCalendar, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
29
+ import { useDateRangePicker, useLocale } from "react-aria";
32
30
  import { useTranslation } from "react-i18next";
33
31
  import { useRangeCalendar } from "@react-aria/calendar";
34
- //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/datepicker/useDateRangePicker.mjs
35
- function $parcel$interopDefault(a) {
36
- return a && a.__esModule ? a.default : a;
37
- }
38
- function $cccdba1b2bb08448$export$12fd5f0e9f4bb192(props, state, ref) {
39
- let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($0014db39426443c5$exports), "@react-aria/datepicker");
40
- let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
41
- let { labelProps, fieldProps, descriptionProps, errorMessageProps } = $191c9b6d48a0a4e2$export$294aa081a6c6f55d({
42
- ...props,
43
- labelElementType: "span",
44
- isInvalid,
45
- errorMessage: props.errorMessage || validationErrors
46
- });
47
- let labelledBy = fieldProps["aria-labelledby"] || fieldProps.id;
48
- let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
49
- let range = state.formatValue(locale, { month: "long" });
50
- let description = range ? stringFormatter.format("selectedRangeDescription", {
51
- startDate: range.start,
52
- endDate: range.end
53
- }) : "";
54
- let descProps = $121970af65029459$export$f8aeda7b10753fa1(description);
55
- let startFieldProps = {
56
- "aria-label": stringFormatter.format("startDate"),
57
- "aria-labelledby": labelledBy
58
- };
59
- let endFieldProps = {
60
- "aria-label": stringFormatter.format("endDate"),
61
- "aria-labelledby": labelledBy
62
- };
63
- let buttonId = $390e54f620492c70$export$f680877a34711e37();
64
- let dialogId = $390e54f620492c70$export$f680877a34711e37();
65
- let groupProps = $6a440d0e2d99dd46$export$4a931266a3838b86(state, ref);
66
- let ariaDescribedBy = [descProps["aria-describedby"], fieldProps["aria-describedby"]].filter(Boolean).join(" ") || void 0;
67
- let focusManager = useMemo(() => $535772f9d2c1f38d$export$c5251b9e124bf29(ref, { accept: (element) => element.id !== buttonId }), [ref, buttonId]);
68
- let commonFieldProps = {
69
- [$7541913c0284d84b$export$7b3062cd49e80452]: focusManager,
70
- [$7541913c0284d84b$export$300019f83c56d282]: "presentation",
71
- "aria-describedby": ariaDescribedBy,
72
- placeholderValue: props.placeholderValue,
73
- hideTimeZone: props.hideTimeZone,
74
- hourCycle: props.hourCycle,
75
- granularity: props.granularity,
76
- shouldForceLeadingZeros: props.shouldForceLeadingZeros,
77
- isDisabled: props.isDisabled,
78
- isReadOnly: props.isReadOnly,
79
- isRequired: props.isRequired,
80
- validationBehavior: props.validationBehavior
81
- };
82
- let domProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props);
83
- let isFocused = useRef(false);
84
- let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec({
85
- ...props,
86
- isDisabled: state.isOpen,
87
- onBlurWithin: (e) => {
88
- let dialog = document.getElementById(dialogId);
89
- if (!$23f2114a1b82827e$export$4282f70798064fe0(dialog, e.relatedTarget)) {
90
- isFocused.current = false;
91
- props.onBlur?.(e);
92
- props.onFocusChange?.(false);
93
- }
94
- },
95
- onFocusWithin: (e) => {
96
- if (!isFocused.current) {
97
- isFocused.current = true;
98
- props.onFocus?.(e);
99
- props.onFocusChange?.(true);
100
- }
101
- }
102
- });
103
- let startFieldValidation = useRef(DEFAULT_VALIDATION_RESULT);
104
- let endFieldValidation = useRef(DEFAULT_VALIDATION_RESULT);
105
- return {
106
- groupProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(domProps, groupProps, fieldProps, descProps, focusWithinProps, {
107
- role: "group",
108
- "aria-disabled": props.isDisabled || null,
109
- "aria-describedby": ariaDescribedBy,
110
- onKeyDown(e) {
111
- if (state.isOpen) return;
112
- if (props.onKeyDown) props.onKeyDown(e);
113
- },
114
- onKeyUp(e) {
115
- if (state.isOpen) return;
116
- if (props.onKeyUp) props.onKeyUp(e);
117
- }
118
- }),
119
- labelProps: {
120
- ...labelProps,
121
- onClick: () => {
122
- focusManager.focusFirst();
123
- }
124
- },
125
- buttonProps: {
126
- ...descProps,
127
- id: buttonId,
128
- "aria-haspopup": "dialog",
129
- "aria-label": stringFormatter.format("calendar"),
130
- "aria-labelledby": `${buttonId} ${labelledBy}`,
131
- "aria-describedby": ariaDescribedBy,
132
- "aria-expanded": state.isOpen,
133
- isDisabled: props.isDisabled || props.isReadOnly,
134
- onPress: () => state.setOpen(true)
135
- },
136
- dialogProps: {
137
- id: dialogId,
138
- "aria-labelledby": `${buttonId} ${labelledBy}`
139
- },
140
- startFieldProps: {
141
- ...startFieldProps,
142
- ...commonFieldProps,
143
- value: state.value?.start ?? null,
144
- defaultValue: state.defaultValue?.start,
145
- onChange: (start) => state.setDateTime("start", start),
146
- autoFocus: props.autoFocus,
147
- name: props.startName,
148
- form: props.form,
149
- [privateValidationStateProp]: {
150
- realtimeValidation: state.realtimeValidation,
151
- displayValidation: state.displayValidation,
152
- updateValidation(e) {
153
- startFieldValidation.current = e;
154
- state.updateValidation(mergeValidation(e, endFieldValidation.current));
155
- },
156
- resetValidation: state.resetValidation,
157
- commitValidation: state.commitValidation
158
- }
159
- },
160
- endFieldProps: {
161
- ...endFieldProps,
162
- ...commonFieldProps,
163
- value: state.value?.end ?? null,
164
- defaultValue: state.defaultValue?.end,
165
- onChange: (end) => state.setDateTime("end", end),
166
- name: props.endName,
167
- form: props.form,
168
- [privateValidationStateProp]: {
169
- realtimeValidation: state.realtimeValidation,
170
- displayValidation: state.displayValidation,
171
- updateValidation(e) {
172
- endFieldValidation.current = e;
173
- state.updateValidation(mergeValidation(startFieldValidation.current, e));
174
- },
175
- resetValidation: state.resetValidation,
176
- commitValidation: state.commitValidation
177
- }
178
- },
179
- descriptionProps,
180
- errorMessageProps,
181
- calendarProps: {
182
- autoFocus: true,
183
- value: state.dateRange?.start && state.dateRange.end ? state.dateRange : null,
184
- onChange: state.setDateRange,
185
- minValue: props.minValue,
186
- maxValue: props.maxValue,
187
- isDisabled: props.isDisabled,
188
- isReadOnly: props.isReadOnly,
189
- isDateUnavailable: props.isDateUnavailable,
190
- allowsNonContiguousRanges: props.allowsNonContiguousRanges,
191
- defaultFocusedValue: state.dateRange ? void 0 : props.placeholderValue,
192
- isInvalid: state.isInvalid,
193
- errorMessage: typeof props.errorMessage === "function" ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(" "),
194
- firstDayOfWeek: props.firstDayOfWeek,
195
- pageBehavior: props.pageBehavior
196
- },
197
- isInvalid,
198
- validationErrors,
199
- validationDetails
200
- };
201
- }
202
- //#endregion
203
32
  //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.mjs
204
33
  function $a0a87fb6fcfb22ec$export$9a987164d97ecc90(props) {
205
34
  let { value: valueProp, defaultValue, onChange, createCalendar, locale, visibleDuration = { months: 1 }, minValue, maxValue, ...calendarProps } = props;
@@ -653,7 +482,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
653
482
  children: [/* @__PURE__ */ jsx(Select, {
654
483
  label: "Month",
655
484
  hideLabel: true,
656
- customTrigger: /* @__PURE__ */ jsx(PillButton, {
485
+ customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
657
486
  color: "secondary",
658
487
  variant: "subtle",
659
488
  iconPosition: "right",
@@ -671,7 +500,7 @@ const CalendarSelectHeader = ({ state, isPrevMonthDisabled, isPrevYearDisabled,
671
500
  }), /* @__PURE__ */ jsx(Select, {
672
501
  label: "Year",
673
502
  hideLabel: true,
674
- customTrigger: /* @__PURE__ */ jsx(PillButton, {
503
+ customTrigger: /* @__PURE__ */ jsx(BadgeButton, {
675
504
  color: "secondary",
676
505
  variant: "subtle",
677
506
  iconPosition: "right",
@@ -929,14 +758,14 @@ const DateRangePickerBase = (props) => {
929
758
  },
930
759
  shouldCloseOnSelect: false
931
760
  });
932
- const { groupProps, labelProps, startFieldProps, endFieldProps, buttonProps, dialogProps } = $cccdba1b2bb08448$export$12fd5f0e9f4bb192({
761
+ const { groupProps, labelProps, startFieldProps, endFieldProps, buttonProps, dialogProps } = useDateRangePicker({
933
762
  ...rest,
934
763
  label,
935
764
  shouldForceLeadingZeros,
936
765
  minValue,
937
766
  maxValue
938
767
  }, state, dateRangePickerRef);
939
- const { calendarProps } = $cccdba1b2bb08448$export$12fd5f0e9f4bb192({
768
+ const { calendarProps } = useDateRangePicker({
940
769
  ...rest,
941
770
  label,
942
771
  shouldForceLeadingZeros,
@@ -954,7 +783,7 @@ const DateRangePickerBase = (props) => {
954
783
  const newValue = partialRange.start || partialRange.end ? partialRange : null;
955
784
  onChange?.(newValue);
956
785
  };
957
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
786
+ const { locale } = useLocale();
958
787
  useImperativeHandle(ref, () => ({
959
788
  clear: () => {
960
789
  datePickerInputRef.current?.clear();
@@ -1563,7 +1392,7 @@ const DateRangePickerBase = (props) => {
1563
1392
  }), presets.map((preset) => /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
1564
1393
  isDisabled: preset.isDisabled,
1565
1394
  onClick: () => selectPreset(preset),
1566
- className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-tint-surface-default-foreground/50!", activePreset !== (mode === "relative" ? preset.value : preset.label) && "text-surface-default-foreground hover:text-tint-surface-default-foreground/80", activePreset === (mode === "relative" ? preset.value : preset.label) && "bg-interactive-primary-background text-interactive-primary-foreground"),
1395
+ className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item disabled:text-state-surface-default-foreground/disabled!", activePreset !== (mode === "relative" ? preset.value : preset.label) && "text-surface-default-foreground hover:text-state-surface-default-foreground/hover", activePreset === (mode === "relative" ? preset.value : preset.label) && "bg-interactive-primary-background text-interactive-primary-foreground"),
1567
1396
  children: /* @__PURE__ */ jsx(Typography, {
1568
1397
  size: "small",
1569
1398
  sizeMobile: "small",
@@ -1612,7 +1441,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
1612
1441
  const ui = UIConfig.useConfig();
1613
1442
  const { t } = useTranslation();
1614
1443
  const datePickerInputContentRowCva = UIOverrides.useCva("datePickerInput.contentRowCva", datePickerInputContentRowDefinition);
1615
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
1444
+ const { locale } = useLocale();
1616
1445
  const shouldForceLeadingZeros = props.shouldForceLeadingZeros ?? ui.dateInput.shouldForceLeadingZeros;
1617
1446
  const allowPartialRange = props.allowPartialRange ?? ui.dateInput.allowPartialRange;
1618
1447
  const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
@@ -1,8 +1,8 @@
1
1
  import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
2
2
  import { t as ControlProps } from "./form.types-CecYaerF.js";
3
- import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
4
- import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
5
- import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
3
+ import { n as FormFieldProps } from "./FormField-Byiehm9y.js";
4
+ import { n as InputVariantProps } from "./input.cva-BsHgYa-L.js";
5
+ import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-D81ZJ3fT.js";
6
6
  import { FocusEvent, Ref } from "react";
7
7
  import { DateValue } from "react-aria";
8
8
  import { CalendarDate } from "@internationalized/date";
@@ -1,20 +1,21 @@
1
- import { t as UIConfig } from "./uiConfig.context-D2eUIPHn.js";
2
- import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, s as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-UBZcTmdv.js";
1
+ import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
2
+ import { n as renderDatePickerTodayIcon, o as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, t as DatePickerInput } from "./DatePickerInput-BLBcySA2.js";
3
3
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
- import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
5
- import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
6
- import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-DR8bJw-F.js";
7
- import { i as $6902a2bb26917a07$export$42df105a73306d51, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-DzQApBCy.js";
4
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
8
5
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
9
6
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
10
- import { t as FormField } from "./FormField-CHD4OJOt.js";
11
- import { t as TooltipWrapper } from "./TooltipWrapper-CRf-JFeo.js";
12
- import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-DB9PgioW.js";
13
- import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CFCY-fRJ.js";
7
+ import { t as FormField } from "./FormField-B99dLt8o.js";
8
+ import { t as TooltipWrapper } from "./TooltipWrapper-3jyN0Wss.js";
9
+ import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-NeZVnci-.js";
10
+ import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-DtU63_dw.js";
11
+ import { r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar-BTjajO6i.js";
12
+ import { t as normalizeDatePickerValue } from "./datePickerValue.utils-DCgoSrP3.js";
14
13
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
14
+ import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-Cd7UUN61.js";
15
15
  import { memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
16
- import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
17
16
  import { jsx, jsxs } from "react/jsx-runtime";
17
+ import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
18
+ import { useDatePicker, useLocale } from "react-aria";
18
19
  //#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.tsx
19
20
  const DateTimePickerBase = (props) => {
20
21
  const ui = UIConfig.useConfig();
@@ -88,19 +89,19 @@ const DateTimePickerBase = (props) => {
88
89
  granularity: "minute",
89
90
  hideTimeZone: true
90
91
  });
91
- const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = $6902a2bb26917a07$export$42df105a73306d51({
92
+ const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = useDatePicker({
92
93
  ...rest,
93
94
  label,
94
95
  granularity: "minute",
95
96
  hideTimeZone: true,
96
97
  shouldForceLeadingZeros
97
98
  }, state, datePickerRef);
98
- const { calendarProps } = $6902a2bb26917a07$export$42df105a73306d51({
99
+ const { calendarProps } = useDatePicker({
99
100
  ...rest,
100
101
  label,
101
102
  shouldForceLeadingZeros
102
103
  }, dialogState, datePickerRef);
103
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
104
+ const { locale } = useLocale();
104
105
  const calendarState = $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f({
105
106
  ...calendarProps,
106
107
  locale,
@@ -252,7 +253,7 @@ const DateTimePickerBase = (props) => {
252
253
  const DateTimePickerInner = ({ fullIso: _fullIso = true, renderStaticInput, isFormControlDisabled, ...props }) => {
253
254
  const ui = UIConfig.useConfig();
254
255
  const datePickerInputContentRowCva = UIOverrides.useCva("datePickerInput.contentRowCva", datePickerInputContentRowDefinition);
255
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
256
+ const { locale } = useLocale();
256
257
  const shouldForceLeadingZeros = props.shouldForceLeadingZeros ?? ui.dateInput.shouldForceLeadingZeros;
257
258
  const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
258
259
  const inputRef = useRef(null);
@@ -1,8 +1,8 @@
1
1
  import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
2
2
  import { t as ControlProps } from "./form.types-CecYaerF.js";
3
- import { n as FormFieldProps } from "./FormField-B0miX3gu.js";
4
- import { n as InputVariantProps } from "./input.cva-BhDJxc7r.js";
5
- import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-CZTEsrS0.js";
3
+ import { n as FormFieldProps } from "./FormField-Byiehm9y.js";
4
+ import { n as InputVariantProps } from "./input.cva-BsHgYa-L.js";
5
+ import { a as DatePickerTodayIconPlacement, i as DatePickerTodayIconButtonSize, n as DatePickerTodayIcon, r as DatePickerTodayIconButtonComponent, t as DatePickerInputHandle } from "./DatePickerInput-D81ZJ3fT.js";
6
6
  import { FocusEvent, Ref } from "react";
7
7
  import { DateValue } from "react-aria";
8
8
  import { DatePickerStateOptions } from "react-stately";
@@ -1,11 +1,11 @@
1
1
  import { t as X } from "./x-B6vfz8Ps.js";
2
2
  import { t as clsx } from "./clsx-CnD0nOiA.js";
3
- import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-CXoVeIkU.js";
4
- import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-CoFt5PGP.js";
5
- import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
3
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
4
+ import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-CKLkS00H.js";
5
+ import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-w60dVQcb.js";
6
6
  import { InlineIconButton } from "./components/inline-icon-button.js";
7
7
  import "./i18n-CX2EjhJI.js";
8
- import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva---xiOXMQ.js";
8
+ import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-COhDZaVl.js";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { useTranslation } from "react-i18next";
11
11
  //#region src/components/overlays/Dialog/Dialog.tsx
@@ -16,7 +16,7 @@ import { useCachedChildren } from "react-aria/private/collections/useCachedChild
16
16
  import { filterDOMProps } from "react-aria/filterDOMProps";
17
17
  import { useHover } from "react-aria/useHover";
18
18
  import { Collection } from "react-aria/Collection";
19
- import { CollectionNode, ItemNode, LoaderNode } from "react-aria/private/collections/BaseCollection";
19
+ import { CollectionNode, HeaderNode, ItemNode, LoaderNode } from "react-aria/private/collections/BaseCollection";
20
20
  import { useIsHidden } from "react-aria/private/collections/Hidden";
21
21
  import { useId as useId$1 } from "react-aria/useId";
22
22
  import { useLocale } from "react-aria/I18nProvider";
@@ -102,6 +102,14 @@ function $263ab7fc0f95ccdb$export$90e00781bc59d8f9(focusedKey) {
102
102
  //#endregion
103
103
  //#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Header.mjs
104
104
  const $53e61d82d8b8611d$export$e0e4026c12a8bdbb = /*#__PURE__*/ createContext({});
105
+ const $53e61d82d8b8611d$export$8b251419efc915eb = /*#__PURE__*/ createLeafComponent(HeaderNode, function Header(props, ref) {
106
+ [props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $53e61d82d8b8611d$export$e0e4026c12a8bdbb);
107
+ return /*#__PURE__*/ $ahdqC$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.header, {
108
+ className: "react-aria-Header",
109
+ ...props,
110
+ ref
111
+ }, props.children);
112
+ });
105
113
  //#endregion
106
114
  //#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Separator.mjs
107
115
  const $e28ab3efe3e87743$export$6615d83f6de245ce = /*#__PURE__*/ createContext({});
@@ -639,4 +647,4 @@ const $f2ff30fde7b014be$export$3ddf2d174ce01153 = /*#__PURE__*/ forwardRef(funct
639
647
  ] }, renderProps.children));
640
648
  });
641
649
  //#endregion
642
- export { $49319ee1285aa241$export$2ce376c2cc3355c8 as a, $542a13ca2fa5b484$export$5b6b19405a83ff9d as c, $53e61d82d8b8611d$export$e0e4026c12a8bdbb as d, $263ab7fc0f95ccdb$export$2dbbd341daed716d as f, $4b38b5b75ecc6208$export$b0d3ecf7112093a7 as g, $4b38b5b75ecc6208$export$698f465ec27e93df as h, $49319ee1285aa241$export$27d2ad3c5815583e as i, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 as l, $263ab7fc0f95ccdb$export$d40e14dec8b060a8 as m, $f2ff30fde7b014be$export$3ddf2d174ce01153 as n, $49319ee1285aa241$export$d9b273488cd8ce6f as o, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 as p, $f2ff30fde7b014be$export$d2f961adcb0afbe as r, $49319ee1285aa241$export$ecabc99eeffab7ca as s, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as t, $e28ab3efe3e87743$export$6615d83f6de245ce as u };
650
+ export { $4b38b5b75ecc6208$export$b0d3ecf7112093a7 as _, $49319ee1285aa241$export$2ce376c2cc3355c8 as a, $542a13ca2fa5b484$export$5b6b19405a83ff9d as c, $53e61d82d8b8611d$export$8b251419efc915eb as d, $53e61d82d8b8611d$export$e0e4026c12a8bdbb as f, $4b38b5b75ecc6208$export$698f465ec27e93df as g, $263ab7fc0f95ccdb$export$d40e14dec8b060a8 as h, $49319ee1285aa241$export$27d2ad3c5815583e as i, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 as l, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 as m, $f2ff30fde7b014be$export$3ddf2d174ce01153 as n, $49319ee1285aa241$export$d9b273488cd8ce6f as o, $263ab7fc0f95ccdb$export$2dbbd341daed716d as p, $f2ff30fde7b014be$export$d2f961adcb0afbe as r, $49319ee1285aa241$export$ecabc99eeffab7ca as s, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as t, $e28ab3efe3e87743$export$6615d83f6de245ce as u };