@midas-ds/components 10.4.1 → 11.0.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 (208) hide show
  1. package/{AccordionItem-oeN1Cc09.js → AccordionItem-BtDoammf.js} +4 -4
  2. package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
  3. package/BadgeContainer-DWVHS5dn.cjs +1 -0
  4. package/{Breadcrumbs-D8ad6xvL.js → Breadcrumbs-BBzSV4SK.js} +4 -4
  5. package/{Breadcrumbs-DkJIkGG5.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
  6. package/{Button-DtSrCAf6.js → Button-BjMaGya2.js} +1 -1
  7. package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
  8. package/CHANGELOG.md +23 -0
  9. package/{Card-BzJ_OEe6.js → Card-BRs1FKX5.js} +3 -3
  10. package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
  11. package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
  12. package/{CheckboxGroup-CcTfzurp.js → CheckboxGroup-CC9QGMuE.js} +7 -8
  13. package/CheckboxGroup-DhQX10rP.cjs +1 -0
  14. package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
  15. package/{ColorSchemeSwitch-y8qKczjQ.js → ColorSchemeSwitch-Cnyb9EKC.js} +1 -1
  16. package/ComboBox-CiCB2e4W.cjs +1 -0
  17. package/{ComboBox-CZyP8Dfh.js → ComboBox-Dnk8JMQ6.js} +64 -65
  18. package/{DateField-BTROlenJ.js → DateField-BAS2v9aI.js} +4 -4
  19. package/{DateField-1w5J_iyF.cjs → DateField-DleDM0Sy.cjs} +1 -1
  20. package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
  21. package/DateInputDivider-ToFY-yjB.cjs +1 -0
  22. package/{DateRangePicker-DmZP9laM.js → DateRangePicker-Blej-jD0.js} +43 -44
  23. package/DateRangePicker-CYXWnCTq.cjs +6 -0
  24. package/{Dialog-DnMwnqiC.cjs → Dialog-B3R3WtL5.cjs} +1 -1
  25. package/{Dialog-0ZBhhPyd.js → Dialog-BkUw6PlA.js} +6 -6
  26. package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
  27. package/Dialog-DtHk3eXI.cjs +1 -0
  28. package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
  29. package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
  30. package/{Dropdown-By91MEV2.cjs → Dropdown-CYakzdJg.cjs} +1 -1
  31. package/{Dropdown-BEAMfAxj.js → Dropdown-D6WCi_Ll.js} +2 -2
  32. package/FieldError-Bv3Q6ZP-.cjs +1 -0
  33. package/FieldError-CDCvUjK5.js +46 -0
  34. package/{FileUpload-DvQdIZ6k.js → FileUpload-BokzdXVc.js} +448 -562
  35. package/{FileUpload-vf0oJd0K.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
  36. package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
  37. package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
  38. package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
  39. package/{InfoBanner-yj90XVEP.js → InfoBanner-D05poAe3.js} +1 -1
  40. package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
  41. package/{Label-D2GmP8_2.js → Label-JLgFEbP9.js} +4 -4
  42. package/{Label-E3LhQfNv.cjs → Label-VO6CAFux.cjs} +1 -1
  43. package/{Layout-Ri7XQHFp.cjs → Layout-BwLxIwtY.cjs} +1 -1
  44. package/{Layout-BMNgqjXv.js → Layout-CcADAhds.js} +6 -6
  45. package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
  46. package/{Link-CVvnCOGP.cjs → Link-ESjrl63P.cjs} +1 -1
  47. package/{Link-BCVI5W_i.js → Link-ovwNVMfg.js} +12 -11
  48. package/{LinkButton-Cui-gvAk.js → LinkButton-BkZULm2a.js} +1 -1
  49. package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
  50. package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
  51. package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
  52. package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
  53. package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
  54. package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
  55. package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
  56. package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
  57. package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
  58. package/Popover--r4Zr4mO.cjs +1 -0
  59. package/{Popover-C8VY1YKi.js → Popover-DypW9ift.js} +13 -13
  60. package/PressResponder-4jE_HLu3.cjs +1 -0
  61. package/PressResponder-C3APAKsz.js +34 -0
  62. package/{ProgressBar-Bpq-hyZa.js → ProgressBar-CFgcqHTR.js} +2 -2
  63. package/{ProgressBar-D4lOEhAh.cjs → ProgressBar-CJFNiudl.cjs} +1 -1
  64. package/Radio-CMH6pTWD.cjs +1 -0
  65. package/{Radio-BPcq9kW5.js → Radio-DUBSD0kQ.js} +19 -20
  66. package/{RangeCalendar-6miAJVoO.js → RangeCalendar-BCruEq9d.js} +16 -15
  67. package/RangeCalendar-BY82hPRu.cjs +11 -0
  68. package/{SearchField-DEoGi9xv.cjs → SearchField-QFyuaT-K.cjs} +1 -1
  69. package/{SearchField-CDyD5iWr.js → SearchField-nwlyszwt.js} +3 -3
  70. package/Select-C5i-rIDh.cjs +1 -0
  71. package/{Select-B2wYDnAU.js → Select-DKME5lZp.js} +104 -105
  72. package/SelectionManager-BJjqIWtf.cjs +1 -0
  73. package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
  74. package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
  75. package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
  76. package/{TabList-CheXtBJm.cjs → TabList-BkSWzbDG.cjs} +1 -1
  77. package/{TabList-D0qzIjSx.js → TabList-QApx8qRC.js} +8 -8
  78. package/{Table-zKvjzd9t.js → Table-B5Aine4F.js} +35 -34
  79. package/Table-DGYC-sDq.cjs +16 -0
  80. package/{Tag-BoqT5nbh.js → Tag-Byva_Xuy.js} +123 -122
  81. package/Tag-bYq-wf5D.cjs +1 -0
  82. package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
  83. package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
  84. package/{TextArea-Pxr-eLXe.js → TextArea-BhmdgD1w.js} +8 -8
  85. package/{TextArea-B5und61h.cjs → TextArea-CY_tzBAJ.cjs} +1 -1
  86. package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
  87. package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
  88. package/{Toast-DfKiA5hp.js → Toast-CWt_mNIg.js} +1 -1
  89. package/{ToggleButtonGroup-DhlfvYGg.js → ToggleButtonGroup-HjvaTYD4.js} +3 -3
  90. package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
  91. package/accordion/index.js +1 -1
  92. package/assets/BadgeContainer.css +1 -1
  93. package/assets/Button.css +1 -1
  94. package/assets/FileUpload.css +1 -1
  95. package/assets/LinkButton.css +1 -1
  96. package/assets/Popover.css +1 -1
  97. package/badge/index.cjs +1 -1
  98. package/badge/index.js +1 -1
  99. package/breadcrumbs/index.cjs +1 -1
  100. package/breadcrumbs/index.js +1 -1
  101. package/button/index.js +1 -1
  102. package/calendar/index.cjs +1 -1
  103. package/calendar/index.js +1 -1
  104. package/card/index.js +1 -1
  105. package/character-counter/index.js +1 -1
  106. package/checkbox/index.cjs +1 -1
  107. package/checkbox/index.js +2 -2
  108. package/color-scheme-switch/index.js +1 -1
  109. package/combobox/index.cjs +1 -1
  110. package/combobox/index.js +1 -1
  111. package/date-field/index.cjs +1 -1
  112. package/date-field/index.js +2 -2
  113. package/date-picker/index.cjs +1 -1
  114. package/date-picker/index.js +1 -1
  115. package/dropdown/index.cjs +1 -1
  116. package/dropdown/index.js +1 -1
  117. package/field-error/index.cjs +1 -1
  118. package/field-error/index.js +1 -1
  119. package/file-upload/FileUpload.d.ts +3 -14
  120. package/file-upload/index.cjs +1 -1
  121. package/file-upload/index.d.ts +1 -1
  122. package/file-upload/index.js +3 -2
  123. package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
  124. package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
  125. package/heading/index.js +1 -1
  126. package/index.cjs +1 -1
  127. package/index.js +97 -96
  128. package/info-banner/index.js +1 -1
  129. package/label/index.cjs +1 -1
  130. package/label/index.js +1 -1
  131. package/layout/index.cjs +1 -1
  132. package/layout/index.js +1 -1
  133. package/link/index.cjs +1 -1
  134. package/link/index.js +2 -2
  135. package/link-button/index.js +2 -2
  136. package/list-box/index.cjs +1 -1
  137. package/list-box/index.js +2 -2
  138. package/modal/index.cjs +1 -1
  139. package/modal/index.js +2 -2
  140. package/package.json +1 -1
  141. package/popover/index.cjs +1 -1
  142. package/popover/index.js +1 -1
  143. package/progress-bar/index.cjs +1 -1
  144. package/progress-bar/index.js +1 -1
  145. package/radio/index.cjs +1 -1
  146. package/radio/index.js +1 -1
  147. package/scrollIntoView-ClEACHUk.js +57 -0
  148. package/scrollIntoView-DRSoJp89.cjs +1 -0
  149. package/search-field/index.cjs +1 -1
  150. package/search-field/index.js +1 -1
  151. package/select/index.cjs +1 -1
  152. package/select/index.js +1 -1
  153. package/table/index.cjs +1 -1
  154. package/table/index.js +1 -1
  155. package/tabs/index.cjs +1 -1
  156. package/tabs/index.js +1 -1
  157. package/tag/index.cjs +1 -1
  158. package/tag/index.js +1 -1
  159. package/text/index.js +1 -1
  160. package/textfield/index.cjs +1 -1
  161. package/textfield/index.js +1 -1
  162. package/theme/index.cjs +1 -1
  163. package/theme/index.d.ts +1 -0
  164. package/theme/index.js +2 -2
  165. package/theme/tokens.d.ts +1 -0
  166. package/toast/index.js +1 -1
  167. package/toggle-button/index.js +1 -1
  168. package/{tokens-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
  169. package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
  170. package/tooltip/index.js +1 -1
  171. package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
  172. package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
  173. package/useDescription-CPo72trh.cjs +1 -0
  174. package/useDescription-DYfKjGGU.js +32 -0
  175. package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
  176. package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
  177. package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
  178. package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
  179. package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
  180. package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
  181. package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
  182. package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
  183. package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
  184. package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
  185. package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
  186. package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
  187. package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
  188. package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
  189. package/BadgeContainer-I1XA3OCl.cjs +0 -1
  190. package/CheckboxGroup-DWxQTABg.cjs +0 -1
  191. package/ComboBox-Dg2xhkLC.cjs +0 -1
  192. package/DateInputDivider-3BvwXXa9.cjs +0 -1
  193. package/DateRangePicker-CX3830ZF.cjs +0 -6
  194. package/Dialog-CSnN6baf.cjs +0 -1
  195. package/FieldError-B3YFj-an.js +0 -23
  196. package/FieldError-BbR-29BM.js +0 -28
  197. package/FieldError-MVsU-Mgw.cjs +0 -1
  198. package/FieldError-bRTpchvr.cjs +0 -1
  199. package/Popover-CnAsw3wI.cjs +0 -1
  200. package/Radio-CwNbUGah.cjs +0 -1
  201. package/RangeCalendar-CAI1PRDo.cjs +0 -11
  202. package/Select-nRN944QZ.cjs +0 -1
  203. package/SelectionManager-D0jYUYcy.cjs +0 -1
  204. package/Table-DAhnYYIA.cjs +0 -16
  205. package/Tag-t-aJVo3W.cjs +0 -1
  206. package/file-upload/intl/translations.json.d.ts +0 -17
  207. package/scrollIntoView-BLnsPvFA.js +0 -87
  208. package/scrollIntoView-joIyo-Jt.cjs +0 -1
@@ -1,38 +1,37 @@
1
1
  import { jsxs as be, jsx as f } from "react/jsx-runtime";
2
2
  import X, { useRef as T, useMemo as ee, useEffect as pe, useState as Q, useCallback as se, forwardRef as su, createContext as he } from "react";
3
- import { f as re, c as fe, e as ve, $ as ru } from "./Button-CFYdzG0H.js";
4
- import { $ as $u, b as au, c as bu, d as Cu, a as mu, e as xu } from "./utils-DJhAJHk_.js";
5
- import { $ as hu } from "./FieldError-BbR-29BM.js";
3
+ import { f as re, b as fe, e as ve, $ as ru } from "./Button-CepQFEit.js";
4
+ import { $ as $u, c as au, d as bu, e as Cu, a as xu, f as mu } from "./utils-KLjWgdLR.js";
5
+ import { $ as hu, F as Ce } from "./FieldError-CDCvUjK5.js";
6
6
  import { $ as fu } from "./Form-CXcEMuBf.js";
7
- import { a as Ae } from "./Group-CpkUzEAs.js";
8
- import { $ as Be, a as vu } from "./Input-LnjmFI1x.js";
9
- import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-C-isJIHL.js";
10
- import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-CtVrVuMr.js";
11
- import { a as Te } from "./Text-92cPh38G.js";
12
- import { b as Lu, c as Su } from "./Collection--62xKPm9.js";
7
+ import { a as Ae } from "./Group-B0vQfHDy.js";
8
+ import { $ as Be, a as vu } from "./Input-n-Z20KbW.js";
9
+ import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-CsxDGpCA.js";
10
+ import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-DKHo0W9B.js";
11
+ import { $ as Te } from "./Text-DcZqSUN9.js";
12
+ import { b as Lu, c as Su } from "./Collection-D2jVTmDW.js";
13
13
  import { $ as gu } from "./filterDOMProps-D6KHYVBX.js";
14
- import { a as ku, g as Pu } from "./OverlayArrow-CfhSYL46.js";
15
- import { $ as Ku } from "./useFilter-CousKe2K.js";
14
+ import { a as ku, g as Pu } from "./OverlayArrow-DB_aVTVM.js";
15
+ import { $ as Ku } from "./useFilter-DginflOU.js";
16
16
  import { d as Ou, $ as Iu } from "./useFormValidation-BzzruZKm.js";
17
- import { e as Ru, f as De, h as wu } from "./SelectionManager-zsWy3vsd.js";
18
- import { $ as Gu } from "./useSingleSelectListState-BLXvGjLI.js";
19
- import { b as zu } from "./useListState-CebsX_1d.js";
17
+ import { e as Ru, f as De, h as wu } from "./SelectionManager-BubxiIKu.js";
18
+ import { $ as Gu } from "./useSingleSelectListState-B0OMoHd_.js";
19
+ import { b as zu } from "./useListState-DNB7JWoj.js";
20
20
  import { $ as Vu } from "./useControlledState-u436Wbp1.js";
21
- import { e as Mu, a as Ce } from "./mergeProps-C1U1OIeJ.js";
21
+ import { e as Mu, a as xe } from "./mergeProps-C1U1OIeJ.js";
22
22
  import { c as ju, b as Nu } from "./utils-CoCR_Fce.js";
23
- import { b as Uu } from "./usePress-DuR4pVsE.js";
23
+ import { c as Uu } from "./usePress-BW47IcyU.js";
24
24
  import { $ as me } from "./useLabels-LrKQiY11.js";
25
25
  import { $ as qu } from "./useUpdateEffect-CCDx8D4X.js";
26
26
  import { o as $e } from "./useHover-DQvJ3Y-W.js";
27
- import { a as Wu } from "./Separator-Dn5LYN5I.js";
28
- import { a as Xu } from "./ListKeyboardDelegate-CY6t6y1t.js";
27
+ import { a as Wu } from "./Separator-CEZ5y7tZ.js";
28
+ import { a as Xu } from "./ListKeyboardDelegate-C-sPNj0f.js";
29
29
  import { $ as Zu } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
30
- import { $ as Hu } from "./useTextField-C-sUypsx.js";
30
+ import { $ as Hu } from "./useTextField-DjxayZsV.js";
31
31
  import { c as ae } from "./clsx-OuTLNxxd.js";
32
- import { a as Ju, L as Yu } from "./Label-D2GmP8_2.js";
33
- import { T as _u } from "./Text-DlKqpvSa.js";
34
- import { F as xe } from "./FieldError-B3YFj-an.js";
35
- import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-BVR2xtOH.js";
32
+ import { a as Ju, L as Yu } from "./Label-JLgFEbP9.js";
33
+ import { T as _u } from "./Text-BPcfhYQ9.js";
34
+ import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-Cc2cx0_S.js";
36
35
  import { C as on } from "./chevron-down-DmZMdOiC.js";
37
36
  import { u as tn } from "./useLocalizedStringFormatter-N0AyjzbM.js";
38
37
  import './assets/ComboBox.css';var Fe = {};
@@ -756,8 +755,8 @@ function ln(e) {
756
755
  return e && e.__esModule ? e.default : e;
757
756
  }
758
757
  function cn(e, u) {
759
- let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: v, layoutDelegate: b, shouldFocusWrap: m, isReadOnly: F, isDisabled: g } = e, x = T(null);
760
- i = i ?? x;
758
+ let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: v, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: F, isDisabled: g } = e, m = T(null);
759
+ i = i ?? m;
761
760
  let A = Zu(ln(iu), "@react-aria/combobox"), { menuTriggerProps: B, menuProps: E } = Tu({
762
761
  type: "listbox",
763
762
  isDisabled: g || F
@@ -781,7 +780,7 @@ function cn(e, u) {
781
780
  keyboardDelegate: l,
782
781
  disallowTypeAhead: !0,
783
782
  disallowEmptySelection: !0,
784
- shouldFocusWrap: m,
783
+ shouldFocusWrap: x,
785
784
  ref: t,
786
785
  // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
787
786
  isVirtualized: !0
@@ -925,7 +924,7 @@ function cn(e, u) {
925
924
  onPressStart: H,
926
925
  isDisabled: g || F
927
926
  },
928
- inputProps: Ce(L, {
927
+ inputProps: xe(L, {
929
928
  role: "combobox",
930
929
  "aria-expanded": B["aria-expanded"],
931
930
  "aria-controls": u.isOpen ? E.id : void 0,
@@ -938,7 +937,7 @@ function cn(e, u) {
938
937
  // This disable's the macOS Safari spell check auto corrections.
939
938
  spellCheck: "false"
940
939
  }),
941
- listBoxProps: Ce(E, k, {
940
+ listBoxProps: xe(E, k, {
942
941
  autoFocus: u.focusStrategy || !0,
943
942
  shouldUseVirtualFocus: !0,
944
943
  shouldSelectOnPressUp: !0,
@@ -954,7 +953,7 @@ function cn(e, u) {
954
953
  }
955
954
  function pn(e) {
956
955
  var u;
957
- let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: v = !0 } = e, [b, m] = Q(!1), [F, g] = Q(!1), [x, A] = Q(null), B = (o) => {
956
+ let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: v = !0 } = e, [b, x] = Q(!1), [F, g] = Q(!1), [m, A] = Q(null), B = (o) => {
958
957
  e.onSelectionChange && e.onSelectionChange(o), o === l && (w(), P());
959
958
  };
960
959
  var E;
@@ -984,10 +983,10 @@ function pn(e) {
984
983
  defaultOpen: void 0
985
984
  }), k = (o = null, $) => {
986
985
  let C = $ === "manual" || $ === "focus" && a === "focus";
987
- (t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && m(!0), V.current = $, A(o), r.open());
986
+ (t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && x(!0), V.current = $, A(o), r.open());
988
987
  }, I = (o = null, $) => {
989
988
  let C = $ === "manual" || $ === "focus" && a === "focus";
990
- !(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 && m(!0), r.isOpen || (V.current = $), D(o));
989
+ !(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 && x(!0), r.isOpen || (V.current = $), D(o));
991
990
  }, M = se(() => {
992
991
  oe(b ? y : L);
993
992
  }, [
@@ -1015,7 +1014,7 @@ function pn(e) {
1015
1014
  let te = T(l != null && (_ = (u = h.getItem(l)) === null || u === void 0 ? void 0 : u.textValue) !== null && _ !== void 0 ? _ : "");
1016
1015
  pe(() => {
1017
1016
  var o;
1018
- F && (L.size > 0 || t) && !r.isOpen && s !== R && a !== "manual" && k(null, "input"), !b && !t && r.isOpen && L.size === 0 && P(), l != null && l !== K.current && P(), s !== R && (S.setFocusedKey(null), m(!1), s === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && G(null)), l !== K.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? w() : R !== s && j(s);
1017
+ F && (L.size > 0 || t) && !r.isOpen && s !== R && a !== "manual" && k(null, "input"), !b && !t && r.isOpen && L.size === 0 && P(), l != null && l !== K.current && P(), s !== R && (S.setFocusedKey(null), x(!1), s === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && G(null)), l !== K.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? w() : R !== s && j(s);
1019
1018
  var $;
1020
1019
  let C = l != null && ($ = (o = h.getItem(l)) === null || o === void 0 ? void 0 : o.textValue) !== null && $ !== void 0 ? $ : "";
1021
1020
  !F && l != null && e.inputValue === void 0 && l === K.current && te.current !== C && (j(C), q(C)), K.current = l, te.current = C;
@@ -1065,7 +1064,7 @@ function pn(e) {
1065
1064
  return {
1066
1065
  ...le,
1067
1066
  ...r,
1068
- focusStrategy: x,
1067
+ focusStrategy: m,
1069
1068
  toggle: I,
1070
1069
  open: k,
1071
1070
  close: O,
@@ -1107,10 +1106,10 @@ function cu(e, u, i, a) {
1107
1106
  const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__PURE__ */ su(function(u, i) {
1108
1107
  [u, i] = $u(u, i, sn);
1109
1108
  let { children: a, isDisabled: t = !1, isInvalid: d = !1, isRequired: v = !1 } = u, b = ee(() => {
1110
- var m;
1109
+ var x;
1111
1110
  return /* @__PURE__ */ X.createElement(Ee.Provider, {
1112
1111
  value: {
1113
- items: (m = u.items) !== null && m !== void 0 ? m : u.defaultItems
1112
+ items: (x = u.items) !== null && x !== void 0 ? x : u.defaultItems
1114
1113
  }
1115
1114
  }, typeof a == "function" ? a({
1116
1115
  isOpen: !1,
@@ -1129,9 +1128,9 @@ const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__P
1129
1128
  ]);
1130
1129
  return /* @__PURE__ */ X.createElement(Lu, {
1131
1130
  content: b
1132
- }, (m) => /* @__PURE__ */ X.createElement(bn, {
1131
+ }, (x) => /* @__PURE__ */ X.createElement(bn, {
1133
1132
  props: u,
1134
- collection: m,
1133
+ collection: x,
1135
1134
  comboBoxRef: i
1136
1135
  }));
1137
1136
  }), an = [
@@ -1145,10 +1144,10 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1145
1144
  let { name: a, formValue: t = "key", allowsCustomValue: d } = e;
1146
1145
  d && (t = "text");
1147
1146
  let { validationBehavior: v } = au(fu) || {};
1148
- var b, m;
1149
- let F = (m = (b = e.validationBehavior) !== null && b !== void 0 ? b : v) !== null && m !== void 0 ? m : "native", { contains: g } = Ku({
1147
+ var b, x;
1148
+ let F = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b : v) !== null && x !== void 0 ? x : "native", { contains: g } = Ku({
1150
1149
  sensitivity: "base"
1151
- }), x = pn({
1150
+ }), m = pn({
1152
1151
  defaultFilter: e.defaultFilter || g,
1153
1152
  ...e,
1154
1153
  // If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
@@ -1165,7 +1164,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1165
1164
  popoverRef: h,
1166
1165
  name: t === "text" ? a : void 0,
1167
1166
  validationBehavior: F
1168
- }, x), [q, y] = Q(null), L = se(() => {
1167
+ }, m), [q, y] = Q(null), L = se(() => {
1169
1168
  if (B.current) {
1170
1169
  var r;
1171
1170
  let k = (r = A.current) === null || r === void 0 ? void 0 : r.getBoundingClientRect(), I = B.current.getBoundingClientRect(), M = k ? Math.min(k.left, I.left) : I.left, D = k ? Math.max(k.right, I.right) : I.right;
@@ -1181,27 +1180,27 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1181
1180
  onResize: L
1182
1181
  });
1183
1182
  let Z = ee(() => ({
1184
- isOpen: x.isOpen,
1183
+ isOpen: m.isOpen,
1185
1184
  isDisabled: e.isDisabled || !1,
1186
1185
  isInvalid: s.isInvalid || !1,
1187
1186
  isRequired: e.isRequired || !1
1188
1187
  }), [
1189
- x.isOpen,
1188
+ m.isOpen,
1190
1189
  e.isDisabled,
1191
1190
  s.isInvalid,
1192
1191
  e.isRequired
1193
- ]), oe = mu({
1192
+ ]), oe = xu({
1194
1193
  ...e,
1195
1194
  values: Z,
1196
1195
  defaultClassName: "react-aria-ComboBox"
1197
1196
  }), V = gu(e);
1198
1197
  delete V.id;
1199
1198
  var H;
1200
- return /* @__PURE__ */ X.createElement(xu, {
1199
+ return /* @__PURE__ */ X.createElement(mu, {
1201
1200
  values: [
1202
1201
  [
1203
1202
  rn,
1204
- x
1203
+ m
1205
1204
  ],
1206
1205
  [
1207
1206
  fe,
@@ -1215,7 +1214,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1215
1214
  {
1216
1215
  ...G,
1217
1216
  ref: A,
1218
- isPressed: x.isOpen
1217
+ isPressed: m.isOpen
1219
1218
  }
1220
1219
  ],
1221
1220
  [
@@ -1227,7 +1226,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1227
1226
  ],
1228
1227
  [
1229
1228
  Fu,
1230
- x
1229
+ m
1231
1230
  ],
1232
1231
  [
1233
1232
  yu,
@@ -1253,7 +1252,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1253
1252
  ],
1254
1253
  [
1255
1254
  Eu,
1256
- x
1255
+ m
1257
1256
  ],
1258
1257
  [
1259
1258
  Te,
@@ -1281,21 +1280,21 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
1281
1280
  ...oe,
1282
1281
  ref: i,
1283
1282
  slot: e.slot || void 0,
1284
- "data-focused": x.isFocused || void 0,
1285
- "data-open": x.isOpen || void 0,
1283
+ "data-focused": m.isFocused || void 0,
1284
+ "data-open": m.isOpen || void 0,
1286
1285
  "data-disabled": e.isDisabled || void 0,
1287
1286
  "data-invalid": s.isInvalid || void 0,
1288
1287
  "data-required": e.isRequired || void 0
1289
1288
  }), a && t === "key" && /* @__PURE__ */ X.createElement("input", {
1290
1289
  type: "hidden",
1291
1290
  name: a,
1292
- value: (H = x.selectedKey) !== null && H !== void 0 ? H : ""
1291
+ value: (H = m.selectedKey) !== null && H !== void 0 ? H : ""
1293
1292
  }));
1294
1293
  }
1295
- const Cn = "_combobox_zftmk_4", mn = "_inputField_zftmk_9", xn = "_medium_zftmk_27", hn = "_wrap_zftmk_67", fn = "_button_zftmk_73", vn = "_icon_zftmk_105", W = {
1294
+ const Cn = "_combobox_zftmk_4", xn = "_inputField_zftmk_9", mn = "_medium_zftmk_27", hn = "_wrap_zftmk_67", fn = "_button_zftmk_73", vn = "_icon_zftmk_105", W = {
1296
1295
  combobox: Cn,
1297
- inputField: mn,
1298
- medium: xn,
1296
+ inputField: xn,
1297
+ medium: mn,
1299
1298
  wrap: hn,
1300
1299
  button: fn,
1301
1300
  icon: vn
@@ -1307,7 +1306,7 @@ const Cn = "_combobox_zftmk_4", mn = "_inputField_zftmk_9", xn = "_medium_zftmk_
1307
1306
  en: An,
1308
1307
  sv: Bn
1309
1308
  };
1310
- function so({
1309
+ function po({
1311
1310
  label: e,
1312
1311
  description: u,
1313
1312
  errorMessage: i,
@@ -1316,10 +1315,10 @@ function so({
1316
1315
  className: d,
1317
1316
  errorPosition: v = "top",
1318
1317
  size: b = "large",
1319
- popover: m,
1318
+ popover: x,
1320
1319
  ...F
1321
1320
  }) {
1322
- const g = X.useRef(null), x = tn(En), A = (B) => {
1321
+ const g = X.useRef(null), m = tn(En), A = (B) => {
1323
1322
  var E;
1324
1323
  B.currentTarget.value && ((E = g.current) == null || E.select());
1325
1324
  };
@@ -1329,9 +1328,9 @@ function so({
1329
1328
  className: ae(W.combobox, d),
1330
1329
  ...F,
1331
1330
  children: [
1332
- /* @__PURE__ */ f(Ju, { popover: m, children: e && /* @__PURE__ */ f(Yu, { children: e }) }),
1331
+ /* @__PURE__ */ f(Ju, { popover: x, children: e && /* @__PURE__ */ f(Yu, { children: e }) }),
1333
1332
  u && /* @__PURE__ */ f(_u, { slot: "description", children: u }),
1334
- v === "top" && /* @__PURE__ */ f(xe, { "data-testid": "fieldError", children: i }),
1333
+ v === "top" && /* @__PURE__ */ f(Ce, { "data-testid": "fieldError", children: i }),
1335
1334
  /* @__PURE__ */ be("div", { className: W.wrap, children: [
1336
1335
  /* @__PURE__ */ f(
1337
1336
  vu,
@@ -1349,7 +1348,7 @@ function so({
1349
1348
  className: ae(W.button, {
1350
1349
  [W.medium]: b === "medium"
1351
1350
  }),
1352
- "aria-label": x.format("showList"),
1351
+ "aria-label": m.format("showList"),
1353
1352
  children: /* @__PURE__ */ f(
1354
1353
  "div",
1355
1354
  {
@@ -1367,7 +1366,7 @@ function so({
1367
1366
  }
1368
1367
  )
1369
1368
  ] }),
1370
- v === "bottom" && /* @__PURE__ */ f(xe, { "data-testid": "fieldError", children: i }),
1369
+ v === "bottom" && /* @__PURE__ */ f(Ce, { "data-testid": "fieldError", children: i }),
1371
1370
  /* @__PURE__ */ f(Qu, { children: /* @__PURE__ */ f(en, { items: t, children: a }) })
1372
1371
  ]
1373
1372
  }
@@ -1379,12 +1378,12 @@ function Tn(e) {
1379
1378
  function Dn(e) {
1380
1379
  return /* @__PURE__ */ f(nn, { ...e, children: /* @__PURE__ */ f(Su, { items: e.children, children: (u) => /* @__PURE__ */ f(Tn, { children: u.name }, u.id) }) });
1381
1380
  }
1382
- function ro(e) {
1381
+ function so(e) {
1383
1382
  return /* @__PURE__ */ f(Dn, { ...e });
1384
1383
  }
1385
1384
  export {
1386
- so as C,
1385
+ po as C,
1387
1386
  Tn as a,
1388
1387
  Dn as b,
1389
- ro as c
1388
+ so as c
1390
1389
  };
@@ -1,9 +1,9 @@
1
1
  import { jsxs as F, jsx as e } from "react/jsx-runtime";
2
- import { $ as _, a as f, D as h } from "./DateInputDivider-Bi5N-C0c.js";
2
+ import { $ as _, a as f, D as h } from "./DateInputDivider-B3oE1_tB.js";
3
3
  import { c as m } from "./clsx-OuTLNxxd.js";
4
- import { F as s } from "./FieldError-B3YFj-an.js";
5
- import { a as x, L as v } from "./Label-D2GmP8_2.js";
6
- import { T as D } from "./Text-DlKqpvSa.js";
4
+ import { F as s } from "./FieldError-CDCvUjK5.js";
5
+ import { a as x, L as v } from "./Label-JLgFEbP9.js";
6
+ import { T as D } from "./Text-BPcfhYQ9.js";
7
7
  import './assets/DateField.css';const b = "_dateField_1453v_4", $ = "_inputField_1453v_11", L = "_medium_1453v_22", d = {
8
8
  dateField: b,
9
9
  inputField: $,
@@ -1 +1 @@
1
- "use strict";require('./assets/DateField.css');const e=require("react/jsx-runtime"),i=require("./DateInputDivider-3BvwXXa9.cjs"),c=require("./clsx-C11secjj.cjs"),n=require("./FieldError-bRTpchvr.cjs"),a=require("./Label-E3LhQfNv.cjs"),j=require("./Text-DBHWi5gA.cjs"),_="_dateField_1453v_4",h="_inputField_1453v_11",q="_medium_1453v_22",t={dateField:_,inputField:h,medium:q},v=({className:u,description:d,errorMessage:l,errorPosition:s="top",isDisabled:o,label:r,size:x="large",popover:m,...F})=>e.jsxs(i.$40825cdb76e74f70$export$d9781c7894a82487,{...F,className:c.clsx(t.dateField,u),children:[e.jsx(a.LabelWrapper,{popover:m,children:r&&e.jsx(a.Label,{children:r})}),d&&e.jsx(j.Text,{slot:"description",children:d}),s==="top"&&e.jsx(n.FieldError,{children:l}),e.jsx("div",{className:c.clsx(t.inputField,{[t.medium]:x==="medium"}),"data-disabled":o||void 0,"data-testid":"date-field_input-field",children:e.jsx(i.DateInput,{children:p=>e.jsx(i.DateSegment,{segment:p})})}),s==="bottom"&&e.jsx(n.FieldError,{children:l})]});exports.DateField=v;
1
+ "use strict";require('./assets/DateField.css');const e=require("react/jsx-runtime"),i=require("./DateInputDivider-ToFY-yjB.cjs"),c=require("./clsx-C11secjj.cjs"),n=require("./FieldError-Bv3Q6ZP-.cjs"),a=require("./Label-VO6CAFux.cjs"),j=require("./Text-DBHWi5gA.cjs"),_="_dateField_1453v_4",h="_inputField_1453v_11",q="_medium_1453v_22",t={dateField:_,inputField:h,medium:q},v=({className:u,description:d,errorMessage:l,errorPosition:s="top",isDisabled:o,label:r,size:x="large",popover:m,...F})=>e.jsxs(i.$40825cdb76e74f70$export$d9781c7894a82487,{...F,className:c.clsx(t.dateField,u),children:[e.jsx(a.LabelWrapper,{popover:m,children:r&&e.jsx(a.Label,{children:r})}),d&&e.jsx(j.Text,{slot:"description",children:d}),s==="top"&&e.jsx(n.FieldError,{children:l}),e.jsx("div",{className:c.clsx(t.inputField,{[t.medium]:x==="medium"}),"data-disabled":o||void 0,"data-testid":"date-field_input-field",children:e.jsx(i.DateInput,{children:p=>e.jsx(i.DateSegment,{segment:p})})}),s==="bottom"&&e.jsx(n.FieldError,{children:l})]});exports.DateField=v;
@@ -1,13 +1,13 @@
1
1
  import { jsx as be } from "react/jsx-runtime";
2
2
  import { c as Re } from "./clsx-OuTLNxxd.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";
3
+ import { $ as Se, c as qu, d as Yu, e as Be, a as Te, f as Ne, b as Ju } from "./utils-KLjWgdLR.js";
4
+ import { $ as Xu } from "./FieldError-CDCvUjK5.js";
5
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";
6
+ import { a as je, $ as et } from "./Group-B0vQfHDy.js";
7
+ import { $ as Ie, a as at } from "./Input-n-Z20KbW.js";
8
+ import { g as ut, h as tt, f as rt, b as nt } from "./Button-CepQFEit.js";
9
+ import { $ as it } from "./Text-DcZqSUN9.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-C7BJgoDR.js";
11
11
  import { d as Ee, a as ae, $ as bt, c as yt } from "./mergeProps-C1U1OIeJ.js";
12
12
  import { $ as ye } from "./filterDOMProps-D6KHYVBX.js";
13
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";
@@ -15,17 +15,18 @@ import { $ as te } from "./context-CGNJ3grH.js";
15
15
  import { a as se, $ as ht } from "./LocalizedStringFormatter-D-4Qyql0.js";
16
16
  import { a as vt, b as gt, c as Ce, f as Bt, $ as Et } from "./useFormValidation-BzzruZKm.js";
17
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";
18
+ import { b as ze, $ as Me } from "./FocusScope-BCsrRPqD.js";
19
+ import { b as Ft } from "./usePress-BW47IcyU.js";
20
+ import { $ as wt } from "./useDescription-DYfKjGGU.js";
21
+ import { $ as Pt } from "./useFocusWithin-T1ifEM_s.js";
22
+ import { $ as kt } from "./useField-CefQB81E.js";
23
+ import { $ as _e, a as At } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
24
+ import { $ as Vt } from "./useLabels-LrKQiY11.js";
25
+ import { $ as Rt } from "./getScrollParent-Ru2U2LlM.js";
26
+ import { l as St, h as Tt, $ as Nt } from "./useHover-DQvJ3Y-W.js";
27
27
  import { $ as me } from "./useEvent-CigwyJOw.js";
28
- import { $ as It } from "./useFilter-CousKe2K.js";
28
+ import { b as jt } from "./scrollIntoView-ClEACHUk.js";
29
+ import { $ as It } from "./useFilter-DginflOU.js";
29
30
  import { $ as Ot } from "./utils-CoCR_Fce.js";
30
31
  import { $ as zt } from "./useFocusRing-DOfBqnUN.js";
31
32
  import './assets/DateInputDivider.css';const Mt = new RegExp("^.*\\(.*\\).*$"), _t = [
@@ -1201,12 +1202,12 @@ function Ht(e) {
1201
1202
  const ru = /* @__PURE__ */ new WeakMap(), De = "__role_" + Date.now(), qt = "__focusManager_" + Date.now();
1202
1203
  function nu(e, a, u) {
1203
1204
  var t;
1204
- let { isInvalid: r, validationErrors: i, validationDetails: o } = a.displayValidation, { labelProps: f, fieldProps: n, descriptionProps: c, errorMessageProps: l } = At({
1205
+ let { isInvalid: r, validationErrors: i, validationDetails: o } = a.displayValidation, { labelProps: f, fieldProps: n, descriptionProps: c, errorMessageProps: l } = kt({
1205
1206
  ...e,
1206
1207
  labelElementType: "span",
1207
1208
  isInvalid: r,
1208
1209
  errorMessage: e.errorMessage || i
1209
- }), s = z(null), { focusWithinProps: D } = kt({
1210
+ }), s = z(null), { focusWithinProps: D } = Pt({
1210
1211
  ...e,
1211
1212
  onFocusWithin($) {
1212
1213
  var p;
@@ -1293,7 +1294,7 @@ function Yt(e) {
1293
1294
  return e && e.__esModule ? e.default : e;
1294
1295
  }
1295
1296
  function Jt() {
1296
- let { locale: e } = te(), a = Vt(Yt(he), "@react-aria/datepicker");
1297
+ let { locale: e } = te(), a = At(Yt(he), "@react-aria/datepicker");
1297
1298
  return P(() => {
1298
1299
  try {
1299
1300
  return new Intl.DisplayNames(e, {
@@ -1369,7 +1370,7 @@ function Qt(e, a, u) {
1369
1370
  d = h === 0 ? "" : d, d.length === 0 || h === 0 ? a.clearSegment(e.type) : a.setSegment(e.type, h), t.current = d;
1370
1371
  } else e.type === "dayPeriod" && a.clearSegment(e.type);
1371
1372
  }, S = (d) => {
1372
- if (d.key === "a" && (Nt() ? d.metaKey : d.ctrlKey) && d.preventDefault(), !(d.ctrlKey || d.metaKey || d.shiftKey || d.altKey))
1373
+ if (d.key === "a" && (Tt() ? d.metaKey : d.ctrlKey) && d.preventDefault(), !(d.ctrlKey || d.metaKey || d.shiftKey || d.altKey))
1373
1374
  switch (d.key) {
1374
1375
  case "Backspace":
1375
1376
  case "Delete":
@@ -1456,8 +1457,8 @@ function Qt(e, a, u) {
1456
1457
  }
1457
1458
  }
1458
1459
  }, $ = () => {
1459
- t.current = "", u.current && Pt(u.current, {
1460
- containingElement: St(u.current)
1460
+ t.current = "", u.current && jt(u.current, {
1461
+ containingElement: Rt(u.current)
1461
1462
  });
1462
1463
  let d = window.getSelection();
1463
1464
  d == null || d.collapse(u.current);
@@ -1498,7 +1499,7 @@ function Qt(e, a, u) {
1498
1499
  u,
1499
1500
  l
1500
1501
  ]);
1501
- let b = Tt() || e.type === "timeZoneName" ? {
1502
+ let b = St() || e.type === "timeZoneName" ? {
1502
1503
  role: "textbox",
1503
1504
  "aria-valuemax": null,
1504
1505
  "aria-valuemin": null,
@@ -1508,7 +1509,7 @@ function Qt(e, a, u) {
1508
1509
  a.segments
1509
1510
  ]);
1510
1511
  e !== _ && !a.isInvalid && (c = void 0);
1511
- let q = yt(), U = !a.isDisabled && !a.isReadOnly && e.isEditable, F = e.type === "literal" ? "" : o.of(e.type), Z = Rt({
1512
+ let q = yt(), U = !a.isDisabled && !a.isReadOnly && e.isEditable, F = e.type === "literal" ? "" : o.of(e.type), Z = Vt({
1512
1513
  "aria-label": `${F}${f ? `, ${f}` : ""}${n ? ", " : ""}`,
1513
1514
  "aria-labelledby": n
1514
1515
  });
@@ -1871,7 +1872,7 @@ function pe(e, a, u, t, r) {
1871
1872
  }
1872
1873
  };
1873
1874
  }
1874
- function Wr(e, a, u, t, r) {
1875
+ function Hr(e, a, u, t, r) {
1875
1876
  var i;
1876
1877
  let o = pe((i = e == null ? void 0 : e.start) !== null && i !== void 0 ? i : null, a, u, t, r);
1877
1878
  var f;
@@ -1922,7 +1923,7 @@ function de(e, a) {
1922
1923
  let n = r.slice(o, f + 1).reduce((l, s) => (l[s] = e[s], l), {});
1923
1924
  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
1925
  }
1925
- function Hr(e) {
1926
+ function qr(e) {
1926
1927
  return e && "hour" in e ? e : new mt();
1927
1928
  }
1928
1929
  function Zu(e, a) {
@@ -2699,7 +2700,7 @@ function lr(e, a, u, t) {
2699
2700
  }
2700
2701
  throw new Error("Unknown segment: " + a);
2701
2702
  }
2702
- const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__PURE__ */ xe(null), qr = /* @__PURE__ */ ue(function(a, u) {
2703
+ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__PURE__ */ xe(null), Yr = /* @__PURE__ */ ue(function(a, u) {
2703
2704
  [a, u] = Se(a, u, Gu);
2704
2705
  let { validationBehavior: t } = qu(Qu) || {};
2705
2706
  var r, i;
@@ -2831,7 +2832,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2831
2832
  key: n
2832
2833
  }))), /* @__PURE__ */ O.createElement(at, null));
2833
2834
  }), mr = /* @__PURE__ */ ue(function({ segment: a, ...u }, t) {
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
+ 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 } = Nt({
2835
2836
  ...u,
2836
2837
  isDisabled: o.isDisabled || a.type === "literal"
2837
2838
  }), { isEditable: v, ...y } = a, x = Te({
@@ -2864,7 +2865,7 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2864
2865
  });
2865
2866
  }), fr = "_dateSegment_1lvsj_4", Dr = {
2866
2867
  dateSegment: fr
2867
- }, Yr = ({
2868
+ }, Jr = ({
2868
2869
  className: e,
2869
2870
  ...a
2870
2871
  }) => /* @__PURE__ */ be(
@@ -2876,13 +2877,13 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2876
2877
  ), $r = "_dateInput_bhs3c_4", pr = "_divider_bhs3c_24", Hu = {
2877
2878
  dateInput: $r,
2878
2879
  divider: pr
2879
- }, Jr = ({ className: e, ...a }) => /* @__PURE__ */ be(
2880
+ }, Xr = ({ className: e, ...a }) => /* @__PURE__ */ be(
2880
2881
  sr,
2881
2882
  {
2882
2883
  className: Re(Hu.dateInput, e),
2883
2884
  ...a
2884
2885
  }
2885
- ), Xr = () => /* @__PURE__ */ be(
2886
+ ), Qr = () => /* @__PURE__ */ be(
2886
2887
  "span",
2887
2888
  {
2888
2889
  "aria-hidden": "true",
@@ -2891,10 +2892,10 @@ const Gu = /* @__PURE__ */ xe(null), re = /* @__PURE__ */ xe(null), ve = /* @__P
2891
2892
  }
2892
2893
  );
2893
2894
  export {
2894
- qr as $,
2895
- Yr as D,
2896
- Jr as a,
2897
- Xr as b,
2895
+ Yr as $,
2896
+ Jr as D,
2897
+ Xr as a,
2898
+ Qr as b,
2898
2899
  Wt as c,
2899
2900
  De as d,
2900
2901
  he as e,
@@ -2902,7 +2903,7 @@ export {
2902
2903
  rr as g,
2903
2904
  pe as h,
2904
2905
  de as i,
2905
- Hr as j,
2906
- Wr as k,
2906
+ qr as j,
2907
+ Hr as k,
2907
2908
  Gu as l
2908
2909
  };