@midas-ds/components 10.3.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 (363) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-ChHpW8EW.js → AccordionItem-BqsgiVWV.js} +38 -36
  3. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  4. package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D7eoibWk.js} +77 -65
  5. package/{Button-BoJl6JGM.cjs → Button-BXY5ZhqI.cjs} +1 -1
  6. package/{Button-Csih3v23.js → Button-BZUo7vsZ.js} +1 -1
  7. package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
  8. package/Button-DExMoP5f.cjs +1 -0
  9. package/CHANGELOG.md +28 -0
  10. package/{Card-yrtGzt70.js → Card-BaWSgtSF.js} +3 -3
  11. package/{Card-0G0mj9q5.cjs → Card-Cc1TNPcQ.cjs} +1 -1
  12. package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  13. package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
  14. package/Checkbox-Co3h0hur.cjs +1 -0
  15. package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
  16. package/CheckboxGroup-CUA8_xSx.js +160 -0
  17. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  18. package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
  19. package/Collection-BtBX5IMY.cjs +1 -0
  20. package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-Cwono7Ap.js} +51 -35
  21. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  22. package/ComboBox-BBC7jhnm.cjs +1 -0
  23. package/{ComboBox-CVDyp2a-.js → ComboBox-HLIAbb2q.js} +309 -298
  24. package/{DateField-DeDhiYnW.cjs → DateField-B3VjOSde.cjs} +1 -1
  25. package/{DateField-DhU3q-rG.js → DateField-CnLEi7uX.js} +4 -4
  26. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  27. package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
  28. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  29. package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-CFOoGvut.js} +86 -83
  30. package/Dialog-CSnN6baf.cjs +1 -0
  31. package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
  32. package/Dialog-SqciohRY.js +221 -0
  33. package/Dialog-pSSy1zwf.cjs +1 -0
  34. package/DragAndDrop-BoEd260f.cjs +1 -0
  35. package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
  36. package/{Dropdown-Df58j43I.js → Dropdown-CkBp70BH.js} +2 -2
  37. package/{Dropdown-CJ6My6EI.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  38. package/FieldError-B3YFj-an.js +23 -0
  39. package/FieldError-BbR-29BM.js +28 -0
  40. package/FieldError-MVsU-Mgw.cjs +1 -0
  41. package/FieldError-bRTpchvr.cjs +1 -0
  42. package/{FileUpload-D6qoEAjn.js → FileUpload-B4rv-wke.js} +496 -475
  43. package/{FileUpload-CxCOtyB9.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  44. package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
  45. package/FocusScope-vcXLOQiu.cjs +1 -0
  46. package/Group-CpkUzEAs.js +45 -0
  47. package/Group-DOpbdoAi.cjs +1 -0
  48. package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
  49. package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
  50. package/{InfoBanner-BLM-TJJ6.js → InfoBanner-CBUoad7A.js} +47 -39
  51. package/InfoBanner-CVry6Y8i.cjs +1 -0
  52. package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
  53. package/Input-MJji5hhq.cjs +1 -0
  54. package/Label-CNmTN1YY.cjs +1 -0
  55. package/Label-TVxwGZ-O.js +78 -0
  56. package/Layout-Dw-oCqxd.cjs +16 -0
  57. package/Layout-amz9BESl.js +498 -0
  58. package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
  59. package/Link-CidjjqHb.cjs +1 -0
  60. package/{Link-B88l_oaE.cjs → Link-D92ftFi2.cjs} +1 -1
  61. package/{Link-DX5BbBnn.js → Link-DegonJfl.js} +1 -1
  62. package/{LinkButton-o6uS1XsR.js → LinkButton-CckYzfJ8.js} +1 -1
  63. package/{LinkButton-CBpGLETx.cjs → LinkButton-DKZ4z6zu.cjs} +1 -1
  64. package/ListBox-BCz5-23H.cjs +1 -0
  65. package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
  66. package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
  67. package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  68. package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
  69. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  70. package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
  71. package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
  72. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  73. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  74. package/Logo-BpH0HC91.cjs +1 -0
  75. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  76. package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
  77. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  78. package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
  79. package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
  80. package/{ProgressBar-DMSg-Prr.js → ProgressBar-BNCjpcv8.js} +2 -2
  81. package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-CcbxcWdT.cjs} +1 -1
  82. package/Radio-B2zfEFdq.cjs +1 -0
  83. package/{Radio-Cz29wPXd.js → Radio-CZYibh9r.js} +50 -47
  84. package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-B16b6tJD.js} +304 -293
  85. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  86. package/SSRProvider-40TXmsUG.js +50 -0
  87. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  88. package/SearchField-CML0kjtn.cjs +6 -0
  89. package/{SearchField-IlvZ3Kh6.js → SearchField-giwECmXS.js} +175 -166
  90. package/Select-DKey6CeS.cjs +1 -0
  91. package/Select-mwaAv20X.js +665 -0
  92. package/SelectionManager-D0jYUYcy.cjs +1 -0
  93. package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
  94. package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
  95. package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
  96. package/Spinner-CbJ6YAz-.js +53 -0
  97. package/Spinner-yHcy8YHC.cjs +6 -0
  98. package/TabList-7VtCiXxX.cjs +1 -0
  99. package/TabList-CthsM5h6.js +435 -0
  100. package/{Table-F4oYBtUM.js → Table-BcQPvJT3.js} +46 -44
  101. package/Table-DkvNp6xm.cjs +16 -0
  102. package/{Tag-Du7GvSv2.js → Tag-Bs8T2Ei7.js} +131 -129
  103. package/Tag-CFWZ2LQW.cjs +1 -0
  104. package/Text-92cPh38G.js +15 -0
  105. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  106. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  107. package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
  108. package/TextArea-DBNAVWqL.js +119 -0
  109. package/TextArea-XJDfeXRs.cjs +1 -0
  110. package/TextField-BdK9KEQ5.cjs +1 -0
  111. package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
  112. package/{Toast-Btg21Xge.js → Toast-DPPvPhrF.js} +75 -68
  113. package/Toast-l1bKo2oA.cjs +1 -0
  114. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  115. package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-HOWNWtQZ.js} +46 -45
  116. package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
  117. package/Tooltip-pN5W3IK6.cjs +1 -0
  118. package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
  119. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  120. package/accordion/index.cjs +1 -1
  121. package/accordion/index.js +1 -1
  122. package/assets/Checkbox.css +1 -1
  123. package/assets/FileUpload.css +1 -1
  124. package/assets/RangeCalendar.css +1 -1
  125. package/assets/SearchField.css +1 -1
  126. package/assets/Spinner.css +1 -1
  127. package/assets/TabList.css +1 -0
  128. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  129. package/breadcrumbs/index.cjs +1 -1
  130. package/breadcrumbs/index.d.ts +1 -1
  131. package/breadcrumbs/index.js +1 -1
  132. package/button/index.cjs +1 -1
  133. package/button/index.js +1 -1
  134. package/calendar/CalendarGrid.d.ts +1 -0
  135. package/calendar/index.cjs +1 -1
  136. package/calendar/index.js +1 -1
  137. package/card/index.cjs +1 -1
  138. package/card/index.js +1 -1
  139. package/character-counter/index.cjs +1 -1
  140. package/character-counter/index.js +1 -1
  141. package/checkbox/Checkbox.d.ts +3 -1
  142. package/checkbox/index.cjs +1 -1
  143. package/checkbox/index.js +2 -2
  144. package/checkbox/intl/translations.json.d.ts +2 -30
  145. package/checkbox/types.d.ts +3 -1
  146. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  150. package/combobox/index.cjs +1 -1
  151. package/combobox/index.js +1 -1
  152. package/combobox/intl/translations.json.d.ts +11 -0
  153. package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
  154. package/context-Df3XbgBG.cjs +1 -0
  155. package/date-field/index.cjs +1 -1
  156. package/date-field/index.js +2 -2
  157. package/date-picker/index.cjs +1 -1
  158. package/date-picker/index.js +1 -1
  159. package/dropdown/index.cjs +1 -1
  160. package/dropdown/index.js +1 -1
  161. package/field-error/index.cjs +1 -1
  162. package/field-error/index.js +1 -1
  163. package/file-upload/FileUpload.d.ts +1 -0
  164. package/file-upload/index.cjs +1 -1
  165. package/file-upload/index.js +1 -1
  166. package/file-upload/intl/translations.json.d.ts +17 -0
  167. package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
  168. package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  169. package/heading/index.cjs +1 -1
  170. package/heading/index.js +1 -1
  171. package/index.cjs +1 -1
  172. package/index.js +100 -97
  173. package/info-banner/index.cjs +1 -1
  174. package/info-banner/index.js +1 -1
  175. package/info-banner/intl/translations.json.d.ts +11 -0
  176. package/label/index.cjs +1 -1
  177. package/label/index.js +1 -1
  178. package/label/intl/translations.json.d.ts +11 -0
  179. package/layout/Layout.d.ts +1 -0
  180. package/layout/context/LayoutContext.d.ts +1 -0
  181. package/layout/index.cjs +1 -1
  182. package/layout/index.js +1 -1
  183. package/layout/intl/translations.json.d.ts +23 -0
  184. package/link/index.cjs +1 -1
  185. package/link/index.js +2 -2
  186. package/link-button/index.cjs +1 -1
  187. package/link-button/index.js +2 -2
  188. package/list-box/index.cjs +1 -1
  189. package/list-box/index.js +2 -2
  190. package/logo/index.cjs +1 -1
  191. package/logo/index.js +1 -1
  192. package/logo/intl/translations.json.d.ts +11 -0
  193. package/mergeProps-B5KXZAI3.cjs +1 -0
  194. package/mergeProps-C1U1OIeJ.js +115 -0
  195. package/modal/index.cjs +1 -1
  196. package/modal/index.js +2 -2
  197. package/modal/intl/translations.json.d.ts +11 -0
  198. package/package.json +1 -1
  199. package/popover/index.cjs +1 -1
  200. package/popover/index.js +1 -1
  201. package/progress-bar/index.cjs +1 -1
  202. package/progress-bar/index.js +1 -1
  203. package/radio/Radio.d.ts +1 -4
  204. package/radio/index.cjs +1 -1
  205. package/radio/index.js +1 -1
  206. package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
  207. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  208. package/search-field/index.cjs +1 -1
  209. package/search-field/index.js +1 -1
  210. package/search-field/intl/translations.json.d.ts +11 -0
  211. package/select/index.cjs +1 -1
  212. package/select/index.js +1 -1
  213. package/select/intl/translations.json.d.ts +17 -0
  214. package/spinner/Spinner.d.ts +1 -0
  215. package/spinner/index.cjs +1 -1
  216. package/spinner/index.js +1 -1
  217. package/spinner/intl/translations.json.d.ts +11 -0
  218. package/table/index.cjs +1 -1
  219. package/table/index.js +1 -1
  220. package/tabs/Tab.d.ts +4 -0
  221. package/tabs/TabList.d.ts +3 -0
  222. package/tabs/TabPanel.d.ts +4 -0
  223. package/tabs/Tabs.d.ts +11 -5
  224. package/tabs/index.cjs +1 -1
  225. package/tabs/index.d.ts +3 -0
  226. package/tabs/index.js +5 -2
  227. package/tag/index.cjs +1 -1
  228. package/tag/index.js +1 -1
  229. package/text/index.cjs +1 -1
  230. package/text/index.js +1 -1
  231. package/textfield/index.cjs +1 -1
  232. package/textfield/index.js +1 -1
  233. package/textfield/intl/translations.json.d.ts +0 -72
  234. package/theme/index.cjs +1 -1
  235. package/theme/index.d.ts +5 -0
  236. package/theme/index.js +2 -2
  237. package/theme/tokens.d.ts +5 -0
  238. package/toast/Toast.d.ts +5 -2
  239. package/toast/index.cjs +1 -1
  240. package/toast/index.js +1 -1
  241. package/toggle-button/index.cjs +1 -1
  242. package/toggle-button/index.js +1 -1
  243. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  244. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  245. package/tooltip/index.cjs +1 -1
  246. package/tooltip/index.js +1 -1
  247. package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
  248. package/useButton-D60q0SQw.cjs +1 -0
  249. package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  250. package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
  251. package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
  252. package/useEvent-DPxMu-X9.cjs +1 -0
  253. package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
  254. package/useField-D1UkzeaI.cjs +1 -0
  255. package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
  256. package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
  257. package/useFocusRing-B-A1OLhU.cjs +1 -0
  258. package/useFocusRing-DOfBqnUN.js +33 -0
  259. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  260. package/useFocusWithin-T1ifEM_s.js +54 -0
  261. package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
  262. package/useFocusable-D7I1ujkW.cjs +1 -0
  263. package/useFormValidation-BlFGdPZB.cjs +1 -0
  264. package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
  265. package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  266. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  267. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  268. package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
  269. package/useHover-BE_XKZKe.cjs +1 -0
  270. package/useHover-DQvJ3Y-W.js +262 -0
  271. package/useLabels-CSU0kbtJ.cjs +1 -0
  272. package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
  273. package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
  274. package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
  275. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  276. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  277. package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
  278. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  279. package/usePress-BooY_CAy.cjs +7 -0
  280. package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
  281. package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  282. package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  283. package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
  284. package/useTextField-DnRrCg5o.cjs +1 -0
  285. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  286. package/utils-CoCR_Fce.js +234 -0
  287. package/utils-DHNZrQmj.cjs +1 -0
  288. package/utils-DJhAJHk_.js +152 -0
  289. package/utils-Dvdohqm9.cjs +1 -0
  290. package/AccordionItem-BGWiWjxA.cjs +0 -1
  291. package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
  292. package/Button-htW9qIsS.cjs +0 -1
  293. package/Checkbox-DqcPg5hz.cjs +0 -1
  294. package/CheckboxGroup-BBrSMuDY.cjs +0 -1
  295. package/CheckboxGroup-CLgixk2p.js +0 -243
  296. package/Collection-BIDsXNhi.cjs +0 -1
  297. package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
  298. package/ComboBox-CWJUg9Xx.cjs +0 -1
  299. package/DateInputDivider-ADvOavHw.cjs +0 -1
  300. package/DateRangePicker-BsAHhy99.cjs +0 -6
  301. package/Dialog-B8GTYbvu.cjs +0 -1
  302. package/Dialog-BOrYdX50.cjs +0 -1
  303. package/Dialog-CXNu48AC.js +0 -208
  304. package/DragAndDrop-DNth776R.cjs +0 -1
  305. package/FieldError-CAcjosk_.js +0 -46
  306. package/FieldError-CKBb2-mp.cjs +0 -1
  307. package/FocusScope-5c9SVBcR.cjs +0 -1
  308. package/Group-B6EslsHZ.js +0 -44
  309. package/Group-CgiqQHH1.cjs +0 -1
  310. package/InfoBanner-C2kTIsrB.cjs +0 -1
  311. package/Input-DKSAYvsw.cjs +0 -1
  312. package/Label-7Ybb99CE.cjs +0 -1
  313. package/Label-BwJrdqEE.js +0 -70
  314. package/Layout-1g6bMH62.cjs +0 -16
  315. package/Layout-Ey8flY7E.js +0 -468
  316. package/Link-BQhauBuw.cjs +0 -1
  317. package/ListBox-DP9M4H6R.cjs +0 -1
  318. package/ListBoxSection-BGaigBnG.cjs +0 -1
  319. package/Logo-DT2_2O43.cjs +0 -1
  320. package/OverlayArrow-D75k-EMl.cjs +0 -1
  321. package/Radio-BwqrdhQE.cjs +0 -1
  322. package/RangeCalendar-BehUaydF.cjs +0 -11
  323. package/SearchField-CxMwDeUM.cjs +0 -6
  324. package/Select-2q1iSzAX.cjs +0 -1
  325. package/Select-BVQZtoi9.js +0 -646
  326. package/SelectionManager-CwYux2h3.cjs +0 -1
  327. package/Spinner-D31SXm-U.js +0 -41
  328. package/Spinner-P35rvvsl.cjs +0 -6
  329. package/Table-B40CGLT-.cjs +0 -16
  330. package/Tabs-B4oZJkZG.js +0 -404
  331. package/Tabs-DA2qXhzb.cjs +0 -1
  332. package/Tag-DPAGmcMK.cjs +0 -1
  333. package/Text-BoXuUVVH.js +0 -15
  334. package/TextArea-C7JZ_pQd.cjs +0 -1
  335. package/TextArea-XeBCSyzl.js +0 -191
  336. package/TextField-BgNdhZi_.cjs +0 -1
  337. package/Toast-AbDA1BOs.cjs +0 -1
  338. package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
  339. package/Tooltip-DeBuBKhS.cjs +0 -1
  340. package/VisuallyHidden-CLWHbz2n.cjs +0 -1
  341. package/assets/Tabs.css +0 -1
  342. package/context-DjwhtgxQ.cjs +0 -1
  343. package/scrollIntoView-C8doLzDd.cjs +0 -1
  344. package/useButton-cpNi-fY4.cjs +0 -1
  345. package/useEvent-DxBxMX2V.cjs +0 -1
  346. package/useField-CXKYU74k.cjs +0 -1
  347. package/useFocusRing-CbImDrwF.cjs +0 -1
  348. package/useFocusRing-XnR3cZjO.js +0 -82
  349. package/useFocusable-NUVSFcRC.cjs +0 -1
  350. package/useFormValidation-ClximP89.cjs +0 -1
  351. package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
  352. package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
  353. package/useHover-DjIHtjGN.js +0 -490
  354. package/useHover-_mv5J4_q.cjs +0 -1
  355. package/useLabels-BLOfc6Y-.cjs +0 -1
  356. package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
  357. package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
  358. package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
  359. package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
  360. package/usePress-0AjDbW9R.cjs +0 -7
  361. package/useTextField--czJtyNd.cjs +0 -1
  362. package/utils-BNtZbAib.cjs +0 -1
  363. package/utils-DIMfEPAt.js +0 -308
@@ -1,24 +1,25 @@
1
- import { w as Ee, u as me, t as V, x as Ke, v as oe, y as le, d as O, b as Se, h as xe, i as we, g as p, f as d, z as ke, A as q, B as J, a as G } from "./useHover-DjIHtjGN.js";
2
- import { d as _e, e as Oe } from "./useFocusable-C8uh8K4g.js";
3
- import fe, { useMemo as ce, createContext as Me, useContext as ue, useState as Ce, useRef as Ae, useEffect as Q } from "react";
4
- import { f as k, c as de, n as Ie } from "./utils-DIMfEPAt.js";
1
+ import { m as oe, b as O, $ as Ee, f as me, g as Ke, e as p, d, n as q, h as V } from "./utils-CoCR_Fce.js";
2
+ import { d as Se, e as xe } from "./useFocusable-ChPA2Jc7.js";
3
+ import { j as we, i as ke, h as G, k as _e, l as le, m as Oe, n as J } from "./useHover-DQvJ3Y-W.js";
4
+ import fe, { useMemo as ce, createContext as Me, useContext as ue, useState as Ce, useRef as Ie, useEffect as Q } from "react";
5
+ import { d as k, a as de, e as Ae } from "./mergeProps-C1U1OIeJ.js";
5
6
  import { flushSync as Le } from "react-dom";
6
7
  const pe = /* @__PURE__ */ Me({
7
8
  isNative: !0,
8
9
  open: De,
9
10
  useHref: (t) => t
10
11
  });
11
- function et(t) {
12
- let { children: n, navigate: a, useHref: o } = t, c = ce(() => ({
12
+ function tt(t) {
13
+ let { children: n, navigate: i, useHref: o } = t, c = ce(() => ({
13
14
  isNative: !1,
14
15
  open: (g, y, $, P) => {
15
16
  ge(g, (b) => {
16
- Ue(b, y) ? a($, P) : M(b, y);
17
+ Ue(b, y) ? i($, P) : M(b, y);
17
18
  });
18
19
  },
19
20
  useHref: o || ((g) => g)
20
21
  }), [
21
- a,
22
+ i,
22
23
  o
23
24
  ]);
24
25
  return /* @__PURE__ */ fe.createElement(pe.Provider, {
@@ -29,17 +30,17 @@ function ve() {
29
30
  return ue(pe);
30
31
  }
31
32
  function Ue(t, n) {
32
- let a = t.getAttribute("target");
33
- return (!a || a === "_self") && t.origin === location.origin && !t.hasAttribute("download") && !n.metaKey && // open in new tab (mac)
33
+ let i = t.getAttribute("target");
34
+ return (!i || i === "_self") && t.origin === location.origin && !t.hasAttribute("download") && !n.metaKey && // open in new tab (mac)
34
35
  !n.ctrlKey && // open in new tab (windows)
35
36
  !n.altKey && // download
36
37
  !n.shiftKey;
37
38
  }
38
- function M(t, n, a = !0) {
39
+ function M(t, n, i = !0) {
39
40
  var o, c;
40
41
  let { metaKey: g, ctrlKey: y, altKey: $, shiftKey: P } = n;
41
- Ee() && (!((c = window.event) === null || c === void 0 || (o = c.type) === null || o === void 0) && o.startsWith("key")) && t.target === "_blank" && (V() ? g = !0 : y = !0);
42
- let b = me() && V() && !Ke() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
42
+ we() && (!((c = window.event) === null || c === void 0 || (o = c.type) === null || o === void 0) && o.startsWith("key")) && t.target === "_blank" && (G() ? g = !0 : y = !0);
43
+ let b = ke() && G() && !_e() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
43
44
  keyIdentifier: "Enter",
44
45
  metaKey: g,
45
46
  ctrlKey: y,
@@ -53,23 +54,23 @@ function M(t, n, a = !0) {
53
54
  bubbles: !0,
54
55
  cancelable: !0
55
56
  });
56
- M.isOpening = a, oe(t), t.dispatchEvent(b), M.isOpening = !1;
57
+ M.isOpening = i, oe(t), t.dispatchEvent(b), M.isOpening = !1;
57
58
  }
58
59
  M.isOpening = !1;
59
60
  function ge(t, n) {
60
61
  if (t instanceof HTMLAnchorElement) n(t);
61
62
  else if (t.hasAttribute("data-href")) {
62
- let a = document.createElement("a");
63
- a.href = t.getAttribute("data-href"), t.hasAttribute("data-target") && (a.target = t.getAttribute("data-target")), t.hasAttribute("data-rel") && (a.rel = t.getAttribute("data-rel")), t.hasAttribute("data-download") && (a.download = t.getAttribute("data-download")), t.hasAttribute("data-ping") && (a.ping = t.getAttribute("data-ping")), t.hasAttribute("data-referrer-policy") && (a.referrerPolicy = t.getAttribute("data-referrer-policy")), t.appendChild(a), n(a), t.removeChild(a);
63
+ let i = document.createElement("a");
64
+ i.href = t.getAttribute("data-href"), t.hasAttribute("data-target") && (i.target = t.getAttribute("data-target")), t.hasAttribute("data-rel") && (i.rel = t.getAttribute("data-rel")), t.hasAttribute("data-download") && (i.download = t.getAttribute("data-download")), t.hasAttribute("data-ping") && (i.ping = t.getAttribute("data-ping")), t.hasAttribute("data-referrer-policy") && (i.referrerPolicy = t.getAttribute("data-referrer-policy")), t.appendChild(i), n(i), t.removeChild(i);
64
65
  }
65
66
  }
66
67
  function De(t, n) {
67
- ge(t, (a) => M(a, n));
68
+ ge(t, (i) => M(i, n));
68
69
  }
69
- function tt(t) {
70
+ function rt(t) {
70
71
  let n = ve();
71
- var a;
72
- const o = n.useHref((a = t.href) !== null && a !== void 0 ? a : "");
72
+ var i;
73
+ const o = n.useHref((i = t.href) !== null && i !== void 0 ? i : "");
73
74
  return {
74
75
  "data-href": t.href ? o : void 0,
75
76
  "data-target": t.target,
@@ -79,10 +80,10 @@ function tt(t) {
79
80
  "data-referrer-policy": t.referrerPolicy
80
81
  };
81
82
  }
82
- function rt(t) {
83
+ function nt(t) {
83
84
  let n = ve();
84
- var a;
85
- const o = n.useHref((a = t == null ? void 0 : t.href) !== null && a !== void 0 ? a : "");
85
+ var i;
86
+ const o = n.useHref((i = t == null ? void 0 : t.href) !== null && i !== void 0 ? i : "");
86
87
  return {
87
88
  href: t != null && t.href ? o : void 0,
88
89
  target: t == null ? void 0 : t.target,
@@ -92,14 +93,14 @@ function rt(t) {
92
93
  referrerPolicy: t == null ? void 0 : t.referrerPolicy
93
94
  };
94
95
  }
95
- let A = "default", z = "", Y = /* @__PURE__ */ new WeakMap();
96
+ let I = "default", j = "", Y = /* @__PURE__ */ new WeakMap();
96
97
  function Z(t) {
97
98
  if (le()) {
98
- if (A === "default") {
99
+ if (I === "default") {
99
100
  const n = O(t);
100
- z = n.documentElement.style.webkitUserSelect, n.documentElement.style.webkitUserSelect = "none";
101
+ j = n.documentElement.style.webkitUserSelect, n.documentElement.style.webkitUserSelect = "none";
101
102
  }
102
- A = "disabled";
103
+ I = "disabled";
103
104
  } else if (t instanceof HTMLElement || t instanceof SVGElement) {
104
105
  let n = "userSelect" in t.style ? "userSelect" : "webkitUserSelect";
105
106
  Y.set(t, t.style[n]), t.style[n] = "none";
@@ -107,18 +108,18 @@ function Z(t) {
107
108
  }
108
109
  function F(t) {
109
110
  if (le()) {
110
- if (A !== "disabled") return;
111
- A = "restoring", setTimeout(() => {
112
- _e(() => {
113
- if (A === "restoring") {
111
+ if (I !== "disabled") return;
112
+ I = "restoring", setTimeout(() => {
113
+ Se(() => {
114
+ if (I === "restoring") {
114
115
  const n = O(t);
115
- n.documentElement.style.webkitUserSelect === "none" && (n.documentElement.style.webkitUserSelect = z || ""), z = "", A = "default";
116
+ n.documentElement.style.webkitUserSelect === "none" && (n.documentElement.style.webkitUserSelect = j || ""), j = "", I = "default";
116
117
  }
117
118
  });
118
119
  }, 300);
119
120
  } else if ((t instanceof HTMLElement || t instanceof SVGElement) && t && Y.has(t)) {
120
- let n = Y.get(t), a = "userSelect" in t.style ? "userSelect" : "webkitUserSelect";
121
- t.style[a] === "none" && (t.style[a] = n), t.getAttribute("style") === "" && t.removeAttribute("style"), Y.delete(t);
121
+ let n = Y.get(t), i = "userSelect" in t.style ? "userSelect" : "webkitUserSelect";
122
+ t.style[i] === "none" && (t.style[i] = n), t.getAttribute("style") === "" && t.removeAttribute("style"), Y.delete(t);
122
123
  }
123
124
  }
124
125
  const ye = fe.createContext({
@@ -129,40 +130,40 @@ ye.displayName = "PressResponderContext";
129
130
  function He(t, n) {
130
131
  return n.get ? n.get.call(t) : n.value;
131
132
  }
132
- function $e(t, n, a) {
133
- if (!n.has(t)) throw new TypeError("attempted to " + a + " private field on non-instance");
133
+ function $e(t, n, i) {
134
+ if (!n.has(t)) throw new TypeError("attempted to " + i + " private field on non-instance");
134
135
  return n.get(t);
135
136
  }
136
137
  function Ye(t, n) {
137
- var a = $e(t, n, "get");
138
- return He(t, a);
138
+ var i = $e(t, n, "get");
139
+ return He(t, i);
139
140
  }
140
141
  function Xe(t, n) {
141
142
  if (n.has(t))
142
143
  throw new TypeError("Cannot initialize the same private elements twice on an object");
143
144
  }
144
- function Re(t, n, a) {
145
- Xe(t, n), n.set(t, a);
145
+ function Re(t, n, i) {
146
+ Xe(t, n), n.set(t, i);
146
147
  }
147
- function Ne(t, n, a) {
148
- if (n.set) n.set.call(t, a);
148
+ function Ne(t, n, i) {
149
+ if (n.set) n.set.call(t, i);
149
150
  else {
150
151
  if (!n.writable)
151
152
  throw new TypeError("attempted to set read only private field");
152
- n.value = a;
153
+ n.value = i;
153
154
  }
154
155
  }
155
- function ee(t, n, a) {
156
+ function ee(t, n, i) {
156
157
  var o = $e(t, n, "set");
157
- return Ne(t, o, a), a;
158
+ return Ne(t, o, i), i;
158
159
  }
159
160
  function Fe(t) {
160
161
  let n = ue(ye);
161
162
  if (n) {
162
- let { register: a, ...o } = n;
163
- t = de(o, t), a();
163
+ let { register: i, ...o } = n;
164
+ t = de(o, t), i();
164
165
  }
165
- return Oe(n, t.ref), t;
166
+ return xe(n, t.ref), t;
166
167
  }
167
168
  var D = /* @__PURE__ */ new WeakMap();
168
169
  class H {
@@ -172,7 +173,7 @@ class H {
172
173
  get shouldStopPropagation() {
173
174
  return Ye(this, D);
174
175
  }
175
- constructor(n, a, o, c) {
176
+ constructor(n, i, o, c) {
176
177
  Re(this, D, {
177
178
  writable: !0,
178
179
  value: void 0
@@ -180,13 +181,13 @@ class H {
180
181
  var g;
181
182
  let y = (g = c == null ? void 0 : c.target) !== null && g !== void 0 ? g : o.currentTarget;
182
183
  const $ = y == null ? void 0 : y.getBoundingClientRect();
183
- let P, b = 0, I, T = null;
184
- o.clientX != null && o.clientY != null && (I = o.clientX, T = o.clientY), $ && (I != null && T != null ? (P = I - $.left, b = T - $.top) : (P = $.width / 2, b = $.height / 2)), this.type = n, this.pointerType = a, this.target = o.currentTarget, this.shiftKey = o.shiftKey, this.metaKey = o.metaKey, this.ctrlKey = o.ctrlKey, this.altKey = o.altKey, this.x = P, this.y = b;
184
+ let P, b = 0, A, T = null;
185
+ o.clientX != null && o.clientY != null && (A = o.clientX, T = o.clientY), $ && (A != null && T != null ? (P = A - $.left, b = T - $.top) : (P = $.width / 2, b = $.height / 2)), this.type = n, this.pointerType = i, this.target = o.currentTarget, this.shiftKey = o.shiftKey, this.metaKey = o.metaKey, this.ctrlKey = o.ctrlKey, this.altKey = o.altKey, this.x = P, this.y = b;
185
186
  }
186
187
  }
187
188
  const te = Symbol("linkClicked"), re = "react-aria-pressable-style", ne = "data-react-aria-pressable";
188
- function nt(t) {
189
- let { onPress: n, onPressChange: a, onPressStart: o, onPressEnd: c, onPressUp: g, onClick: y, isDisabled: $, isPressed: P, preventFocusOnPress: b, shouldCancelOnPointerExit: I, allowTextSelectionOnPress: T, ref: X, ...Te } = Fe(t), [he, j] = Ce(!1), C = Ae({
189
+ function it(t) {
190
+ let { onPress: n, onPressChange: i, onPressStart: o, onPressEnd: c, onPressUp: g, onClick: y, isDisabled: $, isPressed: P, preventFocusOnPress: b, shouldCancelOnPointerExit: A, allowTextSelectionOnPress: T, ref: X, ...Te } = Fe(t), [he, W] = Ce(!1), C = Ie({
190
191
  isPressed: !1,
191
192
  ignoreEmulatedMouseEvents: !1,
192
193
  didFirePressStart: !1,
@@ -196,36 +197,36 @@ function nt(t) {
196
197
  isOverTarget: !1,
197
198
  pointerType: null,
198
199
  disposables: []
199
- }), { addGlobalListener: x, removeAllGlobalListeners: L } = Se(), m = k((e, s) => {
200
+ }), { addGlobalListener: x, removeAllGlobalListeners: L } = Ee(), m = k((e, s) => {
200
201
  let v = C.current;
201
202
  if ($ || v.didFirePressStart) return !1;
202
- let i = !0;
203
+ let a = !0;
203
204
  if (v.isTriggeringEvent = !0, o) {
204
205
  let u = new H("pressstart", s, e);
205
- o(u), i = u.shouldStopPropagation;
206
+ o(u), a = u.shouldStopPropagation;
206
207
  }
207
- return a && a(!0), v.isTriggeringEvent = !1, v.didFirePressStart = !0, j(!0), i;
208
+ return i && i(!0), v.isTriggeringEvent = !1, v.didFirePressStart = !0, W(!0), a;
208
209
  }), E = k((e, s, v = !0) => {
209
- let i = C.current;
210
- if (!i.didFirePressStart) return !1;
211
- i.didFirePressStart = !1, i.isTriggeringEvent = !0;
210
+ let a = C.current;
211
+ if (!a.didFirePressStart) return !1;
212
+ a.didFirePressStart = !1, a.isTriggeringEvent = !0;
212
213
  let u = !0;
213
214
  if (c) {
214
215
  let r = new H("pressend", s, e);
215
216
  c(r), u = r.shouldStopPropagation;
216
217
  }
217
- if (a && a(!1), j(!1), n && v && !$) {
218
+ if (i && i(!1), W(!1), n && v && !$) {
218
219
  let r = new H("press", s, e);
219
220
  n(r), u && (u = r.shouldStopPropagation);
220
221
  }
221
- return i.isTriggeringEvent = !1, u;
222
+ return a.isTriggeringEvent = !1, u;
222
223
  }), w = k((e, s) => {
223
224
  let v = C.current;
224
225
  if ($) return !1;
225
226
  if (g) {
226
227
  v.isTriggeringEvent = !0;
227
- let i = new H("pressup", s, e);
228
- return g(i), v.isTriggeringEvent = !1, i.shouldStopPropagation;
228
+ let a = new H("pressup", s, e);
229
+ return g(a), v.isTriggeringEvent = !1, a.shouldStopPropagation;
229
230
  }
230
231
  return !0;
231
232
  }), h = k((e) => {
@@ -236,52 +237,52 @@ function nt(t) {
236
237
  s.disposables = [];
237
238
  }
238
239
  }), U = k((e) => {
239
- I && h(e);
240
+ A && h(e);
240
241
  }), R = k((e) => {
241
242
  y == null || y(e);
242
243
  }), N = k((e, s) => {
243
244
  if (y) {
244
245
  let v = new MouseEvent("click", e);
245
- xe(v, s), y(we(v));
246
+ me(v, s), y(Ke(v));
246
247
  }
247
248
  }), Pe = ce(() => {
248
249
  let e = C.current, s = {
249
- onKeyDown(i) {
250
- if (B(i.nativeEvent, i.currentTarget) && p(i.currentTarget, d(i.nativeEvent))) {
250
+ onKeyDown(a) {
251
+ if (B(a.nativeEvent, a.currentTarget) && p(a.currentTarget, d(a.nativeEvent))) {
251
252
  var u;
252
- se(d(i.nativeEvent), i.key) && i.preventDefault();
253
+ se(d(a.nativeEvent), a.key) && a.preventDefault();
253
254
  let r = !0;
254
- if (!e.isPressed && !i.repeat) {
255
- e.target = i.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = m(i, "keyboard");
256
- let l = i.currentTarget, f = (K) => {
255
+ if (!e.isPressed && !a.repeat) {
256
+ e.target = a.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = m(a, "keyboard");
257
+ let l = a.currentTarget, f = (K) => {
257
258
  B(K, l) && !K.repeat && p(l, d(K)) && e.target && w(_(e.target, K), "keyboard");
258
259
  };
259
- x(O(i.currentTarget), "keyup", Ie(f, v), !0);
260
+ x(O(a.currentTarget), "keyup", Ae(f, v), !0);
260
261
  }
261
- r && i.stopPropagation(), i.metaKey && V() && ((u = e.metaKeyEvents) === null || u === void 0 || u.set(i.key, i.nativeEvent));
262
- } else i.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
262
+ r && a.stopPropagation(), a.metaKey && G() && ((u = e.metaKeyEvents) === null || u === void 0 || u.set(a.key, a.nativeEvent));
263
+ } else a.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
263
264
  },
264
- onClick(i) {
265
- if (!(i && !p(i.currentTarget, d(i.nativeEvent))) && i && i.button === 0 && !e.isTriggeringEvent && !M.isOpening) {
265
+ onClick(a) {
266
+ if (!(a && !p(a.currentTarget, d(a.nativeEvent))) && a && a.button === 0 && !e.isTriggeringEvent && !M.isOpening) {
266
267
  let u = !0;
267
- if ($ && i.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || J(i.nativeEvent))) {
268
- let r = m(i, "virtual"), l = w(i, "virtual"), f = E(i, "virtual");
269
- R(i), u = r && l && f;
268
+ if ($ && a.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || J(a.nativeEvent))) {
269
+ let r = m(a, "virtual"), l = w(a, "virtual"), f = E(a, "virtual");
270
+ R(a), u = r && l && f;
270
271
  } else if (e.isPressed && e.pointerType !== "keyboard") {
271
- let r = e.pointerType || i.nativeEvent.pointerType || "virtual", l = w(_(i.currentTarget, i), r), f = E(_(i.currentTarget, i), r, !0);
272
- u = l && f, e.isOverTarget = !1, R(i), h(i);
272
+ let r = e.pointerType || a.nativeEvent.pointerType || "virtual", l = w(_(a.currentTarget, a), r), f = E(_(a.currentTarget, a), r, !0);
273
+ u = l && f, e.isOverTarget = !1, R(a), h(a);
273
274
  }
274
- e.ignoreEmulatedMouseEvents = !1, u && i.stopPropagation();
275
+ e.ignoreEmulatedMouseEvents = !1, u && a.stopPropagation();
275
276
  }
276
277
  }
277
- }, v = (i) => {
278
+ }, v = (a) => {
278
279
  var u;
279
- if (e.isPressed && e.target && B(i, e.target)) {
280
+ if (e.isPressed && e.target && B(a, e.target)) {
280
281
  var r;
281
- se(d(i), i.key) && i.preventDefault();
282
- let f = d(i), K = p(e.target, d(i));
283
- E(_(e.target, i), "keyboard", K), K && N(i, e.target), L(), i.key !== "Enter" && W(e.target) && p(e.target, f) && !i[te] && (i[te] = !0, M(e.target, i, !1)), e.isPressed = !1, (r = e.metaKeyEvents) === null || r === void 0 || r.delete(i.key);
284
- } else if (i.key === "Meta" && (!((u = e.metaKeyEvents) === null || u === void 0) && u.size)) {
282
+ se(d(a), a.key) && a.preventDefault();
283
+ let f = d(a), K = p(e.target, d(a));
284
+ E(_(e.target, a), "keyboard", K), K && N(a, e.target), L(), a.key !== "Enter" && z(e.target) && p(e.target, f) && !a[te] && (a[te] = !0, M(e.target, a, !1)), e.isPressed = !1, (r = e.metaKeyEvents) === null || r === void 0 || r.delete(a.key);
285
+ } else if (a.key === "Meta" && (!((u = e.metaKeyEvents) === null || u === void 0) && u.size)) {
285
286
  var l;
286
287
  let f = e.metaKeyEvents;
287
288
  e.metaKeyEvents = void 0;
@@ -291,7 +292,7 @@ function nt(t) {
291
292
  if (typeof PointerEvent < "u") {
292
293
  s.onPointerDown = (r) => {
293
294
  if (r.button !== 0 || !p(r.currentTarget, d(r.nativeEvent))) return;
294
- if (ke(r.nativeEvent)) {
295
+ if (Oe(r.nativeEvent)) {
295
296
  e.pointerType = "virtual";
296
297
  return;
297
298
  }
@@ -300,7 +301,7 @@ function nt(t) {
300
301
  if (!e.isPressed) {
301
302
  e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = r.pointerId, e.target = r.currentTarget, T || Z(e.target), l = m(r, e.pointerType);
302
303
  let f = d(r.nativeEvent);
303
- "releasePointerCapture" in f && f.releasePointerCapture(r.pointerId), x(O(r.currentTarget), "pointerup", i, !1), x(O(r.currentTarget), "pointercancel", u, !1);
304
+ "releasePointerCapture" in f && f.releasePointerCapture(r.pointerId), x(O(r.currentTarget), "pointerup", a, !1), x(O(r.currentTarget), "pointercancel", u, !1);
304
305
  }
305
306
  l && r.stopPropagation();
306
307
  }, s.onMouseDown = (r) => {
@@ -318,7 +319,7 @@ function nt(t) {
318
319
  }, s.onPointerLeave = (r) => {
319
320
  r.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, E(_(e.target, r), e.pointerType, !1), U(r));
320
321
  };
321
- let i = (r) => {
322
+ let a = (r) => {
322
323
  if (r.pointerId === e.activePointerId && e.isPressed && r.button === 0 && e.target) {
323
324
  if (p(e.target, d(r)) && e.pointerType != null) {
324
325
  let l = !1, f = setTimeout(() => {
@@ -345,7 +346,7 @@ function nt(t) {
345
346
  let f = q(r.target);
346
347
  f && e.disposables.push(f);
347
348
  }
348
- x(O(r.currentTarget), "mouseup", i, !1);
349
+ x(O(r.currentTarget), "mouseup", a, !1);
349
350
  }, s.onMouseEnter = (r) => {
350
351
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
351
352
  let l = !0;
@@ -357,7 +358,7 @@ function nt(t) {
357
358
  }, s.onMouseUp = (r) => {
358
359
  p(r.currentTarget, d(r.nativeEvent)) && !e.ignoreEmulatedMouseEvents && r.button === 0 && !e.isPressed && w(r, e.pointerType || "mouse");
359
360
  };
360
- let i = (r) => {
361
+ let a = (r) => {
361
362
  if (r.button === 0) {
362
363
  if (e.ignoreEmulatedMouseEvents) {
363
364
  e.ignoreEmulatedMouseEvents = !1;
@@ -370,23 +371,23 @@ function nt(t) {
370
371
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
371
372
  let l = Be(r.nativeEvent);
372
373
  if (!l) return;
373
- e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(S(e.target, r), e.pointerType) && r.stopPropagation(), x(G(r.currentTarget), "scroll", u, !0);
374
+ e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(S(e.target, r), e.pointerType) && r.stopPropagation(), x(V(r.currentTarget), "scroll", u, !0);
374
375
  }, s.onTouchMove = (r) => {
375
376
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
376
377
  if (!e.isPressed) {
377
378
  r.stopPropagation();
378
379
  return;
379
380
  }
380
- let l = ae(r.nativeEvent, e.activePointerId), f = !0;
381
- l && ie(l, r.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, f = m(S(e.target, r), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, f = E(S(e.target, r), e.pointerType, !1), U(S(e.target, r))), f && r.stopPropagation();
381
+ let l = ie(r.nativeEvent, e.activePointerId), f = !0;
382
+ l && ae(l, r.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, f = m(S(e.target, r), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, f = E(S(e.target, r), e.pointerType, !1), U(S(e.target, r))), f && r.stopPropagation();
382
383
  }, s.onTouchEnd = (r) => {
383
384
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
384
385
  if (!e.isPressed) {
385
386
  r.stopPropagation();
386
387
  return;
387
388
  }
388
- let l = ae(r.nativeEvent, e.activePointerId), f = !0;
389
- l && ie(l, r.currentTarget) && e.pointerType != null ? (w(S(e.target, r), e.pointerType), f = E(S(e.target, r), e.pointerType), N(r.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (f = E(S(e.target, r), e.pointerType, !1)), f && r.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !T && F(e.target), L();
389
+ let l = ie(r.nativeEvent, e.activePointerId), f = !0;
390
+ l && ae(l, r.currentTarget) && e.pointerType != null ? (w(S(e.target, r), e.pointerType), f = E(S(e.target, r), e.pointerType), N(r.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (f = E(S(e.target, r), e.pointerType, !1)), f && r.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !T && F(e.target), L();
390
391
  }, s.onTouchCancel = (r) => {
391
392
  p(r.currentTarget, d(r.nativeEvent)) && (r.stopPropagation(), e.isPressed && h(S(e.target, r)));
392
393
  };
@@ -449,73 +450,73 @@ function nt(t) {
449
450
  })
450
451
  };
451
452
  }
452
- function W(t) {
453
+ function z(t) {
453
454
  return t.tagName === "A" && t.hasAttribute("href");
454
455
  }
455
456
  function B(t, n) {
456
- const { key: a, code: o } = t, c = n, g = c.getAttribute("role");
457
- return (a === "Enter" || a === " " || a === "Spacebar" || o === "Space") && !(c instanceof G(c).HTMLInputElement && !be(c, a) || c instanceof G(c).HTMLTextAreaElement || c.isContentEditable) && // Links should only trigger with Enter key
458
- !((g === "link" || !g && W(c)) && a !== "Enter");
457
+ const { key: i, code: o } = t, c = n, g = c.getAttribute("role");
458
+ return (i === "Enter" || i === " " || i === "Spacebar" || o === "Space") && !(c instanceof V(c).HTMLInputElement && !be(c, i) || c instanceof V(c).HTMLTextAreaElement || c.isContentEditable) && // Links should only trigger with Enter key
459
+ !((g === "link" || !g && z(c)) && i !== "Enter");
459
460
  }
460
461
  function Be(t) {
461
462
  const { targetTouches: n } = t;
462
463
  return n.length > 0 ? n[0] : null;
463
464
  }
464
- function ae(t, n) {
465
- const a = t.changedTouches;
466
- for (let o = 0; o < a.length; o++) {
467
- const c = a[o];
465
+ function ie(t, n) {
466
+ const i = t.changedTouches;
467
+ for (let o = 0; o < i.length; o++) {
468
+ const c = i[o];
468
469
  if (c.identifier === n) return c;
469
470
  }
470
471
  return null;
471
472
  }
472
473
  function S(t, n) {
473
- let a = 0, o = 0;
474
- return n.targetTouches && n.targetTouches.length === 1 && (a = n.targetTouches[0].clientX, o = n.targetTouches[0].clientY), {
474
+ let i = 0, o = 0;
475
+ return n.targetTouches && n.targetTouches.length === 1 && (i = n.targetTouches[0].clientX, o = n.targetTouches[0].clientY), {
475
476
  currentTarget: t,
476
477
  shiftKey: n.shiftKey,
477
478
  ctrlKey: n.ctrlKey,
478
479
  metaKey: n.metaKey,
479
480
  altKey: n.altKey,
480
- clientX: a,
481
+ clientX: i,
481
482
  clientY: o
482
483
  };
483
484
  }
484
485
  function _(t, n) {
485
- let a = n.clientX, o = n.clientY;
486
+ let i = n.clientX, o = n.clientY;
486
487
  return {
487
488
  currentTarget: t,
488
489
  shiftKey: n.shiftKey,
489
490
  ctrlKey: n.ctrlKey,
490
491
  metaKey: n.metaKey,
491
492
  altKey: n.altKey,
492
- clientX: a,
493
+ clientX: i,
493
494
  clientY: o
494
495
  };
495
496
  }
496
497
  function Ve(t) {
497
- let n = 0, a = 0;
498
- return t.width !== void 0 ? n = t.width / 2 : t.radiusX !== void 0 && (n = t.radiusX), t.height !== void 0 ? a = t.height / 2 : t.radiusY !== void 0 && (a = t.radiusY), {
499
- top: t.clientY - a,
498
+ let n = 0, i = 0;
499
+ return t.width !== void 0 ? n = t.width / 2 : t.radiusX !== void 0 && (n = t.radiusX), t.height !== void 0 ? i = t.height / 2 : t.radiusY !== void 0 && (i = t.radiusY), {
500
+ top: t.clientY - i,
500
501
  right: t.clientX + n,
501
- bottom: t.clientY + a,
502
+ bottom: t.clientY + i,
502
503
  left: t.clientX - n
503
504
  };
504
505
  }
505
506
  function Ge(t, n) {
506
507
  return !(t.left > n.right || n.left > t.right || t.top > n.bottom || n.top > t.bottom);
507
508
  }
508
- function ie(t, n) {
509
- let a = n.getBoundingClientRect(), o = Ve(t);
510
- return Ge(a, o);
509
+ function ae(t, n) {
510
+ let i = n.getBoundingClientRect(), o = Ve(t);
511
+ return Ge(i, o);
511
512
  }
512
- function ze(t) {
513
- return t instanceof HTMLInputElement ? !1 : t instanceof HTMLButtonElement ? t.type !== "submit" && t.type !== "reset" : !W(t);
513
+ function je(t) {
514
+ return t instanceof HTMLInputElement ? !1 : t instanceof HTMLButtonElement ? t.type !== "submit" && t.type !== "reset" : !z(t);
514
515
  }
515
516
  function se(t, n) {
516
- return t instanceof HTMLInputElement ? !be(t, n) : ze(t);
517
+ return t instanceof HTMLInputElement ? !be(t, n) : je(t);
517
518
  }
518
- const We = /* @__PURE__ */ new Set([
519
+ const ze = /* @__PURE__ */ new Set([
519
520
  "checkbox",
520
521
  "radio",
521
522
  "range",
@@ -527,16 +528,16 @@ const We = /* @__PURE__ */ new Set([
527
528
  "reset"
528
529
  ]);
529
530
  function be(t, n) {
530
- return t.type === "checkbox" || t.type === "radio" ? n === " " : We.has(t.type);
531
+ return t.type === "checkbox" || t.type === "radio" ? n === " " : ze.has(t.type);
531
532
  }
532
533
  export {
533
- et as $,
534
+ tt as $,
534
535
  Re as _,
535
- nt as a,
536
+ it as a,
536
537
  ve as b,
537
- rt as c,
538
+ nt as c,
538
539
  Ue as d,
539
540
  M as e,
540
- tt as f,
541
+ rt as f,
541
542
  ye as g
542
543
  };
@@ -1,4 +1,4 @@
1
- import { $ as f } from "./useListState-CrZFZffI.js";
1
+ import { $ as f } from "./useListState-CebsX_1d.js";
2
2
  import { $ as y } from "./useControlledState-u436Wbp1.js";
3
3
  import { useMemo as K } from "react";
4
4
  function S(l) {
@@ -1 +1 @@
1
- "use strict";const f=require("./useListState-Bx8u4IFG.cjs"),y=require("./useControlledState-D0L6S_5r.cjs"),b=require("react");function K(l){var t;let[e,a]=y.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),d=b.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:d,onSelectionChange:s=>{if(s==="all")return;var n;let c=(n=s.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=K;
1
+ "use strict";const f=require("./useListState-DymkJGDF.cjs"),y=require("./useControlledState-D0L6S_5r.cjs"),b=require("react");function K(l){var t;let[e,a]=y.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),d=b.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:d,onSelectionChange:s=>{if(s==="all")return;var n;let c=(n=s.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=K;
@@ -1,11 +1,11 @@
1
- import { a as h } from "./useHover-DjIHtjGN.js";
2
- import { c as x } from "./utils-DIMfEPAt.js";
1
+ import { h as y } from "./utils-CoCR_Fce.js";
2
+ import { a as x } from "./mergeProps-C1U1OIeJ.js";
3
3
  import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
4
- import { $ as I, a as M, b as D } from "./useFormValidation-BIGzfO9h.js";
4
+ import { $ as I, a as M, b as D } from "./useFormValidation-BzzruZKm.js";
5
5
  import { $ as L } from "./useControlledState-u436Wbp1.js";
6
6
  import O, { useEffect as R } from "react";
7
- import { $ as S } from "./useField-DvpGZkw_.js";
8
- import { $ as q } from "./useFocusable-C8uh8K4g.js";
7
+ import { $ as S } from "./useField-BEBXv5Mh.js";
8
+ import { $ as q } from "./useFocusable-ChPA2Jc7.js";
9
9
  function _(e, a) {
10
10
  let { inputElementType: u = "input", isDisabled: c = !1, isRequired: o = !1, isReadOnly: f = !1, type: m = "text", validationBehavior: r = "aria" } = e, [i, l] = L(e.value, e.defaultValue || "", e.onChange), { focusableProps: $ } = q(e, a), d = I({
11
11
  ...e,
@@ -17,12 +17,12 @@ function _(e, a) {
17
17
  }), g = E(e, {
18
18
  labelable: !0
19
19
  });
20
- const y = {
20
+ const h = {
21
21
  type: m,
22
22
  pattern: e.pattern
23
23
  };
24
24
  return M(a, i, l), D(e, d, a), R(() => {
25
- if (a.current instanceof h(a.current).HTMLTextAreaElement) {
25
+ if (a.current instanceof y(a.current).HTMLTextAreaElement) {
26
26
  let t = a.current;
27
27
  Object.defineProperty(t, "defaultValue", {
28
28
  get: () => t.value,
@@ -35,7 +35,7 @@ function _(e, a) {
35
35
  a
36
36
  ]), {
37
37
  labelProps: v,
38
- inputProps: x(g, u === "input" ? y : void 0, {
38
+ inputProps: x(g, u === "input" ? h : void 0, {
39
39
  disabled: c,
40
40
  readOnly: f,
41
41
  required: o && r === "native",
@@ -0,0 +1 @@
1
+ "use strict";const q=require("./utils-Dvdohqm9.cjs"),E=require("./mergeProps-B5KXZAI3.cjs"),I=require("./filterDOMProps-BS2lrgFA.cjs"),o=require("./useFormValidation-BlFGdPZB.cjs"),M=require("./useControlledState-D0L6S_5r.cjs"),c=require("react"),D=require("./useField-D1UkzeaI.cjs"),O=require("./useFocusable-D7I1ujkW.cjs");function S(e,a){let{inputElementType:f="input",isDisabled:$=!1,isRequired:r=!1,isReadOnly:b=!1,type:v="text",validationBehavior:l="aria"}=e,[i,d]=M.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||"",e.onChange),{focusableProps:m}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,a),u=o.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i}),{isInvalid:n,validationErrors:s,validationDetails:C}=u.displayValidation,{labelProps:P,fieldProps:g,descriptionProps:y,errorMessageProps:h}=D.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,isInvalid:n,errorMessage:e.errorMessage||s}),x=I.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});const p={type:v,pattern:e.pattern};return o.$99facab73266f662$export$5add1d006293d136(a,i,d),o.$e93e671b31057976$export$b8473d3665f3a75a(e,u,a),c.useEffect(()=>{if(a.current instanceof q.$431fbd86ca7dc216$export$f21a1ffae260145a(a.current).HTMLTextAreaElement){let t=a.current;Object.defineProperty(t,"defaultValue",{get:()=>t.value,set:()=>{},configurable:!0})}},[a]),{labelProps:P,inputProps:E.$3ef42575df84b30b$export$9d1611c77c2fe928(x,f==="input"?p:void 0,{disabled:$,readOnly:b,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:t=>d(t.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...m,...g}),descriptionProps:y,errorMessageProps:h,isInvalid:n,validationErrors:s,validationDetails:C}}exports.$2d73ec29415bd339$export$712718f7aec83d5=S;
@@ -1,4 +1,5 @@
1
1
  import { LocalizedString, LocalizedStringDictionary, LocalizedStringFormatter, LocalizedStrings } from '@internationalized/string';
2
+ import { I18nProvider } from 'react-aria-components';
2
3
  /**
3
4
  * Returns a cached LocalizedStringDictionary for the given strings.
4
5
  */
@@ -9,3 +10,4 @@ export declare function useLocalizedStringDictionary<K extends string = string,
9
10
  * @param strings - A mapping of languages to localized strings by key.
10
11
  */
11
12
  export declare function useLocalizedStringFormatter<K extends string = string, T extends LocalizedString = string>(strings: LocalizedStrings<K, T>, packageName?: string): LocalizedStringFormatter<K, T>;
13
+ export { I18nProvider };