@midas-ds/components 12.0.0 → 12.1.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 (458) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
  4. package/BadgeContainer-su0iCJKy.cjs +1 -0
  5. package/Breadcrumbs-BAHJMPsu.js +271 -0
  6. package/Breadcrumbs-DUcHHI_2.cjs +1 -0
  7. package/Button-CMIbSc4-.cjs +1 -0
  8. package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
  9. package/{Button-akT6Hvug.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-DQm2iqKU.cjs → Button-DrL5Jv-s.cjs} +1 -1
  11. package/Button.module-BNLcvARn.cjs +1 -0
  12. package/Button.module-Bax2YU6N.js +14 -0
  13. package/ButtonGroup-ClYTgaRc.cjs +1 -0
  14. package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
  15. package/CHANGELOG.md +65 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/CharacterCounter-DT7A0wWP.js +22 -0
  20. package/Checkbox-BtM2rFh9.js +278 -0
  21. package/Checkbox-CvdIG43J.cjs +1 -0
  22. package/CheckboxGroup-C94as9Xt.cjs +1 -0
  23. package/CheckboxGroup-CjcDYBRk.js +157 -0
  24. package/Collection-B0_WAieZ.js +625 -0
  25. package/Collection-BvWp2xBd.cjs +1 -0
  26. package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-C4PMYeD5.js} +20 -28
  27. package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +3 -3
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-Dn3tQzri.js → ComboBox-BWXJZyOR.js} +522 -507
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-CXkUdlzc.js} +936 -839
  33. package/DateInputDivider-Cf5GZHlM.cjs +1 -0
  34. package/DateRangePicker-B2BJO1KC.js +889 -0
  35. package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
  36. package/Dialog-B8swxl24.js +1643 -0
  37. package/Dialog-DR6nEqMT.cjs +1 -0
  38. package/Dialog-DgJobm71.cjs +1 -0
  39. package/Dialog-P3frHOdq.js +240 -0
  40. package/DragAndDrop-Dw8JZmrn.cjs +1 -0
  41. package/DragAndDrop-PrUJv--B.js +75 -0
  42. package/{Dropdown-BWbdSQ9U.js → Dropdown-CIvWpN3v.js} +8 -8
  43. package/{Dropdown-CJ-sujKv.cjs → Dropdown-DJ2vWAqk.cjs} +2 -2
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/FieldError-DdvFyIf4.js +48 -0
  46. package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/{Grid-Db5wZrw6.cjs → Grid-WbEkSCGh.cjs} +1 -1
  51. package/{Grid-B2av0vt8.js → Grid-s8ovKDi8.js} +1 -1
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  59. package/InfoBanner-CqjnTYaa.cjs +1 -0
  60. package/InfoBanner-CrA8MS3v.js +83 -0
  61. package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
  62. package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
  63. package/{Label-ByWt6Lfh.js → Label-BG7G0iyG.js} +24 -28
  64. package/Label-C00qz3kQ.cjs +1 -0
  65. package/Layout-Bta_Cpq_.cjs +16 -0
  66. package/Layout-CG-Qxr_1.js +482 -0
  67. package/{Link-Dnnv00g9.js → Link-BtxKZ0h3.js} +16 -16
  68. package/Link-Bx6avHVl.cjs +6 -0
  69. package/Link-CbFSuEI1.js +73 -0
  70. package/Link-wM7cVPlS.cjs +1 -0
  71. package/LinkButton-BvXu6vAH.cjs +6 -0
  72. package/LinkButton-D3EnZ65v.js +69 -0
  73. package/ListBox-ICZKGluC.cjs +1 -0
  74. package/ListBox-LncMQt6I.js +523 -0
  75. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  76. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  77. package/ListBoxSection-BCPv9H50.js +1085 -0
  78. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  79. package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  80. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  81. package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
  82. package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
  83. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  84. package/OverlayArrow-CvNuu3e3.js +519 -0
  85. package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  86. package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
  87. package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
  88. package/PressResponder-DbnYqwGB.cjs +1 -0
  89. package/ProgressBar-CdXHEJh6.js +53 -0
  90. package/ProgressBar-CjuHokVZ.cjs +1 -0
  91. package/Radio-Bll-7H8O.cjs +1 -0
  92. package/Radio-DoWx2AE1.js +333 -0
  93. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  94. package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-D7eFVAPP.js} +638 -630
  95. package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
  96. package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
  97. package/{SearchField-Ma3KB8Em.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  98. package/{SearchField-B0dlPqsW.js → SearchField-F2FKgYds.js} +29 -33
  99. package/Select-BnbDXwgD.cjs +1 -0
  100. package/Select-Dpi3LhbI.js +654 -0
  101. package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  102. package/SelectionManager-BtbHoHpA.cjs +1 -0
  103. package/Separator-CM0KPvsX.js +105 -0
  104. package/Separator-Cfv2pbWf.cjs +1 -0
  105. package/Separator-DH-5wu9X.js +77 -0
  106. package/Separator-Dgin8BNW.cjs +1 -0
  107. package/Skeleton-BpYj25p8.js +37 -0
  108. package/Skeleton-DMOxEwnd.cjs +1 -0
  109. package/Spinner-D1UBuLy4.cjs +6 -0
  110. package/Spinner-DTKb_LAA.js +47 -0
  111. package/TabList-D4WwgQY3.cjs +1 -0
  112. package/TabList-D9tl2s85.js +397 -0
  113. package/Table-C6k3PiiC.cjs +16 -0
  114. package/{Table-CTS0J_sQ.js → Table-CkN3y69S.js} +856 -798
  115. package/Tag-7dHEMQum.cjs +1 -0
  116. package/Tag-BUJ20HHw.js +765 -0
  117. package/Text-BAFsaON-.cjs +1 -0
  118. package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
  119. package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
  120. package/Text-CmlsaWMA.js +32 -0
  121. package/TextArea-BCikUXaD.cjs +1 -0
  122. package/TextArea-h5_oBQH1.js +125 -0
  123. package/TextField-Bm5916AD.cjs +1 -0
  124. package/TextField-_UY8CXtW.js +134 -0
  125. package/TextField.module-C9Zm9unF.js +13 -0
  126. package/TextField.module-GTQtNO0r.cjs +1 -0
  127. package/{Toast-BnzpC_5v.js → Toast-BBkWczCk.js} +202 -214
  128. package/{Toast-BEh5yYzO.cjs → Toast-DclaxvZM.cjs} +1 -1
  129. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  130. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  131. package/Tooltip-BHAtsp9k.js +281 -0
  132. package/Tooltip-CZa9n5sT.cjs +1 -0
  133. package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
  134. package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  135. package/accordion/index.cjs +1 -1
  136. package/accordion/index.js +1 -1
  137. package/assets/AccordionItem.css +1 -1
  138. package/assets/BadgeContainer.css +1 -1
  139. package/assets/Breadcrumbs.css +1 -1
  140. package/assets/Button.css +1 -1
  141. package/assets/ButtonGroup.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/CharacterCounter.css +1 -1
  144. package/assets/Checkbox.css +1 -1
  145. package/assets/ComboBox.css +1 -1
  146. package/assets/DateField.css +1 -1
  147. package/assets/DateInputDivider.css +1 -1
  148. package/assets/DateRangePicker.css +1 -1
  149. package/assets/Dialog.css +1 -1
  150. package/assets/Dropdown.css +1 -1
  151. package/assets/FieldError.css +1 -1
  152. package/assets/FileUpload.css +1 -1
  153. package/assets/GridItem.css +1 -1
  154. package/assets/Heading.css +1 -1
  155. package/assets/InfoBanner.css +1 -1
  156. package/assets/Label.css +1 -1
  157. package/assets/Layout.css +1 -1
  158. package/assets/Link.css +1 -1
  159. package/assets/LinkButton.css +1 -1
  160. package/assets/ListBoxSection.css +1 -1
  161. package/assets/Logo.css +1 -1
  162. package/assets/Popover.css +1 -1
  163. package/assets/ProgressBar.css +1 -1
  164. package/assets/Radio.css +1 -1
  165. package/assets/RangeCalendar.css +1 -1
  166. package/assets/SearchField.css +1 -1
  167. package/assets/Select.css +1 -1
  168. package/assets/Separator.css +1 -0
  169. package/assets/Skeleton.css +1 -1
  170. package/assets/Spinner.css +1 -1
  171. package/assets/TabList.css +1 -1
  172. package/assets/Table.css +1 -1
  173. package/assets/Tag.css +1 -1
  174. package/assets/Text.css +1 -1
  175. package/assets/TextField.css +1 -1
  176. package/assets/Toast.css +1 -1
  177. package/assets/ToggleButtonGroup.css +1 -1
  178. package/assets/Tooltip.css +1 -1
  179. package/assets/theme.css +1 -1
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/index.cjs +1 -1
  184. package/breadcrumbs/index.js +1 -1
  185. package/button/index.cjs +1 -1
  186. package/button/index.js +2 -2
  187. package/calendar/index.cjs +1 -1
  188. package/calendar/index.js +1 -1
  189. package/card/index.cjs +1 -1
  190. package/card/index.js +1 -1
  191. package/character-counter/index.cjs +1 -1
  192. package/character-counter/index.js +1 -1
  193. package/checkbox/index.cjs +1 -1
  194. package/checkbox/index.js +2 -2
  195. package/chevron-right-0-sUFBiR.cjs +6 -0
  196. package/chevron-right-BYYHEJjK.js +11 -0
  197. package/color-scheme-switch/index.cjs +1 -1
  198. package/color-scheme-switch/index.js +1 -1
  199. package/combobox/index.cjs +1 -1
  200. package/combobox/index.d.ts +1 -1
  201. package/combobox/index.js +1 -1
  202. package/combobox/intl/translations.json.d.ts +4 -2
  203. package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
  204. package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
  205. package/date-field/index.cjs +1 -1
  206. package/date-field/index.js +2 -2
  207. package/date-picker/index.cjs +1 -1
  208. package/date-picker/index.js +1 -1
  209. package/dropdown/Dropdown.d.ts +18 -0
  210. package/dropdown/index.cjs +1 -1
  211. package/dropdown/index.js +1 -1
  212. package/field-error/index.cjs +1 -1
  213. package/field-error/index.js +1 -1
  214. package/file-upload/index.cjs +1 -1
  215. package/file-upload/index.js +1 -1
  216. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  217. package/filterDOMProps-wsa9OcNI.js +65 -0
  218. package/grid/index.cjs +1 -1
  219. package/grid/index.js +2 -2
  220. package/heading/index.cjs +1 -1
  221. package/heading/index.js +1 -1
  222. package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
  223. package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
  224. package/index.cjs +1 -1
  225. package/index.d.ts +2 -0
  226. package/index.js +140 -125
  227. package/inertValue-B3AFhVG4.cjs +1 -0
  228. package/info-banner/index.cjs +1 -1
  229. package/info-banner/index.js +1 -1
  230. package/label/index.cjs +1 -1
  231. package/label/index.js +1 -1
  232. package/layout/index.cjs +1 -1
  233. package/layout/index.js +1 -1
  234. package/link/index.cjs +1 -1
  235. package/link/index.js +2 -2
  236. package/link-button/index.cjs +1 -1
  237. package/link-button/index.js +2 -2
  238. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  239. package/list-box/index.cjs +1 -1
  240. package/list-box/index.d.ts +1 -0
  241. package/list-box/index.js +6 -5
  242. package/list-box/intl/translations.json.d.ts +11 -0
  243. package/logo/index.cjs +1 -1
  244. package/logo/index.js +1 -1
  245. package/menu/Menu.d.ts +13 -0
  246. package/menu/MenuItem.d.ts +5 -0
  247. package/menu/MenuPopover.d.ts +3 -0
  248. package/menu/MenuSection.d.ts +3 -0
  249. package/menu/Separator.d.ts +3 -0
  250. package/menu/index.cjs +1 -0
  251. package/menu/index.d.ts +5 -0
  252. package/menu/index.js +8 -0
  253. package/mergeProps-BSsN7Bgk.js +117 -0
  254. package/mergeProps-JhcJ7uJL.cjs +1 -0
  255. package/modal/index.cjs +1 -1
  256. package/modal/index.js +2 -2
  257. package/package.json +6 -4
  258. package/popover/index.cjs +1 -1
  259. package/popover/index.js +1 -1
  260. package/progress-bar/index.cjs +1 -1
  261. package/progress-bar/index.js +1 -1
  262. package/radio/index.cjs +1 -1
  263. package/radio/index.js +1 -1
  264. package/search-field/index.cjs +1 -1
  265. package/search-field/index.js +1 -1
  266. package/select/Select.d.ts +1 -1
  267. package/select/index.cjs +1 -1
  268. package/select/index.js +1 -1
  269. package/skeleton/index.cjs +1 -1
  270. package/skeleton/index.js +1 -1
  271. package/spinner/index.cjs +1 -1
  272. package/spinner/index.js +1 -1
  273. package/table/index.cjs +1 -1
  274. package/table/index.js +1 -1
  275. package/tabs/index.cjs +1 -1
  276. package/tabs/index.js +1 -1
  277. package/tag/index.cjs +1 -1
  278. package/tag/index.js +1 -1
  279. package/text/index.cjs +1 -1
  280. package/text/index.js +1 -1
  281. package/textfield/Input.d.ts +7 -2
  282. package/textfield/PasswordField.d.ts +1 -1
  283. package/textfield/index.cjs +1 -1
  284. package/textfield/index.js +1 -1
  285. package/theme/generated-object.d.ts +384 -0
  286. package/theme/generated-tokens.d.ts +334 -0
  287. package/theme/index.cjs +1 -1
  288. package/theme/index.d.ts +4 -1
  289. package/theme/index.js +4037 -14
  290. package/theme/tokens.d.ts +30 -1
  291. package/toast/index.cjs +1 -1
  292. package/toast/index.js +1 -1
  293. package/toggle-button/index.cjs +1 -1
  294. package/toggle-button/index.js +1 -1
  295. package/{tokens-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
  296. package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
  297. package/tooltip/index.cjs +1 -1
  298. package/tooltip/index.js +1 -1
  299. package/useButton-D6iUB8cN.js +56 -0
  300. package/useButton-R8-i3HLC.cjs +1 -0
  301. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  302. package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  303. package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
  304. package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  305. package/useEvent-3ZO5TPSH.cjs +1 -0
  306. package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
  307. package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
  308. package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
  309. package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
  310. package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
  311. package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  312. package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
  313. package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
  314. package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  315. package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  316. package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
  317. package/useFormValidation-BQIRxgbU.cjs +1 -0
  318. package/useFormValidation-L0UHvOsP.js +217 -0
  319. package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  320. package/useHasTabbableChild-CJcLnolh.cjs +1 -0
  321. package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
  322. package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  323. package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
  324. package/useHover-DGAmG7jt.cjs +1 -0
  325. package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  326. package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
  327. package/useListState-D2IEg6_e.cjs +1 -0
  328. package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
  329. package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
  330. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  331. package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  332. package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
  333. package/useObserveElement-MhzEsCkX.cjs +1 -0
  334. package/usePress-CicXV7UO.cjs +7 -0
  335. package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
  336. package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  337. package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  338. package/useTextField-BC5X_AO_.js +89 -0
  339. package/useTextField-Cxpfu0U3.cjs +1 -0
  340. package/useToggleState-BVOqL4hI.js +21 -0
  341. package/useToggleState-SqDyNfRi.cjs +1 -0
  342. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  343. package/utils/types.d.ts +4 -0
  344. package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
  345. package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
  346. package/utils-DFIwp4PB.js +262 -0
  347. package/utils-__vrf9VZ.cjs +1 -0
  348. package/AccordionItem-DEiRuizp.js +0 -361
  349. package/AccordionItem-Dhr7uo8u.cjs +0 -1
  350. package/BadgeContainer-CxVmqJ7g.cjs +0 -1
  351. package/Breadcrumbs-CEyKlcGU.js +0 -262
  352. package/Breadcrumbs-CnGzvtbn.cjs +0 -1
  353. package/Button-DZzQGk-L.cjs +0 -1
  354. package/Button.module-D-mPLRxe.js +0 -14
  355. package/Button.module-goCEz5qs.cjs +0 -1
  356. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  357. package/Card-CwwVnA_a.js +0 -131
  358. package/Card-DPfOZC7f.cjs +0 -1
  359. package/CharacterCounter-DPphWPzA.js +0 -22
  360. package/Checkbox-BN_3F2Hl.js +0 -264
  361. package/Checkbox-CZtCj4yR.cjs +0 -1
  362. package/CheckboxGroup--xgOT1Do.js +0 -159
  363. package/CheckboxGroup-DGHaqRvb.cjs +0 -1
  364. package/Collection-B1xL4EdF.cjs +0 -1
  365. package/Collection-C5vE9MtJ.js +0 -577
  366. package/ComboBox-UadZMhiR.cjs +0 -1
  367. package/DateField-CNEoLyf5.cjs +0 -1
  368. package/DateField-CZmLugT0.js +0 -47
  369. package/DateInputDivider-CCjiq90K.cjs +0 -1
  370. package/DateRangePicker-DhgLEa9P.cjs +0 -6
  371. package/DateRangePicker-WQ97Psz7.js +0 -870
  372. package/Dialog-BT0tVGQb.cjs +0 -1
  373. package/Dialog-BuJdAr0D.js +0 -1611
  374. package/Dialog-DYK8lySl.cjs +0 -1
  375. package/Dialog-L53DWF0Z.js +0 -220
  376. package/DragAndDrop-DKxsUpmW.js +0 -60
  377. package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
  378. package/FieldError-BlKkw9YL.js +0 -46
  379. package/FieldError-BvU0sueN.cjs +0 -1
  380. package/FocusScope-CAgWgk3N.cjs +0 -1
  381. package/GridItem-BnyULDnc.cjs +0 -1
  382. package/GridItem-orSzD7H5.js +0 -243
  383. package/Heading-DDhdwRAW.js +0 -46
  384. package/Heading-OUPkdoEJ.cjs +0 -1
  385. package/InfoBanner-DpLcq_1R.cjs +0 -1
  386. package/InfoBanner-U5hxOipC.js +0 -99
  387. package/Label-COpr4xVt.cjs +0 -1
  388. package/Layout-BR3Or1Ga.cjs +0 -16
  389. package/Layout-Bdqauktv.js +0 -498
  390. package/Link-CM2N5Jq-.js +0 -72
  391. package/Link-Dq8IFDBx.cjs +0 -6
  392. package/Link-ceVlGaWQ.cjs +0 -1
  393. package/LinkButton-BJA9_HzL.cjs +0 -6
  394. package/LinkButton-DH3Nfdis.js +0 -69
  395. package/ListBox-D0u9svwm.cjs +0 -1
  396. package/ListBox-y_dw__MI.js +0 -531
  397. package/ListBoxButton-C2zp-gXD.cjs +0 -1
  398. package/ListBoxButton-DiseS_LX.js +0 -15
  399. package/ListBoxSection-Cv-gN76G.js +0 -1058
  400. package/ListBoxSection-DtsigmC1.cjs +0 -1
  401. package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
  402. package/OverlayArrow-8praV_Xy.cjs +0 -1
  403. package/OverlayArrow-DfkRZlgG.js +0 -507
  404. package/PressResponder-Bm3_RM9c.cjs +0 -1
  405. package/ProgressBar-D5mNQTID.cjs +0 -1
  406. package/ProgressBar-wQirOG1N.js +0 -53
  407. package/Radio-BIomn_sP.js +0 -313
  408. package/Radio-CxvJ5Wrl.cjs +0 -1
  409. package/RangeCalendar-BvvZ2SBj.cjs +0 -11
  410. package/Select-769RSZ9V.js +0 -664
  411. package/Select-Go5x0zWl.cjs +0 -1
  412. package/SelectionManager-BvREZgeu.cjs +0 -1
  413. package/Separator-CggS0R7Q.js +0 -59
  414. package/Separator-DBsDhqCr.cjs +0 -1
  415. package/Skeleton-BAwbfKBW.cjs +0 -1
  416. package/Skeleton-BePDRmrO.js +0 -40
  417. package/Spinner-AXFRWuT6.js +0 -51
  418. package/Spinner-yHx_DX_4.cjs +0 -6
  419. package/TabList-0gj27e_e.js +0 -386
  420. package/TabList-Cqpup53E.cjs +0 -1
  421. package/Table-BhtlNY9P.cjs +0 -16
  422. package/Tag-B9M-nBTM.js +0 -748
  423. package/Tag-DkW6zaIS.cjs +0 -1
  424. package/Text-BUDAzDjW.js +0 -32
  425. package/Text-DA_gK6a2.cjs +0 -1
  426. package/TextArea-CSrrYY05.cjs +0 -1
  427. package/TextArea-DphcH6wE.js +0 -119
  428. package/TextField-CsyRTSEG.js +0 -120
  429. package/TextField-P5yICj5z.cjs +0 -1
  430. package/TextField.module-BcpPBWnD.js +0 -13
  431. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  432. package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
  433. package/ToggleButtonGroup-CuxAKB3-.js +0 -211
  434. package/Tooltip-Bz0xCZSw.cjs +0 -1
  435. package/Tooltip-EuEQtHZj.js +0 -285
  436. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  437. package/filterDOMProps-D6KHYVBX.js +0 -24
  438. package/inertValue-BWmZ1afe.cjs +0 -1
  439. package/mergeProps-BYJQ6N1s.js +0 -115
  440. package/mergeProps-C7Sx47fA.cjs +0 -1
  441. package/useButton-CWHoXYnj.js +0 -47
  442. package/useButton-CwOQUGtY.cjs +0 -1
  443. package/useDateFormatter-bzjwqA2K.cjs +0 -1
  444. package/useEvent-CGRyLM2c.cjs +0 -1
  445. package/useFormValidation-BW2NSTM4.js +0 -215
  446. package/useFormValidation-DSRwb9US.cjs +0 -1
  447. package/useHasTabbableChild-CogBR_6o.cjs +0 -1
  448. package/useHover-CaFzQrR_.cjs +0 -1
  449. package/useListState-TtWy_rDI.cjs +0 -1
  450. package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
  451. package/useObserveElement-BzEr5D32.cjs +0 -1
  452. package/usePress-BOGIOlm8.cjs +0 -7
  453. package/useTextField-BVIOd8Ld.cjs +0 -1
  454. package/useTextField-DFkSHoQN.js +0 -86
  455. package/useToggleState-Bz5rAf4C.js +0 -18
  456. package/useToggleState-DoIkSQdj.cjs +0 -1
  457. package/utils-C5-CzvX2.cjs +0 -1
  458. package/utils-CuqJqFqQ.js +0 -234
@@ -1,30 +1,30 @@
1
- import { jsx as p, jsxs as y, Fragment as ge } from "react/jsx-runtime";
2
- import { B as Te } from "./Button-akT6Hvug.js";
3
- import P, { useState as A, useCallback as L, useEffect as g, useRef as v, useMemo as ye } from "react";
4
- import { createPortal as Le, flushSync as _e } from "react-dom";
5
- import { c as B } from "./clsx-OuTLNxxd.js";
6
- import { i as we } from "./icon-map-uS87FT_Q.js";
7
- import { s as N } from "./index-BSMrH_Du.js";
8
- import { $ as j, c as Be, b as Ie, d as Ce, a as Pe } from "./mergeProps-BYJQ6N1s.js";
9
- import { m as E } from "./utils-CuqJqFqQ.js";
10
- import { $ as Ae, g as _ } from "./useHover-D8fja4GW.js";
11
- import { $ as Ne } from "./useFocusWithin-Cn18Myw6.js";
12
- import { $ as F } from "./useLocalizedStringFormatter-CSEh15AZ.js";
13
- import { $ as je } from "./filterDOMProps-D6KHYVBX.js";
14
- import { X as Fe } from "./x-C2xUHAEl.js";
15
- import './assets/Toast.css';const S = 1, w = Symbol.for("react-aria-landmark-manager");
1
+ import { jsx as p, jsxs as _, Fragment as Te } from "react/jsx-runtime";
2
+ import { B as Le } from "./Button-DYcmg49Z.js";
3
+ import A, { useState as g, useCallback as w, useEffect as T, useRef as v, useMemo as _e } from "react";
4
+ import { createPortal as we, flushSync as Be } from "react-dom";
5
+ import { c as I } from "./clsx-OuTLNxxd.js";
6
+ import { i as ye } from "./icon-map-uS87FT_Q.js";
7
+ import { s as N } from "./index-BLPblar-.js";
8
+ import { $ as F, c as Ie, b as Ce, d as Pe, a as Ae } from "./mergeProps-BSsN7Bgk.js";
9
+ import { m as E } from "./utils-DFIwp4PB.js";
10
+ import { $ as ge, f as B } from "./useHover-D6bNIkU0.js";
11
+ import { $ as Ne } from "./useFocusWithin-ClMkhYcq.js";
12
+ import { $ as D } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
13
+ import { $ as Fe } from "./filterDOMProps-wsa9OcNI.js";
14
+ import { X as De } from "./x-C2xUHAEl.js";
15
+ import './assets/Toast.css';const S = 1, y = Symbol.for("react-aria-landmark-manager");
16
16
  function Se(t) {
17
17
  return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
18
18
  }
19
- function C() {
19
+ function P() {
20
20
  if (typeof document > "u") return null;
21
- let t = document[w];
22
- return t && t.version >= S ? t : (document[w] = new Re(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[w]);
21
+ let t = document[y];
22
+ return t && t.version >= S ? t : (document[y] = new ze(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[y]);
23
23
  }
24
- function De() {
25
- return N.useSyncExternalStore(Se, C, C);
24
+ function Re() {
25
+ return N.useSyncExternalStore(Se, P, P);
26
26
  }
27
- class Re {
27
+ class ze {
28
28
  setupIfNeeded() {
29
29
  this.isListening || (document.addEventListener("keydown", this.f6Handler, {
30
30
  capture: !0
@@ -44,8 +44,8 @@ class Re {
44
44
  }), this.isListening = !1);
45
45
  }
46
46
  focusLandmark(e, n) {
47
- var i, o;
48
- (o = this.landmarks.find((u) => u.ref.current === e)) === null || o === void 0 || (i = o.focus) === null || i === void 0 || i.call(o, n);
47
+ var u, i;
48
+ (i = this.landmarks.find((o) => o.ref.current === e)) === null || i === void 0 || (u = i.focus) === null || u === void 0 || u.call(i, n);
49
49
  }
50
50
  /**
51
51
  * Return set of landmarks with a specific role.
@@ -60,22 +60,22 @@ class Re {
60
60
  return this.landmarks.find((n) => n.role === e);
61
61
  }
62
62
  addLandmark(e) {
63
- if (this.setupIfNeeded(), this.landmarks.find((o) => o.ref === e.ref) || !e.ref.current) return;
64
- if (this.landmarks.filter((o) => o.role === "main").length > 1 && process.env.NODE_ENV !== "production" && console.error('Page can contain no more than one landmark with the role "main".'), this.landmarks.length === 0) {
63
+ if (this.setupIfNeeded(), this.landmarks.find((i) => i.ref === e.ref) || !e.ref.current) return;
64
+ if (this.landmarks.filter((i) => i.role === "main").length > 1 && process.env.NODE_ENV !== "production" && console.error('Page can contain no more than one landmark with the role "main".'), this.landmarks.length === 0) {
65
65
  this.landmarks = [
66
66
  e
67
67
  ], this.checkLabels(e.role);
68
68
  return;
69
69
  }
70
- let n = 0, i = this.landmarks.length - 1;
71
- for (; n <= i; ) {
72
- let o = Math.floor((n + i) / 2), u = e.ref.current.compareDocumentPosition(this.landmarks[o].ref.current);
73
- !!(u & Node.DOCUMENT_POSITION_PRECEDING || u & Node.DOCUMENT_POSITION_CONTAINS) ? n = o + 1 : i = o - 1;
70
+ let n = 0, u = this.landmarks.length - 1;
71
+ for (; n <= u; ) {
72
+ let i = Math.floor((n + u) / 2), o = e.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);
73
+ !!(o & Node.DOCUMENT_POSITION_PRECEDING || o & Node.DOCUMENT_POSITION_CONTAINS) ? n = i + 1 : u = i - 1;
74
74
  }
75
75
  this.landmarks.splice(n, 0, e), this.checkLabels(e.role);
76
76
  }
77
77
  updateLandmark(e) {
78
- let n = this.landmarks.findIndex((i) => i.ref === e.ref);
78
+ let n = this.landmarks.findIndex((u) => u.ref === e.ref);
79
79
  n >= 0 && (this.landmarks[n] = {
80
80
  ...this.landmarks[n],
81
81
  ...e
@@ -93,15 +93,15 @@ class Re {
93
93
  checkLabels(e) {
94
94
  let n = this.getLandmarksByRole(e);
95
95
  if (n.size > 1) {
96
- let i = [
96
+ let u = [
97
97
  ...n
98
- ].filter((o) => !o.label);
99
- if (i.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${e}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, i.map((o) => o.ref.current));
98
+ ].filter((i) => !i.label);
99
+ if (u.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${e}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, u.map((i) => i.ref.current));
100
100
  else if (process.env.NODE_ENV !== "production") {
101
- let o = [
101
+ let i = [
102
102
  ...n
103
103
  ].map((r) => r.label);
104
- o.filter((r, a) => o.indexOf(r) !== a).forEach((r) => {
104
+ i.filter((r, a) => i.indexOf(r) !== a).forEach((r) => {
105
105
  console.warn(`Page contains more than one landmark with the '${e}' role and '${r}' label. If two or more landmarks on a page share the same role, they must have unique labels: `, [
106
106
  ...n
107
107
  ].filter((a) => a.label === r).map((a) => a.ref.current));
@@ -114,12 +114,12 @@ class Re {
114
114
  * Returns undefined if no parent is a landmark.
115
115
  */
116
116
  closestLandmark(e) {
117
- let n = new Map(this.landmarks.map((o) => [
118
- o.ref.current,
119
- o
120
- ])), i = e;
121
- for (; i && !n.has(i) && i !== document.body && i.parentElement; ) i = i.parentElement;
122
- return n.get(i);
117
+ let n = new Map(this.landmarks.map((i) => [
118
+ i.ref.current,
119
+ i
120
+ ])), u = e;
121
+ for (; u && !n.has(u) && u !== document.body && u.parentElement; ) u = u.parentElement;
122
+ return n.get(u);
123
123
  }
124
124
  /**
125
125
  * Gets the next landmark, in DOM focus order, or previous if backwards is specified.
@@ -128,11 +128,11 @@ class Re {
128
128
  * Returns undefined if there are no landmarks.
129
129
  */
130
130
  getNextLandmark(e, { backward: n }) {
131
- var i;
132
- let o = this.closestLandmark(e), u = n ? this.landmarks.length - 1 : 0;
133
- o && (u = this.landmarks.indexOf(o) + (n ? -1 : 1));
131
+ var u;
132
+ let i = this.closestLandmark(e), o = n ? this.landmarks.length - 1 : 0;
133
+ i && (o = this.landmarks.indexOf(i) + (n ? -1 : 1));
134
134
  let r = () => {
135
- if (u < 0) {
135
+ if (o < 0) {
136
136
  if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
137
137
  detail: {
138
138
  direction: "backward"
@@ -140,8 +140,8 @@ class Re {
140
140
  bubbles: !0,
141
141
  cancelable: !0
142
142
  }))) return !0;
143
- u = this.landmarks.length - 1;
144
- } else if (u >= this.landmarks.length) {
143
+ o = this.landmarks.length - 1;
144
+ } else if (o >= this.landmarks.length) {
145
145
  if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
146
146
  detail: {
147
147
  direction: "forward"
@@ -149,17 +149,17 @@ class Re {
149
149
  bubbles: !0,
150
150
  cancelable: !0
151
151
  }))) return !0;
152
- u = 0;
152
+ o = 0;
153
153
  }
154
- return u < 0 || u >= this.landmarks.length;
154
+ return o < 0 || o >= this.landmarks.length;
155
155
  };
156
156
  if (r()) return;
157
- let a = u;
158
- for (; !((i = this.landmarks[u].ref.current) === null || i === void 0) && i.closest("[aria-hidden=true]"); ) {
159
- if (u += n ? -1 : 1, r()) return;
160
- if (u === a) break;
157
+ let a = o;
158
+ for (; !((u = this.landmarks[o].ref.current) === null || u === void 0) && u.closest("[aria-hidden=true]"); ) {
159
+ if (o += n ? -1 : 1, r()) return;
160
+ if (o === a) break;
161
161
  }
162
- return this.landmarks[u];
162
+ return this.landmarks[o];
163
163
  }
164
164
  /**
165
165
  * Look at next landmark. If an element was previously focused inside, restore focus there.
@@ -174,16 +174,16 @@ class Re {
174
174
  return e && e.ref.current && document.contains(e.ref.current) ? (this.focusLandmark(e.ref.current, "forward"), !0) : !1;
175
175
  }
176
176
  navigate(e, n) {
177
- let i = this.getNextLandmark(e, {
177
+ let u = this.getNextLandmark(e, {
178
178
  backward: n
179
179
  });
180
- if (!i) return !1;
181
- if (i.lastFocused) {
182
- let o = i.lastFocused;
183
- if (document.body.contains(o))
184
- return o.focus(), !0;
180
+ if (!u) return !1;
181
+ if (u.lastFocused) {
182
+ let i = u.lastFocused;
183
+ if (document.body.contains(i))
184
+ return i.focus(), !0;
185
185
  }
186
- return i.ref.current && document.contains(i.ref.current) ? (this.focusLandmark(i.ref.current, n ? "backward" : "forward"), !0) : !1;
186
+ return u.ref.current && document.contains(u.ref.current) ? (this.focusLandmark(u.ref.current, n ? "backward" : "forward"), !0) : !1;
187
187
  }
188
188
  /**
189
189
  * Sets lastFocused for a landmark, if focus is moved within that landmark.
@@ -195,36 +195,36 @@ class Re {
195
195
  ref: n.ref,
196
196
  lastFocused: e.target
197
197
  });
198
- let i = e.relatedTarget;
199
- if (i) {
200
- let o = this.closestLandmark(i);
201
- o && o.ref.current === i && o.blur();
198
+ let u = e.relatedTarget;
199
+ if (u) {
200
+ let i = this.closestLandmark(u);
201
+ i && i.ref.current === u && i.blur();
202
202
  }
203
203
  }
204
204
  /**
205
205
  * Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.
206
206
  */
207
207
  focusoutHandler(e) {
208
- let n = e.target, i = e.relatedTarget;
209
- if (!i || i === document) {
210
- let o = this.closestLandmark(n);
211
- o && o.ref.current === n && o.blur();
208
+ let n = e.target, u = e.relatedTarget;
209
+ if (!u || u === document) {
210
+ let i = this.closestLandmark(n);
211
+ i && i.ref.current === n && i.blur();
212
212
  }
213
213
  }
214
214
  createLandmarkController() {
215
215
  let e = this;
216
216
  return e.refCount++, e.setupIfNeeded(), {
217
- navigate(n, i) {
218
- let o = (i == null ? void 0 : i.from) || document.activeElement;
219
- return e.navigate(o, n === "backward");
217
+ navigate(n, u) {
218
+ let i = (u == null ? void 0 : u.from) || document.activeElement;
219
+ return e.navigate(i, n === "backward");
220
220
  },
221
221
  focusNext(n) {
222
- let i = (n == null ? void 0 : n.from) || document.activeElement;
223
- return e.navigate(i, !1);
222
+ let u = (n == null ? void 0 : n.from) || document.activeElement;
223
+ return e.navigate(u, !1);
224
224
  },
225
225
  focusPrevious(n) {
226
- let i = (n == null ? void 0 : n.from) || document.activeElement;
227
- return e.navigate(i, !0);
226
+ let u = (n == null ? void 0 : n.from) || document.activeElement;
227
+ return e.navigate(u, !0);
228
228
  },
229
229
  focusMain() {
230
230
  return e.focusMain();
@@ -242,33 +242,33 @@ class Re {
242
242
  }
243
243
  }
244
244
  function Me(t, e) {
245
- const { role: n, "aria-label": i, "aria-labelledby": o, focus: u } = t;
246
- let r = De(), a = i || o, [b, d] = A(!1), f = L(() => {
245
+ const { role: n, "aria-label": u, "aria-labelledby": i, focus: o } = t;
246
+ let r = Re(), a = u || i, [b, d] = g(!1), f = w(() => {
247
247
  d(!0);
248
248
  }, [
249
249
  d
250
- ]), h = L(() => {
250
+ ]), $ = w(() => {
251
251
  d(!1);
252
252
  }, [
253
253
  d
254
254
  ]);
255
- return j(() => {
255
+ return F(() => {
256
256
  if (r) return r.registerLandmark({
257
257
  ref: e,
258
258
  label: a,
259
259
  role: n,
260
- focus: u || f,
261
- blur: h
260
+ focus: o || f,
261
+ blur: $
262
262
  });
263
263
  }, [
264
264
  r,
265
265
  a,
266
266
  e,
267
267
  n,
268
- u,
268
+ o,
269
269
  f,
270
- h
271
- ]), g(() => {
270
+ $
271
+ ]), T(() => {
272
272
  var s;
273
273
  b && ((s = e.current) === null || s === void 0 || s.focus());
274
274
  }, [
@@ -278,21 +278,21 @@ function Me(t, e) {
278
278
  landmarkProps: {
279
279
  role: n,
280
280
  tabIndex: b ? -1 : void 0,
281
- "aria-label": i,
282
- "aria-labelledby": o
281
+ "aria-label": u,
282
+ "aria-labelledby": i
283
283
  }
284
284
  };
285
285
  }
286
- var D = {};
287
- D = {
286
+ var R = {};
287
+ R = {
288
288
  close: "إغلاق",
289
289
  notifications: (t, e) => `${e.plural(t.count, {
290
290
  one: () => `${e.number(t.count)} إشعار`,
291
291
  other: () => `${e.number(t.count)} إشعارات`
292
292
  })}.`
293
293
  };
294
- var R = {};
295
- R = {
294
+ var z = {};
295
+ z = {
296
296
  close: "Затвори",
297
297
  notifications: (t, e) => `${e.plural(t.count, {
298
298
  one: () => `${e.number(t.count)} известие`,
@@ -331,16 +331,16 @@ V = {
331
331
  other: () => `${e.number(t.count)} ειδοποιήσεις`
332
332
  })}.`
333
333
  };
334
- var z = {};
335
- z = {
334
+ var U = {};
335
+ U = {
336
336
  close: "Close",
337
337
  notifications: (t, e) => `${e.plural(t.count, {
338
338
  one: () => `${e.number(t.count)} notification`,
339
339
  other: () => `${e.number(t.count)} notifications`
340
340
  })}.`
341
341
  };
342
- var U = {};
343
- U = {
342
+ var j = {};
343
+ j = {
344
344
  close: "Cerrar",
345
345
  notifications: (t, e) => `${e.plural(t.count, {
346
346
  one: () => `${e.number(t.count)} notificación`,
@@ -443,16 +443,16 @@ ne = {
443
443
  other: () => `${e.number(t.count)} varsler`
444
444
  })}.`
445
445
  };
446
- var ie = {};
447
- ie = {
446
+ var ue = {};
447
+ ue = {
448
448
  close: "Sluiten",
449
449
  notifications: (t, e) => `${e.plural(t.count, {
450
450
  one: () => `${e.number(t.count)} melding`,
451
451
  other: () => `${e.number(t.count)} meldingen`
452
452
  })}.`
453
453
  };
454
- var oe = {};
455
- oe = {
454
+ var ie = {};
455
+ ie = {
456
456
  close: "Zamknij",
457
457
  notifications: (t, e) => `${e.plural(t.count, {
458
458
  one: () => `${e.number(t.count)} powiadomienie`,
@@ -461,8 +461,8 @@ oe = {
461
461
  other: () => `${e.number(t.count)} powiadomienia`
462
462
  })}.`
463
463
  };
464
- var ue = {};
465
- ue = {
464
+ var oe = {};
465
+ oe = {
466
466
  close: "Fechar",
467
467
  notifications: (t, e) => `${e.plural(t.count, {
468
468
  one: () => `${e.number(t.count)} notificação`,
@@ -544,32 +544,32 @@ me = {
544
544
  other: () => `${e.number(t.count)} сповіщення`
545
545
  })}.`
546
546
  };
547
- var he = {};
548
- he = {
547
+ var $e = {};
548
+ $e = {
549
549
  close: "关闭",
550
550
  notifications: (t, e) => `${e.plural(t.count, {
551
551
  one: () => `${e.number(t.count)} 个通知`,
552
552
  other: () => `${e.number(t.count)} 个通知`
553
553
  })}。`
554
554
  };
555
- var $e = {};
556
- $e = {
555
+ var he = {};
556
+ he = {
557
557
  close: "關閉",
558
558
  notifications: (t, e) => `${e.plural(t.count, {
559
559
  one: () => `${e.number(t.count)} 個通知`,
560
560
  other: () => `${e.number(t.count)} 個通知`
561
561
  })}。`
562
562
  };
563
- var I = {};
564
- I = {
565
- "ar-AE": D,
566
- "bg-BG": R,
563
+ var C = {};
564
+ C = {
565
+ "ar-AE": R,
566
+ "bg-BG": z,
567
567
  "cs-CZ": M,
568
568
  "da-DK": O,
569
569
  "de-DE": H,
570
570
  "el-GR": V,
571
- "en-US": z,
572
- "es-ES": U,
571
+ "en-US": U,
572
+ "es-ES": j,
573
573
  "et-EE": W,
574
574
  "fi-FI": K,
575
575
  "fr-FR": Z,
@@ -582,9 +582,9 @@ I = {
582
582
  "lt-LT": ee,
583
583
  "lv-LV": te,
584
584
  "nb-NO": ne,
585
- "nl-NL": ie,
586
- "pl-PL": oe,
587
- "pt-BR": ue,
585
+ "nl-NL": ue,
586
+ "pl-PL": ie,
587
+ "pt-BR": oe,
588
588
  "pt-PT": re,
589
589
  "ro-RO": ae,
590
590
  "ru-RU": se,
@@ -594,29 +594,29 @@ I = {
594
594
  "sv-SE": fe,
595
595
  "tr-TR": be,
596
596
  "uk-UA": me,
597
- "zh-CN": he,
598
- "zh-TW": $e
597
+ "zh-CN": $e,
598
+ "zh-TW": he
599
599
  };
600
600
  function Oe(t) {
601
601
  return t && t.__esModule ? t.default : t;
602
602
  }
603
603
  function He(t, e, n) {
604
- let { key: i, timer: o, timeout: u } = t.toast;
605
- g(() => {
606
- if (!(o == null || u == null))
607
- return o.reset(u), () => {
608
- o.pause();
604
+ let { key: u, timer: i, timeout: o } = t.toast;
605
+ T(() => {
606
+ if (!(i == null || o == null))
607
+ return i.reset(o), () => {
608
+ i.pause();
609
609
  };
610
610
  }, [
611
- o,
612
- u
611
+ i,
612
+ o
613
613
  ]);
614
- let r = Be(), a = Ie(), b = F(Oe(I), "@react-aria/toast"), [d, f] = A(!1);
615
- return g(() => {
614
+ let r = Ie(), a = Ce(), b = D(Oe(C), "@react-aria/toast"), [d, f] = g(!1);
615
+ return T(() => {
616
616
  f(!0);
617
617
  }, []), {
618
618
  toastProps: {
619
- ...je(t, {
619
+ ...Fe(t, {
620
620
  labelable: !0
621
621
  }),
622
622
  role: "alertdialog",
@@ -638,31 +638,31 @@ function He(t, e, n) {
638
638
  },
639
639
  closeButtonProps: {
640
640
  "aria-label": b.format("close"),
641
- onPress: () => e.close(i)
641
+ onPress: () => e.close(u)
642
642
  }
643
643
  };
644
644
  }
645
645
  function Ve(t) {
646
646
  return t && t.__esModule ? t.default : t;
647
647
  }
648
- function ze(t, e, n) {
649
- let i = F(Ve(I), "@react-aria/toast"), { landmarkProps: o } = Me({
648
+ function Ue(t, e, n) {
649
+ let u = D(Ve(C), "@react-aria/toast"), { landmarkProps: i } = Me({
650
650
  role: "region",
651
- "aria-label": t["aria-label"] || i.format("notifications", {
651
+ "aria-label": t["aria-label"] || u.format("notifications", {
652
652
  count: e.visibleToasts.length
653
653
  })
654
- }, n), u = v(!1), r = v(!1), a = Ce(() => {
655
- u.current || r.current ? e.pauseAll() : e.resumeAll();
656
- }), { hoverProps: b } = Ae({
654
+ }, n), o = v(!1), r = v(!1), a = Pe(() => {
655
+ o.current || r.current ? e.pauseAll() : e.resumeAll();
656
+ }), { hoverProps: b } = ge({
657
657
  onHoverStart: () => {
658
- u.current = !0, a();
658
+ o.current = !0, a();
659
659
  },
660
660
  onHoverEnd: () => {
661
- u.current = !1, a();
661
+ o.current = !1, a();
662
662
  }
663
- }), d = v([]), f = v(e.visibleToasts), h = v(null);
664
- j(() => {
665
- if (h.current === -1 || e.visibleToasts.length === 0 || !n.current) {
663
+ }), d = v([]), f = v(e.visibleToasts), $ = v(null);
664
+ F(() => {
665
+ if ($.current === -1 || e.visibleToasts.length === 0 || !n.current) {
666
666
  d.current = [], f.current = e.visibleToasts;
667
667
  return;
668
668
  }
@@ -675,15 +675,15 @@ function ze(t, e, n) {
675
675
  let l = f.current.map((c, m) => ({
676
676
  ...c,
677
677
  i: m,
678
- isRemoved: !e.visibleToasts.some(($) => c.key === $.key)
679
- })), T = l.findIndex((c) => c.i === h.current && c.isRemoved);
680
- if (T > -1) {
678
+ isRemoved: !e.visibleToasts.some((h) => c.key === h.key)
679
+ })), L = l.findIndex((c) => c.i === $.current && c.isRemoved);
680
+ if (L > -1) {
681
681
  var k;
682
- if (_() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
682
+ if (B() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
683
683
  else {
684
- let c = 0, m, $;
685
- for (; c <= T; )
686
- l[c].isRemoved || ($ = Math.max(0, c - 1)), c++;
684
+ let c = 0, m, h;
685
+ for (; c <= L; )
686
+ l[c].isRemoved || (h = Math.max(0, c - 1)), c++;
687
687
  for (; c < l.length; ) {
688
688
  if (!l[c].isRemoved) {
689
689
  m = c - 1;
@@ -691,7 +691,7 @@ function ze(t, e, n) {
691
691
  }
692
692
  c++;
693
693
  }
694
- $ === void 0 && m === void 0 && ($ = 0), $ >= 0 && $ < d.current.length ? E(d.current[$]) : m >= 0 && m < d.current.length && E(d.current[m]);
694
+ h === void 0 && m === void 0 && (h = 0), h >= 0 && h < d.current.length ? E(d.current[h]) : m >= 0 && m < d.current.length && E(d.current[m]);
695
695
  }
696
696
  }
697
697
  f.current = e.visibleToasts;
@@ -708,19 +708,19 @@ function ze(t, e, n) {
708
708
  r.current = !1, s.current = null, a();
709
709
  }
710
710
  });
711
- return g(() => {
711
+ return T(() => {
712
712
  var l;
713
- e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (_() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
713
+ e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (B() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
714
714
  }, [
715
715
  n,
716
716
  e.visibleToasts.length
717
- ]), g(() => () => {
717
+ ]), T(() => () => {
718
718
  var l;
719
- !((l = s.current) === null || l === void 0) && l.isConnected && (_() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
719
+ !((l = s.current) === null || l === void 0) && l.isConnected && (B() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
720
720
  }, [
721
721
  n
722
722
  ]), {
723
- regionProps: Pe(o, b, Ee, {
723
+ regionProps: Ae(i, b, Ee, {
724
724
  tabIndex: -1,
725
725
  // Mark the toast region as a "top layer", so that it:
726
726
  // - is not aria-hidden when opening an overlay
@@ -731,25 +731,25 @@ function ze(t, e, n) {
731
731
  // listen to focus events separate from focuswithin because that will only fire once
732
732
  // and we need to follow all focus changes
733
733
  onFocus: (l) => {
734
- let T = l.target.closest('[role="alertdialog"]');
735
- h.current = d.current.findIndex((k) => k === T);
734
+ let L = l.target.closest('[role="alertdialog"]');
735
+ $.current = d.current.findIndex((k) => k === L);
736
736
  },
737
737
  onBlur: () => {
738
- h.current = -1;
738
+ $.current = -1;
739
739
  }
740
740
  })
741
741
  };
742
742
  }
743
743
  function pe(t) {
744
- let e = L((o) => t.subscribe(o), [
744
+ let e = w((i) => t.subscribe(i), [
745
745
  t
746
- ]), n = L(() => t.visibleToasts, [
746
+ ]), n = w(() => t.visibleToasts, [
747
747
  t
748
748
  ]);
749
749
  return {
750
750
  visibleToasts: N.useSyncExternalStore(e, n, n),
751
- add: (o, u) => t.add(o, u),
752
- close: (o) => t.close(o),
751
+ add: (i, o) => t.add(i, o),
752
+ close: (i) => t.close(i),
753
753
  pauseAll: () => t.pauseAll(),
754
754
  resumeAll: () => t.resumeAll()
755
755
  };
@@ -764,22 +764,22 @@ class ve {
764
764
  }
765
765
  /** Adds a new toast to the queue. */
766
766
  add(e, n = {}) {
767
- let i = "_" + Math.random().toString(36).slice(2), o = {
767
+ let u = "_" + Math.random().toString(36).slice(2), i = {
768
768
  ...n,
769
769
  content: e,
770
- key: i,
771
- timer: n.timeout ? new Ue(() => this.close(i), n.timeout) : void 0
770
+ key: u,
771
+ timer: n.timeout ? new je(() => this.close(u), n.timeout) : void 0
772
772
  };
773
- return this.queue.unshift(o), this.updateVisibleToasts("add"), i;
773
+ return this.queue.unshift(i), this.updateVisibleToasts("add"), u;
774
774
  }
775
775
  /**
776
776
  * Closes a toast.
777
777
  */
778
778
  close(e) {
779
- let n = this.queue.findIndex((u) => u.key === e);
779
+ let n = this.queue.findIndex((o) => o.key === e);
780
780
  if (n >= 0) {
781
- var i, o;
782
- (i = (o = this.queue[n]).onClose) === null || i === void 0 || i.call(o), this.queue.splice(n, 1);
781
+ var u, i;
782
+ (u = (i = this.queue[n]).onClose) === null || u === void 0 || u.call(i), this.queue.splice(n, 1);
783
783
  }
784
784
  this.updateVisibleToasts("remove");
785
785
  }
@@ -805,7 +805,7 @@ class ve {
805
805
  this.maxVisibleToasts = (n = e == null ? void 0 : e.maxVisibleToasts) !== null && n !== void 0 ? n : 1 / 0, this.wrapUpdate = e == null ? void 0 : e.wrapUpdate;
806
806
  }
807
807
  }
808
- class Ue {
808
+ class je {
809
809
  reset(e) {
810
810
  this.remaining = e, this.resume();
811
811
  }
@@ -821,21 +821,9 @@ class Ue {
821
821
  this.startTime = null, this.remaining = n, this.callback = e;
822
822
  }
823
823
  }
824
- const We = '"../theme/tokens.css"', Ke = "_toastRegion_jgjyx_52", Ze = "_toast_jgjyx_52", Ge = "_success_jgjyx_95", Je = "_info_jgjyx_103", Qe = "_important_jgjyx_111", Xe = "_warning_jgjyx_119", qe = "_icon_jgjyx_127", Ye = "_toastContent_jgjyx_137", et = "_toastMessage_jgjyx_144", tt = "_slideInTop_jgjyx_1", nt = "_slideInEnd_jgjyx_1", it = "_slideOutTop_jgjyx_1", ot = "_slideOutEnd_jgjyx_1", x = {
825
- tokens: We,
826
- "--font-family": '"Inter", sans-serif',
827
- "--text-primary": "light-dark(#171717, #f2f2f2)",
828
- "--support-background-success": "light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))",
829
- "--support-border-success": "light-dark(#008d3c, #008d3c)",
830
- "--support-background-info": "light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))",
831
- "--support-border-info": "light-dark(#0066cc, #0066cc)",
832
- "--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
833
- "--support-border-important": "light-dark(#fdb813, #fdb813)",
834
- "--support-border-warning": "light-dark(#e62323, #e62323)",
835
- "--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
836
- "--breakpoint-md": "(min-width: 768px)",
837
- "--focus": "0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)",
838
- "--z-index-toast": "1100",
824
+ const We = '"../theme/breakpoints.css"', Ke = "_toastRegion_1uufz_52", Ze = "_toast_1uufz_52", Ge = "_success_1uufz_95", Je = "_info_1uufz_103", Qe = "_important_1uufz_111", Xe = "_warning_1uufz_119", qe = "_icon_1uufz_127", Ye = "_toastContent_1uufz_137", et = "_toastMessage_1uufz_144", tt = "_slideInTop_1uufz_1", nt = "_slideInEnd_1uufz_1", ut = "_slideOutTop_1uufz_1", it = "_slideOutEnd_1uufz_1", x = {
825
+ breakpoints: We,
826
+ "--midas-breakpoints-md": "(min-width: 768px)",
839
827
  toastRegion: Ke,
840
828
  toast: Ze,
841
829
  success: Ge,
@@ -847,26 +835,26 @@ const We = '"../theme/tokens.css"', Ke = "_toastRegion_jgjyx_52", Ze = "_toast_j
847
835
  toastMessage: et,
848
836
  slideInTop: tt,
849
837
  slideInEnd: nt,
850
- slideOutTop: it,
851
- slideOutEnd: ot
838
+ slideOutTop: ut,
839
+ slideOutEnd: it
852
840
  }, xe = {
853
841
  wrapUpdate(t) {
854
842
  "startViewTransition" in document ? document.startViewTransition(() => {
855
- _e(t);
843
+ Be(t);
856
844
  }) : t();
857
845
  },
858
846
  maxVisibleToasts: 5
859
847
  };
860
- function ut(t = {}) {
861
- const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i = ye(
848
+ function ot(t = {}) {
849
+ const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, u = _e(
862
850
  () => new ve({ maxVisibleToasts: e, wrapUpdate: n }),
863
851
  [e, n]
864
852
  );
865
- return pe(i);
853
+ return pe(u);
866
854
  }
867
- const rt = new ve(xe), gt = (t) => {
855
+ const rt = new ve(xe), Tt = (t) => {
868
856
  const e = pe(rt);
869
- return e.visibleToasts.length > 0 ? Le(
857
+ return e.visibleToasts.length > 0 ? we(
870
858
  /* @__PURE__ */ p(
871
859
  ke,
872
860
  {
@@ -876,9 +864,9 @@ const rt = new ve(xe), gt = (t) => {
876
864
  ),
877
865
  document.body
878
866
  ) : null;
879
- }, Tt = ({ children: t, ...e }) => {
880
- const n = ut(xe);
881
- return /* @__PURE__ */ y(ge, { children: [
867
+ }, Lt = ({ children: t, ...e }) => {
868
+ const n = ot(xe);
869
+ return /* @__PURE__ */ _(Te, { children: [
882
870
  typeof t == "function" ? t(n) : t,
883
871
  n.visibleToasts.length > 0 && /* @__PURE__ */ p(
884
872
  ke,
@@ -894,20 +882,20 @@ function ke({
894
882
  className: e,
895
883
  ...n
896
884
  }) {
897
- const i = P.useRef(null), { regionProps: o } = ze(n, t, i);
885
+ const u = A.useRef(null), { regionProps: i } = Ue(n, t, u);
898
886
  return /* @__PURE__ */ p(
899
887
  "div",
900
888
  {
901
- ...o,
902
- ref: i,
903
- className: B(x.toastRegion, e),
904
- children: t.visibleToasts.map((u) => /* @__PURE__ */ p(
889
+ ...i,
890
+ ref: u,
891
+ className: I(x.toastRegion, e),
892
+ children: t.visibleToasts.map((o) => /* @__PURE__ */ p(
905
893
  at,
906
894
  {
907
- toast: u,
895
+ toast: o,
908
896
  state: t
909
897
  },
910
- u.key
898
+ o.key
911
899
  ))
912
900
  }
913
901
  );
@@ -917,27 +905,27 @@ function at({
917
905
  className: e,
918
906
  ...n
919
907
  }) {
920
- const i = P.useRef(null), { toastProps: o, contentProps: u, titleProps: r, closeButtonProps: a } = He(
908
+ const u = A.useRef(null), { toastProps: i, contentProps: o, titleProps: r, closeButtonProps: a } = He(
921
909
  n,
922
910
  t
923
- ), b = we[n.toast.content.type];
924
- return /* @__PURE__ */ y(
911
+ ), b = ye[n.toast.content.type];
912
+ return /* @__PURE__ */ _(
925
913
  "div",
926
914
  {
927
- ...o,
928
- ref: i,
929
- className: B(
915
+ ...i,
916
+ ref: u,
917
+ className: I(
930
918
  x.toast,
931
919
  x[n.toast.content.type],
932
920
  e
933
921
  ),
934
922
  style: { viewTransitionName: n.toast.key },
935
923
  children: [
936
- /* @__PURE__ */ y(
924
+ /* @__PURE__ */ _(
937
925
  "div",
938
926
  {
939
- ...u,
940
- className: B(x.toastContent, u.className),
927
+ ...o,
928
+ className: I(x.toastContent, o.className),
941
929
  children: [
942
930
  /* @__PURE__ */ p(
943
931
  b,
@@ -947,7 +935,7 @@ function at({
947
935
  "aria-hidden": !0
948
936
  }
949
937
  ),
950
- /* @__PURE__ */ y("div", { children: [
938
+ /* @__PURE__ */ _("div", { children: [
951
939
  /* @__PURE__ */ p(
952
940
  "p",
953
941
  {
@@ -962,12 +950,12 @@ function at({
962
950
  }
963
951
  ),
964
952
  /* @__PURE__ */ p(
965
- Te,
953
+ Le,
966
954
  {
967
955
  variant: "icon",
968
956
  ...a,
969
957
  children: /* @__PURE__ */ p(
970
- Fe,
958
+ De,
971
959
  {
972
960
  size: 20,
973
961
  "aria-hidden": !0
@@ -980,10 +968,10 @@ function at({
980
968
  );
981
969
  }
982
970
  export {
983
- gt as G,
984
- Tt as T,
971
+ Tt as G,
972
+ Lt as T,
985
973
  ke as a,
986
974
  at as b,
987
975
  rt as t,
988
- ut as u
976
+ ot as u
989
977
  };