@midas-ds/components 11.2.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 (465) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/BadgeContainer-iNNgJKD9.js +37 -0
  4. package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
  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-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
  9. package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-Dq6ugqxT.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 +114 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
  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-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
  27. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-BmvqW1Hk.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-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
  43. package/Dropdown-DJ2vWAqk.cjs +6 -0
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
  46. package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/Grid-WbEkSCGh.cjs +1 -0
  51. package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/InfoBanner-CqjnTYaa.cjs +1 -0
  59. package/InfoBanner-CrA8MS3v.js +83 -0
  60. package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
  61. package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
  62. package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
  63. package/Label-C00qz3kQ.cjs +1 -0
  64. package/Layout-Bta_Cpq_.cjs +16 -0
  65. package/Layout-CG-Qxr_1.js +482 -0
  66. package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
  67. package/Link-Bx6avHVl.cjs +6 -0
  68. package/Link-CbFSuEI1.js +73 -0
  69. package/Link-wM7cVPlS.cjs +1 -0
  70. package/LinkButton-BvXu6vAH.cjs +6 -0
  71. package/LinkButton-D3EnZ65v.js +69 -0
  72. package/ListBox-ICZKGluC.cjs +1 -0
  73. package/ListBox-LncMQt6I.js +523 -0
  74. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  75. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  76. package/ListBoxSection-BCPv9H50.js +1085 -0
  77. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  78. package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  79. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  80. package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
  81. package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
  82. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  83. package/OverlayArrow-CvNuu3e3.js +519 -0
  84. package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  85. package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
  86. package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
  87. package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
  88. package/ProgressBar-CdXHEJh6.js +53 -0
  89. package/ProgressBar-CjuHokVZ.cjs +1 -0
  90. package/Radio-Bll-7H8O.cjs +1 -0
  91. package/Radio-DoWx2AE1.js +333 -0
  92. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  93. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  95. package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
  96. package/Select-BnbDXwgD.cjs +1 -0
  97. package/Select-Dpi3LhbI.js +654 -0
  98. package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  99. package/SelectionManager-BtbHoHpA.cjs +1 -0
  100. package/Separator-CM0KPvsX.js +105 -0
  101. package/Separator-Cfv2pbWf.cjs +1 -0
  102. package/Separator-DH-5wu9X.js +77 -0
  103. package/Separator-Dgin8BNW.cjs +1 -0
  104. package/Skeleton-BpYj25p8.js +37 -0
  105. package/Skeleton-DMOxEwnd.cjs +1 -0
  106. package/Spinner-D1UBuLy4.cjs +6 -0
  107. package/Spinner-DTKb_LAA.js +47 -0
  108. package/TabList-D4WwgQY3.cjs +1 -0
  109. package/TabList-D9tl2s85.js +397 -0
  110. package/Table-C6k3PiiC.cjs +16 -0
  111. package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
  112. package/Tag-7dHEMQum.cjs +1 -0
  113. package/Tag-BUJ20HHw.js +765 -0
  114. package/Text-BAFsaON-.cjs +1 -0
  115. package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
  116. package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
  117. package/Text-CmlsaWMA.js +32 -0
  118. package/TextArea-BCikUXaD.cjs +1 -0
  119. package/TextArea-h5_oBQH1.js +125 -0
  120. package/TextField-Bm5916AD.cjs +1 -0
  121. package/TextField-_UY8CXtW.js +134 -0
  122. package/TextField.module-C9Zm9unF.js +13 -0
  123. package/TextField.module-GTQtNO0r.cjs +1 -0
  124. package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
  125. package/Toast-DclaxvZM.cjs +1 -0
  126. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  127. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  128. package/Tooltip-BHAtsp9k.js +281 -0
  129. package/Tooltip-CZa9n5sT.cjs +1 -0
  130. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
  131. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  132. package/accordion/Accordion.d.ts +8 -2
  133. package/accordion/AccordionContext.d.ts +4 -0
  134. package/accordion/AccordionItem.d.ts +6 -4
  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 -0
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  184. package/breadcrumbs/index.cjs +1 -1
  185. package/breadcrumbs/index.js +1 -1
  186. package/button/index.cjs +1 -1
  187. package/button/index.js +2 -2
  188. package/calendar/index.cjs +1 -1
  189. package/calendar/index.js +1 -1
  190. package/card/index.cjs +1 -1
  191. package/card/index.js +1 -1
  192. package/character-counter/index.cjs +1 -1
  193. package/character-counter/index.js +1 -1
  194. package/checkbox/index.cjs +1 -1
  195. package/checkbox/index.js +2 -2
  196. package/chevron-right-0-sUFBiR.cjs +6 -0
  197. package/chevron-right-BYYHEJjK.js +11 -0
  198. package/color-scheme-switch/index.cjs +1 -1
  199. package/color-scheme-switch/index.js +1 -1
  200. package/combobox/ComboBox.d.ts +0 -4
  201. package/combobox/index.cjs +1 -1
  202. package/combobox/index.d.ts +1 -2
  203. package/combobox/index.js +2 -3
  204. package/combobox/intl/translations.json.d.ts +4 -2
  205. package/combobox/types.d.ts +0 -13
  206. package/common/icon-map.d.ts +6 -0
  207. package/common/types.d.ts +8 -0
  208. package/date-field/index.cjs +1 -1
  209. package/date-field/index.js +2 -2
  210. package/date-picker/index.cjs +1 -1
  211. package/date-picker/index.js +1 -1
  212. package/dropdown/Dropdown.d.ts +25 -1
  213. package/dropdown/index.cjs +1 -1
  214. package/dropdown/index.js +1 -1
  215. package/field-error/index.cjs +1 -1
  216. package/field-error/index.js +1 -1
  217. package/file-upload/index.cjs +1 -1
  218. package/file-upload/index.js +1 -1
  219. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  220. package/filterDOMProps-wsa9OcNI.js +65 -0
  221. package/grid/Grid.d.ts +0 -8
  222. package/grid/GridItem.d.ts +0 -8
  223. package/grid/index.cjs +1 -1
  224. package/grid/index.d.ts +2 -2
  225. package/grid/index.js +4 -6
  226. package/heading/index.cjs +1 -1
  227. package/heading/index.js +1 -1
  228. package/icon-map-9XcghDra.cjs +11 -0
  229. package/icon-map-uS87FT_Q.js +43 -0
  230. package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
  231. package/index-DSFSh2sC.cjs +17 -0
  232. package/index.cjs +1 -1
  233. package/index.d.ts +2 -0
  234. package/index.js +133 -121
  235. package/info-banner/InfoBanner.d.ts +18 -10
  236. package/info-banner/index.cjs +1 -1
  237. package/info-banner/index.js +1 -1
  238. package/label/index.cjs +1 -1
  239. package/label/index.js +1 -1
  240. package/layout/index.cjs +1 -1
  241. package/layout/index.js +1 -1
  242. package/link/index.cjs +1 -1
  243. package/link/index.js +2 -2
  244. package/link-button/index.cjs +1 -1
  245. package/link-button/index.js +2 -2
  246. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  247. package/list-box/index.cjs +1 -1
  248. package/list-box/index.d.ts +1 -0
  249. package/list-box/index.js +6 -5
  250. package/list-box/intl/translations.json.d.ts +11 -0
  251. package/logo/index.cjs +1 -1
  252. package/logo/index.js +1 -1
  253. package/menu/Menu.d.ts +13 -0
  254. package/menu/MenuItem.d.ts +5 -0
  255. package/menu/MenuPopover.d.ts +3 -0
  256. package/menu/MenuSection.d.ts +3 -0
  257. package/menu/Separator.d.ts +3 -0
  258. package/menu/index.cjs +1 -0
  259. package/menu/index.d.ts +5 -0
  260. package/menu/index.js +8 -0
  261. package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
  262. package/mergeProps-JhcJ7uJL.cjs +1 -0
  263. package/modal/index.cjs +1 -1
  264. package/modal/index.js +2 -2
  265. package/package.json +9 -4
  266. package/popover/index.cjs +1 -1
  267. package/popover/index.js +1 -1
  268. package/progress-bar/index.cjs +1 -1
  269. package/progress-bar/index.js +1 -1
  270. package/radio/index.cjs +1 -1
  271. package/radio/index.js +1 -1
  272. package/search-field/index.cjs +1 -1
  273. package/search-field/index.js +1 -1
  274. package/select/Select.d.ts +1 -1
  275. package/select/index.cjs +1 -1
  276. package/select/index.d.ts +1 -1
  277. package/select/index.js +1 -1
  278. package/select/types.d.ts +1 -13
  279. package/skeleton/index.cjs +1 -1
  280. package/skeleton/index.js +1 -1
  281. package/spinner/index.cjs +1 -1
  282. package/spinner/index.js +1 -1
  283. package/table/Table.d.ts +7 -12
  284. package/table/index.cjs +1 -1
  285. package/table/index.js +1 -1
  286. package/tabs/Tabs.d.ts +0 -12
  287. package/tabs/index.cjs +1 -1
  288. package/tabs/index.js +1 -1
  289. package/tag/Tag.d.ts +2 -1
  290. package/tag/index.cjs +1 -1
  291. package/tag/index.js +1 -1
  292. package/text/index.cjs +1 -1
  293. package/text/index.js +1 -1
  294. package/textfield/Input.d.ts +7 -2
  295. package/textfield/PasswordField.d.ts +1 -1
  296. package/textfield/index.cjs +1 -1
  297. package/textfield/index.js +1 -1
  298. package/theme/generated-object.d.ts +384 -0
  299. package/theme/generated-tokens.d.ts +334 -0
  300. package/theme/index.cjs +1 -1
  301. package/theme/index.d.ts +39 -12
  302. package/theme/index.js +4037 -13
  303. package/theme/tokens.d.ts +65 -18
  304. package/toast/Toast.d.ts +2 -1
  305. package/toast/index.cjs +1 -1
  306. package/toast/index.js +1 -1
  307. package/toggle-button/index.cjs +1 -1
  308. package/toggle-button/index.js +1 -1
  309. package/tokens-B3FfJ-rY.cjs +1 -0
  310. package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
  311. package/tooltip/index.cjs +1 -1
  312. package/tooltip/index.js +1 -1
  313. package/useButton-D6iUB8cN.js +56 -0
  314. package/useButton-R8-i3HLC.cjs +1 -0
  315. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  316. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  317. package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
  318. package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  319. package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
  320. package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
  321. package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
  322. package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
  323. package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
  324. package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
  325. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  326. package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
  327. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
  328. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  329. package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  330. package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
  331. package/useFormValidation-BQIRxgbU.cjs +1 -0
  332. package/useFormValidation-L0UHvOsP.js +217 -0
  333. package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  334. package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
  335. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
  336. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  337. package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
  338. package/useHover-DGAmG7jt.cjs +1 -0
  339. package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  340. package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
  341. package/useListState-D2IEg6_e.cjs +1 -0
  342. package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
  343. package/usePress-CicXV7UO.cjs +7 -0
  344. package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
  345. package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  346. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  347. package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
  348. package/useTextField-Cxpfu0U3.cjs +1 -0
  349. package/useToggleState-BVOqL4hI.js +21 -0
  350. package/useToggleState-SqDyNfRi.cjs +1 -0
  351. package/utils/types.d.ts +4 -0
  352. package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
  353. package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
  354. package/utils-DFIwp4PB.js +262 -0
  355. package/utils-__vrf9VZ.cjs +1 -0
  356. package/AccordionItem-BPOQqTkQ.js +0 -323
  357. package/AccordionItem-CS-QKqrU.cjs +0 -1
  358. package/BadgeContainer-CKBIZWsc.js +0 -37
  359. package/Breadcrumbs-BBzSV4SK.js +0 -262
  360. package/Breadcrumbs-CFUryOhf.cjs +0 -1
  361. package/Button-DExMoP5f.cjs +0 -1
  362. package/Button.module-D-mPLRxe.js +0 -14
  363. package/Button.module-goCEz5qs.cjs +0 -1
  364. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  365. package/Card-BRs1FKX5.js +0 -131
  366. package/Card-cdL5669N.cjs +0 -1
  367. package/Checkbox-Co3h0hur.cjs +0 -1
  368. package/Checkbox-EB_SCBEo.js +0 -264
  369. package/CheckboxGroup-CT_eqERw.cjs +0 -1
  370. package/CheckboxGroup-DvrN1oyw.js +0 -159
  371. package/Collection-BtBX5IMY.cjs +0 -1
  372. package/Collection-D2jVTmDW.js +0 -577
  373. package/ComboBox-D_jh7TKo.cjs +0 -1
  374. package/DateField-BURrxhil.cjs +0 -1
  375. package/DateField-DKCbEonm.js +0 -47
  376. package/DateInputDivider-ToFY-yjB.cjs +0 -1
  377. package/DateRangePicker-B5vx9onl.js +0 -870
  378. package/DateRangePicker-DkIAEIIj.cjs +0 -6
  379. package/Dialog-CxHiZorC.cjs +0 -1
  380. package/Dialog-D5c_dUnB.js +0 -1611
  381. package/Dialog-DtHk3eXI.cjs +0 -1
  382. package/Dialog-DuGcBeNN.js +0 -212
  383. package/DragAndDrop-CSg60YQE.cjs +0 -1
  384. package/DragAndDrop-DOXLfJaA.js +0 -60
  385. package/Dropdown-CYakzdJg.cjs +0 -6
  386. package/FieldError-Bv3Q6ZP-.cjs +0 -1
  387. package/FocusScope-vcXLOQiu.cjs +0 -1
  388. package/Grid-DVQtOcu9.cjs +0 -1
  389. package/GridItem-DlbSdRmB.js +0 -246
  390. package/GridItem-XgHmZWXY.cjs +0 -1
  391. package/Heading-CKTR4sOz.cjs +0 -1
  392. package/Heading-D2y_kiC0.js +0 -46
  393. package/InfoBanner-CzwbOdRG.cjs +0 -1
  394. package/InfoBanner-D05poAe3.js +0 -91
  395. package/Label-ChjDdBlv.cjs +0 -1
  396. package/Layout-D0E1fOgZ.cjs +0 -16
  397. package/Layout-DtyhUz-G.js +0 -498
  398. package/Link-CibH8uRY.js +0 -72
  399. package/Link-CidjjqHb.cjs +0 -1
  400. package/Link-ESjrl63P.cjs +0 -6
  401. package/LinkButton-B6AWNiRn.cjs +0 -6
  402. package/LinkButton-BkZULm2a.js +0 -69
  403. package/ListBox-B0E1hdEt.cjs +0 -1
  404. package/ListBox-Djy7244v.js +0 -531
  405. package/ListBoxButton-CIqNRR3y.cjs +0 -1
  406. package/ListBoxButton-sqirI6I4.js +0 -15
  407. package/ListBoxSection-BYJccE4T.cjs +0 -1
  408. package/ListBoxSection-Cicbu8pS.js +0 -1058
  409. package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
  410. package/OverlayArrow-DB_aVTVM.js +0 -507
  411. package/OverlayArrow-DpZ1FqOd.cjs +0 -1
  412. package/ProgressBar-ClysdvqU.cjs +0 -1
  413. package/ProgressBar-DTn23Zkr.js +0 -53
  414. package/Radio-CCN3o3s-.js +0 -313
  415. package/Radio-Cz0vLIBw.cjs +0 -1
  416. package/RangeCalendar-BY82hPRu.cjs +0 -11
  417. package/Select-MwvnbChP.js +0 -664
  418. package/Select-lhIwwJL7.cjs +0 -1
  419. package/SelectionManager-BJjqIWtf.cjs +0 -1
  420. package/Separator-DPLEx950.cjs +0 -1
  421. package/Separator-DvvVAypT.js +0 -59
  422. package/Skeleton-BAwbfKBW.cjs +0 -1
  423. package/Skeleton-BePDRmrO.js +0 -40
  424. package/Spinner-VSyPhiJ9.js +0 -51
  425. package/Spinner-vof0Y9Hh.cjs +0 -6
  426. package/TabList-CWMlbijV.cjs +0 -1
  427. package/TabList-VpTv_Xff.js +0 -435
  428. package/Table-DGYC-sDq.cjs +0 -16
  429. package/Tag-bYq-wf5D.cjs +0 -1
  430. package/Tag-rI-NhuT0.js +0 -748
  431. package/Text-BPcfhYQ9.js +0 -32
  432. package/Text-DBHWi5gA.cjs +0 -1
  433. package/TextArea-CrEALC58.js +0 -119
  434. package/TextArea-DJKHFKuI.cjs +0 -1
  435. package/TextField-BAX93sq7.cjs +0 -1
  436. package/TextField-Dma22dnD.js +0 -120
  437. package/TextField.module-BcpPBWnD.js +0 -13
  438. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  439. package/Toast-DdmSvNaO.cjs +0 -1
  440. package/ToggleButtonGroup-98z8Dw8-.js +0 -211
  441. package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
  442. package/Tooltip-DjNc93tV.js +0 -285
  443. package/Tooltip-pN5W3IK6.cjs +0 -1
  444. package/circle-check-BErh6TKu.js +0 -26
  445. package/circle-check-OVUGxwp9.cjs +0 -11
  446. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  447. package/filterDOMProps-D6KHYVBX.js +0 -24
  448. package/index-Dsz3aiWt.cjs +0 -17
  449. package/mergeProps-B5KXZAI3.cjs +0 -1
  450. package/tokens-5PzK5zK7.cjs +0 -1
  451. package/triangle-alert-B_qAPmWC.js +0 -21
  452. package/triangle-alert-BviJNFjf.cjs +0 -6
  453. package/useButton-BoIV3kDJ.js +0 -47
  454. package/useButton-D60q0SQw.cjs +0 -1
  455. package/useDateFormatter-BJBt0jk_.cjs +0 -1
  456. package/useFormValidation-BlFGdPZB.cjs +0 -1
  457. package/useFormValidation-BzzruZKm.js +0 -215
  458. package/useHover-BE_XKZKe.cjs +0 -1
  459. package/useListState-wLau6fXo.cjs +0 -1
  460. package/usePress-BooY_CAy.cjs +0 -7
  461. package/useTextField-DnRrCg5o.cjs +0 -1
  462. package/useToggleState-Bz5rAf4C.js +0 -18
  463. package/useToggleState-DoIkSQdj.cjs +0 -1
  464. package/utils-CoCR_Fce.js +0 -234
  465. package/utils-Dvdohqm9.cjs +0 -1
@@ -1,32 +1,30 @@
1
- import { jsx as p, jsxs as y, Fragment as Te } from "react/jsx-runtime";
2
- import { B as ge } from "./Button-BjMaGya2.js";
3
- import A, { useState as P, useCallback as L, useEffect as T, 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 { s as N } from "./index-CGRFP4CC.js";
7
- import { $ as j, c as we, b as Be, d as Ie, a as Ce } from "./mergeProps-C1U1OIeJ.js";
8
- import { m as E } from "./utils-CoCR_Fce.js";
9
- import { $ as Ae, f as _ } from "./useHover-DQvJ3Y-W.js";
10
- import { $ as Pe } from "./useFocusWithin-T1ifEM_s.js";
11
- import { $ as F } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
12
- import { $ as Ne } from "./filterDOMProps-D6KHYVBX.js";
13
- import { T as je } from "./triangle-alert-B_qAPmWC.js";
14
- import { C as Fe, a as De } from "./circle-check-BErh6TKu.js";
15
- import { I as Se } from "./info-CPK1vbOJ.js";
16
- import { X as Re } from "./x-C2xUHAEl.js";
17
- import './assets/Toast.css';const D = 1, w = Symbol.for("react-aria-landmark-manager");
18
- function Me(t) {
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
+ function Se(t) {
19
17
  return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
20
18
  }
21
- function C() {
19
+ function P() {
22
20
  if (typeof document > "u") return null;
23
- let t = document[w];
24
- return t && t.version >= D ? t : (document[w] = new He(), 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]);
25
23
  }
26
- function Oe() {
27
- return N.useSyncExternalStore(Me, C, C);
24
+ function Re() {
25
+ return N.useSyncExternalStore(Se, P, P);
28
26
  }
29
- class He {
27
+ class ze {
30
28
  setupIfNeeded() {
31
29
  this.isListening || (document.addEventListener("keydown", this.f6Handler, {
32
30
  capture: !0
@@ -46,8 +44,8 @@ class He {
46
44
  }), this.isListening = !1);
47
45
  }
48
46
  focusLandmark(e, n) {
49
- var i, o;
50
- (o = this.landmarks.find((r) => r.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);
51
49
  }
52
50
  /**
53
51
  * Return set of landmarks with a specific role.
@@ -62,22 +60,22 @@ class He {
62
60
  return this.landmarks.find((n) => n.role === e);
63
61
  }
64
62
  addLandmark(e) {
65
- if (this.setupIfNeeded(), this.landmarks.find((o) => o.ref === e.ref) || !e.ref.current) return;
66
- 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) {
67
65
  this.landmarks = [
68
66
  e
69
67
  ], this.checkLabels(e.role);
70
68
  return;
71
69
  }
72
- let n = 0, i = this.landmarks.length - 1;
73
- for (; n <= i; ) {
74
- let o = Math.floor((n + i) / 2), r = e.ref.current.compareDocumentPosition(this.landmarks[o].ref.current);
75
- !!(r & Node.DOCUMENT_POSITION_PRECEDING || r & 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;
76
74
  }
77
75
  this.landmarks.splice(n, 0, e), this.checkLabels(e.role);
78
76
  }
79
77
  updateLandmark(e) {
80
- let n = this.landmarks.findIndex((i) => i.ref === e.ref);
78
+ let n = this.landmarks.findIndex((u) => u.ref === e.ref);
81
79
  n >= 0 && (this.landmarks[n] = {
82
80
  ...this.landmarks[n],
83
81
  ...e
@@ -95,18 +93,18 @@ class He {
95
93
  checkLabels(e) {
96
94
  let n = this.getLandmarksByRole(e);
97
95
  if (n.size > 1) {
98
- let i = [
96
+ let u = [
99
97
  ...n
100
- ].filter((o) => !o.label);
101
- 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));
102
100
  else if (process.env.NODE_ENV !== "production") {
103
- let o = [
101
+ let i = [
104
102
  ...n
105
- ].map((u) => u.label);
106
- o.filter((u, a) => o.indexOf(u) !== a).forEach((u) => {
107
- console.warn(`Page contains more than one landmark with the '${e}' role and '${u}' label. If two or more landmarks on a page share the same role, they must have unique labels: `, [
103
+ ].map((r) => r.label);
104
+ i.filter((r, a) => i.indexOf(r) !== a).forEach((r) => {
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: `, [
108
106
  ...n
109
- ].filter((a) => a.label === u).map((a) => a.ref.current));
107
+ ].filter((a) => a.label === r).map((a) => a.ref.current));
110
108
  });
111
109
  }
112
110
  }
@@ -116,12 +114,12 @@ class He {
116
114
  * Returns undefined if no parent is a landmark.
117
115
  */
118
116
  closestLandmark(e) {
119
- let n = new Map(this.landmarks.map((o) => [
120
- o.ref.current,
121
- o
122
- ])), i = e;
123
- for (; i && !n.has(i) && i !== document.body && i.parentElement; ) i = i.parentElement;
124
- 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);
125
123
  }
126
124
  /**
127
125
  * Gets the next landmark, in DOM focus order, or previous if backwards is specified.
@@ -130,11 +128,11 @@ class He {
130
128
  * Returns undefined if there are no landmarks.
131
129
  */
132
130
  getNextLandmark(e, { backward: n }) {
133
- var i;
134
- let o = this.closestLandmark(e), r = n ? this.landmarks.length - 1 : 0;
135
- o && (r = this.landmarks.indexOf(o) + (n ? -1 : 1));
136
- let u = () => {
137
- if (r < 0) {
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
+ let r = () => {
135
+ if (o < 0) {
138
136
  if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
139
137
  detail: {
140
138
  direction: "backward"
@@ -142,8 +140,8 @@ class He {
142
140
  bubbles: !0,
143
141
  cancelable: !0
144
142
  }))) return !0;
145
- r = this.landmarks.length - 1;
146
- } else if (r >= this.landmarks.length) {
143
+ o = this.landmarks.length - 1;
144
+ } else if (o >= this.landmarks.length) {
147
145
  if (!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
148
146
  detail: {
149
147
  direction: "forward"
@@ -151,17 +149,17 @@ class He {
151
149
  bubbles: !0,
152
150
  cancelable: !0
153
151
  }))) return !0;
154
- r = 0;
152
+ o = 0;
155
153
  }
156
- return r < 0 || r >= this.landmarks.length;
154
+ return o < 0 || o >= this.landmarks.length;
157
155
  };
158
- if (u()) return;
159
- let a = r;
160
- for (; !((i = this.landmarks[r].ref.current) === null || i === void 0) && i.closest("[aria-hidden=true]"); ) {
161
- if (r += n ? -1 : 1, u()) return;
162
- if (r === a) break;
156
+ if (r()) return;
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;
163
161
  }
164
- return this.landmarks[r];
162
+ return this.landmarks[o];
165
163
  }
166
164
  /**
167
165
  * Look at next landmark. If an element was previously focused inside, restore focus there.
@@ -176,16 +174,16 @@ class He {
176
174
  return e && e.ref.current && document.contains(e.ref.current) ? (this.focusLandmark(e.ref.current, "forward"), !0) : !1;
177
175
  }
178
176
  navigate(e, n) {
179
- let i = this.getNextLandmark(e, {
177
+ let u = this.getNextLandmark(e, {
180
178
  backward: n
181
179
  });
182
- if (!i) return !1;
183
- if (i.lastFocused) {
184
- let o = i.lastFocused;
185
- if (document.body.contains(o))
186
- 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;
187
185
  }
188
- 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;
189
187
  }
190
188
  /**
191
189
  * Sets lastFocused for a landmark, if focus is moved within that landmark.
@@ -197,36 +195,36 @@ class He {
197
195
  ref: n.ref,
198
196
  lastFocused: e.target
199
197
  });
200
- let i = e.relatedTarget;
201
- if (i) {
202
- let o = this.closestLandmark(i);
203
- 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();
204
202
  }
205
203
  }
206
204
  /**
207
205
  * Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.
208
206
  */
209
207
  focusoutHandler(e) {
210
- let n = e.target, i = e.relatedTarget;
211
- if (!i || i === document) {
212
- let o = this.closestLandmark(n);
213
- 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();
214
212
  }
215
213
  }
216
214
  createLandmarkController() {
217
215
  let e = this;
218
216
  return e.refCount++, e.setupIfNeeded(), {
219
- navigate(n, i) {
220
- let o = (i == null ? void 0 : i.from) || document.activeElement;
221
- 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");
222
220
  },
223
221
  focusNext(n) {
224
- let i = (n == null ? void 0 : n.from) || document.activeElement;
225
- return e.navigate(i, !1);
222
+ let u = (n == null ? void 0 : n.from) || document.activeElement;
223
+ return e.navigate(u, !1);
226
224
  },
227
225
  focusPrevious(n) {
228
- let i = (n == null ? void 0 : n.from) || document.activeElement;
229
- return e.navigate(i, !0);
226
+ let u = (n == null ? void 0 : n.from) || document.activeElement;
227
+ return e.navigate(u, !0);
230
228
  },
231
229
  focusMain() {
232
230
  return e.focusMain();
@@ -240,36 +238,36 @@ class He {
240
238
  return this.landmarks.find((n) => n.ref === e.ref) ? this.updateLandmark(e) : this.addLandmark(e), () => this.removeLandmark(e.ref);
241
239
  }
242
240
  constructor() {
243
- this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version = D, this.f6Handler = this.f6Handler.bind(this), this.focusinHandler = this.focusinHandler.bind(this), this.focusoutHandler = this.focusoutHandler.bind(this);
241
+ this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version = S, this.f6Handler = this.f6Handler.bind(this), this.focusinHandler = this.focusinHandler.bind(this), this.focusoutHandler = this.focusoutHandler.bind(this);
244
242
  }
245
243
  }
246
- function Ve(t, e) {
247
- const { role: n, "aria-label": i, "aria-labelledby": o, focus: r } = t;
248
- let u = Oe(), a = i || o, [b, d] = P(!1), f = L(() => {
244
+ function Me(t, e) {
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(() => {
249
247
  d(!0);
250
248
  }, [
251
249
  d
252
- ]), h = L(() => {
250
+ ]), $ = w(() => {
253
251
  d(!1);
254
252
  }, [
255
253
  d
256
254
  ]);
257
- return j(() => {
258
- if (u) return u.registerLandmark({
255
+ return F(() => {
256
+ if (r) return r.registerLandmark({
259
257
  ref: e,
260
258
  label: a,
261
259
  role: n,
262
- focus: r || f,
263
- blur: h
260
+ focus: o || f,
261
+ blur: $
264
262
  });
265
263
  }, [
266
- u,
264
+ r,
267
265
  a,
268
266
  e,
269
267
  n,
270
- r,
268
+ o,
271
269
  f,
272
- h
270
+ $
273
271
  ]), T(() => {
274
272
  var s;
275
273
  b && ((s = e.current) === null || s === void 0 || s.focus());
@@ -280,21 +278,21 @@ function Ve(t, e) {
280
278
  landmarkProps: {
281
279
  role: n,
282
280
  tabIndex: b ? -1 : void 0,
283
- "aria-label": i,
284
- "aria-labelledby": o
281
+ "aria-label": u,
282
+ "aria-labelledby": i
285
283
  }
286
284
  };
287
285
  }
288
- var S = {};
289
- S = {
286
+ var R = {};
287
+ R = {
290
288
  close: "إغلاق",
291
289
  notifications: (t, e) => `${e.plural(t.count, {
292
290
  one: () => `${e.number(t.count)} إشعار`,
293
291
  other: () => `${e.number(t.count)} إشعارات`
294
292
  })}.`
295
293
  };
296
- var R = {};
297
- R = {
294
+ var z = {};
295
+ z = {
298
296
  close: "Затвори",
299
297
  notifications: (t, e) => `${e.plural(t.count, {
300
298
  one: () => `${e.number(t.count)} известие`,
@@ -333,16 +331,16 @@ V = {
333
331
  other: () => `${e.number(t.count)} ειδοποιήσεις`
334
332
  })}.`
335
333
  };
336
- var z = {};
337
- z = {
334
+ var U = {};
335
+ U = {
338
336
  close: "Close",
339
337
  notifications: (t, e) => `${e.plural(t.count, {
340
338
  one: () => `${e.number(t.count)} notification`,
341
339
  other: () => `${e.number(t.count)} notifications`
342
340
  })}.`
343
341
  };
344
- var U = {};
345
- U = {
342
+ var j = {};
343
+ j = {
346
344
  close: "Cerrar",
347
345
  notifications: (t, e) => `${e.plural(t.count, {
348
346
  one: () => `${e.number(t.count)} notificación`,
@@ -445,16 +443,16 @@ ne = {
445
443
  other: () => `${e.number(t.count)} varsler`
446
444
  })}.`
447
445
  };
448
- var ie = {};
449
- ie = {
446
+ var ue = {};
447
+ ue = {
450
448
  close: "Sluiten",
451
449
  notifications: (t, e) => `${e.plural(t.count, {
452
450
  one: () => `${e.number(t.count)} melding`,
453
451
  other: () => `${e.number(t.count)} meldingen`
454
452
  })}.`
455
453
  };
456
- var oe = {};
457
- oe = {
454
+ var ie = {};
455
+ ie = {
458
456
  close: "Zamknij",
459
457
  notifications: (t, e) => `${e.plural(t.count, {
460
458
  one: () => `${e.number(t.count)} powiadomienie`,
@@ -463,16 +461,16 @@ oe = {
463
461
  other: () => `${e.number(t.count)} powiadomienia`
464
462
  })}.`
465
463
  };
466
- var re = {};
467
- re = {
464
+ var oe = {};
465
+ oe = {
468
466
  close: "Fechar",
469
467
  notifications: (t, e) => `${e.plural(t.count, {
470
468
  one: () => `${e.number(t.count)} notificação`,
471
469
  other: () => `${e.number(t.count)} notificações`
472
470
  })}.`
473
471
  };
474
- var ue = {};
475
- ue = {
472
+ var re = {};
473
+ re = {
476
474
  close: "Fechar",
477
475
  notifications: (t, e) => `${e.plural(t.count, {
478
476
  one: () => `${e.number(t.count)} notificação`,
@@ -546,32 +544,32 @@ me = {
546
544
  other: () => `${e.number(t.count)} сповіщення`
547
545
  })}.`
548
546
  };
549
- var he = {};
550
- he = {
547
+ var $e = {};
548
+ $e = {
551
549
  close: "关闭",
552
550
  notifications: (t, e) => `${e.plural(t.count, {
553
551
  one: () => `${e.number(t.count)} 个通知`,
554
552
  other: () => `${e.number(t.count)} 个通知`
555
553
  })}。`
556
554
  };
557
- var $e = {};
558
- $e = {
555
+ var he = {};
556
+ he = {
559
557
  close: "關閉",
560
558
  notifications: (t, e) => `${e.plural(t.count, {
561
559
  one: () => `${e.number(t.count)} 個通知`,
562
560
  other: () => `${e.number(t.count)} 個通知`
563
561
  })}。`
564
562
  };
565
- var I = {};
566
- I = {
567
- "ar-AE": S,
568
- "bg-BG": R,
563
+ var C = {};
564
+ C = {
565
+ "ar-AE": R,
566
+ "bg-BG": z,
569
567
  "cs-CZ": M,
570
568
  "da-DK": O,
571
569
  "de-DE": H,
572
570
  "el-GR": V,
573
- "en-US": z,
574
- "es-ES": U,
571
+ "en-US": U,
572
+ "es-ES": j,
575
573
  "et-EE": W,
576
574
  "fi-FI": K,
577
575
  "fr-FR": Z,
@@ -584,10 +582,10 @@ I = {
584
582
  "lt-LT": ee,
585
583
  "lv-LV": te,
586
584
  "nb-NO": ne,
587
- "nl-NL": ie,
588
- "pl-PL": oe,
589
- "pt-BR": re,
590
- "pt-PT": ue,
585
+ "nl-NL": ue,
586
+ "pl-PL": ie,
587
+ "pt-BR": oe,
588
+ "pt-PT": re,
591
589
  "ro-RO": ae,
592
590
  "ru-RU": se,
593
591
  "sk-SK": le,
@@ -596,34 +594,34 @@ I = {
596
594
  "sv-SE": fe,
597
595
  "tr-TR": be,
598
596
  "uk-UA": me,
599
- "zh-CN": he,
600
- "zh-TW": $e
597
+ "zh-CN": $e,
598
+ "zh-TW": he
601
599
  };
602
- function ze(t) {
600
+ function Oe(t) {
603
601
  return t && t.__esModule ? t.default : t;
604
602
  }
605
- function Ue(t, e, n) {
606
- let { key: i, timer: o, timeout: r } = t.toast;
603
+ function He(t, e, n) {
604
+ let { key: u, timer: i, timeout: o } = t.toast;
607
605
  T(() => {
608
- if (!(o == null || r == null))
609
- return o.reset(r), () => {
610
- o.pause();
606
+ if (!(i == null || o == null))
607
+ return i.reset(o), () => {
608
+ i.pause();
611
609
  };
612
610
  }, [
613
- o,
614
- r
611
+ i,
612
+ o
615
613
  ]);
616
- let u = we(), a = Be(), b = F(ze(I), "@react-aria/toast"), [d, f] = P(!1);
614
+ let r = Ie(), a = Ce(), b = D(Oe(C), "@react-aria/toast"), [d, f] = g(!1);
617
615
  return T(() => {
618
616
  f(!0);
619
617
  }, []), {
620
618
  toastProps: {
621
- ...Ne(t, {
619
+ ...Fe(t, {
622
620
  labelable: !0
623
621
  }),
624
622
  role: "alertdialog",
625
623
  "aria-modal": "false",
626
- "aria-labelledby": t["aria-labelledby"] || u,
624
+ "aria-labelledby": t["aria-labelledby"] || r,
627
625
  "aria-describedby": t["aria-describedby"] || a,
628
626
  tabIndex: 0
629
627
  },
@@ -633,38 +631,38 @@ function Ue(t, e, n) {
633
631
  "aria-hidden": d ? void 0 : "true"
634
632
  },
635
633
  titleProps: {
636
- id: u
634
+ id: r
637
635
  },
638
636
  descriptionProps: {
639
637
  id: a
640
638
  },
641
639
  closeButtonProps: {
642
640
  "aria-label": b.format("close"),
643
- onPress: () => e.close(i)
641
+ onPress: () => e.close(u)
644
642
  }
645
643
  };
646
644
  }
647
- function We(t) {
645
+ function Ve(t) {
648
646
  return t && t.__esModule ? t.default : t;
649
647
  }
650
- function Ke(t, e, n) {
651
- let i = F(We(I), "@react-aria/toast"), { landmarkProps: o } = Ve({
648
+ function Ue(t, e, n) {
649
+ let u = D(Ve(C), "@react-aria/toast"), { landmarkProps: i } = Me({
652
650
  role: "region",
653
- "aria-label": t["aria-label"] || i.format("notifications", {
651
+ "aria-label": t["aria-label"] || u.format("notifications", {
654
652
  count: e.visibleToasts.length
655
653
  })
656
- }, n), r = v(!1), u = v(!1), a = Ie(() => {
657
- r.current || u.current ? e.pauseAll() : e.resumeAll();
658
- }), { 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({
659
657
  onHoverStart: () => {
660
- r.current = !0, a();
658
+ o.current = !0, a();
661
659
  },
662
660
  onHoverEnd: () => {
663
- r.current = !1, a();
661
+ o.current = !1, a();
664
662
  }
665
- }), d = v([]), f = v(e.visibleToasts), h = v(null);
666
- j(() => {
667
- 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) {
668
666
  d.current = [], f.current = e.visibleToasts;
669
667
  return;
670
668
  }
@@ -677,15 +675,15 @@ function Ke(t, e, n) {
677
675
  let l = f.current.map((c, m) => ({
678
676
  ...c,
679
677
  i: m,
680
- isRemoved: !e.visibleToasts.some(($) => c.key === $.key)
681
- })), g = l.findIndex((c) => c.i === h.current && c.isRemoved);
682
- if (g > -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) {
683
681
  var k;
684
- 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);
685
683
  else {
686
- let c = 0, m, $;
687
- for (; c <= g; )
688
- 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++;
689
687
  for (; c < l.length; ) {
690
688
  if (!l[c].isRemoved) {
691
689
  m = c - 1;
@@ -693,7 +691,7 @@ function Ke(t, e, n) {
693
691
  }
694
692
  c++;
695
693
  }
696
- $ === 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]);
697
695
  }
698
696
  }
699
697
  f.current = e.visibleToasts;
@@ -702,27 +700,27 @@ function Ke(t, e, n) {
702
700
  n,
703
701
  a
704
702
  ]);
705
- let s = v(null), { focusWithinProps: Ee } = Pe({
703
+ let s = v(null), { focusWithinProps: Ee } = Ne({
706
704
  onFocusWithin: (l) => {
707
- u.current = !0, s.current = l.relatedTarget, a();
705
+ r.current = !0, s.current = l.relatedTarget, a();
708
706
  },
709
707
  onBlurWithin: () => {
710
- u.current = !1, s.current = null, a();
708
+ r.current = !1, s.current = null, a();
711
709
  }
712
710
  });
713
711
  return T(() => {
714
712
  var l;
715
- 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);
716
714
  }, [
717
715
  n,
718
716
  e.visibleToasts.length
719
717
  ]), T(() => () => {
720
718
  var l;
721
- !((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);
722
720
  }, [
723
721
  n
724
722
  ]), {
725
- regionProps: Ce(o, b, Ee, {
723
+ regionProps: Ae(i, b, Ee, {
726
724
  tabIndex: -1,
727
725
  // Mark the toast region as a "top layer", so that it:
728
726
  // - is not aria-hidden when opening an overlay
@@ -733,25 +731,25 @@ function Ke(t, e, n) {
733
731
  // listen to focus events separate from focuswithin because that will only fire once
734
732
  // and we need to follow all focus changes
735
733
  onFocus: (l) => {
736
- let g = l.target.closest('[role="alertdialog"]');
737
- h.current = d.current.findIndex((k) => k === g);
734
+ let L = l.target.closest('[role="alertdialog"]');
735
+ $.current = d.current.findIndex((k) => k === L);
738
736
  },
739
737
  onBlur: () => {
740
- h.current = -1;
738
+ $.current = -1;
741
739
  }
742
740
  })
743
741
  };
744
742
  }
745
743
  function pe(t) {
746
- let e = L((o) => t.subscribe(o), [
744
+ let e = w((i) => t.subscribe(i), [
747
745
  t
748
- ]), n = L(() => t.visibleToasts, [
746
+ ]), n = w(() => t.visibleToasts, [
749
747
  t
750
748
  ]);
751
749
  return {
752
750
  visibleToasts: N.useSyncExternalStore(e, n, n),
753
- add: (o, r) => t.add(o, r),
754
- close: (o) => t.close(o),
751
+ add: (i, o) => t.add(i, o),
752
+ close: (i) => t.close(i),
755
753
  pauseAll: () => t.pauseAll(),
756
754
  resumeAll: () => t.resumeAll()
757
755
  };
@@ -766,22 +764,22 @@ class ve {
766
764
  }
767
765
  /** Adds a new toast to the queue. */
768
766
  add(e, n = {}) {
769
- let i = "_" + Math.random().toString(36).slice(2), o = {
767
+ let u = "_" + Math.random().toString(36).slice(2), i = {
770
768
  ...n,
771
769
  content: e,
772
- key: i,
773
- timer: n.timeout ? new Ze(() => this.close(i), n.timeout) : void 0
770
+ key: u,
771
+ timer: n.timeout ? new je(() => this.close(u), n.timeout) : void 0
774
772
  };
775
- return this.queue.unshift(o), this.updateVisibleToasts("add"), i;
773
+ return this.queue.unshift(i), this.updateVisibleToasts("add"), u;
776
774
  }
777
775
  /**
778
776
  * Closes a toast.
779
777
  */
780
778
  close(e) {
781
- let n = this.queue.findIndex((r) => r.key === e);
779
+ let n = this.queue.findIndex((o) => o.key === e);
782
780
  if (n >= 0) {
783
- var i, o;
784
- (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);
785
783
  }
786
784
  this.updateVisibleToasts("remove");
787
785
  }
@@ -807,7 +805,7 @@ class ve {
807
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;
808
806
  }
809
807
  }
810
- class Ze {
808
+ class je {
811
809
  reset(e) {
812
810
  this.remaining = e, this.resume();
813
811
  }
@@ -823,57 +821,40 @@ class Ze {
823
821
  this.startTime = null, this.remaining = n, this.callback = e;
824
822
  }
825
823
  }
826
- const Ge = '"../theme/tokens.css"', Je = "_toastRegion_jgjyx_52", Qe = "_toast_jgjyx_52", Xe = "_success_jgjyx_95", qe = "_info_jgjyx_103", Ye = "_important_jgjyx_111", et = "_warning_jgjyx_119", tt = "_icon_jgjyx_127", nt = "_toastContent_jgjyx_137", it = "_toastMessage_jgjyx_144", ot = "_slideInTop_jgjyx_1", rt = "_slideInEnd_jgjyx_1", ut = "_slideOutTop_jgjyx_1", at = "_slideOutEnd_jgjyx_1", x = {
827
- tokens: Ge,
828
- "--font-family": '"Inter", sans-serif',
829
- "--text-primary": "light-dark(#171717, #f2f2f2)",
830
- "--support-background-success": "light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))",
831
- "--support-border-success": "light-dark(#008d3c, #008d3c)",
832
- "--support-background-info": "light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))",
833
- "--support-border-info": "light-dark(#0066cc, #0066cc)",
834
- "--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
835
- "--support-border-important": "light-dark(#fdb813, #fdb813)",
836
- "--support-border-warning": "light-dark(#e62323, #e62323)",
837
- "--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
838
- "--breakpoint-md": "(min-width: 768px)",
839
- "--focus": "0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)",
840
- "--z-index-toast": "1100",
841
- toastRegion: Je,
842
- toast: Qe,
843
- success: Xe,
844
- info: qe,
845
- important: Ye,
846
- warning: et,
847
- icon: tt,
848
- toastContent: nt,
849
- toastMessage: it,
850
- slideInTop: ot,
851
- slideInEnd: rt,
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)",
827
+ toastRegion: Ke,
828
+ toast: Ze,
829
+ success: Ge,
830
+ info: Je,
831
+ important: Qe,
832
+ warning: Xe,
833
+ icon: qe,
834
+ toastContent: Ye,
835
+ toastMessage: et,
836
+ slideInTop: tt,
837
+ slideInEnd: nt,
852
838
  slideOutTop: ut,
853
- slideOutEnd: at
854
- }, st = {
855
- success: De,
856
- info: Se,
857
- important: Fe,
858
- warning: je
839
+ slideOutEnd: it
859
840
  }, xe = {
860
841
  wrapUpdate(t) {
861
842
  "startViewTransition" in document ? document.startViewTransition(() => {
862
- _e(t);
843
+ Be(t);
863
844
  }) : t();
864
845
  },
865
846
  maxVisibleToasts: 5
866
847
  };
867
- function lt(t = {}) {
868
- const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i = ye(
848
+ function ot(t = {}) {
849
+ const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, u = _e(
869
850
  () => new ve({ maxVisibleToasts: e, wrapUpdate: n }),
870
851
  [e, n]
871
852
  );
872
- return pe(i);
853
+ return pe(u);
873
854
  }
874
- const ct = new ve(xe), Bt = (t) => {
875
- const e = pe(ct);
876
- return e.visibleToasts.length > 0 ? Le(
855
+ const rt = new ve(xe), Tt = (t) => {
856
+ const e = pe(rt);
857
+ return e.visibleToasts.length > 0 ? we(
877
858
  /* @__PURE__ */ p(
878
859
  ke,
879
860
  {
@@ -883,9 +864,9 @@ const ct = new ve(xe), Bt = (t) => {
883
864
  ),
884
865
  document.body
885
866
  ) : null;
886
- }, It = ({ children: t, ...e }) => {
887
- const n = lt(xe);
888
- return /* @__PURE__ */ y(Te, { children: [
867
+ }, Lt = ({ children: t, ...e }) => {
868
+ const n = ot(xe);
869
+ return /* @__PURE__ */ _(Te, { children: [
889
870
  typeof t == "function" ? t(n) : t,
890
871
  n.visibleToasts.length > 0 && /* @__PURE__ */ p(
891
872
  ke,
@@ -901,50 +882,50 @@ function ke({
901
882
  className: e,
902
883
  ...n
903
884
  }) {
904
- const i = A.useRef(null), { regionProps: o } = Ke(n, t, i);
885
+ const u = A.useRef(null), { regionProps: i } = Ue(n, t, u);
905
886
  return /* @__PURE__ */ p(
906
887
  "div",
907
888
  {
908
- ...o,
909
- ref: i,
910
- className: B(x.toastRegion, e),
911
- children: t.visibleToasts.map((r) => /* @__PURE__ */ p(
912
- dt,
889
+ ...i,
890
+ ref: u,
891
+ className: I(x.toastRegion, e),
892
+ children: t.visibleToasts.map((o) => /* @__PURE__ */ p(
893
+ at,
913
894
  {
914
- toast: r,
895
+ toast: o,
915
896
  state: t
916
897
  },
917
- r.key
898
+ o.key
918
899
  ))
919
900
  }
920
901
  );
921
902
  }
922
- function dt({
903
+ function at({
923
904
  state: t,
924
905
  className: e,
925
906
  ...n
926
907
  }) {
927
- const i = A.useRef(null), { toastProps: o, contentProps: r, titleProps: u, closeButtonProps: a } = Ue(
908
+ const u = A.useRef(null), { toastProps: i, contentProps: o, titleProps: r, closeButtonProps: a } = He(
928
909
  n,
929
910
  t
930
- ), b = st[n.toast.content.type];
931
- return /* @__PURE__ */ y(
911
+ ), b = ye[n.toast.content.type];
912
+ return /* @__PURE__ */ _(
932
913
  "div",
933
914
  {
934
- ...o,
935
- ref: i,
936
- className: B(
915
+ ...i,
916
+ ref: u,
917
+ className: I(
937
918
  x.toast,
938
919
  x[n.toast.content.type],
939
920
  e
940
921
  ),
941
922
  style: { viewTransitionName: n.toast.key },
942
923
  children: [
943
- /* @__PURE__ */ y(
924
+ /* @__PURE__ */ _(
944
925
  "div",
945
926
  {
946
- ...r,
947
- className: B(x.toastContent, r.className),
927
+ ...o,
928
+ className: I(x.toastContent, o.className),
948
929
  children: [
949
930
  /* @__PURE__ */ p(
950
931
  b,
@@ -954,12 +935,12 @@ function dt({
954
935
  "aria-hidden": !0
955
936
  }
956
937
  ),
957
- /* @__PURE__ */ y("div", { children: [
938
+ /* @__PURE__ */ _("div", { children: [
958
939
  /* @__PURE__ */ p(
959
940
  "p",
960
941
  {
961
942
  className: x.toastMessage,
962
- ...u,
943
+ ...r,
963
944
  children: n.toast.content.message
964
945
  }
965
946
  ),
@@ -969,12 +950,12 @@ function dt({
969
950
  }
970
951
  ),
971
952
  /* @__PURE__ */ p(
972
- ge,
953
+ Le,
973
954
  {
974
955
  variant: "icon",
975
956
  ...a,
976
957
  children: /* @__PURE__ */ p(
977
- Re,
958
+ De,
978
959
  {
979
960
  size: 20,
980
961
  "aria-hidden": !0
@@ -987,10 +968,10 @@ function dt({
987
968
  );
988
969
  }
989
970
  export {
990
- Bt as G,
991
- It as T,
971
+ Tt as G,
972
+ Lt as T,
992
973
  ke as a,
993
- dt as b,
994
- ct as t,
995
- lt as u
974
+ at as b,
975
+ rt as t,
976
+ ot as u
996
977
  };