@midas-ds/components 10.2.0 → 10.4.0

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 (440) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  6. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
  7. package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
  9. package/Button-CFYdzG0H.js +341 -0
  10. package/Button-DExMoP5f.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +48 -0
  14. package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
  15. package/Card-Cc1TNPcQ.cjs +1 -0
  16. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  17. package/CharacterCounter-cLhqPZlk.js +22 -0
  18. package/Checkbox-Co3h0hur.cjs +1 -0
  19. package/Checkbox-LuUwTZ3W.js +264 -0
  20. package/CheckboxGroup-CUA8_xSx.js +160 -0
  21. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  22. package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
  23. package/Collection-BtBX5IMY.cjs +1 -0
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
  25. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  26. package/ComboBox-BBC7jhnm.cjs +1 -0
  27. package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
  28. package/DateField-B3VjOSde.cjs +1 -0
  29. package/DateField-CnLEi7uX.js +47 -0
  30. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
  32. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
  34. package/Dialog-CSnN6baf.cjs +1 -0
  35. package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
  36. package/Dialog-SqciohRY.js +221 -0
  37. package/Dialog-pSSy1zwf.cjs +1 -0
  38. package/DragAndDrop-BoEd260f.cjs +1 -0
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
  40. package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
  41. package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  42. package/FieldError-B3YFj-an.js +23 -0
  43. package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
  44. package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
  45. package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
  46. package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
  47. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  48. package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
  49. package/FocusScope-vcXLOQiu.cjs +1 -0
  50. package/Group-CpkUzEAs.js +45 -0
  51. package/Group-DOpbdoAi.cjs +1 -0
  52. package/Heading-CKTR4sOz.cjs +1 -0
  53. package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
  54. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  55. package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
  56. package/InfoBanner-CVry6Y8i.cjs +1 -0
  57. package/Input-LnjmFI1x.js +42 -0
  58. package/Input-MJji5hhq.cjs +1 -0
  59. package/Label-CNmTN1YY.cjs +1 -0
  60. package/Label-TVxwGZ-O.js +78 -0
  61. package/Layout-Dw-oCqxd.cjs +16 -0
  62. package/Layout-amz9BESl.js +498 -0
  63. package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
  64. package/Link-CidjjqHb.cjs +1 -0
  65. package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
  66. package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
  67. package/LinkButton-CckYzfJ8.js +69 -0
  68. package/LinkButton-DKZ4z6zu.cjs +6 -0
  69. package/ListBox-BCz5-23H.cjs +1 -0
  70. package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
  71. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
  72. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  73. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
  74. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  75. package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
  76. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
  77. package/Logo-BpH0HC91.cjs +1 -0
  78. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  79. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
  80. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  81. package/Popover-C8VY1YKi.js +38 -0
  82. package/Popover-CnAsw3wI.cjs +1 -0
  83. package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
  84. package/ProgressBar-CcbxcWdT.cjs +1 -0
  85. package/Radio-B2zfEFdq.cjs +1 -0
  86. package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
  87. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
  88. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  89. package/SSRProvider-40TXmsUG.js +50 -0
  90. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  91. package/SearchField-CML0kjtn.cjs +6 -0
  92. package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
  93. package/Select-DKey6CeS.cjs +1 -0
  94. package/Select-mwaAv20X.js +665 -0
  95. package/SelectionManager-D0jYUYcy.cjs +1 -0
  96. package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
  97. package/Separator-CxF-3jhR.cjs +1 -0
  98. package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
  99. package/Spinner-CbJ6YAz-.js +53 -0
  100. package/Spinner-yHcy8YHC.cjs +6 -0
  101. package/TabList-7VtCiXxX.cjs +1 -0
  102. package/TabList-CthsM5h6.js +435 -0
  103. package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
  104. package/Table-DkvNp6xm.cjs +16 -0
  105. package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
  106. package/Tag-CFWZ2LQW.cjs +1 -0
  107. package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
  108. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  109. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  110. package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
  111. package/TextArea-DBNAVWqL.js +119 -0
  112. package/TextArea-XJDfeXRs.cjs +1 -0
  113. package/TextField-BdK9KEQ5.cjs +1 -0
  114. package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
  115. package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
  116. package/Toast-l1bKo2oA.cjs +1 -0
  117. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  118. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
  119. package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
  120. package/Tooltip-pN5W3IK6.cjs +1 -0
  121. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
  122. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  123. package/accordion/index.cjs +1 -1
  124. package/accordion/index.js +1 -1
  125. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/Label.css +1 -1
  130. package/assets/LinkButton.css +1 -1
  131. package/assets/Popover.css +1 -0
  132. package/assets/RangeCalendar.css +1 -1
  133. package/assets/SearchField.css +1 -1
  134. package/assets/Spinner.css +1 -1
  135. package/assets/TabList.css +1 -0
  136. package/badge/index.cjs +1 -1
  137. package/badge/index.js +1 -1
  138. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  139. package/breadcrumbs/index.cjs +1 -1
  140. package/breadcrumbs/index.d.ts +1 -1
  141. package/breadcrumbs/index.js +1 -1
  142. package/button/index.cjs +1 -1
  143. package/button/index.js +1 -1
  144. package/calendar/CalendarGrid.d.ts +1 -0
  145. package/calendar/index.cjs +1 -1
  146. package/calendar/index.js +1 -1
  147. package/card/index.cjs +1 -1
  148. package/card/index.js +1 -1
  149. package/character-counter/index.cjs +1 -1
  150. package/character-counter/index.js +1 -1
  151. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  152. package/checkbox/Checkbox.d.ts +4 -2
  153. package/checkbox/CheckboxGroup.d.ts +8 -8
  154. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  155. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  156. package/checkbox/CheckboxInner.d.ts +2 -0
  157. package/checkbox/SingleCheckbox.d.ts +3 -0
  158. package/checkbox/context.d.ts +3 -0
  159. package/checkbox/index.cjs +1 -1
  160. package/checkbox/index.d.ts +2 -1
  161. package/checkbox/index.js +2 -2
  162. package/checkbox/intl/translations.json.d.ts +7 -0
  163. package/checkbox/types.d.ts +16 -0
  164. package/checkbox/useSelectAll.d.ts +7 -0
  165. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  166. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  167. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  168. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  169. package/color-scheme-switch/index.cjs +1 -1
  170. package/color-scheme-switch/index.js +1 -1
  171. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  172. package/combobox/ComboBox.d.ts +3 -1
  173. package/combobox/index.cjs +1 -1
  174. package/combobox/index.js +1 -1
  175. package/combobox/intl/translations.json.d.ts +11 -0
  176. package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
  177. package/context-Df3XbgBG.cjs +1 -0
  178. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  179. package/date-field/DateField.d.ts +3 -0
  180. package/date-field/index.cjs +1 -1
  181. package/date-field/index.js +2 -2
  182. package/date-picker/DatePicker.d.ts +3 -0
  183. package/date-picker/DateRangePicker.d.ts +3 -0
  184. package/date-picker/index.cjs +1 -1
  185. package/date-picker/index.js +1 -1
  186. package/dropdown/index.cjs +1 -1
  187. package/dropdown/index.js +1 -1
  188. package/field-error/index.cjs +1 -1
  189. package/field-error/index.js +1 -1
  190. package/file-upload/FileUpload.d.ts +4 -0
  191. package/file-upload/index.cjs +1 -1
  192. package/file-upload/index.js +1 -1
  193. package/file-upload/intl/translations.json.d.ts +17 -0
  194. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
  195. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  196. package/heading/index.cjs +1 -1
  197. package/heading/index.js +1 -1
  198. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  199. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  200. package/index.cjs +1 -1
  201. package/index.d.ts +1 -0
  202. package/index.js +105 -100
  203. package/inertValue-B3AFhVG4.cjs +1 -0
  204. package/info-BZwphdye.js +15 -0
  205. package/info-CIEIENo6.cjs +6 -0
  206. package/info-banner/index.cjs +1 -1
  207. package/info-banner/index.js +1 -1
  208. package/info-banner/intl/translations.json.d.ts +11 -0
  209. package/label/InfoPopover.d.ts +9 -0
  210. package/label/LabelWrapper.d.ts +11 -0
  211. package/label/index.cjs +1 -1
  212. package/label/index.d.ts +1 -0
  213. package/label/index.js +1 -1
  214. package/label/intl/translations.json.d.ts +11 -0
  215. package/layout/Layout.d.ts +1 -0
  216. package/layout/context/LayoutContext.d.ts +1 -0
  217. package/layout/index.cjs +1 -1
  218. package/layout/index.js +1 -1
  219. package/layout/intl/translations.json.d.ts +23 -0
  220. package/link/index.cjs +1 -1
  221. package/link/index.js +2 -2
  222. package/link-button/index.cjs +1 -1
  223. package/link-button/index.js +2 -2
  224. package/list-box/index.cjs +1 -1
  225. package/list-box/index.js +2 -2
  226. package/logo/index.cjs +1 -1
  227. package/logo/index.js +1 -1
  228. package/logo/intl/translations.json.d.ts +11 -0
  229. package/mergeProps-B5KXZAI3.cjs +1 -0
  230. package/mergeProps-C1U1OIeJ.js +115 -0
  231. package/modal/index.cjs +1 -1
  232. package/modal/index.js +2 -2
  233. package/modal/intl/translations.json.d.ts +11 -0
  234. package/package.json +1 -1
  235. package/popover/Popover.d.ts +7 -0
  236. package/popover/index.cjs +1 -0
  237. package/popover/index.d.ts +1 -0
  238. package/popover/index.js +4 -0
  239. package/progress-bar/index.cjs +1 -1
  240. package/progress-bar/index.js +1 -1
  241. package/radio/Radio.d.ts +4 -4
  242. package/radio/index.cjs +1 -1
  243. package/radio/index.js +1 -1
  244. package/scrollIntoView-BLnsPvFA.js +87 -0
  245. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  246. package/search-field/index.cjs +1 -1
  247. package/search-field/index.js +1 -1
  248. package/search-field/intl/translations.json.d.ts +11 -0
  249. package/select/index.cjs +1 -1
  250. package/select/index.js +1 -1
  251. package/select/intl/translations.json.d.ts +17 -0
  252. package/spinner/Spinner.d.ts +1 -0
  253. package/spinner/index.cjs +1 -1
  254. package/spinner/index.js +1 -1
  255. package/spinner/intl/translations.json.d.ts +11 -0
  256. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  257. package/table/index.cjs +1 -1
  258. package/table/index.js +1 -1
  259. package/tabs/Tab.d.ts +4 -0
  260. package/tabs/TabList.d.ts +3 -0
  261. package/tabs/TabPanel.d.ts +4 -0
  262. package/tabs/Tabs.d.ts +11 -5
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +3 -0
  265. package/tabs/index.js +5 -2
  266. package/tag/index.cjs +1 -1
  267. package/tag/index.js +1 -1
  268. package/text/index.cjs +1 -1
  269. package/text/index.js +1 -1
  270. package/textfield/TextFieldBase.d.ts +2 -0
  271. package/textfield/index.cjs +1 -1
  272. package/textfield/index.js +1 -1
  273. package/textfield/intl/translations.json.d.ts +0 -72
  274. package/theme/index.cjs +1 -1
  275. package/theme/index.d.ts +5 -0
  276. package/theme/index.js +2 -2
  277. package/theme/tokens.d.ts +5 -0
  278. package/toast/Toast.d.ts +5 -2
  279. package/toast/index.cjs +1 -1
  280. package/toast/index.js +1 -1
  281. package/toggle-button/index.cjs +1 -1
  282. package/toggle-button/index.js +1 -1
  283. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  284. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  285. package/tooltip/index.cjs +1 -1
  286. package/tooltip/index.js +1 -1
  287. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  288. package/{useButton-C-Lq7CNY.js → useButton-1-Jf-oHj.js} +6 -6
  289. package/useButton-D60q0SQw.cjs +1 -0
  290. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  291. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
  292. package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
  293. package/useEvent-DPxMu-X9.cjs +1 -0
  294. package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
  295. package/useField-D1UkzeaI.cjs +1 -0
  296. package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
  297. package/useFilter-e2oIVF_O.cjs +1 -0
  298. package/useFocusRing-B-A1OLhU.cjs +1 -0
  299. package/useFocusRing-DOfBqnUN.js +33 -0
  300. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  301. package/useFocusWithin-T1ifEM_s.js +54 -0
  302. package/useFocusable-ChPA2Jc7.js +127 -0
  303. package/useFocusable-D7I1ujkW.cjs +1 -0
  304. package/useFormValidation-BlFGdPZB.cjs +1 -0
  305. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
  306. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  307. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  308. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  309. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
  310. package/useHover-BE_XKZKe.cjs +1 -0
  311. package/useHover-DQvJ3Y-W.js +262 -0
  312. package/useLabels-CSU0kbtJ.cjs +1 -0
  313. package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
  314. package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
  315. package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
  316. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  317. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  318. package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  319. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  320. package/useObserveElement-MhzEsCkX.cjs +1 -0
  321. package/usePress-BooY_CAy.cjs +7 -0
  322. package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
  323. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  324. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  325. package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
  326. package/useTextField-DnRrCg5o.cjs +1 -0
  327. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  328. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  329. package/utils-CoCR_Fce.js +234 -0
  330. package/utils-DHNZrQmj.cjs +1 -0
  331. package/utils-DJhAJHk_.js +152 -0
  332. package/utils-Dvdohqm9.cjs +1 -0
  333. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  334. package/AccordionItem-Z_c9MpAM.cjs +0 -1
  335. package/Breadcrumbs-Cx09jwZZ.cjs +0 -1
  336. package/Button-DnhqHU01.cjs +0 -1
  337. package/Button-ZOQy9Ivu.js +0 -78
  338. package/Button.module-CMMhIrkn.js +0 -14
  339. package/Button.module-DO5s9hOk.cjs +0 -1
  340. package/Card-C0BFW3wJ.cjs +0 -1
  341. package/CharacterCounter-CPGdboVJ.js +0 -22
  342. package/Checkbox-CvFsn_FL.js +0 -380
  343. package/Checkbox-DSxGAJX2.cjs +0 -1
  344. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  345. package/CheckboxGroup-Dij9zKlF.js +0 -54
  346. package/Collection-Csx3L9gh.cjs +0 -1
  347. package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
  348. package/ComboBox-gveQKHU3.cjs +0 -1
  349. package/DateField-CAQlzuDD.js +0 -46
  350. package/DateField-deVVFwKA.cjs +0 -1
  351. package/DateInputDivider-DnUxETEC.cjs +0 -1
  352. package/DateRangePicker-BzfitoK0.cjs +0 -6
  353. package/Dialog-Bd5hK360.cjs +0 -1
  354. package/Dialog-Bxx8cBEq.js +0 -208
  355. package/Dialog-CwTEAujZ.cjs +0 -1
  356. package/DragAndDrop-HvycSrKY.cjs +0 -1
  357. package/FieldError-Dv3bBEjh.js +0 -23
  358. package/FocusScope-NaPbvuuS.cjs +0 -1
  359. package/Group-CeSsSQVC.js +0 -44
  360. package/Group-CgiqQHH1.cjs +0 -1
  361. package/Heading-DoJAtYZf.cjs +0 -1
  362. package/InfoBanner-BS-dAfzO.cjs +0 -1
  363. package/Input-D8Ku_FQz.js +0 -41
  364. package/Input-DKSAYvsw.cjs +0 -1
  365. package/Label-C9ivwkAd.js +0 -21
  366. package/Label-CUV21CAv.cjs +0 -1
  367. package/Label-DkDOsmUF.js +0 -16
  368. package/Label-IMWAyoKb.cjs +0 -1
  369. package/Layout-BWeHHnqU.cjs +0 -16
  370. package/Layout-CCt_2L1k.js +0 -468
  371. package/Link-SHMbeyIP.cjs +0 -1
  372. package/LinkButton-CuBilDML.js +0 -69
  373. package/LinkButton-CymMrcGL.cjs +0 -6
  374. package/ListBox-CDOsQChA.cjs +0 -1
  375. package/ListBoxSection-DGCP6xpf.cjs +0 -1
  376. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  377. package/LiveAnnouncer-B6177m92.js +0 -51
  378. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  379. package/Logo-DT2_2O43.cjs +0 -1
  380. package/NumberFormatter-DewVDY5w.cjs +0 -1
  381. package/NumberFormatter-DgOUVrge.js +0 -119
  382. package/OverlayArrow-D75k-EMl.cjs +0 -1
  383. package/PressResponder-C06O3Z5P.cjs +0 -1
  384. package/PressResponder-CVEg5kND.js +0 -33
  385. package/ProgressBar-Bkw9zavs.cjs +0 -1
  386. package/ProgressBar-CEX2WNoW.js +0 -77
  387. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  388. package/Radio-CDKrvQe4.cjs +0 -1
  389. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  390. package/SearchField-6yBGiojX.cjs +0 -6
  391. package/Select-CpHjd1tp.cjs +0 -1
  392. package/Select-PvCqY7Lp.js +0 -646
  393. package/SelectionManager-C5NGBzvz.cjs +0 -1
  394. package/Separator-nPra6kD-.cjs +0 -1
  395. package/Spinner-D31SXm-U.js +0 -41
  396. package/Spinner-DAJtfxqJ.cjs +0 -6
  397. package/Table-D9vNc_y-.cjs +0 -16
  398. package/Tabs-Ct6D83aR.js +0 -404
  399. package/Tabs-Dtcl2oK2.cjs +0 -1
  400. package/Tag-CVFkzg3s.cjs +0 -1
  401. package/TextArea-DSiQ578a.js +0 -206
  402. package/TextArea-cVyGBRbL.cjs +0 -1
  403. package/TextField-B70CL2qz.cjs +0 -1
  404. package/Toast-DrkOGy4d.cjs +0 -1
  405. package/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
  406. package/Tooltip-CiWg4zIC.cjs +0 -1
  407. package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
  408. package/assets/Tabs.css +0 -1
  409. package/context-DjwhtgxQ.cjs +0 -1
  410. package/focusSafely-Bqfo_DH7.cjs +0 -1
  411. package/focusSafely-C48ucRUz.js +0 -56
  412. package/inertValue-BWmZ1afe.cjs +0 -1
  413. package/scrollIntoView-ClEACHUk.js +0 -57
  414. package/scrollIntoView-DRSoJp89.cjs +0 -1
  415. package/useButton-B1Fa-6qE.cjs +0 -1
  416. package/useCollator-C_ozeWLo.cjs +0 -1
  417. package/useCollator-CgZcHC8N.js +0 -11
  418. package/useDescription-CVKhFa3c.js +0 -32
  419. package/useDescription-DmQYSEES.cjs +0 -1
  420. package/useEvent-CjkbBniY.cjs +0 -1
  421. package/useField-B1RU0GKs.cjs +0 -1
  422. package/useFilter-CtIwF2qW.cjs +0 -1
  423. package/useFocusRing-BDGH3lpn.js +0 -82
  424. package/useFocusRing-CbImDrwF.cjs +0 -1
  425. package/useFocusable-CaedRTpB.js +0 -74
  426. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  427. package/useFormValidation-ClximP89.cjs +0 -1
  428. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  429. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  430. package/useHover-_mv5J4_q.cjs +0 -1
  431. package/useHover-qRAon4nS.js +0 -490
  432. package/useLabel-DDdAJ1JO.js +0 -23
  433. package/useLabel-m_S5xkHy.cjs +0 -1
  434. package/useLabels-BLOfc6Y-.cjs +0 -1
  435. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  436. package/useObserveElement-BzEr5D32.cjs +0 -1
  437. package/usePress-BFa6cT9o.cjs +0 -7
  438. package/useTextField-CtUDWsUl.cjs +0 -1
  439. package/utils-BNtZbAib.cjs +0 -1
  440. package/utils-HNTsIwux.js +0 -308
@@ -1,33 +1,33 @@
1
1
  import { jsx as be } from "react/jsx-runtime";
2
2
  import { c as Re } from "./clsx-OuTLNxxd.js";
3
- import { g as Be, d as ee, $ as qu, c as Yu, a as Se, h as Ju, i as Xu, j as Ee, b as Te, k as Ne, e as Qu } from "./utils-HNTsIwux.js";
4
- import { $ as et } from "./FieldError-CZikNDxX.js";
5
- import { $ as at } from "./Form-CXcEMuBf.js";
6
- import { a as je, $ as ut } from "./Group-CeSsSQVC.js";
7
- import { $ as Ie, a as tt } from "./Input-D8Ku_FQz.js";
8
- import { $ as rt } from "./Label-DkDOsmUF.js";
9
- import { a as nt } from "./Text-B_H68Tvq.js";
10
- import { c as ne, p as ae, x as it, y as dt, w as ot, b as lt, a as st, $ as Q, z as ct, q as mt, t as ft, A as Dt, B as $t, u as Oe } from "./useDateFormatter-C53Uxdli.js";
3
+ import { $ as Se, b as qu, c as Yu, d as Be, a as Te, e as Ne, f as Ju } from "./utils-DJhAJHk_.js";
4
+ import { $ as Xu } from "./FieldError-BbR-29BM.js";
5
+ import { $ as Qu } from "./Form-CXcEMuBf.js";
6
+ import { a as je, $ as et } from "./Group-CpkUzEAs.js";
7
+ import { $ as Ie, a as at } from "./Input-LnjmFI1x.js";
8
+ import { g as ut, h as tt, f as rt, c as nt } from "./Button-CFYdzG0H.js";
9
+ import { a as it } from "./Text-92cPh38G.js";
10
+ import { c as ne, p as ee, x as dt, y as ot, w as lt, b as st, a as ct, $ as Q, z as mt, q as ft, t as Dt, A as $t, B as pt, u as Oe } from "./useDateFormatter-BVCkxVdw.js";
11
+ import { d as Ee, a as ae, $ as bt, c as yt } from "./mergeProps-C1U1OIeJ.js";
11
12
  import { $ as ye } from "./filterDOMProps-D6KHYVBX.js";
12
- import O, { useRef as z, useEffect as le, useMemo as P, useState as $e, forwardRef as ue, createContext as xe, useContext as H, cloneElement as pt } from "react";
13
- import { $ as te } from "./context-B8cn10po.js";
14
- import { a as se, $ as bt } from "./LocalizedStringFormatter-D-4Qyql0.js";
15
- import { a as yt, b as xt, e as Ce, f as ht, $ as vt } from "./useFormValidation-R8hQIjWP.js";
16
- import { $ as gt } from "./useControlledState-u436Wbp1.js";
17
- import { b as ze, $ as Me } from "./FocusScope-DwIqdYpQ.js";
18
- import { b as Bt } from "./usePress-CUJ3pMOw.js";
19
- import { $ as Et } from "./useDescription-CVKhFa3c.js";
20
- import { a as Ct, $ as Ft } from "./useFocusRing-BDGH3lpn.js";
21
- import { $ as wt } from "./useField-BPMAlIbU.js";
22
- import { $ as _e, a as Pt } from "./useLocalizedStringFormatter-D07YB2e1.js";
23
- import { $ as kt } from "./useLabels-BZjoZA1Z.js";
24
- import { $ as At } from "./getScrollParent-Ru2U2LlM.js";
25
- import { b as Vt, y as Rt, u as St, $ as Tt } from "./useHover-qRAon4nS.js";
26
- import { $ as me } from "./useEvent-Cyd2ZL0c.js";
27
- import { b as Nt } from "./scrollIntoView-ClEACHUk.js";
28
- import { $ as jt } from "./NumberFormatter-DgOUVrge.js";
29
- import { $ as It } from "./useFilter-ChIbnALW.js";
30
- import { a as Ot, $ as zt } from "./LiveAnnouncer-B6177m92.js";
13
+ import O, { useRef as z, useEffect as le, useMemo as P, useState as $e, forwardRef as ue, createContext as xe, useContext as H, cloneElement as xt } from "react";
14
+ import { $ as te } from "./context-CGNJ3grH.js";
15
+ import { a as se, $ as ht } from "./LocalizedStringFormatter-D-4Qyql0.js";
16
+ import { a as vt, b as gt, c as Ce, f as Bt, $ as Et } from "./useFormValidation-BzzruZKm.js";
17
+ import { $ as Ct } from "./useControlledState-u436Wbp1.js";
18
+ import { b as ze, $ as Me } from "./FocusScope-D_hwN_TJ.js";
19
+ import { a as Ft } from "./usePress-DuR4pVsE.js";
20
+ import { a as wt, c as Pt } from "./scrollIntoView-BLnsPvFA.js";
21
+ import { $ as kt } from "./useFocusWithin-T1ifEM_s.js";
22
+ import { $ as At } from "./useField-BEBXv5Mh.js";
23
+ import { $ as _e, a as Vt } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
24
+ import { $ as Rt } from "./useLabels-LrKQiY11.js";
25
+ import { $ as St } from "./getScrollParent-CT_L9LUr.js";
26
+ import { l as Tt, h as Nt, $ as jt } from "./useHover-DQvJ3Y-W.js";
27
+ import { $ as me } from "./useEvent-CigwyJOw.js";
28
+ import { $ as It } from "./useFilter-CousKe2K.js";
29
+ import { $ as Ot } from "./utils-CoCR_Fce.js";
30
+ import { $ as zt } from "./useFocusRing-DOfBqnUN.js";
31
31
  import './assets/DateInputDivider.css';const Mt = new RegExp("^.*\\(.*\\).*$"), _t = [
32
32
  "latn",
33
33
  "arab",
@@ -96,7 +96,7 @@ class Ut {
96
96
  minimumFractionDigits: Math.min(((r = this.options.minimumFractionDigits) !== null && r !== void 0 ? r : 0) + 2, 20),
97
97
  maximumFractionDigits: Math.min(((i = this.options.maximumFractionDigits) !== null && i !== void 0 ? i : 0) + 2, 20)
98
98
  };
99
- return new Ue(this.locale, o).parse(new jt(this.locale, o).format(t));
99
+ return new Ue(this.locale, o).parse(new ut(this.locale, o).format(t));
100
100
  }
101
101
  return this.options.currencySign === "accounting" && Mt.test(a) && (t = -1 * t), t;
102
102
  }
@@ -395,22 +395,22 @@ function Gt(e) {
395
395
  S.current = !1;
396
396
  }, T = t === "" ? y.format("Empty") : (t || `${u}`).replace("-", "−");
397
397
  le(() => {
398
- S.current && (Ot("assertive"), zt(T, "assertive"));
398
+ S.current && (tt("assertive"), rt(T, "assertive"));
399
399
  }, [
400
400
  T
401
401
  ]);
402
- const I = Be((p) => {
402
+ const I = Ee((p) => {
403
403
  x(), c == null || c(), a.current = window.setTimeout(() => {
404
404
  (i === void 0 || isNaN(i) || u === void 0 || isNaN(u) || u < i) && I(60);
405
405
  }, p);
406
- }), N = Be((p) => {
406
+ }), N = Ee((p) => {
407
407
  x(), s == null || s(), a.current = window.setTimeout(() => {
408
408
  (r === void 0 || isNaN(r) || u === void 0 || isNaN(u) || u > r) && N(60);
409
409
  }, p);
410
410
  });
411
411
  let k = (p) => {
412
412
  p.preventDefault();
413
- }, { addGlobalListener: M, removeAllGlobalListeners: $ } = Vt();
413
+ }, { addGlobalListener: M, removeAllGlobalListeners: $ } = Ot();
414
414
  return {
415
415
  spinButtonProps: {
416
416
  role: "spinbutton",
@@ -1171,7 +1171,7 @@ function Wt(e, a, u) {
1171
1171
  else break;
1172
1172
  }
1173
1173
  c && c.focus();
1174
- }, { pressProps: f } = Bt({
1174
+ }, { pressProps: f } = Ft({
1175
1175
  preventFocusOnPress: !0,
1176
1176
  allowTextSelectionOnPress: !0,
1177
1177
  onPressStart(n) {
@@ -1181,7 +1181,7 @@ function Wt(e, a, u) {
1181
1181
  (n.pointerType === "touch" || n.pointerType === "pen") && o();
1182
1182
  }
1183
1183
  });
1184
- return ee(f, {
1184
+ return ae(f, {
1185
1185
  onKeyDown: i
1186
1186
  });
1187
1187
  }
@@ -1201,12 +1201,12 @@ function Ht(e) {
1201
1201
  const ru = /* @__PURE__ */ new WeakMap(), De = "__role_" + Date.now(), qt = "__focusManager_" + Date.now();
1202
1202
  function nu(e, a, u) {
1203
1203
  var t;
1204
- let { isInvalid: r, validationErrors: i, validationDetails: o } = a.displayValidation, { labelProps: f, fieldProps: n, descriptionProps: c, errorMessageProps: l } = wt({
1204
+ let { isInvalid: r, validationErrors: i, validationDetails: o } = a.displayValidation, { labelProps: f, fieldProps: n, descriptionProps: c, errorMessageProps: l } = At({
1205
1205
  ...e,
1206
1206
  labelElementType: "span",
1207
1207
  isInvalid: r,
1208
1208
  errorMessage: e.errorMessage || i
1209
- }), s = z(null), { focusWithinProps: D } = Ct({
1209
+ }), s = z(null), { focusWithinProps: D } = kt({
1210
1210
  ...e,
1211
1211
  onFocusWithin($) {
1212
1212
  var p;
@@ -1221,7 +1221,7 @@ function nu(e, a, u) {
1221
1221
  [y]: a.formatValue({
1222
1222
  month: "long"
1223
1223
  })
1224
- }) : "", A = Et(x), S = e[De] === "presentation" ? n["aria-describedby"] : [
1224
+ }) : "", A = wt(x), S = e[De] === "presentation" ? n["aria-describedby"] : [
1225
1225
  A["aria-describedby"],
1226
1226
  n["aria-describedby"]
1227
1227
  ].filter(Boolean).join(" ") || void 0, C = e[qt], E = P(() => C || ze(u), [
@@ -1240,7 +1240,7 @@ function nu(e, a, u) {
1240
1240
  let I = z(e.autoFocus), N;
1241
1241
  e[De] === "presentation" ? N = {
1242
1242
  role: "presentation"
1243
- } : N = ee(n, {
1243
+ } : N = ae(n, {
1244
1244
  role: "group",
1245
1245
  "aria-disabled": e.isDisabled || void 0,
1246
1246
  "aria-describedby": S
@@ -1248,7 +1248,7 @@ function nu(e, a, u) {
1248
1248
  I.current && E.focusFirst(), I.current = !1;
1249
1249
  }, [
1250
1250
  E
1251
- ]), yt(e.inputRef, a.value, a.setValue), xt({
1251
+ ]), vt(e.inputRef, a.value, a.setValue), gt({
1252
1252
  ...e,
1253
1253
  focus() {
1254
1254
  E.focusFirst();
@@ -1270,7 +1270,7 @@ function nu(e, a, u) {
1270
1270
  E.focusFirst();
1271
1271
  }
1272
1272
  },
1273
- fieldProps: ee(M, N, T, D, {
1273
+ fieldProps: ae(M, N, T, D, {
1274
1274
  onKeyDown($) {
1275
1275
  e.onKeyDown && e.onKeyDown($);
1276
1276
  },
@@ -1293,7 +1293,7 @@ function Yt(e) {
1293
1293
  return e && e.__esModule ? e.default : e;
1294
1294
  }
1295
1295
  function Jt() {
1296
- let { locale: e } = te(), a = Pt(Yt(he), "@react-aria/datepicker");
1296
+ let { locale: e } = te(), a = Vt(Yt(he), "@react-aria/datepicker");
1297
1297
  return P(() => {
1298
1298
  try {
1299
1299
  return new Intl.DisplayNames(e, {
@@ -1369,7 +1369,7 @@ function Qt(e, a, u) {
1369
1369
  d = h === 0 ? "" : d, d.length === 0 || h === 0 ? a.clearSegment(e.type) : a.setSegment(e.type, h), t.current = d;
1370
1370
  } else e.type === "dayPeriod" && a.clearSegment(e.type);
1371
1371
  }, S = (d) => {
1372
- if (d.key === "a" && (St() ? d.metaKey : d.ctrlKey) && d.preventDefault(), !(d.ctrlKey || d.metaKey || d.shiftKey || d.altKey))
1372
+ if (d.key === "a" && (Nt() ? d.metaKey : d.ctrlKey) && d.preventDefault(), !(d.ctrlKey || d.metaKey || d.shiftKey || d.altKey))
1373
1373
  switch (d.key) {
1374
1374
  case "Backspace":
1375
1375
  case "Delete":
@@ -1397,7 +1397,7 @@ function Qt(e, a, u) {
1397
1397
  timeZone: "UTC"
1398
1398
  }), k = P(() => {
1399
1399
  if (e.type !== "era") return [];
1400
- let d = ae(new it(1, 1, 1), a.calendar), h = a.calendar.getEras().map((R) => {
1400
+ let d = ee(new dt(1, 1, 1), a.calendar), h = a.calendar.getEras().map((R) => {
1401
1401
  let L = d.set({
1402
1402
  year: 1,
1403
1403
  month: 1,
@@ -1456,8 +1456,8 @@ function Qt(e, a, u) {
1456
1456
  }
1457
1457
  }
1458
1458
  }, $ = () => {
1459
- t.current = "", u.current && Nt(u.current, {
1460
- containingElement: At(u.current)
1459
+ t.current = "", u.current && Pt(u.current, {
1460
+ containingElement: St(u.current)
1461
1461
  });
1462
1462
  let d = window.getSelection();
1463
1463
  d == null || d.collapse(u.current);
@@ -1489,7 +1489,7 @@ function Qt(e, a, u) {
1489
1489
  u.current && (u.current.textContent = V.current), B != null && (C(T, B) || C(I, B)) && M(B);
1490
1490
  break;
1491
1491
  }
1492
- }), qu(() => {
1492
+ }), bt(() => {
1493
1493
  let d = u.current;
1494
1494
  return () => {
1495
1495
  document.activeElement === d && (l.focusPrevious() || l.focusNext());
@@ -1498,7 +1498,7 @@ function Qt(e, a, u) {
1498
1498
  u,
1499
1499
  l
1500
1500
  ]);
1501
- let b = Rt() || e.type === "timeZoneName" ? {
1501
+ let b = Tt() || e.type === "timeZoneName" ? {
1502
1502
  role: "textbox",
1503
1503
  "aria-valuemax": null,
1504
1504
  "aria-valuemin": null,
@@ -1508,7 +1508,7 @@ function Qt(e, a, u) {
1508
1508
  a.segments
1509
1509
  ]);
1510
1510
  e !== _ && !a.isInvalid && (c = void 0);
1511
- let q = Yu(), U = !a.isDisabled && !a.isReadOnly && e.isEditable, F = e.type === "literal" ? "" : o.of(e.type), Z = kt({
1511
+ let q = yt(), U = !a.isDisabled && !a.isReadOnly && e.isEditable, F = e.type === "literal" ? "" : o.of(e.type), Z = Rt({
1512
1512
  "aria-label": `${F}${f ? `, ${f}` : ""}${n ? ", " : ""}`,
1513
1513
  "aria-labelledby": n
1514
1514
  });
@@ -1526,7 +1526,7 @@ function Qt(e, a, u) {
1526
1526
  (d === "numeric" || d === "2-digit") && (K.direction = "ltr");
1527
1527
  }
1528
1528
  return {
1529
- segmentProps: ee(y, Z, {
1529
+ segmentProps: ae(y, Z, {
1530
1530
  id: q,
1531
1531
  ...b,
1532
1532
  "aria-invalid": a.isInvalid ? "true" : void 0,
@@ -1846,7 +1846,7 @@ function Uu() {
1846
1846
  function pe(e, a, u, t, r) {
1847
1847
  let i = e != null && u != null && e.compare(u) > 0, o = e != null && a != null && e.compare(a) < 0, f = e != null && (t == null ? void 0 : t(e)) || !1, n = i || o || f, c = [];
1848
1848
  if (n) {
1849
- let l = Uu(), s = se.getGlobalDictionaryForPackage("@react-stately/datepicker") || _u, D = new bt(l, s), g = new Q(l, de({}, r)), v = g.resolvedOptions().timeZone;
1849
+ let l = Uu(), s = se.getGlobalDictionaryForPackage("@react-stately/datepicker") || _u, D = new ht(l, s), g = new Q(l, de({}, r)), v = g.resolvedOptions().timeZone;
1850
1850
  o && a != null && c.push(D.format("rangeUnderflow", {
1851
1851
  minValue: g.format(a.toDate(v))
1852
1852
  })), i && u != null && c.push(D.format("rangeOverflow", {
@@ -1884,7 +1884,7 @@ function Wr(e, a, u, t, r) {
1884
1884
  l.getStringForLocale("rangeReversed", Uu())
1885
1885
  ],
1886
1886
  validationDetails: {
1887
- ...ht,
1887
+ ...Bt,
1888
1888
  rangeUnderflow: !0,
1889
1889
  rangeOverflow: !0,
1890
1890
  valid: !1
@@ -1923,22 +1923,22 @@ function de(e, a) {
1923
1923
  return a.hourCycle != null && (n.hour12 = a.hourCycle === 12), n.timeZone = a.timeZone || "UTC", (t === "hour" || t === "minute" || t === "second") && a.timeZone && !a.hideTimeZone && (n.timeZoneName = "short"), a.showEra && o === 0 && (n.era = "short"), n;
1924
1924
  }
1925
1925
  function Hr(e) {
1926
- return e && "hour" in e ? e : new ct();
1926
+ return e && "hour" in e ? e : new mt();
1927
1927
  }
1928
1928
  function Zu(e, a) {
1929
1929
  if (e === null) return null;
1930
1930
  if (e)
1931
- return ae(e, a);
1931
+ return ee(e, a);
1932
1932
  }
1933
1933
  function X(e, a, u, t) {
1934
1934
  if (e) return Zu(e, u);
1935
- let r = ae(dt(t ?? ot()).set({
1935
+ let r = ee(ot(t ?? lt()).set({
1936
1936
  hour: 0,
1937
1937
  minute: 0,
1938
1938
  second: 0,
1939
1939
  millisecond: 0
1940
1940
  }), u);
1941
- return a === "year" || a === "month" || a === "day" ? lt(r) : t ? r : st(r);
1941
+ return a === "year" || a === "month" || a === "day" ? st(r) : t ? r : ct(r);
1942
1942
  }
1943
1943
  function rr(e, a) {
1944
1944
  let u = e && "timeZone" in e ? e.timeZone : void 0, t = e && "minute" in e ? "minute" : "day";
@@ -2371,7 +2371,7 @@ function Lu(e) {
2371
2371
  v
2372
2372
  ]);
2373
2373
  var x;
2374
- let [A, S] = gt(e.value, (x = e.defaultValue) !== null && x !== void 0 ? x : null, e.onChange), C = P(() => {
2374
+ let [A, S] = Ct(e.value, (x = e.defaultValue) !== null && x !== void 0 ? x : null, e.onChange), C = P(() => {
2375
2375
  var m;
2376
2376
  return (m = Zu(A, y)) !== null && m !== void 0 ? m : null;
2377
2377
  }, [
@@ -2409,7 +2409,7 @@ function Lu(e) {
2409
2409
  ...V
2410
2410
  } : {}), q = z(null), U = z(y);
2411
2411
  le(() => {
2412
- mt(y, U.current) || (U.current = y, T((m) => Object.keys(b).length > 0 ? ae(m, y) : X(e.placeholderValue, s, y, D)));
2412
+ ft(y, U.current) || (U.current = y, T((m) => Object.keys(b).length > 0 ? ee(m, y) : X(e.placeholderValue, s, y, D)));
2413
2413
  }, [
2414
2414
  y,
2415
2415
  s,
@@ -2422,7 +2422,7 @@ function Lu(e) {
2422
2422
  let F = C && Object.keys(b).length >= Object.keys(V).length ? C : E, Z = (m) => {
2423
2423
  if (e.isDisabled || e.isReadOnly) return;
2424
2424
  let w = Object.keys(b), j = Object.keys(V);
2425
- m == null ? (S(null), T(X(e.placeholderValue, s, y, D)), _({})) : w.length >= j.length || w.length === j.length - 1 && V.dayPeriod && !b.dayPeriod && q.current !== "dayPeriod" ? (m = ae(m, (l == null ? void 0 : l.calendar) || new ft()), S(m)) : T(m), q.current = null;
2425
+ m == null ? (S(null), T(X(e.placeholderValue, s, y, D)), _({})) : w.length >= j.length || w.length === j.length - 1 && V.dayPeriod && !b.dayPeriod && q.current !== "dayPeriod" ? (m = ee(m, (l == null ? void 0 : l.calendar) || new Dt()), S(m)) : T(m), q.current = null;
2426
2426
  }, K = P(() => F.toDate(g), [
2427
2427
  F,
2428
2428
  g
@@ -2459,7 +2459,7 @@ function Lu(e) {
2459
2459
  n,
2460
2460
  c,
2461
2461
  k
2462
- ]), L = vt({
2462
+ ]), L = Et({
2463
2463
  ...e,
2464
2464
  value: A,
2465
2465
  builtinValidation: R
@@ -2596,13 +2596,13 @@ function ie(e, a, u) {
2596
2596
  case "month":
2597
2597
  return {
2598
2598
  value: e.month,
2599
- minValue: $t(e),
2599
+ minValue: pt(e),
2600
2600
  maxValue: e.calendar.getMonthsInYear(e)
2601
2601
  };
2602
2602
  case "day":
2603
2603
  return {
2604
2604
  value: e.day,
2605
- minValue: Dt(e),
2605
+ minValue: $t(e),
2606
2606
  maxValue: e.calendar.getDaysInMonth(e)
2607
2607
  };
2608
2608
  }
@@ -2701,20 +2701,20 @@ function lr(e, a, u, t) {
2701
2701
  }
2702
2702
  const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__PURE__ */ xe(null), qr = /* @__PURE__ */ ue(function(a, u) {
2703
2703
  [a, u] = Se(a, u, Gu);
2704
- let { validationBehavior: t } = Ju(at) || {};
2704
+ let { validationBehavior: t } = qu(Qu) || {};
2705
2705
  var r, i;
2706
2706
  let o = (i = (r = a.validationBehavior) !== null && r !== void 0 ? r : t) !== null && i !== void 0 ? i : "native", { locale: f } = te(), n = Lu({
2707
2707
  ...a,
2708
2708
  locale: f,
2709
2709
  createCalendar: Oe,
2710
2710
  validationBehavior: o
2711
- }), c = z(null), [l, s] = Xu(!a["aria-label"] && !a["aria-labelledby"]), D = z(null), { labelProps: g, fieldProps: v, inputProps: y, descriptionProps: x, errorMessageProps: A, ...S } = nu({
2712
- ...Ee(a),
2711
+ }), c = z(null), [l, s] = Yu(!a["aria-label"] && !a["aria-labelledby"]), D = z(null), { labelProps: g, fieldProps: v, inputProps: y, descriptionProps: x, errorMessageProps: A, ...S } = nu({
2712
+ ...Be(a),
2713
2713
  label: s,
2714
2714
  inputRef: D,
2715
2715
  validationBehavior: o
2716
2716
  }, n, c), C = Te({
2717
- ...Ee(a),
2717
+ ...Be(a),
2718
2718
  values: {
2719
2719
  state: n,
2720
2720
  isInvalid: n.isInvalid,
@@ -2745,7 +2745,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2745
2745
  }
2746
2746
  ],
2747
2747
  [
2748
- rt,
2748
+ nt,
2749
2749
  {
2750
2750
  ...g,
2751
2751
  ref: l,
@@ -2753,7 +2753,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2753
2753
  }
2754
2754
  ],
2755
2755
  [
2756
- nt,
2756
+ it,
2757
2757
  {
2758
2758
  slots: {
2759
2759
  description: x,
@@ -2762,7 +2762,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2762
2762
  }
2763
2763
  ],
2764
2764
  [
2765
- et,
2765
+ Xu,
2766
2766
  S
2767
2767
  ]
2768
2768
  ]
@@ -2820,18 +2820,18 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2820
2820
  }, /* @__PURE__ */ O.createElement(Wu, e));
2821
2821
  }), Wu = /* @__PURE__ */ ue((e, a) => {
2822
2822
  let { className: u, children: t } = e, r = H(re), i = H(ve), o = r ?? i;
2823
- return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement(ut, {
2823
+ return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement(et, {
2824
2824
  ...e,
2825
2825
  ref: a,
2826
2826
  slot: e.slot || void 0,
2827
2827
  className: u ?? "react-aria-DateInput",
2828
2828
  isInvalid: o.isInvalid,
2829
2829
  isDisabled: o.isDisabled
2830
- }, o.segments.map((f, n) => /* @__PURE__ */ pt(t(f), {
2830
+ }, o.segments.map((f, n) => /* @__PURE__ */ xt(t(f), {
2831
2831
  key: n
2832
- }))), /* @__PURE__ */ O.createElement(tt, null));
2832
+ }))), /* @__PURE__ */ O.createElement(at, null));
2833
2833
  }), mr = /* @__PURE__ */ ue(function({ segment: a, ...u }, t) {
2834
- let r = H(re), i = H(ve), o = r ?? i, f = Qu(t), { segmentProps: n } = Qt(a, o, f), { focusProps: c, isFocused: l, isFocusVisible: s } = Ft(), { hoverProps: D, isHovered: g } = Tt({
2834
+ let r = H(re), i = H(ve), o = r ?? i, f = Ju(t), { segmentProps: n } = Qt(a, o, f), { focusProps: c, isFocused: l, isFocusVisible: s } = zt(), { hoverProps: D, isHovered: g } = jt({
2835
2835
  ...u,
2836
2836
  isDisabled: o.isDisabled || a.type === "literal"
2837
2837
  }), { isEditable: v, ...y } = a, x = Te({
@@ -2849,7 +2849,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2849
2849
  defaultClassName: "react-aria-DateSegment"
2850
2850
  });
2851
2851
  return /* @__PURE__ */ O.createElement("span", {
2852
- ...ee(ye(u), n, c, D),
2852
+ ...ae(ye(u), n, c, D),
2853
2853
  ...x,
2854
2854
  style: n.style,
2855
2855
  ref: f,
@@ -0,0 +1,6 @@
1
+ "use strict";require('./assets/DateRangePicker.css');const $=require("react/jsx-runtime"),s=require("react"),J=require("./clsx-C11secjj.cjs"),ee=require("./RangeCalendar-C1LFeOVk.cjs"),f=require("./DateInputDivider-3BvwXXa9.cjs"),Q=require("./FieldError-bRTpchvr.cjs"),Y=require("./Label-CNmTN1YY.cjs"),$e=require("./Text-DBHWi5gA.cjs"),A=require("./Button-DExMoP5f.cjs"),S=require("./utils-DHNZrQmj.cjs"),N=require("./Dialog-CSnN6baf.cjs"),ve=require("./FieldError-MVsU-Mgw.cjs"),me=require("./Form-BuOomA4T.cjs"),ae=require("./Group-DOpbdoAi.cjs"),oe=require("./Text-CfcjRtke.cjs"),te=require("./filterDOMProps-BS2lrgFA.cjs"),le=require("./OverlayArrow-DpZ1FqOd.cjs"),E=require("./useDateFormatter-BJBt0jk_.cjs"),L=require("./useFormValidation-BlFGdPZB.cjs"),xe=require("./useControlledState-D0L6S_5r.cjs"),he=require("./FocusScope-vcXLOQiu.cjs"),z=require("./mergeProps-B5KXZAI3.cjs"),ge=require("./scrollIntoView-joIyo-Jt.cjs"),ye=require("./useFocusWithin-CG8mAt2D.cjs"),Pe=require("./useField-D1UkzeaI.cjs"),De=require("./context-Df3XbgBG.cjs"),Ve=require("./useLocalizedStringFormatter-BiX5BTlb.cjs"),pe=require("./useFocusRing-B-A1OLhU.cjs"),Te=require("./createLucideIcon-Cg_wkoIA.cjs");function Ie(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const c=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,c.get?c:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const se=Ie(s);function Me(e){return e&&e.__esModule?e.default:e}function je(e,a,l){let c=z.$bdb11010cef70236$export$f680877a34711e37(),b=z.$bdb11010cef70236$export$f680877a34711e37(),v=z.$bdb11010cef70236$export$f680877a34711e37(),u=Ve.$fca6afa0e843324b$export$f12b703ca79dfbb1(Me(f.$dfb4eba373ed9493$exports),"@react-aria/datepicker"),{isInvalid:i,validationErrors:t,validationDetails:F}=a.displayValidation,{labelProps:k,fieldProps:m,descriptionProps:B,errorMessageProps:R}=Pe.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||t}),C=f.$3dfb0f96be0d6a08$export$4a931266a3838b86(a,l),O=m["aria-labelledby"]||m.id,{locale:x}=De.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),T=a.formatValue(x,{month:"long"}),d=T?u.format("selectedDateDescription",{date:T}):"",I=ge.$ef06256079686ba0$export$f8aeda7b10753fa1(d),M=[I["aria-describedby"],m["aria-describedby"]].filter(Boolean).join(" ")||void 0,D=te.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),j=s.useMemo(()=>he.$9bf71ea28793e738$export$c5251b9e124bf29(l),[l]),Z=s.useRef(!1),{focusWithinProps:p}=ye.$9ab94262bd0047c7$export$420e68273165f4ec({...e,isDisabled:a.isOpen,onBlurWithin:P=>{let V=document.getElementById(b);if(!(V!=null&&V.contains(P.relatedTarget))){var o,y;Z.current=!1,(o=e.onBlur)===null||o===void 0||o.call(e,P),(y=e.onFocusChange)===null||y===void 0||y.call(e,!1)}},onFocusWithin:P=>{if(!Z.current){var V,o;Z.current=!0,(V=e.onFocus)===null||V===void 0||V.call(e,P),(o=e.onFocusChange)===null||o===void 0||o.call(e,!0)}}});return{groupProps:z.$3ef42575df84b30b$export$9d1611c77c2fe928(D,C,m,I,p,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":O,"aria-describedby":M,onKeyDown(P){a.isOpen||e.onKeyDown&&e.onKeyDown(P)},onKeyUp(P){a.isOpen||e.onKeyUp&&e.onKeyUp(P)}}),labelProps:{...k,onClick:()=>{j.focusFirst()}},fieldProps:{...m,id:v,[f.$16f0b7bb276bc17e$export$300019f83c56d282]:"presentation","aria-describedby":M,value:a.value,onChange:a.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[L.$e5be200c675c3b3a$export$a763b9476acd3eb]:a,autoFocus:e.autoFocus,name:e.name},descriptionProps:B,errorMessageProps:R,buttonProps:{...I,id:c,"aria-haspopup":"dialog","aria-label":u.format("calendar"),"aria-labelledby":`${c} ${O}`,"aria-describedby":M,"aria-expanded":a.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>a.setOpen(!0)},dialogProps:{id:b,"aria-labelledby":`${c} ${O}`},calendarProps:{autoFocus:!0,value:a.dateValue,onChange:a.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:a.dateValue?void 0:e.placeholderValue,isInvalid:a.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(a.displayValidation):e.errorMessage||a.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:t,validationDetails:F}}function Ze(e){return e&&e.__esModule?e.default:e}function ke(e,a,l){var c,b,v;let u=Ve.$fca6afa0e843324b$export$f12b703ca79dfbb1(Ze(f.$dfb4eba373ed9493$exports),"@react-aria/datepicker"),{isInvalid:i,validationErrors:t,validationDetails:F}=a.displayValidation,{labelProps:k,fieldProps:m,descriptionProps:B,errorMessageProps:R}=Pe.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||t}),C=m["aria-labelledby"]||m.id,{locale:O}=De.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),x=a.formatValue(O,{month:"long"}),T=x?u.format("selectedRangeDescription",{startDate:x.start,endDate:x.end}):"",d=ge.$ef06256079686ba0$export$f8aeda7b10753fa1(T),I={"aria-label":u.format("startDate"),"aria-labelledby":C},M={"aria-label":u.format("endDate"),"aria-labelledby":C},D=z.$bdb11010cef70236$export$f680877a34711e37(),j=z.$bdb11010cef70236$export$f680877a34711e37(),Z=f.$3dfb0f96be0d6a08$export$4a931266a3838b86(a,l),p=[d["aria-describedby"],m["aria-describedby"]].filter(Boolean).join(" ")||void 0,P=s.useMemo(()=>he.$9bf71ea28793e738$export$c5251b9e124bf29(l,{accept:n=>n.id!==D}),[l,D]),V={[f.$16f0b7bb276bc17e$export$7b3062cd49e80452]:P,[f.$16f0b7bb276bc17e$export$300019f83c56d282]:"presentation","aria-describedby":p,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},o=te.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),y=s.useRef(!1),{focusWithinProps:_}=ye.$9ab94262bd0047c7$export$420e68273165f4ec({...e,isDisabled:a.isOpen,onBlurWithin:n=>{let g=document.getElementById(j);if(!(g!=null&&g.contains(n.relatedTarget))){var w,X;y.current=!1,(w=e.onBlur)===null||w===void 0||w.call(e,n),(X=e.onFocusChange)===null||X===void 0||X.call(e,!1)}},onFocusWithin:n=>{if(!y.current){var g,w;y.current=!0,(g=e.onFocus)===null||g===void 0||g.call(e,n),(w=e.onFocusChange)===null||w===void 0||w.call(e,!0)}}}),W=s.useRef(L.$e5be200c675c3b3a$export$dad6ae84456c676a),H=s.useRef(L.$e5be200c675c3b3a$export$dad6ae84456c676a);var r,h;return{groupProps:z.$3ef42575df84b30b$export$9d1611c77c2fe928(o,Z,m,d,_,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":p,onKeyDown(n){a.isOpen||e.onKeyDown&&e.onKeyDown(n)},onKeyUp(n){a.isOpen||e.onKeyUp&&e.onKeyUp(n)}}),labelProps:{...k,onClick:()=>{P.focusFirst()}},buttonProps:{...d,id:D,"aria-haspopup":"dialog","aria-label":u.format("calendar"),"aria-labelledby":`${D} ${C}`,"aria-describedby":p,"aria-expanded":a.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>a.setOpen(!0)},dialogProps:{id:j,"aria-labelledby":`${D} ${C}`},startFieldProps:{...I,...V,value:(r=(c=a.value)===null||c===void 0?void 0:c.start)!==null&&r!==void 0?r:null,onChange:n=>a.setDateTime("start",n),autoFocus:e.autoFocus,name:e.startName,[L.$e5be200c675c3b3a$export$a763b9476acd3eb]:{realtimeValidation:a.realtimeValidation,displayValidation:a.displayValidation,updateValidation(n){W.current=n,a.updateValidation(L.$e5be200c675c3b3a$export$75ee7c75d68f5b0e(n,H.current))},resetValidation:a.resetValidation,commitValidation:a.commitValidation}},endFieldProps:{...M,...V,value:(h=(b=a.value)===null||b===void 0?void 0:b.end)!==null&&h!==void 0?h:null,onChange:n=>a.setDateTime("end",n),name:e.endName,[L.$e5be200c675c3b3a$export$a763b9476acd3eb]:{realtimeValidation:a.realtimeValidation,displayValidation:a.displayValidation,updateValidation(n){H.current=n,a.updateValidation(L.$e5be200c675c3b3a$export$75ee7c75d68f5b0e(W.current,n))},resetValidation:a.resetValidation,commitValidation:a.commitValidation}},descriptionProps:B,errorMessageProps:R,calendarProps:{autoFocus:!0,value:!((v=a.dateRange)===null||v===void 0)&&v.start&&a.dateRange.end?a.dateRange:null,onChange:a.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:a.dateRange?void 0:e.placeholderValue,isInvalid:a.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(a.displayValidation):e.errorMessage||a.displayValidation.validationErrors.join(" ")},isInvalid:i,validationErrors:t,validationDetails:F}}function Be(e){let a=le.$fc909762b330b746$export$61c6a8c84e605fb6(e),[l,c]=xe.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||null,e.onChange),b=l||e.placeholderValue||null,[v,u]=f.$35a22f14a1f04b11$export$2440da353cedad43(b,e.granularity),i=l!=null?l.toDate(u??"UTC"):null,t=v==="hour"||v==="minute"||v==="second";var F;let k=(F=e.shouldCloseOnSelect)!==null&&F!==void 0?F:!0,[m,B]=s.useState(null),[R,C]=s.useState(null);if(l&&(m=l,"hour"in l&&(R=l)),b&&!(v in b))throw new Error("Invalid granularity "+v+" for value "+b.toString());let O=(l==null?void 0:l.calendar.identifier)==="gregory"&&l.era==="BC",x=s.useMemo(()=>({granularity:v,timeZone:u,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:O}),[v,e.hourCycle,e.shouldForceLeadingZeros,u,e.hideTimeZone,O]),{minValue:T,maxValue:d,isDateUnavailable:I}=e,M=s.useMemo(()=>f.$35a22f14a1f04b11$export$f18627323ab57ac0(l,T,d,I,x),[l,T,d,I,x]),D=L.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:l,builtinValidation:M}),j=D.displayValidation.isInvalid,Z=e.validationState||(j?"invalid":null),p=(o,y)=>{c("timeZone"in y?y.set(E.$11d87f3f76e88657$export$93522d1a439f3617(o)):E.$11d87f3f76e88657$export$b21e0b124e224484(o,y)),B(null),C(null),D.commitValidation()};return{...D,value:l,setValue:c,dateValue:m,timeValue:R,setDateValue:o=>{let y=typeof k=="function"?k():k;t?R||y?p(o,R||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.defaultValue||e.placeholderValue)):B(o):(c(o),D.commitValidation()),y&&a.setOpen(!1)},setTimeValue:o=>{m&&o?p(m,o):C(o)},granularity:v,hasTime:t,...a,setOpen(o){!o&&!l&&m&&t&&p(m,R||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.defaultValue||e.placeholderValue)),a.setOpen(o)},validationState:Z,isInvalid:j,formatValue(o,y){if(!i)return"";let _=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(y,x);return new E.$fb18d541ea1ad717$export$ad991b66133851cf(o,_).format(i)},getDateFormatter(o,y){let _={...x,...y},W=f.$35a22f14a1f04b11$export$7e319ea407e63bc0({},_);return new E.$fb18d541ea1ad717$export$ad991b66133851cf(o,W)}}}function Se(e){var a,l;let c=le.$fc909762b330b746$export$61c6a8c84e605fb6(e),[b,v]=xe.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||null,e.onChange),[u,i]=s.useState(()=>b||{start:null,end:null});b==null&&u.start&&u.end&&(u={start:null,end:null},i(u));let t=b||u,F=r=>{i(r||{start:null,end:null}),K(r)?v(r):v(null)},k=(t==null?void 0:t.start)||(t==null?void 0:t.end)||e.placeholderValue||null,[m,B]=f.$35a22f14a1f04b11$export$2440da353cedad43(k,e.granularity),R=m==="hour"||m==="minute"||m==="second";var C;let O=(C=e.shouldCloseOnSelect)!==null&&C!==void 0?C:!0,[x,T]=s.useState(null),[d,I]=s.useState(null);t&&K(t)&&(x=t,"hour"in t.start&&(d=t));let M=(r,h)=>{F({start:"timeZone"in h.start?h.start.set(E.$11d87f3f76e88657$export$93522d1a439f3617(r.start)):E.$11d87f3f76e88657$export$b21e0b124e224484(r.start,h.start),end:"timeZone"in h.end?h.end.set(E.$11d87f3f76e88657$export$93522d1a439f3617(r.end)):E.$11d87f3f76e88657$export$b21e0b124e224484(r.end,h.end)}),T(null),I(null),_.commitValidation()},D=r=>{let h=typeof O=="function"?O():O;R?K(r)&&(h||d!=null&&d.start&&(d!=null&&d.end))?M(r,{start:(d==null?void 0:d.start)||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue),end:(d==null?void 0:d.end)||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)}):T(r):K(r)?(F(r),_.commitValidation()):T(r),h&&c.setOpen(!1)},j=r=>{K(x)&&K(r)?M(x,r):I(r)},Z=(t==null||(a=t.start)===null||a===void 0?void 0:a.calendar.identifier)==="gregory"&&t.start.era==="BC"||(t==null||(l=t.end)===null||l===void 0?void 0:l.calendar.identifier)==="gregory"&&t.end.era==="BC",p=s.useMemo(()=>({granularity:m,timeZone:B,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:Z}),[m,e.hourCycle,e.shouldForceLeadingZeros,B,e.hideTimeZone,Z]),{minValue:P,maxValue:V,isDateUnavailable:o}=e,y=s.useMemo(()=>f.$35a22f14a1f04b11$export$80ff8fc0ae339c13(t,P,V,o,p),[t,P,V,o,p]),_=L.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:b,name:s.useMemo(()=>[e.startName,e.endName].filter(r=>r!=null),[e.startName,e.endName]),builtinValidation:y}),W=_.displayValidation.isInvalid,H=e.validationState||(W?"invalid":null);return{..._,value:t,setValue:F,dateRange:x,timeRange:d,granularity:m,hasTime:R,setDate(r,h){var n,g;D(r==="start"?{start:h,end:(n=x==null?void 0:x.end)!==null&&n!==void 0?n:null}:{start:(g=x==null?void 0:x.start)!==null&&g!==void 0?g:null,end:h})},setTime(r,h){var n,g;j(r==="start"?{start:h,end:(n=d==null?void 0:d.end)!==null&&n!==void 0?n:null}:{start:(g=d==null?void 0:d.start)!==null&&g!==void 0?g:null,end:h})},setDateTime(r,h){var n,g;F(r==="start"?{start:h,end:(n=t==null?void 0:t.end)!==null&&n!==void 0?n:null}:{start:(g=t==null?void 0:t.start)!==null&&g!==void 0?g:null,end:h})},setDateRange:D,setTimeRange:j,...c,setOpen(r){!r&&!(t!=null&&t.start&&(t!=null&&t.end))&&K(x)&&R&&M(x,{start:(d==null?void 0:d.start)||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue),end:(d==null?void 0:d.end)||f.$35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)}),c.setOpen(r)},validationState:H,isInvalid:W,formatValue(r,h){if(!t||!t.start||!t.end)return null;let n="timeZone"in t.start?t.start.timeZone:void 0,g=e.granularity||(t.start&&"minute"in t.start?"minute":"day"),w="timeZone"in t.end?t.end.timeZone:void 0,X=e.granularity||(t.end&&"minute"in t.end?"minute":"day"),Oe=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(h,{granularity:g,timeZone:n,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:t.start.calendar.identifier==="gregory"&&t.start.era==="BC"||t.end.calendar.identifier==="gregory"&&t.end.era==="BC"}),ce=t.start.toDate(n||"UTC"),ue=t.end.toDate(w||"UTC"),ie=new E.$fb18d541ea1ad717$export$ad991b66133851cf(r,Oe),de;if(n===w&&g===X&&t.start.compare(t.end)!==0){try{let U=ie.formatRangeToParts(ce,ue),re=-1;for(let q=0;q<U.length;q++){let ne=U[q];if(ne.source==="shared"&&ne.type==="literal")re=q;else if(ne.source==="endRange")break}let fe="",be="";for(let q=0;q<U.length;q++)q<re?fe+=U[q].value:q>re&&(be+=U[q].value);return{start:fe,end:be}}catch{}de=ie}else{let U=f.$35a22f14a1f04b11$export$7e319ea407e63bc0(h,{granularity:X,timeZone:w,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});de=new E.$fb18d541ea1ad717$export$ad991b66133851cf(r,U)}return{start:ie.format(ce),end:de.format(ue)}},getDateFormatter(r,h){let n={...p,...h},g=f.$35a22f14a1f04b11$export$7e319ea407e63bc0({},n);return new E.$fb18d541ea1ad717$export$ad991b66133851cf(r,g)}}}function K(e){return(e==null?void 0:e.start)!=null&&e.end!=null}const we=s.createContext(null),qe=s.createContext(null),Ee=s.createContext(null),_e=s.createContext(null),Fe=[ae.$a049562f99e7db0e$export$f9c6924e160136d1,A.$d2b4bc8c273e7be6$export$24d547caef80ccd1,A.$01b77f81d0f07f68$export$75b6ee27786ba447,oe.$514c0188e459b4c0$export$9afb8bc826b033ea],Le=s.forwardRef(function(a,l){[a,l]=S.$64fa3d84918910a7$export$29f1550f4b0d4415(a,l,we);let{validationBehavior:c}=S.$64fa3d84918910a7$export$fabf2dc03a41866e(me.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var b,v;let u=(v=(b=a.validationBehavior)!==null&&b!==void 0?b:c)!==null&&v!==void 0?v:"native",i=Be({...a,validationBehavior:u}),t=s.useRef(null),[F,k]=S.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!a["aria-label"]&&!a["aria-labelledby"]),{groupProps:m,labelProps:B,fieldProps:R,buttonProps:C,dialogProps:O,calendarProps:x,descriptionProps:T,errorMessageProps:d,...I}=je({...S.$64fa3d84918910a7$export$ef03459518577ad4(a),label:k,validationBehavior:u},i,t),[M,D]=s.useState(null),j=s.useCallback(()=>{t.current&&D(t.current.offsetWidth+"px")},[]);le.$9daab02d461809db$export$683480f191c0e3ea({ref:t,onResize:j});let{focusProps:Z,isFocused:p,isFocusVisible:P}=pe.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),V=S.$64fa3d84918910a7$export$4d86445c2cf5e3({...a,values:{state:i,isFocusWithin:p,isFocusVisible:P,isDisabled:a.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DatePicker"}),o=te.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a);return delete o.id,s.createElement(S.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Ee,i],[ae.$a049562f99e7db0e$export$f9c6924e160136d1,{...m,ref:t,isInvalid:i.isInvalid}],[f.$40825cdb76e74f70$export$7b3e670c86da5fe8,R],[A.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...C,isPressed:i.isOpen}],[A.$01b77f81d0f07f68$export$75b6ee27786ba447,{...B,ref:F,elementType:"span"}],[ee.$dfd62f934fc76fed$export$3b805cea1f178355,x],[N.$de32f1b87079253c$export$d2f961adcb0afbe,i],[N.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{trigger:"DatePicker",triggerRef:t,placement:"bottom start",style:{"--trigger-width":M},clearContexts:Fe}],[N.$de32f1b87079253c$export$8b93a07348a7730c,O],[oe.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:T,errorMessage:d}}],[ve.$ee014567cb39d3f0$export$ff05c3ac10437e03,I]]},s.createElement("div",{...Z,...o,...V,ref:l,slot:a.slot||void 0,"data-focus-within":p||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":P||void 0,"data-disabled":a.isDisabled||void 0,"data-open":i.isOpen||void 0}))}),We=s.forwardRef(function(a,l){[a,l]=S.$64fa3d84918910a7$export$29f1550f4b0d4415(a,l,qe);let{validationBehavior:c}=S.$64fa3d84918910a7$export$fabf2dc03a41866e(me.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var b,v;let u=(v=(b=a.validationBehavior)!==null&&b!==void 0?b:c)!==null&&v!==void 0?v:"native",i=Se({...a,validationBehavior:u}),t=s.useRef(null),[F,k]=S.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!a["aria-label"]&&!a["aria-labelledby"]),{groupProps:m,labelProps:B,startFieldProps:R,endFieldProps:C,buttonProps:O,dialogProps:x,calendarProps:T,descriptionProps:d,errorMessageProps:I,...M}=ke({...S.$64fa3d84918910a7$export$ef03459518577ad4(a),label:k,validationBehavior:u},i,t),[D,j]=s.useState(null),Z=s.useCallback(()=>{t.current&&j(t.current.offsetWidth+"px")},[]);le.$9daab02d461809db$export$683480f191c0e3ea({ref:t,onResize:Z});let{focusProps:p,isFocused:P,isFocusVisible:V}=pe.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),o=S.$64fa3d84918910a7$export$4d86445c2cf5e3({...a,values:{state:i,isFocusWithin:P,isFocusVisible:V,isDisabled:a.isDisabled||!1,isInvalid:i.isInvalid,isOpen:i.isOpen},defaultClassName:"react-aria-DateRangePicker"}),y=te.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a);return delete y.id,s.createElement(S.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[_e,i],[ae.$a049562f99e7db0e$export$f9c6924e160136d1,{...m,ref:t,isInvalid:i.isInvalid}],[A.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...O,isPressed:i.isOpen}],[A.$01b77f81d0f07f68$export$75b6ee27786ba447,{...B,ref:F,elementType:"span"}],[ee.$dfd62f934fc76fed$export$233dd9682e1ad64b,T],[N.$de32f1b87079253c$export$d2f961adcb0afbe,i],[N.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{trigger:"DateRangePicker",triggerRef:t,placement:"bottom start",style:{"--trigger-width":D},clearContexts:Fe}],[N.$de32f1b87079253c$export$8b93a07348a7730c,x],[f.$40825cdb76e74f70$export$7b3e670c86da5fe8,{slots:{start:R,end:C}}],[oe.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:d,errorMessage:I}}],[ve.$ee014567cb39d3f0$export$ff05c3ac10437e03,M]]},s.createElement("div",{...p,...y,...o,ref:l,slot:a.slot||void 0,"data-focus-within":P||void 0,"data-invalid":i.isInvalid||void 0,"data-focus-visible":V||void 0,"data-disabled":a.isDisabled||void 0,"data-open":i.isOpen||void 0}))});/**
2
+ * @license lucide-react v0.453.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const Ne=Te.createLucideIcon("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]),Ue="_datePicker_1ro4s_4",Ke="_inputField_1ro4s_11",ze="_medium_1ro4s_23",Ge="_calendarButton_1ro4s_50",Ae="_dialog_1ro4s_97",G={datePicker:Ue,inputField:Ke,medium:ze,calendarButton:Ge,dialog:Ae},Re=({children:e,isDisabled:a,isInvalid:l,size:c="large"})=>$.jsxs(ae.$a049562f99e7db0e$export$eb2fcfdbd7ba97d4,{className:J.clsx(G.inputField,{[G.medium]:c==="medium"}),children:[e,$.jsx(A.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{className:J.clsx(G.calendarButton,{[G.medium]:c==="medium"}),"data-invalid":l||void 0,isDisabled:a,children:$.jsx(Ne,{"aria-hidden":!0,size:20})})]}),Ce=se.forwardRef(({children:e},a)=>$.jsx(N.$07b14b47974efb58$export$5b6b19405a83ff9d,{UNSTABLE_portalContainer:typeof a!="function"&&(a==null?void 0:a.current)||void 0,children:$.jsx(N.$de32f1b87079253c$export$3ddf2d174ce01153,{className:G.dialog,children:e})})),Xe=({className:e,description:a,errorMessage:l,errorPosition:c="top",label:b,popover:v,...u})=>{const i=se.useRef(null);return $.jsxs(Le,{className:J.clsx(G.datePicker,e),ref:i,...u,children:[$.jsx(Y.LabelWrapper,{popover:v,children:b&&$.jsx(Y.Label,{children:b})}),a&&$.jsx($e.Text,{slot:"description",children:a}),c==="top"&&$.jsx(Q.FieldError,{children:l}),$.jsx(Re,{...u,children:$.jsx(f.DateInput,{children:t=>$.jsx(f.DateSegment,{segment:t})})}),c==="bottom"&&$.jsx(Q.FieldError,{children:l}),$.jsx(Ce,{ref:i,children:$.jsx(ee.Calendar,{})})]})},He=({className:e,description:a,errorMessage:l,errorPosition:c="top",label:b,popover:v,...u})=>{const i=se.useRef(null);return $.jsxs(We,{className:J.clsx(G.datePicker,e),ref:i,...u,children:[$.jsx(Y.LabelWrapper,{popover:v,children:b&&$.jsx(Y.Label,{children:b})}),a&&$.jsx($e.Text,{slot:"description",children:a}),c==="top"&&$.jsx(Q.FieldError,{children:l}),$.jsxs(Re,{...u,children:[$.jsx(f.DateInput,{slot:"start",children:t=>$.jsx(f.DateSegment,{segment:t})}),$.jsx(f.DateInputDivider,{}),$.jsx(f.DateInput,{slot:"end",children:t=>$.jsx(f.DateSegment,{segment:t})})]}),c==="bottom"&&$.jsx(Q.FieldError,{children:l}),$.jsx(Ce,{ref:i,children:$.jsx(ee.RangeCalendar,{})})]})};exports.DatePicker=Xe;exports.DateRangePicker=He;