@midas-ds/components 11.1.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/AccordionItem-DEiRuizp.js +361 -0
  2. package/AccordionItem-Dhr7uo8u.cjs +1 -0
  3. package/BadgeContainer-CxVmqJ7g.cjs +1 -0
  4. package/BadgeContainer-DGJGJMPi.js +37 -0
  5. package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
  6. package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
  7. package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
  8. package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
  9. package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
  10. package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
  11. package/CHANGELOG.md +74 -0
  12. package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
  13. package/Card-DPfOZC7f.cjs +1 -0
  14. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
  15. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
  16. package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
  17. package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
  18. package/{CheckboxGroup-oosHSGAt.js → CheckboxGroup--xgOT1Do.js} +11 -11
  19. package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
  20. package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
  21. package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
  22. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
  23. package/{ColorSchemeSwitch-Cnyb9EKC.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
  24. package/{ComboBox-D4MsSPBu.js → ComboBox-Dn3tQzri.js} +93 -97
  25. package/{ComboBox-CQ49PhNd.cjs → ComboBox-UadZMhiR.cjs} +1 -1
  26. package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
  27. package/{DateField-COs1-CkQ.js → DateField-CZmLugT0.js} +4 -4
  28. package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
  29. package/{DateInputDivider-B3oE1_tB.js → DateInputDivider-CJEGWmG0.js} +22 -22
  30. package/DateRangePicker-DhgLEa9P.cjs +6 -0
  31. package/{DateRangePicker-CvEycxmX.js → DateRangePicker-WQ97Psz7.js} +184 -197
  32. package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
  33. package/{Dialog-DKHo0W9B.js → Dialog-BuJdAr0D.js} +48 -48
  34. package/Dialog-DYK8lySl.cjs +1 -0
  35. package/Dialog-L53DWF0Z.js +220 -0
  36. package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
  37. package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
  38. package/{Dropdown-D6WCi_Ll.js → Dropdown-BWbdSQ9U.js} +35 -34
  39. package/Dropdown-CJ-sujKv.cjs +6 -0
  40. package/FieldError-BlKkw9YL.js +46 -0
  41. package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
  42. package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
  43. package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
  44. package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
  45. package/{FocusScope-BCsrRPqD.js → FocusScope-CEgd3xCY.js} +17 -17
  46. package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
  47. package/Grid-Db5wZrw6.cjs +1 -0
  48. package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
  49. package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
  50. package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
  51. package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
  52. package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
  53. package/Heading-OUPkdoEJ.cjs +1 -0
  54. package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
  55. package/InfoBanner-DpLcq_1R.cjs +1 -0
  56. package/InfoBanner-U5hxOipC.js +99 -0
  57. package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
  58. package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
  59. package/{Label-DA6FZwy0.js → Label-ByWt6Lfh.js} +24 -24
  60. package/Label-COpr4xVt.cjs +1 -0
  61. package/Layout-BR3Or1Ga.cjs +16 -0
  62. package/Layout-Bdqauktv.js +498 -0
  63. package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
  64. package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
  65. package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
  66. package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
  67. package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
  68. package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
  69. package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
  70. package/{ListBox-CsxDGpCA.js → ListBox-y_dw__MI.js} +16 -16
  71. package/{ListBoxButton-BsuHFd_O.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
  72. package/{ListBoxButton-DawRfuny.js → ListBoxButton-DiseS_LX.js} +1 -1
  73. package/{ListBoxSection-Cc2cx0_S.js → ListBoxSection-Cv-gN76G.js} +376 -376
  74. package/{ListBoxSection-C-Rz358T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
  75. package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
  76. package/{ListKeyboardDelegate-C-sPNj0f.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
  77. package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
  78. package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
  79. package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
  80. package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
  81. package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
  82. package/{Popover-DHoXfBp2.js → Popover-viLqHHX2.js} +2 -2
  83. package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
  84. package/PressResponder-Bm3_RM9c.cjs +1 -0
  85. package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
  86. package/{ProgressBar-C0IBfi5I.js → ProgressBar-wQirOG1N.js} +2 -2
  87. package/{Radio-B6N9dCtB.js → Radio-BIomn_sP.js} +23 -23
  88. package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
  89. package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
  90. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
  91. package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
  92. package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
  93. package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
  95. package/{Select-DMVj2lrG.js → Select-769RSZ9V.js} +114 -114
  96. package/{Select-DiCEyap1.cjs → Select-Go5x0zWl.cjs} +1 -1
  97. package/{SelectionManager-BubxiIKu.js → SelectionManager-BdKKuso-.js} +9 -9
  98. package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
  99. package/{Separator-CEZ5y7tZ.js → Separator-CggS0R7Q.js} +4 -4
  100. package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
  101. package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
  102. package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
  103. package/TabList-0gj27e_e.js +386 -0
  104. package/TabList-Cqpup53E.cjs +1 -0
  105. package/Table-BhtlNY9P.cjs +16 -0
  106. package/{Table-B5Aine4F.js → Table-CTS0J_sQ.js} +289 -268
  107. package/{Tag-Byva_Xuy.js → Tag-B9M-nBTM.js} +49 -49
  108. package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
  109. package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
  110. package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
  111. package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
  112. package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
  113. package/TextArea-CSrrYY05.cjs +1 -0
  114. package/{TextArea-eK7Jx3qs.js → TextArea-DphcH6wE.js} +16 -16
  115. package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
  116. package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
  117. package/Toast-BEh5yYzO.cjs +1 -0
  118. package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
  119. package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
  120. package/{ToggleButtonGroup-HjvaTYD4.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
  121. package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
  122. package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
  123. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
  124. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
  125. package/accordion/Accordion.d.ts +8 -2
  126. package/accordion/AccordionContext.d.ts +4 -0
  127. package/accordion/AccordionItem.d.ts +6 -4
  128. package/accordion/index.cjs +1 -1
  129. package/accordion/index.js +1 -1
  130. package/assets/AccordionItem.css +1 -1
  131. package/assets/BadgeContainer.css +1 -1
  132. package/assets/Button.css +1 -1
  133. package/assets/DateRangePicker.css +1 -1
  134. package/assets/Dialog.css +1 -1
  135. package/assets/Layout.css +1 -1
  136. package/assets/LinkButton.css +1 -1
  137. package/assets/ListBoxSection.css +1 -1
  138. package/assets/Table.css +1 -1
  139. package/assets/theme.css +1 -0
  140. package/badge/index.cjs +1 -1
  141. package/badge/index.js +1 -1
  142. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  143. package/breadcrumbs/index.cjs +1 -1
  144. package/breadcrumbs/index.js +1 -1
  145. package/button/index.cjs +1 -1
  146. package/button/index.js +1 -1
  147. package/calendar/index.cjs +1 -1
  148. package/calendar/index.js +1 -1
  149. package/card/index.cjs +1 -1
  150. package/card/index.js +1 -1
  151. package/character-counter/index.cjs +1 -1
  152. package/character-counter/index.js +1 -1
  153. package/checkbox/index.cjs +1 -1
  154. package/checkbox/index.js +2 -2
  155. package/color-scheme-switch/index.cjs +1 -1
  156. package/color-scheme-switch/index.js +1 -1
  157. package/combobox/ComboBox.d.ts +0 -4
  158. package/combobox/index.cjs +1 -1
  159. package/combobox/index.d.ts +1 -2
  160. package/combobox/index.js +2 -3
  161. package/combobox/types.d.ts +0 -13
  162. package/common/icon-map.d.ts +6 -0
  163. package/common/types.d.ts +8 -0
  164. package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
  165. package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
  166. package/date-field/index.cjs +1 -1
  167. package/date-field/index.js +2 -2
  168. package/date-picker/DatePickerPopover.d.ts +1 -1
  169. package/date-picker/index.cjs +1 -1
  170. package/date-picker/index.js +1 -1
  171. package/dropdown/Dropdown.d.ts +7 -1
  172. package/dropdown/index.cjs +1 -1
  173. package/dropdown/index.js +1 -1
  174. package/field-error/index.cjs +1 -1
  175. package/field-error/index.js +1 -1
  176. package/file-upload/index.cjs +1 -1
  177. package/file-upload/index.js +1 -1
  178. package/grid/Grid.d.ts +0 -8
  179. package/grid/GridItem.d.ts +0 -8
  180. package/grid/index.cjs +1 -1
  181. package/grid/index.d.ts +2 -2
  182. package/grid/index.js +4 -6
  183. package/heading/index.cjs +1 -1
  184. package/heading/index.js +1 -1
  185. package/icon-map-9XcghDra.cjs +11 -0
  186. package/icon-map-uS87FT_Q.js +43 -0
  187. package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
  188. package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
  189. package/index.cjs +1 -1
  190. package/index.js +108 -111
  191. package/inertValue-BWmZ1afe.cjs +1 -0
  192. package/info-banner/InfoBanner.d.ts +18 -10
  193. package/info-banner/index.cjs +1 -1
  194. package/info-banner/index.js +1 -1
  195. package/label/index.cjs +1 -1
  196. package/label/index.js +1 -1
  197. package/layout/index.cjs +1 -1
  198. package/layout/index.js +1 -1
  199. package/link/index.cjs +1 -1
  200. package/link/index.js +2 -2
  201. package/link-button/index.cjs +1 -1
  202. package/link-button/index.js +2 -2
  203. package/list-box/index.cjs +1 -1
  204. package/list-box/index.js +2 -2
  205. package/logo/index.cjs +1 -1
  206. package/logo/index.js +1 -1
  207. package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
  208. package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
  209. package/modal/index.cjs +1 -1
  210. package/modal/index.js +2 -2
  211. package/package.json +4 -1
  212. package/popover/index.cjs +1 -1
  213. package/popover/index.js +1 -1
  214. package/progress-bar/index.cjs +1 -1
  215. package/progress-bar/index.js +1 -1
  216. package/radio/index.cjs +1 -1
  217. package/radio/index.js +1 -1
  218. package/search-field/index.cjs +1 -1
  219. package/search-field/index.js +1 -1
  220. package/select/index.cjs +1 -1
  221. package/select/index.d.ts +1 -1
  222. package/select/index.js +1 -1
  223. package/select/types.d.ts +1 -13
  224. package/spinner/index.cjs +1 -1
  225. package/spinner/index.js +1 -1
  226. package/table/Table.d.ts +7 -12
  227. package/table/index.cjs +1 -1
  228. package/table/index.js +1 -1
  229. package/tabs/Tabs.d.ts +0 -12
  230. package/tabs/index.cjs +1 -1
  231. package/tabs/index.js +1 -1
  232. package/tag/Tag.d.ts +2 -1
  233. package/tag/index.cjs +1 -1
  234. package/tag/index.js +1 -1
  235. package/text/index.cjs +1 -1
  236. package/text/index.js +1 -1
  237. package/textfield/index.cjs +1 -1
  238. package/textfield/index.js +1 -1
  239. package/theme/index.cjs +1 -1
  240. package/theme/index.d.ts +37 -12
  241. package/theme/index.js +12 -11
  242. package/theme/tokens.d.ts +37 -18
  243. package/toast/Toast.d.ts +2 -1
  244. package/toast/index.cjs +1 -1
  245. package/toast/index.js +1 -1
  246. package/toggle-button/index.cjs +1 -1
  247. package/toggle-button/index.js +1 -1
  248. package/tokens-BWo7EvNX.cjs +1 -0
  249. package/{tokens-r1r3wC04.js → tokens-BtEBd3jO.js} +82 -43
  250. package/tooltip/index.cjs +1 -1
  251. package/tooltip/index.js +1 -1
  252. package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
  253. package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
  254. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
  255. package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
  256. package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
  257. package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
  258. package/useEvent-CGRyLM2c.cjs +1 -0
  259. package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
  260. package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
  261. package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
  262. package/{useFilter-DginflOU.js → useFilter-BKQT28sh.js} +1 -1
  263. package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
  264. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
  265. package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
  266. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
  267. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
  268. package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
  269. package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
  270. package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
  271. package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
  272. package/useHasTabbableChild-CogBR_6o.cjs +1 -0
  273. package/{useHasTabbableChild-DP62kzkG.js → useHasTabbableChild-CyOmqumh.js} +2 -2
  274. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
  275. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
  276. package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
  277. package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
  278. package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
  279. package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
  280. package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
  281. package/{useListState-DNB7JWoj.js → useListState-e7cL-FOK.js} +1 -1
  282. package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
  283. package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
  284. package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
  285. package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
  286. package/useObserveElement-BzEr5D32.cjs +1 -0
  287. package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
  288. package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
  289. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
  290. package/{useSingleSelectListState-B0OMoHd_.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
  291. package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
  292. package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
  293. package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
  294. package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
  295. package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
  296. package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
  297. package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
  298. package/AccordionItem-BPOQqTkQ.js +0 -323
  299. package/AccordionItem-CS-QKqrU.cjs +0 -1
  300. package/BadgeContainer-CKBIZWsc.js +0 -37
  301. package/BadgeContainer-DWVHS5dn.cjs +0 -1
  302. package/Card-cdL5669N.cjs +0 -1
  303. package/DateRangePicker-Bfibl08v.cjs +0 -6
  304. package/Dialog-B3R3WtL5.cjs +0 -1
  305. package/Dialog-BkUw6PlA.js +0 -221
  306. package/Dropdown-CYakzdJg.cjs +0 -6
  307. package/FieldError-CDCvUjK5.js +0 -46
  308. package/Grid-DVQtOcu9.cjs +0 -1
  309. package/Heading-CKTR4sOz.cjs +0 -1
  310. package/InfoBanner-CzwbOdRG.cjs +0 -1
  311. package/InfoBanner-D05poAe3.js +0 -91
  312. package/Label-ChjDdBlv.cjs +0 -1
  313. package/Layout-BwLxIwtY.cjs +0 -16
  314. package/Layout-CcADAhds.js +0 -498
  315. package/PressResponder-4jE_HLu3.cjs +0 -1
  316. package/TabList-BkSWzbDG.cjs +0 -1
  317. package/TabList-QApx8qRC.js +0 -435
  318. package/Table-DGYC-sDq.cjs +0 -16
  319. package/TextArea-DJKHFKuI.cjs +0 -1
  320. package/Toast-DdmSvNaO.cjs +0 -1
  321. package/circle-check-BErh6TKu.js +0 -26
  322. package/circle-check-OVUGxwp9.cjs +0 -11
  323. package/inertValue-B3AFhVG4.cjs +0 -1
  324. package/tokens-BF-dPard.cjs +0 -1
  325. package/triangle-alert-B_qAPmWC.js +0 -21
  326. package/triangle-alert-BviJNFjf.cjs +0 -6
  327. package/useEvent-DPxMu-X9.cjs +0 -1
  328. package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
  329. package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
  330. package/useObserveElement-MhzEsCkX.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";
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
4
  import { createPortal as Le, flushSync as _e } from "react-dom";
5
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) {
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");
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
19
  function C() {
22
20
  if (typeof document > "u") return null;
23
21
  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]);
22
+ return t && t.version >= S ? t : (document[w] = new Re(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[w]);
25
23
  }
26
- function Oe() {
27
- return N.useSyncExternalStore(Me, C, C);
24
+ function De() {
25
+ return N.useSyncExternalStore(Se, C, C);
28
26
  }
29
- class He {
27
+ class Re {
30
28
  setupIfNeeded() {
31
29
  this.isListening || (document.addEventListener("keydown", this.f6Handler, {
32
30
  capture: !0
@@ -47,7 +45,7 @@ class He {
47
45
  }
48
46
  focusLandmark(e, n) {
49
47
  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);
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);
51
49
  }
52
50
  /**
53
51
  * Return set of landmarks with a specific role.
@@ -71,8 +69,8 @@ class He {
71
69
  }
72
70
  let n = 0, i = this.landmarks.length - 1;
73
71
  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;
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;
76
74
  }
77
75
  this.landmarks.splice(n, 0, e), this.checkLabels(e.role);
78
76
  }
@@ -102,11 +100,11 @@ class He {
102
100
  else if (process.env.NODE_ENV !== "production") {
103
101
  let o = [
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
+ o.filter((r, a) => o.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
  }
@@ -131,10 +129,10 @@ class He {
131
129
  */
132
130
  getNextLandmark(e, { backward: n }) {
133
131
  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) {
132
+ let o = this.closestLandmark(e), u = n ? this.landmarks.length - 1 : 0;
133
+ o && (u = this.landmarks.indexOf(o) + (n ? -1 : 1));
134
+ let r = () => {
135
+ if (u < 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
+ u = this.landmarks.length - 1;
144
+ } else if (u >= 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
+ u = 0;
155
153
  }
156
- return r < 0 || r >= this.landmarks.length;
154
+ return u < 0 || u >= 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 = 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;
163
161
  }
164
- return this.landmarks[r];
162
+ return this.landmarks[u];
165
163
  }
166
164
  /**
167
165
  * Look at next landmark. If an element was previously focused inside, restore focus there.
@@ -240,12 +238,12 @@ 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": i, "aria-labelledby": o, focus: u } = t;
246
+ let r = De(), a = i || o, [b, d] = A(!1), f = L(() => {
249
247
  d(!0);
250
248
  }, [
251
249
  d
@@ -255,22 +253,22 @@ function Ve(t, e) {
255
253
  d
256
254
  ]);
257
255
  return j(() => {
258
- if (u) return u.registerLandmark({
256
+ if (r) return r.registerLandmark({
259
257
  ref: e,
260
258
  label: a,
261
259
  role: n,
262
- focus: r || f,
260
+ focus: u || f,
263
261
  blur: h
264
262
  });
265
263
  }, [
266
- u,
264
+ r,
267
265
  a,
268
266
  e,
269
267
  n,
270
- r,
268
+ u,
271
269
  f,
272
270
  h
273
- ]), T(() => {
271
+ ]), g(() => {
274
272
  var s;
275
273
  b && ((s = e.current) === null || s === void 0 || s.focus());
276
274
  }, [
@@ -285,8 +283,8 @@ function Ve(t, e) {
285
283
  }
286
284
  };
287
285
  }
288
- var S = {};
289
- S = {
286
+ var D = {};
287
+ D = {
290
288
  close: "إغلاق",
291
289
  notifications: (t, e) => `${e.plural(t.count, {
292
290
  one: () => `${e.number(t.count)} إشعار`,
@@ -463,16 +461,16 @@ oe = {
463
461
  other: () => `${e.number(t.count)} powiadomienia`
464
462
  })}.`
465
463
  };
466
- var re = {};
467
- re = {
464
+ var ue = {};
465
+ ue = {
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`,
@@ -564,7 +562,7 @@ $e = {
564
562
  };
565
563
  var I = {};
566
564
  I = {
567
- "ar-AE": S,
565
+ "ar-AE": D,
568
566
  "bg-BG": R,
569
567
  "cs-CZ": M,
570
568
  "da-DK": O,
@@ -586,8 +584,8 @@ I = {
586
584
  "nb-NO": ne,
587
585
  "nl-NL": ie,
588
586
  "pl-PL": oe,
589
- "pt-BR": re,
590
- "pt-PT": ue,
587
+ "pt-BR": ue,
588
+ "pt-PT": re,
591
589
  "ro-RO": ae,
592
590
  "ru-RU": se,
593
591
  "sk-SK": le,
@@ -599,31 +597,31 @@ I = {
599
597
  "zh-CN": he,
600
598
  "zh-TW": $e
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;
607
- T(() => {
608
- if (!(o == null || r == null))
609
- return o.reset(r), () => {
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), () => {
610
608
  o.pause();
611
609
  };
612
610
  }, [
613
611
  o,
614
- r
612
+ u
615
613
  ]);
616
- let u = we(), a = Be(), b = F(ze(I), "@react-aria/toast"), [d, f] = P(!1);
617
- return T(() => {
614
+ let r = Be(), a = Ie(), b = F(Oe(I), "@react-aria/toast"), [d, f] = A(!1);
615
+ return g(() => {
618
616
  f(!0);
619
617
  }, []), {
620
618
  toastProps: {
621
- ...Ne(t, {
619
+ ...je(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,7 +631,7 @@ 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
@@ -644,23 +642,23 @@ function Ue(t, e, n) {
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 ze(t, e, n) {
649
+ let i = F(Ve(I), "@react-aria/toast"), { landmarkProps: o } = Me({
652
650
  role: "region",
653
651
  "aria-label": t["aria-label"] || i.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();
654
+ }, n), u = v(!1), r = v(!1), a = Ce(() => {
655
+ u.current || r.current ? e.pauseAll() : e.resumeAll();
658
656
  }), { hoverProps: b } = Ae({
659
657
  onHoverStart: () => {
660
- r.current = !0, a();
658
+ u.current = !0, a();
661
659
  },
662
660
  onHoverEnd: () => {
663
- r.current = !1, a();
661
+ u.current = !1, a();
664
662
  }
665
663
  }), d = v([]), f = v(e.visibleToasts), h = v(null);
666
664
  j(() => {
@@ -678,13 +676,13 @@ function Ke(t, e, n) {
678
676
  ...c,
679
677
  i: m,
680
678
  isRemoved: !e.visibleToasts.some(($) => c.key === $.key)
681
- })), g = l.findIndex((c) => c.i === h.current && c.isRemoved);
682
- if (g > -1) {
679
+ })), T = l.findIndex((c) => c.i === h.current && c.isRemoved);
680
+ if (T > -1) {
683
681
  var k;
684
682
  if (_() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
685
683
  else {
686
684
  let c = 0, m, $;
687
- for (; c <= g; )
685
+ for (; c <= T; )
688
686
  l[c].isRemoved || ($ = Math.max(0, c - 1)), c++;
689
687
  for (; c < l.length; ) {
690
688
  if (!l[c].isRemoved) {
@@ -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
- return T(() => {
711
+ return g(() => {
714
712
  var l;
715
713
  e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (_() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
716
714
  }, [
717
715
  n,
718
716
  e.visibleToasts.length
719
- ]), T(() => () => {
717
+ ]), g(() => () => {
720
718
  var l;
721
719
  !((l = s.current) === null || l === void 0) && l.isConnected && (_() === "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: Pe(o, 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,8 +731,8 @@ 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 T = l.target.closest('[role="alertdialog"]');
735
+ h.current = d.current.findIndex((k) => k === T);
738
736
  },
739
737
  onBlur: () => {
740
738
  h.current = -1;
@@ -750,7 +748,7 @@ function pe(t) {
750
748
  ]);
751
749
  return {
752
750
  visibleToasts: N.useSyncExternalStore(e, n, n),
753
- add: (o, r) => t.add(o, r),
751
+ add: (o, u) => t.add(o, u),
754
752
  close: (o) => t.close(o),
755
753
  pauseAll: () => t.pauseAll(),
756
754
  resumeAll: () => t.resumeAll()
@@ -770,7 +768,7 @@ class ve {
770
768
  ...n,
771
769
  content: e,
772
770
  key: i,
773
- timer: n.timeout ? new Ze(() => this.close(i), n.timeout) : void 0
771
+ timer: n.timeout ? new Ue(() => this.close(i), n.timeout) : void 0
774
772
  };
775
773
  return this.queue.unshift(o), this.updateVisibleToasts("add"), i;
776
774
  }
@@ -778,7 +776,7 @@ class ve {
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((u) => u.key === e);
782
780
  if (n >= 0) {
783
781
  var i, o;
784
782
  (i = (o = this.queue[n]).onClose) === null || i === void 0 || i.call(o), this.queue.splice(n, 1);
@@ -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 Ue {
811
809
  reset(e) {
812
810
  this.remaining = e, this.resume();
813
811
  }
@@ -823,8 +821,8 @@ 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,
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,
828
826
  "--font-family": '"Inter", sans-serif',
829
827
  "--text-primary": "light-dark(#171717, #f2f2f2)",
830
828
  "--support-background-success": "light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))",
@@ -838,24 +836,19 @@ const Ge = '"../theme/tokens.css"', Je = "_toastRegion_jgjyx_52", Qe = "_toast_j
838
836
  "--breakpoint-md": "(min-width: 768px)",
839
837
  "--focus": "0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)",
840
838
  "--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,
852
- slideOutTop: ut,
853
- slideOutEnd: at
854
- }, st = {
855
- success: De,
856
- info: Se,
857
- important: Fe,
858
- warning: je
839
+ toastRegion: Ke,
840
+ toast: Ze,
841
+ success: Ge,
842
+ info: Je,
843
+ important: Qe,
844
+ warning: Xe,
845
+ icon: qe,
846
+ toastContent: Ye,
847
+ toastMessage: et,
848
+ slideInTop: tt,
849
+ slideInEnd: nt,
850
+ slideOutTop: it,
851
+ slideOutEnd: ot
859
852
  }, xe = {
860
853
  wrapUpdate(t) {
861
854
  "startViewTransition" in document ? document.startViewTransition(() => {
@@ -864,15 +857,15 @@ const Ge = '"../theme/tokens.css"', Je = "_toastRegion_jgjyx_52", Qe = "_toast_j
864
857
  },
865
858
  maxVisibleToasts: 5
866
859
  };
867
- function lt(t = {}) {
860
+ function ut(t = {}) {
868
861
  const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i = ye(
869
862
  () => new ve({ maxVisibleToasts: e, wrapUpdate: n }),
870
863
  [e, n]
871
864
  );
872
865
  return pe(i);
873
866
  }
874
- const ct = new ve(xe), Bt = (t) => {
875
- const e = pe(ct);
867
+ const rt = new ve(xe), gt = (t) => {
868
+ const e = pe(rt);
876
869
  return e.visibleToasts.length > 0 ? Le(
877
870
  /* @__PURE__ */ p(
878
871
  ke,
@@ -883,9 +876,9 @@ const ct = new ve(xe), Bt = (t) => {
883
876
  ),
884
877
  document.body
885
878
  ) : null;
886
- }, It = ({ children: t, ...e }) => {
887
- const n = lt(xe);
888
- return /* @__PURE__ */ y(Te, { children: [
879
+ }, Tt = ({ children: t, ...e }) => {
880
+ const n = ut(xe);
881
+ return /* @__PURE__ */ y(ge, { children: [
889
882
  typeof t == "function" ? t(n) : t,
890
883
  n.visibleToasts.length > 0 && /* @__PURE__ */ p(
891
884
  ke,
@@ -901,33 +894,33 @@ function ke({
901
894
  className: e,
902
895
  ...n
903
896
  }) {
904
- const i = A.useRef(null), { regionProps: o } = Ke(n, t, i);
897
+ const i = P.useRef(null), { regionProps: o } = ze(n, t, i);
905
898
  return /* @__PURE__ */ p(
906
899
  "div",
907
900
  {
908
901
  ...o,
909
902
  ref: i,
910
903
  className: B(x.toastRegion, e),
911
- children: t.visibleToasts.map((r) => /* @__PURE__ */ p(
912
- dt,
904
+ children: t.visibleToasts.map((u) => /* @__PURE__ */ p(
905
+ at,
913
906
  {
914
- toast: r,
907
+ toast: u,
915
908
  state: t
916
909
  },
917
- r.key
910
+ u.key
918
911
  ))
919
912
  }
920
913
  );
921
914
  }
922
- function dt({
915
+ function at({
923
916
  state: t,
924
917
  className: e,
925
918
  ...n
926
919
  }) {
927
- const i = A.useRef(null), { toastProps: o, contentProps: r, titleProps: u, closeButtonProps: a } = Ue(
920
+ const i = P.useRef(null), { toastProps: o, contentProps: u, titleProps: r, closeButtonProps: a } = He(
928
921
  n,
929
922
  t
930
- ), b = st[n.toast.content.type];
923
+ ), b = we[n.toast.content.type];
931
924
  return /* @__PURE__ */ y(
932
925
  "div",
933
926
  {
@@ -943,8 +936,8 @@ function dt({
943
936
  /* @__PURE__ */ y(
944
937
  "div",
945
938
  {
946
- ...r,
947
- className: B(x.toastContent, r.className),
939
+ ...u,
940
+ className: B(x.toastContent, u.className),
948
941
  children: [
949
942
  /* @__PURE__ */ p(
950
943
  b,
@@ -959,7 +952,7 @@ function dt({
959
952
  "p",
960
953
  {
961
954
  className: x.toastMessage,
962
- ...u,
955
+ ...r,
963
956
  children: n.toast.content.message
964
957
  }
965
958
  ),
@@ -969,12 +962,12 @@ function dt({
969
962
  }
970
963
  ),
971
964
  /* @__PURE__ */ p(
972
- ge,
965
+ Te,
973
966
  {
974
967
  variant: "icon",
975
968
  ...a,
976
969
  children: /* @__PURE__ */ p(
977
- Re,
970
+ Fe,
978
971
  {
979
972
  size: 20,
980
973
  "aria-hidden": !0
@@ -987,10 +980,10 @@ function dt({
987
980
  );
988
981
  }
989
982
  export {
990
- Bt as G,
991
- It as T,
983
+ gt as G,
984
+ Tt as T,
992
985
  ke as a,
993
- dt as b,
994
- ct as t,
995
- lt as u
986
+ at as b,
987
+ rt as t,
988
+ ut as u
996
989
  };
@@ -1 +1 @@
1
- "use strict";require('./assets/ToggleButtonGroup.css');const D=require("react/jsx-runtime"),x=require("./utils-DHNZrQmj.cjs"),a=require("react"),T=require("./useToggleState-DoIkSQdj.cjs"),w=require("./useFocusRing-B-A1OLhU.cjs"),S=require("./mergeProps-B5KXZAI3.cjs"),q=require("./useHover-BE_XKZKe.cjs"),y=require("./Button.module-goCEz5qs.cjs"),h=require("./clsx-C11secjj.cjs"),C=require("./useControlledState-D0L6S_5r.cjs"),F=require("./useButton-D60q0SQw.cjs"),M=require("./FocusScope-vcXLOQiu.cjs"),p=require("./filterDOMProps-BS2lrgFA.cjs"),E=require("./context-Df3XbgBG.cjs");function m(t,e,d){const{isSelected:i}=e,{isPressed:o,buttonProps:l}=F.$701a24aa0da5b062$export$ea18c227d4417cc3({...t,onPress:S.$ff5963eb1fccf552$export$e08e3b67e392101e(e.toggle,t.onPress)},d);return{isPressed:o,isSelected:i,isDisabled:t.isDisabled||!1,buttonProps:S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{"aria-pressed":i})}}function N(t,e){const{"aria-label":d,"aria-labelledby":i,orientation:o="horizontal"}=t;let[l,r]=a.useState(!1);S.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;r(!!(e.current&&(!((s=e.current.parentElement)===null||s===void 0)&&s.closest('[role="toolbar"]'))))});const{direction:n}=E.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),f=n==="rtl"&&o==="horizontal";let u=M.$9bf71ea28793e738$export$c5251b9e124bf29(e);const $=s=>{if(s.currentTarget.contains(s.target)){if(o==="horizontal"&&s.key==="ArrowRight"||o==="vertical"&&s.key==="ArrowDown")f?u.focusPrevious():u.focusNext();else if(o==="horizontal"&&s.key==="ArrowLeft"||o==="vertical"&&s.key==="ArrowUp")f?u.focusNext():u.focusPrevious();else if(s.key==="Tab"){s.stopPropagation(),c.current=document.activeElement,s.shiftKey?u.focusFirst():u.focusLast();return}else return;s.stopPropagation(),s.preventDefault()}},c=a.useRef(null),P=s=>{!s.currentTarget.contains(s.relatedTarget)&&!c.current&&(c.current=s.target)},g=s=>{var b;if(c.current&&!s.currentTarget.contains(s.relatedTarget)&&(!((b=e.current)===null||b===void 0)&&b.contains(s.target))){var v;(v=c.current)===null||v===void 0||v.focus(),c.current=null}};return{toolbarProps:{...p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),role:l?"group":"toolbar","aria-orientation":o,"aria-label":d,"aria-labelledby":d==null?i:void 0,onKeyDownCapture:l?void 0:$,onFocusCapture:l?void 0:g,onBlurCapture:l?void 0:P}}}function R(t,e,d){let{isDisabled:i}=t,{toolbarProps:o}=N(t,d);return{groupProps:{...o,role:e.selectionMode==="single"?"radiogroup":o.role,"aria-disabled":i}}}function _(t,e,d){let i={isSelected:e.selectedKeys.has(t.id),setSelected(f){e.setSelected(t.id,f)},toggle(){e.toggleKey(t.id)}},{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}=m({...t,id:void 0,isDisabled:t.isDisabled||e.isDisabled},i,d);return e.selectionMode==="single"&&(n.role="radio",n["aria-checked"]=i.isSelected,delete n["aria-pressed"]),{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}}function z(t){let{selectionMode:e="single",disallowEmptySelection:d,isDisabled:i=!1}=t,[o,l]=C.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>t.selectedKeys?new Set(t.selectedKeys):void 0,[t.selectedKeys]),a.useMemo(()=>t.defaultSelectedKeys?new Set(t.defaultSelectedKeys):new Set,[t.defaultSelectedKeys]),t.onSelectionChange);return{selectionMode:e,isDisabled:i,selectedKeys:o,setSelectedKeys:l,toggleKey(r){let n;e==="multiple"?(n=new Set(o),n.has(r)&&(!d||n.size>1)?n.delete(r):n.add(r)):n=new Set(o.has(r)&&!d?[]:[r]),l(n)},setSelected(r,n){n!==o.has(r)&&this.toggleKey(r)}}}const A=a.createContext({}),B=a.createContext(null),G=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,A);let i=z(e),{groupProps:o}=R(e,i,d),l=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isDisabled:i.isDisabled,state:i},defaultClassName:"react-aria-ToggleButtonGroup"});return a.createElement("div",{...o,...l,ref:d,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal","data-disabled":e.isDisabled||void 0},a.createElement(B.Provider,{value:i},l.children))}),H=a.createContext({}),L=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,H);let i=a.useContext(B),o=T.$3017fa7ffdddec74$export$8042c6c013fd5226(i&&e.id!=null?{isSelected:i.selectedKeys.has(e.id),onChange(b){i.setSelected(e.id,b)}}:e),{buttonProps:l,isPressed:r,isSelected:n,isDisabled:f}=i&&e.id!=null?_({...e,id:e.id},i,d):m({...e,id:e.id!=null?String(e.id):void 0},o,d),{focusProps:u,isFocused:$,isFocusVisible:c}=w.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:P,isHovered:g}=q.$6179b936705e76d3$export$ae780daf29e6d456(e),s=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,values:{isHovered:g,isPressed:r,isFocused:$,isSelected:o.isSelected,isFocusVisible:c,isDisabled:f,state:o},defaultClassName:"react-aria-ToggleButton"});return a.createElement("button",{...S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,u,P),...s,ref:d,slot:e.slot||void 0,"data-focused":$||void 0,"data-disabled":f||void 0,"data-pressed":r||void 0,"data-selected":n||void 0,"data-hovered":g||void 0,"data-focus-visible":c||void 0})}),j="_group_syep5_4",V="_toggleButton_syep5_13",K={group:j,toggleButton:V},k=({...t})=>D.jsx(L,{...t,className:h.clsx(y.ButtonStyles.button,y.ButtonStyles.iconBtn,K.toggleButton,t.className)}),I=({...t})=>D.jsx(G,{...t,className:h.clsx(K.group,t.className)});exports.ToggleButton=k;exports.ToggleButtonGroup=I;
1
+ "use strict";require('./assets/ToggleButtonGroup.css');const D=require("react/jsx-runtime"),S=require("./utils-BM2vxlNA.cjs"),a=require("react"),T=require("./useToggleState-DoIkSQdj.cjs"),w=require("./useFocusRing-BM-zcH6L.cjs"),x=require("./mergeProps-C7Sx47fA.cjs"),q=require("./useHover-CaFzQrR_.cjs"),y=require("./Button.module-goCEz5qs.cjs"),h=require("./clsx-C11secjj.cjs"),C=require("./useControlledState-D0L6S_5r.cjs"),F=require("./useButton-CwOQUGtY.cjs"),M=require("./FocusScope-CAgWgk3N.cjs"),p=require("./filterDOMProps-BS2lrgFA.cjs"),E=require("./context-UOrD6Zxk.cjs");function m(t,e,d){const{isSelected:i}=e,{isPressed:o,buttonProps:l}=F.$701a24aa0da5b062$export$ea18c227d4417cc3({...t,onPress:x.$ff5963eb1fccf552$export$e08e3b67e392101e(e.toggle,t.onPress)},d);return{isPressed:o,isSelected:i,isDisabled:t.isDisabled||!1,buttonProps:x.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{"aria-pressed":i})}}function N(t,e){const{"aria-label":d,"aria-labelledby":i,orientation:o="horizontal"}=t;let[l,r]=a.useState(!1);x.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;r(!!(e.current&&(!((s=e.current.parentElement)===null||s===void 0)&&s.closest('[role="toolbar"]'))))});const{direction:n}=E.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),f=n==="rtl"&&o==="horizontal";let u=M.$9bf71ea28793e738$export$c5251b9e124bf29(e);const $=s=>{if(s.currentTarget.contains(s.target)){if(o==="horizontal"&&s.key==="ArrowRight"||o==="vertical"&&s.key==="ArrowDown")f?u.focusPrevious():u.focusNext();else if(o==="horizontal"&&s.key==="ArrowLeft"||o==="vertical"&&s.key==="ArrowUp")f?u.focusNext():u.focusPrevious();else if(s.key==="Tab"){s.stopPropagation(),c.current=document.activeElement,s.shiftKey?u.focusFirst():u.focusLast();return}else return;s.stopPropagation(),s.preventDefault()}},c=a.useRef(null),P=s=>{!s.currentTarget.contains(s.relatedTarget)&&!c.current&&(c.current=s.target)},g=s=>{var b;if(c.current&&!s.currentTarget.contains(s.relatedTarget)&&(!((b=e.current)===null||b===void 0)&&b.contains(s.target))){var v;(v=c.current)===null||v===void 0||v.focus(),c.current=null}};return{toolbarProps:{...p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),role:l?"group":"toolbar","aria-orientation":o,"aria-label":d,"aria-labelledby":d==null?i:void 0,onKeyDownCapture:l?void 0:$,onFocusCapture:l?void 0:g,onBlurCapture:l?void 0:P}}}function R(t,e,d){let{isDisabled:i}=t,{toolbarProps:o}=N(t,d);return{groupProps:{...o,role:e.selectionMode==="single"?"radiogroup":o.role,"aria-disabled":i}}}function _(t,e,d){let i={isSelected:e.selectedKeys.has(t.id),setSelected(f){e.setSelected(t.id,f)},toggle(){e.toggleKey(t.id)}},{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}=m({...t,id:void 0,isDisabled:t.isDisabled||e.isDisabled},i,d);return e.selectionMode==="single"&&(n.role="radio",n["aria-checked"]=i.isSelected,delete n["aria-pressed"]),{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}}function z(t){let{selectionMode:e="single",disallowEmptySelection:d,isDisabled:i=!1}=t,[o,l]=C.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>t.selectedKeys?new Set(t.selectedKeys):void 0,[t.selectedKeys]),a.useMemo(()=>t.defaultSelectedKeys?new Set(t.defaultSelectedKeys):new Set,[t.defaultSelectedKeys]),t.onSelectionChange);return{selectionMode:e,isDisabled:i,selectedKeys:o,setSelectedKeys:l,toggleKey(r){let n;e==="multiple"?(n=new Set(o),n.has(r)&&(!d||n.size>1)?n.delete(r):n.add(r)):n=new Set(o.has(r)&&!d?[]:[r]),l(n)},setSelected(r,n){n!==o.has(r)&&this.toggleKey(r)}}}const A=a.createContext({}),B=a.createContext(null),G=a.forwardRef(function(e,d){[e,d]=S.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,A);let i=z(e),{groupProps:o}=R(e,i,d),l=S.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isDisabled:i.isDisabled,state:i},defaultClassName:"react-aria-ToggleButtonGroup"});return a.createElement("div",{...o,...l,ref:d,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal","data-disabled":e.isDisabled||void 0},a.createElement(B.Provider,{value:i},l.children))}),H=a.createContext({}),L=a.forwardRef(function(e,d){[e,d]=S.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,H);let i=a.useContext(B),o=T.$3017fa7ffdddec74$export$8042c6c013fd5226(i&&e.id!=null?{isSelected:i.selectedKeys.has(e.id),onChange(b){i.setSelected(e.id,b)}}:e),{buttonProps:l,isPressed:r,isSelected:n,isDisabled:f}=i&&e.id!=null?_({...e,id:e.id},i,d):m({...e,id:e.id!=null?String(e.id):void 0},o,d),{focusProps:u,isFocused:$,isFocusVisible:c}=w.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:P,isHovered:g}=q.$6179b936705e76d3$export$ae780daf29e6d456(e),s=S.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,values:{isHovered:g,isPressed:r,isFocused:$,isSelected:o.isSelected,isFocusVisible:c,isDisabled:f,state:o},defaultClassName:"react-aria-ToggleButton"});return a.createElement("button",{...x.$3ef42575df84b30b$export$9d1611c77c2fe928(l,u,P),...s,ref:d,slot:e.slot||void 0,"data-focused":$||void 0,"data-disabled":f||void 0,"data-pressed":r||void 0,"data-selected":n||void 0,"data-hovered":g||void 0,"data-focus-visible":c||void 0})}),j="_group_syep5_4",V="_toggleButton_syep5_13",K={group:j,toggleButton:V},k=({...t})=>D.jsx(L,{...t,className:h.clsx(y.ButtonStyles.button,y.ButtonStyles.iconBtn,K.toggleButton,t.className)}),I=({...t})=>D.jsx(G,{...t,className:h.clsx(K.group,t.className)});exports.ToggleButton=k;exports.ToggleButtonGroup=I;
@@ -1,17 +1,17 @@
1
1
  import { jsx as y } from "react/jsx-runtime";
2
- import { $ as D, a as h } from "./utils-KLjWgdLR.js";
2
+ import { $ as D, a as h } from "./utils-KYuflGZt.js";
3
3
  import P, { useState as _, useRef as E, useMemo as x, forwardRef as K, createContext as S, useContext as F } from "react";
4
4
  import { $ as N } from "./useToggleState-Bz5rAf4C.js";
5
- import { $ as M } from "./useFocusRing-DOfBqnUN.js";
6
- import { e as z, a as p, $ as R } from "./mergeProps-C1U1OIeJ.js";
7
- import { $ as A } from "./useHover-DQvJ3Y-W.js";
5
+ import { $ as M } from "./useFocusRing-HoJn20X5.js";
6
+ import { e as z, a as p, $ as R } from "./mergeProps-BYJQ6N1s.js";
7
+ import { $ as A } from "./useHover-D8fja4GW.js";
8
8
  import { B as v } from "./Button.module-D-mPLRxe.js";
9
9
  import { c as B } from "./clsx-OuTLNxxd.js";
10
10
  import { $ as L } from "./useControlledState-u436Wbp1.js";
11
- import { $ as G } from "./useButton-BoIV3kDJ.js";
12
- import { b as H } from "./FocusScope-BCsrRPqD.js";
11
+ import { $ as G } from "./useButton-CWHoXYnj.js";
12
+ import { b as H } from "./FocusScope-CEgd3xCY.js";
13
13
  import { $ as V } from "./filterDOMProps-D6KHYVBX.js";
14
- import { $ as k } from "./context-CGNJ3grH.js";
14
+ import { $ as k } from "./context-Dl_saGB6.js";
15
15
  import './assets/ToggleButtonGroup.css';function w(t, e, d) {
16
16
  const { isSelected: a } = e, { isPressed: s, buttonProps: l } = G({
17
17
  ...t,